/* Araujo's Mexican Grill × Brandcore
   Palette from the restaurant's own signage: chile red, salsa green, corn,
   mesquite charcoal and masa cream. Fluid type, no print layer. */

@font-face { font-family: 'Barlow Condensed'; src: url('assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('assets/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/barlow-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --coal: #120C09;
  --coal-2: #1C1410;
  --coal-3: #2A1E17;
  --cream: #F7F0E4;
  --cream-2: #FFFCF6;
  --cream-3: #EDE2D1;
  --ink: #1C140F;
  --ink-muted: #4A3B31;
  --on-dark: #FBF6EE;
  --on-dark-muted: #DFD0BD;
  --corn: #F2BF6B;
  --corn-deep: #6B4700;
  --chile: #C2322A;
  --chile-deep: #8F1A1A;
  --salsa: #6FA63A;
  --salsa-deep: #24501A;
  --line-dark: rgba(242, 191, 107, 0.24);
  --line-light: rgba(28, 20, 15, 0.14);

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --pad-x: clamp(24px, 4.1vw, 84px);
  --pad-top: clamp(14px, 2.4vh, 28px);
  --pad-bottom: clamp(58px, 8vh, 92px);
  --foot-y: clamp(20px, 3.2vh, 38px);
  --radius: 18px;

  --fs-body: clamp(17px, 0.8vw + 7.6px, 23px);
  --fs-lead: clamp(17px, 0.58vw + 10.2px, 24px);
  --fs-small: clamp(14px, 0.3vw + 9.4px, 17px);
  --fs-label: clamp(13px, 0.38vw + 7.9px, 16px);
  --fs-h2: clamp(36px, 2.5vw + 19px, 62px);
  --fs-h3: clamp(21px, 0.58vw + 15px, 30px);
  --fs-h1: clamp(42px, 4.65vw + 2px, 88px);
  --fs-card: clamp(16px, 0.75vw + 6px, 20px);
  /* meaningful labels, sources, severity tags, form labels: 13px at 1366, 14px at 1600 */
  --fs-meta: clamp(13px, 0.45vw + 6.8px, 15px);

  --dock-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--coal); color: var(--on-dark); }
body {
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--corn); outline-offset: 2px; }
.light :focus-visible { outline-color: var(--chile-deep); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--cream); color: var(--ink); text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }

.ui-icon { display: inline-block; width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.14em; }

/* ---------------- Slide shell ---------------- */
#deck { position: relative; width: 100%; overflow: hidden; }
.slide {
  position: relative;
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100svh;
  padding: var(--pad-top) var(--pad-x) var(--pad-bottom);
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 100% 0%, rgba(242, 191, 107, 0.06), transparent 70%),
    var(--coal);
  color: var(--on-dark);
}
.slide.active { display: flex; }
.slide.light {
  background:
    radial-gradient(62% 50% at 100% 0%, rgba(194, 50, 42, 0.055), transparent 70%),
    var(--cream);
  color: var(--ink);
}
.slide > header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(10px, 1.5vh, 18px);
  border-bottom: 1px solid var(--line-dark);
}
.slide.light > header { border-bottom-color: var(--line-light); }

.slide-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: clamp(12px, 2.1vh, 28px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 191, 107, 0.34) transparent;
  overscroll-behavior: contain;
}
.light .slide-body { scrollbar-color: rgba(143, 26, 26, 0.34) transparent; }
.slide-body::-webkit-scrollbar { width: 8px; }
.slide-body::-webkit-scrollbar-thumb { background: rgba(242, 191, 107, 0.3); border-radius: 8px; }
.light .slide-body::-webkit-scrollbar-thumb { background: rgba(143, 26, 26, 0.26); }
.body-fit { width: 100%; margin-block: auto; }

