/* CaCao Mexicatessen · Brandcore website proposal
   Type: Geist (display/body), Instrument Serif italic (one payoff per slide), JetBrains Mono (labels).
   Palette: cacao black, cream paper, chile red, pod yellow, peach, cacao brown. No gold-everywhere treatment. */

@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: #120B08;
  --ink-2: #1B110C;
  --cream: #F6EBDD;
  --paper: #F6EBDD;
  --paper-card: #FFF8EE;
  --paper-ink: #1E130D;
  --paper-mute: #5E4A3B;
  --dark-mute: #CDBBA4;
  --chile: #B3262E;
  --chile-bright: #D6453C;
  --chile-ink: #8E1E24;
  --pod-yellow: #E9B73A;
  --pod-green: #6E8B3D;
  --peach: #EDAE84;
  --cacao: #5B3420;

  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-body: clamp(1.0625rem, 0.35vw + 0.98rem, 1.5rem);
  --fs-lede: clamp(1.125rem, 0.45vw + 1rem, 1.6rem);
  --fs-label: clamp(0.8125rem, 0.15vw + 0.78rem, 1.0625rem);
  --fs-h2: clamp(2.1rem, 2.2vw + 1rem, 3.9rem);
  --fs-h3: clamp(1.25rem, 0.8vw + 0.95rem, 1.75rem);
  --fs-display: clamp(2.8rem, 5.6vw, 6.8rem);

  --padx: clamp(20px, 3.6vw, 58px);
  --top: 64px;
  --bot: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--pod-yellow); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--cream); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; }

/* ---------- Chrome ---------- */
.chrome { position: fixed; left: 0; right: 0; z-index: 20; background: var(--ink); color: var(--cream); }
.chrome-top {
  top: 0; height: var(--top); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 0 var(--padx); border-bottom: 1px solid rgba(241, 230, 214, .12);
}
.cobrand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cobrand-bc { height: 22px; width: auto; }
.cobrand-x { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--peach); line-height: 1; }
.cobrand-client { background: var(--cream); border-radius: 999px; padding: 4px 14px; display: inline-flex; align-items: center; height: 46px; }
.cobrand-client img { height: 38px; width: auto; }
.chrome-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--dark-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-right { display: flex; align-items: center; gap: 14px; }
.chrome-count { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--dark-mute); white-space: nowrap; }
.chrome-count #countCur { color: var(--cream); }
.chrome-btn {
  min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: transparent; color: var(--cream); border: 1px solid rgba(241, 230, 214, .32);
  font: 600 var(--fs-label) / 1 var(--font-body); cursor: pointer;
}
.chrome-bottom {
  bottom: 0; height: var(--bot); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 0 var(--padx) env(safe-area-inset-bottom, 0px); border-top: 1px solid rgba(241, 230, 214, .12);
}
.prep { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--dark-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bottom-ctl { display: flex; align-items: center; gap: 12px; }
.ctl {
  min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--cream);
  border: 1px solid rgba(241, 230, 214, .3); font: 600 var(--fs-label) / 1 var(--font-body);
}
.ctl:disabled { opacity: .4; cursor: default; }
.ctl-primary { background: var(--chile); border-color: var(--chile); color: #FFF; }
.dots { display: flex; align-items: center; gap: 2px; }
.dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 99px; background: rgba(241, 230, 214, .4); }
.dots button[aria-current="true"]::before { background: var(--pod-yellow); width: 22px; margin-left: -11px; }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 21; background: rgba(0, 0, 0, .35); }
.progress span { display: block; height: 100%; width: 0; background: var(--pod-yellow); }

