/* SMASH BOX — design tokens, layout, scroll sequence, responsive rules */
:root {
  --ink: #100f0e;
  --coal: #1b1917;
  --paper: #f3efe8;
  --cream: #f7f2ea;
  --orange: #ff5a1f;
  --orange-2: #e8470f;
  --muted: #6f675e;
  --line: rgba(16, 15, 14, 0.14);
  --display: 'Fira Sans Extra Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ol, ul, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
section[id] { scroll-margin-top: var(--nav-h); }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}
.eyebrow {
  font: 700 12px/1.4 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow span { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  border-radius: 2px;
  font: 800 16px/1 var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.btn:hover { background: var(--orange-2); border-color: var(--orange-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); border-color: currentColor; }
.btn--line {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  font-size: 14px;
}
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
  background: rgba(243, 239, 232, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.is-scrolled { border-color: var(--line); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 900 24px/1 var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font: 700 13px/1 var(--body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a:not(.btn) { position: relative; padding-block: 8px; }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { min-height: 40px; font-size: 15px; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; min-height: 48px; }
}

/* ---------- scroll sequence ----------
   Without motion (no JS, reduced motion, no frames) the poster and the four chapters stack as plain content.
   script.js adds .is-live, which turns the section into a tall scroll track with a sticky canvas. */
.seq { position: relative; background: var(--seq-bg, #141210); color: var(--cream); }
.seq-sticky { position: relative; padding-top: var(--nav-h); }
.seq-poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.seq-canvas, .seq-shade, .seq-progress, .seq-loader, .scroll-hint { display: none; }

.chapter { padding: 40px var(--gutter) 0; max-width: 760px; }
.chapter--delivery { padding-bottom: 64px; }
.chapter .display { font-size: clamp(40px, 6vw, 96px); margin-block: 12px 16px; }
.chapter p { max-width: 46ch; color: rgba(247, 242, 234, 0.8); }
.chapter .eyebrow, .chapter .chapter-num { color: var(--orange); }
.chapter .actions { margin-top: 24px; }
.chapter-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 15px/1 var(--display);
  letter-spacing: 0.14em;
}
.chapter-num::after { content: ''; width: 56px; height: 1px; background: currentColor; }
.layers { display: grid; gap: 10px; margin-top: 24px; }
.layers li {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 13px/1.3 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}
.layers li::before { content: ''; flex: none; width: 36px; height: 1px; background: var(--orange); }
.price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(247, 242, 234, 0.3);
}
.price-chip span { font: 700 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 242, 234, 0.72); }
.price-chip b { font: 900 34px/1 var(--display); color: var(--cream); }

.seq.is-live { height: 620vh; }
.seq.is-live .seq-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding-top: 0;
  overflow: hidden;
}
.seq.is-live .seq-poster,
.seq.is-live .seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq.is-live .seq-poster { aspect-ratio: auto; transition: opacity 0.6s; }
.seq.is-live.has-frame .seq-poster { opacity: 0; }
.seq.is-live .seq-canvas { display: block; }
.seq.is-live .seq-shade {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.72) 0%, rgba(8, 7, 6, 0.25) 32%, rgba(8, 7, 6, 0) 48%, rgba(8, 7, 6, 0) 58%, rgba(8, 7, 6, 0.25) 70%, rgba(8, 7, 6, 0.66) 100%),
    linear-gradient(0deg, rgba(8, 7, 6, 0.6) 0%, rgba(8, 7, 6, 0) 36%);
}
.seq.is-live .chapter { position: absolute; max-width: none; padding: 0; opacity: 0; visibility: hidden; }
.seq.is-live .chapter--hero { opacity: 1; visibility: visible; }

.seq.is-live .seq-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + 24px);
  font: 800 14px/1 var(--display);
  letter-spacing: 0.12em;
  color: rgba(247, 242, 234, 0.72);
}
.seq-progress i { position: relative; width: 72px; height: 2px; overflow: hidden; background: rgba(247, 242, 234, 0.25); }
.seq-progress b { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.seq.is-live .seq-loader {
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: var(--nav-h);
  height: 2px;
  background: rgba(247, 242, 234, 0.08);
  transition: opacity 0.5s;
}
.seq-loader b { display: block; height: 100%; background: rgba(255, 90, 31, 0.75); transform: scaleX(0); transform-origin: left; transition: transform 0.2s; }
.seq.is-loaded .seq-loader { opacity: 0; }
.seq.is-live .scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font: 700 11px/1 var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.6);
}
.scroll-hint i {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--orange), transparent);
  transform-origin: top;
  animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (min-width: 900px) {
  .seq.is-live .chapter .display { font-size: clamp(44px, 4.8vw, 88px); }
  .seq.is-live .chapter--hero { left: var(--gutter); bottom: clamp(48px, 10vh, 120px); width: min(36vw, 580px); }
  .seq.is-live .chapter--hero .display { font-size: clamp(48px, 5.4vw, 104px); }
  .seq.is-live .chapter--hero .eyebrow { width: max-content; max-width: calc(100vw - 2 * var(--gutter)); }
  .seq.is-live .chapter--layers {
    inset: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 30vw) 1fr minmax(0, 22vw);
    align-items: center;
  }
  .seq.is-live .chapter--layers .layers { grid-column: 3; height: 64vh; align-content: space-between; margin: 0; }
  /* Combo and delivery sit in the upper corners, over the dark wall, so the text never covers the food or the box print. */
  .seq.is-live .chapter--combo { left: var(--gutter); top: calc(var(--nav-h) + 6vh); width: min(34vw, 540px); }
  .seq.is-live .chapter--delivery { right: var(--gutter); top: calc(var(--nav-h) + 8vh); width: min(34vw, 540px); text-align: right; }
  .seq.is-live .chapter--combo .display,
  .seq.is-live .chapter--delivery .display { font-size: clamp(40px, 3.6vw, 64px); }
  .seq.is-live .chapter--combo p,
  .seq.is-live .chapter--delivery p { max-width: 34ch; }
  .seq.is-live .chapter--delivery p { margin-left: auto; }
  .seq.is-live .chapter--delivery .chapter-num { flex-direction: row-reverse; }
  .seq.is-live .chapter--delivery .actions { justify-content: flex-end; }
}

