/* self-hosted from Google Fonts, latin subset (SIL OFL, licenses in assets/fonts) */
@font-face {
  font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../assets/fonts/alfa-slab-one.woff2) format('woff2');
}
@font-face {
  font-family: 'Work Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../assets/fonts/work-sans-variable.woff2) format('woff2');
}

:root {
  --cream: #FFF7EA;
  --paper: #FFFDF8;
  --ink: #22190F;
  --ink-soft: #4A3D30;
  --muted: #6A5B4C;
  --line: #EADBC3;
  --red: #C8302A;
  --red-deep: #A82820;
  --cheese: #F5D27A;
  --crust: #D99A4E;
  --board-line: #5A4A3A;
  --board-muted: #CDBFA8;
  --display: 'Alfa Slab One', Rockwell, 'Roboto Slab', Georgia, serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 70px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: clip;
}

img, svg { display: block; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
a { color: var(--red-deep); }
abbr[title] { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cheese); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* scroll progress: red and cheese stripes, like a pizza box sticker */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: repeating-linear-gradient(90deg, var(--red) 0 18px, var(--cheese) 18px 36px);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-deep);
}
.eyebrow-cheese { color: var(--cheese); }

h1, h2 { text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.2vw, 66px); line-height: 1; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 32px; margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head h2 { max-width: 700px; }
.section-head > p { max-width: 380px; font-size: 17px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 2px solid var(--ink);
  font: 700 16px/1.1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s ease, color .2s ease;
}
.btn-red { background: var(--red); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--red); }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-red:hover, .btn-ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--red); }
.btn-outline:hover { background: var(--cream); }
.btn:active { transform: translate(1px, 1px) scale(.98); }
.btn-red:active { box-shadow: 2px 2px 0 var(--ink); }
.btn-ink:active { box-shadow: 2px 2px 0 var(--red); }
.btn:disabled { background: #8C7E70; border-color: #8C7E70; color: var(--cream); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-wide { width: 100%; }

/* ---------- top strip + nav ---------- */
.strip { background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.strip-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 9px; }
.strip p { display: flex; align-items: center; gap: 8px; }
.strip a { color: var(--cheese); }
.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #8C7E70; flex: none; }
.status-dot.open { background: #5CC26B; }
.status-dot.open::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5CC26B; animation: pulse 2.4s ease-out infinite; }
.status-dot.closed { background: var(--red); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
@media (max-width: 640px) { .strip .strip-extra { display: none; } }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream); border-bottom: 2px solid var(--ink);
  transition: box-shadow .3s ease;
}
.topbar.scrolled { box-shadow: 0 8px 24px -18px rgba(34, 25, 15, .55); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 11px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 44px; height: 44px; flex: none; transition: transform .4s var(--ease-out); }
.brand:hover .mark { transform: rotate(-14deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 24px; }
.brand-tag { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--red-deep); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav-links a {
  color: var(--ink); text-decoration: none; padding-block: 6px;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat;
  transition: background-size .25s var(--ease-out), color .2s ease;
}
.nav-links a:hover { color: var(--red-deep); background-size: 100% 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.radius {
  margin-right: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--red-deep);
}
@media (max-width: 1100px) and (min-width: 921px) { .radius { display: none; } }
@media (max-width: 640px) { .radius { display: none; } }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 8px 0 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--red); color: var(--cream);
  font-weight: 700; cursor: pointer;
  transition: transform .2s var(--ease-out);
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: 2px solid var(--ink); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; overflow: visible; }
.menu-toggle path { transition: transform .25s ease, opacity .2s ease; transform-box: fill-box; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .bar-top { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar-mid { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar-bot { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 2px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--cream); border-bottom: 2px solid var(--ink);
    box-shadow: 0 24px 30px -24px rgba(34, 25, 15, .5);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-links a { padding: 14px 4px; font-size: 18px; border-bottom: 1.5px dashed var(--line); background: none; }
  .nav-links a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
  .cart-btn-label { display: none; }
  .cart-btn { padding-left: 12px; }
  .brand-name { font-size: 21px; }
  .brand .mark { width: 38px; height: 38px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 76px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8.2vw, 112px); line-height: .95; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--red); }
.lede { margin: 24px 0 30px; max-width: 520px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 38px; }
.hero-facts dt, .visit-facts dt, .about-stats dt, .footer-stats dt, .party-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero-facts dt { color: var(--muted); }
.hero-facts dd { margin-top: 4px; font-family: var(--display); font-size: 28px; }

.hero-art { display: flex; flex-direction: column; align-items: center; }
.hero-pie { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
.pie {
  position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible;
  filter: drop-shadow(0 18px 22px rgba(34, 25, 15, .22));
}
@supports (animation-timeline: scroll()) {
  .pie { animation: pie-spin linear both; animation-timeline: scroll(root); }
}
@keyframes pie-spin { from { rotate: 0deg; } to { rotate: 240deg; } }
.crust { fill: var(--crust); stroke: #B9772F; stroke-width: 1.5; stroke-linejoin: round; }
.sauce { fill: var(--red); }
.cheese { fill: var(--cheese); stroke: #E2B65A; stroke-width: 1; }
.pep { fill: #A8261C; }
.strands { fill: none; stroke: var(--cheese); stroke-width: 2.6; stroke-linecap: round; opacity: 0; transition: opacity .4s ease; }
.pull-slice { transition: transform .7s var(--ease-out); }
.pulled .pull-slice { transform: translate(37px, -15.3px); }
.pulled .strands { opacity: 1; transition-delay: .25s; }
.sticker {
  position: absolute; left: 0; top: 2%; z-index: 2;
  width: 112px; height: 112px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--red); color: var(--cream); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display); line-height: 1; text-align: center;
  rotate: -12deg; animation: wobble 3.4s ease-in-out infinite;
}
.sticker span:first-child { font-size: 29px; }
.sticker span:last-child { margin-top: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@keyframes wobble { 0%, 100% { rotate: -12deg; scale: 1; } 50% { rotate: -7deg; scale: 1.04; } }
.steam {
  position: absolute; top: 0; z-index: 1; width: 10%; height: 38%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 125, 100, .32), rgba(150, 125, 100, 0));
  filter: blur(6px); pointer-events: none; opacity: 0;
  animation: steam 3.8s ease-out infinite;
}
.steam-1 { left: 32%; }
.steam-2 { left: 50%; animation-duration: 4.4s; animation-delay: -1.6s; }
.steam-3 { left: 63%; animation-duration: 4s; animation-delay: -2.8s; }
@keyframes steam {
  0% { transform: translateY(24px) scale(.6); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(-110px) scale(1.5); opacity: 0; }
}
.hero-caption { min-height: 24px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pie { width: min(86%, 400px); }
  .sticker { width: 88px; height: 88px; }
  .sticker span:first-child { font-size: 23px; }
}

/* ---------- marquee + trust ---------- */
.marquee { background: var(--red); color: var(--cream); border-block: 2px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee p { display: flex; gap: 40px; padding: 13px 20px; font-family: var(--display); font-size: 22px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.trust { background: var(--paper); border-bottom: 2px solid var(--ink); padding: 26px 0 20px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 32px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.trust-list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- menu board ---------- */
.menu { background: var(--ink); color: var(--cream); padding: clamp(72px, 10vw, 120px) 0; }
.menu .section-head > p { color: var(--board-muted); }
.board { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.board-col { border: 1.5px solid var(--board-line); border-radius: 20px; padding: clamp(20px, 3vw, 28px); }
.board-col h3 { margin-bottom: 18px; font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--cheese); }
.board-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.item { display: flex; align-items: center; gap: 14px; }
.item-text { flex: 1; min-width: 0; }
.item-line { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 700; }
.dots { flex: 1; min-width: 12px; border-bottom: 2px dotted #6A5B4C; }
.item-price { font-variant-numeric: tabular-nums; }
.item-desc { margin-top: 2px; font-size: 14px; color: var(--board-muted); }
.add {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--cheese); background: transparent; color: var(--cheese);
  font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.add:hover { background: var(--cheese); color: var(--ink); }
.add:active { transform: scale(.9); }
.add.in-cart { background: var(--cheese); color: var(--ink); font-size: 15px; }
.board-note { margin-top: 28px; font-size: 14px; color: var(--board-muted); }
.board-note a { color: var(--cheese); }

/* ---------- specials ---------- */
.specials { padding: clamp(72px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.week li {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 18px 16px 20px;
  transition: transform .25s var(--ease-out);
}
.week li:hover { transform: translateY(-4px); }
.week .day { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-deep); }
.week h3 { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.1; }
.week li p:last-child { font-size: 14px; color: var(--ink-soft); }
.week li.today { background: var(--red); color: var(--cream); box-shadow: 5px 5px 0 var(--ink); }
.week li.today .day { color: var(--cream); }
.week li.today .day::after { content: ' · Today'; }
.week li.today p:last-child { color: var(--cream); }
@media (max-width: 1100px) {
  .week {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 34%);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
    scrollbar-width: thin;
  }
  .week li { scroll-snap-align: start; }
}
@media (max-width: 640px) { .week { grid-auto-columns: 72%; } }

/* ---------- shared chips (radio + checkbox pills) ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
legend span { font-weight: 500; opacity: .75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  --chip-bg: var(--paper); --chip-fg: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 2px solid var(--chip-border, var(--ink)); background: var(--chip-bg); color: var(--chip-fg);
  font-size: 14px; font-weight: 600; line-height: 1.15;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.chip:hover span { transform: translateY(-1px); }
.chip input:checked + span { background: var(--chip-on-bg, var(--ink)); color: var(--chip-on-fg, var(--cream)); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chip input:active + span { transform: scale(.96); }
.chip-block { flex: 1 1 84px; }
.chip-block span { width: 100%; flex-direction: column; justify-content: center; gap: 1px; min-height: 54px; padding: 4px 12px; border-radius: 14px; font-size: 15px; font-weight: 700; text-align: center; }
.chip-block small { font-size: 12px; font-weight: 600; opacity: .8; }
.chips-split .chip { flex: 1; }
.chips-split .chip span { width: 100%; justify-content: center; font-weight: 700; }
.sw { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); }
.sw-red { background: #C8302A; } .sw-vodka { background: #E07B4F; } .sw-white { background: #F3E4C4; }
.sw-pesto { background: #5E8F3A; } .sw-none { background: #E9C58A; }
.sw-pep { background: #A8261C; } .sw-sausage { background: #8A4B2A; } .sw-bacon { background: #C0584A; }
.sw-ham { background: #EBA1A1; } .sw-meatball { background: #6B3A22; } .sw-anchovy { background: #7A746B; }
.sw-mush { background: #E6D5BB; } .sw-onion { background: #A35C9E; } .sw-pepper { background: #3E9B47; }
.sw-olive { background: #2A2522; } .sw-jal { background: #4E9A3E; } .sw-banana { background: #E2C93A; }
.sw-pine { background: #F6C945; } .sw-spinach { background: #3E6B2E; } .sw-garlic { background: #F0DDB0; }
.sw-ricotta { background: #FFFDF5; } .sw-basil { background: #2F7D3E; }

/* ---------- build your own ---------- */
.build { background: var(--paper); border-block: 2px solid var(--ink); padding: clamp(72px, 10vw, 120px) 0; }
.build-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(28px, 4vw, 56px); }
.stage { position: sticky; top: calc(var(--header-h) + 24px); text-align: center; }
.stage-pie {
  position: relative; display: block; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto;
  filter: drop-shadow(0 18px 22px rgba(34, 25, 15, .22));
  transition: scale .45s var(--ease-out);
}
.stage-pie.size-S { scale: .76; }
.stage-pie.size-M { scale: .88; }
.layer { position: absolute; display: block; border-radius: 50%; transition: border-radius .45s ease, background-color .35s ease, opacity .35s ease, transform .35s ease; }
.layer-crust { inset: 0; background: var(--crust); border: 2px solid #B9772F; }
.layer-sauce { inset: 7%; }
.layer-cheese {
  inset: 11%;
  border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background:
    radial-gradient(circle at 30% 35%, #F9DE97 0 6%, transparent 7%),
    radial-gradient(circle at 66% 62%, #F9DE97 0 7%, transparent 8%),
    radial-gradient(circle at 56% 24%, #EDC362 0 3%, transparent 4%),
    radial-gradient(circle at 38% 72%, #EDC362 0 3%, transparent 4%),
    var(--cheese);
}
.layer-tops { inset: 0; border-radius: 0; }
.shape-square .layer { border-radius: 6%; }
.shape-square .layer-cheese { border-radius: 8%; }
.shape-square .layer-tops { border-radius: 0; }
.gf .layer-crust { background: #E7BE82; }
.sauce-red .layer-sauce { background: #C8302A; }
.sauce-vodka .layer-sauce { background: #E07B4F; }
.sauce-white .layer-sauce { background: #F3E4C4; }
.sauce-pesto .layer-sauce { background: #5E8F3A; }
.sauce-none .layer-sauce { background: #E9C58A; }
.cheese-extra .layer-cheese { transform: scale(1.05); }
.cheese-vegan .layer-cheese { filter: saturate(.35) brightness(1.08); }
.cheese-none .layer-cheese { opacity: 0; }
.tp { position: absolute; width: 8%; aspect-ratio: 1; translate: -50% -50%; }
.tp svg { width: 100%; height: 100%; overflow: visible; animation: drop .42s var(--ease-out) both; }
.tp.out svg { animation: lift .25s ease-in both; }
@keyframes drop { 0% { transform: translateY(-40%) scale(1.7); opacity: 0; } 70% { transform: translateY(4%) scale(.95); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes lift { to { transform: translateY(-30%) scale(1.3); opacity: 0; } }
.tp-pep, .tp-bacon, .tp-ricotta, .tp-basil { width: 9%; }
.tp-sausage, .tp-ham, .tp-pine { width: 7%; }
.tp-anchovy, .tp-spinach { width: 10%; }
.tp-olive, .tp-garlic { width: 6%; }
.tp-jal, .tp-banana { width: 6.5%; }
.stage-price { margin-top: 10px; font-family: var(--display); font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.stage-desc { max-width: 420px; margin: 8px auto 0; font-size: 15px; color: var(--muted); }

.builder {
  display: flex; flex-direction: column; gap: 22px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(20px, 3.4vw, 34px);
}
.builder-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quip { padding: 13px 16px; border: 2px dashed #E2B65A; border-radius: 14px; background: #FFF3D6; font-size: 15px; }
.builder-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.builder-actions .btn-outline { flex: 1 1 140px; }
.builder-actions .btn-wide { flex: 2 1 240px; width: auto; }
@media (max-width: 900px) {
  .build-grid { grid-template-columns: 1fr; gap: 20px; }
  /* on phones the pie rides along at the top while you pick toppings */
  .stage {
    top: var(--header-h); z-index: 5;
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; text-align: left;
    margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter);
    background: var(--paper); border-bottom: 2px solid var(--ink);
  }
  .stage-pie { grid-row: span 2; width: 132px; }
  .stage-price { margin: 0; font-size: 28px; align-self: end; }
  .stage-desc { margin: 0; font-size: 13px; align-self: start; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 600px) { .builder-row { grid-template-columns: 1fr; } }

/* ---------- wings ---------- */
.wings {
  --wing-bg: var(--cream); --wing-fg: var(--ink); --card-bg: var(--paper); --card-fg: var(--ink); --accent: var(--red-deep);
  --steam-o: .7; --steam-dur: 2.8s; --steam-color: rgba(120, 96, 70, .45);
  background: var(--wing-bg); color: var(--wing-fg);
  border-bottom: 2px solid var(--ink);
  padding: clamp(72px, 10vw, 120px) 0;
  transition: background-color .5s ease, color .5s ease;
}
.wings .section-head > p { color: inherit; opacity: .85; }
.wings .eyebrow { color: var(--accent); }
.wings.is-hot { --wing-fg: var(--cream); --accent: var(--cheese); --steam-color: rgba(255, 247, 234, .7); }
.wings-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 24px; }
.wing-card {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--card-bg); color: var(--card-fg);
  border: 2px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(20px, 3.4vw, 36px);
  transition: background-color .5s ease, color .5s ease;
}
.wings.is-hot .wing-card { --card-fg: var(--cream); }
.wings.is-hot .chip span { --chip-bg: transparent; --chip-fg: var(--cream); --chip-border: var(--cream); --chip-on-bg: var(--cheese); --chip-on-fg: var(--ink); }
.wing-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wing-level { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.flames { display: flex; gap: 4px; }
.flames svg { width: 22px; height: 22px; fill: #D8CFC0; stroke: var(--ink); stroke-width: 1.2; opacity: .3; transition: fill .3s ease, opacity .3s ease; transform-origin: 50% 100%; }
.flames svg.lit { fill: #F08A24; opacity: 1; }
.flames svg.lit.hot { fill: var(--red); }
.flames svg.flicker { animation: flicker .9s ease-in-out infinite; }
.flames svg.flicker:nth-child(2n) { animation-delay: -.4s; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(.92, 1.1); } }
.wing-art { position: relative; width: min(100%, 300px); margin: 6px auto 0; }
.wing-svg { width: 100%; height: auto; overflow: visible; }
.wing-shadow { fill: var(--ink); opacity: .14; }
.bone-outline { fill: var(--ink); stroke: var(--ink); }
.bone-outline path { stroke-width: 13; stroke-linecap: round; }
.bone { fill: #F3E3C3; stroke: #F3E3C3; }
.bone path { stroke-width: 9; stroke-linecap: round; }
.wing-meat { stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; transition: fill .4s ease; }
.wing-spots { fill: #000; opacity: .16; }
.wing-shine { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; opacity: .5; }
.wsteam {
  position: absolute; top: -6%; z-index: 1; width: 12%; height: 55%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--steam-color), rgba(255, 255, 255, 0));
  filter: blur(6px); pointer-events: none; opacity: 0;
  animation: wsteam var(--steam-dur) ease-out infinite;
}
.wsteam:nth-child(1) { left: 20%; }
.wsteam:nth-child(2) { left: 36%; animation-delay: -.8s; }
.wsteam:nth-child(3) { left: 50%; animation-delay: -1.5s; }
.wsteam:nth-child(4) { left: 28%; animation-delay: -2.1s; }
.wsteam:nth-child(5) { left: 44%; animation-delay: -.4s; }
.wsteam:nth-child(6) { left: 58%; animation-delay: -1.2s; }
@keyframes wsteam {
  0% { transform: translateY(30px) scale(.6); opacity: 0; }
  35% { opacity: var(--steam-o); }
  100% { transform: translateY(-120px) scale(1.5); opacity: 0; }
}
.wing-name { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.2vw, 50px); line-height: 1; }
.wing-meta { margin-top: -8px; font-size: 15px; font-weight: 700; color: var(--accent); }
.wing-card .wing-meta { color: var(--wing-accent, var(--red-deep)); }
.wings.is-hot .wing-card .wing-meta { color: var(--cheese); }
.wing-desc { min-height: 3.2em; font-size: 17px; }
.heat-label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.heat input { width: 100%; min-height: 36px; margin: 4px 0 0; accent-color: var(--red); cursor: pointer; }
.heat-bar { display: block; height: 12px; border: 2px solid var(--ink); border-radius: 999px; background: linear-gradient(90deg, #FFF3D6 0%, #F5D27A 25%, #F08A24 50%, #C8302A 75%, #5C0E09 100%); }
.waiver {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border: 2px dashed var(--accent); border-radius: 14px;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.waiver input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--red); }
.wings.is-hot .btn-ink { background: var(--cheese); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.wings.is-hot .btn-ink:disabled { background: #8C7E70; color: var(--cream); box-shadow: none; }

.heat-all summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 18px; border: 2px solid currentColor; border-radius: 14px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.heat-all summary::-webkit-details-marker { display: none; }
.heat-all summary::after { content: '+'; font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.heat-all[open] summary::after { transform: rotate(45deg); }
.heat-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.heat-list button {
  width: 100%; display: flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 6px 14px; border: 2px solid transparent; border-radius: 12px;
  background: transparent; text-align: left; cursor: pointer;
  transition: background-color .2s ease;
}
.heat-list button:hover { background: rgba(127, 100, 70, .1); }
.heat-list button[aria-current="true"] { border-color: currentColor; font-weight: 700; }
.heat-list i { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); }
.heat-list span { flex: 1; }
.heat-list small { font-size: 13px; font-variant-numeric: tabular-nums; opacity: .8; }
@media (max-width: 900px) { .wings-grid { grid-template-columns: 1fr; } }

/* ---------- party math + more ---------- */
.party { padding: clamp(72px, 10vw, 120px) 0 clamp(40px, 6vw, 64px); }
.party-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.party .sub { margin-top: 18px; max-width: 460px; font-size: 17px; color: var(--ink-soft); }
.guests-label { display: flex; justify-content: space-between; align-items: baseline; margin: 32px 0 8px; font-weight: 700; }
.guests-label output { font-family: var(--display); font-size: 24px; font-variant-numeric: tabular-nums; }
.party-form input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--red); cursor: pointer; }
.party-form fieldset { margin-top: 20px; }
.party-card { background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: clamp(24px, 4vw, 40px); }
.party-kicker { color: var(--muted); }
.party-num { margin-top: 6px; font-family: var(--display); font-size: clamp(88px, 12vw, 132px); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.party-num.tick { animation: bump .4s var(--ease-out); }
.party-unit { margin: 6px 0 20px; font-size: 18px; font-weight: 700; }
.party-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 34px; font-weight: 700; }
.party-icons svg { width: 34px; height: 34px; }
.party-left { margin: 20px 0 18px; padding-top: 16px; border-top: 2px dashed var(--line); color: var(--ink-soft); }
@media (max-width: 900px) { .party-grid { grid-template-columns: 1fr; } }

.more { padding: 0 0 clamp(72px, 10vw, 120px); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.more-card { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: 26px; }
.more-card svg { width: 32px; height: 32px; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.more-card h3 { font-family: var(--display); font-weight: 400; font-size: 22px; }
.more-card p { color: var(--ink-soft); }
.more-card a { margin-top: auto; padding-top: 4px; font-weight: 700; }

/* ---------- about ---------- */
.about { background: var(--ink); color: var(--cream); padding: clamp(72px, 10vw, 120px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(36px, 6vw, 72px); }
.about h2 { margin-bottom: 22px; }
.about-copy p:not(.eyebrow) { max-width: 560px; font-size: 18px; line-height: 1.7; color: #D9CBB5; }
.about-copy p + p { margin-top: 14px; }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-stats div { border: 1.5px solid var(--board-line); border-radius: 18px; padding: 22px; }
.about-stats dt { color: var(--board-muted); }
.about-stats dd { margin-top: 6px; font-family: var(--display); font-size: clamp(32px, 3.6vw, 42px); line-height: 1; color: var(--cheese); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.reviews { background: var(--paper); border-bottom: 2px solid var(--ink); padding: clamp(64px, 9vw, 104px) 0; }
.reviews .eyebrow { margin-bottom: 36px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.quotes figure {
  background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; padding: 28px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.quotes figure:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--ink); }
.quotes blockquote { margin-bottom: 14px; font-family: var(--display); font-size: 23px; line-height: 1.2; }
.quotes figcaption { font-weight: 600; color: var(--muted); }
.quotes figcaption::before { content: '— '; }

/* ---------- visit ---------- */
.visit { padding: clamp(72px, 10vw, 120px) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.visit-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 28px 0 30px; }
.visit-facts dt { color: var(--muted); }
.visit-facts dd { margin-top: 4px; font-size: 17px; font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.hours caption { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; text-align: left; font-weight: 700; }
.hours-status { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hours-status:empty { display: none; }
.hours-status.open { background: #DDF1DF; color: #1E5A28; }
.hours-status.closed { background: #F6DAD6; color: var(--red-deep); }
.hours th, .hours td { padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--red-deep); font-weight: 700; }
.hours tr.today th::after { content: ' · today'; font-weight: 500; }
.map { position: relative; border: 2px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); background: #F3E8D2; }
.map svg { width: 100%; height: auto; }
.map-ground { fill: #F3E8D2; }
.map-park { fill: #CFE0B4; }
.map-road { fill: none; stroke: var(--paper); stroke-width: 22; }
.map-road-minor { fill: none; stroke: var(--paper); stroke-width: 9; }
.map-avenue, .map-street { fill: none; stroke: var(--cheese); stroke-width: 24; }
.map-label { font: 700 12px var(--sans); letter-spacing: .16em; fill: var(--muted); }
.map-label-sm { font-size: 10px; }
.map-pin { fill: var(--red); stroke: var(--ink); stroke-width: 2.5; animation: pin 2.6s var(--ease-out) 3; }
.map-pin circle { fill: var(--cream); }
@keyframes pin { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-8px); } 90% { transform: translateY(0); } }
.map figcaption {
  position: absolute; left: 50%; top: 18px; translate: -50% 0;
  padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .visit-facts { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #D9CBB5; padding: 72px 0 120px; }
.footer-big { text-wrap: balance; font-family: var(--display); font-size: clamp(42px, 7vw, 96px); line-height: 1; color: var(--cream); }
.footer-sub { margin-top: 14px; font-size: 18px; color: var(--cheese); }
.footer-stats { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 44px; padding-block: 24px; border-block: 1.5px solid #4A3D30; }
.footer-stats dd { margin-top: 4px; font-family: var(--display); font-size: 40px; color: var(--cream); font-variant-numeric: tabular-nums; }
.footer-stats div:last-child dd { color: var(--cheese); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 24px; font-size: 14px; }
.footer-brand { font-family: var(--display); font-size: 20px; color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav a { color: #D9CBB5; text-decoration: none; padding-block: 8px; }
.footer-nav a:hover { color: var(--cream); text-decoration: underline; }
.footer-fine { margin-top: 18px; font-size: 13px; color: #A99A86; }

/* ---------- floating bits: pie badge, cart bar, toast, fly ---------- */
.pie-badge {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none;
}
.pie-badge svg { width: 42px; height: 42px; overflow: visible; }
.pie-badge .cheese { stroke-width: 3; }
.pie-badge .b { transition: opacity .35s ease, transform .35s ease; }
.pie-badge .b.gone { opacity: 0; }
.pie-badge .b0.gone { transform: translate(15px, -37px); }
.pie-badge .b1.gone { transform: translate(37px, -15px); }
.pie-badge .b2.gone { transform: translate(37px, 15px); }
.pie-badge .b3.gone { transform: translate(15px, 37px); }
.pie-badge .b4.gone { transform: translate(-15px, 37px); }
.pie-badge .b5.gone { transform: translate(-37px, 15px); }
.pie-badge .b6.gone { transform: translate(-37px, -15px); }
.pie-badge .b7.gone { transform: translate(-15px, -37px); }

.cart-bar { display: none; }
@media (max-width: 720px) {
  .cart-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 46;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 56px; padding: 0 20px; border: 2px solid var(--ink); border-radius: 999px;
    background: var(--red); color: var(--cream); box-shadow: 4px 4px 0 var(--ink);
    font-weight: 700; cursor: pointer;
    animation: rise .35s var(--ease-out);
  }
  .cart-bar-meta { font-variant-numeric: tabular-nums; }
  .pie-badge { display: none; }
}
@keyframes rise { from { transform: translateY(120%); } }

.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 18px); z-index: 70;
  translate: -50% 0; width: max-content; max-width: calc(100vw - 32px); text-align: center;
  padding: 11px 20px; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: 15px; font-weight: 600; box-shadow: 4px 4px 0 var(--red);
  animation: toast-in .3s var(--ease-out);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
.fly {
  position: fixed; left: 0; top: 0; z-index: 80; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  display: grid; place-items: center; font-size: 28px; line-height: 1; pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(34, 25, 15, .35));
}

/* ---------- cart drawer ---------- */
.cart {
  inset: 0 0 0 auto; margin: 0; padding: 0;
  width: min(440px, 100vw); max-width: 100vw; height: 100%; max-height: 100%;
  border: 0; border-left: 2px solid var(--ink); background: var(--cream); color: var(--ink);
}
.cart::backdrop { background: rgba(34, 25, 15, .45); }
.cart[open] { animation: drawer .32s var(--ease-out); }
@keyframes drawer { from { transform: translateX(100%); } }
.cart-panel { display: flex; flex-direction: column; height: 100%; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 2px solid var(--ink); }
.cart-head h2 { font-size: 28px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.icon-btn:hover { background: rgba(34, 25, 15, .08); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.icon-btn-sm { width: 40px; height: 40px; color: var(--muted); }
.cart-view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-scroll { flex: 1; overflow-y: auto; padding: 0 20px; overscroll-behavior: contain; }
.cart-empty { padding: 44px 0 24px; text-align: center; color: var(--muted); }
.cart-empty-title { font-family: var(--display); font-size: 24px; color: var(--ink); }
.cart-empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.cart-empty-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.line {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 8px 10px;
  padding: 14px 0; border-bottom: 1.5px dashed #CDBFA8;
  animation: line-in .3s var(--ease-out);
}
@keyframes line-in { from { opacity: 0; transform: translateX(12px); } }
.line-name { font-weight: 700; }
.line-detail { font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; }
.stepper button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 18px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: rgba(34, 25, 15, .08); }
.line-qty { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-price { min-width: 64px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 400px) {
  .line { grid-template-columns: auto 1fr auto; }
  .line-text { grid-column: 1 / -1; }
  .line-price { text-align: left; }
}
.checkout {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 2px solid var(--ink);
}
.mode-note { min-height: 2.6em; font-size: 13px; color: var(--muted); }
.totals div { display: flex; justify-content: space-between; padding-block: 2px; font-size: 15px; }
.totals dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.totals .total { margin-top: 4px; padding-top: 8px; border-top: 2px solid var(--ink); font-size: 19px; font-weight: 700; }
.totals .total dd { font-weight: 700; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 4px; }
.checkout-fields label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
.checkout-fields input, .checkout-fields select {
  width: 100%; min-height: 46px; padding: 0 12px;
  border: 1.5px solid #CDBFA8; border-radius: 12px; background: #fff; font-size: 16px; font-weight: 500;
}
.checkout-fine { font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 720px), (max-height: 700px) {
  .cart-view { overflow-y: auto; overscroll-behavior: contain; }
  .cart-scroll { flex: none; overflow: visible; }
}
.ticket-view { flex: 1; overflow-y: auto; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
.ticket {
  background: #fff; border: 2px solid var(--ink); border-radius: 6px; box-shadow: 6px 6px 0 var(--ink);
  padding: 26px 22px; margin-bottom: 22px; font-variant-numeric: tabular-nums;
  animation: print .5s var(--ease-out);
}
.ticket:focus { outline: none; }
@keyframes print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.ticket-brand { font-family: var(--display); font-size: 24px; text-align: center; }
.ticket-no { margin: 4px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.ticket-lines { list-style: none; margin: 0; padding: 14px 0; border-block: 2px dashed #CDBFA8; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ticket-lines li, .ticket-meta div { display: flex; justify-content: space-between; gap: 16px; }
.ticket-lines li span:last-child, .ticket-meta dd { font-weight: 700; }
.ticket-meta { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 2px dashed #CDBFA8; font-size: 15px; }
.ticket-note { margin-top: 16px; text-align: center; font-weight: 600; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pie { animation: none; }
  .steam, .wsteam { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.lost-top { padding-block: 18px; border-bottom: 2px solid var(--ink); }
.lost-main { flex: 1; display: flex; align-items: center; padding-block: clamp(40px, 8vh, 96px); }
.lost .lost-code { display: flex; margin: 0; align-items: center; gap: clamp(4px, 2vw, 16px); font-family: var(--display); font-size: clamp(110px, 22vw, 240px); line-height: .85; color: var(--red); }
.lost-code svg { width: .82em; height: .82em; overflow: visible; filter: drop-shadow(0 10px 14px rgba(34, 25, 15, .2)); }
.lost h1 { margin: 26px 0 16px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 68px); line-height: 1; }
.lost p { max-width: 520px; margin-bottom: 28px; font-size: 18px; color: var(--ink-soft); }
