/* Lilly's Taqueria · Brandcore proposal. Web-only, no print layout. */

@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: #120E0B;
  --ink-2: #1C1713;
  --ink-3: #2B241E;
  --paper: #F4EDE0;
  --paper-2: #EAE0CC;
  --card-paper: #FBF7EF;
  --line-dark: rgba(244, 237, 224, 0.16);
  --line-paper: #D7C9B0;
  --text-dark: #F4EDE0;
  --muted-dark: #CFC5B3;
  --accent-dark: #FF6A5C;
  --text-paper: #1A1410;
  --muted-paper: #4C4236;
  --accent-paper: #A8120C;
  --logo-red: #FF0000;
  --cta-red: #B3140D;

  --fs-body: clamp(16px, 1.2vw, 24px);
  --fs-lede: clamp(18px, 1.35vw, 26px);
  --fs-label: clamp(13px, 0.9vw, 16px);
  --fs-mini: clamp(13px, 0.95vw, 16px);
  --fs-h2: clamp(40px, 3.85vw, 66px);
  --fs-h3: clamp(24px, 1.7vw, 32px);
  --fs-cover: clamp(64px, 8.4vw, 150px);
  --pad-x: clamp(20px, 3.6vw, 64px);
  --chrome-top: 74px;
  --chrome-bottom: 62px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text-dark);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-theme="light"] { background: var(--paper); }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
body[data-theme="light"] :focus-visible { outline-color: var(--accent-paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */
.kicker { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 18px; color: var(--accent-dark); }
.label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; margin: 0; color: var(--muted-dark); }
.body { font-size: var(--fs-body); line-height: 1.5; margin: 0; }
.lede { font-size: var(--fs-lede); line-height: 1.5; margin: 0; max-width: 62ch; color: var(--muted-dark); }
.mini { font-size: var(--fs-mini); line-height: 1.45; margin: 0; color: var(--muted-dark); }
.footnote { font-size: var(--fs-mini); line-height: 1.5; margin: 22px 0 0; color: var(--muted-dark); max-width: 110ch; }
.h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; margin: 0; max-width: 22ch; }
.h2 em, .cover-title em, .close-copy .h2 em, .slide-head .h2 em, .gap-copy .h2 em, .flagship-copy .h2 em {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-dark);
}
.h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 12px; }
.slide-paper .kicker, .slide-paper .label, .slide-paper .mini, .slide-paper .footnote, .slide-paper .lede { color: var(--muted-paper); }
.slide-paper .kicker { color: var(--accent-paper); }
.slide-paper .h2 em { color: var(--accent-paper); }
.slide-paper .body, .slide-paper .h3 { color: var(--text-paper); }