@media (max-width: 899px) {
  .seq.is-live .chapter { left: var(--gutter); right: var(--gutter); bottom: max(28px, 5svh); }
  .seq.is-live .chapter .display { font-size: clamp(34px, 10vw, 60px); margin-block: 10px 12px; }
  .seq.is-live .chapter--hero .eyebrow { letter-spacing: 0.08em; }
  .seq.is-live .chapter p { font-size: 15px; }
  .seq.is-live .layers { grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 16px; }
  .seq.is-live .layers li { font-size: 11px; gap: 8px; }
  .seq.is-live .layers li::before { width: 14px; }
  .seq.is-live .seq-shade { background: linear-gradient(0deg, rgba(8, 7, 6, 0.94) 0%, rgba(8, 7, 6, 0.62) 38%, rgba(8, 7, 6, 0) 60%); }
  .seq.is-live .scroll-hint { display: none; }
  .seq.is-live .seq-progress { top: calc(var(--nav-h) + 16px); }
}
@media (max-width: 899px) and (max-height: 700px) {
  .seq.is-live .chapter--hero .lead { display: none; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--orange);
  color: var(--ink);
  padding-block: clamp(12px, 1.8vw, 24px);
  border-block: 1px solid var(--ink);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  padding-right: 0.4em;
  font: 900 clamp(40px, 7vw, 112px)/1 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head p:not(.eyebrow) { max-width: 58ch; color: var(--muted); font-size: 17px; }
.section-head .note { font-size: 14px; }
.mega {
  margin-bottom: 0.3em;
  font: 900 clamp(64px, 12vw, 200px)/0.84 var(--display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  /* Fixed-length fade so a two-line title's reflection never reaches the text below. */
  -webkit-box-reflect: below -0.06em linear-gradient(transparent calc(100% - 0.32em), rgba(0, 0, 0, 0.16));
}
.mega span { color: var(--orange); }

/* menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 5vw, 72px) clamp(20px, 2.6vw, 40px);
}
.item { display: flex; flex-direction: column; }
.item-photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--coal); }
.item-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.item:hover .item-photo img { transform: scale(1.06); }
.item-body { display: flex; flex-direction: column; flex: 1; margin-top: 20px; padding-top: 16px; border-top: 6px solid var(--ink); }
.item-num { font: 800 14px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.item-name { margin-block: 10px 12px; font: 900 clamp(38px, 3.8vw, 60px)/0.88 var(--display); text-transform: uppercase; }
.item-desc { color: var(--muted); font-size: 15px; }
.item-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 22px; }
.item-prices { display: grid; gap: 8px; flex: 1; }
.item-prices div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.item-prices dt { font: 700 12px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.item-prices dd { font: 800 28px/1 var(--display); }

@media (max-width: 1000px) { .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .menu-grid { grid-template-columns: 1fr; } }

/* order */
.order { background: var(--ink); color: var(--cream); }
.order .section-head p:not(.eyebrow) { color: rgba(247, 242, 234, 0.66); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
.steps li { padding-top: 22px; border-top: 1px solid rgba(247, 242, 234, 0.2); }
.steps span { display: block; margin-bottom: 14px; font: 900 clamp(56px, 6vw, 96px)/1 var(--display); color: var(--orange); }
.steps p { max-width: 34ch; font-size: 17px; color: rgba(247, 242, 234, 0.84); }
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 6vw, 88px);
  background: rgba(247, 242, 234, 0.16);
  border: 1px solid rgba(247, 242, 234, 0.16);
}
.facts div { padding: 24px; background: var(--ink); }
.facts dt { margin-bottom: 10px; font: 700 12px/1.3 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.facts dd { color: var(--cream); }
.order .actions { margin-top: 40px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* visit */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.visit-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--coal); }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit .eyebrow { margin-bottom: 14px; }
.visit .mega { font-size: clamp(56px, 8vw, 132px); }
.visit address { font-size: 20px; font-weight: 600; line-height: 1.5; }
.hours { display: grid; gap: 10px; max-width: 420px; margin-block: 28px 32px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 700; }

@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

/* footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 40px var(--gutter);
  background: var(--ink);
  color: rgba(247, 242, 234, 0.8);
}
.footer .brand { color: var(--cream); }
.footer nav { display: flex; gap: 24px; font-weight: 700; }
.footer nav a:hover, .credit a { color: var(--orange); }
.credit { flex-basis: 100%; padding-top: 20px; border-top: 1px solid rgba(247, 242, 234, 0.12); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-hint i { animation: none; }
  .btn, .item-photo img { transition: none; }
}
