:root {
  color-scheme: dark;
  --ink: #fff8ea;
  --paper: #f8efe0;
  --coal: #11100e;
  --black-glass: rgba(11, 10, 9, 0.72);
  --rail: rgba(24, 22, 20, 0.88);
  --line: rgba(255, 248, 234, 0.18);
  --line-strong: rgba(255, 248, 234, 0.34);
  --muted: #d6c7ac;
  --tomato: #d33d2f;
  --tomato-dark: #9f2118;
  --basil: #55a868;
  --brass: #d8a540;
  --brass-dark: #8d5f1c;
  --cream: #fff4d7;
  --steel: #9db1b4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --nav-h: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(211, 61, 47, 0.18), transparent 30rem),
    linear-gradient(140deg, #171310 0%, #11100e 42%, #1b1510 100%);
  color: var(--ink);
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .pizza-peek {
  opacity: 0;
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--cream);
  color: var(--coal);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  min-height: var(--nav-h);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 13, 12, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition: min-height 220ms ease, padding 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.site-nav.is-folded {
  min-height: 48px;
  padding-block: 6px;
  border-color: rgba(216, 165, 64, 0.45);
}

.site-nav.is-folded .brand-copy small,
.site-nav.is-folded .nav-links {
  opacity: 0;
  max-width: 0;
  pointer-events: none;
}

.site-nav:hover,
.site-nav:focus-within,
.site-nav.is-active {
  min-height: var(--nav-h);
  padding-block: 10px;
}

.site-nav:hover .brand-copy small,
.site-nav:focus-within .brand-copy small,
.site-nav.is-active .brand-copy small,
.site-nav:hover .nav-links,
.site-nav:focus-within .nav-links,
.site-nav.is-active .nav-links {
  opacity: 1;
  max-width: 520px;
  pointer-events: auto;
}

.brand-mark {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-sigil {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #170f08;
  background:
    radial-gradient(circle at 35% 30%, #fff3be 0 12%, transparent 13%),
    linear-gradient(145deg, #ffcf6a, var(--brass) 55%, var(--brass-dark));
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 -3px 8px rgba(87, 49, 8, 0.5), 0 0 0 4px rgba(216, 165, 64, 0.14);
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  white-space: nowrap;
  font-size: 0.98rem;
}

.brand-copy small {
  color: var(--muted);
  transition: opacity 180ms ease, max-width 180ms ease;
  white-space: nowrap;
  overflow: hidden;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  transition: opacity 180ms ease, max-width 180ms ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.nav-cart {
  min-width: 154px;
  min-height: 44px;
  border: 1px solid rgba(216, 165, 64, 0.46);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(65, 45, 19, 0.92), rgba(29, 23, 18, 0.92));
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.86rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.cart-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--basil);
  box-shadow: 0 0 16px rgba(85, 168, 104, 0.9);
}

.hero-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 118px 0 56px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-engine-room.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, 0.88) 0%, rgba(12, 10, 9, 0.58) 42%, rgba(9, 8, 7, 0.74) 100%),
    linear-gradient(0deg, #11100e 0%, rgba(17, 16, 14, 0.16) 30%, rgba(17, 16, 14, 0.22) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
  gap: 26px;
  align-items: center;
}

.hero-copy {
  align-self: start;
  padding-top: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brass);
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  max-width: 9ch;
  font-size: clamp(3.4rem, 11vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.hero-lede {
  max-width: 56ch;
  color: #f4e6c7;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions,
.delivery-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.icon-button:focus-visible,
.tab:focus-visible,
.lever:focus-visible,
.switch-button:focus-visible,
.topping-button:focus-visible,
.signature-card:focus-visible {
  outline: 3px solid rgba(255, 244, 215, 0.6);
  outline-offset: 3px;
}

.button.primary {
  background: linear-gradient(180deg, #ef5849, var(--tomato-dark));
  border-color: rgba(255, 185, 140, 0.45);
  box-shadow: 0 12px 36px rgba(159, 33, 24, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button.location {
  background: linear-gradient(180deg, #6abb78, #2e7141);
  border-color: rgba(179, 255, 194, 0.36);
  color: #07120a;
  box-shadow: 0 12px 34px rgba(46, 113, 65, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button.secondary {
  background: rgba(255, 248, 234, 0.08);
  border-color: var(--line);
}

.button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none;
}

.engine-console,
.cart-panel,
.checkout-panel,
.modal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    rgba(17, 15, 13, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.engine-console {
  min-width: 0;
  padding: 18px;
}

.console-header,
.console-footer,
.section-heading,
.hours-layout,
.delivery-layout {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.console-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-bottom: 0;
}

.status-pill,
.delivery-chip {
  border: 1px solid rgba(216, 165, 64, 0.38);
  border-radius: 999px;
  background: rgba(216, 165, 64, 0.12);
  color: var(--cream);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.is-open {
  border-color: rgba(85, 168, 104, 0.58);
  background: rgba(85, 168, 104, 0.14);
}

.console-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 16px;
}

.pizza-stage {
  display: grid;
  gap: 14px;
  align-content: start;
}

.pizza-preview {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: center;
  --cheese-opacity: 0.74;
  --cheese-scale: 1;
  --pizza-heat: rgba(211, 61, 47, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 247, 206, 0.9) 0 10%, transparent 11%),
    radial-gradient(circle at 28% 38%, rgba(255, 247, 206, 0.82) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 38%, rgba(255, 247, 206, 0.78) 0 7%, transparent 8%),
    radial-gradient(circle at 64% 69%, rgba(255, 247, 206, 0.84) 0 8%, transparent 9%),
    radial-gradient(circle, #f3c263 0%, #ce782e 68%, #8d411d 100%);
  box-shadow:
    inset 0 -14px 35px rgba(65, 27, 6, 0.48),
    0 28px 70px rgba(0, 0, 0, 0.42),
    0 0 34px var(--pizza-heat);
  overflow: visible;
  transform: translateZ(0);
}

.pizza-preview.sheet {
  border-radius: 12%;
  aspect-ratio: 1.38;
  width: min(100%, 390px);
}

.crust-ring,
.sauce-surface,
.cheese-web,
.oven-aura,
.steam,
.cheese-pull,
.topping-stage,
.topping-piece,
.pizza-sheen,
.flavor-burst,
.pizza-preview::before,
.pizza-preview::after {
  position: absolute;
  pointer-events: none;
}

.oven-aura {
  inset: -10%;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(239, 164, 42, 0.22), transparent 62%),
    radial-gradient(circle at 50% 80%, rgba(211, 61, 47, 0.18), transparent 56%);
  filter: blur(10px);
  animation: ovenGlow 2.8s ease-in-out infinite;
}

.crust-ring {
  inset: 3%;
  border-radius: inherit;
  border: 18px solid rgba(183, 94, 28, 0.84);
  box-shadow: inset 0 0 0 4px rgba(255, 213, 122, 0.32);
  z-index: 3;
}

.sauce-surface {
  inset: 12%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 240, 165, 0.9) 0 2.8%, transparent 3%),
    radial-gradient(circle at 80% 58%, rgba(255, 240, 165, 0.88) 0 2.6%, transparent 3%),
    radial-gradient(circle, rgba(211, 61, 47, 0.86), rgba(130, 26, 20, 0.95));
  z-index: 1;
  animation: sauceBubble 4.2s ease-in-out infinite;
}

.pizza-preview.pesto .sauce-surface {
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 240, 165, 0.9) 0 2.8%, transparent 3%),
    radial-gradient(circle at 80% 58%, rgba(255, 240, 165, 0.88) 0 2.6%, transparent 3%),
    radial-gradient(circle, rgba(81, 143, 83, 0.9), rgba(37, 83, 49, 0.96));
}

.pizza-preview.bianco .sauce-surface {
  background:
    radial-gradient(circle at 16% 26%, rgba(210, 55, 45, 0.9) 0 2.8%, transparent 3%),
    radial-gradient(circle at 80% 58%, rgba(210, 55, 45, 0.88) 0 2.6%, transparent 3%),
    radial-gradient(circle, rgba(244, 227, 185, 0.9), rgba(191, 160, 101, 0.92));
}

.cheese-web {
  inset: 18%;
  border-radius: inherit;
  opacity: var(--cheese-opacity);
  transform: scale(var(--cheese-scale));
  z-index: 4;
  transition: opacity 180ms ease, transform 180ms ease;
}

.cheese-a {
  background: repeating-linear-gradient(35deg, transparent 0 19px, rgba(255, 246, 198, 0.9) 20px 25px);
  animation: cheeseMeltA 3.4s ease-in-out infinite;
}

.cheese-b {
  background: repeating-linear-gradient(126deg, transparent 0 24px, rgba(255, 246, 198, 0.64) 25px 29px);
  animation: cheeseMeltB 4s ease-in-out infinite;
}

.cheese-pull {
  z-index: 5;
  width: 9%;
  height: 30%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 246, 198, 0.95), rgba(255, 246, 198, 0.08));
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(255, 246, 198, 0.62));
  transform-origin: 50% 0%;
}

.pull-one {
  top: 48%;
  left: 30%;
  --pull-rotate: 24deg;
  transform: rotate(24deg) scaleY(0.4);
}

.pull-two {
  top: 38%;
  right: 26%;
  --pull-rotate: -30deg;
  transform: rotate(-30deg) scaleY(0.34);
}

.pizza-preview::before {
  content: "";
  inset: 15%;
  border-radius: inherit;
  background: var(--topping-layer, transparent);
  z-index: 6;
  opacity: 0.22;
  transition: filter 200ms ease, opacity 200ms ease;
}

.topping-stage {
  inset: 13%;
  z-index: 7;
  border-radius: inherit;
  overflow: hidden;
}

.topping-piece {
  left: var(--x);
  top: var(--y);
  width: var(--piece-size);
  height: var(--piece-size);
  opacity: 0.98;
  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  transform-origin: center;
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.28));
}

