/* ==========================================================================
   Fiamma — Neapolitan wood-fired pizza
   Palette: charcoal / tomato / flame / mozzarella / basil
   ========================================================================== */
:root {
  --bg: #0f0d0c;
  --bg-2: #161210;
  --bg-3: #1e1815;
  --red: #d6342a;
  --orange: #ff7a1a;
  --cream: #f6eedf;
  --cream-2: rgba(246, 238, 223, 0.74);
  --cream-3: rgba(246, 238, 223, 0.5);
  --basil: #3f7d3a;
  --line: rgba(246, 238, 223, 0.14);
  --f-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --f-serif: 'DM Serif Display', Georgia, serif;
  --f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-canvas: 0;
  --z-atmos: 1;
  --z-content: 2;
  --z-nav: 50;
  --z-menu: 60;
  --z-cursor: 90;
  --z-grain: 95;
  --z-pre: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after {
  /* film grain */
  content: '';
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: italic; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--bg); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
section:focus:not(:focus-visible) { outline: none; }

.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange);
}
.label span {
  display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px;
  border: 1px solid rgba(255, 122, 26, 0.5); border-radius: 999px; letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-2); }
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-top: 18px;
}
.h2 em, .hero__title em, .order__title em {
  font-family: var(--f-serif);
  text-transform: none;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.split-line { padding-bottom: 0.04em; }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--orange); border-radius: 999px;
  background: var(--orange); color: var(--bg);
  font-family: var(--f-sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  background: var(--cream); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { border-color: var(--cream); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246, 238, 223, 0.45); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.88rem; }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 1.02rem; }

/* ---------- preloader ---------- */
.preloader { display: none; }
html.has-motion .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: var(--z-pre);
  background: var(--bg);
  clip-path: inset(0% 0% 0% 0%);
}
.preloader__inner { width: min(420px, 82vw); display: grid; justify-items: center; gap: 18px; }
.preloader__flame { filter: drop-shadow(0 0 24px rgba(255, 122, 26, 0.55)); }
.preloader__word {
  display: flex; overflow: hidden;
  font-family: var(--f-display); font-size: clamp(3.4rem, 12vw, 6rem); line-height: 1; text-transform: uppercase;
}
.preloader__word span { display: inline-block; }
.preloader__meta {
  width: 100%; display: flex; justify-content: space-between;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-2);
  font-variant-numeric: tabular-nums;
}
.preloader__meta b { color: var(--orange); font-weight: 700; }
.preloader__bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--orange)); transform: scaleX(0); transform-origin: left; }

/* ---------- canvas + atmosphere ---------- */
#gl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: var(--z-canvas); display: block;
  background: radial-gradient(60% 50% at 60% 70%, rgba(255, 122, 26, 0.18), transparent 70%), var(--bg);
}
.atmos {
  position: fixed; inset: 0; z-index: var(--z-atmos); pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(15, 13, 12, 0.75) 100%),
    linear-gradient(180deg, rgba(15, 13, 12, 0.55) 0%, transparent 18%);
}
html.no-webgl #gl {
  background: radial-gradient(50% 40% at 70% 60%, rgba(255, 122, 26, 0.32), transparent 70%),
    radial-gradient(30% 30% at 30% 80%, rgba(214, 52, 42, 0.25), transparent 70%), var(--bg);
}

/* ---------- cursor ---------- */
.cursor { display: none; }
html.has-cursor .cursor {
  display: block; position: fixed; left: 0; top: 0; z-index: var(--z-cursor);
  pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity 0.3s;
}
html.has-cursor .cursor.is-visible { opacity: 1; }
.cursor__ring {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); transition: transform 0.45s var(--ease), background-color 0.3s, opacity 0.3s;
}
.cursor.is-hover .cursor__ring { transform: scale(3.2); background: rgba(255, 122, 26, 0.25); }
.cursor.is-label .cursor__ring { transform: scale(7.4); background: var(--orange); }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0.6);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  color: var(--bg); opacity: 0; transition: opacity 0.3s, transform 0.45s var(--ease);
}
.cursor.is-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color 0.5s var(--ease), backdrop-filter 0.5s, padding 0.5s var(--ease);
}
.nav.is-scrolled { background: rgba(15, 13, 12, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.nav__logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--orange);
  font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
}
.nav__logo span { color: var(--cream); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  position: relative; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--cream-2);
  padding: 8px 0; transition: color 0.3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--cream); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__burger {
  display: none; position: relative; width: 48px; height: 48px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(15, 13, 12, 0.5); cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream);
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 27px; }
html.menu-open .nav__burger span:first-child { top: 23px; transform: rotate(45deg); }
html.menu-open .nav__burger span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 96px var(--gutter) 40px;
  background: radial-gradient(80% 60% at 80% 100%, rgba(214, 52, 42, 0.35), transparent 70%), var(--bg);
  visibility: hidden; opacity: 0; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
