/* Manhattan Grand Optical | Brandcore web presentation */

@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-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; 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: "JetBrains Mono"; src: url("../assets/fonts/jetbrains-mono-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #120b0c;
  --ink-2: #1c1214;
  --red: #b12f36;
  --red-deep: #7e1d23;
  --red-ink: #8e2026;
  --gold: #c1b255;
  --gold-hi: #e6d88f;
  --paper: #f5f0e8;
  --paper-2: #ebe3d6;
  --text-d: #f4ece8;
  --muted-d: #c4b9b3;
  --text-p: #160e0f;
  --muted-p: #4a403b;
  --line-d: rgba(244, 236, 232, 0.16);
  --line-p: rgba(22, 14, 15, 0.14);

  --mast-h: 64px;
  --bottom-h: 60px;
  --side: clamp(20px, 3.6vw, 72px);

  /* DNA type scale: body 18-22 at 1600, 20-24 at ~2100, 16 minimum at 1366/390 */
  --fs-body: clamp(16px, 0.5vw + 12px, 24px);
  --fs-lede: clamp(17px, 0.45vw + 13px, 25px);
  --fs-label: clamp(13px, 0.25vw + 10px, 16px);
  --fs-h2: clamp(40px, 3.85vw, 64px);
  --fs-card: clamp(24px, 1.7vw, 34px);
  --fs-cover: clamp(54px, 7.2vw, 124px);
  --fs-stat: clamp(44px, 3.6vw, 64px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--ink);
  color: var(--text-d);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
code { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 0.88em; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* ---------- Chrome ---------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; height: var(--mast-h); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--side); background: var(--ink); border-bottom: 1px solid var(--line-d);
}
.lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lockup-bc { height: 22px; width: auto; }
.lockup-x { color: var(--gold-hi); font-family: "Instrument Serif", serif; font-style: italic; font-size: 26px; line-height: 1; }
.lockup-client { display: inline-flex; background: var(--red); padding: 5px 10px; border-radius: 4px; }
.lockup-client img { height: 26px; width: auto; }
.chrome-label {
  margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-d);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chrome-right { display: flex; align-items: center; gap: 16px; }
.chrome-count { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); letter-spacing: 0.06em; }
.chrome-btn {
  min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent;
  border: 1px solid var(--line-d); color: var(--text-d); cursor: pointer;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.chrome-btn:hover { border-color: var(--gold-hi); color: var(--gold-hi); }

.progress {
  position: fixed; left: 0; right: 0; top: var(--mast-h); height: 2px; z-index: 41; background: rgba(255, 255, 255, 0.08);
}
.progress span { display: block; height: 100%; width: 100%; background: var(--gold-hi); transform-origin: 0 50%; transform: scaleX(0); }

.seam {
  position: fixed; top: 0; bottom: 0; left: 0; width: 2px; z-index: 35; opacity: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--gold-hi) 30%, #fff3c8 50%, var(--gold-hi) 70%, transparent);
  box-shadow: 0 0 26px 6px rgba(230, 216, 143, 0.55);
}

.deck {
  position: fixed; left: 0; right: 0; top: var(--mast-h); bottom: var(--bottom-h); z-index: 1; overflow: hidden;
  outline: none;
}

.chrome-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--bottom-h); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--side) env(safe-area-inset-bottom, 0); background: var(--ink); border-top: 1px solid var(--line-d);
}
.prepared-mini { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); letter-spacing: 0.04em; }
.nav-btns { display: flex; gap: 10px; }
.nav-btn {
  min-height: 44px; min-width: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid var(--line-d); color: var(--text-d);
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em;
}
.nav-btn:disabled { opacity: 0.35; cursor: default; }
.nav-btn-primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nav-btn svg { flex: none; }

.rail {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 39;
  display: flex; flex-direction: column; gap: 6px;
}
.rail button {
  width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rail button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 236, 232, 0.35); transition: transform 0.3s var(--ease-out), background 0.3s;
}
.rail button[aria-current="step"]::before { background: var(--gold-hi); transform: scale(1.6); }