.topping-pepperoni {
  border-radius: 50%;
  border: 2px solid rgba(255, 183, 118, 0.32);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 213, 122, 0.55) 0 10%, transparent 11%),
    radial-gradient(circle at 64% 62%, rgba(94, 16, 12, 0.4) 0 13%, transparent 14%),
    radial-gradient(circle, #b72b20 0 58%, #7f1712 100%);
}

.topping-sausage {
  border-radius: 48% 56% 42% 60%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 213, 122, 0.35), transparent 24%),
    linear-gradient(145deg, #8a5632, #52301f);
}

.topping-mushroom {
  height: var(--piece-short);
  border-radius: 56% 56% 42% 42%;
  background: linear-gradient(180deg, #e8d4ad 0 55%, #b99164 56% 100%);
}

.topping-mushroom::after {
  content: "";
  position: absolute;
  left: 39%;
  top: 48%;
  width: 24%;
  height: 58%;
  border-radius: 999px;
  background: #f0dec1;
}

.topping-onion {
  border-radius: 50%;
  border: 3px solid rgba(184, 72, 148, 0.78);
  border-left-color: rgba(255, 210, 238, 0.72);
  background: transparent;
}

.topping-pepper {
  border-radius: 45% 55% 52% 48%;
  border: 4px solid #4dad61;
  background: transparent;
}

.topping-olive {
  border-radius: 50%;
  border: 5px solid #161412;
  background: rgba(255, 244, 215, 0.08);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.07);
}