html.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity 0.5s var(--ease); }
html.menu-open .nav { z-index: calc(var(--z-menu) + 1); background: transparent; backdrop-filter: none; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.08; text-transform: uppercase;
}
.mobile-menu a small { font-family: var(--f-sans); font-size: 0.75rem; color: var(--orange); letter-spacing: 0.1em; }
.mobile-menu__foot { color: var(--cream-2); font-size: 0.9rem; }

/* ---------- story sections (over the canvas) ---------- */
main { position: relative; }
#story { position: relative; z-index: var(--z-content); }

/* hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 110px; padding-bottom: 28px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 13, 12, 0.82) 0%, rgba(15, 13, 12, 0.35) 46%, transparent 70%);
}
.hero__content { display: grid; gap: 26px; }
.hero__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.8rem, 11.5vw, 11.5rem); line-height: 0.88; letter-spacing: -0.01em;
  max-width: 9ch;
}
.hl { display: block; overflow: hidden; padding-bottom: 0.03em; }
.hl__in { display: inline-block; will-change: transform; }
.hero__title em { color: var(--orange); font-size: 1.04em; }
.hero__sub { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--cream-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 54px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2);
}
.live { display: inline-flex; align-items: center; gap: 10px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll svg { animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* dough (pinned) */
.dough { position: relative; padding-block: 120px; }
.dough::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 13, 12, 0.88) 0%, rgba(15, 13, 12, 0.45) 40%, transparent 62%);
}
.dough__panel { max-width: 520px; }
.dough__rail { display: grid; grid-template-columns: 2px 1fr; gap: 28px; margin-top: 40px; }
.dough__progress { position: relative; background: var(--line); border-radius: 2px; }
.dough__progress i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--orange), var(--red)); transform-origin: top; transform: scaleY(0.25); border-radius: 2px; }
.steps { display: grid; gap: 40px; }
.step__num { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.step h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.08; margin: 10px 0 12px; }
.step p { color: var(--cream-2); max-width: 44ch; }
.step__stat { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 18px; color: var(--cream-2); font-size: 0.9rem; }
.step__stat b { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--cream); }
.dough__dots { display: none; }

html.has-motion .dough { height: 100vh; height: 100svh; padding-block: 0; display: flex; align-items: center; }
html.has-motion .dough__inner { width: 100%; }
html.has-motion .steps { display: grid; grid-template-areas: 'stack'; gap: 0; }
html.has-motion .step { grid-area: stack; }
html.has-motion .step:not(:first-child) { opacity: 0; visibility: hidden; }
html.has-motion .dough__dots { display: flex; gap: 8px; margin-top: 34px; }
.dough__dots span { width: 26px; height: 3px; border-radius: 2px; background: var(--line); transition: background-color 0.4s, width 0.4s var(--ease); }
.dough__dots span.is-active { background: var(--orange); width: 44px; }

/* oven */
.oven { position: relative; }
html.has-motion .oven { height: 280vh; }
.oven__sticky {
  position: sticky; top: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; padding-block: 110px 40px;
}
.oven__sticky::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 13, 12, 0) 0%, rgba(15, 13, 12, 0.7) 12%, transparent 36%, transparent 60%, rgba(15, 13, 12, 0.82) 84%, rgba(15, 13, 12, 0.82) 92%, rgba(15, 13, 12, 0) 100%);
}
.oven__head .h2 { max-width: 12ch; }
.oven__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; align-items: end; margin-top: 40px; }
.oven__copy { color: var(--cream-2); max-width: 46ch; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 18px 16px 0 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-2); }
.stat dd { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat dd span { font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1; color: var(--cream); }
.stat:first-child dd span { color: var(--orange); }
.stat dd small { font-size: 0.85rem; font-weight: 700; color: var(--cream-2); }

/* bite */
.bite { position: relative; }
html.has-motion .bite { height: 230vh; }
.bite__sticky {
  position: sticky; top: 0; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding-block: 110px 60px;
}
.bite__sticky::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 13, 12, 0.85) 0%, rgba(15, 13, 12, 0.35) 42%, transparent 62%);
}
.bite__panel { max-width: 520px; display: grid; gap: 22px; justify-items: start; }
.bite__copy { color: var(--cream-2); }
.bite__facts { display: grid; gap: 10px; width: 100%; margin: 6px 0 8px; }
.bite__facts li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--cream-2); font-size: 0.95rem; }
.bite__facts b { color: var(--cream); font-weight: 700; min-width: 9.5ch; }

/* ---------- solid sections (cover the canvas) ---------- */
.marquee, .menu, .origins, .reviews, .visit, .order, .footer { position: relative; z-index: var(--z-content); background: var(--bg); }

