/* Northern California Vasectomy · Brandcore web proposal (deck-18767)
   Fluid tokens: body 16px floor, ~18-22px at 1600, ~20-24px toward 2100; labels 13px floor, ~15px at 1600.
   Dark and paper slides alternate. Gold is the only accent; red is severity only. */

@font-face { font-family: 'Geist'; src: url('assets/fonts/geist-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('assets/fonts/instrument-serif-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('assets/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('assets/fonts/jetbrains-mono-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #070605;
  --ink-2: #14120E;
  --bone: #F1ECE1;
  --bone-2: #E7DFD0;
  --gold: #D8A84E;
  --gold-hi: #F0C36A;
  --gold-deep: #8A5A12;
  --red: #9E1B1F;
  --muted-dark: #B4AB9B;
  --muted-paper: #4A4438;
  --line-dark: rgba(216, 168, 78, 0.3);
  --line-paper: rgba(20, 18, 14, 0.18);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  --fs-body: clamp(16px, 0.6rem + 0.6vw, 24px);
  --fs-lede: clamp(18px, 0.75rem + 0.62vw, 27px);
  --fs-label: clamp(13px, 0.55rem + 0.4vw, 18px);
  --fs-h2: clamp(40px, 3.6vw + 0.8rem, 64px);
  --fs-card-h: clamp(22px, 0.9rem + 0.9vw, 34px);
  --fs-cover: clamp(48px, 5vw, 104px);
  --pad-x: clamp(20px, 3.6vw, 64px);
  --pad-y: clamp(16px, 3vh, 36px);
  --chrome-h: 64px;
  --bottom-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  background: var(--ink);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-theme="paper"] { background: var(--bone); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, select { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ico { display: inline-block; flex: none; vertical-align: -0.125em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.02em; line-height: 1.45; }
.kicker { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; margin: 0; color: var(--gold); }
.muted { color: var(--muted-dark); }
.gold-text { color: var(--gold); }
.fine { margin: 0; font-size: var(--fs-label); }

/* ---------- Deck shell ---------- */
.deck { position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.slide {
  position: absolute; inset: 0; height: 100vh; height: 100dvh;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  -webkit-overflow-scrolling: touch;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide[data-theme="dark"] { background: var(--ink); color: var(--bone); }
.slide[data-theme="paper"] { background: var(--bone); color: var(--ink); }
.slide-scroll {
  min-height: 100%;
  display: flex; flex-direction: column;
  padding: calc(var(--chrome-h) + var(--pad-y)) var(--pad-x) calc(var(--bottom-h) + var(--pad-y));
}
.wrap { width: 100%; max-width: 1760px; margin: 0 auto; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2.4vh, 30px); }
.wrap.two-col { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(24px, 3vw, 56px); align-items: start; justify-content: stretch; }

.h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; margin: 0; text-wrap: balance; }
.h2 em, .cover-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--gold); }
.slide[data-theme="paper"] .h2 em, .slide[data-theme="paper"] .cover-title em { color: var(--gold-deep); }
.lede { font-size: var(--fs-lede); line-height: 1.45; margin: 0; max-width: 62ch; }
.lede-narrow { max-width: 58ch; }
.body { font-size: var(--fs-body); line-height: 1.55; margin: 0; max-width: 62ch; }
h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }
.slide[data-theme="paper"] .fine { color: var(--muted-paper); }
.slide[data-theme="dark"] .fine { color: var(--muted-dark); }

/* ---------- Chrome ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 31; background: rgba(216, 168, 78, 0.16); }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.5s ease; }
.chrome {
  position: fixed; top: 0; left: 0; right: 0; height: var(--chrome-h); z-index: 30;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 0 var(--pad-x);
  background: var(--ink); color: var(--bone);
  border-bottom: 1px solid rgba(216, 168, 78, 0.2);
}
body[data-theme="paper"] .chrome { background: var(--bone); color: var(--ink); border-bottom-color: var(--line-paper); }
.chrome-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 22px; width: auto; }
.client-name { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-label { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); white-space: nowrap; }
body[data-theme="paper"] .chrome-label { color: var(--gold-deep); }
.chrome-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.counter { font-family: var(--mono); font-size: var(--fs-label); white-space: nowrap; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit;
  font-size: var(--fs-label); font-weight: 600; cursor: pointer;
}

.bottom {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--bottom-h); z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--pad-x);
  background: var(--ink); color: var(--bone); border-top: 1px solid rgba(216, 168, 78, 0.2);
}
body[data-theme="paper"] .bottom { background: var(--bone); color: var(--ink); border-top-color: var(--line-paper); }
.bottom-note { color: var(--muted-dark); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-theme="paper"] .bottom-note { color: var(--muted-paper); }
.bottom-nav { display: flex; gap: 10px; margin-left: auto; }
.nav-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit;
  display: grid; place-items: center; cursor: pointer; font-size: 20px;
}
.nav-btn:disabled { opacity: 0.35; cursor: default; }

.rail {
  position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 25;
  display: flex; flex-direction: column; gap: 6px; color: var(--bone);
}
body[data-theme="paper"] .rail { color: var(--ink); }
.rail button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: inherit; }
.rail button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.35; transition: transform 0.25s, opacity 0.25s; }
.rail button[aria-current="true"]::before { opacity: 1; background: var(--gold); transform: scale(1.7); }

/* ---------- 01 Cover ---------- */
.cover-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 64px); align-items: center; flex: 1 0 auto; }
.cover-copy { display: flex; flex-direction: column; gap: clamp(12px, 2vh, 22px); min-width: 0; }
.cobrand { display: flex; align-items: center; gap: 0.6em; flex-wrap: wrap; }
.cobrand-logo { height: 26px; width: auto; }
.cobrand-client { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--bone); }
.cover-title { font-size: var(--fs-cover); line-height: 0.92; letter-spacing: -0.055em; font-weight: 600; margin: 0; text-wrap: balance; }
.cover .lede { color: var(--bone); opacity: 0.94; }
.ticker { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticker li { font-family: var(--mono); font-size: var(--fs-label); padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--bone); }
.prepared { font-size: var(--fs-body); line-height: 1.5; }
.prepared .muted { font-size: var(--fs-label); font-family: var(--mono); }
.scroll-cue { display: flex; align-items: center; gap: 0.5em; color: var(--gold); margin-top: 4px; }
.cover-stage { position: relative; width: 100%; height: clamp(340px, calc(100dvh - 220px), 760px); min-width: 0; }
.stage-beam {
  position: absolute; left: 50%; top: -8%; width: 46%; height: 116%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 195, 106, 0) 0%, rgba(240, 195, 106, 0.18) 38%, rgba(240, 195, 106, 0.06) 78%, rgba(240, 195, 106, 0) 100%);
  filter: blur(12px);
}
.cover-stage::after {
  content: ''; position: absolute; inset: -6% -10%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(216, 168, 78, 0.2), transparent 72%);
}
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.plate-static {
  position: relative; width: min(100%, 720px); padding: 14px; border-radius: 22px;
  background: linear-gradient(145deg, #F0C36A 0%, #8A5A12 38%, #D8A84E 58%, #6B4700 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.plate-static img { width: 100%; height: auto; border-radius: 12px; }
#coverCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; z-index: 2; }
.cover-stage.is-webgl #coverCanvas { display: block; }
.cover-stage.is-webgl .cover-fallback { display: none; }

/* ---------- 02 Audit ---------- */
.audit-lead { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); min-width: 0; }
.figure-table { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.figure-table img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line-paper); background: #fff; }
.figure-table figcaption { font-size: var(--fs-label); color: var(--muted-paper); }
.findings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); min-width: 0; }
.finding {
  display: flex; flex-direction: column; gap: 8px; padding: clamp(16px, 1.6vw, 24px);
  background: rgba(255, 255, 255, 0.42); border: 1px solid var(--line-paper); border-top: 3px solid var(--gold-deep);
}
.finding.is-high { border-top-color: var(--red); }
.sev { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; margin: 0; color: var(--gold-deep); }
.finding.is-high .sev { color: var(--red); }
.finding h3 { font-size: clamp(19px, 0.7rem + 0.55vw, 25px); line-height: 1.2; letter-spacing: -0.02em; }
.evidence { font-size: clamp(16px, 0.7rem + 0.5vw, 20px); line-height: 1.5; color: var(--ink); }
.src { margin-top: auto; color: var(--gold-deep); font-size: var(--fs-label); }