.brand-plate {
  display: inline-flex;
  align-items: center;
  gap: clamp(9px, 0.8vw, 15px);
  padding: clamp(7px, 0.95vh, 11px) clamp(14px, 1.2vw, 22px) clamp(7px, 0.95vh, 11px) clamp(10px, 0.85vw, 15px);
  background: linear-gradient(180deg, #2A1E17 0%, #140E0B 100%);
  border: 1px solid rgba(242, 191, 107, 0.4);
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(20, 14, 11, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.brand-emblem { width: auto; height: clamp(42px, 5.6vh, 62px); }
.brand-wordmark { width: auto; height: clamp(34px, 4.5vh, 50px); }
/* One lockup system: Brandcore mark × the client's own mark, inside the same dark plate */
.bc-mark { width: auto; height: clamp(15px, 2.1vh, 21px); opacity: 0.96; }
.bc-x { align-self: center; margin: 0 clamp(2px, 0.3vw, 6px); font-family: var(--display); font-size: clamp(16px, 1.15vw, 22px); font-weight: 600; line-height: 1; color: var(--corn); }

.header-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  white-space: nowrap;
}
.header-tag b {
  display: inline-grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--corn);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.light .header-tag { color: var(--ink-muted); }
.light .header-tag b { color: var(--chile-deep); }

.page, .slide-foot {
  position: absolute;
  bottom: var(--foot-y);
  font-family: var(--display);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.page { right: var(--pad-x); white-space: nowrap; }
.slide-foot { left: var(--pad-x); max-width: 34vw; text-decoration: none; }
a.slide-foot { border-bottom: 1px solid rgba(242, 191, 107, 0.45); }
a.slide-foot:hover { color: var(--corn); }
.note-only { font-family: var(--sans); font-size: var(--fs-small); letter-spacing: 0; text-transform: none; line-height: 1.4; max-width: 38vw; }
.light .page, .light .slide-foot { color: var(--ink-muted); }
.light a.slide-foot { border-bottom-color: rgba(143, 26, 26, 0.4); }
.light a.slide-foot:hover { color: var(--chile-deep); }

/* ---------------- Type ---------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.012em; }
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 0.95; letter-spacing: -0.028em; }
h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); line-height: 1.08; }
h1 em, h2 em { font-style: normal; color: var(--chile); }
.light h2 em { color: var(--chile-deep); }
.lead { font-size: var(--fs-lead); line-height: 1.46; color: var(--on-dark-muted); }
.light .lead { color: var(--ink-muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(10px, 1.6vh, 18px);
  font-family: var(--display);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--corn);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--chile); }
.light .eyebrow { color: var(--chile-deep); }

/* ---------------- Cover ---------------- */
.cover {
  padding: 0;
  background:
    radial-gradient(80% 58% at 68% 108%, rgba(194, 50, 42, 0.28), transparent 62%),
    radial-gradient(50% 42% at 100% 0%, rgba(242, 191, 107, 0.08), transparent 70%),
    var(--coal);
}
.cover.active { display: block; }
.cover::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 7, 5, 0.22) 0%, transparent 22%, transparent 78%, rgba(10, 7, 5, 0.5) 100%);
  z-index: 2;
}
.cover-top {
  position: absolute;
  z-index: 6;
  top: var(--pad-top);
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cobrand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 15px;
  border: 1px solid rgba(242, 191, 107, 0.32);
  border-radius: 999px;
  background: rgba(14, 9, 7, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cobrand-brand { height: 20px; width: auto; }
.cobrand-x { font-family: var(--display); font-size: 15px; color: var(--corn); }
.cobrand-client {
  font-family: var(--display);
  font-size: clamp(13px, 0.78vw, 15px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.cover-top .page { position: static; }
.cover-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  height: 100%;
}
.cover-copy {
  position: relative;
  z-index: 5;
  align-self: center;
  padding: clamp(86px, 12vh, 132px) clamp(30px, 3vw, 56px) clamp(72px, 10vh, 108px) var(--pad-x);
}
.cover-copy h1 { max-width: 12.6em; text-wrap: balance; }
.hero-lead {
  max-width: 48ch;
  margin-top: clamp(15px, 2.4vh, 26px);
  font-size: var(--fs-lead);
  line-height: 1.48;
  color: var(--on-dark-muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px, 2.8vh, 30px); }
.chips li {
  padding: 8px 13px;
  border: 1px solid rgba(242, 191, 107, 0.36);
  border-radius: 999px;
  background: rgba(18, 12, 9, 0.55);
  font-family: var(--display);
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.prepared-by { display: flex; align-items: center; gap: 12px; margin-top: clamp(16px, 2.6vh, 28px); color: var(--on-dark-muted); font-size: var(--fs-small); }
.prepared-by img { width: 48px; height: 48px; object-fit: cover; border-radius: 11px; box-shadow: 0 8px 18px rgba(0,0,0,.32); }
.prepared-by b { display: block; margin-top: 2px; color: var(--on-dark); font-size: calc(var(--fs-small) + 1px); font-weight: 600; }
.cover-stage { position: absolute; inset: 0; z-index: 1; height: 100%; min-height: 0; overflow: hidden; pointer-events: none; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 3; }
.plate-fallback { position: absolute; inset: 0; display: none; place-items: center; justify-items: end; padding-right: 6%; z-index: 4; }
.plate-fallback::before {
  content: '';
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 122, 42, 0.3), rgba(194, 50, 42, 0.1) 45%, transparent 70%);
  filter: blur(18px);
}
.plate-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: min(72%, 58vh);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #35271F 0%, #1A120E 52%, #0C0806 100%);
  border: 3px solid rgba(242, 191, 107, 0.6);
  box-shadow: inset 0 0 0 6px rgba(0,0,0,.55), inset 0 0 60px rgba(0,0,0,.85), 0 30px 70px rgba(0,0,0,.6);
}
.plate-disc img { width: 62%; height: auto; }
.cover-stage.no-webgl #scene, #scene[data-webgl="unavailable"] { display: none; }
.cover-stage.no-webgl .plate-fallback { display: grid; }
.stage-note {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(72px, 10vh, 108px);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(223, 208, 189, 0.6);
}
.cover-foot {
  position: absolute;
  z-index: 6;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: clamp(18px, 3vh, 30px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--display);
  font-size: var(--fs-meta);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(223, 208, 189, 0.72);
}
.cover-foot span:last-child { color: var(--corn); }

/* ---------------- Audit ---------------- */
.audit-body { display: flex; flex-direction: column; gap: clamp(16px, 2.2vh, 24px); }
.audit-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.5fr);
  gap: clamp(22px, 2.6vw, 44px);
  align-items: start;
}
.audit-intro h2 { margin-bottom: clamp(8px, 1.2vh, 12px); }
.audit-intro .lead { max-width: 68ch; }
.audit-evidence {
  padding: 9px;
  border: 1px solid var(--line-light);
  border-radius: 13px;
  background: var(--cream-2);
  box-shadow: 0 14px 30px rgba(28, 20, 15, 0.07);
}
.evidence-frame { height: clamp(124px, 17vh, 170px); overflow: hidden; border-radius: 7px; background: #B01E24; }
.evidence-frame img { width: 100%; height: 100%; object-fit: cover; object-position: left 52%; }
.evidence-cap { margin-top: 7px; font-size: var(--fs-meta); line-height: 1.32; color: var(--ink-muted); }
.evidence-cap b { color: var(--chile-deep); font-family: var(--display); letter-spacing: 0.1em; }
.evidence-stats { margin-top: 7px; font-size: var(--fs-meta); line-height: 1.4; color: var(--ink-muted); }
.evidence-stats b { font-family: var(--display); font-size: calc(var(--fs-meta) + 3px); color: var(--chile-deep); }

.audit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(9px, 0.9vw, 14px); }
.finding {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  padding: clamp(10px, 1.2vh, 15px) clamp(11px, 0.9vw, 15px);
  border: 1px solid var(--line-light);
  border-top: 3px solid var(--chile);
  border-radius: 11px;
  background: var(--cream-2);
}
.f-index { font-family: var(--display); font-size: clamp(18px, 1.35vw, 25px); font-weight: 800; line-height: 1; color: rgba(143, 26, 26, 0.55); }
.f-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.finding h3 { font-size: clamp(18px, 1.06vw, 23px); line-height: 1.04; color: var(--ink); }
.finding p { margin-top: 4px; font-size: var(--fs-card); line-height: 1.34; color: var(--ink-muted); }
.finding .src { display: block; margin-top: 6px; font-family: var(--display); font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.06em; color: var(--ink-muted); }
.sev {
  flex: none;
  padding: 3px 7px;
  border: 1px solid rgba(28, 20, 15, 0.28);
  border-radius: 999px;
  font-family: var(--display);
  font-size: var(--fs-meta);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.sev.high { border-color: rgba(143, 26, 26, 0.5); color: var(--chile-deep); background: rgba(194, 50, 42, 0.07); }

/* ---------------- Gap ---------------- */
.gap-body {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(26px, 3.4vw, 64px);
  align-items: center;
}
.gap-copy h2 { margin-bottom: clamp(10px, 1.4vh, 14px); }
.gap-copy .lead { max-width: 60ch; }
.gap-paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(16px, 2.4vh, 28px); }
.path { padding: clamp(13px, 1.7vh, 20px); border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(42, 30, 23, 0.5); }
.path.proposed { border-color: rgba(111, 166, 58, 0.5); background: rgba(36, 80, 26, 0.16); }
.path-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--display); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted); }
.path-label b { color: var(--chile); font-size: calc(var(--fs-label) + 2px); }
.path.proposed .path-label b { color: var(--salsa); }
.path ol { margin-top: 8px; counter-reset: step; display: grid; gap: 4px; }
.path li { position: relative; padding-left: 20px; font-size: var(--fs-card); line-height: 1.32; color: var(--on-dark-muted); }
.path li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0.05em; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--corn); }
.path.proposed li::before { color: var(--salsa); }
.gap-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px, 2.2vh, 24px); }
.gap-facts span { padding: 7px 11px; border: 1px solid rgba(242, 191, 107, 0.3); border-radius: 999px; font-size: var(--fs-small); color: var(--on-dark-muted); }
.gap-facts b { color: var(--corn); font-family: var(--display); font-size: 1.1em; }
.gap-photo { position: relative; align-self: stretch; min-height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(242, 191, 107, 0.28); }
.gap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.gap-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(10, 7, 5, 0.82) 100%); }
.gap-photo figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); color: var(--on-dark-muted); }
.gap-photo figcaption b { font-family: var(--display); font-size: clamp(22px, 1.8vw, 32px); letter-spacing: 0.04em; color: var(--on-dark); }

