/* Taqueria Los Gordos | Brandcore website and pickup concept
   Fluid type: body ~20px at 1600, ~21px at 2096, 16px floor at 1366 and 390. Labels 14px at 1600, 13px floor. */

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

:root {
  --ink: #120b05;
  --ink-2: #1c1208;
  --ink-3: #2b1d0e;
  --paper: #f5ecd9;
  --paper-2: #ebdfc5;
  --gold: #e9b824;
  --gold-hi: #f6cf4a;
  --gold-deep: #7a5b0b;
  --chile: #e0283c;
  --chile-deep: #b3121f;
  --lime: #8fd45a;
  --lime-deep: #2f7d1e;
  --text-light: #f5ecd9;
  --muted-light: #cbbfa7;
  --text-dark: #1a1208;
  --muted-dark: #5c4d36;
  --line-light: rgba(245, 236, 217, 0.18);
  --line-dark: rgba(26, 18, 8, 0.16);

  --fs-body: clamp(16px, calc(0.2vw + 17.2px), 24px);
  --fs-lead: clamp(18px, calc(0.3vw + 16.8px), 26px);
  --fs-label: clamp(13px, calc(0.1vw + 12.8px), 15px);
  --fs-h2: clamp(38px, calc(2.4vw + 9px), 80px);
  --fs-h3: clamp(21px, calc(0.9vw + 9.6px), 34px);
  --fs-h1: clamp(52px, calc(5.4vw + 8px), 150px);

  --chrome-top: 74px;
  --chrome-bottom: 56px;
  --gutter: clamp(20px, 3.6vw, 58px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: 0 0 0 3px var(--gold-hi);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--ink);
  color: var(--text-light);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 80; background: var(--gold-hi); color: var(--text-dark); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.noscript { position: fixed; inset: auto 16px 16px; background: var(--paper); color: var(--text-dark); padding: 14px 16px; border-radius: 10px; z-index: 90; }

/* ---------- Deck and slides ---------- */
.deck { position: fixed; inset: 0; overflow: hidden; background: var(--ink); }
.slide {
  position: absolute; inset: 0; z-index: 2;
  visibility: hidden; opacity: 0; pointer-events: none;
  background: var(--ink);
}
.slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.slide[data-theme="paper"] { background: var(--paper); color: var(--text-dark); }
.slide[data-theme="dark"] { background: var(--ink); color: var(--text-light); }
.slide.slide--cover, .slide--cover[data-theme="dark"] { background: transparent; }
.slide-scroll {
  position: absolute; inset: var(--chrome-top) var(--gutter) var(--chrome-bottom);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding-block: clamp(10px, 2.2vh, 30px) clamp(20px, 3vh, 40px);
  scrollbar-width: thin; scrollbar-color: rgba(233, 184, 36, 0.5) transparent;
}
.slide[data-theme="paper"] .slide-scroll { scrollbar-color: rgba(122, 91, 11, 0.45) transparent; }

/* ---------- Type ---------- */
.label { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; font-size: var(--fs-label); line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.label--gold { color: var(--gold-hi); }
.label--bronze { color: var(--gold-deep); }
.h2 { font-family: "Geist", system-ui, sans-serif; font-weight: 650; font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.045em; margin: 0.22em 0 0.3em; max-width: 22ch; text-wrap: balance; }
.h2 em, .cover-title em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.h2 em { color: var(--gold-hi); }
.slide[data-theme="paper"] .h2 em { color: var(--chile-deep); }
.h3 { font-family: "Geist", system-ui, sans-serif; font-weight: 620; font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.45em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 60ch; color: var(--muted-light); margin: 0; }
.slide[data-theme="paper"] .lead { color: var(--muted-dark); }
.lead--small { font-size: clamp(17px, calc(0.2vw + 16.2px), 22px); }
.note { font-size: var(--fs-label); color: var(--muted-light); margin: 0.6em 0 0; line-height: 1.45; }
.slide[data-theme="paper"] .note { color: var(--muted-dark); }
.section-head { margin-bottom: clamp(14px, 2.6vh, 34px); }
.section-head--tight { margin-bottom: clamp(10px, 1.8vh, 20px); }
.section-head .lead { margin-top: 0.4em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 46px; padding: 0.7em 1.25em; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: clamp(15px, calc(0.1vw + 14.5px), 17px); letter-spacing: 0.01em; cursor: pointer; text-decoration: none; transition: transform 0.2s var(--ease-out), background 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn--chile { background: var(--chile); color: #fff8ee; }
.btn--chile:hover { background: #ea3a4c; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--block { width: 100%; margin-top: 12px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.scroll-cue { margin-top: clamp(16px, 3vh, 34px); display: inline-flex; align-items: center; gap: 0.6em; background: none; border: 0; padding: 8px 0; color: var(--gold-hi); font-weight: 600; font-size: clamp(16px, calc(0.15vw + 15.5px), 19px); cursor: pointer; }
.scroll-cue svg { width: 1.3em; height: 1.3em; }

/* ---------- Cover ---------- */
.slide--cover .slide-scroll { overflow-y: auto; }
.cover-grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: 2vw; }
.cover-copy { position: relative; z-index: 3; max-width: 640px; text-shadow: 0 1px 14px rgba(12, 8, 4, 0.55); }
.cover-title { font-family: "Geist", system-ui, sans-serif; font-weight: 680; font-size: var(--fs-h1); line-height: 0.9; letter-spacing: -0.06em; margin: 0.25em 0 0.3em; text-wrap: balance; }
.cover-title em { font-size: 1.02em; color: var(--gold-hi); letter-spacing: -0.035em; }
.cover-copy .lead { margin-top: 0.6em; }
.ticker { list-style: none; margin: clamp(16px, 3vh, 30px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ticker li { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(233, 184, 36, 0.5); border-radius: 999px; color: var(--gold-hi); background: rgba(18, 11, 5, 0.55); }
.cover-meta { margin-top: clamp(16px, 3vh, 30px); display: grid; gap: 6px; color: var(--muted-light); }
.cover-stage-spacer { min-height: 1px; }

/* ---------- Logo stage (WebGL) ---------- */
.hero-stage { position: fixed; top: 0; right: 0; bottom: 0; left: 46%; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-stage::before { content: ""; position: absolute; inset: -10% -6%; background: radial-gradient(ellipse 46% 52% at 50% 46%, rgba(233, 184, 36, 0.28), rgba(224, 40, 60, 0.08) 45%, transparent 72%), radial-gradient(ellipse 80% 70% at 50% 110%, rgba(40, 22, 6, 0.9), transparent 70%); }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-stage.is-boom { inset: 0; z-index: 30; }
.hero-stage.is-boom::before { opacity: 0.4; }
.hero-stage.is-boom #heroCanvas { animation: boomShake 0.42s linear; }
.hero-stage.is-hidden { display: none; }
.hero-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; }
.hero-stage.is-fallback .hero-fallback { display: flex; }
.hero-stage.is-fallback #heroCanvas { display: none; }
.hero-medallion { width: min(78%, 560px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-tortilla { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #fbeccb 0%, #efd49c 58%, #cf9b47 100%); box-shadow: 0 0 0 clamp(6px, 1vw, 12px) rgba(233, 184, 36, 0.2), 0 30px 60px rgba(0, 0, 0, 0.55); display: grid; place-items: center; }
.hero-tortilla img { width: 74%; height: auto; }
@keyframes boomShake {
  0% { transform: translate(0, 0) rotate(0); }
  12% { transform: translate(-9px, 5px) rotate(-0.25deg); }
  24% { transform: translate(8px, -6px) rotate(0.2deg); }
  38% { transform: translate(-6px, -3px); }
  52% { transform: translate(5px, 4px); }
  70% { transform: translate(-2px, 2px); }
  100% { transform: translate(0, 0); }
}
.boom-flash { position: fixed; inset: 0; z-index: 31; pointer-events: none; opacity: 0; background: radial-gradient(circle at 74% 50%, rgba(255, 247, 220, 0.96), rgba(246, 207, 74, 0.55) 30%, rgba(224, 40, 60, 0.18) 52%, transparent 70%); mix-blend-mode: screen; }
.boom-seam { position: fixed; top: 0; bottom: 0; left: 0; width: 34vw; z-index: 29; pointer-events: none; opacity: 0; transform: translateX(-60vw); background: linear-gradient(90deg, transparent 0%, rgba(246, 207, 74, 0.0) 20%, rgba(246, 207, 74, 0.9) 50%, rgba(255, 244, 214, 0.0) 100%); mix-blend-mode: screen; }

/* ---------- Audit ---------- */
.findings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.finding { background: #fffaf0; border: 1px solid var(--line-dark); border-radius: 14px; padding: clamp(14px, 1.6vw, 22px); display: grid; gap: 8px; align-content: start; box-shadow: 0 1px 0 rgba(26, 18, 8, 0.06); }
.sev { justify-self: start; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff8ee; }
.sev--high { background: var(--chile-deep); }
.sev--mid { background: #7a5b0b; }
.sev--low { background: #4f5b2c; }
.finding__text { margin: 0; font-size: var(--fs-body); line-height: 1.42; color: var(--text-dark); font-weight: 500; }
.finding__src { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); line-height: 1.35; color: var(--muted-dark); }
.actual-size { margin: clamp(14px, 2.4vh, 26px) 0 0; }
.actual-size__row { display: flex; flex-wrap: wrap; gap: 12px; }
.actual-size__row img { width: 192px; height: 192px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-dark); }
.actual-size figcaption { margin-top: 8px; color: var(--muted-dark); }

/* ---------- The gap ---------- */
.timeline { margin: clamp(10px, 2vh, 22px) 0 clamp(14px, 2.6vh, 28px); padding: clamp(14px, 2vh, 22px) clamp(14px, 1.6vw, 22px); border: 1px solid var(--line-light); border-radius: 16px; background: rgba(43, 29, 14, 0.55); }
.timeline__row { display: grid; grid-template-columns: minmax(70px, 110px) minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 10px 0; }
.timeline__name { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-light); }
.timeline__track { position: relative; height: 26px; border-radius: 999px; background: rgba(245, 236, 217, 0.08); overflow: hidden; }
.timeline__bar { position: absolute; top: 0; bottom: 0; left: calc((var(--start) - 9) / 12 * 100%); width: calc((var(--end) - var(--start)) / 12 * 100%); border-radius: 999px; }
.timeline__bar--store { background: linear-gradient(90deg, #b8861a, var(--gold-hi)); }
.timeline__bar--pickup { background: linear-gradient(90deg, #a51a2a, var(--chile)); }
.timeline__gap { position: absolute; top: 0; bottom: 0; left: calc((var(--start) - 9) / 12 * 100%); width: calc((var(--end) - var(--start)) / 12 * 100%); background: repeating-linear-gradient(135deg, rgba(246, 207, 74, 0.55) 0 6px, rgba(246, 207, 74, 0.15) 6px 12px); display: flex; align-items: center; justify-content: center; }
.timeline__gap span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: var(--gold-hi); padding: 2px 6px; border-radius: 4px; white-space: nowrap; transform: translateX(-30%); }
.timeline__range { font-size: var(--fs-label); color: var(--text-light); white-space: nowrap; }
.timeline__ticks { display: flex; justify-content: space-between; padding-left: calc(110px + 12px); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-light); margin-top: 6px; }
.gap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.gap-col { background: rgba(43, 29, 14, 0.5); border: 1px solid var(--line-light); border-radius: 16px; padding: clamp(14px, 1.8vw, 24px); }
.gap-col--proposed { background: var(--paper); color: var(--text-dark); border-color: transparent; }
.gap-col--proposed .h3 { color: var(--text-dark); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 10px; }
.steps li { position: relative; padding-left: 2.2em; font-size: var(--fs-body); line-height: 1.42; counter-increment: st; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0.1em; width: 1.6em; height: 1.6em; border-radius: 50%; display: grid; place-items: center; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.72em; background: rgba(245, 236, 217, 0.12); color: var(--gold-hi); }
.steps--proposed li::before { background: var(--chile); color: #fff8ee; }
.steps--proposed strong { color: var(--text-dark); }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(14px, 2.4vh, 26px); }
.stat { border-top: 2px solid var(--gold-hi); padding: 12px 4px 0; display: grid; gap: 4px; }
.stat__num { font-family: "Geist", system-ui, sans-serif; font-weight: 650; font-size: clamp(28px, calc(1.2vw + 14px), 44px); letter-spacing: -0.03em; line-height: 1; color: var(--gold-hi); }
.stat__label { font-size: var(--fs-label); color: var(--muted-light); line-height: 1.35; }

/* ---------- Flagship mockup ---------- */
.flagship { display: grid; grid-template-columns: minmax(0, 1fr) clamp(210px, 21vw, 300px); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.browser { min-width: 0; background: #fbf5e8; color: var(--text-dark); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(233, 184, 36, 0.35); }
.browser__chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #2b1d0e; color: #f5ecd9; }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(245, 236, 217, 0.35); display: block; }
.browser__url { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: #d9ccb1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: #e9dcc0; border-bottom: 1px solid #d8c9a6; }
.tab { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 10px 10px 0 0; background: transparent; color: var(--muted-dark); font-weight: 600; font-size: clamp(15px, calc(0.1vw + 14.6px), 17px); cursor: pointer; }
.tab[aria-selected="true"] { background: #fbf5e8; color: var(--text-dark); box-shadow: inset 0 3px 0 var(--chile); }
.browser__panel { padding: clamp(14px, 1.8vw, 24px); }
.browser__panel[hidden] { display: none; }
.site-hero { position: relative; border-radius: 12px; overflow: hidden; min-height: clamp(230px, 36vh, 360px); display: flex; align-items: flex-end; }
.site-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.site-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 11, 5, 0.1) 0%, rgba(18, 11, 5, 0.25) 40%, rgba(18, 11, 5, 0.88) 100%); }
.site-hero__copy { position: relative; padding: clamp(16px, 2.2vw, 26px); color: #fff8ee; display: grid; gap: 6px; max-width: 58ch; }
.site-hero__eyebrow { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--gold-hi); letter-spacing: 0.05em; text-transform: uppercase; }
.site-hero__title { margin: 0; font-family: "Geist", system-ui, sans-serif; font-weight: 680; font-size: clamp(30px, calc(2vw + 14px), 56px); line-height: 1; letter-spacing: -0.04em; }
.site-hero__sub { margin: 0; font-size: var(--fs-body); line-height: 1.4; color: #f5ecd9; }
.site-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.site-hero__actions .btn--ghost { color: #fff8ee; border-color: rgba(255, 248, 238, 0.7); }
.site-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.site-strip__hours { margin: 0; font-size: var(--fs-body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: var(--fs-label); padding: 6px 12px; border-radius: 999px; background: #efe3c6; color: var(--text-dark); border: 1px solid #d8c9a6; }
.menu-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 12px; }
.menu-head__title { margin: 0; font-family: "Geist", system-ui, sans-serif; font-weight: 640; font-size: clamp(21px, calc(0.6vw + 14px), 28px); letter-spacing: -0.02em; color: var(--text-dark); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid #c9b794; background: #fffaf0; color: var(--text-dark); font-size: var(--fs-label); font-weight: 600; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--text-dark); color: #fbf5e8; border-color: var(--text-dark); }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.dish { background: #fffaf0; border: 1px solid #e0d2b2; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.dish[hidden] { display: none; }
.dish img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dish__body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.dish h4 { margin: 0; font-size: clamp(16px, calc(0.2vw + 15.2px), 18px); line-height: 1.25; font-weight: 640; color: var(--text-dark); }
.dish p { margin: 0; font-size: var(--fs-label); line-height: 1.4; color: var(--muted-dark); }
.pickup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 26px); }
.pickup__status { margin: 0 0 12px; font-size: var(--fs-body); font-weight: 600; color: var(--lime-deep); }
.pickup__status.is-closed { color: var(--chile-deep); }
.hours-list { margin: 0; display: grid; gap: 8px; }
.hours-list div { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid #e0d2b2; }
.hours-list dt { font-size: var(--fs-label); color: var(--muted-dark); }
.hours-list dd { margin: 0; font-weight: 600; font-size: var(--fs-body); color: var(--text-dark); }
.pickup__flag { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--chile); background: #fbe9e6; border-radius: 6px; font-size: var(--fs-label); line-height: 1.45; color: #5a1a14; }
.slots__title { margin: 0 0 8px; font-size: clamp(17px, calc(0.3vw + 15.4px), 20px); color: var(--text-dark); font-weight: 640; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.slot { min-height: 44px; border-radius: 10px; border: 1px solid #c9b794; background: #fffaf0; color: var(--text-dark); font-weight: 600; font-size: var(--fs-label); cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--chile); color: #fff8ee; border-color: var(--chile); }
.slots__result { margin: 10px 0 0; font-size: var(--fs-body); color: var(--text-dark); min-height: 3.2em; }
.phone { background: #1a1208; border-radius: 34px; padding: 12px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(233, 184, 36, 0.35); }
.phone__screen { background: #fbf5e8; color: var(--text-dark); border-radius: 24px; padding: 16px 14px 14px; display: grid; gap: 8px; min-height: 480px; align-content: start; }
.phone__brand { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-dark); }
.phone__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
.phone__title { margin: 4px 0 0; font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.phone__sub { margin: 0; font-size: 16px; color: var(--muted-dark); }
.phone__btn { display: block; text-align: center; padding: 12px; border-radius: 999px; background: var(--chile); color: #fff8ee; font-weight: 600; font-size: 16px; margin-top: 6px; }
.phone__nav { display: flex; justify-content: space-between; gap: 4px; margin-top: auto; padding-top: 10px; border-top: 1px solid #e0d2b2; }
.phone__nav span { flex: 1; text-align: center; font-size: 14px; color: var(--muted-dark); padding: 8px 0; }
.phone__nav span:first-child { color: var(--text-dark); font-weight: 650; }
.detail-card { display: none; grid-column: 1 / -1; background: rgba(43, 29, 14, 0.7); border: 1px solid var(--line-light); border-radius: 16px; padding: clamp(16px, 2vw, 24px); }
.detail-card ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: var(--fs-body); }
.detail-card strong { color: var(--gold-hi); }

/* ---------- System pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.pillar { background: #fffaf0; border: 1px solid var(--line-dark); border-radius: 16px; padding: clamp(18px, 2vw, 28px); display: grid; align-content: start; gap: 8px; }
.pillar__num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--chile-deep); letter-spacing: 0.06em; }
.pillar p { margin: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--text-dark); }
.pillar .h3 { color: var(--text-dark); margin-bottom: 0; }
.pillar__on { margin-top: 6px !important; padding-top: 10px; border-top: 1px dashed #cdbb98; font-size: var(--fs-label) !important; color: var(--muted-dark) !important; }
.pillar__on span { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-deep); font-size: 12px; }

/* ---------- Proof before/after ---------- */
.ba { position: relative; height: clamp(300px, 46vh, 430px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-light); margin-top: 6px; --split: 50%; }
.ba__pane { position: absolute; inset: 0; padding: clamp(18px, 2.6vw, 38px); display: grid; align-content: start; gap: 14px; }
.ba__pane--before { background: #fbf5e8; color: var(--text-dark); }
.ba__pane--before .label { color: var(--muted-dark); }
.ba__pane--after { background: var(--ink-3); color: var(--text-light); clip-path: inset(0 0 0 var(--split)); border-left: 2px solid var(--gold-hi); }
.ba__text { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: clamp(16px, calc(0.3vw + 15.2px), 20px); line-height: 1.7; }
.ba__pane--after .ba__text { font-family: "Geist", system-ui, sans-serif; font-size: clamp(18px, calc(0.4vw + 16.2px), 24px); line-height: 1.5; }
.ba__pane--after em { color: var(--gold-hi); font-style: normal; font-weight: 600; }
.ba__range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; margin: 0; height: 44px; accent-color: var(--gold-hi); background: rgba(18, 11, 5, 0.7); }
.checks { list-style: none; margin: clamp(14px, 2.4vh, 24px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.checks li { position: relative; padding-left: 1.6em; font-size: var(--fs-body); line-height: 1.42; color: var(--muted-light); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.7em; height: 0.7em; border-radius: 2px; background: var(--gold-hi); }

/* ---------- Roadmap ---------- */
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.phase { background: #fffaf0; border: 1px solid var(--line-dark); border-radius: 16px; padding: clamp(18px, 2vw, 28px); display: grid; align-content: start; gap: 6px; }
.phase__when { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--chile-deep); }
.phase .h3 { color: var(--text-dark); }
.phase ul { margin: 0 0 6px; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--fs-body); line-height: 1.42; color: var(--text-dark); }
.phase__owner, .phase__need { margin: 0; font-size: var(--fs-label); line-height: 1.45; color: var(--muted-dark); }
.phase__owner span, .phase__need span { display: block; font-family: "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; color: var(--gold-deep); }
.phase__need { margin-top: 6px; padding-top: 10px; border-top: 1px dashed #cdbb98; }

/* ---------- Engagement ---------- */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); align-items: stretch; }
.level { background: rgba(43, 29, 14, 0.55); border: 1px solid var(--line-light); border-radius: 18px; padding: clamp(18px, 2vw, 28px); display: grid; align-content: start; gap: 8px; }
.level p { margin: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--muted-light); }
.level ul { margin: 6px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--fs-body); color: var(--text-light); line-height: 1.4; }
.level--rec { background: var(--paper); color: var(--text-dark); border-color: transparent; }
.level--rec p, .level--rec ul { color: var(--text-dark); }
.level--rec .h3 { color: var(--text-dark); }
.level__tag { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--chile-deep) !important; margin: 0 !important; }

/* ---------- Close ---------- */
.close-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.rep { margin: 0; display: grid; gap: 12px; }
.rep__portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 20px; background: #e4d6b8; box-shadow: 0 30px 60px -28px rgba(26, 18, 8, 0.6); }
.rep__name { margin: 0; font-family: "Geist", system-ui, sans-serif; font-weight: 650; font-size: clamp(26px, calc(0.8vw + 16px), 36px); letter-spacing: -0.02em; color: var(--text-dark); }
.rep__role { margin: 0; font-size: var(--fs-body); color: var(--muted-dark); }
.close-copy { display: grid; gap: 14px; }
.contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contacts li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; border-bottom: 1px solid #d8c9a6; padding: 8px 0; font-size: var(--fs-body); }
.contacts span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-deep); }
.contacts a { color: var(--text-dark); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(26, 18, 8, 0.3); }
.scheduler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; background: #fffaf0; border: 1px solid #d8c9a6; border-radius: 16px; padding: clamp(14px, 1.8vw, 22px); }
.field { display: grid; gap: 6px; font-size: var(--fs-label); color: var(--muted-dark); }
.field select { min-height: 46px; border-radius: 10px; border: 1px solid #b9a77f; background: #fff; color: var(--text-dark); padding: 6px 10px; font-size: var(--fs-body); }
.scheduler .btn { grid-column: 1 / -1; }
.scheduler .note { grid-column: 1 / -1; margin: 0; }
.closing-line { margin: 0; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(24px, calc(1vw + 14px), 38px); line-height: 1.2; color: var(--text-dark); }
.signoff { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.signoff__pill { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--ink); }
.signoff__pill img { height: 26px; width: auto; }
.signoff .label { color: var(--muted-dark); }

/* ---------- Chrome ---------- */
.chrome { position: fixed; left: 0; right: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter); pointer-events: none; }
.chrome > * { pointer-events: auto; }
.chrome--top { top: 0; height: var(--chrome-top); }
.chrome--bottom { bottom: 0; height: var(--chrome-bottom); }
.cobrand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.cobrand__brand { height: 24px; width: auto; }
.cobrand__brand--dark { display: none; }
.cobrand__x { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 26px; color: var(--gold-hi); line-height: 1; }
.cobrand__mark { height: 34px; width: auto; }
.cobrand__name { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-light); }
.chrome__section { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; }
.chrome__right { display: inline-flex; align-items: center; gap: 14px; }
.chrome__count { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--text-light); }
.chrome__btn { min-height: 44px; min-width: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(245, 236, 217, 0.5); background: rgba(18, 11, 5, 0.6); color: var(--text-light); font-weight: 600; font-size: var(--fs-label); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.chrome__btn:hover { border-color: var(--gold-hi); }
.chrome__btn--primary { background: var(--chile); border-color: var(--chile); color: #fff8ee; }
.chrome__btn svg { width: 1.2em; height: 1.2em; }
.chrome__prepared { color: var(--muted-light); }
.chrome__nav { display: inline-flex; gap: 10px; }
.chrome__btn:disabled { opacity: 0.4; cursor: not-allowed; }
body[data-theme="paper"] .cobrand__brand--white { display: none; }
body[data-theme="paper"] .cobrand__brand--dark { display: block; }
body[data-theme="paper"] .cobrand__name, body[data-theme="paper"] .chrome__section, body[data-theme="paper"] .chrome__count { color: var(--text-dark); }
body[data-theme="paper"] .chrome__btn { color: var(--text-dark); border-color: rgba(26, 18, 8, 0.4); background: rgba(245, 236, 217, 0.8); }
body[data-theme="paper"] .chrome__prepared { color: var(--muted-dark); }
body[data-theme="paper"] .chrome__btn--primary { color: #fff8ee; background: var(--chile); }
body[data-theme="paper"] .chrome__btn--primary { border-color: var(--chile); }
body[data-theme="paper"] .cobrand__x { color: var(--chile-deep); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 14; background: rgba(245, 236, 217, 0.12); pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--chile)); transition: width 0.5s var(--ease-out); }
.rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 11; display: grid; gap: 8px; }
.rail button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(245, 236, 217, 0.6); background: transparent; padding: 0; cursor: pointer; min-width: 12px; min-height: 12px; }
.rail button[aria-current="true"] { background: var(--gold-hi); border-color: var(--gold-hi); }
.rail button:focus-visible { box-shadow: var(--focus); }

.index-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(12, 8, 4, 0.94); display: grid; place-items: center; padding: 20px; }
.index-overlay[hidden] { display: none; }
.index-overlay__panel { width: min(900px, 100%); max-height: 100%; overflow: auto; background: var(--ink-2); border: 1px solid rgba(233, 184, 36, 0.35); border-radius: 18px; padding: clamp(16px, 2.4vw, 28px); }
.index-overlay__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: idx; }
.index-list li { counter-increment: idx; }
.index-list button { width: 100%; text-align: left; min-height: 64px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(245, 236, 217, 0.18); background: var(--ink-3); color: var(--text-light); cursor: pointer; display: grid; gap: 4px; font-size: var(--fs-label); }
.index-list button[aria-current="true"] { border-color: var(--gold-hi); box-shadow: inset 0 0 0 1px var(--gold-hi); }
.index-list button::before { content: counter(idx, decimal-leading-zero); font-family: "JetBrains Mono", ui-monospace, monospace; color: var(--gold-hi); }
.index-list strong { font-size: clamp(17px, calc(0.3vw + 15.4px), 20px); font-weight: 620; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .cover-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { left: 40%; }
  .cover-copy { max-width: 56%; }
}
@media (max-width: 1099px) {
  .flagship { grid-template-columns: minmax(0, 1fr); }
  .phone { max-width: 340px; width: 100%; justify-self: center; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars, .phases, .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero-stage { left: 0; top: 0; bottom: auto; height: 46vh; right: 0; }
  .hero-stage.is-boom { top: 0; bottom: 0; height: auto; left: 0; right: 0; }
  .hero-stage::before { inset: -4% -4%; }
  .cover-copy { max-width: none; }
  .cover-grid { padding-top: 40vh; height: auto; min-height: 100%; }
  .slide--cover .slide-scroll { overflow-y: auto; }
  .cover-stage-spacer { display: none; }
  .findings { grid-template-columns: minmax(0, 1fr); }
  .gap-grid, .checks, .close-grid, .pickup { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card { display: block; }
  .rail { display: none; }
  .cobrand__name { display: none; }
  .timeline__ticks { display: none; }
  .timeline__row { grid-template-columns: 84px minmax(0, 1fr); }
  .timeline__range { grid-column: 2; }
  .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .close-grid { gap: 26px; }
  .rep__portrait { max-width: 360px; }
  .scheduler { grid-template-columns: minmax(0, 1fr); }
  .contacts li { grid-template-columns: 90px minmax(0, 1fr); }
}
@media (max-width: 759px) {
  :root { --chrome-top: 58px; --chrome-bottom: 70px; --gutter: 18px; }
  body { font-size: 16px; }
  .chrome--top { background: var(--ink); padding: 0 12px 0 14px; border-bottom: 1px solid rgba(245, 236, 217, 0.12); }
  .slide[data-theme="paper"] ~ .chrome--top, body[data-theme="paper"] .chrome--top { background: var(--paper); border-bottom-color: rgba(26, 18, 8, 0.14); }
  .chrome--bottom { background: var(--ink); padding-bottom: env(safe-area-inset-bottom); height: calc(var(--chrome-bottom) + env(safe-area-inset-bottom)); border-top: 1px solid rgba(245, 236, 217, 0.12); }
  body[data-theme="paper"] .chrome--bottom { background: var(--paper); border-top-color: rgba(26, 18, 8, 0.14); }
  .chrome__prepared { display: none; }
  .chrome__nav { width: 100%; justify-content: space-between; padding: 0 4px; }
  .chrome__nav .chrome__btn { flex: 1; min-height: 48px; }
  .chrome__section { display: none; }
  .chrome__count { font-size: 13px; }
  .cobrand__brand { height: 20px; }
  .cobrand__mark { height: 28px; }
  .cobrand__x { font-size: 22px; }
  .chrome__right .chrome__btn { min-height: 44px; }
  .slide-scroll { inset: var(--chrome-top) 16px var(--chrome-bottom); padding-block: 14px 26px; }
  .hero-stage { top: var(--chrome-top); height: 40vh; }
  .hero-stage.is-boom { top: 0; bottom: 0; height: auto; }
  .cover-grid { padding-top: 40vh; }
  .cover-title { font-size: clamp(44px, 13vw, 70px); }
  .lead, .lead--small { font-size: 18px; }
  .h2 { font-size: clamp(32px, 9.4vw, 44px); }
  .h3 { font-size: 22px; }
  .findings { gap: 10px; }
  .finding__text, .steps li, .pillar p, .phase ul, .level p, .level ul, .checks li, .contacts li, .detail-card ul { font-size: 18px; }
  .finding__src, .timeline__range, .stat__label, .pillar__on, .phase__owner, .phase__need, .note { font-size: 14px; }
  .browser__tabs { overflow-x: auto; }
  .tab { white-space: nowrap; }
  .browser__url { font-size: 13px; }
  .site-hero { min-height: 280px; }
  .site-hero__title { font-size: 34px; }
  .site-hero__sub { font-size: 18px; }
  .site-hero__actions .btn { flex: 1 1 100%; }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .dish { flex-direction: row; }
  .dish img { width: 120px; min-width: 120px; aspect-ratio: auto; height: 100%; }
  .dish h4 { font-size: 17px; }
  .dish p { font-size: 14px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slot { font-size: 15px; }
  .actual-size__row img { width: calc((100vw - 60px) / 2); height: auto; aspect-ratio: 1; }
  .pillars, .phases, .levels { grid-template-columns: minmax(0, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat__num { font-size: 26px; }
  .ba { height: 360px; }
  .ba__text { font-size: 15px; }
  .ba__pane--after .ba__text { font-size: 17px; }
  .ba__range { height: 48px; }
  .phone__screen { min-height: 440px; }
  .phone { max-width: 300px; }
  .index-list { grid-template-columns: minmax(0, 1fr); }
  .rep__name { font-size: 28px; }
  .closing-line { font-size: 28px; }
  .contacts li { grid-template-columns: 80px minmax(0, 1fr); font-size: 18px; }
  .contacts span { font-size: 13px; }
  .scheduler .btn { min-height: 52px; }
  .btn { min-height: 48px; font-size: 16px; }
  .scroll-cue { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero-stage.is-boom #heroCanvas { animation: none; }
}
