/* Incredible Pets | Brandcore.io proposal | styles
   Type is fluid with bounded clamp() tokens and reflows at breakpoints.
   Targets: body 18-22px at 1600, 20-24px near 2100, 16px+ at 1366, labels 14px (13px floor). */

@font-face { font-family: "Geist"; src: url("assets/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; 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-display: swap; }

:root {
  --ink: #0B1311;
  --ink-2: #111F1B;
  --ink-3: #1A2D27;
  --cream: #F3ECDD;
  --paper: #EDE6D6;
  --paper-2: #E2D9C5;
  --text-dark: #F4F1EA;
  --muted-dark: #BAC5BE;
  --text-ink: #12201B;
  --muted-ink: #3F4C46;
  --mist: #A9E2C0;
  --amber: #F2A93B;
  --amber-ink: #8A4E0C;
  --navy: #2A5F9E;
  --red: #A3122E;
  --rule-dark: rgba(243, 236, 221, 0.16);
  --rule-ink: rgba(18, 32, 27, 0.18);

  --fs-body: clamp(16px, 0.55vw + 10px, 22px);
  --fs-lede: clamp(17px, 0.6vw + 10px, 23px);
  --fs-h2: clamp(30px, 2.5vw + 8px, 56px);
  --fs-h3: clamp(19px, 0.75vw + 8px, 28px);
  --fs-label: clamp(13px, 0.25vw + 10px, 15px);
  --fs-cover: clamp(46px, 5.4vw + 10px, 116px);

  --chrome-top: 64px;
  --chrome-bottom: 60px;
  --gutter: clamp(22px, 4vw, 68px);
  --ease-in: cubic-bezier(0.55, 0, 0.73, 0.06);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--ink);
  color: var(--text-dark);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.mono { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: var(--fs-label); letter-spacing: 0.04em; text-transform: uppercase; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 40; background: var(--cream); color: var(--ink); padding: 8px 12px; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }

/* ---------- Deck shell ---------- */
.deck {
  position: fixed; inset: 0;
  display: grid;
  grid-template-rows: var(--chrome-top) minmax(0, 1fr) var(--chrome-bottom);
  height: 100vh; height: 100dvh;
}
.chrome {
  position: relative; z-index: 10;
  background: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
}
.chrome-top { border-bottom: 1px solid var(--rule-dark); }
.chrome-bottom { border-top: 1px solid var(--rule-dark); justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-core { height: 22px; width: auto; }
.x { font-family: "Instrument Serif", Georgia, serif; font-size: 26px; color: var(--amber); line-height: 1; }
.client-chip { display: inline-flex; align-items: center; background: var(--cream); padding: 4px 10px; border-radius: 4px; }
.client-chip img { height: 26px; width: auto; }
.chrome-label { color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-right { display: flex; align-items: center; gap: 14px; }
.counter { color: var(--cream); }
.chip-btn {
  background: transparent; border: 1px solid var(--rule-dark); border-radius: 999px;
  padding: 6px 14px; min-height: 36px; font-size: 15px;
}
.chip-btn:hover { border-color: var(--amber); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rule-dark); }
.progress span { display: block; height: 100%; width: 0; background: var(--amber); transition: width 0.5s var(--ease-out); }

.nav-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--rule-dark); border-radius: 999px;
  min-height: 44px; padding: 8px 18px; font-size: 16px; letter-spacing: 0.01em;
  color: var(--cream);
}
.nav-btn svg { width: 1.25em; height: 1.25em; flex: none; }
.nav-btn:hover { border-color: var(--amber); }
.nav-btn:disabled { opacity: 0.35; cursor: default; }
.nav-primary { background: var(--amber); color: var(--ink); border-color: var(--amber); font-weight: 600; }
.nav-primary:hover { background: #F7BC5C; }
.foot-note { color: var(--muted-dark); }

/* ---------- Slides ---------- */
.slides { position: relative; overflow: hidden; min-height: 0; }
.slide {
  position: absolute; inset: 0;
  visibility: hidden; opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.44s var(--ease-out), transform 0.44s var(--ease-out), visibility 0s linear 0.44s;
  will-change: transform, opacity;
}
.slide.is-active { visibility: visible; opacity: 1; transform: none; z-index: 2; transition: opacity 0.44s var(--ease-out), transform 0.44s var(--ease-out), visibility 0s; }
.slide.is-out-fwd { visibility: visible; opacity: 0.15; transform: translate3d(-340px, 0, 0) scale(1.08); transition: opacity 0.36s var(--ease-in), transform 0.36s var(--ease-in), visibility 0s linear 0.36s; z-index: 1; }
.slide.is-out-back { visibility: visible; opacity: 0.15; transform: translate3d(340px, 0, 0) scale(1.08); transition: opacity 0.36s var(--ease-in), transform 0.36s var(--ease-in), visibility 0s linear 0.36s; z-index: 1; }
.slide.is-pre-fwd { visibility: visible; opacity: 0; transform: translate3d(416px, 0, 0) scale(0.92); transition: none; z-index: 2; }
.slide.is-pre-back { visibility: visible; opacity: 0; transform: translate3d(-416px, 0, 0) scale(0.92); transition: none; z-index: 2; }
.slide.is-instant { transition: none !important; }

.s-dark {
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(242, 169, 59, 0.07), transparent 60%),
    radial-gradient(900px 540px at 8% 96%, rgba(111, 191, 142, 0.06), transparent 60%),
    var(--ink);
  color: var(--text-dark);
}
.s-paper { background: var(--paper); color: var(--text-ink); }
.s-paper .lede-ink, .s-paper p { color: var(--text-ink); }

.slide-scroll {
  position: relative; height: 100%; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: clamp(22px, 4vh, 48px) calc(var(--gutter) + 34px) clamp(26px, 4vh, 52px) var(--gutter);
}
.slide-scroll::-webkit-scrollbar { width: 6px; }
.slide-scroll::-webkit-scrollbar-thumb { background: rgba(127, 127, 127, 0.4); border-radius: 3px; }

.kicker { color: var(--amber); margin: 0 0 14px; }
.kicker-ink { color: var(--amber-ink); }
.display { font-size: var(--fs-cover); line-height: 0.92; letter-spacing: -0.05em; font-weight: 600; margin: 0 0 22px; color: var(--cream); }
.display .serif, .display em { font-size: 1.02em; color: var(--amber); letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; margin: 0 0 18px; color: inherit; }
.h2 .serif { font-size: 1.05em; color: var(--amber); letter-spacing: -0.02em; }
.s-paper .h2 .serif { color: var(--amber-ink); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 8px; color: inherit; }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--muted-dark); max-width: 58ch; margin: 0 0 18px; }
.note { color: var(--muted-dark); font-size: var(--fs-label); margin-top: 18px; max-width: 90ch; }
.s-paper .note { color: var(--muted-ink); }
.src { color: var(--amber); font-size: var(--fs-label); margin: 8px 0 0; }
.s-paper .src { color: var(--amber-ink); }

