/* ============================================================
   KEYSTONE PET PLACE × BRANDCORE — deck styles
   Palette derived from the client's own mark: forest, cream,
   brass, a little of the site's pale blue. No SaaS gradient.
   ============================================================ */

@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: #07110c;
  --ink-2: #0c1a12;
  --forest: #123b2a;
  --forest-2: #1b5138;
  --green: #3d6a33;
  --green-l: #5c8a4f;
  --cream: #f5f0e5;
  --paper: #efe7d7;
  --paper-2: #e4d9c4;
  --bone: #fcf8ef;
  --brass: #c99a4a;
  --brass-b: #e8c98a;
  --brass-d: #6b4a12;
  --rust: #9e3b2a;
  --teal: #7fb0bc;
  --t-dark: #f6f1e7;
  --t-dark-mut: #bcb3a2;
  --t-paper: #19231c;
  --t-paper-mut: #5b6257;

  --pad: clamp(20px, 3.35vw, 64px);
  --chrome-h: clamp(58px, 5vw, 76px);
  --dock-h: clamp(58px, 4.4vw, 68px);
  --body: clamp(16.5px, 1.32vw, 23px);
  --small: clamp(14px, 1.08vw, 17.82px);
  --label: clamp(13px, 0.96vw, 15.66px);
  --h1: clamp(46px, 4.95vw, 95px);
  --h2: clamp(34px, 3.55vw, 64px);
  --h3: clamp(21px, 1.65vw, 29px);
  --h4: clamp(18px, 1.25vw, 22px);
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --font: "Geist", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { height: 100%; }
body {
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--t-dark);
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: var(--brass); color: var(--ink); }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 999;
  background: var(--brass); color: var(--ink);
  padding: 10px 14px; border-radius: 2px; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- chrome ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 80;
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.progress span {
  display: block; height: 100%; width: 11.1%;
  background: var(--brass);
  transition: width .55s var(--ease);
}

.top-chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  height: var(--chrome-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 0 var(--pad);
  background: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
body[data-theme="paper"] .top-chrome,
body[data-theme="cream"] .top-chrome { background: var(--paper); color: var(--t-paper); }
body[data-theme="paper"] .top-chrome { background: var(--paper); }

.brandline { display: flex; align-items: center; gap: 11px; min-width: 0; }
.bc-mark { height: clamp(15px, 1.15vw, 19px); width: auto; }
.bc-mark--light { display: none; }
body[data-theme="paper"] .bc-mark--dark,
body[data-theme="cream"] .bc-mark--dark { display: none; }
body[data-theme="paper"] .bc-mark--light,
body[data-theme="cream"] .bc-mark--light { display: block; }
.brand-x { color: var(--brass); font-family: var(--serif); font-size: calc(var(--label) * 1.5); line-height: 1; }
.client-word {
  font-family: var(--mono); font-size: var(--label); letter-spacing: .12em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.section-label {
  font-family: var(--mono); font-size: var(--label); letter-spacing: .13em;
  color: color-mix(in srgb, currentColor 66%, transparent);
  white-space: nowrap;
}
.index-trigger {
  display: flex; align-items: center; gap: 12px;
  background: none; border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  padding: 7px 11px; border-radius: 2px;
  font-family: var(--mono); font-size: var(--label); letter-spacing: .12em;
  transition: border-color .2s, background .2s;
}
.index-trigger:hover, .index-trigger:focus-visible { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 12%, transparent); }
.index-word { color: var(--brass); }
.count { opacity: .8; }

/* ---------- slides ---------- */
#deck { position: relative; height: 100dvh; width: 100%; overflow: hidden; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translate3d(0, 10px, 0);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
  will-change: opacity, transform;
}
.slide.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .55s var(--ease), transform .65s var(--ease), visibility 0s;
  z-index: 2;
}
.slide.is-leaving { transform: translate3d(0, -8px, 0); opacity: 0; transition: opacity .22s ease-out, transform .32s ease-out; }
.slide--dark, .slide--system, .slide--cream, .slide--paper { background: var(--ink); }
.slide--paper { background: var(--paper); color: var(--t-paper); }
.slide--system, .slide--cream { background: var(--cream); color: var(--t-paper); }
.slide--dark, .slide--close { background: var(--ink); color: var(--t-dark); }
.slide--cover { background: var(--ink); }
.slide--flagship { background: var(--paper); color: var(--t-paper); }
.slide--proof { background: var(--ink-2); color: var(--t-dark); }
.slide--proof::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 60% at 78% 30%, rgba(201,154,74,.08), transparent 60%);
}
.slide--close { background: var(--forest); color: var(--t-dark); }

.slide-scroll {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: calc(var(--chrome-h) + clamp(16px, 2vw, 30px)) var(--pad) calc(var(--dock-h) + clamp(18px, 2.4vw, 34px));
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, currentColor 28%, transparent) transparent;
}
.slide-scroll::-webkit-scrollbar { width: 8px; }
.slide-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, currentColor 24%, transparent); border-radius: 8px; }
.slide--center .slide-scroll { display: flex; flex-direction: column; }
.slide--center .slide-scroll > :first-child { margin-top: auto; }
.slide--center .slide-scroll > :last-child { margin-bottom: auto; }

.slide-head { margin: 0 0 clamp(18px, 2.1vw, 34px); }
.kicker {
  margin: 0 0 14px; font-family: var(--mono); font-size: var(--label);
  letter-spacing: .16em; color: color-mix(in srgb, currentColor 64%, transparent);
}
.kicker span { color: var(--brass); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .78fr); gap: clamp(22px, 3.4vw, 62px); align-items: end; }
.section-title {
  margin: 0; font-family: var(--font); font-weight: 500;
  font-size: var(--h2); line-height: .99; letter-spacing: -.045em;
  text-wrap: balance;
}
.section-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.head-note {
  margin: 0 0 4px; max-width: 52ch;
  font-size: var(--body); line-height: 1.42;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.source, .mini-note, .roadmap-foot, .tiers-foot, .proof-source {
  font-family: var(--mono); font-size: clamp(13px, .82vw, 14px);
  letter-spacing: .06em; line-height: 1.5;
  color: color-mix(in srgb, currentColor 56%, transparent);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent; border-radius: 2px;
  padding: 13px 18px;
  font-family: var(--mono); font-size: clamp(13px, .84vw, 14px);
  letter-spacing: .08em; text-transform: uppercase;
  background: transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--gold { background: var(--brass); color: #1a1206; border-color: var(--brass); }
.btn--gold:hover { background: var(--brass-b); transform: translateY(-1px); }
.btn--ghost { border-color: color-mix(in srgb, currentColor 30%, transparent); color: inherit; }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-b); }
.btn--full { width: 100%; justify-content: center; }

/* ---------- cover ---------- */
.cover-scroll { display: flex; flex-direction: column; justify-content: center; }
.cover-grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(18px, 3vw, 56px); align-items: center;
  padding-top: clamp(4px, 1.4vh, 18px);
}
.cover-copy { max-width: 760px; }
.cover-title {
  margin: 0 0 clamp(16px, 2vh, 26px);
  font-size: var(--h1); line-height: .88; letter-spacing: -.055em; font-weight: 500;
  text-wrap: balance;
}
.cover-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-b); letter-spacing: -.025em; }
.cover-lede {
  margin: 0 0 clamp(20px, 2.6vh, 32px); max-width: 46ch;
  font-size: clamp(17px, 1.39vw, 22px); line-height: 1.45;
  color: var(--t-dark-mut);
}
.cover-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(22px, 3.2vh, 40px); }
.cover-facts {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6vw, 42px);
  margin: 0; padding-top: 18px;
  border-top: 1px solid rgba(246,241,231,.16);
}
.cover-facts dt { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--brass); text-transform: uppercase; margin-bottom: 4px; }
.cover-facts dd { margin: 0; font-size: clamp(14px, .95vw, 16.5px); color: var(--t-dark); }

