/* Lulu's Mexican Food · private website proposal (Brandcore)
   Palette is derived from the authentic Lulu's sign: orange panel, olive hand-lettering.
   Type: Geist (display/body), Instrument Serif Italic (one payoff per headline), JetBrains Mono (labels). */

@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #14120E;
  --ink-2: #1E1B15;
  --ink-line: rgba(244, 239, 228, 0.16);
  --paper: #F3EEE3;
  --paper-2: #EAE2D1;
  --paper-line: rgba(26, 24, 18, 0.16);
  --text-dark-bg: #F4EFE4;
  --muted-dark-bg: #CFC6B5;
  --text-paper: #1A1812;
  --muted-paper: #3F3A2F;
  --orange: #F2A03C;
  --orange-bright: #FFB35A;
  --orange-deep: #7E3D04;
  --olive: #5E6B3F;
  --olive-deep: #3F4A27;
  --lime: #A8D05A;
  --chile: #C8321E;
  --chile-deep: #A8281A;

  --fs-body: clamp(16px, 0.55vw + 10.2px, 24px);
  --fs-lead: clamp(18px, 0.7vw + 10.2px, 28px);
  --fs-label: clamp(13px, 0.2vw + 11px, 15px);
  --fs-h2: clamp(40px, 3.6vw, 72px);
  --fs-h3: clamp(22px, 1.35vw + 4px, 32px);
  --fs-h4: clamp(18px, 0.6vw + 10px, 22px);
  --fs-cover: clamp(64px, 7.4vw, 148px);
  --fs-tiny: clamp(13px, 0.15vw + 12px, 14px);

  --pad-x: clamp(22px, 4.2vw, 84px);
  --chrome-top-h: 74px;
  --chrome-bottom-h: 56px;
  --chrome-fg: var(--text-dark-bg);
  --chrome-bg: var(--ink);
  --chrome-line: var(--ink-line);
  --chrome-glass: rgba(20, 18, 14, 0.62);
  --ease-out: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text-dark-bg);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