/* ---------- Slides ---------- */
.deck { position: fixed; inset: 0; height: 100vh; height: 100dvh; }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; visibility: hidden; overflow: hidden;
  padding: calc(var(--top) + clamp(10px, 2.2vh, 26px)) var(--padx) calc(var(--bot) + clamp(8px, 1.6vh, 18px));
}
.slide.is-active, .slide.is-leaving { visibility: visible; }
.slide[data-theme="dark"] { background: var(--ink); color: var(--cream); }
.slide[data-theme="paper"] { background: var(--paper); color: var(--paper-ink); }
.slide-inner { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.slide-inner:focus-visible { outline-offset: -3px; }

.kicker { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--peach); margin-bottom: clamp(8px, 1.4vh, 14px); }
.slide[data-theme="paper"] .kicker { color: var(--chile-ink); }
.h2 { font-family: var(--font-body); font-weight: 650; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.04em; max-width: 24ch; margin: 0 0 clamp(10px, 1.8vh, 18px); text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.intro { font-size: var(--fs-body); max-width: 62ch; margin-bottom: clamp(12px, 2vh, 22px); color: var(--dark-mute); }
.slide[data-theme="paper"] .intro { color: var(--paper-mute); }
.note { font-size: var(--fs-label); line-height: 1.5; color: var(--paper-mute); margin-top: 14px; max-width: 64ch; }
.note-dark { color: var(--dark-mute); }
.fine { font-size: var(--fs-label); line-height: 1.5; color: var(--paper-mute); }
.src { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .02em; color: var(--chile-ink); margin-top: 10px; }
.bullets { list-style: none; padding: 0; display: grid; gap: 12px; margin: 14px 0; }
.bullets li { display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; font-size: var(--fs-body); line-height: 1.4; }
.bnum { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--pod-yellow); padding-top: .3em; }
.slide[data-theme="paper"] .bnum { color: var(--chile-ink); }
.btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 999px;
  font: 600 var(--fs-label) / 1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--chile); color: #FFF; border-color: var(--chile); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(241, 230, 214, .4); }
.slide[data-theme="paper"] .btn-ghost { color: var(--paper-ink); border-color: rgba(30, 19, 13, .4); }

.scroll-y { scrollbar-color: rgba(241, 230, 214, .35) transparent; }

/* ---------- Cover ---------- */
.cover .cover-photo { position: absolute; inset: 0; }
.cover .cover-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.cover-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 11, 8, .97) 0%, rgba(18, 11, 8, .84) 44%, rgba(18, 11, 8, .5) 100%); }
.cover-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(24px, 4vw, 72px); padding-bottom: 28px;
}
.display { font-size: var(--fs-display); font-weight: 650; line-height: .95; letter-spacing: -0.05em; text-wrap: balance; }
.payoff { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: .62em; line-height: 1.05; letter-spacing: -0.01em; color: var(--peach); margin-top: .22em; }
.lede { font-size: var(--fs-lede); line-height: 1.45; color: var(--dark-mute); max-width: 40ch; margin-top: clamp(12px, 2vh, 22px); }
.prepared { font-size: var(--fs-label); color: var(--dark-mute); margin-top: clamp(12px, 2vh, 20px); }
.ticker { list-style: none; padding: 0; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticker li { border: 1px solid rgba(241, 230, 214, .24); padding: 6px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: var(--fs-label); }
.cover-stage { position: relative; height: min(70vh, 680px); min-height: 280px; min-width: 0; }
.plate-anchor { position: absolute; inset: 0; }
.plate-css { position: absolute; inset: 0; display: grid; place-items: center; }
.webgl-live .plate-css { display: none; }
.plate-css::before {
  content: ""; position: absolute; width: min(100%, 70vh, 640px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #FBF3E6 0%, #EFDFC8 60%, #E4CDAE 100%);
  box-shadow: 0 0 0 14px #3A2418, 0 0 0 20px #B9783A, 0 40px 80px rgba(0, 0, 0, .6);
}
.plate-css img { position: relative; width: 60%; height: auto; }
.cue { position: absolute; left: var(--padx); bottom: calc(var(--bot) + 8px); z-index: 2; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--dark-mute); }

/* Live canvas: fixed overlay, drawn only while the cover is visible or during the cut */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: 6; pointer-events: none; display: none; }
.cover-live #stage, .boom-live #stage { display: block; }
.seam { position: fixed; left: 0; right: 0; top: 46%; height: 2px; z-index: 8; pointer-events: none; opacity: 0; transform-origin: right center; background: linear-gradient(90deg, transparent, var(--pod-yellow) 35%, var(--chile-bright) 70%, transparent); }