.topping-jalapeno {
  border-radius: 50%;
  border: 4px solid #2f9843;
  background:
    radial-gradient(circle at 44% 38%, rgba(255, 245, 177, 0.9) 0 7%, transparent 8%),
    radial-gradient(circle at 64% 60%, rgba(255, 245, 177, 0.84) 0 6%, transparent 7%),
    #1e692f;
}

.topping-basil {
  border-radius: 90% 0 90% 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #68bd71, #2e7138);
}

.topping-basil::after {
  content: "";
  position: absolute;
  left: 48%;
  top: 10%;
  width: 2px;
  height: 78%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-14deg);
}

.topping-mozz {
  width: var(--piece-long);
  height: var(--piece-thin);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 250, 216, 0.92), rgba(255, 250, 216, 0.28));
  filter: drop-shadow(0 0 7px rgba(255, 250, 216, 0.58));
}

.topping-honey {
  width: var(--piece-extra-long);
  height: var(--piece-hairline);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 190, 54, 0.15), #eda42a 36%, rgba(255, 224, 123, 0.92), rgba(255, 190, 54, 0.18));
  box-shadow: 0 0 10px rgba(239, 164, 42, 0.42);
}

.pizza-preview::after {
  content: "";
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.22), transparent 16%);
  mix-blend-mode: screen;
  z-index: 8;
}