.cover-stage {
  position: relative; height: min(64vh, 640px); min-height: 380px;
  border-radius: 2px; overflow: hidden;
  background:
    radial-gradient(60% 55% at 62% 38%, rgba(88,140,86,.30), transparent 62%),
    radial-gradient(50% 42% at 30% 80%, rgba(201,154,74,.16), transparent 60%),
    linear-gradient(160deg, #0b1a12 0%, #07110c 60%, #050c08 100%);
  border: 1px solid rgba(201,154,74,.18);
}
.cover-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background-image: radial-gradient(rgba(246,241,231,.16) .6px, transparent .7px);
  background-size: 4px 4px; opacity: .22; mix-blend-mode: soft-light;
}
.cover-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.cover-stage.is-live canvas { opacity: 1; }
.cover-stage.is-live .cover-fallback { opacity: 0; pointer-events: none; }
.cover-fallback {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: clamp(20px, 3vw, 40px);
  transition: opacity .5s;
}
.sign-plaque {
  width: min(92%, 620px);
  padding: clamp(16px, 2.4vw, 30px) clamp(16px, 2.6vw, 34px);
  background: #f7f1e3;
  border: 9px solid #1e4a31;
  box-shadow:
    0 2px 0 #e9dfcb inset, 0 -2px 0 #d9cdb7 inset,
    0 30px 60px rgba(0,0,0,.55), 0 0 0 2px #c99a4a,
    0 0 80px rgba(201,154,74,.18);
  transform: rotate(-1.2deg);
}
.sign-plaque img { width: 100%; height: auto; }
.stage-caption {
  margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .1em;
  color: var(--t-dark-mut); text-align: center; text-transform: uppercase;
}
.stage-caption span { color: var(--brass); }
.stage-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 4; box-shadow: inset 0 0 120px 30px rgba(4,10,7,.72); }
.stage-hint {
  position: absolute; left: 16px; bottom: 14px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em;
  color: rgba(246,241,231,.58);
  transition: opacity .6s;
}
.stage-hint .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 10px var(--brass); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.cover-stage.is-live .stage-hint { opacity: .85; }

.cover-ticker {
  display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); flex-wrap: wrap;
  margin-top: clamp(14px, 2.2vh, 26px); padding-top: 16px;
  border-top: 1px solid rgba(246,241,231,.14);
  font-family: var(--mono); font-size: clamp(11px, .74vw, 12.5px); letter-spacing: .13em;
  color: rgba(246,241,231,.62);
}
.cover-ticker i { width: 3px; height: 3px; border-radius: 50%; background: var(--brass); opacity: .9; }

/* ---------- audit ---------- */
.audit-grid { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, .78fr); gap: clamp(18px, 2.6vw, 42px); align-items: start; }
.findings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(16px, 2vw, 32px); border-top: 1px solid rgba(25,35,28,.2); }
.finding { padding: clamp(10px, 1vw, 13px) 0 clamp(11px, 1.1vw, 15px); border-bottom: 1px solid rgba(25,35,28,.16); }
.finding-top { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.f-num { font-family: var(--mono); font-size: 13px; color: var(--brass-d); letter-spacing: .08em; }
.sev { font-family: var(--mono); font-size: 13px; letter-spacing: .13em; padding: 2px 6px; border: 1px solid rgba(158,59,42,.5); color: var(--rust); border-radius: 2px; }
.finding:not(.finding--critical) .sev { border-color: rgba(25,35,28,.26); color: var(--t-paper-mut); }
.finding h3 { margin: 0 0 5px; font-size: clamp(20px, 1.32vw, 26px); line-height: 1.14; letter-spacing: -.02em; font-weight: 600; }
.finding p { margin: 0 0 6px; font-size: clamp(16.5px, 1.23vw, 20.5px); line-height: 1.42; color: rgba(25,35,28,.82); }
.finding .source { margin: 0; color: rgba(25,35,28,.5); }

.audit-evidence { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.phone-frame {
  width: min(100%, 176px); margin-left: auto; position: relative;
  border: 6px solid #1c2a21; border-radius: 20px; overflow: hidden;
  background: #fff; box-shadow: 0 16px 34px rgba(25,35,28,.24);
}
.phone-frame img { width: 100%; }
.phone-notch { position: absolute; z-index: 2; top: 5px; left: 50%; transform: translateX(-50%); width: 62px; height: 7px; border-radius: 6px; background: #1c2a21; }
.audit-evidence figcaption { font-family: var(--mono); font-size: 13px; line-height: 1.5; letter-spacing: .04em; color: rgba(25,35,28,.64); }
.audit-evidence figcaption b { color: var(--rust); letter-spacing: .12em; }
.audit-evidence figcaption span { display: block; color: rgba(25,35,28,.46); }
.audit-desktop { border-top: 1px solid rgba(25,35,28,.2); padding-top: 12px; }
.audit-desktop img { border: 1px solid rgba(25,35,28,.18); width: 100%; height: 150px; object-fit: cover; object-position: top center; }
.audit-desktop p { margin: 7px 0 0; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: rgba(25,35,28,.6); }
.audit-desktop p span { color: rgba(25,35,28,.42); }

/* ---------- gap ---------- */
.gap-grid { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: clamp(16px, 2.2vw, 34px); align-items: stretch; }
.path { border: 1px solid rgba(246,241,231,.18); padding: clamp(16px, 1.9vw, 26px); display: flex; flex-direction: column; background: rgba(246,241,231,.025); }
.path--next { border-color: rgba(201,154,74,.55); background: linear-gradient(180deg, rgba(201,154,74,.1), rgba(201,154,74,.02)); }
.path header { margin-bottom: 14px; }
.path-tag { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--brass); }
.path--now .path-tag { color: var(--t-dark-mut); }
.path h3 { margin: 6px 0 0; font-size: clamp(21px, 1.45vw, 26px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.path ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.path li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; font-size: clamp(16.5px, 1.25vw, 20.5px); line-height: 1.32; color: var(--t-dark-mut); }
.path li span { font-family: var(--mono); font-size: 13px; color: var(--brass); padding-top: 3px; }
.path--now li span { color: rgba(246,241,231,.4); }
.path-foot { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: rgba(246,241,231,.5); }
.gap-cta { margin-top: 16px; }
.gap-stat { border-left: 2px solid var(--brass); padding: 4px 0 4px clamp(16px, 1.8vw, 26px); display: flex; flex-direction: column; justify-content: center; }
.stat-label { margin: 0 0 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--brass); }
.stat-big { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(64px, 6.4vw, 108px); line-height: .82; letter-spacing: -.03em; color: var(--t-dark); }
.stat-big span { display: block; margin-top: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--t-dark-mut); }
.stat-copy { margin: 0 0 16px; font-size: clamp(16.5px, 1.23vw, 20px); line-height: 1.45; color: var(--t-dark-mut); }

.gap-quote {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(18px, 3vw, 48px); align-items: end;
  margin: clamp(22px, 3.4vh, 40px) 0 0; padding-top: clamp(16px, 2.2vh, 26px);
  border-top: 1px solid rgba(246,241,231,.18);
}
.gap-quote p {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 2.5vw, 42px); line-height: 1.12; letter-spacing: -.02em;
  color: var(--t-dark);
}
.gap-quote cite {
  font-style: normal; font-family: var(--mono); font-size: clamp(10.5px, .74vw, 12px);
  letter-spacing: .12em; line-height: 1.5; color: var(--brass);
  text-align: right;
}