/* ---------- chrome ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--logo-red); transition: width 0.5s var(--ease); }

.chrome { position: fixed; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad-x); background: var(--ink); color: var(--text-dark); border-color: var(--line-dark); }
.chrome-top { top: 0; height: var(--chrome-top); border-bottom: 1px solid var(--line-dark); }
.chrome-bottom { bottom: 0; height: var(--chrome-bottom); border-top: 1px solid var(--line-dark); }
body[data-theme="light"] .chrome { background: var(--paper); color: var(--text-paper); border-color: var(--line-paper); }
body[data-theme="light"] .chrome-prep, body[data-theme="light"] .chrome-count, body[data-theme="light"] .chrome-label { color: var(--muted-paper); }
.chrome-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark { width: clamp(100px, 8vw, 130px); height: auto; }
.brand-mark-light { display: none; }
body[data-theme="light"] .brand-mark-light { display: block; }
body[data-theme="light"] .brand-mark-dark { display: none; }
.chrome-x { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(22px, 1.8vw, 28px); color: var(--accent-dark); line-height: 1; }
body[data-theme="light"] .chrome-x { color: var(--accent-paper); }
.chrome-client { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.chrome-label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap; }
.chrome-right { display: flex; align-items: center; gap: 16px; }
.chrome-count { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--muted-dark); white-space: nowrap; }
.chrome-btn { min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1.5px solid currentColor; font-size: 15px; letter-spacing: 0.02em; }
.chrome-prep { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.06em; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chrome-nav { display: flex; gap: 10px; }
.nav-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; font-size: 16px; font-weight: 600; letter-spacing: 0.01em; }
.nav-btn svg { width: 20px; height: 20px; }
.nav-primary { background: var(--logo-red); border-color: var(--logo-red); color: #FFF8F0; }
.nav-btn:disabled { opacity: 0.45; cursor: default; }
body[data-theme="light"] .nav-primary { background: var(--cta-red); border-color: var(--cta-red); }

.rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 4px; }
.rail button { width: 28px; height: 28px; border: 0; background: transparent; display: grid; place-items: center; }
.rail button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); opacity: 0.55; transition: transform 0.3s var(--ease), background 0.3s; }
.rail button[aria-current="true"]::before { background: var(--logo-red); opacity: 1; transform: scale(1.5); }
body[data-theme="light"] .rail button::before { background: var(--muted-paper); }
body[data-theme="light"] .rail button[aria-current="true"]::before { background: var(--cta-red); }

/* ---------- deck & slides ---------- */
.deck { position: fixed; inset: 0; }
.slide {
  position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(80px, 11vh, 112px) var(--pad-x) clamp(72px, 9.5vh, 96px);
  opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s;
  background: var(--ink); color: var(--text-dark);
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s; z-index: 2; }
.slide.is-leaving { opacity: 0; }
.slide-inner { max-width: 1480px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide-paper { background: var(--paper); color: var(--text-paper); }
.slide-dark { background: var(--ink); }
.slide-stage {
  background:
    radial-gradient(ellipse 70% 60% at 78% 38%, rgba(255, 26, 18, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 85%, rgba(255, 230, 190, 0.08), transparent 70%),
    linear-gradient(180deg, #17120E 0%, #0C0907 100%);
}
.slide-head { margin-bottom: clamp(24px, 4vh, 44px); }
.slide-head .kicker { margin-bottom: 14px; }

.reveal { opacity: 0; transform: translateY(16px); }
.slide.is-active .reveal { animation: rise 0.8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 85ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reduce-motion .reveal, .reduce-motion .slide.is-active .reveal { opacity: 1; transform: none; animation: none; }

/* ---------- cover ---------- */
.slide-cover { padding: 0; }
.slide-cover .slide-inner { height: 100%; max-width: none; justify-content: center; padding: clamp(80px, 11vh, 112px) var(--pad-x) clamp(72px, 9.5vh, 96px); }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center; max-width: 1480px; margin: 0 auto; width: 100%; }
.cover-copy { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.cover-collab { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(244, 237, 224, 0.04); font-size: var(--fs-label); letter-spacing: 0.04em; margin-bottom: 26px; }
.cover-collab img { width: clamp(96px, 7vw, 116px); height: auto; }
.cover-collab-x { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 22px; color: var(--accent-dark); line-height: 1; }
.cover-title { font-size: var(--fs-cover); line-height: 0.86; letter-spacing: -0.06em; font-weight: 600; margin: 0 0 clamp(20px, 3vh, 34px); }
.cover-title em { font-size: 1.02em; letter-spacing: -0.035em; }
.cover-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: clamp(22px, 3.4vh, 36px) 0 clamp(20px, 3vh, 30px); }
.cover-meta div { min-width: 0; }
.cover-meta dt { margin-bottom: 6px; }
.cover-meta dd { margin: 0; font-size: var(--fs-body); color: var(--muted-dark); }
.cover-meta dd strong { color: var(--text-dark); font-weight: 600; }
.cue { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--text-dark); background: transparent; font-size: 16px; font-weight: 600; }
.cue svg { width: 20px; height: 20px; }
.cue:hover { background: var(--text-dark); color: var(--ink); }

.cover-stage { position: relative; min-height: clamp(380px, 62vh, 640px); display: flex; align-items: center; justify-content: center; min-width: 0; }
.stage-glow { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 26, 18, 0.22) 0%, rgba(255, 26, 18, 0.06) 40%, transparent 70%); pointer-events: none; }
.cover-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; font-size: var(--fs-mini); color: var(--muted-dark); text-align: center; max-width: 60ch; margin-inline: auto; }
.cover-fallback { display: grid; width: min(88%, 560px); aspect-ratio: 3 / 2; border-radius: 26px; background: radial-gradient(ellipse at 50% 40%, #FBF6EC 0%, #EFE6D4 100%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), inset 0 0 0 10px rgba(255, 255, 255, 0.5); place-items: center; padding: 12%; }
.cover-fallback img { width: 100%; height: auto; }
.cover-live .cover-fallback { display: none; }
.no-webgl .fx-layer, .no-js .fx-layer { display: none; }

/* ---------- fx layer ---------- */
.fx-layer { position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity 0.35s ease; }
.fx-layer.is-on { opacity: 1; }
#fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flash { position: fixed; inset: 0; z-index: 46; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 46%, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.42) 38%, rgba(255, 250, 242, 0) 72%); }
.flash.go { animation: flash-go 0.46s ease-out forwards; }
@keyframes flash-go { 0% { opacity: 0; } 16% { opacity: 1; } 100% { opacity: 0; } }
.wipe { position: fixed; top: 0; bottom: 0; left: -40%; width: 140%; z-index: 44; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(244, 237, 224, 0) 0%, rgba(244, 237, 224, 0.42) 34%, rgba(255, 26, 18, 0.34) 50%, rgba(244, 237, 224, 0.38) 62%, rgba(244, 237, 224, 0) 100%);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.wipe.fwd { animation: wipe-fwd 0.78s var(--ease) forwards; }
.wipe.back { animation: wipe-back 0.78s var(--ease) forwards; }
@keyframes wipe-fwd { 0% { transform: translateX(-70%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(70%); opacity: 0; } }
@keyframes wipe-back { 0% { transform: translateX(70%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-70%); opacity: 0; } }
.reduce-motion .wipe, .reduce-motion .flash { display: none; }

/* ---------- audit ---------- */
.audit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 28px); }
.audit-card { background: var(--card-paper); border: 1px solid var(--line-paper); border-radius: 18px; padding: clamp(20px, 1.8vw, 32px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.audit-num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-paper); margin: 0; }
.audit-card .h3 { margin: 0; }
.audit-card .body { color: var(--muted-paper); }
.source { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line-paper); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--muted-paper); }