.pizza-sheen {
  inset: 9%;
  z-index: 8;
  border-radius: inherit;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.22), transparent 9%),
    linear-gradient(112deg, transparent 0 34%, rgba(255, 244, 215, 0.16) 43%, transparent 52%);
  mix-blend-mode: screen;
  opacity: 0.7;
  animation: sheenSweep 3.8s ease-in-out infinite;
}

.steam {
  z-index: 10;
  bottom: 62%;
  width: 9%;
  height: 26%;
  border-radius: 50%;
  border-left: 3px solid rgba(255, 244, 215, 0.34);
  filter: blur(0.3px);
  opacity: 0;
  animation: steamRise 3.2s ease-in-out infinite;
}

.steam-one {
  left: 28%;
}

.steam-two {
  left: 48%;
  animation-delay: 0.7s;
}

.steam-three {
  left: 66%;
  animation-delay: 1.35s;
}

.flavor-burst {
  z-index: 12;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burst-color, var(--brass));
  box-shadow: 0 0 16px var(--burst-color, var(--brass));
  transform: translate(-50%, -50%);
  animation: flavorBurst 780ms ease-out forwards;
  animation-delay: var(--burst-delay, 0ms);
}

.pizza-preview.animate-size {
  animation: doughThump 620ms cubic-bezier(0.18, 0.88, 0.26, 1.2);
}

.pizza-preview.animate-crust .crust-ring {
  animation: crustToast 720ms ease-out;
}

.pizza-preview.animate-sauce .sauce-surface {
  animation: sauceSwitch 720ms ease-out, sauceBubble 4.2s ease-in-out infinite 720ms;
}

.pizza-preview.animate-cheese .cheese-web {
  animation: cheeseSnap 780ms ease-out;
}

.pizza-preview.animate-cheese .cheese-pull {
  animation: cheeseStretch 900ms ease-out;
}

.pizza-preview.animate-topping::before {
  animation: toppingDrop 700ms cubic-bezier(0.16, 0.9, 0.32, 1.18);
}