/* ---------- Audit ---------- */
.audit-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 40px); align-items: start; }
.findings { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.finding { background: var(--paper-card); border: 1px solid rgba(30, 19, 13, .14); border-radius: 12px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.finding h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; }
.finding p { font-size: var(--fs-body); line-height: 1.42; color: var(--paper-ink); }
.finding .src { margin-top: auto; padding-top: 4px; font-size: var(--fs-label); }
.sev { align-self: flex-start; font-family: var(--font-mono); font-size: var(--fs-label); padding: 3px 10px; border-radius: 999px; color: #FFF; letter-spacing: .04em; }
.sev-high { background: var(--chile); }
.sev-mid { background: #8A4B12; }
.sev-low { background: #5E4A3B; }
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; align-items: start; }
.evidence img { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(30, 19, 13, .12); background: #FFF; }
.evidence figcaption { font-size: var(--fs-label); line-height: 1.4; color: var(--paper-mute); }

/* ---------- Gap ---------- */
.gap-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 56px); align-items: stretch; }
.gap-copy { min-width: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.steps { border-radius: 12px; padding: 16px 18px; background: rgba(241, 230, 214, .05); border: 1px solid rgba(241, 230, 214, .14); }
.steps-next { background: rgba(237, 174, 132, .12); border-color: rgba(237, 174, 132, .45); }
.steps h3 { font-size: var(--fs-h3); font-weight: 650; margin-bottom: 8px; }
.steps ol { padding-left: 1.3em; display: grid; gap: 6px; font-size: var(--fs-body); line-height: 1.4; }
.steps li::marker { color: var(--pod-yellow); font-family: var(--font-mono); }
.gap-photo { min-height: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(241, 230, 214, .14); }
.gap-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }

/* ---------- Concept ---------- */
.concept-layout { display: grid; grid-template-columns: minmax(270px, .78fr) minmax(0, 2.2fr); gap: clamp(16px, 2.2vw, 36px); align-items: start; }
.concept-copy { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.concept-copy .h2 { font-size: clamp(1.9rem, 1.9vw + .9rem, 3.1rem); }
.concept-copy .bullets { margin: 6px 0 10px; }
.concept-copy .bullets li { font-size: var(--fs-body); }
.mock { min-width: 0; }
.mock-browser {
  display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #FBF4E8; color: var(--paper-ink);
  height: clamp(380px, calc(100dvh - 220px), 680px); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); border: 1px solid rgba(241, 230, 214, .2);
}
.mock-chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #2A1C15; color: var(--dark-mute); flex: 0 0 auto; }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #6E5A4C; display: block; }
.mock-url { font-family: var(--font-mono); font-size: var(--fs-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-site { flex: 1 1 auto; min-height: 0; overflow-y: auto; font-size: clamp(.95rem, .3vw + .85rem, 1.1rem); line-height: 1.45; }
.site-nav { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #FBF4E8; border-bottom: 1px solid rgba(30, 19, 13, .12); flex-wrap: wrap; }
.site-logo { height: 56px; width: auto; background: #F6EBDD; border-radius: 8px; }
.site-tabs { display: flex; gap: 4px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.site-tab { min-height: 44px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; color: var(--paper-ink); font: 600 1em/1 var(--font-body); cursor: pointer; }
.site-tab[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.site-order { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--chile); color: #FFF; font: 600 1em/1 var(--font-body); cursor: pointer; }
.tabpanel { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.hero { position: relative; border-radius: 12px; overflow: hidden; min-height: 240px; background: var(--ink); color: var(--cream); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 11, 8, .15) 0%, rgba(18, 11, 8, .9) 100%); }
.hero-copy { position: relative; z-index: 1; padding: 18px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; min-height: 240px; }
.hero-copy h3 { font-size: clamp(1.45rem, 1vw + 1rem, 2.1rem); font-weight: 650; line-height: 1.08; letter-spacing: -0.03em; max-width: 22ch; }
.hero-copy p { color: var(--dark-mute); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.status-chip { display: inline-flex; align-self: flex-start; align-items: center; min-height: 34px; padding: 4px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-family: var(--font-mono); font-size: var(--fs-label); }
.week { border: 1px solid rgba(30, 19, 13, .14); border-radius: 12px; padding: 14px 16px; background: var(--paper-card); }
.week h4 { font-size: var(--fs-label); font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--chile-ink); margin-bottom: 8px; }
.week ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.week b { display: inline-block; min-width: 9.5em; font-weight: 650; }
.mini-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mini-gallery img { width: 100%; height: 118px; object-fit: cover; border-radius: 8px; }
.menu-head { display: grid; gap: 6px; }
.search-label { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--paper-mute); }
.search { min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(30, 19, 13, .3); background: #FFF; color: var(--paper-ink); font: 1em var(--font-body); width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(30, 19, 13, .3); background: #FFF; color: var(--paper-ink); font: 600 1em/1 var(--font-body); cursor: pointer; }
.chip.is-on { background: var(--chile); border-color: var(--chile); color: #FFF; }
.menu-title { font-size: var(--fs-h3); font-weight: 650; margin-top: 4px; }
.menu-list { display: grid; gap: 14px; }
.menu-sec h5 { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--chile-ink); border-bottom: 1px solid rgba(30, 19, 13, .18); padding-bottom: 4px; margin-bottom: 8px; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 6px 0; }
.menu-item .mi-name { font-weight: 650; }
.menu-item .mi-price { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.menu-item .mi-desc { grid-column: 1 / -1; font-size: var(--fs-label); color: var(--paper-mute); line-height: 1.4; }
.menu-note { font-size: var(--fs-label); color: var(--paper-mute); border-left: 3px solid var(--pod-yellow); padding: 6px 12px; background: #FFF8EE; }
.cater-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cater-layout > img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 12px; }
.planner { display: grid; gap: 10px; background: var(--paper-card); border: 1px solid rgba(30, 19, 13, .14); border-radius: 12px; padding: 16px; }
.planner h4 { font-size: var(--fs-h3); font-weight: 650; }
.planner label, .planner legend { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--paper-mute); }
.planner select { min-height: 46px; border-radius: 8px; border: 1px solid rgba(30, 19, 13, .3); padding: 0 10px; font: 1em var(--font-body); background: #FFF; color: var(--paper-ink); }
.planner fieldset { border: 0; padding: 0; display: grid; gap: 6px; }
.planner fieldset label { display: flex; align-items: center; gap: 8px; min-height: 40px; font-family: var(--font-body); font-size: 1em; color: var(--paper-ink); }
.planner-out { font-size: var(--fs-label); padding: 10px 12px; border-radius: 8px; background: #FFF; border: 1px dashed rgba(30, 19, 13, .3); }
.visit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; }
.visit-layout h4 { font-size: var(--fs-h3); font-weight: 650; margin-bottom: 8px; }
.visit-layout p { margin-bottom: 14px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 4px; border-bottom: 1px solid rgba(30, 19, 13, .14); font-size: 1em; vertical-align: top; }
.hours th { font-weight: 650; width: 40%; }
.tel { margin-top: 4px; }

/* Phone (inside concept copy column) */
.mock-phone { width: min(250px, 100%); aspect-ratio: 9 / 15.5; border-radius: 30px; background: #0E0907; padding: 10px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); border: 1px solid rgba(241, 230, 214, .18); margin-top: 6px; }
.phone-screen { height: 100%; border-radius: 22px; background: #FBF4E8; color: var(--paper-ink); padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; }
.phone-brand { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--chile-ink); }
.phone-h { font-size: clamp(1.2rem, 1vw + .9rem, 1.6rem); font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; }
.phone-screen .btn { width: 100%; min-height: 46px; font-size: .95rem; }
.phone-screen .btn-ghost { color: var(--paper-ink); border-color: rgba(30, 19, 13, .4); }
.phone-screen .fine { font-size: .8125rem; }
.mock-detail { display: none; margin-top: 16px; padding: 16px; border-radius: 12px; border: 1px solid rgba(241, 230, 214, .18); background: rgba(241, 230, 214, .05); }
.mock-detail h4 { font-size: var(--fs-h3); font-weight: 650; margin-bottom: 8px; }
.mock-detail ul { list-style: none; padding: 0; display: grid; gap: 8px; font-size: var(--fs-body); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pillar { background: var(--paper-card); border: 1px solid rgba(30, 19, 13, .14); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pnum { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--chile-ink); }
.pillar h3 { font-size: var(--fs-h3); font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; }
.pillar p { font-size: var(--fs-body); line-height: 1.42; }
.pillar .builds b, .pillar .guest b { display: block; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--paper-mute); margin-bottom: 2px; }
.pillar .guest { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(30, 19, 13, .12); }

/* ---------- Proof ---------- */
.proof-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 56px); align-items: start; }
.proof-copy { min-width: 0; }
.compare-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.compare {
  position: relative; height: clamp(420px, calc(100dvh - 230px), 720px); aspect-ratio: 1000 / 1294; max-width: 100%;
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(241, 230, 214, .22); background: #FBF4E8; color: var(--paper-ink); --split: 50%;
}
.compare-after { position: absolute; inset: 0; overflow-y: auto; padding: clamp(14px, 2vw, 22px) clamp(16px, 2vw, 24px); font-size: clamp(.95rem, .3vw + .85rem, 1.1rem); line-height: 1.4; background: #FBF4E8; }
.compare-after h5 { font-size: 1em; font-weight: 650; margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; }
.compare-after h5 span, .compare-after p span { font-family: var(--font-mono); font-weight: 600; }
.compare-after p { margin-top: 2px; color: var(--paper-ink); }
.ct-head { font-family: var(--font-mono); font-size: 1.05em; letter-spacing: .08em; color: var(--chile-ink); font-weight: 600; }
.ct-sub { font-size: .9em; color: var(--paper-mute); margin-bottom: 4px; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); background: #FFF; }
.compare-before img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.compare-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 3px; margin-left: -1.5px; background: var(--pod-yellow); pointer-events: none; }
.compare-divider span { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--pod-yellow); box-shadow: 0 0 0 3px var(--ink); }
.compare-range { display: grid; gap: 6px; font-family: var(--font-mono); font-size: var(--fs-label); color: var(--dark-mute); }
.compare-range input { width: 100%; min-height: 44px; accent-color: var(--chile-bright); }

/* ---------- Roadmap ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.phase { background: var(--paper-card); border: 1px solid rgba(30, 19, 13, .14); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.phase-day { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--chile-ink); }
.phase h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; }
.phase ul { padding-left: 1.2em; display: grid; gap: 8px; font-size: var(--fs-body); line-height: 1.4; }
.phase .owner { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(30, 19, 13, .12); font-size: var(--fs-label); color: var(--paper-mute); }
.owner b { font-family: var(--font-mono); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
.sources { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin-top: 18px; }
.sources-h { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--paper-mute); width: 100%; }
.sources figure { width: clamp(150px, 15vw, 200px); }
.sources img { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(30, 19, 13, .14); background: #FFF; }
.sources figcaption { font-size: var(--fs-label); color: var(--paper-mute); margin-top: 6px; line-height: 1.35; }

/* ---------- Engagement ---------- */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.level { display: flex; flex-direction: column; min-width: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(241, 230, 214, .16); background: #1B110C; }
.level img { width: 100%; height: clamp(120px, 19vh, 200px); object-fit: cover; }
.level-body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-height: 0; }
.level-rec { border-color: var(--chile-bright); box-shadow: inset 0 0 0 1px var(--chile-bright); }
.level-n { font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .06em; color: var(--peach); }
.level h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; }
.level-goal { color: var(--dark-mute); font-size: var(--fs-body); }
.level ul { padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--fs-body); line-height: 1.4; }
.outcome { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(241, 230, 214, .16); font-size: var(--fs-body); }
.outcome b { font-family: var(--font-mono); font-weight: 400; text-transform: uppercase; font-size: var(--fs-label); letter-spacing: .04em; color: var(--peach); display: block; }

/* ---------- Close ---------- */
.close-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .95fr); gap: clamp(20px, 3vw, 52px); align-items: start; }
.close-reps { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.reps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rep { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rep-photo { aspect-ratio: 1 / 1; width: 100%; max-width: clamp(190px, 28vh, 300px); border-radius: 0; overflow: hidden; background: transparent; }
.rep-photo img { width: 100%; height: 100%; object-fit: cover; }
.rep-text h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; }
.rep-role { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--paper-mute); margin: 2px 0 6px; }
.rep-text p { font-size: var(--fs-body); line-height: 1.5; }
.rep-text a { color: var(--chile-ink); font-weight: 600; text-underline-offset: 3px; }
.office { font-size: var(--fs-body); }
.office a { color: var(--chile-ink); font-weight: 600; }
.signoff { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: var(--fs-label); }
.signoff img { height: 20px; width: auto; }
.scheduler { display: grid; gap: 10px; align-content: start; background: var(--paper-card); border: 1px solid rgba(30, 19, 13, .14); border-radius: 14px; padding: clamp(16px, 2vw, 24px); min-width: 0; }
.scheduler h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -0.02em; }
.scheduler label { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--paper-mute); margin-top: 4px; }
.scheduler select { min-height: 48px; border-radius: 8px; border: 1px solid rgba(30, 19, 13, .3); padding: 0 12px; font: 1em var(--font-body); background: #FFF; color: var(--paper-ink); width: 100%; }
.scheduler .btn { margin-top: 6px; width: 100%; }
.draft-note { font-size: var(--fs-label); min-height: 1.5em; color: var(--paper-ink); }
.quote-line { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 1.2vw + 1rem, 2.1rem); color: var(--chile-ink); margin-top: 8px; }