/* ---------- Slides ---------- */
.slide {
  position: absolute; inset: 0; overflow: hidden; visibility: hidden; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--text-d);
}
.slide.is-active, .slide.is-leaving, .slide.is-entering { visibility: visible; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide.is-leaving { pointer-events: none; z-index: 1; }
.slide.is-entering { z-index: 2; }
.slide.slide--paper { background: var(--paper); color: var(--text-p); }
.slide.slide--dark {
  background:
    radial-gradient(70% 90% at 80% 10%, rgba(177, 47, 54, 0.22), transparent 60%),
    linear-gradient(180deg, #1a0e10 0%, var(--ink) 100%);
  color: var(--text-d);
}

.slide-inner {
  position: absolute; inset: 0; width: 100%; max-width: 1680px; margin: 0 auto;
  padding: clamp(22px, 3.6vh, 48px) var(--side) clamp(26px, 4vh, 52px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: clamp(16px, 2.4vh, 28px);
  -webkit-overflow-scrolling: touch;
}

/* Whole-composition vertical fit: the ENTIRE inner composition (kicker, title,
   lede, body, cards, note) centers between the fixed masthead and footer when
   content fits; the auto margins resolve to zero and content rolls to natural
   top flow when it is too tall. No fixed-spacing or font-scale changes. */
.slide-inner--fit > :first-child { margin-top: auto; }
.slide-inner--fit > :last-child { margin-bottom: auto; }
/* With the composition centered as one block, the note follows the tier row
   with the normal gap instead of being pushed toward the old bottom edge. */
.slide-inner--fit .tier-note { margin-top: 0; }

.kicker {
  margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-hi);
}
.slide--paper .kicker { color: var(--red-ink); }
.kicker .num { color: inherit; opacity: 0.85; margin-right: 8px; }

.h2 {
  margin: 0.2em 0 0; font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; max-width: 22ch;
}
.serif-em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.005em; color: var(--gold-hi); }
.slide--paper .serif-em { color: var(--red); }

.lede { margin: 0; font-size: var(--fs-lede); line-height: 1.5; max-width: 62ch; color: var(--muted-d); }
.slide--paper .lede { color: var(--muted-p); }
.body { margin: 0; font-size: var(--fs-body); line-height: 1.5; max-width: 60ch; color: var(--muted-d); }
.slide--paper .body { color: var(--muted-p); }
.note { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); line-height: 1.5; color: var(--muted-d); letter-spacing: 0.02em; }
.slide--paper .note { color: var(--muted-p); }
.src { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); letter-spacing: 0.02em; }
.slide--paper .src { color: var(--muted-p); }
.card-h { margin: 0; font-size: var(--fs-card); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; color: inherit; }
.col-h { margin: 0; font-size: var(--fs-card); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.field-label {
  margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-hi);
}
.slide--paper .field-label { color: var(--red-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn svg { flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-gold:disabled, .btn-gold[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-line { border-color: var(--line-d); color: var(--text-d); }
.btn-line:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.text-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; font-size: 16px; font-weight: 600; }

.field {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 8px; font-size: 17px;
  background: #fff; color: var(--text-p); border: 1px solid #d9cfbf;
}
.field::placeholder { color: #6e625c; }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; font-size: var(--fs-body); line-height: 1.45; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--gold-hi); border-bottom: 2px solid var(--gold-hi); transform: rotate(-45deg); }
.slide--paper .check-list li::before { border-color: var(--red); }

/* ---------- 1 · Cover ---------- */
.slide--cover { background: radial-gradient(60% 70% at 72% 46%, #3b1518 0%, #1a0d0f 46%, var(--ink) 82%); }
.cover-stage { position: absolute; inset: 0; z-index: 0; }
.cover-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.lens-static {
  display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(74vmin, 560px); aspect-ratio: 2 / 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #c53a42 0%, #a42a31 62%, #7a1d23 100%);
  box-shadow: 0 0 0 clamp(8px, 1.1vmin, 14px) #c9ae56, 0 0 0 calc(clamp(8px, 1.1vmin, 14px) + 3px) rgba(0, 0, 0, 0.5), 0 40px 90px rgba(0, 0, 0, 0.55);
  display: grid; place-items: center;
}
.lens-static img { width: 62%; height: auto; }
.cover-stage.is-static .cover-canvas { display: none; }
.cover-stage.is-static .lens-static { display: grid; }
.cover-copy {
  z-index: 2; pointer-events: none; justify-content: center; gap: clamp(14px, 2.2vh, 24px);
  max-width: min(54%, 780px); overflow: visible; margin: 0;
}
.cover-copy > * { pointer-events: auto; }
.cover-title {
  margin: 0; font-size: var(--fs-cover); line-height: 0.9; letter-spacing: -0.06em; font-weight: 600; color: var(--text-d);
}
.cover-title .serif-em { font-size: 1.02em; letter-spacing: -0.02em; }
.ticker { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ticker li {
  padding: 8px 14px; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(18, 11, 12, 0.55);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.02em; color: var(--text-d);
}
.cover-foot { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: flex-end; }
.prepared, .coords { margin: 0; display: grid; gap: 2px; font-size: var(--fs-label); }
.prepared strong { font-size: 18px; font-weight: 600; color: var(--text-d); }
.prepared span, .coords span { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--muted-d); letter-spacing: 0.02em; }
.coords { font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--gold-hi); }
.scroll-cue {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 48px;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold-hi);
}
.scroll-cue svg { font-size: 22px; transition: transform 0.4s var(--ease-out); }
.scroll-cue:hover svg { transform: translateX(6px); }

/* ---------- Audit ---------- */
.findings {
  margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(12px, 1.6vw, 22px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.finding {
  display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 1.6vw, 26px);
  background: #fffdf9; border: 1px solid var(--line-p); border-radius: 14px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
.finding .body { color: var(--muted-p); }
.sev {
  margin: 0; align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.1em; color: #fff;
}
.sev-high { background: var(--red); }
.sev-med { background: #7a4a00; }
.sev-low { background: #55504a; }

/* ---------- Gap ---------- */
.gap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 36px); align-items: stretch; }
.gap-col { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2vw, 34px); border: 1px solid var(--line-d); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.gap-next { border-color: rgba(230, 216, 143, 0.5); }
.stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stats > div { display: flex; flex-direction: column; gap: 4px; }
.stats dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-d); }
.stats dd { margin: 0; font-size: var(--fs-stat); line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--text-d); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; font-size: var(--fs-body); line-height: 1.45; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--ink); font-weight: 700; font-size: 18px;
}

/* ---------- Concept ---------- */
.concept-layout {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: clamp(14px, 2vh, 22px);
}
.concept-head { gap: 8px; }
.concept-head .h2 { font-size: clamp(34px, 3.2vw, 56px); }
.browser {
  min-height: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--paper);
  color: var(--text-p); border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #2a1f21; flex: none;
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #6b5a5d; }
.browser-bar em { margin-left: 14px; font-style: normal; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: #d8ccc7; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.concept-tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: #e6ddd0; flex: none; overflow-x: auto; }
.ctab {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px 10px 0 0; background: transparent; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--muted-p); white-space: nowrap;
}
.ctab[aria-selected="true"] { background: var(--paper); color: var(--red); }
.browser-view { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); }
.cpanel { padding: clamp(16px, 1.8vw, 26px); display: flex; flex-direction: column; gap: 18px; }
.hero { position: relative; border-radius: 12px; overflow: hidden; min-height: 240px; background: #2a1719; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 11, 12, 0.92) 0%, rgba(18, 11, 12, 0.62) 55%, rgba(18, 11, 12, 0.2) 100%); }
.hero-copy { position: relative; z-index: 1; padding: clamp(18px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; max-width: 62%; min-height: 240px; justify-content: center; color: var(--text-d); }
.hero-copy .kicker { color: var(--gold-hi); }
.hero-h { margin: 0; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.hero-h .serif-em { font-size: 1.05em; }
.hero-sub { margin: 0; font-size: var(--fs-body); color: var(--muted-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-cta .btn-line { color: var(--text-d); }
.svc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.svc-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid #ddd2c2; border-radius: 12px; background: #fffdf9; }
.svc-card h4 { margin: 0; font-size: clamp(18px, 1.2vw, 22px); line-height: 1.2; letter-spacing: -0.01em; color: var(--text-p); }
.svc-card p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--muted-p); }
.svc-card .text-link { color: var(--red-ink); align-self: flex-start; }
.plan-box, .brand-box { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #ddd2c2; border-radius: 12px; background: #fffdf9; }
.plan-box .field-label, .brand-box .field-label { color: var(--red-ink); }
.plan-result, .brand-count { margin: 0; font-size: 16px; color: var(--muted-p); }
.plan-result.is-match { color: #1f5a2a; font-weight: 600; }
.plan-result.is-miss { color: var(--red-ink); font-weight: 600; }
.plan-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 14px; font-size: 16px; color: var(--text-p); }
.plan-list li { padding: 6px 0; border-bottom: 1px dotted #cfc2ae; }
.plan-list li.is-hit { background: #f3e9c6; padding-left: 8px; border-radius: 6px; }
.brand-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; max-height: 240px; overflow-y: auto; font-size: 16px; color: var(--text-p); }
.brand-list li { padding: 4px 0; border-bottom: 1px dotted #d8ccba; }
.eyes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.eyes-text { display: flex; flex-direction: column; gap: 12px; color: var(--text-p); }
.eyes-text .card-h { color: var(--text-p); font-size: clamp(22px, 1.6vw, 28px); }
.eyes-text .check-list li { font-size: 17px; color: var(--text-p); }
.eyes-text .check-list li::before { border-color: var(--red); }
.pic { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #2a1d1f; }
.pic figcaption { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-p); letter-spacing: 0.02em; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.pick, .summary { display: flex; flex-direction: column; gap: 12px; color: var(--text-p); }
.pick .field-label, .summary .field-label { color: var(--red-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #cdbfa9; background: #fffdf9; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text-p);
}
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.sum-line { margin: 0; font-size: 18px; line-height: 1.45; min-height: 3.2em; color: var(--text-p); }
.summary .note { color: var(--muted-p); }
.direction { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid #d8ccba; font-size: 16px; color: var(--text-p); }
.phone-detail { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line-d); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }

/* ---------- System ---------- */
.pillars {
  margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(12px, 1.6vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pillar {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 1.8vw, 30px); border-radius: 16px;
  background: #fffdf9; border: 1px solid var(--line-p);
}
.pn { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--red-ink); letter-spacing: 0.08em; }
.pillar .body { font-size: clamp(16px, 0.35vw + 13px, 21px); }
.changes { margin: auto 0 0; padding-top: 8px; border-top: 1px solid #e0d5c4; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-p); letter-spacing: 0.02em; }

/* ---------- Proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.proof-card {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 1.6vw, 26px); border-radius: 16px;
  border: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.04); min-width: 0;
}
.team-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.team-list li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line-d); }
.team-list strong { font-size: clamp(17px, 1.1vw, 20px); font-weight: 600; color: var(--text-d); }
.team-list span { font-size: 16px; color: var(--muted-d); }
.chip-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 15px; line-height: 1.3; color: var(--text-d); }
.compare {
  position: relative; min-height: 220px; border-radius: 12px; overflow: hidden; background: #2a1719; border: 1px solid var(--line-d);
  --split: 50;
}
.cmp-panel { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cmp-panel ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; line-height: 1.35; }
.cmp-tag { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.1em; }
.cmp-before { background: #3a2a2c; color: var(--text-d); }
.cmp-before .cmp-tag { color: #f1b7b0; }
.cmp-after { background: var(--paper); color: var(--text-p); clip-path: inset(0 calc((100 - var(--split)) * 1%) 0 0); }
.cmp-after .cmp-tag { color: var(--red-ink); }
.compare::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: var(--gold-hi); pointer-events: none;
  left: calc(var(--split) * 1%); transform: translateX(-1px); box-shadow: 0 0 12px rgba(230, 216, 143, 0.7);
}
.cmp-range-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); letter-spacing: 0.04em; }
.cmp-range { width: 100%; min-height: 44px; accent-color: var(--gold-hi); }
.frame-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.frame-row .pic figcaption { color: var(--muted-d); }

/* ---------- Roadmap ---------- */
.phases {
  margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(12px, 1.6vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.phase {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 1.8vw, 30px); border-radius: 16px;
  background: #fffdf9; border: 1px solid var(--line-p); min-width: 0;
}
.ph-when { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(34px, 2.6vw, 46px); line-height: 1; color: var(--red); }
.phase .body { color: var(--muted-p); }
.kv { margin: 0; display: grid; gap: 10px; }
.kv dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-ink); }
.kv dd { margin: 0 0 6px; font-size: clamp(16px, 0.3vw + 13px, 19px); line-height: 1.4; color: var(--text-p); }

/* ---------- Engagement ---------- */
.tiers {
  margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(12px, 1.6vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tier {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2vw, 34px); border-radius: 18px;
  border: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.04); min-width: 0;
}
.tier-rec { border: 2px solid var(--gold-hi); background: rgba(230, 216, 143, 0.07); }
.rec-tag {
  margin: 0; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.1em;
}
.tier-for { margin: 0; font-size: var(--fs-body); color: var(--muted-d); line-height: 1.45; }
.tier-note { margin-top: auto; }

/* ---------- Close ---------- */
.close-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: start;
}
.close-copy { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); }
.closing-line {
  margin: 8px 0 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(24px, 2vw, 34px); line-height: 1.2; color: var(--red);
}
.rep-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); padding: clamp(18px, 1.8vw, 28px);
  background: #fffdf9; border: 1px solid var(--line-p); border-radius: 20px; box-shadow: 0 30px 60px rgba(22, 14, 15, 0.12); margin: 0;
}
.rep-photo { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #e9e0d2; }
.rep-photo img { width: 100%; height: 100%; object-fit: cover; }
.rep-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rep-name { margin: 0; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--text-p); }
.rep-role { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--red-ink); }
.rep-msg { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--muted-p); }
.contact-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; color: var(--red); text-underline-offset: 4px; }
.sched { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid #ddd2c2; }
.sched-h { margin: 0; font-size: var(--fs-card); line-height: 1.1; color: var(--text-p); font-weight: 600; letter-spacing: -0.02em; }
.sched .chip { color: var(--text-p); }
.sched-sum { margin: 0; font-size: 18px; color: var(--text-p); min-height: 1.6em; }
.sched-draft { align-self: flex-start; background: var(--red); color: #fff; }
.sched-draft[aria-disabled="true"] { background: #8b5b5f; color: #fff; opacity: 0.6; }
.sched .note { color: var(--muted-p); }
.signoff { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: var(--text-d); }
.signoff img { height: 22px; width: auto; }
.signoff p { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-d); letter-spacing: 0.03em; }
.slide--close .rep-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

/* ---------- Index ---------- */
.index-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(12, 8, 9, 0.94); display: flex; align-items: center; justify-content: center; padding: 20px;
}
.index-panel { width: min(760px, 100%); max-height: 100%; overflow-y: auto; padding: clamp(20px, 2.4vw, 34px); border: 1px solid var(--line-d); border-radius: 18px; background: var(--ink-2); }
.index-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.index-head h2 { margin: 0; font-size: var(--fs-card); letter-spacing: -0.02em; }
.index-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.index-list button {
  width: 100%; min-height: 56px; text-align: left; padding: 10px 14px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-d); display: flex; gap: 12px; align-items: center; font-size: 17px; color: var(--text-d);
}
.index-list button[aria-current="step"] { border-color: var(--gold-hi); background: rgba(230, 216, 143, 0.1); }
.index-list .i-num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--gold-hi); }