.pizza-preview.animate-topping-pepperoni .topping-pepperoni {
  animation: pepperoniStamp 760ms cubic-bezier(0.16, 0.9, 0.32, 1.28);
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-sausage .topping-sausage {
  animation: sausageCrumble 820ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-mushroom .topping-mushroom {
  animation: mushroomFlip 850ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-onion .topping-onion {
  animation: onionRibbon 900ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-pepper .topping-pepper {
  animation: pepperRing 780ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-olive .topping-olive {
  animation: olivePop 760ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-jalapeno .topping-jalapeno {
  animation: jalapenoKick 760ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-basil .topping-basil {
  animation: basilFlutter 980ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-mozz .topping-mozz {
  animation: mozzStretch 900ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-topping-honey .topping-honey {
  animation: honeyDrizzle 980ms ease-out;
  animation-delay: var(--piece-delay);
  animation-fill-mode: backwards;
}

.pizza-preview.animate-cart {
  animation: ovenLaunch 760ms ease-out;
}

@keyframes ovenGlow {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes sauceBubble {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.18) brightness(1.08);
  }
}

@keyframes cheeseMeltA {
  0%,
  100% {
    transform: scale(var(--cheese-scale)) translateY(0);
  }
  50% {
    transform: scale(calc(var(--cheese-scale) + 0.02)) translateY(2px);
  }
}

@keyframes cheeseMeltB {
  0%,
  100% {
    transform: scale(var(--cheese-scale)) translateX(0);
  }
  50% {
    transform: scale(calc(var(--cheese-scale) + 0.015)) translateX(2px);
  }
}

@keyframes sheenSweep {
  0%,
  100% {
    opacity: 0.44;
    transform: translateX(-4%);
  }
  50% {
    opacity: 0.85;
    transform: translateX(5%);
  }
}

@keyframes steamRise {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.74) rotate(-8deg);
  }
  28% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-48px) scale(1.16) rotate(12deg);
  }
}

@keyframes flavorBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(1.1);
  }
}

@keyframes doughThump {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.075) rotate(-1.5deg);
  }
  68% {
    transform: scale(0.985) rotate(1deg);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes crustToast {
  0% {
    filter: brightness(1);
  }
  42% {
    filter: brightness(1.32) saturate(1.25);
    box-shadow: inset 0 0 0 4px rgba(255, 213, 122, 0.32), 0 0 26px rgba(216, 165, 64, 0.56);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes sauceSwitch {
  0% {
    transform: rotate(-8deg) scale(0.84);
    opacity: 0.5;
  }
  60% {
    transform: rotate(5deg) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: rotate(0) scale(1);
  }
}

@keyframes cheeseSnap {
  0% {
    opacity: 0.35;
    transform: scale(0.88);
  }
  55% {
    opacity: 1;
    transform: scale(calc(var(--cheese-scale) + 0.08));
  }
  100% {
    opacity: var(--cheese-opacity);
    transform: scale(var(--cheese-scale));
  }
}

@keyframes cheeseStretch {
  0% {
    opacity: 0;
    transform: rotate(var(--pull-rotate, 24deg)) scaleY(0.2);
  }
  40% {
    opacity: 0.88;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--pull-rotate, 24deg)) scaleY(1.35) translateY(34px);
  }
}

@keyframes toppingDrop {
  0% {
    opacity: 0;
    filter: blur(3px) saturate(1.4);
    transform: translateY(-18px) scale(1.08);
  }
  70% {
    opacity: 1;
    filter: blur(0) saturate(1.28);
    transform: translateY(4px) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes pepperoniStamp {
  0% {
    opacity: 0;
    transform: translate(-50%, -130%) rotate(calc(var(--r) - 36deg)) scale(1.5);
  }
  56% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(calc(var(--r) + 8deg)) scale(0.88);
  }
  78% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(1.08);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes sausageCrumble {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + 28px), calc(-50% - 80px)) rotate(calc(var(--r) + 120deg)) scale(0.55);
  }
  62% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(calc(var(--r) - 16deg)) scale(1.14);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes mushroomFlip {
  0% {
    opacity: 0;
    transform: translate(-50%, -92%) rotateX(82deg) rotate(var(--r)) scale(0.7);
  }
  52% {
    opacity: 1;
    transform: translate(-50%, -50%) rotateX(0deg) rotate(calc(var(--r) + 18deg)) scale(1.12);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(0deg) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes onionRibbon {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(var(--r) - 160deg)) scale(0.3);
  }
  58% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(calc(var(--r) + 24deg)) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes pepperRing {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(calc(var(--r) + 80deg)) scale(0.2);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(calc(var(--r) - 14deg)) scale(1.28);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes olivePop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--r)) scale(0);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, -58%) rotate(var(--r)) scale(1.36);
  }
  70% {
    transform: translate(-50%, -47%) rotate(var(--r)) scale(0.88);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes jalapenoKick {
  0% {
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(85, 168, 104, 0.8));
    transform: translate(calc(-50% - 42px), calc(-50% - 38px)) rotate(calc(var(--r) - 80deg)) scale(0.55);
  }
  50% {
    opacity: 1;
    transform: translate(calc(-50% + 5px), calc(-50% - 4px)) rotate(calc(var(--r) + 16deg)) scale(1.18);
  }
  100% {
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.28));
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes basilFlutter {
  0% {
    opacity: 0;
    transform: translate(calc(-50% - 24px), calc(-50% - 78px)) rotate(calc(var(--r) - 80deg)) scale(0.55);
  }
  34% {
    opacity: 1;
    transform: translate(calc(-50% + 14px), calc(-50% - 28px)) rotate(calc(var(--r) + 36deg)) scale(1.08);
  }
  68% {
    transform: translate(calc(-50% - 8px), calc(-50% + 5px)) rotate(calc(var(--r) - 16deg)) scale(1.02);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes mozzStretch {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--r)) scaleX(0.15) scaleY(1.5);
  }
  48% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--r)) scaleX(1.32) scaleY(0.86);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes honeyDrizzle {
  0% {
    opacity: 0;
    transform: translate(calc(-50% - 52px), calc(-50% - 30px)) rotate(var(--r)) scaleX(0.06);
  }
  42% {
    opacity: 1;
    transform: translate(calc(-50% - 8px), calc(-50% - 6px)) rotate(var(--r)) scaleX(1.18);
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  }
}