/* ---------- gap ---------- */
.gap-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(24px, 4vh, 40px); }
.gap-time { font-size: clamp(72px, 9vw, 150px); line-height: 0.9; letter-spacing: -0.05em; font-weight: 600; margin: 0; color: var(--text-dark); font-variant-numeric: tabular-nums; }
.gap-copy .lede { margin-top: 18px; }
.gap-paths { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 28px); }
.path { border-radius: 18px; padding: clamp(20px, 1.9vw, 34px); border: 1px solid var(--line-dark); background: rgba(244, 237, 224, 0.03); min-width: 0; }
.path-next { border-color: rgba(255, 106, 92, 0.55); background: rgba(255, 26, 18, 0.07); }
.path-title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.path-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 10px; }
.path-steps li { counter-increment: step; display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; font-size: var(--fs-body); line-height: 1.45; color: var(--text-dark); }
.path-steps li::before { content: counter(step, decimal-leading-zero); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--accent-dark); padding-top: 0.25em; }
.observed { list-style: none; padding: 0; margin: clamp(22px, 3.4vh, 36px) 0 0; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.observed li { font-size: var(--fs-body); color: var(--muted-dark); }
.observed strong { display: block; font-size: clamp(30px, 2.6vw, 46px); line-height: 1; color: var(--text-dark); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 4px; }

/* ---------- flagship ---------- */
.flagship { display: grid; grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.9fr); gap: clamp(24px, 3vw, 56px); align-items: center; max-width: 1480px; }
.flagship-copy { min-width: 0; }
.flagship-copy .lede { margin-top: 18px; font-size: clamp(17px, 1.2vw, 22px); }
.flagship-points { list-style: none; padding: 0; margin: clamp(18px, 2.6vh, 26px) 0 0; display: grid; gap: 12px; }
.flagship-points li { font-size: var(--fs-body); line-height: 1.45; padding-left: 18px; position: relative; color: var(--muted-dark); }
.flagship-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--logo-red); }
.flagship-points strong { color: var(--text-dark); font-weight: 600; }
.flagship-copy .note { margin-top: 18px; color: var(--muted-dark); font-size: var(--fs-mini); }
.flagship-devices { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 16vw, 250px); gap: clamp(16px, 1.6vw, 24px); align-items: start; min-width: 0; }

