@font-face { font-family: 'Alfa Slab One'; src: url(../fonts/alfa-slab-one.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  /* Named after the shop floor: the photos are shot on a dark backdrop and old wood. */
  --fryer: #15100c;      /* page */
  --char: #211913;       /* surfaces */
  --char-2: #2d231b;     /* raised */
  --line: rgba(251, 241, 222, .13);
  --paper: #fbf1de;      /* text */
  --salt: #c3b397;       /* secondary text */
  --gold: #f4b63f;       /* chip gold: primary action */
  --on-gold: #1b1208;
  --green: #3fae7c;      /* open */
  --green-deep: #183d2d;
  --ketchup: #ef6049;    /* closed, errors */
  --radius: 14px;
  --display: 'Alfa Slab One', 'Rockwell', 'Georgia', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 64px); }
body {
  margin: 0; background: var(--fryer); color: var(--paper);
  font: 400 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 40; height: var(--head-h);
  background: rgba(21, 16, 12, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.mark { font-family: var(--display); font-size: 1.6rem; letter-spacing: .01em; text-decoration: none; color: var(--gold); line-height: 1; }
.mark small { display: block; font: 600 .62rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--salt); margin-top: 4px; }
.head nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.head nav a.link { text-decoration: none; font-weight: 600; padding: 12px 10px; border-radius: 10px; color: var(--salt); }
.head nav a.link:hover, .head nav a.link[aria-current] { color: var(--paper); }
.status-pill { display: none; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--salt); padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ketchup); }
[data-status][data-open='yes']::before { background: var(--green); box-shadow: 0 0 0 4px rgba(63, 174, 124, .18); }
.basket-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: var(--gold); color: var(--on-gold); font-weight: 800; text-decoration: none; border-radius: 99px;
}
.basket-btn svg { width: 20px; height: 20px; }
.basket-btn .count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--on-gold); color: var(--gold); font-size: .8rem; }
@media (min-width: 720px) { .status-pill { display: inline-flex; } }
@media (max-width: 420px) { .head nav a.link.hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 99px; font-weight: 800; font-size: 1.05rem; text-decoration: none; border: 0;
  transition: transform .18s var(--ease), background-color .18s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: #ffc85a; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--salt); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 170vh; height: 170svh; }
.hero-stage { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); overflow: hidden; }
.hero-stage::before { /* heat-lamp glow behind the pizza */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 45% at 50% 62%, rgba(244, 138, 40, .28), transparent 70%),
              radial-gradient(90% 60% at 50% 110%, rgba(24, 61, 45, .55), transparent 70%);
}
.hero-copy { position: relative; z-index: 2; padding-top: clamp(20px, 5vh, 56px); }
.eyebrow { font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.hero h1 {
  font-family: var(--display); font-weight: 400; margin: 0; line-height: .92; letter-spacing: -.01em;
  font-size: clamp(3rem, 13vw, 7.4rem); text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero .lede { max-width: 30ch; color: var(--salt); font-size: 1.08rem; margin: 14px 0 0; }
.hero-actions { position: absolute; z-index: 3; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom)); }
.hero-actions .wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .btn { flex: 1 1 160px; }
.pizza-stage { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.pizza-stage canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .6s var(--ease); }
.pizza-stage.ready canvas { opacity: 1; }
.pizza-stage.ready .pizza-poster { opacity: 0; }
.pizza-poster {
  position: absolute; width: min(88vw, 62vh); aspect-ratio: 1; top: 58%; left: 50%;
  transform: translate(-50%, -50%) perspective(900px) rotateX(52deg);
  transition: opacity .6s var(--ease);
}
.pizza-poster img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 40px 60px -20px rgba(0, 0, 0, .8); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; z-index: 2; right: 16px; top: 45%; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--salt); opacity: .7; }
@media (min-width: 900px) {
  .hero-copy { padding-top: 12vh; }
  .hero h1 { font-size: clamp(5rem, 8vw, 8rem); }
  .pizza-poster { left: 75%; top: 56%; width: min(38vw, 60vh); }
  .hero-stage::before { background: radial-gradient(40% 50% at 75% 58%, rgba(244, 138, 40, .28), transparent 70%), radial-gradient(90% 60% at 50% 110%, rgba(24, 61, 45, .55), transparent 70%); }
  .hero-actions { position: absolute; bottom: auto; top: calc(12vh + 29rem); }
  .hero-actions .wrap { max-width: 1180px; }
  .hero-actions .btn { flex: 0 0 auto; }
}