/* ---------- 01 Cover ---------- */
.s-cover .slide-scroll { display: flex; flex-direction: column; justify-content: center; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(20px, 3vw, 56px); align-items: center; min-height: 0; }
.cover-copy { min-width: 0; }
.cover-copy .kicker { color: var(--amber); }
.cover-copy .lede { color: var(--muted-dark); }
.ticker { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticker li { border: 1px solid var(--rule-dark); border-radius: 999px; padding: 6px 12px; color: var(--cream); }
.prepared { color: var(--muted-dark); margin: 0 0 8px; }
.cue { color: var(--amber); margin: 0; }
.stage {
  position: relative; min-height: min(70vh, 640px); height: 100%;
  border-radius: 6px; overflow: hidden;
  background:
    radial-gradient(closest-side, rgba(242, 169, 59, 0.14), transparent 72%),
    linear-gradient(180deg, rgba(11, 19, 17, 0.55) 0%, rgba(11, 19, 17, 0.9) 100%),
    url("assets/photos/cover-banana-leopard-python.webp") center 28% / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(242, 169, 59, 0.18);
}
.gl-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 5; pointer-events: none; display: block; }
.gl-layer.is-off { display: none; }
.medallion { display: none; width: min(78%, 440px); aspect-ratio: 1; margin: auto; border-radius: 50%; background: var(--cream); align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(242, 169, 59, 0.35), 0 30px 60px rgba(0, 0, 0, 0.5); position: absolute; inset: 0; }
.medallion img { width: 74%; height: auto; }
.no-gl .medallion, .reduced .medallion { display: flex; }
.no-gl .stage, .reduced .stage { min-height: min(62vh, 560px); }
.cover-foot { color: var(--muted-dark); font-size: var(--fs-label); margin: 22px 0 0; }

