/* Fonts: Latin subsets (woff2) of public/ds/assets/fonts (Science Gothic static at wdth 100, wght 400/700, PT Root UI 400/500/700).
   ~55 KB in total instead of the 2.7 MB variable TTF. Rebuild: fontTools varLib.instancer + pyftsubset --flavor=woff2. */
@font-face { font-family: 'Science Gothic'; src: url('fonts/science-gothic-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Science Gothic'; src: url('fonts/science-gothic-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Root UI'; src: url('fonts/pt-root-ui-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Root UI'; src: url('fonts/pt-root-ui-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'PT Root UI'; src: url('fonts/pt-root-ui-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* MAPPED.AGENCY. How it works: scroll landing built from the approved film (dark "chocolate" mode).
   Default CSS = static, fully readable final state (no JS, reduced motion).
   html.pm = timed playback (variant A), set by page.js when GSAP + ScrollTrigger loaded and motion is allowed. */

:root {
  --bg: #1F1509; --bg2: #140D05; --white: #FFFFFF; --warm: #DBC0B7; --red: #E2453C; --deep: #6D281D;
  --line: rgba(255,255,255,.14); --panel: #241809; --panel2: #2F2011; --ink: #120C06;
  --hdr: 56px; --gut: clamp(20px, 4vw, 56px);
  --sg: 'Science Gothic', 'Arial Narrow', sans-serif; --ui: 'PT Root UI', system-ui, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
}
@media (max-width: 899.98px) { :root { --gut: 16px; } }

html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
img, svg { max-width: 100%; }
a { color: var(--warm); text-decoration: none; }
a:hover { color: var(--white); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--bg); }
input, textarea, button { font: inherit; max-width: 100%; }

.shell { width: 100%; overflow-x: clip; background-color: var(--bg);
  background-image: linear-gradient(rgba(226,69,60,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(226,69,60,0.05) 1px, transparent 1px);
  background-size: 134px 134px; background-position: 0 67px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

.sg { font-family: var(--sg); font-weight: 700; font-variation-settings: "wdth" 100; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.eb { font: 700 13px/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { font: 700 13px/1.3 var(--ui); letter-spacing: .5px; text-transform: uppercase; color: var(--red); }
.eb-note { margin-left: 12px; color: var(--warm); font-weight: 500; letter-spacing: .3px; text-transform: none; font-size: 13px; }
.mk { font: 700 14px/1.3 var(--mono); color: var(--red); white-space: nowrap; }
.sk { display: block; height: 7px; background: rgba(255,255,255,.16); margin-top: 9px; }

/* buttons (same as home) */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: var(--ds-btn-h); padding: 0 24px;
  clip-path: var(--ds-btn-clip); background: var(--red); color: var(--bg); border: 0; cursor: pointer;
  font: 700 14px/1.3 var(--ui); letter-spacing: .5px; text-transform: uppercase; text-decoration: none; text-align: center; transition: filter .15s; }
.btn-primary:hover { filter: drop-shadow(0 0 11px rgba(226,69,60,.8)); color: var(--bg); text-decoration: none; }
.btn-primary:disabled { background: var(--ds-disabled); color: var(--ds-text-disabled); cursor: default; filter: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; white-space: nowrap; }
.btn-ghost { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: var(--ds-btn-h); padding: 0 24px;
  color: var(--red); font: 700 14px/1.3 var(--ui); letter-spacing: .5px; text-transform: uppercase; text-decoration: none; text-align: center; }
.btn-ghost:hover { color: var(--white); text-decoration: none; }
.btn-ghost .bg-stroke { position: absolute; inset: 0; clip-path: var(--ds-btn-clip); background: var(--red); }
.btn-ghost .bg-fill { position: absolute; inset: 1px; clip-path: var(--ds-btn-clip); background: var(--bg); }
.btn-ghost .lbl { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- top bar */
.top { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: var(--hdr); background: var(--bg); border-bottom: 1px solid rgba(226,69,60,.35); }
/* solid header: anchored targets land below it */
section[id], [id='ask'], [id='research-form'] { scroll-margin-top: calc(var(--hdr) + 8px); }
.top-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--sg); font-size: clamp(20px, 2vw, 26px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--white); text-shadow: 0 0 7.7px rgba(226,69,60,.5); white-space: nowrap; }
.logo:hover { color: var(--white); text-decoration: none; }
.logo .r { color: var(--red); }
.prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.prog i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
.btn-sm .s { display: none; }
@media (max-width: 480px) { .top .btn-sm { padding: 0 14px; font-size: 12px; } .btn-sm .l { display: none; } .btn-sm .s { display: inline; } .logo { font-size: 19px; } }

/* ---------------------------------------------------------------- scenes, static layout */
.scene { position: relative; border-top: 1px solid rgba(226,69,60,.18); }
.scene:first-child { border-top: 0; }
.pin { position: relative; max-width: 1440px; margin: 0 auto; padding: calc(var(--hdr) + clamp(40px, 6vw, 88px)) var(--gut) clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.caps { order: 1; }
.vis { order: 2; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.st { display: flex; justify-content: center; min-width: 0; }
.fit { max-width: 100%; }
.beat + .beat { margin-top: 26px; }
.bt { font-family: var(--sg); font-weight: 700; font-variation-settings: "wdth" 100; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.04;
  font-size: clamp(22px, 3vw, 44px); margin: 0; max-width: 26em; color: var(--white); }
.bt em { font-style: normal; color: var(--red); }
.bs { font: 500 clamp(16px, 1.45vw, 20px)/1.45 var(--ui); color: var(--warm); margin: 10px 0 0; max-width: 62ch; }
.bs a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em .03em .12em; margin: -.05em -.03em -.12em; }
.wi { display: inline-block; }

/* ---------------------------------------------------------------- 01 hero */
.hero .pin { padding-top: calc(var(--hdr) + clamp(36px, 6vw, 80px)); }
.hero-copy { position: relative; z-index: 2; }
.hero .head { justify-content: flex-start; gap: 18px; }
.h1 { font-family: var(--sg); font-weight: 700; font-variation-settings: "wdth" 100; text-transform: uppercase; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(34px, 5.2vw, 76px); margin: clamp(18px, 2.4vw, 28px) 0 0; max-width: 14em; text-wrap: balance; }
.h1 .soft { color: var(--warm); }
.lead { font: 500 clamp(18px, 1.9vw, 26px)/1.4 var(--ui); margin: clamp(18px, 2.4vw, 30px) 0 0; max-width: 34ch; }
.lead .ph { color: var(--white); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 40px); }
.ctas a { flex: 0 1 auto; }
.hero-vis { position: relative; height: clamp(320px, 42vw, 560px); --tx: .2; --ty: .32; }
.pfield { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vf { position: absolute; left: calc(var(--tx) * 100%); top: calc(var(--ty) * 100%); width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.vf i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--red); }
.vf .c1 { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; }
.vf .c2 { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; }
.vf .c3 { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; }
.vf .c4 { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; }
.hchip { position: absolute; left: calc(var(--tx) * 100% + 50px); max-width: min(340px, calc(100% - var(--tx) * 100% - 56px)); background: var(--panel); border: 1px solid rgba(219,192,183,.45); border-left: 3px solid var(--red); padding: 10px 14px 11px; display: flex; flex-direction: column; gap: 3px; }
.hchip .mono { font-size: 11px; color: var(--red); letter-spacing: .04em; }
.hchip b { font: 700 16px/1.3 var(--ui); color: var(--white); }
.hchip b.mail { font: 700 14px/1.3 var(--mono); color: var(--white); word-break: break-all; }
.hchip span:not(.mono) { font-size: 13px; color: var(--warm); line-height: 1.35; }
.hc-person { top: calc(var(--ty) * 100% - 38px); }
.hc-mail { top: calc(var(--ty) * 100% + 52px); padding-right: 40px; }
.hc-why { top: calc(var(--ty) * 100% + 126px); }
.hc-mail .ok-dot { position: absolute; right: 12px; top: 50%; margin-top: -10px; }
.ok-dot { display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7 13.5l4 4 8-9' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; flex: none; }
.scroll-hint { display: none; }

/* ---------------------------------------------------------------- panels (problem) */
.panel { position: relative; background: var(--panel); border: 2px solid rgba(219,192,183,.55); color: var(--white); }
.pbar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--ink); border-bottom: 2px solid rgba(255,255,255,.16); color: var(--warm); }
.pbar.red { border-bottom-color: var(--red); }
.pbar .eb { font-size: 13px; }
.caret { display: inline-block; width: 3px; height: 26px; background: var(--red); vertical-align: middle; }
.draft { width: 640px; height: 360px; }
.drow { display: flex; align-items: center; gap: 18px; height: 58px; margin: 0 24px; border-bottom: 2px solid rgba(255,255,255,.12); }
.drow .eb { width: 70px; color: var(--warm); font-size: 12px; }
.names { position: relative; display: inline-block; height: 26px; min-width: 160px; font-size: 19px; }
.names span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.names span:first-child { opacity: .9; }
.q { color: var(--red); font-size: 32px; line-height: 1; }
.dbody { position: relative; margin: 18px 24px; height: 170px; }
.dbody .caret { position: absolute; left: 0; top: 0; }
.dbody .q.big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 130px; }

.islands { display: grid; grid-template-columns: repeat(2, 340px); gap: 34px 120px; }
.isl { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ilab { display: inline-block; font-size: 24px; letter-spacing: -.01em; background: var(--bg); border: 2px solid var(--warm); padding: 8px 18px; white-space: nowrap; }
.icards { position: relative; width: 230px; height: 120px; }
.ic { position: absolute; top: 0; width: 92px; height: 116px; background: var(--panel2); border: 2px solid rgba(255,255,255,.18);
  background-image: repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.14) 18px 23px); background-clip: content-box; padding: 26px 10px 10px; }
.ic:nth-child(1) { left: 0; transform: rotate(-7deg); }
.ic:nth-child(2) { left: 69px; top: 6px; }
.ic:nth-child(3) { left: 138px; transform: rotate(7deg); }
.ic.trial { background-image: repeating-linear-gradient(180deg, rgba(255,255,255,.18) 0 2px, transparent 2px 20px); }
.ic.page { background-image: linear-gradient(var(--ink), var(--ink)), repeating-linear-gradient(180deg, transparent 0 14px, rgba(255,255,255,.14) 14px 19px); background-size: 100% 12px, 100% 100%; background-repeat: no-repeat, repeat; }
.ic.prog { background-image: repeating-linear-gradient(180deg, transparent 0 13px, rgba(226,69,60,.5) 13px 16px, transparent 16px 21px); }

.cal { width: 560px; padding: 22px 34px 30px; }
.wk { position: relative; height: 52px; text-align: center; font-size: 40px; }
.wk span { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.wk span:last-child { opacity: 1; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 18px; }
.days i { display: block; height: 40px; border: 2px solid rgba(255,255,255,.16); background: var(--red); border-color: var(--red); }
.stamp { position: absolute; right: -18px; bottom: -18px; background: var(--red); color: var(--white); font-size: 15px; padding: 9px 14px; font-weight: 700; }

.db { width: 860px; }
.dbt { padding: 6px 26px 18px; }
.dbh, .dbr { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1.2fr; gap: 16px; align-items: start; }
.dbh { color: var(--warm); font-size: 12px; padding: 14px 0 10px; }
.dbr { border-top: 2px solid rgba(255,255,255,.12); padding: 16px 0; min-height: 70px; font-size: 18px; }
.dbr .mono { font-size: 15px; }
.ttl { position: relative; display: flex; flex-direction: column; gap: 4px; }
.ttl em { font-style: normal; font-size: 12px; color: var(--red); }
.strike { position: absolute; left: 0; top: 11px; width: 92%; height: 3px; background: var(--red); transform-origin: 0 50%; }
.dbr.r0 .ttl, .dbr.r2 .ttl { color: rgba(255,255,255,.55); }
.emc.mono { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--red); }
.bounced { font: 700 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: var(--white); padding: 6px 9px; }

.duo { display: flex; gap: 40px; align-items: stretch; }
.dm, .em { width: 440px; }
.dm { padding-bottom: 34px; }
.bub { position: relative; margin: 18px 22px 0 70px; border: 2px solid rgba(219,192,183,.6); background: var(--panel2); padding: 4px 16px 14px; }
.bub .sk { height: 7px; }
.seen { position: absolute; right: 0; bottom: -22px; font-size: 12px; color: var(--warm); }
.bub + .bub { margin-top: 30px; }
.em { border-color: var(--white); }
.read { background: var(--red); color: var(--white); font-size: 12px; padding: 6px 10px; }
.emto { display: flex; align-items: center; gap: 14px; padding: 18px 22px 14px; border-bottom: 2px solid rgba(255,255,255,.12); margin: 0 0 4px; }
.emto .eb { color: var(--warm); font-size: 12px; }
.emto .mono { font-size: 16px; }
.emr { display: flex; flex-direction: column; gap: 6px; padding: 14px 22px 6px; }
.emr .r { color: var(--red); font-size: 13px; }
.rtxt { font: 500 22px/1.3 var(--ui); }
.em > .sk { margin-left: 22px; }

/* ---------------------------------------------------------------- light excel bits (shared) */
.xw { position: relative; border: 2px solid #CFC3BB; border-radius: 10px; overflow: hidden; background: #FFFFFF; color: #221A14; }
.xbar { position: relative; height: 38px; background: #EDE7E2; border-bottom: 1px solid #E2DAD4; font: 700 14px/38px var(--mono); color: #6B5F57; white-space: nowrap; padding-left: 74px; overflow: hidden; text-overflow: ellipsis; }
.xbar b { color: var(--red); }
.xbar .dt { position: absolute; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: #D8CEC7; }
.xbar .dt:nth-child(1) { left: 14px; } .xbar .dt:nth-child(2) { left: 32px; } .xbar .dt:nth-child(3) { left: 50px; }
.lkb { color: #0B57D0; }
.xs { display: inline-block; height: 8px; background: #E8DCD5; vertical-align: middle; }
.xs.blue { background: #BFD3F5; }
.xs.redb { background: var(--red); }
.xtabs { height: 36px; background: #EDE7E2; border-top: 1px solid #E2DAD4; font-size: 14px; line-height: 36px; color: #6B5F57; white-space: nowrap; padding-left: 10px; overflow: hidden; }
.xtabs span { display: inline-block; padding: 0 14px; height: 33px; }
.xtabs span.on { background: #FFFFFF; color: var(--deep); font-weight: 700; border-bottom: 3px solid var(--red); }

/* 03 clinicians */
.vennwrap { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 900px; max-width: 100%; }
.venn { width: 640px; height: auto; overflow: visible; }
.vt { font: 700 17px var(--ui); letter-spacing: .12em; text-transform: uppercase; fill: var(--white); }
.vt-b { fill: var(--warm); }
.vt-c { fill: var(--red); }
.mini { width: 900px; max-width: 100%; }
.mrow { display: grid; grid-template-columns: 1.05fr 1fr 1.15fr; }
.mrow > span { border-right: 1px solid #E2DAD4; border-bottom: 1px solid #E2DAD4; padding: 10px 14px; min-width: 0; }
.mrow > span:last-child { border-right: 0; }
.mh > span { background: #1F1509; color: #FFFFFF; font-weight: 700; font-size: 16px; border-color: #3B2B1B; }
.md > span { font-size: 17px; line-height: 1.35; min-height: 92px; }
.md .who b { display: block; font-size: 17px; }
.md small { display: block; color: #6B5F57; font-size: 14px; margin-top: 4px; }
.md .mail { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font: 700 14px/1.4 var(--mono); word-break: break-all; }
.md .why { position: relative; }
.ms > span { padding: 12px 14px; }

/* 04 / 06 chains (svg) */
.chain { display: block; width: 1200px; height: auto; overflow: visible; }
.chain text { font-family: var(--ui); font-weight: 700; text-transform: uppercase; }
.chain .nt { font-family: var(--sg); font-variation-settings: "wdth" 100; fill: var(--white); letter-spacing: -.01em; }
.chain .lb { fill: var(--warm); letter-spacing: .12em; }
.chain .lb.red { fill: var(--red); }
.chain .ways { font-family: var(--sg); font-variation-settings: "wdth" 100; fill: var(--red); }
.chain .mt { font-family: var(--mono); font-weight: 700; text-transform: none; fill: #221A14; }
.chain .tg { fill: var(--warm); letter-spacing: .1em; }
.chain .pt { font-family: var(--sg); font-variation-settings: "wdth" 100; fill: var(--white); }

/* 05 quotes */
.qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 560px)); gap: 22px 28px; width: 1148px; max-width: 100%; }
.qcard { position: relative; margin: 0; padding: 18px 22px 18px 26px; border-top: 2px solid rgba(219,192,183,.35); background: rgba(36,24,9,.85); display: flex; flex-direction: column; gap: 12px; }
.qbar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform-origin: 50% 0; }
.qmk { font-size: 12px; color: var(--red); }
.qcard blockquote { margin: 0; font: 500 clamp(16px, 1.5vw, 19px)/1.45 var(--ui); color: var(--white); }
.qcard blockquote::before { content: "\201C"; font-family: var(--sg); font-weight: 700; color: rgba(226,69,60,.55); margin-right: 4px; }
.qcard blockquote::after { content: "\201D"; font-family: var(--sg); font-weight: 700; color: rgba(226,69,60,.55); margin-left: 2px; }
.qcard mark { background: rgba(226,69,60,.16); color: #F07A71; padding: 0 2px; }
.qcard figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.qcard figcaption b { font-size: 18px; letter-spacing: -.01em; color: var(--white); flex: 1 1 100%; }
.qcard figcaption span { font-size: 13px; color: var(--warm); }
.qcard figcaption a { font: 700 12px/1.3 var(--ui); letter-spacing: .5px; text-transform: uppercase; color: var(--red); }
.qcard figcaption a::after { content: " \203A"; }

/* 07 stack */
.stack { position: relative; width: var(--sw, 560px); height: calc(var(--sw, 560px) * 1.12); }
/* no preserve-3d: every sheet carries its own full 3D transform (renders the same in every engine) */
.stk { position: absolute; left: 0; right: 0; top: calc(var(--sw, 560px) * .58); height: calc(var(--sw, 560px) * .42); }
html:not(.pm) .sheet:nth-child(1) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.000)); }
html:not(.pm) .sheet:nth-child(2) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.090)); }
html:not(.pm) .sheet:nth-child(3) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.180)); }
html:not(.pm) .sheet:nth-child(4) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.270)); }
html:not(.pm) .sheet:nth-child(5) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.360)); }
html:not(.pm) .sheet:nth-child(6) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.450)); }
html:not(.pm) .sheet:nth-child(7) { transform: perspective(1800px) rotateX(56deg) rotateZ(-26deg) translateZ(calc(var(--sw, 560px) * 0.540)); }
.sheet { position: absolute; inset: 0; background: #2A1C0F; border: 2px solid rgba(255,255,255,.2);
  background-image: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.05) 22px 24px);
  display: flex; align-items: flex-end; gap: 14px; padding: 0 0 10px 18px; }