.browser { background: #F7F1E6; color: var(--text-paper); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08); min-width: 0; }
.browser-bar { background: #E6DCC9; height: 36px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid #D7C9B0; }
.browser-url { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; color: #4C4236; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site { display: flex; flex-direction: column; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 18px; background: #FBF7EF; border-bottom: 1px solid #DCCFB8; }
.site-logo { width: 118px; height: auto; }
.site-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.site-tab { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid transparent; background: transparent; font-size: 15px; font-weight: 600; color: #3A3129; }
.site-tab[aria-selected="true"] { background: var(--cta-red); color: #FFF8F0; }
.site-tab:not([aria-selected="true"]):hover { border-color: #C9B99E; }
.site-panel { height: clamp(380px, 56vh, 520px); overflow-y: auto; overscroll-behavior: contain; background: #F7F1E6; }
.site-panel[hidden] { display: none; }

.hero { position: relative; height: clamp(200px, 30vh, 270px); overflow: hidden; background: #1C1713; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 9, 7, 0) 25%, rgba(12, 9, 7, 0.85) 100%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px; color: #FFF8F0; }
.hero-kicker { color: #F6CFC9; margin-bottom: 6px; font-size: 14px; }
.hero-title { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 6px; font-weight: 600; color: #FFF8F0; }
.hero-sub { margin: 0 0 12px; font-size: 16px; color: #F4EDE0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; letter-spacing: 0.005em; }
.btn-red { background: var(--cta-red); color: #FFF8F0; border-color: var(--cta-red); }
.btn-red:hover { background: #8F0F09; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn:disabled { opacity: 0.55; cursor: default; }
.site .btn-ghost { color: #3A3129; border-color: #3A3129; }
.hero .btn-ghost { color: #FFF8F0; border-color: #FFF8F0; }
.site .btn-red:focus-visible, .hero .btn-red:focus-visible { outline-color: #FFF8F0; }

.week { padding: 14px 18px 6px; }
.week .label { color: #4C4236; margin-bottom: 8px; }
.week-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; font-size: 14px; background: #FBF7EF; border: 1px solid #DCCFB8; color: #3A3129; }
.day b { font-weight: 700; font-size: 15px; }
.day.closed { background: #F1DED9; border-color: #D9A69C; color: #7A1F16; }
.week .mini { margin-top: 8px; color: #4C4236; font-size: 14px; }
.catering { margin: 10px 18px 18px; padding: 14px 16px; border-radius: 14px; background: #FBF7EF; border: 1px dashed #C9B99E; }
.catering .label { color: #4C4236; margin-bottom: 10px; font-size: 14px; }
.catering-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.catering input { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #C9B99E; background: #F7F1E6; color: #3A3129; font-size: 16px; }
.catering input::placeholder { color: #7A6E60; }
.catering .btn-ghost { min-height: 44px; font-size: 15px; color: #7A6E60; border-color: #C9B99E; }
@media (max-width: 1100px) { .catering-row { grid-template-columns: 1fr 1fr; } .catering-row .btn { grid-column: 1 / -1; } }

.menu-banner { height: clamp(96px, 16vh, 132px); overflow: hidden; }
.menu-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.day-picker { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 4px; }
.day-chip { min-width: 52px; min-height: 42px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #B9A98C; background: #FBF7EF; color: #3A3129; font-size: 15px; font-weight: 600; }
.day-chip[aria-checked="true"] { background: var(--ink); color: #FFF8F0; border-color: var(--ink); }
.day-status { margin: 6px 18px 10px; font-size: 16px; color: #3A3129; font-weight: 600; }
.day-status.is-closed { color: #7A1F16; }
.menu-groups { padding: 0 18px; display: grid; gap: 14px; }
.menu-group h5 { margin: 0 0 6px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cta-red); font-weight: 400; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid #E2D6C0; transition: opacity 0.3s ease; }
.menu-item .mi-name { font-size: 16px; font-weight: 600; color: #1A1410; }
.menu-item .mi-es { font-weight: 500; color: #3A3129; }
.menu-item .mi-desc { grid-column: 1 / -1; font-size: 15px; color: #4C4236; }
.menu-item .mi-badge { align-self: start; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; padding: 3px 8px; border-radius: 999px; border: 1px solid #A8120C; color: #A8120C; white-space: nowrap; }
.menu-item.is-off { opacity: 0.45; }
.menu-item.is-off .mi-badge { border-style: dashed; }
.menu-note { margin: 12px 18px 16px; font-size: 14px; color: #4C4236; }

.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 18px 8px; }
.loc-card { background: #FBF7EF; border: 1px solid #DCCFB8; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.loc-card .label { color: var(--cta-red); font-size: 14px; }
.loc-card p { margin: 0; font-size: 16px; color: #3A3129; }
.loc-title { font-size: 20px; margin: 0; font-weight: 600; color: #1A1410; letter-spacing: -0.01em; }
.loc-card .btn-ghost { margin-top: 8px; align-self: flex-start; min-height: 42px; color: #3A3129; border-color: #3A3129; font-size: 15px; }
.zip-flag { display: inline-block; margin-left: 4px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; padding: 2px 8px; border-radius: 999px; border: 1px dashed #A8120C; color: #A8120C; }
#panel-loc > .mini { padding: 4px 18px 16px; color: #4C4236; font-size: 15px; }

.phone { width: 100%; max-width: 250px; justify-self: end; border-radius: 34px; padding: 12px; background: #0B0907; box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.95), inset 0 0 0 2px #2D2620; min-width: 0; }
.phone-label { font-size: 13px; text-align: center; margin: 0 0 8px; color: var(--muted-dark); }
.phone-screen { background: #F7F1E6; border-radius: 24px; height: clamp(440px, 60vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px; color: #1A1410; }
.phone-day { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.phone-status { margin: 4px 0 12px; font-size: 15px; font-weight: 600; color: #3A3129; }
.phone-status.is-closed { color: #7A1F16; }
.phone-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.phone-list .cat { margin: 10px 0 4px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cta-red); }
.phone-list li { font-size: 16px; line-height: 1.35; padding: 6px 0; border-bottom: 1px solid #E2D6C0; color: #1A1410; }
.phone-list li.is-off { color: #7A6E60; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.phone-list li small { display: block; font-size: 14px; color: #4C4236; margin-top: 2px; }

/* ---------- system ---------- */
.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.pillar { background: var(--card-paper); border: 1px solid var(--line-paper); border-radius: 18px; padding: clamp(22px, 2vw, 34px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pillar .h3 { color: var(--text-paper); margin-bottom: 0; }
.pillar .body { color: var(--muted-paper); }
.outcome { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line-paper); font-size: var(--fs-body); color: var(--text-paper); line-height: 1.45; }
.outcome .label { display: block; color: var(--accent-paper); margin-bottom: 4px; }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 3.2vw, 60px); align-items: start; }
.quotes { display: grid; gap: 14px; min-width: 0; }
.quote { margin: 0; padding: clamp(18px, 1.6vw, 26px); border-left: 3px solid var(--logo-red); background: rgba(244, 237, 224, 0.04); border-radius: 0 16px 16px 0; }
.quote p { margin: 0 0 10px; font-size: clamp(18px, 1.35vw, 24px); line-height: 1.4; color: var(--text-dark); font-family: "Instrument Serif", Georgia, serif; font-style: italic; }
.quote cite { font-style: normal; font-size: var(--fs-mini); color: var(--muted-dark); }
.proof-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.proof-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.proof-photo .mini { margin: 0; }
.compare-stage { position: relative; height: clamp(400px, 60vh, 560px); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--ink-2); --p: 50%; cursor: ew-resize; touch-action: none; outline-offset: 4px; }
.compare-pane { position: absolute; inset: 0; padding: clamp(18px, 1.6vw, 26px); overflow: hidden; }
.compare-before { background: #F7F1E6; color: #1A1410; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.compare-before .label { color: #4C4236; margin-bottom: 12px; }
.before-text { margin: 0; font-size: clamp(16px, 1.05vw, 19px); line-height: 1.55; color: #1A1410; }
.compare-before .mini { margin-top: 12px; color: #4C4236; font-size: 14px; }
.compare-after { background: var(--ink-2); color: var(--text-dark); clip-path: inset(0 0 0 var(--p)); overflow-y: auto; }
.compare-after .label { color: var(--muted-dark); margin-bottom: 10px; }
.after-list { display: grid; gap: 4px; }
.after-list h5 { margin: 8px 0 4px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); font-weight: 400; }
.after-list div { font-size: 16px; padding: 5px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 10px; }
.after-list div span { color: var(--muted-dark); font-size: 14px; white-space: nowrap; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 0; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: var(--logo-red); }
.compare-handle span { position: absolute; top: 50%; left: -20px; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--logo-red); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45); }
.compare-handle span::before, .compare-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.compare-handle span::before { left: 4px; border-right: 8px solid #FFF8F0; border-left: 0; }
.compare-handle span::after { right: 4px; border-left: 8px solid #FFF8F0; border-right: 0; }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.phase { background: var(--card-paper); border: 1px solid var(--line-paper); border-radius: 18px; padding: clamp(22px, 2vw, 34px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.phase-when { margin: 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-paper); }
.phase .h3 { color: var(--text-paper); margin: 0; }
.phase-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: var(--fs-body); line-height: 1.45; color: var(--text-paper); }
.phase-list li::marker { color: var(--accent-paper); }
.phase-meta, .phase-need { margin: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--muted-paper); }
.phase-meta .label, .phase-need .label { display: block; color: var(--accent-paper); margin-bottom: 2px; font-size: var(--fs-label); }
.phase-need { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-paper); }

/* ---------- engagement ---------- */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); align-items: stretch; }
.level { position: relative; border-radius: 18px; padding: clamp(22px, 2vw, 34px); border: 1px solid var(--line-dark); background: rgba(244, 237, 224, 0.03); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.level .h3 { margin: 0 0 4px; }
.level-rec { border-color: var(--accent-dark); background: rgba(255, 26, 18, 0.09); box-shadow: 0 30px 60px -40px rgba(255, 26, 18, 0.5); }
.level-tag { position: absolute; top: -12px; left: 22px; background: var(--logo-red); color: #FFF8F0; padding: 4px 12px; border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; }
.level-tag { color: #FFF8F0; margin: 0; }
.level-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: var(--fs-body); line-height: 1.45; color: var(--text-dark); }
.level-list li::marker { color: var(--accent-dark); }
.level-fit { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: var(--fs-body); color: var(--muted-dark); line-height: 1.45; }
.level-fit .label { display: block; color: var(--accent-dark); margin-bottom: 4px; }

/* ---------- close ---------- */
.slide-close { background: radial-gradient(ellipse 60% 70% at 18% 40%, rgba(255, 26, 18, 0.14), transparent 70%), var(--ink); }
.close-grid { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 80px); align-items: center; max-width: 1480px; }
.rep-card { margin: 0; max-width: 440px; width: 100%; background: #1C1713; border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.rep-portrait { aspect-ratio: 1 / 1; background: #1C1713; }
.rep-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rep-card figcaption { padding: clamp(16px, 1.6vw, 24px); border-top: 1px solid var(--line-dark); }
.rep-name { margin: 0; font-size: clamp(26px, 2.2vw, 36px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-dark); }
.rep-role { margin: 4px 0 0; font-size: var(--fs-body); color: var(--accent-dark); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; }
.close-copy { min-width: 0; }
.close-copy .h2 { margin-bottom: 16px; }
.close-copy .lede { max-width: 56ch; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 0; }
.contact .mini { flex-basis: 100%; margin-top: 2px; }
.scheduler { margin-top: clamp(20px, 3.4vh, 34px); padding: clamp(16px, 1.6vw, 24px); border-radius: 18px; border: 1px solid var(--line-dark); background: rgba(244, 237, 224, 0.03); }
.scheduler > .label { color: var(--muted-dark); margin-bottom: 12px; }
.sched-days, .sched-times { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sched-chip { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--muted-dark); background: transparent; color: var(--text-dark); font-size: 16px; font-weight: 600; }
.sched-chip[aria-checked="true"] { background: var(--text-dark); color: var(--ink); border-color: var(--text-dark); }
.sched-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.sched-actions .mini { flex: 1 1 260px; }
.sched-actions .btn:disabled { opacity: 0.45; }
.signoff { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(18px, 2.8vh, 28px); padding: 12px 18px; border-radius: 999px; background: #1C1713; border: 1px solid var(--line-dark); font-size: var(--fs-mini); color: var(--muted-dark); }
.signoff img { width: 110px; height: auto; }

/* ---------- index overlay ---------- */
.index-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(12, 9, 7, 0.97); padding: clamp(20px, 4vh, 40px) var(--pad-x); overflow-y: auto; }
.index-overlay[hidden] { display: none; }
.index-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.index-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.index-grid button { width: 100%; text-align: left; border-radius: 16px; border: 1px solid var(--line-dark); background: #1C1713; color: var(--text-dark); padding: 20px; min-height: 120px; display: flex; flex-direction: column; gap: 8px; }
.index-grid button:hover, .index-grid button:focus-visible { border-color: var(--accent-dark); }
.index-grid button[aria-current="true"] { border-color: var(--logo-red); }
.index-grid .num { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: var(--fs-label); color: var(--accent-dark); }
.index-grid .ttl { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .audit-grid, .system-grid, .roadmap, .levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flagship { grid-template-columns: minmax(0, 1fr); }
  .flagship-devices { grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 250px); }
  .gap-top { grid-template-columns: minmax(0, 1fr); }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .close-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
@media (max-width: 1100px) {
  .rail { display: none; }
  .chrome-label { display: none; }
  .cover-grid { grid-template-columns: minmax(0, 1fr); }
  .cover-stage { min-height: clamp(300px, 46vh, 460px); order: -1; }
  .cover-copy .cover-title { font-size: clamp(60px, 11vw, 110px); }
  .flagship-devices { grid-template-columns: minmax(0, 1fr); }
  .phone { justify-self: center; max-width: 320px; }
  .phone-screen { height: auto; max-height: 520px; }
  .close-grid { grid-template-columns: minmax(0, 1fr); }
  .rep-card { max-width: 380px; }
}
@media (max-width: 760px) {
  :root { --chrome-top: 58px; --chrome-bottom: 66px; }
  .chrome-top { padding-top: env(safe-area-inset-top); height: calc(var(--chrome-top) + env(safe-area-inset-top)); }
  .chrome-bottom { height: calc(var(--chrome-bottom) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .chrome-brand .brand-mark { width: 96px; }
  .chrome-client { display: none; }
  .chrome-x { display: none; }
  .chrome-count { display: none; }
  .chrome-prep { display: none; }
  .chrome-nav { width: 100%; justify-content: space-between; }
  .chrome-bottom { justify-content: center; }
  .nav-btn { flex: 1 1 0; justify-content: center; }
  .slide { padding: calc(var(--chrome-top) + env(safe-area-inset-top) + 22px) 18px calc(var(--chrome-bottom) + env(safe-area-inset-bottom) + 22px); }
  .slide-cover .slide-inner { padding: calc(var(--chrome-top) + env(safe-area-inset-top) + 16px) 18px calc(var(--chrome-bottom) + env(safe-area-inset-bottom) + 16px); }
  .slide-cover { overflow-y: auto; }
  .audit-grid, .system-grid, .roadmap, .levels, .gap-paths, .index-grid { grid-template-columns: minmax(0, 1fr); }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .cover-meta { grid-template-columns: minmax(0, 1fr); }
  .cover-collab { flex-wrap: wrap; }
  .h2 { font-size: clamp(34px, 9.4vw, 46px); }
  .cover-title { font-size: clamp(56px, 16vw, 84px); }
  .lede { font-size: 17px; }
  .site-tabs { width: 100%; }
  .site-tab { flex: 1 1 auto; padding: 0 10px; font-size: 14px; }
  .site-panel { height: auto; max-height: 540px; }
  .week-row { gap: 4px; }
  .day { font-size: 13px; }
  .catering-row { grid-template-columns: minmax(0, 1fr); }
  .compare-stage { height: clamp(360px, 58vh, 460px); }
  .proof-photo { grid-template-columns: minmax(0, 1fr); }
  .rep-card { max-width: 340px; margin: 0 auto; }
  .contact .btn { width: 100%; }
  .scheduler .sched-chip { flex: 1 1 auto; }
  .index-overlay { padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 18px); }
  .wipe.fwd, .wipe.back { animation-duration: 0.62s; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .slide { padding-top: 84px; padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .slide.is-active .reveal { opacity: 1; transform: none; animation: none; }
  .slide, .fx-layer { transition: none; }
}
.reduce-motion .slide { transition: none; }
.reduce-motion .wipe { display: none; }