.marquee {
  overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #a5231b, var(--red) 40%, #e4501f);
}
.marquee__inner { display: flex; align-items: center; width: max-content; white-space: nowrap; }
.marquee span {
  font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; text-transform: uppercase;
  color: var(--cream); padding-inline: 28px;
}
.marquee em { font-family: var(--f-serif); text-transform: none; color: var(--bg); }
.marquee i { width: 16px; height: 16px; border-radius: 50%; background: var(--bg); flex: none; }

/* menu */
.menu { padding-block: 140px; overflow: hidden; }
.menu__track {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 22px;
}
.menu__intro { grid-column: 1 / -1; display: grid; gap: 22px; max-width: 640px; margin-bottom: 30px; }
.menu__intro > p:not(.label):not(.menu__hint) { color: var(--cream-2); }
.menu__hint { display: none; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.menu__hint span { display: inline-block; animation: slideR 1.8s var(--ease) infinite; }
@keyframes slideR { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

.menu.is-horizontal { padding-block: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.menu.is-horizontal .menu__track {
  display: flex; align-items: stretch; flex-wrap: nowrap; gap: 26px; width: max-content; max-width: none;
  margin: 0; padding-inline: var(--gutter) 12vw; will-change: transform;
}
.menu.is-horizontal .menu__intro { width: min(36vw, 520px); flex: none; margin: 0; align-content: center; }
.menu.is-horizontal .menu__hint { display: block; }
.menu.is-horizontal .pcard { width: clamp(300px, 25vw, 380px); flex: none; }

.pcard {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.pcard:hover { border-color: rgba(255, 122, 26, 0.5); transform: translateY(-6px); }
.pcard--star { border-color: rgba(255, 122, 26, 0.45); }
.pcard__art {
  position: relative; aspect-ratio: 1 / 0.86; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, rgba(255, 122, 26, 0.28), transparent 70%), #24170f;
}
.pcard__art .pz { width: 80%; height: auto; transition: filter 0.6s var(--ease); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.pcard:hover .pz { filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.5)) brightness(1.08); }
.pcard__body { display: grid; gap: 12px; padding: 22px 24px 26px; flex: 1; align-content: start; }
.pcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pcard h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.65rem; line-height: 1.1; }
.price { font-family: var(--f-display); font-size: 1.5rem; color: var(--orange); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard p { color: var(--cream-2); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--cream-2); }
.tags li.hot { border-color: rgba(255, 122, 26, 0.6); color: var(--orange); }

/* section header */
.sec-head { display: grid; gap: 22px; max-width: 760px; margin-bottom: 64px; }
.sec-head > p:not(.label) { color: var(--cream-2); max-width: 56ch; }
.sec-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }

/* origins */
.origins { padding-block: 140px; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.origins__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ocard { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.ocard__art { aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.ocard__art svg { width: 86%; height: auto; transition: transform 1s var(--ease); }
.ocard:hover .ocard__art svg { transform: scale(1.06) rotate(-2deg); }
.ocard--tomato .ocard__art { background: radial-gradient(80% 80% at 50% 60%, #5e1a14, #2a0e0b); }
.ocard--mozz .ocard__art { background: radial-gradient(80% 80% at 50% 60%, #2c4a26, #142211); }
.ocard--flour .ocard__art { background: radial-gradient(80% 80% at 50% 60%, #4a3a26, #231a10); }
.ocard--oil .ocard__art { background: radial-gradient(80% 80% at 50% 60%, #3e3d1c, #1c1b0c); }
.ocard__body { display: grid; gap: 10px; padding: 22px 24px 26px; flex: 1; align-content: start; }
.ocard__place { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.ocard h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.ocard p:not(.ocard__place) { color: var(--cream-2); font-size: 0.95rem; }
.ocard__km { margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: var(--cream-3); font-variant-numeric: tabular-nums; }

/* reviews */
.reviews { padding-block: 140px; }
.reviews__score { display: grid; justify-items: end; text-align: right; gap: 4px; color: var(--cream-2); font-size: 0.85rem; max-width: 22ch; }
.reviews__score b { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 8vw, 7rem); line-height: 0.9; color: var(--orange); }
.quote-hero { padding: clamp(28px, 5vw, 64px) 0; border-block: 1px solid var(--line); margin-bottom: 40px; }
.quote-hero blockquote p { font-family: var(--f-serif); font-size: clamp(1.8rem, 4.2vw, 3.8rem); line-height: 1.12; max-width: 24ch; text-wrap: balance; }
.quote-hero em { color: var(--orange); }
.quote-hero figcaption { margin-top: 22px; color: var(--cream-2); }
.quote-hero b, .rcard b { color: var(--cream); font-weight: 700; }
.reviews__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rcard { display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); }
.rcard blockquote p { font-size: 1.02rem; line-height: 1.55; }
.rcard figcaption { font-size: 0.86rem; color: var(--cream-2); }
.stars { display: flex; gap: 4px; }
.stars i {
  width: 15px; height: 15px; background: var(--orange);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* visit */
.visit { padding-block: 140px; background: var(--bg-2); }
.visit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lcard { display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: 28px; background: var(--bg-3); border: 1px solid var(--line); }
.lcard__map { height: 150px; border-radius: 18px; overflow: hidden; background: #191310; }
.lcard__map svg { width: 100%; height: 100%; }
.lcard h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; text-transform: uppercase; }
.lcard address { color: var(--cream-2); font-size: 1.05rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours th { color: var(--cream-2); font-weight: 600; }
.hours td { text-align: right; }
.lcard__note { color: var(--orange); font-size: 0.9rem; font-weight: 600; }
.lcard__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lcard__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(246, 238, 223, 0.35); transition: color 0.3s, border-color 0.3s; }
.lcard__links a:hover { color: var(--orange); border-color: var(--orange); }

/* order */
.order { padding-block: 170px; overflow: hidden; text-align: center; }
.order__glow {
  position: absolute; left: 50%; bottom: -40%; width: 140vmax; height: 90vmax; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 122, 26, 0.5), rgba(214, 52, 42, 0.28) 45%, transparent 75%);
  filter: blur(10px); pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
.order__inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.order__title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.2rem, 10vw, 10rem); line-height: 0.9; max-width: 12ch; text-wrap: balance;
}
.order__copy { color: var(--cream-2); max-width: 48ch; }
.order__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.order__note { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-2); }
.toast {
  min-height: 1.6em; font-size: 0.95rem; color: var(--cream); opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* footer */
.footer { padding: 90px 0 40px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__word {
  font-family: var(--f-display); text-transform: uppercase; font-size: clamp(5rem, 22vw, 22rem); line-height: 0.8;
  letter-spacing: -0.01em; color: transparent; -webkit-text-stroke: 1px rgba(246, 238, 223, 0.22);
  margin-bottom: 60px; white-space: nowrap;
}
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.footer h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.footer address, .footer p { color: var(--cream-2); }
.footer p + p { margin-top: 10px; }
.footer a { text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--orange); }
.socials { display: grid; gap: 4px; }
.socials a { display: inline-flex; min-height: 32px; align-items: center; color: var(--cream-2); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--cream-3); }
.footer__base a { color: var(--cream-2); border-bottom: 1px solid var(--line); }

/* ---------- motion-hidden initial states (only when JS motion is active) ---------- */
html.has-motion [data-hero],
html.has-motion [data-split],
html.has-motion [data-reveal],
html.has-motion [data-reveal-group] > *,
html.has-motion [data-clip] { visibility: hidden; }
html.has-motion .hero__title { visibility: hidden; }
html.has-motion .nav { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .origins__grid, .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oven__foot { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero { justify-content: flex-end; padding-bottom: 22px; }
  .hero::before { background: linear-gradient(0deg, rgba(15, 13, 12, 0.95) 0%, rgba(15, 13, 12, 0.7) 45%, transparent 75%); }
  .hero__content { gap: 18px; }
  .hero__meta { margin-top: 34px; }
  .hero__scroll { display: none; }
  .dough::before { background: linear-gradient(0deg, rgba(15, 13, 12, 0.96) 0%, rgba(15, 13, 12, 0.8) 50%, transparent 78%); }
  html.has-motion .dough { align-items: flex-end; padding-bottom: 34px; }
  .dough__panel { max-width: none; }
  .dough__rail { margin-top: 22px; gap: 18px; }
  .step h3 { font-size: 1.55rem; margin: 6px 0 8px; }
  .step p { font-size: 0.95rem; }
  .step__stat { margin-top: 10px; }
  .step__stat b { font-size: 2rem; }
  .bite__sticky { align-items: flex-end; }
  .bite__sticky::before { background: linear-gradient(0deg, rgba(15, 13, 12, 0.96) 0%, rgba(15, 13, 12, 0.75) 55%, transparent 80%); }
  .bite__facts { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 6px; }
  .sec-head--row { grid-template-columns: 1fr; }
  .reviews__score { justify-items: start; text-align: left; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu, .origins, .reviews, .visit { padding-block: 100px; }
  .order { padding-block: 120px; }
}
@media (max-width: 560px) {
  .origins__grid, .reviews__grid, .footer__grid { grid-template-columns: 1fr; }
  .oven__copy { font-size: 0.95rem; }
  .oven__sticky { padding-top: 92px; }
  .h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .btn--lg { min-height: 56px; padding: 0 26px; }
  .hero__cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