/* ---------- Effects canvas ---------- */
.fx-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 30; pointer-events: none; display: none; }
.fx-canvas.is-on { display: block; }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .rail { display: flex; }
}
@media (max-width: 899px) {
  .rail { display: none; }
  .concept-layout { grid-template-rows: auto; }
  .cover-copy { max-width: none; padding-top: 0; }
  .findings, .gap-grid, .eyes-grid, .visit-grid, .proof-grid, .pillars, .phases, .tiers, .close-layout, .frame-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .slide--close .rep-card { grid-template-columns: minmax(0, 1fr); }
  .rep-card { grid-template-columns: minmax(0, 1fr); }
  .proof-compare { grid-column: auto; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .findings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars > .pillar:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid > .proof-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .close-layout { grid-template-columns: minmax(0, 1fr); }
  .rep-card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
@media (max-width: 1199px) {
  .concept-layout { grid-template-rows: auto; }
  .browser { min-height: 520px; }
}
@media (min-width: 1200px) {
  .concept-layout { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto minmax(0, 1fr); column-gap: 26px; }
  .concept-head { grid-column: 1 / -1; }
  .browser { grid-row: 2; grid-column: 1; }
  .phone-detail { grid-row: 2; grid-column: 2; gap: 14px; padding: 22px; align-self: start; }
}
@media (max-width: 899px) {
  .browser { min-height: 520px; }
  .browser-view { max-height: none; }
  .hero-copy { max-width: 100%; }
  .hero::after { background: linear-gradient(180deg, rgba(18, 11, 12, 0.35) 0%, rgba(18, 11, 12, 0.94) 80%); }
  .eyes-grid { grid-template-columns: minmax(0, 1fr); }
  .chrome-label { max-width: 40vw; }
}
@media (max-width: 767px) {
  :root { --mast-h: 56px; --bottom-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .masthead { padding: 0 16px; }
  .lockup-bc { height: 18px; }
  .lockup-client img { height: 20px; }
  .lockup-client { padding: 4px 7px; }
  .lockup { gap: 8px; }
  .chrome-btn { min-height: 40px; padding: 0 12px; }
  .chrome-count { display: none; }
  .chrome-bottom { padding: 0 14px env(safe-area-inset-bottom, 0); height: var(--bottom-h); }
  .prepared-mini { display: none; }
  .nav-btns { width: 100%; justify-content: space-between; }
  .nav-btn { flex: 1; justify-content: center; }
  .slide-inner { padding: 20px 18px 28px; gap: 16px; }
  .slide--cover .cover-stage { top: 0; bottom: auto; height: 42%; }
  .cover-copy { position: absolute; top: 42%; bottom: 0; left: 0; right: 0; padding: 18px 18px 28px; justify-content: flex-start; background: var(--ink); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
  .cover-title { font-size: clamp(44px, 13vw, 64px); }
  .ticker li { font-size: 13px; padding: 6px 10px; }
  .cover-foot { gap: 10px 20px; }
  .coords { display: none; }
  .h2 { font-size: clamp(34px, 10vw, 46px); }
  .finding, .pillar, .phase, .tier, .proof-card, .gap-col { padding: 18px; }
  .svc-card { padding: 14px; }
  .browser-bar em { font-size: 12px; }
  .ctab { padding: 0 12px; font-size: 15px; }
  .cpanel { padding: 14px; }
  .index-list { grid-template-columns: minmax(0, 1fr); }
  .stats dd { font-size: 40px; }
  .rep-photo { max-width: 260px; }
  .tier-note { margin-top: 0; }
  .seam { display: none; }
}
@media (max-width: 767px) and (orientation: landscape) {
  .slide--cover .cover-stage { height: 52%; }
  .cover-copy { top: 52%; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { transition: none; }
  .rail button::before { transition: none; }
}