@keyframes ovenLaunch {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  42% {
    transform: scale(1.06);
    filter: brightness(1.18) saturate(1.2);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.gauge-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
}

meter {
  width: 100%;
  height: 10px;
}

meter::-webkit-meter-bar {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 999px;
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--basil), var(--brass), var(--tomato));
}

.control-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.control-field {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  margin: 0;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.05), transparent),
    rgba(0, 0, 0, 0.18);
}

.control-field legend {
  padding: 0 6px;
  color: var(--cream);
  font-weight: 900;
  font-size: 0.88rem;
}

.lever-bank {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lever {
  position: relative;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(157, 177, 180, 0.13), rgba(0, 0, 0, 0.16));
  color: var(--ink);
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 4px;
  padding: 10px 8px;
  overflow: hidden;
}

.lever.is-selected {
  border-color: rgba(216, 165, 64, 0.7);
  background: linear-gradient(180deg, rgba(216, 165, 64, 0.16), rgba(211, 61, 47, 0.12));
}

.lever-arm {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 12px;
  height: 58px;
  transform-origin: 50% 90%;
  transform: translateX(-50%) rotate(-18deg);
  border-radius: 999px;
  background: linear-gradient(90deg, #6f4a19, #f2c260, #815615);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.42);
}

.lever-arm::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff5c8 0 14%, #d33d2f 15% 55%, #711510 100%);
}

.lever.is-selected .lever-arm {
  transform: translateX(-50%) rotate(18deg);
}

.lever span:not(.lever-arm) {
  font-size: 0.82rem;
  color: var(--muted);
}

.lever strong {
  color: var(--cream);
}

.dial-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.dial-control {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--cream);
  font-weight: 900;
  min-width: 116px;
}

.dial-face {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 10%),
    radial-gradient(circle, #2a2722 0 32%, #d8a540 33% 38%, #15120f 39% 100%);
  border: 1px solid rgba(216, 165, 64, 0.52);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.48);
}

.dial-face::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 248, 234, 0.2);
}

.dial-needle {
  width: 5px;
  height: 34px;
  transform: translateY(-10px) rotate(var(--dial-rotation, -45deg));
  transform-origin: 50% 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff1b8, var(--tomato));
  box-shadow: 0 0 12px rgba(211, 61, 47, 0.65);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--brass);
}

.switch-grid,
.topping-grid,
.signature-grid {
  display: grid;
  gap: 10px;
}

.switch-grid {
  grid-template-columns: repeat(2, 1fr);
}

.switch-button,
.topping-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  text-align: left;
}