/* ---------- 02 Audit ---------- */
.audit-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(22px, 3vw, 56px); align-items: start; }
.audit-evidence { display: grid; gap: 18px; min-width: 0; }
.audit-evidence .h2 { margin-bottom: 4px; }
.evidence-photo { margin: 0; }
.evidence-photo img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; }
.evidence-photo img { max-height: 300px; }
.evidence-photo-wide img { max-height: 340px; width: auto; max-width: 100%; }
.evidence-photo figcaption { color: var(--muted-ink); font-size: var(--fs-label); margin-top: 6px; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.finding { padding: 14px 0 16px; border-top: 1px solid var(--rule-ink); display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
.finding .sev { grid-row: span 3; font-size: var(--fs-label); padding-top: 4px; font-weight: 600; }
.sev-high .sev { color: var(--red); }
.sev-med .sev { color: var(--amber-ink); }
.sev-low .sev { color: var(--muted-ink); }
.finding .h3 { margin: 0 0 4px; color: var(--text-ink); }
.finding p { margin: 0 0 4px; color: var(--text-ink); }
.finding .src { margin-top: 2px; }
.audit-list .note { margin-top: 10px; }

/* ---------- 03 Gap ---------- */
.gap-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 40px); align-items: start; }
.gap-head { grid-column: 1 / -1; }
.gap-head .h2 { max-width: 22ch; }
.paths { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.path { border: 1px solid var(--rule-dark); border-radius: 6px; padding: clamp(18px, 2vw, 28px); min-width: 0; }
.path-next { border-color: var(--amber); background: rgba(242, 169, 59, 0.06); }
.path-title { color: var(--muted-dark); margin: 0 0 12px; }
.path-next .path-title { color: var(--amber); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--text-dark); font-size: var(--fs-body); }
.steps .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule-dark); color: var(--cream); font-size: var(--fs-label); }
.path-next .steps .n { border-color: var(--amber); color: var(--amber); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.fact { border-top: 1px solid var(--rule-dark); padding-top: 14px; display: grid; gap: 4px; min-width: 0; }
.fact .big { font-size: clamp(38px, 3.2vw, 60px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--cream); }
.fact .lab { color: var(--text-dark); font-size: var(--fs-body); }
.fact .src { color: var(--amber); margin-top: 2px; }
.gap-grid .note { grid-column: 1 / -1; margin-top: 0; }

/* ---------- 04 Flagship ---------- */
.flag-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.flag-head .h2 { margin-bottom: 8px; }
.flag-head .lede { margin-bottom: 0; max-width: 70ch; }
.stage-plate {
  position: relative; border-radius: 10px; padding: clamp(14px, 2vw, 30px);
  display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: clamp(14px, 1.8vw, 26px); align-items: start;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(111, 191, 142, 0.22), transparent 70%),
    radial-gradient(600px 300px at 90% 100%, rgba(242, 169, 59, 0.18), transparent 70%),
    linear-gradient(180deg, #0F1D19 0%, #0B1311 100%);
  box-shadow: 0 30px 70px rgba(11, 19, 17, 0.45), inset 0 0 0 1px rgba(242, 169, 59, 0.22);
  color: var(--text-dark);
}
.mock-browser { background: #FBF8F1; color: var(--text-ink); border-radius: 8px; overflow: hidden; box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5); min-width: 0; }
.mock-bar { background: #E7E0CF; display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
.mock-dots { display: inline-flex; gap: 5px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: #B9B09C; display: block; }
.mock-url { color: var(--muted-ink); font-size: var(--fs-label); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-tabs { display: flex; gap: 4px; padding: 8px 10px 0; border-bottom: 1px solid var(--rule-ink); background: #F5F0E3; flex-wrap: wrap; }
.mock-tab { background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; min-height: 44px; font-size: 16px; color: var(--muted-ink); font-weight: 600; }
.mock-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--amber-ink); }
.mock-panel { padding: clamp(14px, 1.6vw, 22px); min-height: 360px; }
.hero-shot { position: relative; border-radius: 6px; overflow: hidden; background: var(--ink); height: clamp(220px, 34vh, 340px); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.85; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(14px, 1.8vw, 24px); background: linear-gradient(0deg, rgba(11, 19, 17, 0.92), rgba(11, 19, 17, 0)); }
.hero-kicker { color: var(--amber); margin: 0 0 6px; font-size: var(--fs-label); }
.hero-h { font-size: clamp(24px, 2.2vw, 36px); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--cream); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 1px solid transparent; text-decoration: none; }
.btn-solid { background: var(--amber); color: var(--ink); }
.btn-solid:hover { background: #F7BC5C; }
.btn-line { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-line:hover { border-color: var(--amber); color: var(--amber); }
.btn-wide { width: 100%; }
.banner-strip { margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--amber); background: rgba(242, 169, 59, 0.1); color: var(--text-ink); font-size: var(--fs-label); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--muted-ink); background: transparent; color: var(--text-ink); font-size: 15px; font-weight: 600; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { margin: 0; background: #FFFFFF; border: 1px solid var(--rule-ink); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile figcaption { padding: 8px 10px 10px; font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--text-ink); }
.mock-note { color: var(--muted-ink); margin: 12px 0 0; font-size: var(--fs-label); }
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.visit-h { font-weight: 600; font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.visit-grid p { margin: 0 0 6px; font-size: 17px; color: var(--text-ink); }
.visit-grid a { color: var(--ink); text-decoration-color: var(--amber-ink); text-underline-offset: 3px; }
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 232px; border-radius: 34px; padding: 22px 16px 18px; background: #0A0F0D;
  border: 2px solid #2B3832; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  display: grid; gap: 10px; align-content: start;
}
.ph-h { margin: 0; font-size: 22px; font-weight: 600; color: var(--cream); }
.ph-sub { margin: 0 0 4px; color: var(--muted-dark); font-size: 13px; }
.ph-block { background: #F5F0E3; color: var(--text-ink); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.ph-block strong { font-size: 17px; line-height: 1.25; }
.ph-block span { font-size: 15px; color: var(--muted-ink); }
.ph-block .mono { font-size: 13px; color: var(--amber-ink); }
.ph-dark { background: var(--ink-3); color: var(--cream); }
.ph-dark strong { color: var(--cream); }
.ph-dark span { color: var(--muted-dark); }
.ph-dark .mono { color: var(--amber); }
.detail-list { display: none; }
.detail-list ul { padding-left: 18px; margin: 0; }
.detail-list li { margin-bottom: 8px; color: var(--text-ink); }

/* ---------- 05 System ---------- */
.system-grid { display: grid; gap: clamp(18px, 2.2vw, 34px); }
.system-head .h2 { max-width: 26ch; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pillar { border-top: 1px solid var(--amber); padding: clamp(14px, 1.6vw, 22px) 0 0; min-width: 0; }
.pn { color: var(--amber); display: block; margin-bottom: 10px; }
.pillar .h3 { font-size: clamp(22px, 1.5vw + 8px, 32px); }
.pillar p { color: var(--muted-dark); margin: 0 0 6px; font-size: var(--fs-body); }
.pillar .src { color: var(--amber); }

/* ---------- 06 Proof ---------- */
.proof-grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.proof-head .h2 { margin-bottom: 8px; }
.proof-head .lede { margin-bottom: 0; max-width: 72ch; }
.compare {
  position: relative; border-radius: 8px; overflow: hidden; background: #E6DECB; border: 1px solid var(--rule-ink);
  height: clamp(340px, 58vh, 620px); user-select: none; touch-action: pan-y;
}
.cmp-layer { position: absolute; inset: 0; padding: clamp(14px, 1.8vw, 24px); background: #F6F1E4; overflow: hidden; }
.cmp-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); background: #ECE6D6; }
.cmp-tag { position: absolute; top: 12px; z-index: 2; background: var(--ink); color: var(--cream); padding: 6px 10px; border-radius: 4px; font-size: 13px; }
.cmp-tag-l { left: 12px; }
.cmp-tag-r { right: 12px; background: var(--amber-ink); }
.cmp-grid { display: grid; gap: 14px; margin-top: 40px; height: calc(100% - 40px); align-content: start; }
.cmp-group { min-width: 0; }
.cmp-group > .mono { color: var(--text-ink); margin: 0 0 8px; font-weight: 600; font-size: var(--fs-label); }
.cmp-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cmp-row-one { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
.cmp-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule-ink); background: #fff; }
.cmp-after .cmp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: var(--amber); transform: translateX(-1px); z-index: 4; pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--amber); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.cmp-range { display: flex; align-items: center; gap: 16px; }
.cmp-range input { flex: 1; accent-color: var(--amber-ink); min-height: 44px; }
.cmp-range .mono { color: var(--text-ink); white-space: nowrap; }

/* ---------- 07 Roadmap ---------- */
.road-grid { display: grid; gap: clamp(18px, 2.2vw, 34px); }
.road-head .h2 { max-width: 26ch; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.phase { border: 1px solid var(--rule-dark); border-radius: 6px; padding: clamp(18px, 2vw, 26px); display: grid; gap: 12px; align-content: start; min-width: 0; background: var(--ink-2); }
.phase-d { color: var(--amber); margin: 0; font-weight: 600; }
.phase ul { padding-left: 18px; margin: 0; display: grid; gap: 8px; }
.phase li { color: var(--text-dark); font-size: var(--fs-body); }
.own { margin: 0; color: var(--muted-dark); font-size: var(--fs-body); }
.own strong { color: var(--cream); }

/* ---------- 08 Engagement ---------- */
.eng-grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.eng-head .h2 { max-width: 26ch; }
.eng-head .lede { margin-bottom: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.tier { background: #F7F3E8; border: 1px solid var(--rule-ink); border-radius: 6px; padding: clamp(18px, 2vw, 28px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.tier .h3 { color: var(--text-ink); margin: 0; }
.tier ul { padding-left: 18px; margin: 4px 0 0; display: grid; gap: 8px; }
.tier li { color: var(--text-ink); font-size: var(--fs-body); }
.best { color: var(--muted-ink); margin: 0; font-size: var(--fs-label); }
.tier-rec { background: var(--ink); color: var(--text-dark); border-color: var(--ink); box-shadow: 0 20px 40px rgba(11, 19, 17, 0.3); }
.tier-rec .h3 { color: var(--cream); }
.tier-rec li { color: var(--text-dark); }
.tier-rec .best { color: var(--muted-dark); }
.rec { color: var(--amber); margin: 0; font-weight: 600; }
.eng-grid .note { margin-top: 0; }

/* ---------- 09 Close ---------- */
.close-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(22px, 3vw, 56px); align-items: start; }
.close-rep { display: grid; gap: 18px; min-width: 0; }
.portrait { width: min(100%, 380px); aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: transparent; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.rep-name { font-size: clamp(30px, 2.4vw + 6px, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; margin: 0; color: var(--cream); }
.rep-role { color: var(--amber); margin: 6px 0 14px; }
.rep-msg { font-size: clamp(20px, 1vw + 10px, 28px); line-height: 1.3; color: var(--text-dark); margin: 0 0 16px; max-width: 30ch; }
.contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contacts li { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 10px; border-top: 1px solid var(--rule-dark); padding-top: 10px; }
.contacts .mono { color: var(--muted-dark); }
.contacts a { font-size: clamp(18px, 0.8vw + 8px, 24px); color: var(--cream); text-decoration-color: var(--amber); text-underline-offset: 4px; word-break: break-word; }
.close-side { display: grid; gap: 16px; min-width: 0; }
.close-side .h2 { margin: 0; }
.sched { background: var(--ink-2); border: 1px solid var(--rule-dark); border-radius: 8px; padding: clamp(16px, 2vw, 24px); display: grid; gap: 14px; }
.sched-h { margin: 0; font-size: var(--fs-h3); font-weight: 600; color: var(--cream); line-height: 1.2; }
.field { display: grid; gap: 6px; }
.field .mono { color: var(--muted-dark); }
.field input[type="date"] { min-height: 46px; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--rule-dark); background: var(--ink); color: var(--cream); font-size: 17px; color-scheme: dark; }
.slots { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.slots legend { color: var(--muted-dark); margin-bottom: 6px; padding: 0; }
.slots label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule-dark); border-radius: 6px; cursor: pointer; font-size: 17px; color: var(--text-dark); }
.slots label:has(input:checked) { border-color: var(--amber); background: rgba(242, 169, 59, 0.1); }
.slots input { accent-color: var(--amber); width: 18px; height: 18px; flex: none; }
.sched-err { color: #FFB4A8; margin: 0; font-size: var(--fs-label); }
.sched-note { color: var(--muted-dark); margin: 0; font-size: var(--fs-label); }
.signoff { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--rule-dark); padding-top: 14px; }
.signoff img { height: 26px; width: auto; }
.signoff p { margin: 0; color: var(--muted-dark); }
.final-line { font-size: clamp(22px, 1.3vw + 10px, 34px); line-height: 1.2; margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--amber); }

/* ---------- Index + rail ---------- */
.rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 8; display: grid; gap: 10px; }
.rail button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--muted-dark); background: transparent; padding: 0; min-width: 12px; min-height: 12px; }
.rail button[aria-current="true"] { background: var(--amber); border-color: var(--amber); }
.rail button::before { content: ""; display: block; width: 44px; height: 44px; margin: -16px; }
.index-overlay { position: fixed; inset: 0; z-index: 30; background: rgba(11, 19, 17, 0.97); padding: 18px var(--gutter) 28px; overflow-y: auto; }
.index-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--muted-dark); }
.index-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.index-card { text-align: left; background: var(--ink-2); border: 1px solid var(--rule-dark); border-radius: 8px; padding: 18px; min-height: 96px; display: grid; gap: 6px; color: var(--cream); }
.index-card:hover, .index-card[aria-current="true"] { border-color: var(--amber); }
.index-card .mono { color: var(--amber); }
.index-card strong { font-size: 20px; font-weight: 600; }

/* ---------- Reduced motion / no-WebGL ---------- */
.reduced .slide, .reduced .slide.is-out-fwd, .reduced .slide.is-out-back, .reduced .slide.is-pre-fwd, .reduced .slide.is-pre-back { transition: none !important; transform: none !important; }
.reduced .progress span { transition: none; }
.reduced .seam { display: none !important; }

/* Mist seam: a green-tinted sweep across the frame on every Next cut after the opening */
.seam { position: fixed; top: 0; bottom: 0; left: 0; width: 38vw; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(169, 226, 192, 0.16) 55%, rgba(242, 169, 59, 0.22) 80%, transparent); }
.seam.run-fwd { animation: seam-fwd 0.8s var(--ease-out) both; }
.seam.run-back { animation: seam-back 0.8s var(--ease-out) both; }
@keyframes seam-fwd { 0% { transform: translateX(-100vw); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(160vw); opacity: 0; } }
@keyframes seam-back { 0% { transform: translateX(160vw); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(-100vw); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .stage-plate { grid-template-columns: minmax(0, 1fr) 200px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .rail { display: none; }
  .stage-plate { grid-template-columns: minmax(0, 1fr); }
  .phone-wrap { display: none; }
  .detail-list { display: block; background: var(--paper); border: 1px solid var(--rule-ink); border-radius: 8px; padding: 16px 18px; margin-top: 4px; }
  .detail-list .h3 { color: var(--text-ink); }
  .detail-list ul { color: var(--text-ink); }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: minmax(0, 1fr); }
  .index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --chrome-top: 56px; --chrome-bottom: 62px; }
  .client-chip img { height: 22px; }
  .brand-core { height: 18px; }
  .chrome-label { display: none; }
  .foot-note { display: none; }
  .chrome-bottom { justify-content: space-between; padding-bottom: env(safe-area-inset-bottom); }
  .slide-scroll { padding-left: 20px; padding-right: 20px; padding-top: 20px; padding-bottom: 30px; }
  .cover-grid, .audit-grid, .close-grid, .gap-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 44vh; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-after .cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { height: clamp(420px, 70vh, 640px); }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .cmp-tag { font-size: 12px; }
  .finding { grid-template-columns: 1fr; }
  .finding .sev { grid-row: auto; padding-top: 0; }
  .medallion { width: min(72%, 340px); }
}
@media (max-width: 600px) {
  :root { --fs-label: 13px; }
  .chrome { padding: 0 16px; }
  .chip-btn { padding: 6px 10px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .cmp-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .index-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-btn span { display: none; }
  .nav-primary span { display: inline; }
  .nav-btn { padding: 8px 14px; }
  .contacts li { grid-template-columns: 70px minmax(0, 1fr); }
  .stage { min-height: 40vh; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active, .slide.is-out-fwd, .slide.is-out-back, .slide.is-pre-fwd, .slide.is-pre-back { transition: none !important; }
  .seam { display: none !important; }
  .progress span { transition: none; }
}

/* Engagement: center fitting content while preserving natural overflow. */
@media (min-width: 1101px) {
  .slide[data-label="Engagement"] > .slide-scroll { display: flex; flex-direction: column; }
  .slide[data-label="Engagement"] .eng-grid { flex-shrink: 0; margin-block: auto; }
}
