/* Experimental: Founders Fund–inspired system */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #111;
  --white: #f7f7f5;
  --ink: #1a1a1a;
  --muted: #6a6a6a;
  --rule: #e6e6e4;
  --max: 1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* —— NAV: FF style — logo left, links right, transparent on hero —— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 2.25rem;
  background: transparent;
  transition: background 0.25s ease;
}
.nav.nav-solid {
  background: rgba(247,247,245,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--white);
}
.nav-solid .nav-brand { color: var(--ink); }
.nav-links {
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
}
.nav-solid .nav-links a { color: var(--muted); }
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-solid .nav-links a:hover,
.nav-solid .nav-links a.active { color: var(--ink); }

/* pages without hero: always solid nav */
.page-inner .nav {
  background: rgba(247,247,245,0.96);
  border-bottom: 1px solid var(--rule);
}
.page-inner .nav-brand { color: var(--ink); }
.page-inner .nav-links a { color: var(--muted); }
.page-inner .nav-links a:hover,
.page-inner .nav-links a.active { color: var(--ink); }

/* —— HERO: full-bleed B&W cinematic —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 2.25rem 5rem;
  overflow: hidden;
  background: #111;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(100%) contrast(1.05) brightness(0.85);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.25) 45%,
    rgba(0,0,0,0.2) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
/* FF-style large white headline instead of black boxes */
.hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-line {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 32rem;
  line-height: 1.55;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero-cta:hover { opacity: 0.7; }

/* legacy bbox — softer if still used */
.bbox {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding: 0;
  font-size: 1.35rem;
}
.hero .bbox,
.hero .bbox.lg {
  color: #fff;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  letter-spacing: -0.02em;
}
.bbox.lg { font-size: 1.5rem; display: block; color: var(--ink); }
.bbox.sm {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-sub { display: none; } /* replaced by kicker */

/* —— CONTENT —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 2.25rem;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
p { color: #333; margin-bottom: 1rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1rem; }
}

/* FF-style work cards: almost borderless, hover lift */
.card {
  border: none;
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  background: transparent;
  transition: opacity 0.2s;
}
.card:hover { opacity: 0.65; }
.card p { font-size: 0.95rem; color: #444; margin: 0.35rem 0 0; }

/* —— HOW: dark editorial —— */
.page-dark {
  background: #0e0e0e;
  color: #fff;
  min-height: 100vh;
}
.page-dark .nav {
  background: transparent;
  border: none;
}
.page-dark .nav-brand { color: #fff; }
.page-dark .nav-links a { color: rgba(255,255,255,0.65); }
.page-dark .nav-links a.active,
.page-dark .nav-links a:hover { color: #fff; }

.page-head {
  padding: 7rem 2.25rem 1rem;
  text-align: left;
  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
}
.page-head h1 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 2.25rem 5rem;
  align-items: start;
}
.split-left {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}
.split-right { color: rgba(255,255,255,0.72); padding-top: 0.35rem; }
.split-right h3 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  margin: 1.75rem 0 0.5rem;
  font-weight: 600;
}
.split-right h3:first-child { margin-top: 0; }
.split-right p { color: rgba(255,255,255,0.72); }
.how-squiggle {
  display: block;
  width: min(280px, 90%);
  margin-top: 2rem;
  opacity: 0.9;
}
.sticky-col { position: sticky; top: 5.5rem; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

/* —— WORK —— */
.case-tabs {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.25rem 2.25rem 2rem;
  background: transparent;
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.case-tabs a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-tabs a:hover { color: var(--ink); }

.work-layout { max-width: var(--max); margin: 0 auto; padding: 0 2.25rem; }
.case-block {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.case-block::before { display: none; }
.header-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.case-hook { max-width: 40rem; margin: 1rem 0 1.5rem; color: #333; }
.photo-space {
  margin: 1.25rem 0;
  min-height: 120px;
  border: 1px dashed #ddd;
  background: #f0f0ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.photo-space.wide { min-height: 160px; }

.collapse { border-top: 1px solid var(--rule); }
.collapse summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  user-select: none;
}
.collapse summary::-webkit-details-marker { display: none; }
.caret {
  width: 0.5rem; height: 0.5rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.collapse[open] > summary .caret { transform: rotate(-135deg); }
.collapse-body { padding: 0 0 1.35rem; }
.phase-list, .insight-list { margin: 0.4rem 0 0 1.1rem; }
.phase-list li, .insight-list li { margin-bottom: 0.65rem; color: #333; }

.impact {
  background: var(--ink);
  color: #fff;
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.impact p { color: rgba(255,255,255,0.9); margin: 0; }
.impact .bbox.sm { color: rgba(255,255,255,0.5); }

.tag { font-size: 0.75rem; color: var(--muted); display: block; margin-top: 0.4rem; }

.jump-nav {
  position: fixed;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.75rem;
  background: rgba(17,17,17,0.9);
}
.jump-label { font-size: 0.58rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.7); font-weight: 600; }
.jump-nav a { font-size: 0.7rem; color: rgba(255,255,255,0.9); letter-spacing: 0.04em; }
.jump-nav a:hover, .jump-nav a.active { color: #fff; font-weight: 600; }
.jump-nav {
  background: rgba(17,17,17,0.95) !important;
  border: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 1100px) { .jump-nav { display: none; } }

/* —— ABOUT: full B&W video, light overlay, black type —— */
.about-page { background: var(--white); min-height: 100vh; }
.about-full-video {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.about-full-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}
.about-full-shade,
.about-shade-light {
  position: absolute; inset: 0;
  background: rgba(247,247,245,0.78) !important;
}
.about-main {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7.5rem 2.25rem 3rem;
  color: var(--ink);
}
.about-label { color: var(--muted) !important; }
.about-main h2 { color: var(--ink); font-weight: 500; }
.about-lead { color: #333; max-width: 36rem; font-size: 1.05rem; }
.about-cards { margin-top: 3rem; }
.about-block { background: transparent !important; border: none !important; padding: 0; }
.about-block p { color: #333; }
.about-footer {
  position: relative; z-index: 1;
  background: transparent !important;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.about-footer a { color: var(--ink); }
.about-footer .section-label { color: var(--muted); }

/* —— FOOTER —— */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 3.5rem 2.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto 1.5rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .section-label { color: rgba(255,255,255,0.4); }
.footer a { color: #fff; }
.footer-note { font-size: 0.72rem; opacity: 0.4; max-width: var(--max); margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

.logo-mark { display: none !important; }

/* More breathing room before Selected Work */
.home .wrap {
  padding-top: 7.5rem;
  padding-bottom: 5.5rem;
}
.case-block > .bbox {
  color: var(--ink) !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}

/* Case study visuals — B&W product imagery */
.case-visual {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  border: none;
}
.case-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%);
  border: none;
}
.case-visual figcaption {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}


/* more space between cases after separator */
.case-separator + article,
.case-separator + .case-block,
article.case-block {
  margin-top: 0;
  padding-top: 2.75rem;
}
.work-layout .case-block {
  margin-bottom: 0;
  padding-bottom: 3rem;
}

/* FF-style case separation + hierarchy (no artwork) */
:root {
  --ff-teal: #00A3A1;
  --ff-red: #C41E3A;
  --ff-ink: #0B1220;
}

.case-block {
  padding-top: 3.5rem;
  padding-bottom: 3.25rem;
  margin: 0;
  border: none;
  box-shadow: none;
  position: relative;
}

/* Subtle theme-color hairline ABOVE each case (except first handled by tabs) */
.case-block::before {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  background: #111111;
  margin: 0 0 2rem;
}

.case-accent-teal::before,
.case-accent-red::before { background: var(--ff-ink); }


/* Hierarchy — manifesto style */
.case-block .header-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--ff-ink);
}
.case-accent-teal .header-label,
.case-accent-red .header-label { color: var(--muted); }


.case-block > .bbox {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--ff-ink) !important;
  line-height: 1.15 !important;
  margin-bottom: 0.85rem;
}

.case-hook {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #5a5a5a;
  max-width: 40rem;
  margin: 0 0 1.5rem;
  font-weight: 400;
}

/* Accordion titles: quieter, clear hierarchy under the title */
.collapse summary {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ff-ink);
  letter-spacing: -0.01em;
}
.collapse-body {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.55;
}
.collapse-body .bbox.sm {
  font-size: 0.68rem !important;
  letter-spacing: 0.12em !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
  margin-bottom: 0.4rem;
}

/* Soft rule between accordion rows already exists */
.case-visual {
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}
.case-visual figcaption {
  color: #8a8a8a;
}

/* Impact block: quiet, not poster-y */
.impact {
  background: var(--ff-ink);
  border-left: none;
  margin-top: 1.75rem;
}
.case-accent-teal .impact,
.case-accent-red .impact { box-shadow: none; }


/* Kill leftover separator rules if any */
.case-separator { display: none !important; }

.page-inner .page-head {
  padding: 6.5rem 2.25rem 0.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  background: transparent;
}
.page-inner .page-head h1 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.page-inner .case-tabs {
  max-width: 1100px;
  margin: 0 auto 0.5rem;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  border-bottom: 1px solid var(--rule);
}

.hero-orgs {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  max-width: 36rem;
  line-height: 1.5;
}


/* Career arc on About */
.career-arc-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.career-arc-section .bbox {
  margin-bottom: 0.5rem;
}
.career-arc-note {
  color: #6a6a6a;
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}
.career-arc-img {
  display: block;
  width: 100%;
  max-width: 56rem;
  height: auto;
  margin: 0;
}
.about-page .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 720px) {
  .about-page .grid-2 {
    grid-template-columns: 1fr;
  }
}


/* About without video — solid paper page */
.about-no-video {
  background: var(--paper, #f7f7f5);
}
.about-no-video .nav,
.about-no-video .nav.nav-solid {
  background: rgba(247,247,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.about-no-video .nav-brand,
.about-no-video .nav-links a {
  color: var(--ink, #111) !important;
}
.about-no-video .about-main {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}
.career-arc-svg-wrap {
  background: transparent;
  max-width: 56rem;
}
.career-arc-img {
  background: transparent;
}

.about-page .grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .about-page .grid-3 { grid-template-columns: 1fr; }
}

/* —— Work password gate —— */
.work-gate {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
}
.work-gate[hidden],
#work-content[hidden] { display: none !important; }
.work-gate-card {
  max-width: 26rem;
  width: 100%;
  text-align: left;
}
.work-gate-card h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
}
.work-gate-lead {
  margin: 1rem 0 1.5rem;
  color: #333;
  line-height: 1.5;
}
.work-gate-card form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.work-gate-card input {
  flex: 1 1 12rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #111;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
}
.work-gate-card button {
  padding: 0.75rem 1.25rem;
  border: none;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.work-gate-card button:hover { opacity: 0.85; }
.work-gate-error {
  margin-top: 0.85rem;
  color: #8a1f1f;
  font-size: 0.9rem;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Case images: full image, centered, no crop, no gray box */
.case-visual {
  margin: 1.25rem 0 1.15rem;
  text-align: center;
}
.case-visual img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  filter: grayscale(100%);
  background: transparent;
  margin-left: auto;
  margin-right: auto;
  border: none;
  display: block;
}

/* Seismograph on How I Work */
.how-clarity {
  padding: 0 1.5rem 5rem;
}
@media (min-width: 768px) {
  .how-clarity { padding: 0 2.5rem 6rem; }
}
.clarity {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.clarity-heads {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.7rem;
}
.clarity-svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.clarity-cols {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.25rem;
}
@media (min-width: 800px) {
  .clarity-cols {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}
.clarity-cols p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}
.clarity-q {
  font-style: italic;
  color: #fff !important;
}
.page-dark .split {
  padding-bottom: 2.25rem;
}