/* ---------- Index + toast ---------- */
.index-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(10, 6, 4, .94); display: grid; place-items: center; padding: 16px; }
.index-card { width: min(760px, 100%); max-height: 100%; overflow-y: auto; background: #17100C; border: 1px solid rgba(241, 230, 214, .16); border-radius: 14px; padding: 20px; }
.index-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.index-head h2 { font-size: var(--fs-h3); font-weight: 650; }
.index-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.index-list button { width: 100%; min-height: 52px; text-align: left; padding: 10px 16px; border-radius: 10px; background: transparent; border: 1px solid rgba(241, 230, 214, .18); color: var(--cream); font: 600 var(--fs-body) / 1.2 var(--font-body); cursor: pointer; display: flex; gap: 14px; align-items: baseline; }
.index-list button[aria-current="true"] { border-color: var(--pod-yellow); }
.index-list .ix-n { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--peach); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bot) + 12px); z-index: 30; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: var(--fs-label); max-width: 92vw; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* ---------- Static / no-WebGL / reduced-motion ---------- */
.plate-static #stage, .no-webgl #stage { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .concept-layout { grid-template-columns: minmax(250px, .85fr) minmax(0, 2fr); }
  .mini-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-gallery img { height: 110px; }
}
@media (max-width: 1100px) {
  .audit-layout, .gap-layout, .proof-layout, .close-layout { grid-template-columns: minmax(0, 1fr); }
  .gap-photo { display: none; }
  .concept-layout { grid-template-columns: minmax(0, 1fr); }
  .concept-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: start; }
  .concept-copy > * { grid-column: 1; }
  .concept-copy > .mock-phone { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; width: 220px; }
  .mock-browser { height: clamp(380px, 62dvh, 620px); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels .level:last-child { grid-column: 1 / -1; }
  .compare { height: clamp(380px, 58dvh, 620px); }
  .compare-wrap { align-items: flex-start; }
  .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cover-grid { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .cover-stage { order: -1; height: min(46dvh, 460px); min-height: 240px; }
}
@media (max-width: 900px) {
  .cover-stage { height: min(42dvh, 380px); min-height: 220px; }
  .cover-grid { padding-bottom: 36px; }
  .findings { grid-template-columns: minmax(0, 1fr); }
  .evidence { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pillars, .phases, .levels { grid-template-columns: minmax(0, 1fr); }
  .levels .level:last-child { grid-column: auto; }
  .mock-detail { display: block; }
  .mock-browser { height: clamp(360px, 60dvh, 560px); }
  .concept-copy { display: flex; }
  .concept-copy > .mock-phone { grid-column: auto; grid-row: auto; width: min(230px, 100%); }
  .cater-layout, .visit-layout { grid-template-columns: minmax(0, 1fr); }
  .cater-layout > img { min-height: 180px; height: 200px; }
  .reps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rep-photo { max-width: 220px; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .compare { height: clamp(360px, 62dvh, 560px); }
  .compare-after { font-size: .95rem; }
}
@media (max-width: 760px) {
  :root { --top: 56px; --bot: 60px; }
  .chrome-top { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .chrome-label { display: none; }
  .cobrand-bc { height: 18px; }
  .cobrand-x { font-size: 1.1rem; }
  .cobrand-client { height: 40px; padding: 3px 10px; }
  .cobrand-client img { height: 32px; }
  .chrome-count { display: none; }
  .chrome-btn span { display: none; }
  .chrome-btn { min-width: 44px; justify-content: center; padding: 0 10px; }
  .chrome-bottom { grid-template-columns: minmax(0, 1fr); }
  .prep { display: none; }
  .bottom-ctl { width: 100%; justify-content: space-between; }
  .ctl span { display: none; }
  .ctl { padding: 0 12px; }
  .ctl-primary { flex: 0 0 auto; }
  .dots { display: none; }
  .slide { padding-left: 18px; padding-right: 18px; }
  .site-tabs { gap: 2px; }
  .site-tab { padding: 0 9px; }
  .mini-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cue { display: none; }
}
@media (max-width: 560px) {
  .cobrand-client { display: none; }
  .mini-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .findings { grid-template-columns: minmax(0, 1fr); }
  .evidence { grid-template-columns: minmax(0, 1fr); }
  .reps { grid-template-columns: minmax(0, 1fr); }
  .rep-photo { max-width: 180px; }
  .hours th { width: 46%; }
  .week b { display: block; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .progress span { transition: none; }
}

/* ---------- Whole-composition vertical display standard (G5 · 2026-11-02) ----------
   The complete meaningful composition on each slide - kicker, heading, lead,
   body, cards and notes - centers between the fixed masthead and footer when it
   fits the stage. Safe alignment collapses to natural top flow when content is
   taller than the stage, so everything stays reachable; no fonts shrink, no
   slide scaling, no dummy spacers. The cover keeps its authored full-bleed
   composition. */
.slide-inner { justify-content: safe center; align-content: safe center; }
.cover .slide-inner { justify-content: normal; align-content: stretch; }
