/* Ultrahuman portfolio, v2. Built on Ultrahuman's live system: Geist + JetBrains Mono (their files),
   a condensed italic for promo-style kickers (Barlow Condensed, open stand-in for their Adobe Dharma Gothic),
   black and white full-bleed bands, glass pill nav, photo-led tiles, blue #112BAF pills. No em dashes. */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "UH Condensed"; src: url("../fonts/BarlowCondensed-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "UH Condensed"; src: url("../fonts/BarlowCondensed-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "UH Condensed"; src: url("../fonts/BarlowCondensed-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --black: #000; --ink: #111; --white: #fff; --soft: #f4f4f4; --soft2: #e9e9ee; --card: #141414; --card2: #1d1d1d;
  --blue: #112baf; --blue2: #4f6bff; --stone: #e6dfd2; --stone2: #cfc5b3;
  --w90: rgba(255,255,255,.9); --w70: rgba(255,255,255,.7); --w55: rgba(255,255,255,.55); --w35: rgba(255,255,255,.35); --wl: rgba(255,255,255,.12);
  --k70: rgba(0,0,0,.7); --k55: rgba(0,0,0,.55); --kl: rgba(0,0,0,.1);
  --sans: "Geist", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace; --cond: "UH Condensed", "Geist", sans-serif;
  --gut: clamp(16px, 4vw, 48px); --wrap: 1240px;
  --pl-header-h: 76px; --pl-bg: #fff; --pl-card: #fff; --pl-radius: 18px; --pl-border: 1px solid rgba(0,0,0,.1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: #000; color: #fff; font-family: var(--sans); font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.kicker { font-family: var(--cond); font-style: italic; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(15px, 1.3vw, 18px); color: var(--w55); display: inline-flex; gap: 10px; align-items: center; margin: 0 0 18px; }
.kicker b { font-weight: 600; color: #fff; }
.light .kicker { color: var(--k55); } .light .kicker b { color: #000; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
.d1 { font-size: clamp(40px, 6.4vw, 96px); line-height: 1; letter-spacing: -0.055em; }
.d2 { font-size: clamp(32px, 4.6vw, 68px); line-height: 1.03; letter-spacing: -0.05em; }
.d3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.04em; }
.dim { color: var(--w55); } .light .dim { color: rgba(0,0,0,.42); }
.lede { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: var(--w70); max-width: 56ch; margin: 18px 0 0; }
.light .lede { color: var(--k70); }
.huge { font-family: var(--cond); font-style: italic; font-weight: 300; font-size: clamp(88px, 15vw, 230px); line-height: .82; letter-spacing: -0.01em; }
.huge small { font-size: .42em; font-weight: 500; }

/* sections */
.sec { position: relative; padding: clamp(88px, 11vw, 160px) 0; overflow: clip; }
.sec--black { background: #000; color: #fff; }
.sec--white { background: #fff; color: #111; }
.sec--soft { background: var(--soft); color: #111; }
.sec--stone { background: linear-gradient(180deg, #efe9de, #e3dbcc); color: #111; }
.sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.light { color: #111; }
.center { text-align: center; } .center .lede { margin-inline: auto; }
.chnum { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--w35); display: block; margin-bottom: 18px; }
.light .chnum { color: rgba(0,0,0,.4); }
.head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 72px); }

/* pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; font-size: 14.5px; font-weight: 500; letter-spacing: -0.03em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, transform .25s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--blue { background: var(--blue); color: #fff; } .btn--blue:hover { background: #0d2190; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.18); backdrop-filter: blur(10px); } .btn--glass:hover { background: rgba(255,255,255,.2); }
.btn--white { background: #fff; color: #000; }
.btn--line { border-color: rgba(0,0,0,.2); color: #111; } .btn--line:hover { background: rgba(0,0,0,.04); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.arr { font-family: var(--mono); font-size: 13px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* ===== header: one designed pill ===== */
.nav { position: fixed; z-index: 70; top: 12px; left: 50%; transform: translateX(-50%); width: min(1100px, 100% - 24px); }
.nav__bar { position: relative; height: 58px; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; border-radius: 30px; background: rgba(255,255,255,.78); color: #111; backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 40px rgba(0,0,0,.18); }
.pl-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #111; flex: none; }
.pl-lockup .uh-word { height: 13px; width: auto; } .pl-lockup .uh-mark { display: none; height: 18px; width: auto; }
.pl-lockup .pl-sep { width: 1px; height: 24px; background: currentColor; opacity: .22; }
.pl-lockup .pl-face { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.nav__chap { flex: 1; min-width: 0; display: flex; justify-content: center; }
.chapbtn { display: inline-flex; align-items: center; gap: 10px; border: 0; background: rgba(0,0,0,.05); padding: 7px 14px 7px 12px; border-radius: 999px; cursor: pointer; font-size: 13px; color: #111; max-width: 100%; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
html[data-page="idea"].past-hero .chapbtn { opacity: 1; transform: none; pointer-events: auto; }
.chapbtn .mono { font-size: 11px; color: rgba(0,0,0,.5); }
.chapbtn .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chapbtn svg { flex: none; transition: transform .25s; }
.chapbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__links { display: flex; align-items: center; gap: 2px; flex: none; }
.nav__links a { white-space: nowrap; font-size: 13.5px; text-decoration: none; padding: 9px 13px; border-radius: 999px; color: rgba(0,0,0,.72); }
.nav__links a[aria-current="page"]:not(.btn) { color: #000; background: rgba(0,0,0,.06); }
.nav__links a.btn { color: #fff; min-height: 42px; padding: 0 18px; margin-left: 4px; }
.nav__progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: transparent; }
.nav__progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 2px; }
html:not([data-page="idea"]) .nav__progress { display: none; }
/* chapter menu */
.chapmenu { position: absolute; left: 50%; top: 66px; transform: translateX(-50%); width: min(420px, 100%); background: rgba(16,16,16,.92); color: #fff; border-radius: 22px; padding: 10px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
nav.chapmenu[data-chapnav] { position: absolute; top: 66px; background: rgba(16,16,16,.92); }
nav.chapmenu[data-chapnav] ol { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0; margin: 0; overflow: visible; }
.chapmenu a { display: flex; gap: 12px; align-items: baseline; padding: 11px 14px; border-radius: 14px; text-decoration: none; font-size: 15px; color: var(--w70); }
.chapmenu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.chapmenu a[aria-current] { background: #fff; color: #000; }
.chapmenu .mono { font-size: 11px; opacity: .55; width: 20px; }
@media (max-width: 760px) {
  .pl-lockup .uh-word { display: none; } .pl-lockup .uh-mark { display: block; }
  .nav__bar { padding-left: 14px; gap: 6px; }
  .nav__links a { padding: 8px 8px; font-size: 13px; } .nav__links a.btn { padding: 0 13px; }
  .nav__chap { position: absolute; left: 0; right: 0; top: 64px; }
  .chapbtn { background: rgba(255,255,255,.82); backdrop-filter: blur(16px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
  .chapmenu { top: 108px; }
  nav.chapmenu[data-chapnav] { top: 108px; }
}
@media (max-width: 370px) { .nav__links .nav-idea { display: none; } }

/* ===== hero ===== */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; padding: calc(var(--pl-header-h) + 32px) 0 clamp(48px, 7vh, 88px); background: #000; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { position: absolute; right: 0; top: -6%; height: 112%; width: auto; aspect-ratio: 1; max-width: none; object-fit: cover; transform-origin: 60% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 18%, rgba(0,0,0,.6) 46%, rgba(0,0,0,0) 72%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 30%); }
.hero__copy { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { font-size: clamp(40px, 5.8vw, 86px); line-height: .99; letter-spacing: -0.055em; }
.hero__sub { font-size: clamp(16px, 1.35vw, 20px); color: var(--w70); max-width: 44ch; margin: 22px 0 0; }
.hero__concept { margin: 26px 0 0; font-size: 12px; color: var(--w35); }
.nw { white-space: nowrap; }
.scroll-cue { position: absolute; z-index: 3; right: var(--gut); bottom: 22px; left: auto; transform: none; color: var(--w55); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-decoration: none; }
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-top: calc(var(--pl-header-h) + 12px); }
  .hero__media video, .hero__media img { right: auto; left: 50%; margin-left: -36vh; height: 72vh; top: calc(var(--pl-header-h) - 2vh); }
  .hero__media::after { background: linear-gradient(0deg, #000 38%, rgba(0,0,0,.55) 60%, rgba(0,0,0,0) 85%); }
  .hero__sub .hide-sm { display: none; }
}

/* evidence tags */
.src, .est { font-family: var(--mono); font-size: 10.5px; line-height: 1; padding: 3px 6px; border-radius: 6px; border: 1px solid currentColor; background: transparent; cursor: pointer; vertical-align: .4em; margin-left: 5px; opacity: .55; letter-spacing: 0; font-weight: 400; }
.src:hover, .est:hover, .est[aria-expanded="true"] { opacity: 1; }
.est { color: var(--blue2); border-color: rgba(79,107,255,.6); opacity: .95; }
.light .est { color: var(--blue); border-color: rgba(17,43,175,.45); }
.pop { background: #fff; color: #111; border-radius: 16px; padding: 14px 16px; font: 400 14px/1.45 var(--sans); letter-spacing: -0.01em; text-transform: none; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.pop b { font-weight: 600; } .pop a { color: var(--blue); }
@media (max-width: 640px) { .pop-wrap { position: static; } .pop { position: absolute; left: 16px !important; right: 16px !important; width: auto; margin-top: 10px; z-index: 90; } }
.ev { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--soft2); display: inline-block; margin: 8px 0; }
.ev--fact { background: #e6ebff; color: var(--blue); } .ev--calc { background: #eaf6ee; color: #1d6b3a; } .ev--assume { background: #fff3df; color: #8a5a00; } .ev--third { background: #f0eef6; color: #4b3f78; }

/* numbers band */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--wl); }
.num { padding: 34px 26px 6px 0; }
.num + .num { padding-left: 26px; border-left: 1px solid var(--wl); }
.num__v { font-family: var(--cond); font-style: italic; font-weight: 300; font-size: clamp(56px, 6.6vw, 104px); line-height: .9; }
.num__v small { font-size: .45em; font-weight: 500; margin-left: 2px; }
.num__l { color: var(--w55); font-size: 14px; margin-top: 12px; max-width: 26ch; }
@media (max-width: 760px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .num:nth-child(3) { padding-left: 0; border-left: 0; } .num { padding: 24px 12px 10px 0; } .num + .num { padding-left: 14px; } }

/* ===== scrollytelling: sticky product stage + stepping statements ===== */
.scrolly { position: relative; background: #000; }
.scrolly__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.scrolly__stage canvas, .scrolly__stage .scrolly__img { width: min(78vh, 92vw); height: auto; aspect-ratio: 1; }
.scrolly__stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 30%, rgba(0,0,0,.7) 75%); pointer-events: none; }
.scrolly__steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.step__card { max-width: 520px; padding: 28px 30px; border-radius: 24px; background: rgba(12,12,12,.62); border: 1px solid var(--wl); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.step:nth-child(even) .step__card { margin-left: auto; }
.step__card .huge { font-size: clamp(72px, 10vw, 150px); }
.step__card p { color: var(--w70); margin: 10px 0 0; font-size: 16.5px; }
.step--intro .step__card { background: transparent; border: 0; backdrop-filter: none; padding: 0; max-width: 820px; }
@media (max-width: 760px) { .step { align-items: flex-end; padding-bottom: 12vh; } .step__card { padding: 20px 22px; } }

/* full-bleed media band with overlay copy */
.mediaband { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #000; }
.mediaband__bg { position: absolute; inset: 0; }
.mediaband__bg video, .mediaband__bg img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.mediaband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,.1) 75%); }
.mediaband__copy { position: relative; z-index: 2; padding: 0 0 clamp(48px, 8vh, 96px); }
.tag-concept { position: absolute; z-index: 3; right: var(--gut); top: calc(var(--pl-header-h) + 20px); font-family: var(--mono); font-size: 10.5px; color: var(--w70); background: rgba(0,0,0,.45); border: 1px solid var(--wl); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(8px); }

/* grids and tiles */
.g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.g-wide { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .g2, .g-wide { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.tile { position: relative; border-radius: 24px; overflow: hidden; background: var(--card); color: #fff; min-height: 260px; }
.tile--pad { padding: clamp(22px, 2.6vw, 34px); }
.tile--light { background: #fff; color: #111; }
.tile--soft { background: var(--soft); color: #111; }
.tile img.cover, .tile video.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__over { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.tile__k { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--w55); display: flex; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.tile--light .tile__k, .tile--soft .tile__k { color: rgba(0,0,0,.5); }
.tile p { color: var(--w70); font-size: 14.5px; margin: 8px 0 0; }
.tile--light p, .tile--soft p { color: var(--k70); }
.tile h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.overlay-data { position: absolute; left: 22px; top: 22px; font-family: var(--mono); font-size: 12px; color: #fff; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.25); padding: 6px 10px; border-radius: 10px; backdrop-filter: blur(6px); }

/* gap bar */
.gapbar { margin-top: 10px; }
.gapbar__track { display: flex; gap: 5px; height: clamp(120px, 14vw, 170px); border-radius: 22px; overflow: hidden; }
.gapbar__track > span { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; font-size: 14px; line-height: 1.3; }
.gapbar__track b { font-family: var(--cond); font-style: italic; font-weight: 300; font-size: clamp(40px, 5vw, 72px); line-height: .9; display: block; margin-bottom: 6px; }
.gapbar__core { background: var(--soft2); color: rgba(0,0,0,.7); }
.gapbar__new { background: var(--blue); color: #fff; min-width: 170px; transform-origin: left; }
.gapbar__new .est { color: #fff; border-color: rgba(255,255,255,.6); }
.gapbar__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: rgba(0,0,0,.5); margin-top: 12px; }

/* horizontal bet-card rail */
.hrail { position: relative; }
.hrail__track { display: flex; gap: 16px; padding-right: var(--gut); will-change: transform; }
.hcard { flex: none; width: min(420px, 78vw); min-height: min(420px, 50vh); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #f3efe7, #d7cdbb); color: #111; }
.hcard .huge { font-size: clamp(80px, 9vw, 130px); color: #111; }
.hcard h3 { font-size: 26px; letter-spacing: -0.035em; line-height: 1.15; font-weight: 400; }
.hcard p { color: rgba(0,0,0,.66); font-size: 15.5px; margin: 10px 0 0; }
.hcard--dark { background: var(--card2); color: #fff; } .hcard--dark .huge { color: #fff; } .hcard--dark p { color: var(--w70); }
.hcard--blue { background: var(--blue); color: #fff; } .hcard--blue .huge { color: #fff; } .hcard--blue p { color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .hrail__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; } .hcard { scroll-snap-align: start; min-height: 360px; } }

/* stage (planner) */
.stage__chips [data-step] { font-family: var(--sans); font-size: 13px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--wl); background: rgba(255,255,255,.06); color: var(--w70); }
.stage__chips [data-step][aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.stage__frame { border: 1px solid rgba(255,255,255,.14); border-radius: 22px; box-shadow: 0 40px 120px rgba(17,43,175,.25); }
.stage__frame--browser::before { color: rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.08); background-color: #141414; }
.stage__frame { --pl-card: #0b0b0b; background: #0b0b0b; }
.stage.is-capped .stage__frame::after { background: linear-gradient(transparent, #0b0b0b); }
.stage figcaption { color: var(--w55); }
.stage figcaption a { color: #fff; }

/* breakeven chart */
.be { width: 100%; height: auto; display: block; }
.be text { font-family: var(--mono); font-size: 11px; fill: rgba(255,255,255,.6); }
.be .lbl { font-family: var(--sans); font-size: 13px; fill: #fff; }

/* phone prototype (Blood Vision at checkout) */
.phone { width: min(330px, 100%); margin: 0 auto; aspect-ratio: 9 / 19.2; border-radius: 48px; background: #0b0b0b; padding: 12px; box-shadow: 0 0 0 2px #2a2a2a, 0 40px 100px rgba(0,0,0,.35); position: relative; }
.phone__screen { width: 100%; height: 100%; border-radius: 38px; background: #fff; color: #111; overflow: hidden; display: flex; flex-direction: column; font-size: 13px; }
.phone__notch { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0b0b0b; z-index: 2; }
.ph-top { padding: 56px 18px 12px; display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.ph-item { margin: 0 14px; padding: 12px; border-radius: 18px; background: #f4f4f4; display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.ph-item img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; }
.ph-item b { font-weight: 500; display: block; } .ph-item span { color: rgba(0,0,0,.55); font-size: 12px; }
.ph-add { margin: 12px 14px 0; padding: 14px; border-radius: 18px; border: 1.5px solid var(--blue); background: #f2f4ff; }
.ph-add__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ph-add b { font-weight: 600; color: var(--blue); }
.ph-add p { margin: 6px 0 0; color: rgba(0,0,0,.6); font-size: 12px; line-height: 1.4; }
.toggle { width: 46px; height: 28px; border-radius: 99px; background: #cfd3e6; border: 0; position: relative; cursor: pointer; flex: none; transition: background .2s; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle[aria-pressed="true"] { background: var(--blue); } .toggle[aria-pressed="true"]::after { transform: translateX(18px); }
.ph-sum { margin-top: auto; padding: 16px 18px 26px; border-top: 1px solid #eee; }
.ph-sum div { display: flex; justify-content: space-between; color: rgba(0,0,0,.6); margin-bottom: 6px; }
.ph-sum .tot { color: #111; font-weight: 600; font-size: 15px; }
.ph-pay { margin-top: 10px; width: 100%; border: 0; border-radius: 999px; background: #000; color: #fff; padding: 14px; font-weight: 500; }
.funnel { border-top: 1px solid var(--kl); }
.funnel__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--kl); }
.funnel__row .mono { font-size: 12.5px; color: rgba(0,0,0,.55); }
.funnel__row b { font-family: var(--cond); font-style: italic; font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; }
.funnel__row--total b { color: var(--blue); font-weight: 500; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 12px 0; }
.tbl th, .tbl td { text-align: left; padding: 10px; border-bottom: 1px solid var(--wl); }
.light .tbl th, .light .tbl td, .tile--light .tbl th, .tile--light .tbl td { border-color: var(--kl); }
.tbl th { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; font-family: var(--mono); font-size: 13px; }
.tbl .tot td { font-weight: 600; border-bottom: 0; }
.math__body .tbl { display: block; overflow-x: auto; }

/* drawers */
details.math { margin-top: 26px; border-top: 1px solid var(--wl); }
.light details.math { border-color: var(--kl); }
details.math > summary { padding: 18px 0; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
details.math > summary::-webkit-details-marker { display: none; }
details.math > summary::before { content: "+"; font-family: var(--mono); width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; opacity: .7; }
details.math[open] > summary::before { content: "\2212"; }
.math__body { font-size: 14px; line-height: 1.6; padding-bottom: 18px; color: var(--w70); }
.light .math__body { color: rgba(0,0,0,.8); }
.formula { display: block; font-family: var(--mono); font-size: 13px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); margin: 8px 0; overflow-x: auto; white-space: nowrap; }
.light .formula { background: var(--soft); }

/* waterfall bars */
.wf { display: grid; gap: 14px; }
.wf__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 76px; align-items: center; gap: 12px; font-size: 14px; }
.wf__bar { height: 26px; border-radius: 8px; background: var(--blue); transform-origin: left; }
.wf__row b { text-align: right; font-weight: 400; font-family: var(--mono); font-size: 13px; }

/* road */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.road li { border-radius: 20px; background: #fff; padding: 22px; min-height: 230px; display: flex; flex-direction: column; }
.road__when { font-family: var(--cond); font-style: italic; font-weight: 500; font-size: 22px; text-transform: uppercase; color: var(--blue); }
.road h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin-top: 12px; line-height: 1.25; }
.road p { margin: auto 0 0; padding-top: 14px; color: rgba(0,0,0,.6); font-size: 13px; }
.road p .mono { display: block; font-size: 11px; color: rgba(0,0,0,.45); margin-bottom: 4px; }
@media (max-width: 1000px) { .road { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .road { grid-template-columns: minmax(0, 1fr); } .road li { min-height: 0; } }

/* risk cards */
.risk { border-radius: 22px; background: rgba(20,20,20,.75); border: 1px solid var(--wl); padding: 24px; backdrop-filter: blur(14px); }
.risk h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; margin: 8px 0 14px; line-height: 1.2; }
.risk p { color: var(--w70); font-size: 14px; margin: 8px 0 0; }
.risk b { color: #fff; font-weight: 500; }

/* mid-page portrait CTA */
.meet-cta { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; text-decoration: none; color: #fff; border-radius: 32px; overflow: hidden; background: radial-gradient(ellipse 50% 70% at 78% 60%, rgba(17,43,175,.38), rgba(16,16,16,0) 70%), #101010; min-height: 460px; }
.meet-cta__txt { padding: clamp(28px, 4vw, 56px); align-self: center; }
.meet-cta__txt .d2 { margin: 6px 0 14px; }
.meet-cta__txt p { color: var(--w70); font-size: 16px; max-width: 42ch; margin: 0 0 24px; }
.meet-cta__photo { width: 100%; height: auto; max-height: 520px; object-fit: contain; object-position: bottom center; align-self: end; mix-blend-mode: lighten; }
.meet-cta .btn { pointer-events: none; }
@media (max-width: 760px) { .meet-cta { grid-template-columns: minmax(0, 1fr); } .meet-cta__photo { max-height: 340px; order: -1; } }

/* close */
.close { min-height: 100vh; display: flex; align-items: center; }
.close .d1 { max-width: 16ch; margin: 0 auto; }
.pdf { margin-top: 28px; font-size: 14px; color: var(--w55); }
.pdf a { color: #fff; }

/* ===== Meet ===== */
.mhero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: #101010; overflow: hidden; padding: calc(var(--pl-header-h) + 32px) 0 clamp(40px, 6vh, 72px); }
.mhero__photo { position: absolute; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); bottom: 0; height: 92%; width: auto; max-width: none; mix-blend-mode: lighten; }
.mhero__glow { position: absolute; right: 8%; bottom: -20%; width: 70vh; height: 70vh; border-radius: 50%; background: radial-gradient(circle, rgba(17,43,175,.45), rgba(17,43,175,0) 65%); }
.mhero__copy { position: relative; z-index: 2; max-width: 660px; }
.mhero .huge { font-size: clamp(76px, 12vw, 180px); }
.mhero__role { font-size: clamp(18px, 1.6vw, 23px); color: var(--w70); margin: 18px 0 0; max-width: 34ch; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-family: var(--mono); font-size: 11.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--wl); color: var(--w70); background: rgba(255,255,255,.04); }
@media (max-width: 860px) { .mhero { align-items: flex-end; } .mhero__photo { right: 50%; transform: translateX(50%); height: 62%; top: calc(var(--pl-header-h) + 10px); bottom: auto; } .mhero__copy { padding-top: 56vh; } }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { border-radius: 22px; padding: 22px 22px 20px; background: var(--card); display: flex; flex-direction: column; min-height: 210px; }
.stat .huge { font-size: clamp(64px, 6.5vw, 100px); }
.stat > span { color: var(--w70); font-size: 14px; margin-top: auto; padding-top: 14px; }
.stat > em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--blue2); margin-top: 6px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.orgs { display: flex; flex-wrap: wrap; gap: 10px 40px; align-items: baseline; justify-content: center; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.04em; color: #111; }
.orgs span { white-space: nowrap; } .orgs i { font-style: normal; color: rgba(0,0,0,.3); }
.pmap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.pmap__sticky { position: sticky; top: calc(var(--pl-header-h) + 40px); }
.pmap__list { display: grid; gap: 12px; }
.pair { border-radius: 22px; background: #fff; padding: 24px 26px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: start; }
.pair .huge { font-size: 64px; color: var(--blue); white-space: nowrap; }
.pair .huge.sm { font-size: 46px; }
.pair__need { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: rgba(0,0,0,.45); }
.pair h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; margin: 6px 0 8px; line-height: 1.2; }
.pair p { margin: 0; color: rgba(0,0,0,.66); font-size: 14.5px; }
.pair em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--blue); display: block; margin-top: 8px; }
@media (max-width: 860px) { .pmap { grid-template-columns: minmax(0, 1fr); } .pmap__sticky { position: static; } .pair { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.jcard { border-radius: 26px; overflow: hidden; background: var(--card); position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.jcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jcard__txt { position: relative; z-index: 2; padding: 26px; background: linear-gradient(0deg, rgba(0,0,0,.9) 30%, rgba(0,0,0,0)); }
.jcard__when { font-family: var(--cond); font-style: italic; font-weight: 500; font-size: 20px; text-transform: uppercase; color: var(--blue2); }
.jcard h3 { font-size: 24px; letter-spacing: -0.035em; margin-top: 6px; line-height: 1.15; }
.jcard p { color: var(--w70); margin: 8px 0 0; font-size: 14.5px; }
.jcard--text { background: linear-gradient(160deg, #1f1f1f, #0e0e0e); min-height: 300px; }
.jcard__year { position: absolute; top: 18px; left: 22px; font-family: var(--cond); font-style: italic; font-weight: 300; font-size: clamp(110px, 12vw, 180px); line-height: .85; color: rgba(255,255,255,.08); }
@media (max-width: 760px) { .journey { grid-template-columns: minmax(0, 1fr); } .jcard { min-height: 320px; } }
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wcard { border-radius: 22px; background: var(--soft); padding: 24px; display: flex; flex-direction: column; color: #111; }
.wcard .huge { font-size: clamp(54px, 5vw, 76px); color: #111; }
.wcard h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin-top: 14px; }
.wcard p { color: rgba(0,0,0,.62); font-size: 14px; margin: 8px 0 0; }
.wcard em { margin-top: auto; padding-top: 14px; font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--blue); }
@media (max-width: 900px) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .work { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 20px 0; font-size: 17.5px; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--w55); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 20px; color: var(--w70); font-size: 15px; }

/* ===== Talk ===== */
.talk { min-height: 100vh; padding: calc(var(--pl-header-h) + 56px) 0 72px; background: radial-gradient(ellipse 60% 50% at 80% 30%, rgba(17,43,175,.35), rgba(0,0,0,0) 70%), #000; }
.talk__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.copyrows { margin-top: 30px; border-top: 1px solid var(--wl); }
.copyrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--wl); font-size: 16px; }
.copyrow .mono { font-size: 11px; color: var(--w55); text-transform: uppercase; letter-spacing: .05em; }
.copyrow > span:nth-child(2) { overflow-wrap: anywhere; }
.resume img { border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.6); background: #fff; width: 100%; transform: rotate(2deg); transition: transform .4s; }
.resume a:hover img { transform: rotate(0); }
.resume__acts { display: flex; gap: 10px; margin-top: 20px; }
@media (max-width: 860px) { .talk__grid { grid-template-columns: minmax(0, 1fr); } .resume { max-width: 340px; } }
@media (max-width: 480px) { .copyrow { grid-template-columns: minmax(0, 1fr) auto; } .copyrow .mono { grid-column: 1 / -1; } }

/* footer, drawer */
.foot { background: #000; color: var(--w55); font-size: 13px; padding: 36px 0 48px; border-top: 1px solid var(--wl); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot a { color: var(--w90); }
.sd-panel { font-size: 14px; color: #111; }
.sd-title { font-size: 20px; letter-spacing: -0.03em; margin: 28px 0 6px; font-weight: 500; }
.sd-pub { color: rgba(0,0,0,.6); margin: 0; } .sd-note { color: rgba(0,0,0,.85); } .sd-link { color: var(--blue); }
.sd-close { border: 1px solid var(--kl); background: #fff; font-size: 18px; color: #111; }

/* motion helpers: transform only, text never hidden */
html.js .rise { transform: translateY(28px); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
html.js .rise.in { transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .rise { transform: none; transition: none; } .chapbtn { transition: none; } }
@media (max-width: 560px) { .gapbar__track { flex-direction: column; height: auto; } .gapbar__track > span { flex: none !important; min-height: 120px; } .gapbar__new { transform-origin: top; } }
@media (max-width: 860px) { .mhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #101010 42%, rgba(16,16,16,.75) 58%, rgba(16,16,16,0) 76%); z-index: 1; } .mhero__copy { padding-top: 50vh; } }
/* bet-rail cards: worked visuals (v2.1) */
.hcard { gap: 18px; min-height: min(520px, 66vh); }
.hcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hcard__top .kicker { margin: 10px 0 0; }
.hv { flex: 1; display: flex; flex-direction: column; justify-content: center; border-radius: 18px; background: rgba(255,255,255,.55); padding: 16px 18px; min-height: 0; }
.hcard--dark .hv { background: rgba(255,255,255,.05); } .hcard--blue .hv { background: rgba(255,255,255,.1); }
.hv__q { font-size: 18px; letter-spacing: -0.025em; line-height: 1.3; margin: 0 0 12px; color: #111; }
.hv__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; color: rgba(0,0,0,.7); }
.hv__checks i { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--blue); margin-right: 8px; vertical-align: -3px; position: relative; }
.hv__checks i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--blue); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.hv__row { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr; align-items: baseline; gap: 6px; }
.hv__row b { font-family: var(--cond); font-style: italic; font-weight: 300; font-size: 44px; line-height: 1; color: #111; }
.hv__row span { font-family: var(--mono); font-size: 11px; color: rgba(0,0,0,.5); }
.hv__track { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; margin-top: 16px; }
.hv__track i { height: 22px; border-radius: 5px; background: rgba(0,0,0,.1); } .hv__track i.on { background: var(--blue); }
.hv__track i:nth-child(9) { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--blue); }
.hv__axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: rgba(0,0,0,.5); margin-top: 8px; }
.hv__svg { width: 100%; height: auto; } .hv__svg text { font-family: var(--mono); font-size: 10px; fill: rgba(0,0,0,.55); }
.hv__cap { font-family: var(--mono); font-size: 10.5px; color: rgba(0,0,0,.5); margin: 6px 0 0; }
.hv__flow { display: grid; gap: 8px; }
.hv__flow .k { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; color: rgba(0,0,0,.72); background: #fff; }
.hv__flow .k b { font-family: var(--cond); font-style: italic; font-weight: 500; font-size: 19px; text-transform: uppercase; }
.k--go b { color: var(--blue); } .k--hold b { color: #a86a00; } .k--stop b { color: #b3261e; }
.hv__people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hv__people .p { aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--wl); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--cond); font-style: italic; font-weight: 500; font-size: 20px; color: #fff; background: rgba(255,255,255,.04); }
.hv__people .p small { font-family: var(--mono); font-style: normal; font-size: 9.5px; color: var(--w55); margin-top: 2px; font-weight: 400; }
.hv__people .p--lead { background: var(--blue); border-color: var(--blue); }
.hv__dial { width: min(170px, 70%); margin: 0 auto; } .hv__dial .d { font-family: var(--cond); font-style: italic; font-size: 26px; fill: #fff; } .hv__dial .s { font-family: var(--mono); font-size: 10px; fill: rgba(255,255,255,.75); }
@media (max-width: 760px) { .hcard { min-height: 500px; } .hv__row b { font-size: 36px; } }
.hv__legend { display: flex; gap: 16px; font-family: var(--mono); font-size: 10.5px; color: rgba(0,0,0,.6); margin: 6px 0 0; }
.hv__legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--blue); vertical-align: middle; margin-right: 6px; } .hv__legend i.l2 { border-top: 2px dashed rgba(0,0,0,.45); }
@media (min-width: 761px) {
  .sec--rail { padding: calc(var(--pl-header-h) + 20px) 0 24px; min-height: 100vh; }
  .sec--rail .head .d2 { font-size: clamp(30px, 3.6vw, 52px); }
  .sec--rail .hcard { height: clamp(380px, calc(100vh - 350px), 540px); min-height: 0; }
  .sec--rail .hcard .huge { font-size: clamp(60px, 7vw, 110px); }
}
@media (min-width: 761px) and (max-height: 820px) { .sec--rail .hv__q { font-size: 16px; } .sec--rail .hcard p { font-size: 14px; } .sec--rail .hcard h3 { font-size: 22px; } }
/* v2.1: phone hero, ring on top, copy beneath */
@media (max-width: 760px) {
  .hero { display: block; padding-top: calc(var(--pl-header-h) + 4px); padding-bottom: 40px; }
  .hero__media { position: relative; inset: auto; height: 36vh; height: 36svh; margin: 0 0 4px; }
  .hero__media video, .hero__media img { position: absolute; left: 50%; right: auto; top: 0; margin: 0; height: 100%; width: auto; transform: translateX(-50%); }
  .hero__media::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 35%); }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hero .kicker { margin-bottom: 12px; }
  .hero__sub { margin-top: 14px; } .ctas { margin-top: 22px; }
}
/* v2.1: Let's Talk, the ring keeps turning behind the page */
.talk { position: relative; overflow: hidden; }
.talk__ring { position: absolute; right: -6%; top: 50%; height: 120%; width: auto; aspect-ratio: 1; transform: translateY(-50%); opacity: .38; mix-blend-mode: lighten; pointer-events: none; }
.talk__grid { position: relative; z-index: 1; }
.resume a { display: block; perspective: 900px; }
.resume img { transform-style: preserve-3d; will-change: transform; }
@media (max-width: 860px) { .talk__ring { right: -30%; top: 20%; height: 70%; opacity: .28; } }
@media (prefers-reduced-motion: reduce) { .talk__ring { display: none; } }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero__media { height: 30vh; height: 30svh; -webkit-mask-image: linear-gradient(90deg, transparent 14%, #000 32%, #000 68%, transparent 86%); mask-image: linear-gradient(90deg, transparent 14%, #000 32%, #000 68%, transparent 86%); }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .hero__concept { margin-top: 18px; }
}
@media (max-width: 760px) { .hero { padding-bottom: 22px; } .hero .scroll-cue { display: none; } }
.talk__ring { -webkit-mask-image: radial-gradient(circle at 50% 33%, #000 13%, transparent 31%); mask-image: radial-gradient(circle at 50% 33%, #000 13%, transparent 31%); }

.talk__ring video { width: 100%; height: 100%; object-fit: cover; display: block; }
.talk__ring { overflow: hidden; border-radius: 50%; }
.talk__ring { width: auto; }
@media (max-width: 860px) { .talk__ring { right: -22%; left: auto; top: 0; height: 52vh; transform: none; opacity: .32; } }
@media (max-width: 760px) { .tag-concept { top: calc(var(--pl-header-h) + 64px); } }

/* v2.2 audit fixes */
.nav { z-index: 90; }
.nav__bar { background: rgba(246,246,246,.94); }
.chapbtn { background: #e9e9ec; }
@media (max-width: 760px) {
  .chapbtn { background: #f1f1f3; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
  html.nav-down .nav__chap { transform: translateY(-14px); opacity: 0; pointer-events: none; }
  .nav__chap { transition: transform .25s, opacity .25s; }
}
.tile__over .overlay-chip { display: inline-block; font-family: var(--mono); font-size: 12px; color: #fff; background: rgba(17,43,175,.85); padding: 5px 10px; border-radius: 9px; margin-bottom: 10px; }