.switch-button::after,
.topping-button::after {
  content: "";
  width: 34px;
  height: 18px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.switch-button.is-selected,
.topping-button.is-selected {
  border-color: rgba(85, 168, 104, 0.72);
  background: rgba(85, 168, 104, 0.14);
}

.switch-button.is-selected::after,
.topping-button.is-selected::after {
  background:
    radial-gradient(circle at 74% 50%, #fff8ea 0 24%, transparent 26%),
    linear-gradient(90deg, #2e7141, #55a868);
}

.pressure-control {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--cream);
  font-weight: 900;
}

.topping-deck {
  margin-top: 16px;
}

.topping-deck .section-heading {
  margin-bottom: 10px;
}

.topping-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.topping-button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
}

.topping-button small {
  color: var(--muted);
}

.console-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.muted {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.section-band {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 76px 0;
}

.signatures .section-heading {
  margin-bottom: 18px;
}

.signature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-lede {
  max-width: 66ch;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.signature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(211, 61, 47, 0.18), rgba(85, 168, 104, 0.08)),
    rgba(255, 255, 255, 0.05);
  color: var(--ink);
  padding: 18px;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.signature-card h3 {
  font-size: 1.55rem;
}

.signature-card p {
  color: var(--muted);
  line-height: 1.5;
}

.signature-card strong {
  color: var(--cream);
}

.famiglia-band {
  padding-top: 14px;
}

.famiglia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.famiglia-card {
  position: relative;
  min-height: 248px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(216, 165, 64, 0.14), rgba(211, 61, 47, 0.08) 52%, rgba(85, 168, 104, 0.08)),
    rgba(255, 255, 255, 0.05);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.famiglia-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(216, 165, 64, 0.28);
  background: radial-gradient(circle, rgba(216, 165, 64, 0.13), transparent 68%);
}

.name-medallion {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #170f08;
  background: linear-gradient(145deg, #fff3be, var(--brass) 62%, var(--brass-dark));
  font-weight: 900;
  box-shadow: inset 0 -3px 8px rgba(87, 49, 8, 0.5), 0 0 0 4px rgba(216, 165, 64, 0.12);
}

.italian-name {
  margin: 2px 0 0;
  color: var(--brass);
  font-weight: 900;
  line-height: 1.25;
}

.famiglia-card h3 {
  font-size: 1.35rem;
}

.famiglia-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.delivery-band {
  width: 100%;
  max-width: none;
  padding-inline: max(14px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(85, 168, 104, 0.16), rgba(216, 165, 64, 0.14)),
    rgba(255, 255, 255, 0.04);
  border-block: 1px solid var(--line);
}

.delivery-layout p,
.hours-layout p {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.cart-panel,
.checkout-panel {
  padding: 18px;
}

.cart-lines {
  display: grid;
  gap: 10px;
}

.empty-cart {
  color: var(--muted);
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.cart-line h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cart-line p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.remove-line {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.checkout-panel {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
}

.checkout-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checkout-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.checkout-panel dt {
  color: var(--muted);
}

.checkout-panel dd {
  margin: 0;
  font-weight: 900;
}

.total-row {
  font-size: 1.28rem;
  color: var(--cream);
}

.checkout-button {
  width: 100%;
}

.hours-band {
  padding-bottom: 42px;
}

.operations-band {
  padding-top: 18px;
  padding-bottom: 96px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.legal-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.modal {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(4, 4, 4, 0.68);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  padding: 22px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.modal-header {
  padding-right: 44px;
}

.modal-header h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 900;
}

.tab.is-active {
  border-color: rgba(216, 165, 64, 0.66);
  background: rgba(216, 165, 64, 0.16);
}

.location-panel {
  display: none;
  color: var(--muted);
  line-height: 1.55;
}

.location-panel.is-active {
  display: grid;
  gap: 12px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}

.address-grid label:nth-child(3),
.address-grid label:nth-child(4),
.address-grid label:last-child {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  padding: 0 12px;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  outline: 3px solid rgba(216, 165, 64, 0.34);
  border-color: rgba(216, 165, 64, 0.7);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-error {
  min-height: 22px;
  margin: 0 0 12px;
  color: #ffb6a9;
  font-weight: 800;
}

.checkout-preview {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.checkout-preview-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.stripe-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(85, 168, 104, 0.34);
  border-radius: var(--radius);
  background: rgba(85, 168, 104, 0.12);
  padding: 14px;
  margin-bottom: 16px;
}

.stripe-box p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.success-ticket {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.success-ticket p {
  margin: 0;
  line-height: 1.5;
}

.stripe-lock {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(transparent 0 36%, #07120a 37% 61%, transparent 62%),
    radial-gradient(circle, #a6f0b3 0 58%, #2e7141 60%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 80;
  max-width: min(520px, calc(100% - 28px));
  transform: translate(-50%, 150%);
  border: 1px solid rgba(216, 165, 64, 0.42);
  border-radius: var(--radius);
  background: rgba(16, 14, 12, 0.92);
  color: var(--cream);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

.pizza-peek {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 48;
  width: 188px;
  min-height: 94px;
  border: 1px solid rgba(216, 165, 64, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%),
    rgba(14, 13, 12, 0.88);
  color: var(--ink);
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.pizza-peek.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.pizza-peek:hover,
.pizza-peek:focus-visible {
  border-color: rgba(216, 165, 64, 0.82);
  transform: translateY(-2px) scale(1.02);
}

.pizza-peek-preview.pizza-preview {
  width: 74px;
  min-width: 74px;
  aspect-ratio: 1;
  justify-self: center;
  overflow: visible;
  box-shadow:
    inset 0 -7px 15px rgba(65, 27, 6, 0.44),
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 18px var(--pizza-heat);
}

.pizza-peek-preview.pizza-preview.sheet {
  width: 82px;
  min-width: 82px;
}

.pizza-peek-preview .crust-ring {
  border-width: 7px;
}

.pizza-peek-preview .steam {
  border-left-width: 2px;
}

.pizza-peek-preview .topping-stage {
  inset: 14%;
}

.pizza-peek-preview .topping-piece {
  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  animation: none !important;
}

.pizza-peek-preview .cheese-pull {
  display: none;
}

.pizza-peek-copy {
  display: grid;
  justify-items: start;
  gap: 3px;
  text-align: left;
  min-width: 0;
}

.pizza-peek-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pizza-peek-copy strong {
  color: var(--cream);
  font-size: 1.08rem;
  line-height: 1;
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
  }

  .site-nav.is-folded .nav-links {
    display: none;
  }

  .hero-content,
  .console-grid,
  .cart-layout,
  .delivery-layout,
  .hours-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  h1 {
    max-width: 8ch;
  }

  .checkout-panel {
    position: static;
  }

  .signature-grid {
    grid-template-columns: 1fr;
  }

  .famiglia-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 68px;
  }

  .site-nav {
    top: 8px;
    width: calc(100% - 16px);
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 0.88rem;
  }

  .brand-copy small {
    font-size: 0.72rem;
  }

  .brand-sigil {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 0.82rem;
  }

  .nav-cart {
    min-width: 112px;
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2px;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    overflow-x: clip;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    min-width: 0;
    padding: 8px 4px;
    overflow: hidden;
    text-align: center;
    font-size: 0.76rem;
  }

  .site-nav:not(.is-folded) .nav-cart {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-nav.is-folded .nav-cart {
    grid-column: auto;
    width: auto;
  }

  .nav-cart span:nth-child(2) {
    display: none;
  }

  .hero-shell {
    padding-top: 196px;
  }

  .hero-content,
  .section-band {
    width: min(100% - 20px, 1180px);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .engine-console {
    padding: 12px;
  }

  .console-header,
  .console-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-pill,
  .delivery-chip {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .lever-bank,
  .switch-grid,
  .topping-grid {
    grid-template-columns: 1fr;
  }

  .lever {
    min-height: 88px;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .lever-arm {
    position: static;
    grid-row: 1 / span 2;
    transform: rotate(-42deg);
    height: 48px;
    margin-left: 20px;
  }

  .lever span:not(.lever-arm) {
    grid-column: 2;
  }

  .lever strong {
    grid-column: 3;
    justify-self: end;
  }

  .lever.is-selected .lever-arm {
    transform: rotate(42deg);
  }

  .dial-row,
  .pressure-control,
  .gauge-panel,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .delivery-actions,
  .hero-actions,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .pizza-peek {
    right: 10px;
    bottom: 10px;
    width: 116px;
    min-height: 54px;
    grid-template-columns: 46px 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
  }

  .pizza-peek-preview.pizza-preview {
    width: 44px;
    min-width: 44px;
  }

  .pizza-peek-preview.pizza-preview.sheet {
    width: 50px;
    min-width: 50px;
  }

  .pizza-peek-preview .crust-ring {
    border-width: 5px;
  }

  .pizza-peek-preview .steam,
  .pizza-peek-preview .oven-aura {
    display: none;
  }

.pizza-peek-preview .topping-piece {
  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--piece-scale, 1));
  animation: none !important;
}

  .pizza-peek-copy small {
    display: none;
  }

  .pizza-peek-copy strong {
    font-size: 0.86rem;
  }
}

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