.sheet .mono { font-size: 13px; color: var(--red); font-weight: 700; }
.sheet b { font-size: calc(var(--sw, 560px) * .046); color: var(--warm); letter-spacing: -.01em; }
.sheet:last-child { border-color: var(--red); }
.sheet:last-child b { color: var(--white); }
.gf { position: absolute; right: 18px; top: 16px; display: flex; gap: 12px; align-items: center; font: 700 calc(var(--sw, 560px) * .03)/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.gf .gs { color: var(--warm); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.gf .fc { background: var(--red); color: var(--white); padding: 6px 9px; }

/* 08 file: wide excel */
.st-file { width: 100%; }
.xl-wide { width: 100%; }
.xl-card { display: none; }
.xwide { height: 600px; }
.xclip { position: absolute; left: 0; right: 0; top: 38px; bottom: 36px; overflow: hidden; }
.xwide .xtabs { position: absolute; left: 0; right: 0; bottom: 0; }
.xgrid { position: absolute; left: 0; top: 0; }
.xgrid > div { position: absolute; }
.xL { background: #F3EFEB; border: 1px solid #E2DAD4; color: #6B5F57; font: 700 13px/26px var(--mono); text-align: center; }
.xN { background: #F3EFEB; border: 1px solid #E2DAD4; color: #6B5F57; font: 700 12px var(--mono); text-align: center; padding-top: 11px; }
.xN.hot { background: var(--red); color: #FFFFFF; border-color: var(--red); }
.xH { background: #1F1509; border: 1px solid #3B2B1B; color: #FFFFFF; font-weight: 700; font-size: 15px; line-height: 1.25; padding: 8px 10px; overflow: hidden; }
.xD { background: #FFFFFF; border: 1px solid #E2DAD4; color: #221A14; font-size: 15px; line-height: 1.38; padding: 9px 10px; overflow: hidden; white-space: normal; }
.xD.dim { color: #9A8F88; }
.xD .cv, .xD .skl { display: block; }
.xD.tg { padding: 10px 12px; }
.skl { display: none; }
html.pm .xD .skl { position: absolute; left: 10px; right: 10px; top: 9px; }
html.pm .cvv { position: relative; }
html.pm .cvv .skl { position: absolute; left: 0; right: 0; top: 0; }
.skl i { display: block; height: 8px; background: #E8DCD5; margin: 6px 0 10px; }
.cv small { display: block; color: #6B5F57; font-size: 13px; margin-top: 3px; }
.cv .hlw { background: rgba(226,69,60,.14); color: var(--deep); font-weight: 700; padding: 0 2px; }
.cv .sure { display: inline-block; background: #C9EDCB; color: #1B5E20; font-weight: 700; padding: 2px 7px; }
.cv .mailrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font: 700 13px/1.4 var(--mono); }
.xbtns { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.xbtn { height: 32px; padding: 0 12px; font-weight: 700; font-size: 14px; display: flex; align-items: center; white-space: nowrap; border: 2px solid var(--red); color: #C0332B; background: #FFFFFF; }
.xbtn.on { background: var(--red); color: #FFFFFF; }
.sbar { display: inline-block; height: 10px; background: var(--red); vertical-align: middle; margin-right: 8px; }
.chl { pointer-events: none; border-left: 2px solid var(--red); border-right: 2px solid var(--red); opacity: 0; }
.chl b { position: absolute; left: -2px; right: -2px; top: 0; height: 26px; background: var(--red); color: #FFFFFF; font: 700 13px/26px var(--mono); text-align: center; }
.pop { background: #FFFFFF; border: 2px solid #CFC3BB; border-radius: 8px; box-shadow: 0 10px 28px rgba(31,21,9,.28); overflow: hidden; font-size: 14px; color: #221A14; }
.pop .ph { height: 30px; background: #EDE7E2; border-bottom: 1px solid #E2DAD4; font: 700 12px/30px var(--mono); color: #6B5F57; padding: 0 12px; white-space: nowrap; }
.pop .pr { display: grid; grid-template-columns: 54px 1fr 64px; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #EFE8E3; align-items: center; }
.pop .pr .y { font: 700 12px var(--mono); color: #6B5F57; }
.pop .pb { padding: 12px 14px; }
.pop .pb b { display: block; font-size: 16px; }
.pop .pb span { display: block; color: #6B5F57; font-size: 13px; margin: 3px 0 8px; }
.compose { position: absolute; right: 22px; top: 56px; width: 480px; background: #FFFFFF; border: 2px solid #CFC3BB; border-radius: 8px; box-shadow: 0 16px 40px rgba(31,21,9,.35); color: #221A14; font-size: 14px; z-index: 3; }
.compose .ch { height: 34px; background: #1F1509; color: #FFFFFF; font: 700 13px/34px var(--ui); padding: 0 14px; letter-spacing: .04em; }
.compose .cr { padding: 9px 14px; border-bottom: 1px solid #EFE8E3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compose .cr span { color: #6B5F57; margin-right: 8px; }
.compose .cb { padding: 12px 14px; line-height: 1.45; min-height: 96px; }
.compose .cf2 { display: flex; align-items: center; gap: 14px; padding: 10px 14px 14px; position: relative; }
.compose .send { background: #0B57D0; color: #FFFFFF; font-weight: 700; padding: 8px 20px; border-radius: 18px; }
.compose .note { font: 700 11px/1.3 var(--mono); color: #6B5F57; }
.cursor { position: absolute; left: 62px; top: 22px; width: 22px; height: 26px; }

/* 08 file: mobile card */
.xcard { height: 100%; display: flex; flex-direction: column; }
.xcard .xbar { flex: none; }
.cfw { position: relative; flex: 1 1 auto; overflow: hidden; }
.cfi { padding: 4px 14px 14px; }
.cf { position: relative; padding: 10px 0 10px 12px; border-bottom: 1px solid #EFE8E3; }
.cbar { position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--red); }
.cf .cl { font: 700 11px/1.3 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: #6B5F57; }
.cf .cvv { font-size: 15px; line-height: 1.4; margin-top: 3px; }
.cf .cvv .skl i { margin: 6px 0; }
.xcard .compose { left: 10px; right: 10px; width: auto; top: auto; bottom: 10px; }

/* 08 sort / screened / criteria */
.xsort { width: 820px; --rh: 44px; --c0: 34px; --c1: 44px; --c2: 240px; --c3: 330px; --c4: 168px; }
.xs-head, .xs-row { display: flex; }
.xs-head > span, .xs-row > span { flex: none; border-right: 1px solid #E2DAD4; border-bottom: 1px solid #E2DAD4; padding: 0 10px; display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.xs-head > span { height: 48px; background: #1F1509; color: #FFFFFF; font-weight: 700; font-size: 15px; border-color: #3B2B1B; }
.xs-head > span:first-child, .xs-rn > span { background: #F3EFEB; color: #6B5F57; font: 700 12px var(--mono); justify-content: center; border-color: #E2DAD4; }
.xs-body { position: relative; height: calc(var(--rh) * 7); }
.xs-rn { position: absolute; left: 0; top: 0; width: var(--c0); }
.xs-rn > span { height: var(--rh); border-right: 1px solid #E2DAD4; border-bottom: 1px solid #E2DAD4; display: flex; align-items: center; }
.xs-row { position: absolute; left: var(--c0); top: 0; height: var(--rh); background: #FFFFFF; font-size: 15px; }
.xs-row > span { height: var(--rh); }
.c1 { width: var(--c1); justify-content: center; color: #6B5F57; }
.c2 { width: var(--c2); }
.c3 { width: var(--c3); position: relative; padding: 0 !important; }
.c4 { width: var(--c4); }
.c3 > em, .c3 > i { position: absolute; inset: 0; display: flex; align-items: center; font-style: normal; }
.c3 > em { padding: 0 10px; }
.c3 > i { display: grid; grid-template-columns: repeat(3, 1fr); }
.c3 > i > b { display: flex; align-items: center; justify-content: center; border-left: 1px solid #E2DAD4; font-weight: 700; color: #9A8F88; }
.c3 > i > b:first-child { border-left: 0; }
.c3 > i > b.y { color: var(--red); }
.xs-head .c3 > i > b { color: #FFFFFF; font-size: 13px; line-height: 1.15; text-align: center; padding: 0 4px; border-color: #3B2B1B; white-space: normal; }
.xs-head .c3 > em { padding: 0 10px; }
.c3 > em.dep { opacity: 0; }
.xs-row.dimr { opacity: .3; }
.sh { display: none; }
.xs-row.tgt .c2 { font-weight: 700; }
.c2 .lkb { overflow: hidden; text-overflow: ellipsis; }
.xs-row .num { font-weight: 700; font-size: 14px; }
.xs-tabs { position: relative; }
.scr { position: absolute; left: 0; right: 0; top: 38px; bottom: 36px; background: #FFFFFF; opacity: 0; }
.scr .xs-head > span:nth-child(2) { width: 260px; }
.scr .xs-head > span:nth-child(3) { width: 330px; }
.scr .xs-head > span:nth-child(4) { flex: 1 1 auto; border-right: 0; }
.scr .sr { display: flex; height: var(--rh); border-bottom: 1px solid #E2DAD4; font-size: 15px; }
.scr .sr > span { flex: none; display: flex; align-items: center; padding: 0 10px; border-right: 1px solid #E2DAD4; white-space: nowrap; overflow: hidden; }
.scr .sr > span:nth-child(1) { width: var(--c0); background: #F3EFEB; color: #6B5F57; font: 700 12px var(--mono); justify-content: center; }
.scr .sr > span:nth-child(2) { width: 260px; }
.scr .sr > span:nth-child(3) { width: 330px; }
.scr .sr > span:nth-child(4) { flex: 1 1 auto; border-right: 0; }
.st-sort .tabs2 span.on2 { background: #FFFFFF; color: var(--deep); font-weight: 700; border-bottom: 3px solid var(--red); }

/* 08 timeline */
.tline { position: relative; width: 760px; height: 220px; }
.tl-rail { position: absolute; left: 30px; right: 30px; top: 70px; height: 4px; background: rgba(255,255,255,.16); }
.tl-fill { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; }
.tl-pt { position: absolute; top: 56px; display: flex; flex-direction: column; gap: 8px; }
.tl-pt i { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 4px solid var(--red); }
.tl-pt .mono { margin-top: 18px; font-size: 14px; color: var(--warm); }
.tl-pt b { font-size: 34px; letter-spacing: -.02em; }
.tl-pt.p1 { left: 14px; }
.tl-pt.p2 { right: 14px; align-items: flex-end; text-align: right; }

/* 09 case */
.case { display: grid; grid-template-columns: 560px 380px; gap: 60px; align-items: start; width: 1000px; max-width: 100%; }
.cs-left { display: flex; flex-direction: column; gap: 26px; }
.founder { display: flex; align-items: center; gap: 14px; height: 44px; }
.founder .eb { color: var(--warm); font-size: 13px; }
.fdot { width: 28px; height: 28px; border-radius: 50%; background: var(--red); }
.dev { width: 26px; height: 26px; background: var(--white); margin-left: 34px; }
.adv { background: var(--red); color: var(--white) !important; padding: 7px 10px; font-size: 12px !important; margin-left: 10px; }
.field2 { height: 230px; background-image: radial-gradient(circle, rgba(219,192,183,.55) 1.6px, transparent 2px); background-size: 12px 12px; border: 1px solid rgba(255,255,255,.08); }
.docs { position: relative; display: flex; gap: 22px; flex-wrap: wrap; }
.doc { width: 250px; background: #F5EDE9; color: #221A14; padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; border-top: 3px solid #CFC3BB; }
.doc .mono { font-size: 11px; color: var(--deep); font-weight: 700; }
.doc .sk { background: #DCCFC7; height: 6px; margin-top: 8px; }
.doc .hl { margin-top: 10px; font-size: 11px; background: rgba(226,69,60,.2); border: 1px solid var(--red); padding: 5px 6px; color: #221A14; }
.noli { font-size: 13px; color: var(--red); font-weight: 700; flex: 1 1 100%; }
.dots102 { display: grid; grid-template-columns: repeat(17, 20px); gap: 14px 12px; }
.dots102 i { width: 18px; height: 18px; border-radius: 50%; background: var(--white); position: relative; }
.dots102 i.rp { background: var(--red); }
.dots102 .ring { position: absolute; inset: -5px; border: 2px solid var(--red); border-radius: 50%; }
.dept svg { width: 220px; height: auto; display: block; }
.counter { display: flex; flex-direction: column; gap: 22px; }
.cn { display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--red); padding-top: 12px; }
.cn b { font-size: 84px; line-height: .95; letter-spacing: -.04em; color: var(--red); }
.cn .eb { color: var(--warm); font-size: 14px; line-height: 1.4; }

/* 10 directions */
.dirs { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 34px; width: 1100px; max-width: 100%; }
.dcard { width: 320px; display: flex; flex-direction: column; gap: 10px; }
.dtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dname { font-size: 24px; letter-spacing: -.01em; background: #120C06; border: 2px solid transparent; padding: 6px 12px; white-space: nowrap; }
.dcard .mono { font-size: 12px; color: var(--red); white-space: nowrap; }
.dcard .xw { border-radius: 7px; }
.dcard .xbar { height: 28px; line-height: 28px; font-size: 11px; padding-left: 52px; }
.dcard .xbar .dt { top: 9px; width: 9px; height: 9px; }
.dcard .xbar .dt:nth-child(1) { left: 10px; } .dcard .xbar .dt:nth-child(2) { left: 23px; } .dcard .xbar .dt:nth-child(3) { left: 36px; }
.dg { display: grid; grid-template-columns: 1.2fr 1fr 1fr .7fr; }
.dg span { border-right: 1px solid #E2DAD4; border-bottom: 1px solid #E2DAD4; height: 22px; display: flex; align-items: center; padding: 0 6px; min-width: 0; }
.dg span.h { background: #1F1509; color: #FFF; font-size: 10px; font-weight: 700; border-color: #3B2B1B; white-space: nowrap; overflow: hidden; }
.dcard .xtabs { height: 24px; line-height: 24px; font-size: 10px; }
.dcard .xtabs span { height: 22px; padding: 0 8px; }
.dcard.hires .dname { border-color: var(--red); }

/* 11 finale */
.wm { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 30px 0; }
.iris { position: absolute; left: 50%; top: 42%; width: 400px; height: 400px; margin: -200px 0 0 -200px; overflow: visible; pointer-events: none; }
.word { font-size: clamp(64px, 12vw, 190px); line-height: .9; letter-spacing: -.02em; white-space: nowrap; }
.word span { display: inline-block; }
.word .per { color: var(--red); }
.tag { font-size: clamp(16px, 2.2vw, 30px); color: var(--warm); letter-spacing: -.01em; text-align: center; }

/* ---------------------------------------------------------------- form + footer */
.ask { border-top: 1px solid rgba(226,69,60,.25); }
.ask .wrap { padding-top: clamp(60px, 8vw, 124px); padding-bottom: clamp(60px, 8vw, 124px); display: flex; flex-direction: column; gap: clamp(28px, 3.8vw, 48px); }
.h2 { font-family: var(--sg); font-weight: 700; font-variation-settings: "wdth" 100; text-transform: uppercase; letter-spacing: -.035em; line-height: 1; font-size: clamp(28px, 3.8vw, 52px); margin: 16px 0; max-width: 22ch; }
.ask-p { font-size: 16px; line-height: 1.65; margin: 0 0 12px; max-width: 64ch; }
.ask-s { font-size: 12.5px; line-height: 1.6; color: var(--warm); margin: 0; max-width: 64ch; }
.card-shell { position: relative; clip-path: var(--ds-card-clip); background: var(--ds-card-stroke); }
.card-body { position: relative; margin: 1px; clip-path: var(--ds-card-clip); background: rgba(46,26,14,.96); }
.form { padding: clamp(20px, 3vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px clamp(16px, 2vw, 28px); align-items: start; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font: 700 12px/1.3 var(--ui); letter-spacing: .5px; text-transform: uppercase; color: var(--warm); }
.field input[type="text"], .field input[type="email"] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(226,69,60,.35); border-radius: 0; background: rgba(31,21,9,.55); color: var(--white); font-size: 16px; }
.field textarea { width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid rgba(226,69,60,.35); border-radius: 0; background: rgba(31,21,9,.55); color: var(--white); font-size: 16px; line-height: 1.6; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field .ferr { font-size: 12px; color: var(--red); display: none; }
.field.err .ferr { display: block; }
.field input[type="file"] { width: 100%; min-height: 48px; padding: 12px; border: 1px dashed var(--ds-card-stroke); background: transparent; color: var(--warm); font-size: 13px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.fmsg { padding: 14px 16px; font-size: 14px; line-height: 1.6; }
.fmsg.ok { border: 1px solid var(--ds-card-stroke); border-left: 2px solid var(--red); color: var(--white); }
.fmsg.bad { border: 1px solid var(--red); color: var(--red); }
.foot { border-top: 1px solid rgba(226,69,60,.25); }
.foot .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: 12.5px; line-height: 1.6; color: var(--warm); }
.foot-l { display: flex; gap: 18px; }
.foot-l a { font: 700 11px/1.3 var(--ui); letter-spacing: .5px; text-transform: uppercase; }

/* ---------------------------------------------------------------- static mode on small screens */
@media (max-width: 899.98px) {
  .xl-wide { display: none; }
  .xl-card { display: block; width: 100%; max-width: 440px; margin: 0 auto; }
  .chain { width: 360px; }
  .draft { width: 358px; height: 300px; }
  .drow { margin: 0 14px; gap: 10px; }
  .drow .eb { width: 56px; }
  .names { font-size: 15px; }
  .dbody { height: 120px; }
  .dbody .q.big { font-size: 90px; }
  .islands { grid-template-columns: repeat(2, 170px); gap: 22px 16px; }
  .ilab { font-size: 15px; padding: 6px 10px; white-space: normal; text-align: center; }
  .icards { width: 150px; height: 86px; }
  .ic { width: 62px; height: 82px; padding: 18px 7px 7px; }
  .ic:nth-child(2) { left: 44px; } .ic:nth-child(3) { left: 88px; }
  .cal { width: 340px; padding: 16px 18px 22px; }
  .wk { font-size: 28px; height: 38px; }
  .days { gap: 6px; } .days i { height: 28px; }
  .stamp { right: -6px; bottom: -14px; font-size: 12px; }
  .db { width: 358px; }
  .dbt { padding: 4px 14px 12px; }
  .dbh, .dbr { grid-template-columns: .8fr 1.1fr 1.3fr; gap: 10px; }
  .hm { display: none; }
  .dbr { font-size: 15px; min-height: 60px; padding: 12px 0; }
  .dbr .mono { font-size: 12px; word-break: break-all; }
  .duo { flex-direction: column; gap: 18px; }
  .dm, .em { width: 358px; }
  .bub { margin: 12px 14px 0 60px; padding-bottom: 10px; }
  .bub + .bub { margin-top: 26px; }
  .rtxt { font-size: 18px; }
  .emto .mono { font-size: 14px; }
  .vennwrap { width: 358px; gap: 16px; }
  .venn { width: 358px; }
  .mrow { grid-template-columns: 1fr; }
  .mh { display: none; }
  .md > span { min-height: 0; border-right: 0; font-size: 15px; }
  .ms { display: none; }
  .qgrid { grid-template-columns: minmax(0, 1fr); width: 358px; gap: 16px; }
  .qcard blockquote { font-size: 16px; }
  .stack { --sw: 300px; }
  .gf { right: 10px; top: 10px; gap: 6px; }
  .sheet .mono { font-size: 10px; }
  .xsort { width: 354px; --rh: 40px; --c0: 24px; --c1: 26px; --c2: 118px; --c3: 126px; --c4: 56px; font-size: 13px; }
  .xsort .xs-row { font-size: 13px; }
  .xsort .xs-head > span { font-size: 12px; height: 42px; padding: 0 6px; }
  .xs-row > span { padding: 0 6px; }
  .c4 .sbar { display: none; }
  .scr .xs-head > span:nth-child(2), .scr .sr > span:nth-child(2) { width: 140px; }
  .scr .xs-head > span:nth-child(3), .scr .sr > span:nth-child(3) { width: 180px; white-space: normal; line-height: 1.15; }
  .scr .xs-head > span:nth-child(4), .scr .sr > span:nth-child(4) { display: none; }
  .scr .sr { font-size: 12px; }
  .tline { width: 358px; height: 240px; }
  .tl-pt b { font-size: 18px; max-width: 140px; line-height: 1.05; }
  .tl-pt .mono { font-size: 12px; }
  .case { grid-template-columns: 1fr; width: 358px; gap: 22px; }
  .counter { flex-direction: row; flex-wrap: wrap; gap: 14px 18px; }
  .cn b { font-size: 34px; }
  .cn .eb { font-size: 11px; }
  .field2 { height: 150px; }
  .doc { width: 168px; }
  .dots102 { grid-template-columns: repeat(17, 12px); gap: 8px 8px; }
  .dots102 i { width: 10px; height: 10px; }
  .dots102 .ring { inset: -4px; }
  .lg { display: none; } .sh { display: inline; }
  .dirs { width: 358px; gap: 16px 12px; }
  .dcard { width: 173px; gap: 6px; }
  .dname { font-size: 13px; padding: 4px 6px; }
  .dcard .mono { display: none; }
  .dcard .xbar { font-size: 8px; padding-left: 40px; height: 22px; line-height: 22px; }
  .dcard .xbar .dt { top: 7px; width: 7px; height: 7px; }
  .dcard .xbar .dt:nth-child(1) { left: 7px; } .dcard .xbar .dt:nth-child(2) { left: 17px; } .dcard .xbar .dt:nth-child(3) { left: 27px; }
  .dg span { height: 15px; padding: 0 3px; }
  .dg span.h { font-size: 7px; }
  .dcard .xtabs { height: 18px; line-height: 18px; font-size: 8px; }
  .dcard .xtabs span { height: 16px; padding: 0 5px; }
  .ctas .btn-ghost { display: none; }
  .eb-note { display: block; margin: 6px 0 0; }
}

/* ================================================================ FLOW LAYOUT (variant A: scroll triggers, time plays)
   The page scrolls normally. Every block = caption + visual. html.pm only adds the timed playback on top. */
.pin { padding: clamp(64px, 9vw, 128px) var(--gut) clamp(24px, 3vw, 48px); gap: 0; }
.hero .pin { padding-bottom: clamp(40px, 5vw, 72px); }
.blk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(36px, 7vh, 88px) 0; }
.head + .blk { padding-top: clamp(24px, 4vh, 48px); }
.blk.wide { grid-template-columns: minmax(0, 1fr); align-items: start; gap: clamp(20px, 2.6vw, 36px); }
.blk .bt { font-size: clamp(22px, 2.5vw, 40px); }
.cap { min-width: 0; }
.bv { min-width: 0; }
html.js .st { align-items: flex-start; }
html.js .fit { flex: none; max-width: none; transform-origin: 50% 0; }

/* stepper (investors) */
.steps .beat { position: relative; padding-left: 20px; }
.steps .beat::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; background: rgba(219,192,183,.25); }
.dots { display: none; }
html.pm .steps .beat { cursor: pointer; opacity: .42; transition: opacity .45s ease; }
html.pm .steps .beat:hover { opacity: .7; }
html.pm .steps .beat.on { opacity: 1; }
html.pm .steps .beat.on::before { background: var(--red); }
html.pm .dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.dot { position: relative; width: 52px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.dot i { position: relative; display: block; width: 100%; height: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
.dot i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.dot:hover i { background: rgba(255,255,255,.34); }

/* quotes: each card under its own line */
.qgrid { align-items: stretch; }
.qitem { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.qitem .qcard { flex: 1 1 auto; }
.qbeat .bt { font-size: clamp(18px, 1.7vw, 26px); }

/* the file: mini player */
.player .bv { display: flex; flex-direction: column; }
.ptabs, .replay { display: none; }
.pbot { order: -1; margin-bottom: 24px; }
html.pm .pbot { order: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 20px 0 0; }
html.pm .ptabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
html.pm .ptabs::-webkit-scrollbar { display: none; }
.ptab { position: relative; flex: none; overflow: hidden; background: transparent; border: 1px solid rgba(219,192,183,.32); color: var(--warm); font: 700 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; padding: 11px 13px 12px; cursor: pointer; transition: color .25s, border-color .25s, background-color .25s; }
.ptab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.ptab:hover { color: var(--white); }
.ptab.on { color: var(--white); border-color: var(--red); background: rgba(226,69,60,.14); }
.ptab.done { color: var(--white); }
html.pm .pcap { position: relative; flex: 1 1 auto; min-width: 0; height: var(--caph, 120px); }
html.pm .pcap .beat { position: absolute; left: 0; right: 0; top: 0; margin: 0; opacity: 0; visibility: hidden; }
html.pm .pcap .beat.on { opacity: 1; visibility: visible; }
html.pm .pcap .beat.on, html.pm .steps .beat.on { transition: opacity .35s ease; } /* outgoing caption leaves at once, no overlap */
.pcap .bt { font-size: clamp(20px, 2.2vw, 34px); }
html.pm .replay { display: inline-flex; flex: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--red); color: var(--red); font: 700 12px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; padding: 11px 14px; cursor: pointer; transition: background-color .2s, color .2s; }
html.pm .replay:hover { background: var(--red); color: var(--bg); }
html.pm .xwide { height: clamp(440px, 60vh, 600px); }
html.pm .skl { display: block; }
html.pm .xl-card .xcard { height: 470px; }

/* case */
.cvis { width: 560px; display: flex; flex-direction: column; gap: 24px; }
.cnrow { display: flex; gap: 28px; }
.cnrow .cn { flex: 1 1 0; min-width: 0; }
.c4row { display: flex; gap: 32px; align-items: flex-start; }
.c4row .cn { flex: 1 1 auto; }
.cvis .docs { padding-bottom: 4px; }

/* directions, finale */
.dcap .beat + .beat { margin-top: 18px; }
.fcap { text-align: center; }
.fcap .bt, .fcap .bs { margin-left: auto; margin-right: auto; }
.finale .blk { padding-bottom: clamp(48px, 8vh, 96px); }

/* hero + scroll hint */
html.pm .hero .pin { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 4vw, 64px); min-height: 100vh; min-height: 100svh; padding-bottom: 80px; }
html.pm .hero-vis { height: min(560px, 72vh); }
html.pm .hchip, html.pm .vf { opacity: 0; }
html.pm .scroll-hint { display: flex; position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 8px; pointer-events: none; transition: opacity .4s ease; }
html.pm .scroll-hint.gone { opacity: 0; }
html.pm .scroll-hint .mono { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--warm); }
html.pm .scroll-hint i { position: relative; width: 2px; height: 30px; background: rgba(219,192,183,.2); overflow: hidden; }
html.pm .scroll-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--red); animation: hintdrop 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes hintdrop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
html.pm .qcard mark { background: transparent; color: inherit; }
html.pm .wm .word span, html.pm .wm .tag { will-change: transform, opacity; }

@media (max-width: 899.98px) {
  .blk { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 32px 0; }
  .blk .bt { font-size: clamp(21px, 6vw, 26px); }
  .blk .bs { font-size: 16px; margin-top: 8px; }
  .beat + .beat { margin-top: 18px; }
  .stepper .bv { order: -1; }
  .steps .beat + .beat { margin-top: 14px; }
  .qbeat .bt { font-size: 19px; }
  .pcap .bt { font-size: 20px; }
  html.pm .pbot { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 14px; }
  html.pm .replay { align-self: flex-start; }
  html.pm .hero .pin { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 56px; }
  html.pm .hero-vis { height: 320px; --tx: .1; --ty: .2; margin-top: 18px; }
  html.pm .h1 { font-size: clamp(28px, 8.4vw, 36px); margin-top: 12px; }
  html.pm .lead { font-size: 17px; margin-top: 12px; }
  html.pm .ctas { margin-top: 16px; }
  html.pm .hchip { padding: 8px 12px 9px; }
  html.pm .hchip b { font-size: 14px; }
  html.pm .hchip b.mail { font-size: 12px; }
  html.pm .hc-mail { padding-right: 38px; top: calc(var(--ty) * 100% + 50px); }
  html.pm .hc-why { top: calc(var(--ty) * 100% + 116px); }
  html.pm .scroll-hint { bottom: 12px; }
  .cvis { width: 358px; gap: 18px; }
  .cnrow { gap: 14px; }
  .cn b { font-size: 34px; }
  .c4row { gap: 16px; }
  .c4row .dept svg { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ================================================================ STATIC MODE (reduced motion / no JS)
   transitional-only pieces of a scene are hidden so nothing overlaps when every step is shown at once */
html:not(.pm) .chain .t-same, html:not(.pm) .chain .n-comp, html:not(.pm) .chain .x-comp, html:not(.pm) .chain .l-comp,
html:not(.pm) .chain .plate, html:not(.pm) .chain .env { display: none; }
html:not(.pm) .xgrid .pop, html:not(.pm) .xwide .compose, html:not(.pm) .xcard .compose { display: none; }
html:not(.pm) .xclip { overflow: auto; }
html:not(.pm) .scr { display: none; }
html:not(.pm) .names span:not(:first-child) { display: none; }

/* full-width rows: visual on top, captions side by side right under it (chains keep their labels legible) */
.blk.row { gap: clamp(14px, 1.8vw, 26px); }
.blk.row .bv { order: -1; }
.blk.row .cap { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); align-items: start; }
.blk.row .cap .beat + .beat { margin-top: 0; }
@media (min-width: 900px) { .blk.row .cap { width: 100%; max-width: 1080px; margin: 0 auto; text-align: center; } .stepper.blk.row .cap { max-width: none; } .blk.row .cap .bs { margin-left: auto; margin-right: auto; } }
.blk.row .bt { font-size: clamp(20px, 1.9vw, 28px); }
.blk.row .bs { font-size: clamp(15px, 1.2vw, 18px); }
.steps .beat { padding-left: 0; }
.steps .beat::before { display: none; }
@media (max-width: 899.98px) {
  .blk.row .cap { grid-template-columns: minmax(0, 1fr); }
  .blk.row .cap .beat + .beat { margin-top: 14px; }
  .blk.row:not(.stepper) .bv { order: 0; }
  .blk.row .bt { font-size: clamp(20px, 5.6vw, 24px); }
  .steps .beat { padding-left: 16px; }
  .steps .beat::before { display: block; }
  /* phone: only the current step's caption, under the dots (the whole stepper fits one screen) */
  html.pm .steps { position: relative; height: var(--caph, 140px); }
  html.pm .steps .beat { position: absolute; left: 0; right: 0; top: 0; margin: 0; opacity: 0; visibility: hidden; transition: none; }
  html.pm .steps .beat.on { opacity: 1; visibility: visible; }
  html.pm .stepper { gap: 14px; }
}

/* investors stepper, step 5 (no broker) */
.bs em { font-style: normal; color: var(--red); }
.stepper .bt { font-size: clamp(18px, 1.55vw, 24px); }
html:not(.pm) .chain[data-chain="investors"] .detour, html:not(.pm) .chain[data-chain="investors"] .n-broker,
html:not(.pm) .chain[data-chain="investors"] .x-broker, html:not(.pm) .chain[data-chain="investors"] .t-pct { display: none; }
html:not(.pm) .chain[data-chain="investors"] .plate { display: inline; }
@media (max-width: 899.98px) { .stepper .bt { font-size: clamp(20px, 5.6vw, 24px); } }

/* case, block 4: a clinic department testing his device, then the founder joins MAPPED as an advisor */
.dev + .eb { margin-left: -4px; }
.c4vis { gap: 26px; }
.c4a { display: flex; align-items: center; gap: 14px; }
.c4dev { flex: none; width: 110px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.c4dev .eb, .ward .wl { color: var(--warm); font-size: 12px; }
.c4arrow { flex: none; width: 48px; height: 16px; }
.ward { flex: 1 1 auto; min-width: 0; border: 3px solid var(--red); padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.wg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wc { position: relative; height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px solid rgba(226,69,60,.9); background: rgba(226,69,60,.22); color: var(--white); }
.wc b { font-size: 11px; color: var(--white); letter-spacing: .06em; }
.c4t { display: flex; align-items: center; gap: 12px; }
.c4t .mono { font-size: 13px; color: var(--warm); white-space: nowrap; }
.c4t .c4end { color: var(--white); font-weight: 700; }
.c4rail { position: relative; flex: 1 1 auto; height: 4px; background: rgba(255,255,255,.16); }
.c4fill { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; }
.c4b { display: flex; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; }
.c4f { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.c4f .eb { color: var(--warm); font-size: 12px; }
.c4link { position: relative; flex: 1 1 auto; height: 60px; display: flex; align-items: center; justify-content: center; }
.c4line { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--red); transform-origin: 0 50%; }
.c4link .adv { position: relative; margin: 0; }
.c4m { flex: none; font-size: 26px; letter-spacing: -.02em; color: var(--white); border: 2px solid var(--red); padding: 10px 14px; line-height: 1; }
.c4m .r { color: var(--red); }
@media (max-width: 899.98px) {
  .c4vis { gap: 18px; }
  .c4a { gap: 8px; }
  .c4dev { width: 64px; }
  .c4dev svg { width: 44px; height: 44px; }
  .c4dev .eb, .ward .wl, .c4f .eb { font-size: 10px; }
  .c4arrow { width: 28px; }
  .ward { padding: 8px; gap: 8px; border-width: 2px; }
  .wg { gap: 5px; }
  .wc { height: 54px; }
  .wc svg { width: 16px; height: 16px; }
  .wc b { font-size: 9px; }
  .c4t .mono { font-size: 11px; }
  .c4m { font-size: 17px; padding: 8px 9px; }
  .c4link .adv { font-size: 10px !important; padding: 5px 7px; }
}