/* ---------- status band ---------- */
.band { position: relative; z-index: 5; background: var(--char); border-block: 1px solid var(--line); }
.band .wrap { display: grid; gap: 18px; padding-block: 26px; }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 5vw, 2.2rem); margin: 0; line-height: 1.05; display: flex; align-items: center; gap: 12px; }
.band h2::before { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--ketchup); }
.band[data-open='yes'] h2::before { background: var(--green); box-shadow: 0 0 0 6px rgba(63, 174, 124, .2); }
.band p { margin: 6px 0 0; color: var(--salt); }
.times { display: flex; gap: 10px; flex-wrap: wrap; }
.time-chip { flex: 1 1 140px; background: var(--char-2); border-radius: var(--radius); padding: 12px 14px; }
.time-chip b { display: block; font-size: 1.35rem; }
.time-chip span { color: var(--salt); font-size: .9rem; }
@media (min-width: 900px) { .band .wrap { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 10vw, 110px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1; margin: 0; }
.section-head a { color: var(--gold); font-weight: 700; text-decoration: none; padding: 10px 0; white-space: nowrap; }

/* popular list */
.popular { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .popular { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .popular { grid-template-columns: repeat(3, 1fr); } }
.pop {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; text-decoration: none;
  background: var(--char); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s var(--ease);
}
.pop:hover { border-color: var(--gold); }
.pop:active { transform: scale(.98); }
.pop .rank { font-family: var(--display); color: var(--gold); font-size: 1.3rem; width: 1.6em; flex: none; }
.pop .t { font-weight: 700; }
.pop .d { color: var(--salt); font-size: .88rem; }
.pop .p { margin-left: auto; font-weight: 800; white-space: nowrap; }

/* photo-led category bands ("Off the pass"). Without the scroll scenes this is a plain zig-zag list. */
.counter { position: relative; padding-block: clamp(56px, 10vw, 110px) 0; overflow-x: clip; }
.counter-head { margin-bottom: 26px; }
.counter-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1; margin: 0; }
.counter-track { width: min(1180px, 100% - 32px); margin-inline: auto; }
.counter-rail, .dish-word { display: none; }
.dishes { display: grid; gap: clamp(40px, 8vw, 90px); }
.dish { display: grid; gap: 18px; align-items: center; text-decoration: none; }
.dish figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--char); }
.dish img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ease); }
.dish h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 4.2rem); line-height: .95; margin: 0 0 8px; }
.dish p { margin: 0 0 14px; color: var(--salt); max-width: 40ch; }
.dish .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold); min-height: 44px; }
.dish .go svg { width: 20px; transition: transform .2s var(--ease); }
.dish:hover .go svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .dish { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .dish:nth-child(even) figure { order: 2; }
}

/* reveals */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.dish[data-reveal] { opacity: 1; transform: none; }
.dish[data-reveal] figure { clip-path: inset(18% 8% 18% 8% round 22px); transition: clip-path 1s var(--ease); }
.dish[data-reveal].in figure { clip-path: inset(0 0 0 0 round 22px); }
.dish[data-reveal].in img { transform: scale(1); }
.dish[data-reveal] .dish-copy { opacity: 0; transform: translateY(24px); transition: opacity .7s .15s var(--ease), transform .7s .15s var(--ease); }
.dish[data-reveal].in .dish-copy { opacity: 1; transform: none; }