/* ---------- flagship mockup ---------- */
.flagship-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(236px, 20.5vw, 330px); gap: clamp(14px, 1.9vw, 28px); align-items: start; }
.browser {
  display: flex; flex-direction: column;
  height: clamp(470px, 60vh, 640px);
  background: #fff; border: 1px solid rgba(25,35,28,.24); border-radius: 5px;
  box-shadow: 0 26px 60px rgba(25,35,28,.22);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #e9e2d3; border-bottom: 1px solid rgba(25,35,28,.16); }
.lights { display: flex; gap: 5px; }
.lights i { width: 8px; height: 8px; border-radius: 50%; background: #b9ad97; display: block; }
.lights i:first-child { background: #b5685a; }
.lights i:nth-child(2) { background: #c6a45d; }
.url { flex: 1; display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 13px; color: rgba(25,35,28,.7); background: #f7f2e7; padding: 4px 9px; border-radius: 3px; }
.lock { width: 6px; height: 7px; border: 1px solid rgba(25,35,28,.5); border-radius: 1px; position: relative; display: inline-block; }
.lock::before { content: ""; position: absolute; left: 1px; top: -4px; width: 3px; height: 4px; border: 1px solid rgba(25,35,28,.5); border-bottom: 0; border-radius: 3px 3px 0 0; }
.browser-note { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--brass-d); }

.mini-site { flex: 1; display: flex; flex-direction: column; min-height: 0; color: #1c2a20; background: #fbf7ee; font-size: 14px; }
.mini-head { display: flex; align-items: center; gap: 14px; padding: 8px 12px; background: #fff; border-bottom: 1px solid rgba(25,35,28,.14); }
.mini-logo { display: block; flex: 0 0 auto; }
.mini-logo img { height: 34px; width: auto; }
.mini-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mini-tabs::-webkit-scrollbar { display: none; }
.mini-tab { background: none; border: 0; padding: 6px 8px; font-size: 13px; color: #4b5a4f; border-bottom: 2px solid transparent; white-space: nowrap; }
.mini-tab:hover { color: #1d3b27; }
.mini-tab.is-on { color: #1d3b27; border-bottom-color: #3d6a33; font-weight: 600; }
.mini-call { margin-left: auto; font-family: var(--mono); font-size: 13px; white-space: nowrap; color: #3d6a33; }
.mini-body { flex: 1; overflow-y: auto; overscroll-behavior-y: auto; }
.mini-view { display: none; padding: 14px; }
.mini-view.is-on { display: block; }
.mini-eyebrow { margin: 0 0 7px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #4e7a45; }
.mini-view h3 { margin: 0 0 8px; font-size: clamp(21px, 1.55vw, 27px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; color: #17281d; }
.mini-p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; color: #40503f; }

.mini-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: stretch; margin-bottom: 12px; }
.mini-hero-copy { padding: 4px 0; }
.mini-hero-copy p { margin: 0 0 10px; font-size: 13px; line-height: 1.42; color: #40503f; }
.mini-hero-img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; border-radius: 2px; }
.mini-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn { background: #2f5a2b; color: #f7f2e7; border: 1px solid #2f5a2b; padding: 7px 11px; border-radius: 2px; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.mini-btn:hover { background: #3d6a33; }
.mini-btn--line { background: transparent; color: #2f5a2b; border-color: #8ba184; }
.mini-btn--line:hover { background: #eef1e6; }
.mini-btn--wait { width: 100%; justify-content: center; display: flex; }
.mini-link { background: none; border: 0; padding: 0; font-size: 13px; color: #2f5a2b; font-weight: 600; }
.mini-link:hover { color: #1d3b27; text-decoration: underline; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-card { background: #fff; border: 1px solid #e2dac9; padding: 10px; border-radius: 2px; }
.mini-card--next { border-color: #c99a4a; background: #fffaf0; }
.mini-label { margin: 0 0 5px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: #6b7d68; }
.mini-card h4 { margin: 0 0 4px; font-size: 15px; line-height: 1.15; color: #17281d; }
.mini-card p { margin: 0 0 7px; font-size: 13px; line-height: 1.35; color: #4a5a49; }

.mini-split { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; align-items: start; }
.price-list { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid #ddd3c0; }
.price-list li { padding: 7px 0; border-bottom: 1px solid #e5dcc9; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.price-list li span { font-size: 13px; font-weight: 600; color: #1d2c21; }
.price-list li b { font-family: var(--mono); font-size: 13px; color: #3d6a33; }
.price-list li em { grid-column: 1 / -1; font-style: normal; font-size: 13px; color: #6a7768; }
.mini-aside { display: flex; flex-direction: column; gap: 8px; }
.mini-aside img { width: 100%; height: 128px; object-fit: cover; border-radius: 2px; }
.mini-request { background: #fff; border: 1px solid #d9cdb7; padding: 10px; }
.mini-request h4 { margin: 0 0 5px; font-size: 14px; color: #17281d; }
.mini-request p { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #4a5a49; }
.mini-field { display: block; margin-bottom: 6px; }
.mini-field span { display: block; font-size: 13px; letter-spacing: .06em; color: #6b7d68; margin-bottom: 2px; font-family: var(--mono); }
.mini-field input { width: 100%; padding: 5px 7px; font-size: 13px; border: 1px solid #cfc4ae; border-radius: 2px; background: #fdfbf6; }
.mini-field input:focus { outline: 2px solid #3d6a33; outline-offset: 1px; }
.mini-status { margin: 6px 0 0; font-size: 13px; line-height: 1.35; color: #2f5a2b; min-height: 0; }
.mini-status.is-on { color: #2f5a2b; font-weight: 600; }

.mini-facts { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 9px; }
.mini-facts span { font-family: var(--mono); font-size: 13px; letter-spacing: .05em; padding: 3px 6px; border: 1px solid #cfc4ae; border-radius: 2px; color: #3d523f; }
.mini-cal { border: 1px solid #ddd3c0; background: #fff; padding: 8px; }
.mini-cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: #3d523f; }
.mini-cal-head span { color: #a37a2f; font-size: 13px; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dow { font-family: var(--mono); font-size: 13px; text-align: center; color: #8a917f; padding-bottom: 2px; }
.day { position: relative; min-height: 24px; font-size: 13px; text-align: center; padding-top: 3px; color: #37402f; border-radius: 2px; }
.day.is-muted { color: #b3ae9f; }
.day.has-class { background: #eef1e6; cursor: pointer; font-weight: 700; color: #2f5a2b; }
.day.has-class i { display: block; font-style: normal; font-family: var(--mono); font-size: 13px; color: #6b7d68; }
.day.is-selected { background: #2f5a2b; color: #fff; }
.day.is-selected i { color: #dbe6d2; }
.mini-note { margin: 8px 0; font-size: 13px; line-height: 1.4; color: #6a7768; }

.mini-aside--class { display: grid; grid-template-columns: 1fr; gap: 8px; }
.class-card { background: #fff; border: 1px solid #c99a4a; padding: 11px; }
.class-card h4 { margin: 0 0 3px; font-size: 16px; color: #17281d; }
.class-time { margin: 0 0 8px; font-size: 13px; color: #4a5a49; }
.class-card dl { margin: 0 0 9px; display: grid; gap: 4px; }
.class-card dl div { display: flex; justify-content: space-between; border-bottom: 1px dotted #ddd3c0; padding-bottom: 3px; }
.class-card dt { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: #6b7d68; }
.class-card dd { margin: 0; font-size: 13px; font-weight: 600; color: #1d2c21; }
.class-card .mini-btn { width: 100%; }
.mini-trainer { margin: 0; }
.mini-trainer img { width: 100%; height: 96px; object-fit: cover; }
.mini-trainer figcaption { margin-top: 5px; font-size: 13px; line-height: 1.4; color: #6a7768; }
.mini-trainer b { color: #2f5a2b; }

.wash-figures { display: flex; gap: 8px; margin-bottom: 10px; }
.wash-figures div { border: 1px solid #ddd3c0; background: #fff; padding: 7px 9px; flex: 1; }
.wash-figures b { display: block; font-size: 17px; color: #2f5a2b; letter-spacing: -.02em; }
.wash-figures span { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: #6b7d68; }
.wash-steps { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.wash-steps li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; font-size: 13px; color: #40503f; }
.wash-steps span { font-family: var(--mono); font-size: 13px; color: #2f5a2b; border: 1px solid #c9d3c0; border-radius: 50%; width: 16px; height: 16px; display: grid; place-items: center; }
.mini-wash-fig { margin: 0; }
.mini-wash-fig img { width: 100%; height: 240px; object-fit: cover; border-radius: 2px; }
.mini-wash-fig figcaption { margin-top: 5px; font-size: 13px; line-height: 1.4; color: #6a7768; }
.mini-wash-fig figcaption span { display: block; color: #8a917f; }
.rescue-stats { display: flex; gap: 6px; margin: 4px 0 10px; }
.rescue-stats div { flex: 1; border: 1px solid #ddd3c0; background: #fff; padding: 7px; }
.rescue-stats b { display: block; font-family: var(--mono); font-size: 13px; color: #2f5a2b; }
.rescue-stats span { font-size: 13px; line-height: 1.3; color: #6b7d68; }

.concept-detail { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.detail-kicker { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--brass-d); }
.detail-panel { display: none; }
.detail-panel.is-on { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.detail-panel h3 { margin: 0 0 7px; font-size: clamp(19px, 1.35vw, 24px); line-height: 1.1; letter-spacing: -.03em; }
.detail-panel p { margin: 0 0 9px; font-size: clamp(16px, 1.14vw, 17.5px); line-height: 1.42; color: rgba(25,35,28,.78); }
.detail-panel ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(25,35,28,.18); }
.detail-panel li { padding: 6px 0; border-bottom: 1px solid rgba(25,35,28,.13); font-size: clamp(14px, .88vw, 15.5px); color: rgba(25,35,28,.72); }
.detail-panel li::before { content: ""; display: inline-block; width: 12px; height: 2px; background: var(--brass-d); margin: 0 10px 4px 0; vertical-align: middle; }
.detail-note { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.45; color: rgba(25,35,28,.48); }

.concept-phone { margin-top: 2px; width: min(100%, 236px); align-self: flex-end; }
.phone-screen {
  border: 6px solid #1c2a21; border-radius: 18px; background: #fbf7ee; color: #1c2a20;
  padding: 8px; box-shadow: 0 14px 26px rgba(25,35,28,.2);
}
.ps-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; color: #6a7768; margin-bottom: 7px; }
.ps-logo { font-weight: 700; letter-spacing: .08em; color: #2f5a2b; }
.ps-eyebrow { margin: 0 0 3px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #4e7a45; }
.phone-screen h4 { margin: 0 0 6px; font-size: 13px; line-height: 1.08; letter-spacing: -.03em; color: #17281d; }
.ps-card { background: #fff; border: 1px solid #c99a4a; padding: 6px; margin-bottom: 5px; }
.ps-card span { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: #a37a2f; margin-bottom: 2px; }
.ps-card b { display: block; font-size: 13px; color: #17281d; }
.ps-card em { font-style: normal; font-size: 13px; color: #5c6a59; }
.ps-row { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; border-bottom: 1px solid #e3dac8; color: #40503f; }
.ps-row b { color: #2f5a2b; }
.ps-cta { margin-top: 6px; background: #2f5a2b; color: #fff; text-align: center; font-size: 13px; padding: 5px; border-radius: 2px; }
.ps-foot { margin: 5px 0 0; font-family: var(--mono); font-size: 13px; color: #6a7768; text-align: center; }

/* ---------- system ---------- */
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(25,35,28,.18); border: 1px solid rgba(25,35,28,.18); }
.sys-card { background: var(--cream); padding: clamp(15px, 1.55vw, 22px); display: flex; flex-direction: column; }
.sys-num { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--brass-d); margin-bottom: 12px; }
.sys-card h3 { margin: 0 0 6px; font-size: clamp(23px, 1.55vw, 30px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; }
.sys-card p { margin: 0 0 10px; font-size: clamp(16.5px, 1.25vw, 20.5px); line-height: 1.44; color: rgba(25,35,28,.78); }
.sys-card .sys-out { margin: auto 0 0; padding-top: 9px; border-top: 1px solid rgba(25,35,28,.18); font-family: var(--mono); font-size: 13px; line-height: 1.4; color: var(--brass-d); }

.system-band {
  display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1.18fr) minmax(0, .9fr);
  gap: clamp(16px, 2.6vw, 44px); align-items: center;
  margin-top: clamp(16px, 2.4vh, 28px); padding-top: clamp(14px, 1.9vh, 22px);
  border-top: 2px solid rgba(25,35,28,.2);
}
.band-kicker { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--brass-d); }
.band-line { margin: 0; font-size: clamp(24px, 2.1vw, 36px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.band-line em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-d); }
.band-copy { margin: 0; font-size: clamp(15.5px, .98vw, 18px); line-height: 1.42; color: rgba(25,35,28,.74); }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(22px, 3.2vw, 56px); align-items: start; }
.proof-pair { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(10px, 1.2vw, 18px); align-items: stretch; max-width: 780px; }
.proof-side { margin: 0; display: flex; flex-direction: column; }
.proof-side figcaption {
  display: block; margin-bottom: 8px; font-family: var(--mono);
  font-size: 13px; letter-spacing: .09em; line-height: 1.4; color: rgba(246,241,231,.46);
}
.proof-side figcaption span { display: block; color: var(--brass); letter-spacing: .13em; }
.proof-phone { border: 5px solid #1c2a21; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.proof-phone img { width: 100%; display: block; }
.proof-side > p { margin: 8px 0 0; font-size: clamp(12.5px, .8vw, 14px); line-height: 1.4; color: rgba(246,241,231,.52); }
.proof-side--after .after-card {
  height: auto; flex: 1; min-height: 0;
  border: 1px solid rgba(201,154,74,.55);
  padding: clamp(14px, 1.6vw, 22px);
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, #fbf7ee, #efe7d7); color: var(--t-paper);
}
.after-card h3 { margin: 0 0 10px; font-size: clamp(23px, 1.85vw, 31px); line-height: .98; letter-spacing: -.04em; }
.after-meta { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.after-meta span { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; border: 1px solid rgba(25,35,28,.24); padding: 3px 5px; color: rgba(25,35,28,.8); }
.after-session { border-top: 1px solid rgba(25,35,28,.2); border-bottom: 1px solid rgba(25,35,28,.2); padding: 9px 0; margin-bottom: 12px; }
.after-session b { display: block; font-size: clamp(14px, .98vw, 16.5px); margin-bottom: 3px; }
.after-session span { font-size: 13px; color: rgba(25,35,28,.64); }
.after-card .mini-btn { align-self: flex-start; background: var(--forest); border-color: var(--forest); padding: 9px 12px; font-size: 13px; }
.after-trainer { margin: 11px 0 0; font-size: 13px; line-height: 1.4; color: rgba(25,35,28,.66); }
.after-note { margin: 6px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: rgba(25,35,28,.44); }
.proof-notes { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(246,241,231,.2); }
.proof-note { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(246,241,231,.16); }
.proof-note span { font-family: var(--mono); font-size: 13px; letter-spacing: .13em; color: var(--brass); padding-top: 3px; }
.proof-note p { margin: 0; font-size: clamp(16.5px, 1.2vw, 19.5px); line-height: 1.42; color: var(--t-dark-mut); }
.proof-source { margin: 14px 0 0; color: rgba(246,241,231,.42); }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 30px); }
.phase { border-top: 2px solid var(--brass); padding-top: 14px; }
.phase--build { border-top-color: var(--forest); }
.phase header { margin-bottom: 12px; }
.phase-num { font-family: var(--mono); font-size: 13px; letter-spacing: .13em; color: var(--brass-d); }
.phase h3 { margin: 6px 0 0; font-size: clamp(23px, 1.7vw, 30px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.phase li { font-size: clamp(16.5px, 1.23vw, 20px); line-height: 1.4; color: rgba(25,35,28,.76); }
.phase li b { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--t-paper); margin-bottom: 2px; text-transform: uppercase; }
.roadmap-foot { margin: 18px 0 0; color: rgba(25,35,28,.56); }

.launch-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(20px, 3vh, 34px);
  background: rgba(25,35,28,.2); border: 1px solid rgba(25,35,28,.2);
}
.launch-strip div { background: var(--paper); padding: clamp(12px, 1.4vw, 18px); }
.launch-strip span { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--brass-d); margin-bottom: 6px; }
.launch-strip b { display: block; font-size: clamp(16px, 1.14vw, 18px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }

/* ---------- engagement ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); align-items: stretch; }
.tier { border: 1px solid rgba(25,35,28,.22); padding: clamp(16px, 1.8vw, 26px); display: flex; flex-direction: column; background: rgba(255,255,255,.22); }
.tier--rec { background: var(--forest); color: var(--t-dark); border-color: var(--forest); position: relative; }
.tier-badge { position: absolute; top: -1px; right: -1px; background: var(--brass); color: #1a1206; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; padding: 5px 9px; }
.tier-kicker { margin: 0 0 8px; font-family: var(--mono); font-size: 13px; letter-spacing: .13em; color: var(--brass-d); }
.tier--rec .tier-kicker { color: var(--brass-b); }
.tier h3 { margin: 0 0 8px; font-size: clamp(23px, 1.65vw, 30px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; }
.tier-for { margin: 0 0 12px; font-size: clamp(16px, 1.14vw, 17.5px); line-height: 1.4; color: rgba(25,35,28,.62); }
.tier--rec .tier-for { color: rgba(246,241,231,.66); }
.tier ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; flex: 1; }
.tier li { font-size: clamp(16px, 1.16vw, 19px); line-height: 1.34; padding-left: 16px; position: relative; color: rgba(25,35,28,.82); }
.tier li::before { content: "·"; position: absolute; left: 2px; color: var(--brass-d); font-size: 20px; line-height: 1; top: 0; }
.tier--rec li { color: rgba(246,241,231,.86); }
.tier--rec li::before { color: var(--brass); }
.tier-note { margin: 0; padding-top: 10px; border-top: 1px solid rgba(25,35,28,.2); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: rgba(25,35,28,.56); }
.tier--rec .tier-note { border-top-color: rgba(246,241,231,.2); color: rgba(246,241,231,.62); }
.tiers-foot { margin: 16px 0 0; color: rgba(25,35,28,.52); }

.engagement-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 30px);
  margin-top: clamp(20px, 3vh, 34px); padding-top: clamp(14px, 2vh, 22px);
  border-top: 2px solid rgba(25,35,28,.22);
}
.engagement-band span { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .13em; color: var(--brass-d); margin-bottom: 5px; }
.engagement-band p { margin: 0; font-size: clamp(15px, .98vw, 17.5px); line-height: 1.4; color: rgba(25,35,28,.74); }

/* ---------- close ---------- */
.slide--close .slide-scroll { display: flex; flex-direction: column; }
.close-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(20px, 3.4vw, 60px); align-items: center; }
.close-main .section-title { margin-bottom: 12px; }
.close-lede { margin: 0 0 clamp(16px, 2.4vh, 28px); max-width: 48ch; font-size: clamp(16.5px, 1.28vw, 21px); line-height: 1.42; color: var(--t-dark-mut); }
.rep-card { display: grid; grid-template-columns: clamp(140px, 12vw, 190px) 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; padding: clamp(12px, 1.4vw, 18px); background: rgba(246,241,231,.055); border: 1px solid rgba(246,241,231,.16); }
.rep-portrait { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: 2px; }
.rep-copy { display: flex; flex-direction: column; min-width: 0; }
.rep-name { margin: 0; font-size: clamp(22px, 1.7vw, 30px); line-height: 1.05; letter-spacing: -.03em; }
.rep-role { margin: 3px 0 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--brass); }
.rep-msg { margin: 0 0 12px; font-size: clamp(14.5px, .95vw, 16.5px); line-height: 1.46; color: var(--t-dark-mut); }
.rep-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; }
.rep-links a { font-size: clamp(14px, .92vw, 16px); text-decoration: none; border-bottom: 1px solid rgba(201,154,74,.5); padding-bottom: 2px; }
.rep-links a:hover { color: var(--brass-b); }
.location-line { margin: 14px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: rgba(246,241,231,.44); }

.scheduler { background: rgba(7,17,12,.38); border: 1px solid rgba(201,154,74,.35); padding: clamp(16px, 1.9vw, 26px); }
.sched-kicker { margin: 0 0 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .15em; color: var(--brass); }
.scheduler h3 { margin: 0 0 14px; font-size: clamp(21px, 1.55vw, 27px); line-height: 1.08; letter-spacing: -.03em; font-weight: 400; }
.sched-field { margin-bottom: 10px; }
.sched-field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--t-dark-mut); margin-bottom: 4px; text-transform: uppercase; }
.sched-field label span { font-size: 13px; color: rgba(246,241,231,.4); letter-spacing: .06em; }
.sched-field select, .time-btn { width: 100%; background: rgba(246,241,231,.06); border: 1px solid rgba(246,241,231,.24); color: var(--t-dark); padding: 8px 10px; border-radius: 2px; font-size: clamp(13px, .86vw, 14.5px); }
.sched-field select:focus-visible, .time-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.time-btn { text-align: center; }
.time-btn.is-on { background: var(--brass); border-color: var(--brass); color: #1a1206; font-weight: 600; }
.sched-status { margin: 9px 0 0; font-size: 13px; line-height: 1.4; color: rgba(246,241,231,.56); }
.sched-status.is-on { color: var(--brass-b); }
.sched-draft { display: inline-block; margin-top: 7px; font-size: 13px; color: var(--brass-b); text-decoration: underline; text-underline-offset: 3px; }
.sched-fine { margin: 12px 0 0; font-family: var(--mono); font-size: 13px; line-height: 1.5; color: rgba(246,241,231,.36); }

/* ---------- dock / rail ---------- */
.deck-dock {
  position: fixed; inset: auto 0 0 0; z-index: 70; height: var(--dock-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--ink); color: var(--t-dark);
  border-top: 1px solid rgba(246,241,231,.14);
  transition: background .45s var(--ease), color .45s var(--ease);
}
body[data-theme="paper"] .deck-dock, body[data-theme="cream"] .deck-dock { background: var(--paper); color: var(--t-paper); border-top-color: rgba(25,35,28,.18); }
.dock-btn { background: none; border: 1px solid color-mix(in srgb, currentColor 24%, transparent); color: inherit; padding: 8px 13px; border-radius: 2px; font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.dock-btn:hover:not(:disabled) { border-color: var(--brass); color: var(--brass-d); }
body[data-theme="dark"] .dock-btn:hover, body[data-theme="close"] .dock-btn:hover { color: var(--brass-b); }
.dock-btn:disabled { opacity: .32; cursor: default; }
.dock-mid { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--label); letter-spacing: .1em; }
.dock-slide { color: var(--brass); }
.dock-rule { width: 42px; height: 1px; background: color-mix(in srgb, currentColor 30%, transparent); }
.dock-total { opacity: .55; }
.dock-note { margin-left: 14px; padding-left: 14px; border-left: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 13px; letter-spacing: .11em; opacity: .48; }

.slide-rail { position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 7px; }
.rail-dot { width: 4px; height: 13px; border: 0; padding: 0; background: color-mix(in srgb, currentColor 26%, transparent); border-radius: 1px; transition: height .25s, background .25s; }
.rail-dot.is-on { height: 26px; background: var(--brass); }
body[data-theme="paper"] .rail-dot, body[data-theme="cream"] .rail-dot { background: rgba(25,35,28,.24); }
body[data-theme="paper"] .rail-dot.is-on, body[data-theme="cream"] .rail-dot.is-on { background: var(--brass-d); }

/* ---------- index ---------- */
.index-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(7,17,12,.94); color: var(--t-dark); overflow-y: auto; padding: clamp(20px, 4vw, 64px); }
.index-overlay[hidden] { display: none; }
.index-panel { max-width: 1240px; margin: 0 auto; }
.index-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.index-head h2 { margin: 0; font-size: clamp(30px, 3vw, 48px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.index-head h2 em { font-family: var(--serif); font-style: italic; color: var(--brass-b); }
.index-close { background: none; border: 1px solid rgba(246,241,231,.28); color: var(--t-dark); padding: 8px 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; }
.index-close:hover { border-color: var(--brass); color: var(--brass-b); }
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.index-card { text-align: left; background: rgba(246,241,231,.045); border: 1px solid rgba(246,241,231,.16); padding: 15px; color: var(--t-dark); display: flex; flex-direction: column; gap: 6px; min-height: 118px; transition: border-color .2s, background .2s; }
.index-card:hover { border-color: var(--brass); background: rgba(201,154,74,.1); }
.index-card.is-on { border-color: var(--brass); }
.index-card span { font-family: var(--mono); font-size: 13px; letter-spacing: .13em; color: var(--brass); }
.index-card b { font-size: clamp(16px, 1.31vw, 20px); line-height: 1.16; font-weight: 500; letter-spacing: -.02em; }
.index-card em { font-style: normal; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: rgba(246,241,231,.42); margin-top: auto; }
.index-foot { margin: 22px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: rgba(246,241,231,.4); }

/* ---------- fx ---------- */
.flash { position: fixed; inset: 0; z-index: 85; background: radial-gradient(circle at 62% 42%, #fff8e6 0%, #e8c98a 26%, rgba(201,154,74,.5) 42%, transparent 68%); opacity: 0; pointer-events: none; }
.flash.is-on { animation: flash .62s ease-out forwards; }
@keyframes flash { 0% { opacity: 0; transform: scale(.7); } 12% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
.shake-layer { position: fixed; inset: 0; pointer-events: none; z-index: 84; }
/* wash-line sweep between ordinary slides: a soft spray band and suds, reversed on Previous */
.wash-sweep { position: fixed; inset: 0; z-index: 65; pointer-events: none; overflow: hidden; opacity: 0; }
.wash-sweep::before {
  content: ""; position: absolute; top: -4%; bottom: -4%; left: 0; width: 34vw;
  background: linear-gradient(90deg, transparent 0%, rgba(214,246,234,.12) 30%, rgba(255,255,255,.5) 52%, rgba(214,246,234,.16) 72%, transparent 100%);
  transform: translate3d(-120vw, 0, 0);
}
.wash-sweep::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background-image: radial-gradient(rgba(255,255,255,.7) 1.6px, transparent 2.2px);
  background-size: 34px 28px;
}
.wash-sweep.is-on { opacity: 1; }
.wash-sweep.is-on::before { animation: washSweepFwd .66s cubic-bezier(.2,.7,.2,1) forwards; }
.wash-sweep.is-on.is-back::before { animation-name: washSweepBack; }
.wash-sweep.is-on::after { animation: washSuds .66s ease-out forwards; }
@keyframes washSweepFwd { from { transform: translate3d(-120vw, 0, 0); } to { transform: translate3d(220vw, 0, 0); } }
@keyframes washSweepBack { from { transform: translate3d(220vw, 0, 0); } to { transform: translate3d(-120vw, 0, 0); } }
@keyframes washSuds { 0% { opacity: 0; } 25% { opacity: .55; } 100% { opacity: 0; } }
.debris { position: fixed; inset: 0; z-index: 86; pointer-events: none; overflow: hidden; }
.debris i { position: absolute; display: block; will-change: transform, opacity; }
body.is-shaking .slide.is-active { animation: shake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, -2px, 0); }
  30%, 50%, 70% { transform: translate3d(-7px, 2px, 0); }
  40%, 60% { transform: translate3d(7px, -1px, 0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .head-row { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 26px; }
  .audit-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: 20px; }
  .finding p { font-size: 14px; }
  .flagship-grid { grid-template-columns: minmax(0, 1fr) 250px; }
  .concept-phone { width: 210px; }
  .mini-hero { grid-template-columns: 1fr .8fr; }
}

@media (max-width: 1100px) {
  .head-row { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .head-note { max-width: 64ch; }
  .audit-grid { grid-template-columns: 1fr; }
  .audit-evidence { flex-direction: row; align-items: flex-start; gap: 18px; }
  .phone-frame { width: 180px; margin-left: 0; }
  .audit-desktop { flex: 1; border-top: 0; border-left: 1px solid rgba(25,35,28,.2); padding: 0 0 0 16px; }
  .gap-grid { grid-template-columns: 1fr 1fr; }
  .gap-stat { grid-column: 1 / -1; border-left: 0; border-top: 2px solid var(--brass); padding: 16px 0 0; flex-direction: row; align-items: center; gap: 18px; }
  .gap-stat .stat-label { display: none; }
  .stat-big { font-size: 64px; margin: 0; min-width: 150px; }
  .stat-big span { margin-top: 4px; }
  .stat-copy { margin: 0; }
  .stat-copy + .source { display: none; }
  .flagship-grid { grid-template-columns: 1fr; }
  .browser { height: 600px; }
  .concept-detail { display: grid; grid-template-columns: 1fr 220px; gap: 18px; align-items: start; }
  .detail-kicker { grid-column: 1 / -1; }
  .detail-panel { grid-column: 1; }
  .concept-phone { grid-column: 2; grid-row: 2 / span 2; width: 220px; align-self: start; }
  .detail-note { grid-column: 1; }
  .system-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; gap: 24px; }
  .proof-pair { max-width: 760px; }
  .proof-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .proof-note { grid-template-columns: 78px 1fr; }
  .proof-source { grid-column: 1 / -1; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .roadmap .phase:last-child { grid-column: 1 / -1; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tiers .tier:last-child { grid-column: 1 / -1; }
  .close-grid { grid-template-columns: 1fr; gap: 22px; }
  .scheduler { max-width: 620px; }
}

@media (max-width: 820px) {
  :root {
    --pad: 20px;
    --chrome-h: 58px;
    --dock-h: 62px;
    --body: 16.5px;
    --small: 14px;
    --label: 12.5px;
    --h1: clamp(42px, 12.2vw, 62px);
    --h2: clamp(31px, 8.6vw, 44px);
    --h3: 21px;
  }
  body { font-size: 16.5px; }
  .section-label { display: none; }
  .top-chrome { gap: 10px; height: calc(var(--chrome-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
  .client-word { font-size: 13px; letter-spacing: .08em; }
  .index-trigger { padding: 6px 8px; gap: 8px; font-size: 13px; }
  .index-word { display: none; }
  .slide-scroll { padding: calc(var(--chrome-h) + env(safe-area-inset-top, 0px) + 14px) 20px calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 22px); }
  .slide-head { margin-bottom: 18px; }
  .head-note { font-size: 16px; }
  .section-title { letter-spacing: -.04em; }

  .cover-scroll { justify-content: flex-start; }
  .cover-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 4px; }
  .cover-stage { order: -1; height: 210px; min-height: 0; }
  .sign-plaque { width: min(94%, 380px); padding: 12px 14px; border-width: 6px; }
  .stage-caption { font-size: 13px; }
  .stage-hint { display: none; }
  .cover-title { font-size: clamp(42px, 12.5vw, 58px); margin-bottom: 14px; }
  .cover-lede { font-size: 16.5px; margin-bottom: 18px; }
  .cover-actions { margin-bottom: 20px; gap: 8px; }
  .cover-actions .btn { width: 100%; justify-content: center; }
  .cover-facts { gap: 20px; padding-top: 14px; }
  .cover-facts dt { font-size: 13px; }
  .cover-facts dd { font-size: 14px; }
  .cover-ticker { margin-top: 10px; row-gap: 8px; }
  .cover-ticker i { display: none; }

  .findings { grid-template-columns: 1fr; }
  .finding { padding: 14px 0; }
  .finding h3 { font-size: 18px; }
  .finding p { font-size: 15px; }
  .audit-evidence { flex-direction: column; margin-top: 18px; }
  .phone-frame { width: min(72%, 240px); margin: 0 auto; }
  .audit-desktop { border-left: 0; border-top: 1px solid rgba(25,35,28,.2); padding: 12px 0 0; width: 100%; }

  .gap-grid { grid-template-columns: 1fr; }
  .path { padding: 16px; }
  .path li { font-size: 15.5px; }
  .gap-stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat-big { font-size: 60px; }
  .stat-copy { font-size: 15.5px; }
  .gap-quote { grid-template-columns: 1fr; gap: 10px; }
  .gap-quote p { font-size: 27px; }
  .gap-quote cite { text-align: left; }

  .flagship-grid { gap: 16px; }
  .browser { height: 540px; }
  /* phone/tablet: one vertical scroll context. The nested preview window stops
     swallowing page swipes; the detail panel carries the rest of the concept. */
  .mini-body { overflow-y: hidden; }
  .mini-site { font-size: 13px; }
  .mini-head { flex-wrap: wrap; gap: 6px 10px; padding: 8px 10px; }
  .mini-logo img { height: 28px; }
  .mini-tabs { order: 3; width: 100%; gap: 0; border-top: 1px solid #eee7d8; padding-top: 4px; }
  .mini-tab { font-size: 13px; padding: 6px 7px; }
  .mini-call { font-size: 13px; }
  .mini-view { padding: 11px; }
  .mini-hero { grid-template-columns: 1fr; }
  .mini-hero-img { min-height: 180px; height: 180px; max-height: 180px; object-position: center 42%; }
  .mini-cards { grid-template-columns: 1fr; }
  .mini-split { grid-template-columns: 1fr; }
  .mini-aside { flex-direction: row; align-items: flex-start; }
  .mini-aside img { width: 42%; height: 130px; }
  .mini-request { flex: 1; }
  .mini-aside--class { display: block; }
  .class-card { margin-bottom: 8px; }
  .mini-trainer img { height: 110px; }
  .mini-wash-fig img { height: 180px; }
  .mini-wash-fig { margin-top: 4px; }
  .concept-detail { grid-template-columns: 1fr; }
  .concept-phone { display: none; }
  .detail-panel h3 { font-size: 21px; }
  .detail-panel p { font-size: 15.5px; }
  .detail-panel li { font-size: 14px; }
  .detail-kicker { font-size: 13px; }

  .system-grid { grid-template-columns: 1fr; }
  .sys-card { padding: 16px; }
  .sys-card h3 { font-size: 22px; }
  .sys-card p { font-size: 15.5px; }
  .system-band { grid-template-columns: 1fr; gap: 8px; }
  .system-band .band-kicker { grid-row: auto; padding-top: 0; }
  .band-line, .band-copy { grid-column: 1; }
  .band-line { font-size: 27px; }

  .proof-pair { grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .proof-phone { max-height: 420px; }
  .proof-side > p { font-size: 13px; }
  .proof-side--after .after-card { min-height: 0; }
  .after-card h3 { font-size: 24px; }
  .proof-notes { grid-template-columns: 1fr; }
  .proof-note { grid-template-columns: 82px 1fr; }
  .proof-note p { font-size: 15.5px; }

  .roadmap { grid-template-columns: 1fr; gap: 20px; }
  .roadmap .phase:last-child { grid-column: auto; }
  .phase li { font-size: 15.5px; }
  .launch-strip { grid-template-columns: 1fr 1fr; }
  .launch-strip b { font-size: 15px; }

  .tiers { grid-template-columns: 1fr; }
  .tiers .tier:last-child { grid-column: auto; }
  .tier li { font-size: 15px; }
  .tier-for { font-size: 14.5px; }
  .engagement-band { grid-template-columns: 1fr; gap: 12px; }
  .engagement-band p { font-size: 15.5px; }

  .close-grid { gap: 20px; }
  .close-lede { font-size: 16.5px; }
  .rep-card { grid-template-columns: 116px 1fr; gap: 14px; padding: 12px; }
  .rep-name { font-size: 22px; }
  .rep-role { font-size: 13px; }
  .rep-msg { font-size: 14.5px; }
  .rep-links { gap: 6px 12px; }
  .rep-links a { font-size: 13.5px; }
  .location-line { font-size: 13px; line-height: 1.5; }
  .scheduler { padding: 16px; }
  .scheduler h3 { font-size: 22px; }

  .deck-dock { padding: 0 16px; height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .dock-btn { padding: 8px 12px; }
  .dock-rule { width: 22px; }
  .dock-note { display: none; }
  .slide-rail { display: none; }
  .index-grid { grid-template-columns: 1fr 1fr; }
  .index-card { min-height: 104px; }
  .index-overlay { padding: 18px; }
  .index-head { flex-direction: column; gap: 14px; }
  .index-close { align-self: flex-end; }
}

@media (max-width: 420px) {
  :root { --pad: 16px; }
  .slide-scroll { padding-left: 16px; padding-right: 16px; }
  .top-chrome { padding: 0 16px; }
  .deck-dock { padding: 0 12px; }
  .rep-card { grid-template-columns: 104px 1fr; }
  .rep-msg { font-size: 14px; }
  .index-grid { grid-template-columns: 1fr; }
  .browser { height: 520px; }
  .cover-stage { height: 180px; }
  .cover-title { font-size: clamp(36px, 11.4vw, 44px); margin-bottom: 10px; }
  .cover-lede { font-size: 16px; margin-bottom: 14px; }
  .cover-actions { margin-bottom: 14px; }
  .cover-facts { padding-top: 10px; gap: 14px; }
  .cover-facts dd { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .flash, .wash-sweep { display: none; }
}

/* touch / no hover */
@media (hover: none) {
  .stage-hint { display: none; }
}


@media (max-width: 560px) {
  .proof-pair { grid-template-columns: 1fr; gap: 18px; }
  .proof-side > p { font-size: 13px; }
  .proof-side--after .after-card { min-height: 0; }
  .after-card h3 { font-size: 26px; }
}

/* ---------- short desktop / laptop heights ---------- */
@media (max-height: 940px) {
  .browser { height: 500px; }
  .mini-hero-img { height: 240px; min-height: 240px; max-height: 240px; object-position: center 42%; }
  .proof-phone { max-height: none; }
}
@media (max-height: 840px) {
  .browser { height: 410px; }
  .proof-side--after .after-card { padding: 14px 16px; }
  .after-card h3 { font-size: 22px; margin-bottom: 8px; }
  .after-meta { margin-bottom: 9px; }
  .after-session { padding: 7px 0; margin-bottom: 9px; }
  .concept-phone { width: 186px; }
  .ps-foot { display: none; }
  .mini-hero-img { min-height: 180px; height: 180px; max-height: 180px; object-position: center 42%; }
  .mini-view { padding: 10px; }
  .mini-cards { gap: 6px; }
  .mini-card { padding: 8px; }
  .mini-card p { font-size: 13px; }
  .mini-head { padding: 6px 10px; }
  .detail-panel li { font-size: 13px; }
  .concept-detail { gap: 9px; }
  .detail-panel p { font-size: 14px; line-height: 1.36; }
  .detail-panel li { font-size: 13px; padding: 4px 0; }
  .gap-quote { margin-top: 14px; padding-top: 14px; }
  .gap-quote p { font-size: 23px; }
  .stat-big { font-size: 74px; }
}
@media (min-width: 1900px) {
  .mini-site { font-size: 15.5px; }
  .mini-view h3 { font-size: 29px; }
  .mini-hero-copy p { font-size: 14px; }
  .mini-card h4 { font-size: 16.5px; }
  .mini-card p { font-size: 13px; }
  .mini-label { font-size: 13px; }
  .mini-tab { font-size: 13px; }
}

/* ---------- inline icons (SVG only; no Unicode arrows or glyphs) ---------- */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex: 0 0 auto; }
.btn .ico, .mini-btn .ico, .mini-link .ico, .dock-btn .ico, .sched-draft .ico, .index-close .ico { margin-left: 2px; }
.sys-out .ico { margin-right: 6px; }
.ps-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.ps-sig i { display: block; width: 3px; background: #6a7768; }
.ps-sig i:nth-child(1) { height: 4px; }
.ps-sig i:nth-child(2) { height: 7px; }
.ps-sig i:nth-child(3) { height: 10px; }