/* ---------- 03 Gap ---------- */
.gap { gap: clamp(18px, 2.6vh, 30px); }
.path { display: grid; gap: clamp(12px, 1.6vh, 18px); }
.path-row { padding: clamp(16px, 2vw, 26px); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.02); }
.path-row.is-today { border-left: 4px solid var(--red); }
.path-row.is-proposed { border-left: 4px solid var(--gold); }
.path-tag { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; color: var(--gold); }
.path-row.is-today .path-tag { color: #E06A6C; }
.path-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.path-steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path-steps li { display: flex; flex-direction: column; gap: 8px; font-size: clamp(16px, 0.7rem + 0.45vw, 20px); line-height: 1.4; }
.step-n { font-family: var(--mono); font-size: var(--fs-label); color: var(--gold); }
.observed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.stat { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line-dark); min-width: 0; }
.stat-n { font-size: clamp(40px, 2.4vw + 0.9rem, 66px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--gold); }
.stat-l { font-size: clamp(15px, 0.5rem + 0.4vw, 18px); line-height: 1.4; color: var(--bone); }

/* ---------- 04 Concept (mockup) ---------- */
.mock-stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(230px, 19vw, 300px);
  gap: clamp(18px, 2.4vw, 40px); align-items: start;
  padding: clamp(18px, 2.6vw, 44px); border-radius: 22px;
  background:
    radial-gradient(70% 60% at 28% 8%, rgba(216, 168, 78, 0.22), transparent 62%),
    radial-gradient(60% 60% at 92% 94%, rgba(216, 168, 78, 0.14), transparent 60%),
    linear-gradient(180deg, #17150F 0%, #070605 100%);
  box-shadow: inset 0 0 0 1px rgba(216, 168, 78, 0.24), 0 40px 90px rgba(0, 0, 0, 0.55);
}
.browser { background: #F7F4EC; color: #0F1B2A; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #E6E0D2; }
.dots { display: inline-flex; gap: 6px; }
.dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #B8AF9C; }
.url { color: #3D4650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-tabs { display: flex; background: #0F1B2A; }
.browser-tabs button {
  flex: 1 1 0; min-width: 0; min-height: 52px; padding: 10px 8px; border: 0; cursor: pointer;
  background: transparent; color: #E9E2D0; font-size: clamp(15px, 0.5rem + 0.3vw, 18px); font-weight: 600;
}
.browser-tabs button[aria-selected="true"] { background: #F7F4EC; color: #0F1B2A; }
.browser-body { padding: clamp(14px, 1.6vw, 24px); min-height: 440px; }
.tabpanel[hidden] { display: none; }
.hero-photo { height: clamp(170px, 24vh, 260px); border-radius: 12px; overflow: hidden; background: #d8d2c4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; }
.hero-copy { margin-top: 14px; }
.ui-kicker { font-family: var(--mono); font-size: var(--fs-label); color: #7A5210; margin: 0 0 6px; }
.ui-h { font-size: clamp(20px, 0.8rem + 0.7vw, 30px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 8px; color: #0F1B2A; }
.ui-p { font-size: clamp(16px, 0.6rem + 0.3vw, 19px); line-height: 1.5; margin: 0 0 8px; color: #1E2A38; }
.ui-note { font-size: clamp(14px, 0.5rem + 0.2vw, 16px); color: #4A4438; }
.ui-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border: 0; border-radius: 999px; cursor: pointer; font-size: clamp(15px, 0.5rem + 0.3vw, 17px); font-weight: 600;
  background: linear-gradient(180deg, #F0C36A, #D8A84E); color: #14120E;
}
.btn-gold:disabled { opacity: 0.45; cursor: default; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px;
  border: 1px solid #0F1B2A; border-radius: 999px; cursor: pointer; background: transparent; color: #0F1B2A;
  font-size: clamp(15px, 0.5rem + 0.3vw, 17px); font-weight: 600;
}
.ui-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.ui-card {
  text-align: left; display: flex; flex-direction: column; gap: 6px; min-height: 96px; padding: 12px 14px; cursor: pointer;
  background: #FFFFFF; color: #0F1B2A; border: 1px solid #D9D2C2; border-radius: 12px;
}
.ui-card .label { color: #6B4700; }
.ui-card .ui-p { margin: 0; font-size: clamp(15px, 0.5rem + 0.25vw, 17px); }
.proc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.proc-photo { margin: 0; }
.proc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #fff; }
.proc-text { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.clinic-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.clinic-list { display: grid; gap: 10px; }
.clinic-btn {
  text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px;
  background: #FFFFFF; color: #0F1B2A; border: 1px solid #CFC6B3; border-radius: 12px; cursor: pointer;
  font-size: clamp(16px, 0.6rem + 0.3vw, 19px); font-weight: 600;
}
.clinic-btn .label { color: #6B4700; font-size: clamp(13px, 0.4rem + 0.2vw, 15px); font-weight: 400; }
.clinic-btn[aria-pressed="true"] { background: #FFF8E8; border-color: #B98A2E; box-shadow: inset 0 0 0 2px #D8A84E; }
.clinic-detail { background: #FFFFFF; border: 1px solid #D9D2C2; border-radius: 12px; padding: 18px; }
.consult { display: grid; gap: 14px; }
.consult-pick { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; }
.consult-pick .ui-note { grid-column: 1 / -1; margin: 0; }
.ui-select {
  min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid #B9B09C; background: #fff; color: #0F1B2A;
  font-size: clamp(16px, 0.5rem + 0.25vw, 18px); font-weight: 600;
}
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.day { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #FFFFFF; border: 1px solid #D9D2C2; border-radius: 12px; min-width: 0; }
.day-h { font-size: clamp(15px, 0.5rem + 0.25vw, 17px); font-weight: 600; color: #0F1B2A; }
.slot {
  min-height: 46px; padding: 8px 6px; border-radius: 10px; border: 1px solid #B9B09C; background: #FBFAF6; color: #0F1B2A;
  font-size: clamp(14px, 0.5rem + 0.2vw, 16px); font-weight: 600; cursor: pointer;
}
.slot[aria-pressed="true"] { background: #0F1B2A; color: #F7F4EC; border-color: #0F1B2A; }
.consult-detail { display: grid; gap: 10px; justify-items: start; padding: 14px; background: #FFFFFF; border: 1px solid #D9D2C2; border-radius: 12px; }
.consult-detail .ui-note { margin: 0; }
.phone {
  width: 100%; max-width: 300px; aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 40px; background: #0A0A0A;
  box-shadow: inset 0 0 0 2px #2B2B2B, 0 40px 80px rgba(0, 0, 0, 0.6); justify-self: center;
}
.phone-screen { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; overflow: hidden; border-radius: 30px; background: #F7F4EC; color: #0F1B2A; }
.m-bar { display: flex; justify-content: space-between; align-items: center; color: #3D4650; }
.m-photo { width: 100%; height: 150px; object-fit: cover; border-radius: 12px; background: #fff; }
.m-h { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.m-p { font-size: 16px; line-height: 1.45; color: #1E2A38; }
.phone-screen .label { color: #4A4438; }
.m-cta { min-height: 48px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #F0C36A, #D8A84E); color: #14120E; font-size: 16px; font-weight: 600; cursor: pointer; }
.mock-detail { display: none; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.detail-list li { font-size: var(--fs-body); line-height: 1.5; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.detail-list strong { color: var(--gold); font-weight: 600; }

/* ---------- 05 System ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; align-content: start; }
.pillar {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(18px, 2vw, 30px);
  background: rgba(255, 255, 255, 0.36); border: 1px solid var(--line-paper); border-top: 3px solid var(--gold-deep);
}
.pillar h3 { font-size: var(--fs-card-h); line-height: 1.05; }
.pillar > p:not(.deliver) { font-size: clamp(17px, 0.6rem + 0.4vw, 21px); line-height: 1.5; }
.deliver { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-paper); color: var(--gold-deep); font-size: var(--fs-label); }
.pillar-img { display: flex; justify-content: center; }
.pillar-img img { width: 100%; max-width: 260px; height: auto; border-radius: 8px; background: #fff; }

/* ---------- 06 Proof ---------- */
.compare {
  position: relative; height: clamp(440px, 64dvh, 660px); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); touch-action: pan-y; user-select: none; cursor: ew-resize; background: var(--ink-2);
}
.pane { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2.4vw, 36px); }
.pane-before { background: #1A1714; color: #E9E2D0; padding-right: calc(50% + 24px); }
.pane-after { background: #F7F4EC; color: #0F1B2A; clip-path: inset(0 0 0 var(--pos, 50%)); padding-left: calc(50% + 24px); }
.pane-tag { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; color: var(--gold); }
.pane-after .pane-tag { color: #6B4700; }
.replica { display: flex; flex-direction: column; gap: clamp(10px, 1.6vh, 18px); min-height: 0; }
.r-title { font-family: var(--mono); font-size: clamp(14px, 0.5rem + 0.25vw, 17px); line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.r-h1 { font-size: clamp(24px, 1.1rem + 1.1vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
.r-p { font-size: clamp(16px, 0.6rem + 0.4vw, 20px); line-height: 1.5; max-width: 52ch; margin: 0; }
.r-img { width: fit-content; padding: 10px 14px; border: 1px dashed currentColor; opacity: 0.85; margin: 0; }
.r-cta { width: fit-content; margin: 0; padding: 14px 22px; border-radius: 999px; background: linear-gradient(180deg, #F0C36A, #D8A84E); color: #14120E; font-size: 17px; font-weight: 600; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; z-index: 3; }
.handle span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--gold); box-shadow: 0 0 0 6px rgba(216, 168, 78, 0.25);
}
.compare-range { position: absolute; left: 24px; right: 24px; bottom: 10px; width: calc(100% - 48px); height: 30px; z-index: 4; accent-color: #D8A84E; cursor: pointer; }
.proof-notes { display: flex; flex-direction: column; gap: 10px; }

/* ---------- 07 Roadmap ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.phase {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(18px, 2vw, 30px);
  background: rgba(255, 255, 255, 0.36); border: 1px solid var(--line-paper);
}
.phase.is-launch { border-color: var(--gold-deep); box-shadow: inset 0 4px 0 var(--gold-deep); }
.phase-day { font-size: clamp(44px, 2.4vw + 0.9rem, 74px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--gold-deep); margin: 0; }
.phase h3 { font-size: var(--fs-card-h); line-height: 1.1; }
.phase ul { margin: 0; padding-left: 1.15em; font-size: clamp(16px, 0.6rem + 0.35vw, 19px); line-height: 1.5; display: grid; gap: 6px; }
.owner, .need { margin: 0; font-size: var(--fs-label); line-height: 1.45; }
.owner { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-paper); }
.owner span, .need span { display: block; font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); }

/* ---------- 08 Engagement ---------- */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.level {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(18px, 2vw, 30px);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark);
}
.level.is-recommended { border: 2px solid var(--gold); background: rgba(216, 168, 78, 0.08); }
.level-tag { font-family: var(--mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin: 0; }
.level h3 { font-size: var(--fs-card-h); line-height: 1.1; }
.level ul { margin: 0; padding-left: 1.15em; font-size: clamp(16px, 0.6rem + 0.35vw, 19px); line-height: 1.5; display: grid; gap: 8px; color: var(--bone); }
.best { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: var(--fs-label); }

/* ---------- 09 Close ---------- */
.close-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3.4vw, 64px); align-items: center; }
.rep { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.rep-portrait { margin: 0; width: min(100%, clamp(280px, 30vw, 460px)); aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--bone-2); box-shadow: 0 30px 70px rgba(7, 6, 5, 0.3); }
.rep-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rep-name { font-size: clamp(30px, 1.6vw + 0.7rem, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 18px 0 4px; }
.rep-role { margin: 0 0 14px; color: var(--muted-paper); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: clamp(17px, 0.6rem + 0.35vw, 21px); line-height: 1.4; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { color: var(--gold-deep); margin-top: 0.15em; }
.contact-list .label { display: inline-block; min-width: 5.6em; color: var(--muted-paper); }
.contact-list a { text-decoration-color: var(--gold-deep); }
.close-main { display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px); min-width: 0; }
.scheduler { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-items: center; max-width: 660px; margin: 6px 0 4px; }
.scheduler .btn-gold { grid-column: 1 / -1; justify-self: start; }
.scheduler .fine { grid-column: 1 / -1; }
.brand-sign { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line-paper); }
.brand-sign img { height: 36px; width: auto; }
.brand-sign .label { color: var(--muted-paper); }

/* ---------- Index overlay ---------- */
.index-overlay {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; padding: clamp(20px, 4vw, 64px);
  background: rgba(7, 6, 5, 0.97); color: var(--bone);
}
.index-overlay[hidden] { display: none; }
.index-head { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto 24px; }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1400px; margin: 0 auto; }
.index-card {
  text-align: left; display: flex; flex-direction: column; gap: 10px; min-height: 124px; padding: 22px; cursor: pointer;
  background: var(--ink-2); color: var(--bone); border: 1px solid var(--line-dark); border-radius: 14px;
}
.index-card[aria-current="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.index-card .n { font-family: var(--mono); font-size: var(--fs-label); color: var(--gold); }
.index-card .t { font-size: clamp(20px, 0.9rem + 0.9vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }

/* ---------- Transition layers ---------- */
.spread { position: fixed; inset: 0; z-index: 40; pointer-events: none; visibility: hidden; }
.spread.is-on { visibility: visible; }
.spread-l, .spread-r { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, #0B0A08 0%, #14120E 100%); will-change: transform; }
.spread-l { left: 0; transform: translateX(-100%); box-shadow: inset -2px 0 0 var(--gold); }
.spread-r { right: 0; transform: translateX(100%); box-shadow: inset 2px 0 0 var(--gold); }
.seam {
  position: fixed; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; z-index: 41; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, var(--gold-hi) 50%, transparent 100%);
  box-shadow: 0 0 22px 6px rgba(240, 195, 106, 0.45);
}
.flash {
  position: fixed; inset: 0; z-index: 42; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 246, 220, 0.95), rgba(240, 195, 106, 0.42) 35%, transparent 72%);
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .mock-stage { grid-template-columns: minmax(0, 1fr) clamp(210px, 22vw, 270px); }
  .observed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .wrap.two-col, .cover-grid, .close-grid, .clinic-grid, .proc-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars, .phases, .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .findings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-stage { height: clamp(360px, 62dvh, 620px); }
  .cover-grid { gap: 28px; }
  .mock-stage { display: none; }
  .mock-detail { display: block; padding: clamp(16px, 2vw, 28px); border-radius: 18px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); }
  .mock-detail .kicker { margin-bottom: 12px; }
  .path-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-steps.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { display: none; }
}
@media (max-width: 820px) {
  .pillars, .phases, .levels, .findings { grid-template-columns: minmax(0, 1fr); }
  .cover-stage { order: -1; height: clamp(300px, 46dvh, 460px); }
  .cover-copy { order: 0; }
  .chrome-label { display: none; }
  .chrome { grid-template-columns: minmax(0, 1fr) auto; }
  .observed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-steps, .path-steps.three { grid-template-columns: minmax(0, 1fr); }
  .path-steps li { flex-direction: row; gap: 12px; }
  .ui-cards { grid-template-columns: minmax(0, 1fr); }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { height: clamp(560px, 80dvh, 720px); }
}
@media (max-width: 640px) {
  .client-name { display: none; }
  .bottom-note { display: none; }
  .bottom { justify-content: flex-end; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-grid { grid-template-columns: minmax(0, 1fr); }
  .scheduler { grid-template-columns: minmax(0, 1fr); }
  .scheduler label { margin-top: 6px; }
  .ticker li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .progress span { transition: none; }
  .rail button::before { transition: none; }
}