/* hours + find us */
.visit { display: grid; gap: 28px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 48px; } }
.card { background: var(--char); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 14px; font-size: 1.1rem; letter-spacing: .02em; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours td { color: var(--salt); }
.hours tr[aria-current] th, .hours tr[aria-current] td { color: var(--gold); font-weight: 700; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.addr { font-style: normal; font-size: 1.15rem; line-height: 1.5; margin-bottom: 18px; }
.stack { display: grid; gap: 10px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom)); color: var(--salt); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; justify-content: space-between; }
.foot strong { font-family: var(--display); font-weight: 400; color: var(--paper); font-size: 1.3rem; }
.foot a { color: var(--paper); }

/* ---------- menu page ---------- */
.menu-top { padding-block: 28px 8px; }
.menu-top h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 9vw, 4rem); margin: 0; line-height: 1; }
.menu-top p { color: var(--salt); margin: 8px 0 0; }
.cats {
  position: sticky; top: var(--head-h); z-index: 30; background: rgba(21, 16, 12, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.cats ul { list-style: none; margin: 0 auto; padding: 10px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 1180px; }
.cats ul::-webkit-scrollbar { display: none; }
.cats a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 99px; white-space: nowrap;
  text-decoration: none; font-weight: 700; font-size: .95rem; background: var(--char); color: var(--salt); border: 1px solid var(--line);
}
.cats a[aria-current='true'] { background: var(--paper); color: var(--fryer); border-color: var(--paper); }
.menu-cat { padding-top: 36px; }
.menu-cat h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 0 0 14px; line-height: 1; }
.cat-photo { margin: 0 0 16px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--char); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.items { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 800px) { .items { grid-template-columns: 1fr 1fr; } }
.item {
  width: 100%; text-align: left; display: flex; gap: 14px; align-items: flex-start; padding: 16px; min-height: 76px;
  background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .15s var(--ease);
}
.item:hover { border-color: var(--salt); }
.item:active { transform: scale(.985); }
.item .body { flex: 1; min-width: 0; }
.item .t { font-weight: 700; font-size: 1.05rem; display: block; }
.item .d { color: var(--salt); font-size: .9rem; display: block; margin-top: 2px; }
.item .sizes { color: var(--salt); font-size: .85rem; display: block; margin-top: 6px; }
.item .p { font-weight: 800; white-space: nowrap; }
.item .p small { display: block; font-weight: 600; font-size: .72rem; color: var(--salt); text-align: right; }
.item .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--char-2); color: var(--gold); }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-left: 6px; vertical-align: 2px; }

/* basket bar (menu, mobile) */
.basket-bar {
  position: fixed; z-index: 35; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 20px;
  background: var(--gold); color: var(--on-gold); border-radius: 99px; text-decoration: none; font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}
.has-bar { padding-bottom: 96px; }

/* ---------- item sheet ---------- */
dialog.sheet {
  padding: 0; border: 0; color: var(--paper); background: var(--char); width: 100%; max-width: 560px;
  max-height: 92vh; max-height: 92dvh; margin: auto auto 0; border-radius: 22px 22px 0 0; overflow: hidden;
}
@media (min-width: 640px) { dialog.sheet { margin: auto; border-radius: 22px; } }
dialog.sheet::backdrop { background: rgba(0, 0, 0, .62); }
dialog.sheet[open] { animation: sheet-in .28s var(--ease); display: flex; flex-direction: column; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 20px; }
.sheet-photo { margin: 0 -20px 16px; aspect-ratio: 2 / 1; overflow: hidden; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; }
.sheet h2 { margin: 0; font-size: 1.45rem; line-height: 1.2; }
.sheet .desc { color: var(--salt); margin: 6px 0 0; }
.close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--char-2); display: grid; place-items: center; }
.close svg { width: 20px; height: 20px; }
fieldset.group { border: 0; padding: 0; margin: 22px 0 0; }
fieldset.group legend { display: flex; width: 100%; justify-content: space-between; align-items: center; font-weight: 800; padding: 0; margin-bottom: 10px; }
.req { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; background: var(--char-2); color: var(--salt); }
.req.must { background: var(--green-deep); color: #bfeed6; }
.group.invalid .req.must { background: #4a1a12; color: #ffc9bf; }
.group-error { color: var(--ketchup); font-weight: 700; margin: 8px 0 0; font-size: .92rem; }
.opt {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; margin-top: 8px; border-radius: 12px;
  background: var(--char-2); border: 2px solid transparent; cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--gold); }
.opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt input { width: 20px; height: 20px; accent-color: var(--gold); margin: 0; }
.opt span { flex: 1; font-weight: 600; }
.opt b { font-weight: 700; color: var(--salt); }
.sheet-foot { display: flex; gap: 10px; align-items: center; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--char); }
.qty { display: inline-flex; align-items: center; background: var(--char-2); border-radius: 99px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 1.3rem; font-weight: 700; color: var(--paper); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.sheet-foot .btn { flex: 1; min-height: 50px; padding: 0 16px; font-size: 1rem; }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--paper); color: var(--fryer); font-weight: 700; padding: 12px 18px; border-radius: 99px;
  transition: opacity .2s, transform .2s var(--ease); pointer-events: none; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout ---------- */