body.theme-paper {
  --chrome-fg: var(--text-paper);
  --chrome-bg: var(--paper);
  --chrome-line: var(--paper-line);
  --chrome-glass: rgba(243, 238, 227, 0.72);
}
body.theme-dark {
  --chrome-fg: var(--text-dark-bg);
  --chrome-bg: var(--ink);
  --chrome-line: var(--ink-line);
  --chrome-glass: rgba(20, 18, 14, 0.62);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
ol, ul { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
em.payoff, .payoff { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.005em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #1A1208; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--ink); color: var(--text-dark-bg); z-index: 200; }

.mono, .kicker, .chrome-label, .chrome-count, .source-tag, .fine, .tag, .step-n, .pillar-n, .phase-when, .owner-label, .scroll-cue, .ticker, .counts span, .mono {
  font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mono { text-transform: none; letter-spacing: 0.02em; }

/* ---------- progress, rail, chrome ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; background: rgba(127, 127, 127, 0.18); }
#progress-bar { display: block; height: 100%; width: 11.1%; background: linear-gradient(90deg, var(--chile), var(--orange), var(--lime)); transition: width .5s var(--ease-out); }

.chrome { position: fixed; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad-x); color: var(--chrome-fg); }
.chrome-top { top: 0; height: var(--chrome-top-h); }
.chrome-bottom { bottom: 0; height: var(--chrome-bottom-h); border-top: 1px solid var(--chrome-line); }
.chrome-top, .chrome-bottom { transition: background-color .4s ease; }

.cobrand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cobrand-brandcore { height: 22px; width: auto; }
.cobrand-x { width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; }
.cobrand-lulus { height: 30px; width: auto; border-radius: 2px; }
.cobrand-brandcore.on-paper { display: none; }
body.theme-paper .cobrand-brandcore.on-dark { display: none; }
body.theme-paper .cobrand-brandcore.on-paper { display: block; }

.chrome-label { margin: 0; text-align: center; color: var(--chrome-fg); opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chrome-right { display: flex; align-items: center; gap: 14px; }
.chrome-count { margin: 0; white-space: nowrap; }
.chrome-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--chrome-glass); color: var(--chrome-fg);
  border: 1px solid var(--chrome-line); cursor: pointer; font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  backdrop-filter: blur(6px);
}
.chrome-btn svg { flex: 0 0 auto; }
.chrome-btn:disabled { opacity: .4; cursor: default; }
.chrome-btn--primary { background: var(--orange); color: #1A1208; border-color: transparent; }
.nav-buttons { display: flex; gap: 10px; }
.prepared-by { margin: 0; font-size: var(--fs-tiny); color: var(--chrome-fg); opacity: .85; min-width: 0; }
.chrome-bottom .prepared-by { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 45; }
.rail ol { list-style: none; display: grid; gap: 10px; }
.rail button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.rail button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--chrome-fg); opacity: .35; transition: transform .25s, opacity .25s; }
.rail button[aria-current="true"]::before { opacity: 1; background: var(--orange); transform: scale(1.5); }

/* ---------- deck and slides ---------- */
.deck { position: fixed; inset: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; visibility: hidden; background: var(--ink); z-index: 1; }
.slide.is-active, .slide.is-entering, .slide.is-leaving { visibility: visible; }
.slide.is-active { z-index: 10; }
.slide.is-leaving { z-index: 12; }
.slide.is-entering { z-index: 11; }
.slide--dark { background: var(--ink); color: var(--text-dark-bg); }
.slide--paper { background: var(--paper); color: var(--text-paper); }

.slide-inner {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--chrome-top-h) + 26px) var(--pad-x) calc(var(--chrome-bottom-h) + 26px);
  -webkit-overflow-scrolling: touch;
}
.slide-head { display: grid; gap: 14px; max-width: 980px; }
.kicker { margin: 0; color: var(--orange-bright); }
.slide--paper .kicker { color: var(--orange-deep); }
.kicker-num { display: inline-block; margin-right: 10px; color: inherit; font-weight: 500; }
.h2 { font-family: "Geist", system-ui, sans-serif; font-weight: 620; font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.h2 .payoff { font-size: 1.05em; letter-spacing: -0.01em; }
.h3 { font-weight: 620; font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.h4 { font-weight: 600; font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 62ch; color: var(--muted-dark-bg); }
.slide--paper .lead { color: var(--muted-paper); }
.fine { font-size: var(--fs-tiny); letter-spacing: 0.01em; text-transform: none; color: var(--muted-dark-bg); line-height: 1.5; max-width: 110ch; }
.slide--paper .fine { color: var(--muted-paper); }
.working { font-size: var(--fs-body); padding: 16px 20px; border-left: 4px solid var(--olive); background: rgba(94, 107, 63, 0.14); border-radius: 6px; max-width: 110ch; }
.slide--paper .working { color: var(--text-paper); }
.slide--dark .working { background: rgba(168, 208, 90, 0.10); border-color: var(--lime); color: var(--text-dark-bg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: clamp(15px, 0.2vw + 13px, 17px);
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer; line-height: 1.1; text-align: center; background: transparent;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--orange); color: #1A1208; }
.btn--primary:hover { background: #FFB04F; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--static { cursor: default; pointer-events: none; }
.slide--dark .btn--ghost { color: var(--text-dark-bg); }
.slide--paper .btn--ghost { color: var(--text-paper); }

/* ---------- 1 · cover ---------- */
.slide--cover { background: var(--ink); overflow: hidden; }
.slide--cover.is-boom-out { background: transparent; }
.cover-backdrop { position: absolute; inset: 0; overflow: hidden; }
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; filter: saturate(.85); }
.cover-scrim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,18,14,.96) 0%, rgba(20,18,14,.88) 38%, rgba(20,18,14,.55) 68%, rgba(20,18,14,.78) 100%),
  linear-gradient(0deg, rgba(20,18,14,.9) 0%, rgba(20,18,14,0) 40%); }
.cover-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; display: none; }
.webgl-live .cover-canvas { display: block; }
.cover-fallback { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.webgl-live .cover-fallback { display: none; }
.cover-plaque {
  position: absolute; left: 66%; top: 50%; width: min(34vw, 560px); transform: translate(-50%, -50%);
  padding: 14px; border-radius: 22px; background: linear-gradient(160deg, #47502F, #2A3119);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
}
.cover-plaque img { width: 100%; height: auto; border-radius: 6px; }
.cover-copy {
  z-index: 3; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2.2vh, 26px);
  right: auto; width: min(46vw, 740px); bottom: 0; top: 0;
  padding-top: calc(var(--chrome-top-h) + 20px); padding-bottom: calc(var(--chrome-bottom-h) + 20px);
}
.cover-copy .kicker { color: var(--orange-bright); max-width: 70ch; line-height: 1.6; }
.cover-title { font-family: "Geist", system-ui, sans-serif; font-weight: 640; font-size: var(--fs-cover); line-height: 0.86; letter-spacing: -0.06em; text-wrap: balance; }
.cover-title .payoff { display: block; font-size: 0.82em; letter-spacing: -0.015em; color: var(--orange-bright); margin-top: 0.08em; }
.cover-copy .lead { max-width: 56ch; }
.ticker { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.ticker li { border: 1px solid var(--ink-line); border-radius: 999px; padding: 8px 14px; color: var(--muted-dark-bg); }
.ticker strong { color: var(--orange-bright); font-weight: 600; }
.prepared { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; color: var(--muted-dark-bg); }
.prepared strong { color: var(--text-dark-bg); }
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark-bg); }
.source-note { color: var(--muted-dark-bg); font-size: var(--fs-tiny); }
.slide--cover .fine, .source-note { color: #BDB4A2; }

/* ---------- 2 · audit ---------- */
.findings { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 6px; }
.finding { background: #FBF8F1; border: 1px solid var(--paper-line); border-radius: 10px; padding: clamp(18px, 1.6vw, 26px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.finding-top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.finding p { font-size: var(--fs-body); color: var(--muted-paper); max-width: 60ch; line-height: 1.5; }
.finding .h3 { font-size: clamp(21px, 1.1vw + 6px, 28px); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 4px; color: #fff; font-weight: 600; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; }
.tag--high { background: var(--chile-deep); }
.tag--med { background: #8A4306; }
.tag--low { background: var(--olive-deep); }
.source-tag { color: var(--olive-deep); font-size: var(--fs-label); text-transform: none; letter-spacing: .02em; }
.audit-tail { margin-top: 18px; }

/* ---------- 3 · gap ---------- */
.gap-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); grid-template-rows: auto auto auto; gap: 28px clamp(24px, 3vw, 56px); align-content: start; }
.gap-layout .slide-head { grid-column: 1 / -1; }
.gap-photo { grid-column: 1; grid-row: 2; border-radius: 12px; overflow: hidden; position: relative; align-self: start; }
.gap-photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 62%; }
.gap-photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; background: rgba(20,18,14,.8); color: var(--text-dark-bg); padding: 10px 12px; border-radius: 8px; font-size: var(--fs-tiny); }
.paths { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-content: start; }
.path { border-radius: 12px; padding: clamp(18px, 1.6vw, 26px); border: 1px solid var(--ink-line); display: grid; gap: 14px; align-content: start; min-width: 0; }
.path--today { background: rgba(200, 50, 30, 0.12); border-color: rgba(200, 50, 30, 0.45); }
.path--next { background: rgba(168, 208, 90, 0.10); border-color: rgba(168, 208, 90, 0.5); }
.steps { list-style: none; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--fs-body); line-height: 1.45; }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #1A1208; font-weight: 700; letter-spacing: 0; text-transform: none; }
.counts { grid-column: 1 / -1; grid-row: 3; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.counts li { border-top: 2px solid var(--orange); padding-top: 12px; display: grid; gap: 4px; }
.counts strong { font-size: clamp(34px, 2.6vw, 52px); font-weight: 650; letter-spacing: -0.03em; color: var(--orange-bright); line-height: 1; }
.counts span { color: var(--muted-dark-bg); font-size: var(--fs-label); letter-spacing: 0.02em; text-transform: none; }

/* ---------- 4 · flagship concept ---------- */
.concept-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); grid-template-rows: auto auto; gap: 22px clamp(20px, 2.6vw, 44px); align-content: start; }
.concept-layout > .slide-head { grid-column: 1; grid-row: 1; }
.concept-points { list-style: none; display: grid; gap: 10px; color: var(--muted-paper); font-size: var(--fs-body); }
.concept-points strong { color: var(--text-paper); }
.browser { grid-column: 2; grid-row: 1 / span 2; background: #FBF8F1; border-radius: 14px; border: 1px solid var(--paper-line); box-shadow: 0 30px 70px rgba(20,18,14,.18); overflow: hidden; min-width: 0; align-self: start; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #E6DED0; border-bottom: 1px solid var(--paper-line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #B9AF9C; }
.browser-bar em { margin-left: 10px; font-style: normal; font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--muted-paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs { display: flex; gap: 4px; padding: 10px 12px 0; background: #FBF8F1; border-bottom: 1px solid var(--paper-line); overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 10px 14px; border-radius: 8px 8px 0 0; font-weight: 600; font-size: 16px; cursor: pointer; color: var(--muted-paper); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text-paper); box-shadow: inset 0 -3px 0 var(--orange); }
.concept-view { height: clamp(380px, 58vh, 640px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(14px, 1.4vw, 22px); }
.panel[hidden] { display: none; }
.panel { display: grid; gap: 16px; }
.hero-card { position: relative; border-radius: 10px; overflow: hidden; min-height: 240px; }
.hero-card img { width: 100%; height: clamp(200px, 30vh, 340px); object-fit: cover; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; background: linear-gradient(0deg, rgba(20,18,14,.9), rgba(20,18,14,0)); color: var(--text-dark-bg); display: grid; gap: 8px; }
.hero-copy .mono { color: var(--orange-bright); font-size: 13px; }
.hero-h { font-family: "Geist", system-ui, sans-serif; font-weight: 640; font-size: clamp(26px, 2.4vw, 42px); letter-spacing: -0.035em; line-height: 1.05; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { min-height: 44px; font-size: 16px; }
.home-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.home-strip > div { border: 1px solid var(--paper-line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 6px; background: #fff; color: var(--text-paper); font-size: 16px; }
.home-strip .mono { color: var(--orange-deep); font-size: var(--fs-label); }
.store-hours { font-size: 16px; color: var(--text-paper); }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.store-card { display: grid; gap: 6px; text-align: left; background: #fff; border: 2px solid var(--paper-line); border-radius: 10px; padding: 8px 8px 12px; cursor: pointer; min-width: 0; }
.store-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; background: var(--paper-2); border-radius: 6px; }
.store-card[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange) inset; }
.store-name { font-weight: 620; font-size: 15px; line-height: 1.25; color: var(--text-paper); }
.store-addr { font-size: 14px; color: var(--muted-paper); }
.store-detail { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--paper-line); border-radius: 10px; padding: 16px 18px; color: var(--text-paper); }
.store-title { font-weight: 640; font-size: 20px; color: var(--text-paper); }
.store-detail .mono { color: var(--muted-paper); font-size: 14px; }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store-actions .btn { min-height: 44px; font-size: 15px; }
.store-actions .btn--ghost { color: var(--text-paper); }
.menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.menu-store { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--paper-line); background: #fff; border-radius: 999px; padding: 9px 14px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--text-paper); min-height: 44px; }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #1A1208; }
.menu-sections { background: #fff; border: 1px solid var(--paper-line); border-radius: 10px; padding: 16px 18px; display: grid; gap: 10px; color: var(--text-paper); }
.menu-sections .mono { color: var(--muted-paper); }
.menu-sections ul { list-style: none; display: grid; gap: 8px; font-size: 17px; }
.menu-sections li { border-bottom: 1px solid var(--paper-line); padding-bottom: 8px; }
.menu-photo { border-radius: 10px; overflow: hidden; }
.menu-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.catering-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.catering-facts { display: grid; gap: 12px; color: var(--text-paper); background: #fff; border: 1px solid var(--paper-line); border-radius: 10px; padding: 14px; font-size: 16px; }
.catering-facts img { width: 100%; height: auto; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.catering-facts .mono { color: var(--muted-paper); }
.catering-facts ul { list-style: none; display: grid; gap: 8px; }
.catering-facts .btn { justify-self: start; min-height: 44px; font-size: 15px; color: var(--text-paper); }
.catering-form { display: grid; gap: 12px; background: #fff; border: 1px solid var(--paper-line); border-radius: 10px; padding: 16px; color: var(--text-paper); }
.catering-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.catering-form input, .catering-form select, .scheduler input, .scheduler select {
  min-height: 46px; padding: 10px 12px; border-radius: 8px; border: 1px solid #A39A88; background: #FFFDF8; color: var(--text-paper); font-weight: 500; font-size: 16px; width: 100%;
}
.catering-form input:invalid:not(:placeholder-shown) { border-color: var(--chile-deep); }
.catering-form .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--muted-paper); }
.phone { grid-column: 1; grid-row: 2; justify-self: start; width: clamp(220px, 17vw, 280px); background: #15130F; border-radius: 34px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.phone-screen { background: #FBF8F1; border-radius: 24px; padding: 14px; display: grid; gap: 10px; color: var(--text-paper); overflow: hidden; }
.phone-screen img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.phone-screen .mono { font-size: 13px; color: var(--muted-paper); }
.phone-h { font-weight: 640; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.phone-sub { font-size: 15px; color: var(--muted-paper); }
.phone-screen .btn { min-height: 46px; font-size: 15px; }
.concept-detail { display: none; grid-column: 1 / -1; color: var(--text-paper); background: #fff; border: 1px solid var(--paper-line); border-radius: 10px; padding: 18px; gap: 10px; font-size: 17px; }
.concept-detail p { line-height: 1.55; }

/* ---------- 5 · system ---------- */
.system-band { position: absolute; left: 0; right: 0; top: 0; height: 36%; overflow: hidden; }
.system-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .55; }
.system-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,14,.35), rgba(20,18,14,.98) 92%); }
.system-layout { display: grid; gap: 22px; align-content: start; padding-top: calc(var(--chrome-top-h) + 26px); }
.system-layout .slide-head { max-width: 1000px; position: relative; z-index: 1; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.pillar { border: 1px solid var(--ink-line); border-radius: 12px; padding: clamp(18px, 1.5vw, 26px); background: rgba(20,18,14,.82); display: grid; gap: 10px; align-content: start; min-width: 0; }
.pillar-n { color: var(--orange-bright); }
.pillar p { color: var(--muted-dark-bg); font-size: var(--fs-body); line-height: 1.5; max-width: 42ch; }

/* ---------- 6 · proof ---------- */
.proof-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px clamp(22px, 3vw, 52px); align-content: start; }
.proof-layout > .slide-head { grid-column: 1 / -1; }
.quotes { grid-column: 1; grid-row: 2; list-style: none; display: grid; gap: 12px; align-content: start; }
.quotes li { background: #FBF8F1; border: 1px solid var(--paper-line); border-radius: 10px; padding: 16px 18px; display: grid; gap: 8px; }
.quotes p { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(20px, 1.2vw + 6px, 28px); line-height: 1.3; color: var(--text-paper); }
.quotes cite { font-style: normal; font-size: 15px; color: var(--muted-paper); font-weight: 600; }
.proof-photo { grid-column: 1; grid-row: 3; border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr); align-content: start; }
.proof-photo img { width: 100%; height: clamp(220px, 34vh, 360px); object-fit: cover; object-position: 50% 30%; }
.proof-photo figcaption { font-size: 15px; color: var(--muted-paper); padding: 8px 2px; }
.compare-wrap { grid-column: 2; grid-row: 2 / span 2; display: grid; gap: 10px; align-content: start; min-width: 0; }
.compare { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 12px; overflow: hidden; border: 1px solid var(--paper-line); min-height: 380px; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.compare-pane { grid-area: 1 / 1; padding: clamp(18px, 1.8vw, 28px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.compare-before { background: #F7DDD4; color: #2A1510; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-after { background: #EAF2D7; color: #1E2A0C; clip-path: inset(0 0 0 var(--split)); }
.compare-before .mono, .compare-after .mono { color: inherit; opacity: .85; font-size: 14px; }
.compare-h { font-weight: 640; font-size: clamp(22px, 1.4vw + 6px, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.compare-before p, .compare-after p { font-size: 17px; line-height: 1.5; }
.compare-tel { font-weight: 640; font-size: 22px; }
.compare-tel span { font-weight: 400; font-size: 14px; opacity: .8; }
.compare-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.compare-buttons .btn { min-height: 46px; font-size: 16px; color: #1A1208; }
.compare-buttons .btn--ghost { color: #1A1208; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 0; pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: -20px; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,255,255,.7); }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1.5px; background: var(--orange); }
.compare-range { display: block; }
.compare-range input { width: 100%; accent-color: var(--orange-deep); min-height: 44px; }

/* ---------- 7 · roadmap ---------- */
.roadmap-layout { display: grid; gap: 26px; align-content: start; }
.roadmap-head { grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); align-items: end; max-width: none; }
.roadmap-photo { border-radius: 10px; overflow: hidden; }
.roadmap-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phase { border-top: 3px solid var(--orange); padding: 18px 4px 4px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.phase-when { color: var(--orange-bright); font-size: 16px; font-weight: 600; }
.phase ul { list-style: none; display: grid; gap: 10px; padding-left: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--text-dark-bg); }
.phase ul li { padding-left: 20px; position: relative; }
.phase ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.owner { font-size: 16px; line-height: 1.45; color: var(--muted-dark-bg); }
.owner strong { color: var(--text-dark-bg); }

/* ---------- 8 · engagement ---------- */
.engagement-layout { display: grid; gap: 20px; align-content: start; }
.engage-photo { border-radius: 12px; overflow: hidden; max-height: 22vh; }
.engage-photo img { width: 100%; height: 22vh; min-height: 140px; object-fit: cover; object-position: 50% 30%; }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.level { background: #FBF8F1; border: 1px solid var(--paper-line); border-radius: 12px; padding: clamp(18px, 1.6vw, 26px); display: grid; gap: 12px; align-content: start; min-width: 0; color: var(--text-paper); }
.level p { color: var(--muted-paper); font-size: var(--fs-body); line-height: 1.5; }
.level .mono { color: var(--orange-deep); font-size: 14px; }
.level ul { list-style: none; display: grid; gap: 8px; color: var(--text-paper); font-size: 17px; margin-top: auto; }
.level ul li::before { content: "+ "; color: var(--olive-deep); font-weight: 700; }
.level--rec { background: #FFF7E6; border: 2px solid var(--orange); }
.cta-row { margin: 0; }

/* ---------- 9 · close ---------- */
.slide--close { overflow: hidden; }
.close-backdrop { position: absolute; inset: 0; overflow: hidden; }
.close-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: .26; filter: saturate(.7); }
.close-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,14,.96), rgba(20,18,14,.82)); }
.close-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; gap: 22px clamp(24px, 3vw, 56px); align-content: start; }
.rep-card { display: grid; gap: 14px; align-content: start; min-width: 0; }
.rep-portrait { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; border-radius: 14px; border: 1px solid var(--ink-line); background: #222; }
.rep-meta { display: grid; gap: 6px; }
.rep-name { font-family: "Geist", system-ui, sans-serif; font-weight: 640; font-size: clamp(28px, 2vw + 8px, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.rep-role { color: var(--orange-bright); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; font-family: "JetBrains Mono", monospace; }
.rep-message { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: clamp(22px, 1.2vw + 8px, 32px); line-height: 1.25; color: var(--text-dark-bg); max-width: 26ch; }
.close-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.contact { list-style: none; display: grid; gap: 10px; }
.contact li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: baseline; border-bottom: 1px solid var(--ink-line); padding-bottom: 10px; }
.contact .mono { color: var(--muted-dark-bg); }
.contact a { font-size: clamp(20px, 1vw + 8px, 28px); font-weight: 600; color: var(--text-dark-bg); text-decoration: none; word-break: break-word; }
.contact a:hover { color: var(--orange-bright); text-decoration: underline; }
.scheduler { display: grid; gap: 12px; background: rgba(20,18,14,.8); border: 1px solid var(--ink-line); border-radius: 12px; padding: clamp(16px, 1.6vw, 24px); }
.scheduler label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text-dark-bg); }
.scheduler .scheduler-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scheduler input, .scheduler select { background: #FFFDF8; color: var(--text-paper); border-color: #A39A88; }
.scheduler .btn { justify-self: start; }
.scheduler .form-status { color: var(--muted-dark-bg); }
.close-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink-line); padding-top: 14px; color: var(--muted-dark-bg); flex-wrap: wrap; }
.close-foot img { height: 22px; width: auto; }
.close-foot p { margin: 0; font-size: 15px; }

/* ---------- index overlay ---------- */
.index-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(10, 9, 7, .92); display: grid; place-items: center; padding: 18px; }
.index-overlay[hidden] { display: none; }
.index-panel { width: min(980px, 100%); max-height: 100%; overflow-y: auto; background: var(--ink-2); color: var(--text-dark-bg); border: 1px solid var(--ink-line); border-radius: 14px; padding: 20px; }
.index-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.index-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.index-list button { width: 100%; text-align: left; background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); border-radius: 10px; padding: 14px; cursor: pointer; display: grid; gap: 6px; color: var(--text-dark-bg); min-height: 100px; }
.index-list button[aria-current="true"] { border-color: var(--orange); }
.index-list .n { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--orange-bright); }
.index-list .t { font-weight: 620; font-size: 18px; }

/* ---------- transitions ---------- */
.seam { position: fixed; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; z-index: 40; pointer-events: none; transform: scaleX(0); background: linear-gradient(90deg, transparent, #FF5A2A 25%, #FFB35A 55%, #C7E77A 80%, transparent); box-shadow: 0 0 22px 4px rgba(255, 110, 40, .45); transform-origin: 0 50%; }
.chip-burst { position: fixed; left: 50%; top: 50%; width: 0; height: 0; z-index: 41; pointer-events: none; }
.chip-burst i { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; background: #E8C27A; clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0; }
.chip-burst i:nth-child(3n) { background: #F2A03C; }
.chip-burst i:nth-child(4n) { background: #A8D05A; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .gap-layout { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
  .concept-layout { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr); }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .rail { display: none; }
  .concept-layout { grid-template-columns: minmax(0, 1fr); }
  .concept-layout > .slide-head, .browser, .phone { grid-column: 1; grid-row: auto; }
  .phone { justify-self: center; }
  .cover-copy { width: min(56vw, 640px); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .roadmap-head { grid-template-columns: 1fr; }
  .roadmap-photo { max-width: 320px; }
}
@media (max-width: 1000px) {
  .proof-layout { grid-template-columns: 1fr; }
  .quotes, .proof-photo, .compare-wrap { grid-column: 1; grid-row: auto; }
  .close-layout { grid-template-columns: 1fr; }
  .rep-portrait { max-width: 320px; }
  .gap-layout { grid-template-columns: 1fr; }
  .gap-photo { grid-row: auto; max-width: 560px; }
  .gap-photo img { aspect-ratio: 4 / 3; }
  .menu-layout, .catering-layout { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --chrome-top-h: 64px; --chrome-bottom-h: 62px; }
  body { overflow: hidden; }
  .chrome { background: var(--chrome-bg); }
  .chrome-top { box-shadow: 0 1px 0 var(--chrome-line); }
  .chrome-label { display: none; }
  .cobrand-lulus { height: 26px; }
  .cobrand-brandcore { height: 18px; }
  .chrome-count { font-size: 13px; }
  .chrome-btn span { display: none; }
  .chrome-btn { min-width: 44px; justify-content: center; padding: 0 12px; }
  .chrome-bottom .prepared-by { display: none; }
  .nav-buttons { width: 100%; justify-content: space-between; }
  .nav-buttons .chrome-btn { flex: 1 1 0; justify-content: center; }
  .nav-buttons .chrome-btn span { display: inline; }
  .chrome-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); height: calc(var(--chrome-bottom-h) + env(safe-area-inset-bottom, 0px)); }
  .slide-inner { padding-top: calc(var(--chrome-top-h) + 18px); padding-bottom: calc(var(--chrome-bottom-h) + 22px + env(safe-area-inset-bottom, 0px)); }
  .cover-copy { width: 100%; top: 46vh; bottom: 0; padding-top: 0; padding-bottom: calc(var(--chrome-bottom-h) + 16px); justify-content: flex-start; gap: 16px; }
  .cover-title { font-size: clamp(54px, 15vw, 96px); }
  .cover-plaque { left: 50%; top: 23vh; width: min(78vw, 360px); }
  .cover-scrim { background: linear-gradient(0deg, rgba(20,18,14,.98) 0%, rgba(20,18,14,.94) 46%, rgba(20,18,14,.4) 100%); }
  .cover-photo { object-position: 60% 30%; opacity: .55; }
  .ticker { gap: 8px; }
  .ticker li { font-size: 13px; padding: 7px 11px; }
  .concept-detail { display: grid; }
  .concept-view { height: clamp(360px, 62vh, 560px); }
  .browser-bar em { font-size: 12px; }
  .browser { grid-column: 1; }
  .home-strip { grid-template-columns: 1fr; }
  .menu-store .chip { flex: 1 1 calc(50% - 8px); }
  .system-band { height: 24%; }
  .system-layout { padding-top: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .levels { grid-template-columns: 1fr; }
  .findings { grid-template-columns: 1fr; }
  .counts { grid-template-columns: 1fr; }
  .scheduler .scheduler-row { grid-template-columns: 1fr; }
  .contact li { grid-template-columns: 1fr; gap: 2px; }
  .close-foot { flex-direction: column; align-items: flex-start; }
  .phases { gap: 12px; }
  .roadmap-head { grid-template-columns: 1fr; }
  .roadmap-photo { display: none; }
  .engage-photo img { height: 18vh; }
  .compare { min-height: 0; }
  .compare-before, .compare-after { min-height: 320px; }
  .paths { grid-template-columns: 1fr; }
  .phone { display: none; }
  .concept-layout { gap: 18px; }
}
@media (max-width: 560px) {
  :root { --fs-h2: 38px; }
  .slide-inner { padding-left: 20px; padding-right: 20px; }
  .h2 { font-size: clamp(34px, 9.4vw, 44px); }
  .h3 { font-size: 23px; }
  .store-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .store-card img { aspect-ratio: 4 / 3; }
  .index-list { grid-template-columns: 1fr; }
  .tabs button { padding: 10px 10px; font-size: 15px; }
  .hero-h { font-size: 26px; }
  .hero-card img { height: 200px; }
  .compare-pane { padding: 16px; }
  .compare-before p, .compare-after p { font-size: 16px; }
  .quotes p { font-size: 20px; }
  .browser { border-radius: 10px; }
}

/* ---------- reduced motion / no WebGL ---------- */
@media (prefers-reduced-motion: reduce) {
  .slide, .slide * { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  #progress-bar { transition: none; }
}
html.reduced-motion .seam, html.reduced-motion .chip-burst { display: none !important; }
html.no-webgl .cover-canvas { display: none !important; }

/* ---------- no-JS: the same slides read in order ---------- */
html.no-js body { overflow: auto; height: auto; }
html.no-js .deck { position: static; inset: auto; overflow: visible; }
html.no-js .slide { position: relative; inset: auto; visibility: visible; min-height: 100vh; }
html.no-js .slide-inner { position: relative; inset: auto; overflow: visible; min-height: 100vh; }
html.no-js .chrome, html.no-js .rail, html.no-js .index-overlay, html.no-js .progress, html.no-js .seam, html.no-js .chip-burst { display: none; }

/* ---------- display standard · whole-composition centering (slides 05, 07, 08, G5.A2) ----------
   One structural wrapper (.vstack) holds every inner heading/body/support element and is
   centered between the fixed chrome with auto block margins; when the composition is taller
   than the stage the margins collapse to zero and natural top flow stays reachable.
   Layout wrappers keep their own grid internals (gap, columns) untouched. */
.slide-inner--center { display: flex; flex-direction: column; }
.slide-inner--center > .vstack { margin-block: auto; display: grid; }
.slide-inner--center.system-layout > .vstack { gap: 22px; }
.slide-inner--center.roadmap-layout > .vstack { gap: 26px; }
.slide-inner--center.engagement-layout > .vstack { gap: 20px; }
@media (max-width: 1100px) {
  .slide-inner--center.engagement-layout > .vstack { gap: 18px; }
}
/* the layout wrapper's own padding-top used to replace the inner padding on mobile and
   slid content under the opaque masthead; the stage padding now lives on .slide-inner only */
.slide-inner--center.system-layout { padding-top: calc(var(--chrome-top-h) + 26px); }
@media (max-width: 860px) {
  .slide-inner--center.system-layout { padding-top: calc(var(--chrome-top-h) + 18px); }
}