/* ---------------- Flagship ---------------- */
.flagship-body {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(18px, 2.4vw, 42px);
  align-items: center;
}
.flagship-copy h2 { margin-bottom: clamp(10px, 1.4vh, 14px); }
.flagship-copy .lead { max-width: 54ch; }
.flag-notes { display: grid; gap: clamp(8px, 1.2vh, 13px); margin-top: clamp(14px, 2.2vh, 24px); }
.flag-notes li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: start; }
.flag-notes li > span { display: grid; place-items: center; width: 2em; height: 2em; border: 1.5px solid var(--chile-deep); border-radius: 50%; font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--chile-deep); }
.flag-notes p { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-muted); }
.flag-notes b { color: var(--ink); font-weight: 600; }
.detail-open {
  margin-top: clamp(14px, 2vh, 22px);
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--chile-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--chile-deep);
  font-family: var(--display);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.detail-open:hover { background: var(--chile-deep); color: #FFF; }
.flagship-stage { position: relative; min-width: 0; }
.browser { overflow: hidden; background: #0F0B09; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 13px; box-shadow: 0 26px 60px rgba(28, 20, 15, 0.3); }
.browser-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; background: #1C1511; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.browser-dots { display: inline-flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.browser-dots i:nth-child(2) { background: #FEBC2E; }
.browser-dots i:nth-child(3) { background: #28C840; }
.browser-url { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 11px; color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url .ui-icon { color: var(--salsa); }
.browser-detail, .browser-close {
  margin-left: auto;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(242, 191, 107, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--corn);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.browser-close { display: none; border-color: rgba(255,255,255,.35); color: var(--on-dark); }

/* The website concept itself */
.concept-browser { container-type: inline-size; display: flex; flex-direction: column; aspect-ratio: 16 / 10.3; }
.c-ui { display: flex; flex: 1; min-height: 0; flex-direction: column; background: #FBF6EC; color: #201611; }
.c-nav { display: flex; align-items: center; gap: 2.2cqw; padding: 1.7cqw 2.4cqw; border-bottom: 1px solid rgba(32, 22, 17, 0.12); }
.c-brand { display: inline-flex; align-items: center; gap: 1cqw; flex: none; }
.c-brand img { filter: invert(1); }
.c-brand img:first-child { height: 4.6cqw; width: auto; }
.c-brand img:last-child { height: 3.1cqw; width: auto; }
.c-tabs { display: flex; gap: 1.6cqw; margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.c-tabs::-webkit-scrollbar { display: none; }
.c-tab {
  padding: 0.6cqw 0.2cqw;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #5A4638;
  font-family: var(--display);
  font-size: clamp(8px, 1.45cqw, 15px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.c-tab.active { color: #8F1A1A; border-bottom-color: #C2322A; }
.c-order { flex: none; padding: 0.75cqw 1.7cqw; border-radius: 999px; background: #9E1C1A; color: #fff; font-family: var(--display); font-size: clamp(8px, 1.4cqw, 14px); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.c-panels { flex: 1; min-height: 0; overflow: hidden; }
.c-panel { height: 100%; overflow: hidden; }
.c-panel[hidden] { display: none; }
.c-home { display: grid; grid-template-columns: 1.08fr 0.92fr; min-height: 0; height: 100%; }
.c-home-copy { display: flex; flex-direction: column; gap: 1.1cqw; padding: 2.4cqw 2.2cqw 2.1cqw 2.6cqw; min-width: 0; }
.c-eyebrow { font-family: var(--display); font-size: clamp(7px, 1.25cqw, 13px); font-weight: 600; letter-spacing: 0.16em; color: #8F1A1A; }
.c-h { font-family: var(--display); font-size: clamp(20px, 4.1cqw, 44px); line-height: 0.96; letter-spacing: -0.02em; color: #201611; }
.c-h.small { font-size: clamp(18px, 3.2cqw, 36px); }
.c-home-copy p { font-size: clamp(9px, 1.55cqw, 17px); line-height: 1.35; color: #5A4638; max-width: 34ch; }
.c-actions { display: flex; flex-wrap: wrap; gap: 1cqw; }
.c-call, .c-dir { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4cqw; padding: 0.8cqw 1.6cqw; border-radius: 999px; font-family: var(--display); font-size: clamp(8px, 1.4cqw, 14px); font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.c-call { background: #9E1C1A; color: #fff; }
.c-dir { border: 1.5px solid #9E1C1A; color: #8F1A1A; }
.c-switch { display: flex; gap: 0.6cqw; padding: 0.4cqw; border: 1px solid rgba(32,22,17,.18); border-radius: 999px; background: #F1E5D3; }
.c-switch button { flex: 1; min-height: 2.7cqw; padding: 0 0.8cqw; border: 0; border-radius: 999px; background: transparent; color: #5A4638; font-family: var(--display); font-size: clamp(7px, 1.3cqw, 13px); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.c-switch button.on { background: #201611; color: #FBF6EC; }
.c-where { display: grid; gap: 0.25cqw; margin-top: 0.4cqw; padding: 1cqw 1.3cqw; border-left: 3px solid #C2322A; border-radius: 0.5cqw; background: #F4E9D8; min-width: 0; }
.c-where-k { font-family: var(--display); font-size: clamp(7px, 1.1cqw, 12px); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8F1A1A; }
.c-where b { font-family: var(--display); font-size: clamp(9px, 1.55cqw, 17px); font-weight: 700; color: #201611; line-height: 1.1; }
.c-where-a { font-size: clamp(8px, 1.3cqw, 14px); line-height: 1.3; color: #4A3B31; }
.c-where-p { font-size: clamp(8px, 1.35cqw, 15px); font-weight: 600; color: #8F1A1A; text-decoration: none; }
.concept-expanded .c-where b { font-size: clamp(15px, 1.35cqw, 21px); }
.concept-expanded .c-where-a, .concept-expanded .c-where-p { font-size: clamp(13px, 1.05cqw, 17px); }
.concept-expanded .c-where-k { font-size: clamp(12px, 0.95cqw, 14px); }
.c-status { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 0.8cqw; border-top: 1px solid rgba(32,22,17,.14); }
.c-status b { font-family: var(--display); font-size: clamp(9px, 1.55cqw, 17px); color: #24501A; }
.c-status span { font-size: clamp(7px, 1.2cqw, 13px); color: #6B5647; }
.c-media { position: relative; min-height: 0; overflow: hidden; }
.c-media img { width: 100%; height: 100%; object-fit: cover; }
.c-media figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 999px; background: rgba(18, 12, 9, 0.78); color: #FBF6EC; font-family: var(--display); font-size: clamp(7px, 1.15cqw, 12px); letter-spacing: 0.08em; text-transform: uppercase; }
.c-menu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 2.2cqw 2.6cqw 1cqw; }
.c-menu-head b { font-family: var(--display); font-size: clamp(18px, 3.2cqw, 34px); color: #201611; }
.c-menu-head span { font-family: var(--display); font-size: clamp(8px, 1.3cqw, 13px); letter-spacing: 0.12em; text-transform: uppercase; color: #8F1A1A; }
.c-cats { display: flex; gap: 0.7cqw; padding: 0 2.6cqw 1.3cqw; overflow-x: auto; scrollbar-width: none; }
.c-cats::-webkit-scrollbar { display: none; }
.c-cats button { flex: none; padding: 0.5cqw 1.1cqw; border: 1px solid rgba(32,22,17,.22); border-radius: 999px; background: transparent; color: #5A4638; font-size: clamp(7px, 1.25cqw, 13px); font-weight: 600; cursor: pointer; }
.c-cats button.on { background: #9E1C1A; border-color: #9E1C1A; color: #fff; }
.c-menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55cqw 2.4cqw; padding: 0 2.6cqw; }
.c-menu-item { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0.6cqw 0; border-bottom: 1px solid rgba(32,22,17,.12); }
.c-menu-item b { font-family: var(--display); font-size: clamp(9px, 1.5cqw, 16px); font-weight: 600; color: #201611; }
.c-menu-item i { font-style: normal; font-size: clamp(8px, 1.3cqw, 14px); color: #8F1A1A; font-weight: 600; }
.c-note { padding: 1.1cqw 2.6cqw 0; font-size: clamp(7px, 1.15cqw, 12px); color: #6B5647; }
.c-locs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; padding: 0 2.6cqw 1.4cqw; }
.c-loc-card { display: flex; flex-direction: column; gap: 0.6cqw; padding: 1.1cqw; border: 1px solid rgba(32,22,17,.16); border-radius: 1.2cqw; background: #fff; min-width: 0; }
.c-loc-card.selected { border-color: #9E1C1A; box-shadow: 0 0 0 1px #9E1C1A; }
.c-loc-thumb { aspect-ratio: 16/9; overflow: hidden; border-radius: 0.8cqw; background: #E8DCC9; }
.c-loc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.c-loc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; }
.c-loc-name { font-family: var(--display); font-size: clamp(9px, 1.55cqw, 16px); font-weight: 700; color: #201611; }
.c-loc-open { font-size: clamp(7px, 1.05cqw, 11px); color: #24501A; }
.c-loc-addr { font-size: clamp(7px, 1.15cqw, 12px); line-height: 1.3; color: #5A4638; }
.c-loc-phone { font-size: clamp(7px, 1.2cqw, 13px); font-weight: 600; color: #8F1A1A; text-decoration: none; }
.c-loc-actions { display: flex; gap: 4px; margin-top: auto; }
.c-mini { flex: 1; padding: 0.45cqw; border-radius: 0.6cqw; background: #201611; color: #fff; text-align: center; font-family: var(--display); font-size: clamp(6px, 1cqw, 11px); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0; }
.c-mini.ghost { background: transparent; color: #8F1A1A; border: 1px solid rgba(143,26,26,.4); }
.c-catering { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw; padding: 2.4cqw 2.6cqw; height: 100%; }
.c-catering p { margin-top: 0.8cqw; font-size: clamp(8px, 1.4cqw, 15px); line-height: 1.35; color: #5A4638; max-width: 30ch; }
.c-cat-controls { display: flex; flex-direction: column; gap: 0.6cqw; }
.c-label { font-family: var(--display); font-size: clamp(7px, 1.2cqw, 12px); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #6B5647; }
.c-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.c-chips button { padding: 0.45cqw 1cqw; border: 1px solid rgba(32,22,17,.24); border-radius: 999px; background: transparent; color: #5A4638; font-size: clamp(7px, 1.15cqw, 12px); font-weight: 600; cursor: pointer; }
.c-chips button.on { background: #9E1C1A; border-color: #9E1C1A; color: #fff; }
.c-summary { margin-top: 0.5cqw; padding: 1cqw; border-left: 3px solid #6FA63A; background: #F1E5D3; font-family: var(--display); font-size: clamp(9px, 1.5cqw, 16px); line-height: 1.25; color: #201611; }
.c-summary span { font-family: var(--sans); font-size: clamp(7px, 1.15cqw, 12px); color: #5A4638; }
.c-copy { align-self: flex-start; margin-top: 0.4cqw; min-height: 2.6cqw; padding: 0 1.2cqw; border: 0; border-radius: 999px; background: #201611; color: #fff; font-family: var(--display); font-size: clamp(7px, 1.15cqw, 12px); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }

/* Detail expansion */
.slide.is-leaving { display: flex; }
[hidden] { display: none !important; }
.c-loc-mono { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(150deg, #8F1A1A, #C2322A); color: #FFF6EA; font-family: var(--display); font-size: clamp(18px, 3.2cqw, 38px); font-weight: 800; letter-spacing: 0.05em; }
body.concept-open { overflow: hidden; }
body.concept-open .controls { opacity: 0; pointer-events: none; }
.concept-browser.concept-expanded { z-index: 100; }
body.concept-open::before { content: ''; position: fixed; inset: 0; z-index: 70; background: rgba(10, 7, 5, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.concept-browser.concept-expanded {
  position: fixed;
  z-index: 100;
  inset: 4vh 4vw;
  width: auto;
  height: 92vh;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  box-shadow: 0 50px 120px rgba(0,0,0,.6);
}
.concept-expanded .c-ui { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.concept-expanded .c-panels { flex: 1; min-height: 0; overflow: auto; }
.concept-expanded .c-home,
.concept-expanded .c-catering { min-height: 58vh; }
.concept-expanded .c-panel { height: auto; min-height: 100%; }
.concept-expanded .browser-detail { display: none; }
.concept-expanded .browser-close { display: inline-flex; }
.concept-expanded .c-tab { font-size: clamp(12px, 1.1cqw, 16px); }
.concept-expanded .c-order { font-size: clamp(11px, 1.05cqw, 15px); }
.concept-expanded .c-h { font-size: clamp(34px, 3.6cqw, 58px); }
.concept-expanded .c-home-copy p { font-size: clamp(15px, 1.35cqw, 21px); }
.concept-expanded .c-status b { font-size: clamp(15px, 1.3cqw, 20px); }
.concept-expanded .c-status span { font-size: clamp(13px, 1.05cqw, 17px); }
.concept-expanded .c-menu-item b { font-size: clamp(15px, 1.35cqw, 21px); }
.concept-expanded .c-loc-name { font-size: clamp(15px, 1.35cqw, 21px); }
.concept-expanded .c-loc-addr,
.concept-expanded .c-loc-phone { font-size: clamp(13px, 1.05cqw, 17px); }
/* The detail view is the readable version of the concept: nothing in it drops below 12px. */
.concept-expanded .c-eyebrow,
.concept-expanded .c-label,
.concept-expanded .c-menu-head span { font-size: clamp(12px, 0.95cqw, 14px); }
.concept-expanded .c-call,
.concept-expanded .c-dir { font-size: clamp(13px, 1.1cqw, 16px); min-height: 44px; }
.concept-expanded .c-switch button,
.concept-expanded .c-cats button,
.concept-expanded .c-chips button { font-size: clamp(13px, 1.05cqw, 16px); min-height: 38px; }
.concept-expanded .c-menu-item i { font-size: clamp(13px, 1.15cqw, 17px); }
.concept-expanded .c-note { font-size: clamp(12px, 1cqw, 15px); }
.concept-expanded .c-catering p { font-size: clamp(14px, 1.2cqw, 18px); }
.concept-expanded .c-summary { font-size: clamp(14px, 1.25cqw, 18px); }
.concept-expanded .c-summary span { font-size: clamp(12px, 1cqw, 15px); }
.concept-expanded .c-copy,
.concept-expanded .c-mini { font-size: clamp(12px, 0.95cqw, 14px); min-height: 38px; }
.concept-expanded .c-loc-open { font-size: clamp(12px, 0.95cqw, 14px); }
.concept-expanded .c-media figcaption { font-size: clamp(12px, 0.95cqw, 14px); }

/* Phone mockup */
.phone-mock {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  width: clamp(172px, 14.4vw, 232px);
  padding: 8px;
  border-radius: 26px;
  background: linear-gradient(180deg, #3A2A20, #120C09);
  border: 1px solid rgba(242, 191, 107, 0.4);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.42);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
/* The phone previews the selected kitchen on Home; on the other tabs it steps aside so it never covers concept content. */
.flagship-stage:not([data-tab="home"]) .phone-mock { opacity: 0; visibility: hidden; transform: translateY(14px); }
.pm-cta { pointer-events: auto; }
.pm-eyebrow { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #8F1A1A; }
.pm-h { font-family: var(--display); font-size: clamp(19px, 1.65vw, 27px); line-height: 1; color: #24501A; }
.pm-screen { display: flex; flex-direction: column; gap: 6px; padding: 16px 11px 12px; border-radius: 19px; background: #FBF6EC; color: #201611; }
.pm-screen p { font-size: 12px; line-height: 1.3; color: #5A4638; }
.pm-cta { display: grid; place-items: center; min-height: 34px; border-radius: 999px; background: #9E1C1A; color: #fff; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.pm-cta.alt { background: transparent; border: 1.5px solid #9E1C1A; color: #8F1A1A; }
.pm-hours { margin-top: 2px; font-size: 11px; color: #6B5647; }
.concept-tag { display: none; }

/* ---------------- System ---------------- */
.system-body { display: flex; flex-direction: column; gap: clamp(14px, 2.2vh, 24px); }
.system-head { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr); gap: clamp(20px, 3vw, 50px); align-items: end; }
.system-head .lead { margin-top: 0; }
.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); }
.system-card { display: flex; flex-direction: column; padding: clamp(13px, 1.8vh, 20px) clamp(13px, 1.1vw, 20px); border: 1px solid var(--line-dark); border-top: 3px solid var(--chile); border-radius: var(--radius); background: linear-gradient(180deg, var(--coal-3) 0%, var(--coal-2) 100%); }
.s-num { font-family: var(--display); font-size: clamp(18px, 1.4vw, 26px); font-weight: 800; line-height: 1; color: var(--corn); }
.system-card h3 { margin-top: 5px; color: var(--on-dark); }
.system-card p { margin-top: 6px; font-size: var(--fs-card); line-height: 1.4; color: var(--on-dark-muted); }
.s-out { display: block; margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: var(--fs-small); line-height: 1.35; color: var(--on-dark); }
.s-out b { color: var(--corn); font-weight: 600; }

/* ---------------- Proof ---------------- */
.proof-body { display: flex; flex-direction: column; gap: clamp(14px, 2vh, 22px); }
.proof-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(20px, 3vw, 50px); align-items: end; }
.proof-head .lead { margin: 0; }
.ba-wrap { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: stretch; gap: clamp(16px, 2.2vw, 32px); }
.ba { display: flex; flex: 0 1 min(900px, 47vw); flex-direction: column; gap: 8px; min-width: 0; }
.ba-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 14px; background: #fff; border: 1px solid var(--line-light); box-shadow: 0 22px 46px rgba(28, 20, 15, 0.16); }
.ba-before, .ba-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(20,14,11,.28); }
.ba-divider i { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 4px; width: 36px; height: 36px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.ba-divider i::before, .ba-divider i::after { content: ''; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ba-divider i::before { border-right: 7px solid var(--ink); }
.ba-divider i::after { border-left: 7px solid var(--ink); }
.ba-badge { position: absolute; z-index: 3; top: 10px; padding: 4px 9px; border-radius: 999px; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }
.ba-badge.before { left: 10px; background: rgba(18,12,9,.78); color: #fff; }
.ba-badge.after { right: 10px; background: var(--salsa); color: #12200C; }
.ba-control { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.ba-control input { flex: 1; accent-color: var(--chile-deep); min-height: 24px; }
.proof-notes { flex: 0 1 480px; align-self: flex-start; min-width: 0; padding: clamp(16px, 2vh, 24px); border: 1px solid var(--line-light); border-radius: 14px; background: var(--cream-2); }
.p-label { font-family: var(--display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--chile-deep); }
.proof-notes ul { display: grid; gap: 7px; margin-top: 9px; }
.proof-notes li { position: relative; padding-left: 15px; font-size: var(--fs-card); line-height: 1.38; color: var(--ink-muted); }
.proof-notes li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--chile); }
.p-note { margin-top: 12px; font-size: var(--fs-meta); line-height: 1.38; color: var(--ink-muted); }

/* ---------------- Roadmap ---------------- */
.roadmap-body { display: flex; flex-direction: column; gap: clamp(14px, 2.2vh, 24px); }
.roadmap-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(20px, 3vw, 50px); align-items: end; }
.roadmap-head .lead { margin: 0; }
.phase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.phase { display: flex; flex-direction: column; padding: clamp(14px, 1.9vh, 22px) clamp(14px, 1.1vw, 20px); border: 1px solid var(--line-dark); border-top: 3px solid var(--chile); border-radius: var(--radius); background: var(--coal-2); }
.phase.featured { background: linear-gradient(180deg, #33241B 0%, var(--coal-2) 100%); border-color: rgba(242, 191, 107, 0.4); }
.phase-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--corn); }
.phase-top b { padding: 4px 8px; border: 1px solid rgba(242, 191, 107, 0.45); border-radius: 999px; font-size: var(--fs-meta); }
.phase h3 { margin-top: 8px; color: var(--on-dark); }
.phase > p { margin-top: 6px; font-size: var(--fs-card); line-height: 1.38; color: var(--on-dark-muted); }
.phase ul { display: grid; gap: 5px; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.1); }
.phase li { position: relative; padding-left: 14px; font-size: var(--fs-small); line-height: 1.36; color: var(--on-dark); }
.phase li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--salsa); }
.phase-out { display: block; margin-top: auto; padding-top: 9px; font-size: var(--fs-small); line-height: 1.34; color: var(--on-dark-muted); }
.phase-out b { color: var(--corn); font-weight: 600; }
.roadmap-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); }
.roadmap-foot span { display: flex; flex-direction: column; gap: 2px; padding-left: 11px; border-left: 3px solid var(--salsa); font-size: var(--fs-small); line-height: 1.35; color: var(--on-dark-muted); }
.roadmap-foot b { font-family: var(--display); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--corn); }

/* ---------------- Engagement ---------------- */
.engagement-body { display: flex; flex-direction: column; gap: clamp(14px, 2.2vh, 24px); }
.engagement-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(20px, 3vw, 50px); align-items: end; }
.engagement-head .lead { margin: 0; }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: clamp(16px, 2.2vh, 24px) clamp(15px, 1.2vw, 22px); border: 1px solid var(--line-light); border-top: 3px solid var(--chile); border-radius: var(--radius); background: var(--cream-2); box-shadow: 0 14px 30px rgba(28, 20, 15, 0.06); }
.tier.recommended { border-color: rgba(143, 26, 26, 0.42); border-top-color: var(--chile); background: linear-gradient(180deg, #FFF7EA 0%, var(--cream-2) 100%); box-shadow: 0 20px 44px rgba(143, 26, 26, 0.13); }
.tier-tag { align-self: flex-start; padding: 4px 9px; border: 1px solid rgba(143, 26, 26, 0.4); border-radius: 999px; font-family: var(--display); font-size: var(--fs-meta); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chile-deep); }
.tier.recommended .tier-tag { background: var(--chile-deep); color: #fff; border-color: var(--chile-deep); }
.tier h3 { margin-top: 8px; color: var(--ink); }
.tier-for { margin-top: 3px; font-size: var(--fs-small); font-weight: 600; color: var(--chile-deep); }
.tier ul { display: grid; gap: 5px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-light); }
.tier li { position: relative; padding-left: 14px; font-size: var(--fs-card); line-height: 1.36; color: var(--ink-muted); }
.tier li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--chile); }
.tier-quote { display: block; margin-top: auto; padding-top: 10px; font-family: var(--display); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.engagement-foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.engagement-foot span { padding-left: 11px; border-left: 3px solid var(--salsa); font-size: var(--fs-small); line-height: 1.4; color: var(--ink-muted); }
.engagement-foot b { color: var(--ink); margin-right: 0.4em; }

/* ---------------- Close ---------------- */
.close-body { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; }
.close-copy h2 { margin-bottom: clamp(10px, 1.4vh, 14px); }
.close-copy .lead { max-width: 56ch; }
.partner-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 1.3vw, 22px); align-items: start; margin-top: clamp(16px, 2.6vh, 28px); padding: clamp(14px, 1.8vh, 22px); border: 1px solid var(--line-dark); border-radius: 20px; background: linear-gradient(180deg, var(--coal-3) 0%, var(--coal-2) 100%); }
.partner-avatar { width: clamp(132px, 12.5vw, 190px); height: clamp(160px, 15.5vw, 230px); border-radius: 14px; object-fit: cover; object-position: center 14%; box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.partner-role { display: block; font-family: var(--display); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--corn); }
.partner-info > b { display: block; margin-top: 2px; font-family: var(--display); font-size: clamp(28px, 2.1vw, 40px); line-height: 1; color: var(--on-dark); }
.partner-msg { margin-top: 7px; font-size: var(--fs-small); line-height: 1.45; color: var(--on-dark-muted); }
.partner-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.partner-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 11px; border: 1px solid rgba(242, 191, 107, 0.36); border-radius: 999px; font-size: var(--fs-small); font-weight: 500; color: var(--on-dark); text-decoration: none; }
.partner-links a:hover { border-color: var(--corn); color: var(--corn); }
.partner-links .ui-icon { color: var(--corn); }
.signoff { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.1); }
.signoff img { height: 18px; width: auto; }
.signoff span { font-size: var(--fs-small); color: var(--on-dark-muted); }

.request { display: flex; flex-direction: column; gap: clamp(8px, 1.2vh, 13px); padding: clamp(18px, 2.6vh, 30px) clamp(18px, 1.8vw, 30px); border-top: 5px solid var(--chile); border-radius: 20px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.kicker { font-family: var(--display); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chile-deep); }
.request h3 { font-size: clamp(34px, 2.5vw, 50px); line-height: 1; color: var(--ink); }
.request > p { font-size: var(--fs-small); line-height: 1.45; color: var(--ink-muted); }
.suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.suggestions button { min-height: 42px; padding: 8px 10px; border: 1.5px solid var(--ink); border-radius: 10px; background: transparent; color: var(--ink); font-family: var(--display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.suggestions button:hover { background: var(--chile-deep); border-color: var(--chile-deep); color: #fff; }
.picker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picker-col { display: flex; flex-direction: column; gap: 5px; }
.request label { font-family: var(--display); font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.date-control { position: relative; display: flex; align-items: center; }
.request input { width: 100%; height: 44px; padding: 7px 40px 7px 11px; border: 1.5px solid rgba(28,20,15,.3); border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; color-scheme: light; }
.request input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.date-control button { position: absolute; right: 3px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--chile-deep); cursor: pointer; }
.date-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.picker-help { min-height: 0; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--chile-deep); }
.picker-help:empty { display: none; }
a.draft { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: 10px; background: #9E1C1A; color: #fff; font-family: var(--display); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 22px rgba(158,28,26,.28); }
a.draft:hover { background: #7E1412; }
.request small { font-size: var(--fs-meta); line-height: 1.4; color: var(--ink-muted); }
.close-foot { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: var(--foot-y); display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-size: var(--fs-meta); font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ---------------- Controls / index ---------------- */
.controls {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 2.2vh, 24px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  transform: translateX(-50%);
  border: 1px solid rgba(242, 191, 107, 0.34);
  border-radius: 999px;
  background: rgba(18, 12, 9, 0.96);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.controls button, .controls a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.controls button:hover { background: rgba(242, 191, 107, 0.14); }
#counter { min-width: 58px; text-align: center; font-family: var(--display); font-size: 15px; letter-spacing: 0.08em; color: var(--on-dark); }
#index-open { border-left: 1px solid rgba(242, 191, 107, 0.26); border-radius: 0 999px 999px 0; color: var(--corn); }

.index-overlay { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(8, 6, 5, 0.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.index-overlay[hidden] { display: none; }
.index-panel { width: min(780px, 100%); max-height: 86vh; overflow: auto; padding: clamp(18px, 2.4vh, 28px); border: 1px solid rgba(242, 191, 107, 0.36); border-radius: 18px; background: var(--coal-2); box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.index-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--corn); }
.index-head button { min-height: 40px; padding: 0 14px; border: 1px solid rgba(242, 191, 107, 0.4); border-radius: 999px; background: transparent; color: var(--on-dark); font-family: var(--display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.index-card { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid rgba(242, 191, 107, 0.2); border-radius: 10px; background: rgba(255,255,255,.03); color: var(--on-dark); text-align: left; cursor: pointer; }
.index-card:hover { border-color: var(--corn); background: rgba(242, 191, 107, 0.1); }
.index-card b { font-family: var(--display); font-size: 18px; color: var(--corn); }
.index-card span { font-size: 14px; line-height: 1.25; }
.index-card.on { border-color: var(--corn); background: rgba(242, 191, 107, 0.14); }

/* ---------------- Motion ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .slide.active .body-fit,
  .slide.active .cover-copy,
  .slide.active .cover-stage { animation: deck-in 0.55s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes deck-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  .slide.is-entering { animation: slide-in 0.46s cubic-bezier(.2,.7,.2,1) both; }
  .slide.is-leaving { position: absolute; inset: 0; z-index: 1; pointer-events: none; animation: slide-out 0.4s ease both; }
  @keyframes slide-in { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
  @keyframes slide-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-22px); } }
}
/* Anticipation: the whole cover warms from the comal outward before it breaks. */
.cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(58% 72% at 73% 50%, rgba(255, 122, 40, 0.38), rgba(194, 50, 42, 0.14) 46%, transparent 74%);
  transition: opacity .34s ease-in;
}
.cover.cover-charging::before { opacity: 1; }
.cover.cover-charging .cover-copy { opacity: 0.78; transition: opacity .34s ease-in; }
.cover.cover-detonating::before { opacity: 0; transition: opacity .2s ease-out; }
.cover.cover-detonating .cover-copy { animation: cover-out .42s ease both; }
.cover.cover-detonating #scene,
.cover.cover-detonating .plate-fallback { opacity: 0; transition: none; }
@keyframes cover-out { to { opacity: 0; transform: scale(1.035); } }
/* The fire ring (canvas) clips the incoming slide open; it must sit above the fading cover. */
.slide.is-revealing { position: relative; z-index: 2; }
.slide.is-leaving.boom-out { animation: none; opacity: 1; }
.boom-shake { animation: boom-shake .42s ease both; }
@keyframes boom-shake {
  0%, 100% { transform: translate(0, 0); }
  18% { transform: translate(-7px, 4px); }
  34% { transform: translate(6px, -5px); }
  52% { transform: translate(-4px, 2px); }
  72% { transform: translate(3px, -2px); }
}
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }

/* ---------------- Tablet / phone ---------------- */
@media (min-width: 901px) and (max-height: 820px) {
  .audit-body { gap: 10px; }
  .audit-list { gap: 9px; }
  .system-body { gap: 14px; }
}

@media (max-width: 1100px) {
  .phone-mock { display: none; }
  .concept-tag { display: none; }
  .flagship-body { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
  .flagship-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .flagship-copy .eyebrow,
  .flagship-copy h2 { grid-column: 1 / -1; }
  .flagship-copy .lead { grid-column: 1; }
  .flag-notes { grid-column: 2; grid-row: 3 / span 2; margin-top: 0; }
  .detail-open { grid-column: 1; justify-self: start; }
}

@media (max-width: 900px), (max-height: 600px) {
  :root { --pad-x: 18px; --pad-bottom: 22px; --foot-y: 16px; --fs-body: 17px; --fs-lead: 18px; --fs-h2: clamp(30px, 8vw, 44px); --fs-h3: 22px; --fs-card: 16px; }
  html, body { height: 100%; overflow: hidden; }
  #deck { height: calc(100dvh - var(--dock-h) - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior-y: contain; }
  .slide { height: auto; min-height: calc(100dvh - var(--dock-h)); padding: 14px 18px 26px; overflow: visible; }
  .slide-body { flex: none; padding-top: 18px; overflow: visible; }
  .body-fit { margin-block: 0; }
  .page { display: none; }
  .slide-foot { position: static; display: block; max-width: none; margin-top: 20px; font-size: 13px; }
  .note-only { margin-top: 18px; }
  .close-foot { position: static; display: flex; flex-direction: column; gap: 4px; margin-top: 18px; font-size: 13px; }
  .cover::before { background: radial-gradient(70% 34% at 50% 24%, rgba(255, 122, 40, 0.38), rgba(194, 50, 42, 0.14) 48%, transparent 76%); }
  .controls { bottom: 0; left: 0; width: 100%; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); transform: none; justify-content: center; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; background: #120C09; }
  .controls button { min-width: 44px; min-height: 44px; }
  #counter { min-width: 48px; font-size: 13px; }
  #index-open { padding: 0 10px; font-size: 11px; }

  .cover { padding: 14px 18px 24px; min-height: calc(100dvh - var(--dock-h)); }
  .cover-grid { display: flex; flex-direction: column; height: auto; }
  .cover-top { position: static; display: flex; }
  .cover-stage { position: relative; inset: auto; order: 1; height: min(43vh, 360px); margin: 14px -18px 0; width: calc(100% + 36px); }
  .plate-fallback { justify-items: center; padding: 0; }
  .cover-copy { order: 2; padding: 16px 0 0; }
  .cover-copy h1 { max-width: none; font-size: clamp(38px, 10.8vw, 56px); line-height: 0.96; }
  .hero-lead { font-size: 17px; line-height: 1.5; }
  .cover-foot { position: static; margin-top: 18px; flex-direction: column; gap: 4px; font-size: 12px; }
  .cobrand { padding: 6px 10px; gap: 7px; }
  .cobrand-brand { height: 16px; }
  .cobrand-client { font-size: 12px; letter-spacing: 0.07em; }
  .cover .page { display: none; }
  .stage-note { display: none; }

  .audit-head, .system-head, .proof-head, .roadmap-head, .engagement-head,
  .gap-body, .close-body { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ba-wrap { flex-direction: column; }
  .ba, .proof-notes { flex: 0 0 auto; max-width: none; }
  .ba-frame { height: min(56.25vw, 430px); aspect-ratio: auto; }
  .audit-evidence { display: block; padding: 8px; }
  .evidence-frame { height: 160px; }
  .audit-evidence .evidence-cap { margin-top: 7px; }
  .audit-list, .system-grid, .phase-grid, .tier-grid, .roadmap-foot, .engagement-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gap-photo { min-height: 300px; max-height: 440px; order: -1; }
  .gap-paths { grid-template-columns: 1fr 1fr; }
  .flagship-copy { display: block; }
  .flag-notes { margin-top: 14px; }
  .concept-browser { container-type: inline-size; aspect-ratio: auto; }
  .concept-browser.concept-expanded { height: auto; max-height: 94vh; bottom: auto; }
  .c-ui, .c-panels, .c-panel, .c-home { height: auto; min-height: 0; overflow: visible; }
  .flagship-stage { margin-top: 4px; }
  .concept-tag { display: none; }
  .c-home { grid-template-columns: 1.05fr 0.95fr; }
  .c-locs { grid-template-columns: 1fr; }
  .c-catering { grid-template-columns: 1fr; gap: 12px; }
  .c-panel { max-height: none; }
  .ba-wrap { gap: 14px; }
  .partner-avatar { width: 160px; height: 190px; }
  .partner-card { grid-template-columns: auto 1fr; }
  .request { max-width: 620px; }
}

@media (max-width: 640px) {
  .audit-list, .system-grid, .phase-grid, .tier-grid, .roadmap-foot, .engagement-foot, .gap-paths { grid-template-columns: minmax(0, 1fr); }
  .audit-evidence { grid-template-columns: 1fr; }
  .audit-evidence .evidence-stats { grid-column: auto; }
  .header-tag span { display: none; }
  .header-tag { gap: 0; }
  .brand-plate { padding: 6px 10px 6px 8px; gap: 7px; }
  .brand-emblem { height: 36px; }
  .brand-wordmark { height: 29px; }
  .header-tag b { font-size: 12px; width: 2.6em; height: 2.6em; }
  .cover-copy h1 { font-size: clamp(34px, 10.2vw, 48px); }
  .chips li { font-size: 12px; padding: 6px 9px; }
  .prepared-by img { width: 42px; height: 42px; }
  .gap-photo { min-height: 240px; }
  .flagship-copy h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .c-nav { flex-wrap: wrap; gap: 6px; padding: 10px 12px; }
  .c-brand img:first-child { height: 26px; }
  .c-brand img:last-child { height: 17px; }
  .c-tabs { order: 3; width: 100%; gap: 10px; margin-left: 0; padding-top: 3px; border-top: 1px solid rgba(32,22,17,.1); }
  .c-tab { font-size: 9px; }
  .c-order { margin-left: auto; font-size: 8px; }
  .c-home { grid-template-columns: 1fr; }
  .c-home-copy { padding: 13px 13px 11px; gap: 7px; }
  .c-h { font-size: 26px; }
  .c-home-copy p { font-size: 10px; }
  .c-actions { gap: 5px; }
  .c-call, .c-dir { min-height: 28px; font-size: 9px; }
  .c-status { margin-top: 4px; }
  .c-media { height: 110px; }
  .c-menu-list { grid-template-columns: 1fr; }
  .c-locs { gap: 7px; }
  .c-loc-card { padding: 7px; }
  .c-catering { padding: 13px; }
  .c-catering .c-h.small { font-size: 24px; }
  .c-catering p { font-size: 10px; }
  .c-summary { font-size: 11px; }
  .c-summary span { font-size: 9px; }
  .c-cats button, .c-chips button { font-size: 9px; }
  .c-menu-head b { font-size: 24px; }
  .c-menu-item b { font-size: 11px; }
  .browser-detail { font-size: 9px; min-height: 22px; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-avatar { width: 100%; height: 220px; object-position: center 18%; }
  .suggestions, .picker-grid { grid-template-columns: 1fr; }
  .request h3 { font-size: 36px; }
  .close-foot { font-size: 13px; }
  .bc-mark { height: 13px; }
  .bc-x { font-size: 15px; margin: 0 1px; }
  .index-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