.co { display: grid; gap: 22px; padding-block: 28px 60px; }
@media (min-width: 960px) { .co { grid-template-columns: 1.3fr 1fr; align-items: start; } .co aside { position: sticky; top: calc(var(--head-h) + 20px); } }
.co h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 8vw, 3.4rem); margin: 0; line-height: 1; }
.notice { border-radius: var(--radius); padding: 14px 16px; background: #3a1d14; border: 1px solid #6b3122; color: #ffd9cf; }
.notice.info { background: var(--green-deep); border-color: #2b6b4f; color: #d6f5e6; }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
.method legend { font-weight: 800; margin-bottom: 10px; }
.method label {
  display: block; padding: 14px; border-radius: var(--radius); background: var(--char); border: 2px solid var(--line); cursor: pointer; min-height: 88px;
}
.method label:has(input:checked) { border-color: var(--gold); background: var(--char-2); }
.method label:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.method label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.method input { position: absolute; opacity: 0; }
.method b { display: block; font-size: 1.08rem; }
.method span { color: var(--salt); font-size: .88rem; }
.method-note { grid-column: 1 / -1; margin: 0; color: var(--salt); font-size: .9rem; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .t { font-weight: 700; }
.line .o { color: var(--salt); font-size: .88rem; grid-column: 1; }
.line .lt { font-weight: 800; text-align: right; }
.line .qty { grid-column: 1; justify-self: start; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-weight: 700; }
.field .hint { color: var(--salt); font-size: .85rem; font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; font-size: 1rem;
  background: var(--fryer); border: 1.5px solid rgba(251, 241, 222, .28);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(244, 182, 63, .3); }
.field [aria-invalid='true'] { border-color: var(--ketchup); }
.field .err { color: var(--ketchup); font-weight: 700; font-size: .9rem; margin: 0; }
.bill { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bill th, .bill td { padding: 8px 0; font-weight: 400; text-align: left; }
.bill td { text-align: right; }
.bill .total th, .bill .total td { font-weight: 800; font-size: 1.3rem; border-top: 1px solid var(--line); padding-top: 14px; }
.small { color: var(--salt); font-size: .85rem; }
.pay { width: 100%; margin-top: 14px; }
.empty { text-align: center; padding: 50px 20px; }
.empty h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin: 0 0 10px; }

/* ---------- scroll scenes (js/scenes.js adds these classes once GSAP has loaded) ---------- */
/* Desktop: the counter pins and the dishes slide past like plates along the pass. */
.counter.scene-h { padding-top: 0; }
.counter.scene-h .counter-pin { height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); overflow: hidden; display: flex; flex-direction: column; }
.counter.scene-h .counter-head { padding-top: clamp(24px, 6vh, 64px); margin-bottom: 0; flex: none; }
.counter.scene-h .counter-track { flex: 1; width: max-content; margin: 0; display: flex; align-items: center; gap: 7vw; padding-inline: max(16px, (100vw - 1180px) / 2) 12vw; will-change: transform; }
.counter.scene-h .dish { position: relative; flex: none; grid-template-columns: auto minmax(260px, 30vw); gap: 48px; isolation: isolate; }
.counter.scene-h .dish:nth-child(even) figure { order: 0; }
.counter.scene-h .dish figure { height: min(54vh, 520px); aspect-ratio: 4 / 3; clip-path: none; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.counter.scene-h .dish img { width: 120%; max-width: none; margin-left: -10%; transform: none; transition: none; will-change: transform; }
.counter.scene-h .dish-copy { opacity: 1; transform: none; transition: none; }
.counter.scene-h .dish-word { /* rises from behind the plate: only its top half shows */
  display: block; position: absolute; z-index: -1; left: -4%; top: 0; translate: 0 -50%; pointer-events: none; white-space: nowrap;
  font: 400 clamp(6rem, 12vw, 12rem)/1 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(244, 182, 63, .42);
}
.counter.scene-h .counter-rail { display: block; position: relative; flex: none; padding-block: 18px 26px; }
.counter-rail ol { list-style: none; margin: 0; padding: 0 0 12px; display: flex; justify-content: space-between; }
.counter-rail li { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--salt); opacity: .6; transition: color .3s, opacity .3s; }
.counter-rail li.on { color: var(--gold); opacity: 1; }
.counter-rail::before, .counter-fill { content: ''; position: absolute; left: 0; right: 0; bottom: 26px; height: 2px; background: var(--line); }
.counter-fill { background: var(--gold); transform: scaleX(0); transform-origin: left; }
/* Phones: the plates come up the page; each photo opens from a smaller window and the word slides across it. */
.counter.scene-v .counter-track { padding-top: 34px; }
.counter.scene-v .dish { position: relative; }
.counter.scene-v .dish figure { clip-path: none; transition: none; }
.counter.scene-v .dish img { transform: none; transition: none; will-change: transform; }
.counter.scene-v .dish-copy { opacity: 1; transform: none; transition: none; }
.counter.scene-v .dish-word {
  display: block; position: absolute; z-index: 2; left: 0; top: 0; translate: 0 -46%; pointer-events: none; white-space: nowrap;
  font: 400 clamp(4.4rem, 22vw, 7rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(244, 182, 63, .7);
}

/* The wall: every photo from the shoot in three rows, each at its own depth. */
.wall { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(120px, 22vw, 220px); }
.wall-rows { position: absolute; inset: 0; z-index: -2; display: flex; flex-direction: column; justify-content: center; gap: clamp(10px, 1.4vw, 18px); }
.wall-row { display: flex; gap: clamp(10px, 1.4vw, 18px); width: max-content; will-change: transform; }
.wall-row img { width: var(--tile); height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--char); }
.wall-back { --tile: 132px; filter: brightness(.42) saturate(.75); margin-left: -90px; }
.wall-mid { --tile: 176px; filter: brightness(.58) saturate(.9); margin-left: -260px; }
.wall-front { --tile: 226px; filter: brightness(.72); margin-left: -40px; }
@media (min-width: 900px) { .wall-back { --tile: 200px; } .wall-mid { --tile: 264px; } .wall-front { --tile: 330px; } }
.wall::before { /* dark pool in the middle so the words read, fading into the page top and bottom */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(56% 40% at 50% 50%, rgba(21, 16, 12, .88), rgba(21, 16, 12, .4) 62%, rgba(21, 16, 12, 0) 100%),
              linear-gradient(var(--fryer), transparent 18%, transparent 82%, var(--fryer));
}
.wall-copy { text-align: center; }
.wall-copy h2 { font: 400 clamp(3.2rem, 15vw, 8.5rem)/.9 var(--display); margin: 0; text-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.wall-copy p { color: var(--paper); margin: 16px auto 26px; max-width: 32ch; font-size: 1.08rem; }

/* ---------- add to basket ---------- */
.fly { position: fixed; z-index: 90; left: 0; top: 0; pointer-events: none; }
.fly-token {
  width: 72px; height: 72px; border-radius: 50%; background: var(--gold) center / cover no-repeat; color: var(--on-gold);
  display: grid; place-items: center; font: 800 1.2rem var(--body); box-shadow: 0 0 0 3px var(--gold), 0 14px 30px rgba(0, 0, 0, .55);
}
.basket-btn.caught::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: caught .6s var(--ease) forwards; pointer-events: none; }
@keyframes caught { from { box-shadow: 0 0 0 0 rgba(244, 182, 63, .7); } to { box-shadow: 0 0 0 18px rgba(244, 182, 63, 0); } }
.item.sold { opacity: .55; cursor: not-allowed; }
.item.sold .plus { display: none; }
.tag-sold { color: var(--ketchup); }
.opt.sold { opacity: .5; cursor: not-allowed; }
.opt small { color: var(--ketchup); font-weight: 700; margin-left: 6px; }

/* menu category photos drift inside their frames while you scroll (CSS only, where supported) */
@supports (animation-timeline: view()) {
  .cat-photo img { scale: 1.16; animation: drift linear both; animation-timeline: view(); }
  @keyframes drift { from { translate: 0 -6%; } to { translate: 0 6%; } }
}

/* ---------- placing and tracking an order ---------- */
.pay.is-sending { opacity: 1 !important; background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.track { display: grid; gap: 22px; padding-block: 28px 60px; }
@media (min-width: 960px) { .track { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.ticket { position: relative; background: var(--char); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); overflow: hidden; }
.ticket::before { /* the torn top edge of a docket */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: radial-gradient(circle at 8px -2px, var(--fryer) 7px, transparent 7.5px) 0 0 / 16px 10px repeat-x;
}
.ticket h1 { margin: 6px 0 0; line-height: .9; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.ticket-label { font: 700 1rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--salt); }
.ticket-no { font: 400 clamp(4.5rem, 22vw, 8rem)/.9 var(--display); color: var(--gold); }
.ticket.bump .ticket-no { animation: bump .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.12) rotate(-2deg); } }
.ticket-ref { margin: 8px 0 0; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: step; }
.steps li { position: relative; padding-top: 18px; font-size: .88rem; color: var(--salt); }
.steps li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 99px; background: var(--char-2); }
.steps li.done::before { background: var(--green); }
.steps li.now::before { background: linear-gradient(90deg, var(--gold) 0 50%, var(--char-2) 50%) 0 0 / 200% 100%; animation: fill 1.6s var(--ease) infinite alternate; }
.ticket[data-state='completed'] .steps li.now::before { background: var(--green); animation: none; }
@keyframes fill { from { background-position: 100% 0; } to { background-position: 0 0; } }
.steps b { display: block; color: var(--paper); font-size: .95rem; }
.steps li.now b { color: var(--gold); }
.steps span { display: block; line-height: 1.3; margin-top: 2px; }
.ticket[data-state='rejected'] .steps, .ticket[data-state='cancelled'] .steps, .ticket[data-state='missing'] .steps { opacity: .35; }
.track-now { margin-top: 26px; }
.track-now h2 { font: 400 clamp(1.7rem, 6vw, 2.4rem)/1.05 var(--display); margin: 0; }
.track-now p { color: var(--salt); margin: 8px 0 0; }
.track-actions { margin-top: 24px; }
.track-summary h2 { margin: 0 0 6px; font-size: 1.15rem; }

/* ---------- page transitions: the page settles in on arrival and lifts away when you follow a link (js/core.js) ---------- */
main, .foot { animation: page-in .45s var(--ease) backwards; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }
html.leaving main, html.leaving .foot { opacity: 0; transform: translateY(-10px); transition: opacity .18s cubic-bezier(.4, 0, 1, 1), transform .18s cubic-bezier(.4, 0, 1, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero { height: auto; }
  .hero-stage { position: relative; top: 0; height: calc(100svh - var(--head-h)); min-height: 560px; }
  [data-reveal], .dish[data-reveal] figure, .dish[data-reveal] .dish-copy, .dish img { opacity: 1; transform: none; clip-path: none; }
}
