/* =====================================================================
   Crave Pizza — styles
   Brand tokens from Crave Brand Handoff/brand-tokens.css, extended with
   the layout, motion and component rules for the public website.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --crave-red: #C81B22;
  --crave-red-deep: #A3151B;
  --ink: #141414;
  --ink-2: #1E1D1B;
  --ink-3: #2A2825;
  --white: #FFFFFF;
  --mist: #F2F1EE;
  --mist-deep: #E4E2DC;
  --paper: #F7F4EF;          /* matches the photo backgrounds */
  --muted: #63615C;
  --muted-on-dark: #B9B5AD;
  --line: rgba(20, 20, 20, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --font-brand: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --space-24: 96px; --space-32: 128px;

  --radius-card: 12px;
  --radius-control: 8px;
  --radius-pill: 999px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur: 600ms;
  --dur-slow: 1100ms;

  --shadow-card: 0 1px 2px rgba(20,20,20,0.04), 0 12px 32px -12px rgba(20,20,20,0.18);
  --shadow-card-hover: 0 2px 4px rgba(20,20,20,0.05), 0 28px 60px -20px rgba(20,20,20,0.28);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--crave-red);
  --focus-on-dark: 0 0 0 3px var(--ink), 0 0 0 6px var(--white);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.0625rem;              /* 17px */
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: var(--radius-control); }
.on-dark :focus-visible, .on-dark:focus-visible { box-shadow: var(--focus-on-dark); }
::selection { background: var(--crave-red); color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-control);
  transform: translateY(-160%); transition: transform var(--dur-fast) var(--ease-out);
  font-weight: 600;
}
.skip-link:focus { transform: none; box-shadow: var(--focus); }

/* ---------- Typography ---------- */
.display {
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3.25rem, 9.5vw, 8.5rem); }
.display-lg { font-size: clamp(2.75rem, 7.2vw, 6.25rem); }
.display-md { font-size: clamp(2.25rem, 5vw, 4.25rem); }
.display-sm { font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -0.025em; line-height: 1; }
.accent { color: var(--crave-red); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 0; height: 0; flex: none;
  border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 10px solid var(--crave-red);            /* the red triangle from the mark */
}
.on-dark .eyebrow { color: var(--muted-on-dark); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; font-weight: 400; color: var(--ink); max-width: 36ch; text-wrap: pretty; }
.on-dark .lede { color: rgba(255,255,255,0.86); }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-on-dark); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(var(--space-16), 10vw, var(--space-32)); position: relative; }
.section-head { display: grid; gap: var(--space-4); margin-bottom: clamp(var(--space-8), 5vw, var(--space-16)); }
.section-head .lede { max-width: 48ch; }
@media (min-width: 900px) {
  .section-head.two-col { grid-template-columns: 1.2fr 1fr; align-items: end; gap: var(--space-12); }
  .section-head.two-col .lede { justify-self: end; }
}
.on-dark { background: var(--ink); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; white-space: nowrap;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { border-radius: var(--radius-pill); }
.btn-primary { background: var(--crave-red); color: var(--white); box-shadow: 0 10px 30px -12px rgba(200,27,34,0.6); }
.btn-primary:hover { background: var(--crave-red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn .tag {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--radius-pill);
  background: rgba(200,27,34,0.12); color: var(--crave-red);
}
.btn-primary .tag { background: rgba(255,255,255,0.22); color: var(--white); }
.on-dark .btn-ghost .tag { background: rgba(255,255,255,0.14); color: var(--white); }
.btn-ghost:hover .tag { background: rgba(255,255,255,0.2); color: var(--white); }
.on-dark .btn-ghost:hover .tag { background: rgba(20,20,20,0.1); color: var(--ink); }
.btn .arrow { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Progress bar & grain ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; z-index: 90; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--crave-red); transform-origin: 0 50%; transform: scaleX(0); }
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 80; pointer-events: none;
  opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), backdrop-filter var(--dur);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 84px; transition: height var(--dur) var(--ease-out); }
.header.is-scrolled { background: rgba(242,241,238,0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .container { height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: clamp(124px, 12vw, 160px); height: auto; transition: width var(--dur) var(--ease-out); }
.header.is-scrolled .brand img { width: clamp(112px, 10vw, 136px); }
.nav { display: flex; align-items: center; gap: clamp(var(--space-4), 2.5vw, var(--space-8)); }
.nav-links { display: none; align-items: center; gap: clamp(var(--space-4), 2.5vw, var(--space-8)); }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  font-weight: 500; font-size: 1rem; color: var(--ink);
}
.nav-links a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 2px;
  background: var(--crave-red); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: var(--radius-control);
}
.nav-toggle span { display: block; height: 2px; width: 22px; margin-inline: auto; background: var(--ink); transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--mist);
  display: grid; align-content: center; justify-items: start; gap: var(--space-2);
  padding: 120px var(--gutter) var(--space-12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.mobile-menu a { font-size: clamp(2.25rem, 10vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.05; padding: 6px 0; }
.mobile-menu a:hover { color: var(--crave-red); }
.mobile-menu .btn { margin-top: var(--space-8); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding-top: 84px; background: var(--paper); overflow: clip; isolation: isolate;
}
.hero .container { display: grid; gap: var(--space-8); padding-block: clamp(var(--space-8), 6vw, var(--space-16)); }
.hero-copy { position: relative; z-index: 2; display: grid; gap: clamp(var(--space-4), 2.4vw, var(--space-8)); max-width: 720px; }
.hero-copy .eyebrow { margin-bottom: -6px; }
.hero-title { font-size: clamp(2.75rem, 7.4vw, 6.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-visual { position: relative; z-index: 1; aspect-ratio: 1; width: min(100%, 720px); justify-self: center; }
.hero-band {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-band::before {
  content: ""; position: absolute; left: -20%; right: -20%; top: 62%; height: clamp(70px, 11vw, 160px);
  background: var(--crave-red); transform: rotate(-16deg); transform-origin: center;
  opacity: 0.96;
}
.hero-pizza {
  position: relative; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(circle at 52.5% 51%, #000 40%, rgba(0,0,0,0.92) 47%, transparent 63%);
          mask-image: radial-gradient(circle at 52.5% 51%, #000 40%, rgba(0,0,0,0.92) 47%, transparent 63%);
  filter: drop-shadow(0 40px 60px rgba(20,20,20,0.18));
  will-change: transform;
}
.hero-pizza img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; z-index: 3;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px 10px 12px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card); font-size: 0.9375rem; white-space: nowrap;
}
.hero-caption strong { font-weight: 700; }
.hero-caption .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--crave-red); box-shadow: 0 0 0 4px rgba(200,27,34,0.16); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(var(--ink), transparent); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: var(--space-12); }
  .hero-visual { width: min(100%, 780px); justify-self: end; }
  .hero-band::before { left: 50%; right: -30%; top: 44%; height: clamp(96px, 9.5vw, 160px); transform: rotate(-26deg); }
  .scroll-cue { left: var(--gutter); transform: none; align-items: flex-start; }
}
@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero-caption { display: none; }
  .scroll-cue { display: none; }
}

/* Hero entrance */
.hero [data-hero] { opacity: 0; transform: translateY(28px); }
.hero-visual[data-hero] { transform: translateY(40px) scale(0.94) rotate(-6deg); }
.is-loaded .hero [data-hero] { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
.is-loaded .hero-visual[data-hero] { transition-duration: 1500ms; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding-block: 22px; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; align-items: center; flex: none; }
.marquee-track li { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(1.125rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.marquee-track li::after { content: ""; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 13px solid var(--crave-red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement / ingredients ---------- */
.statement .display-lg { max-width: 12ch; }
.beats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.beat { display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); padding-block: clamp(var(--space-6), 3vw, var(--space-10, 40px)); border-bottom: 1px solid var(--line); align-items: start; }
.beat-num { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.16em; color: var(--crave-red); padding-top: 8px; font-variant-numeric: tabular-nums; }
.beat h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-transform: uppercase; }
.beat p { margin-top: 10px; max-width: 46ch; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) {
  .statement .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--space-16); align-items: start; }
  .statement .sticky { position: sticky; top: 120px; display: grid; gap: var(--space-6); }
  .beats { border-top: 0; }
  .beat { grid-template-columns: 64px 1fr; }
  .beat:first-child { border-top: 1px solid var(--line); }
}

/* ---------- Signature poster ---------- */
.signature { overflow: clip; isolation: isolate; }
.signature .backdrop {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: grid; place-items: center;
}
.signature .backdrop img {
  width: min(130vw, 1400px); height: auto; aspect-ratio: 1254 / 1020; object-fit: cover;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(circle at 52.5% 51%, #000 30%, rgba(0,0,0,0.45) 45%, transparent 62%);
          mask-image: radial-gradient(circle at 52.5% 51%, #000 30%, rgba(0,0,0,0.45) 45%, transparent 62%);
  filter: saturate(1.05) contrast(1.05);
  transform: translateY(var(--parallax, 0)) scale(1.02);
  will-change: transform;
}
.signature .container { position: relative; z-index: 1; display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); }
.signature-title { font-size: clamp(3.5rem, 14vw, 12rem); line-height: 0.85; letter-spacing: -0.04em; }
.signature-title .accent { display: inline-block; }
.signature-body { display: grid; gap: var(--space-8); }
.signature-visual { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.signature-visual img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 52.5% 51%, #000 42%, rgba(0,0,0,0.9) 47%, transparent 60%);
          mask-image: radial-gradient(circle at 52.5% 51%, #000 42%, rgba(0,0,0,0.9) 47%, transparent 60%);
  filter: drop-shadow(0 60px 80px rgba(0,0,0,0.6));
}
.ingredients { display: grid; gap: 0; border-top: 1px solid var(--line-on-dark); max-width: 520px; }
.ingredients li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: 16px 0; border-bottom: 1px solid var(--line-on-dark); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; letter-spacing: -0.01em; }
.ingredients li small { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 600; }
.signature-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 899px) { .signature .backdrop { display: none; } }
@media (min-width: 900px) {
  .signature-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-16); }
  .signature-visual { width: min(100%, 640px); }
}

/* ---------- Menu ---------- */
.menu { background: var(--mist); }
.menu-grid { display: grid; gap: clamp(var(--space-4), 2vw, var(--space-6)); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.menu-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.menu-card-media { position: relative; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.menu-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s var(--ease-out); }
.menu-card:hover .menu-card-media img { transform: scale(1.035); }
.menu-card-body { display: grid; align-content: start; gap: var(--space-3); padding: clamp(var(--space-4), 2.5vw, var(--space-8)); }
.menu-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.menu-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--mist); color: var(--ink); border: 1px solid var(--mist-deep); }
.badge.is-signature { background: var(--crave-red); color: var(--white); border-color: var(--crave-red); }
.ingredient-list { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.ingredient-list li:not(:last-child)::after { content: "·"; margin-inline: 8px; color: var(--crave-red); font-weight: 700; }
.price { font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.menu-card-actions { margin-top: auto; padding-top: var(--space-2); }
.menu-card.is-featured { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .menu-card.is-featured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: none; }
  .menu-card.is-featured .menu-card-media { aspect-ratio: auto; min-height: 420px; }
  .menu-card.is-featured .menu-card-body { align-content: center; gap: var(--space-4); padding: clamp(var(--space-8), 4vw, var(--space-16)); }
  .menu-card.is-featured h3 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
  .menu-card.is-featured .ingredient-list { font-size: 1.125rem; }
}
@media (min-width: 1100px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } .menu-card.is-featured { grid-column: 1 / -1; } }
.menu-notes { margin-top: var(--space-8); display: grid; gap: var(--space-2); color: var(--muted); font-size: 0.9375rem; max-width: 70ch; }

/* ---------- Order (coming soon) ---------- */
.order { background: var(--paper); overflow: clip; }
.order .container { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); }
.order-panel { display: grid; gap: var(--space-8); }
.status-list { display: grid; border-top: 1px solid var(--line); }
.status-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); padding: 18px 0; border-bottom: 1px solid var(--line); }
.status-list .name { font-weight: 600; font-size: 1.0625rem; }
.status-list .desc { color: var(--muted); font-size: 0.9375rem; grid-column: 2; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--mist-deep); box-shadow: inset 0 0 0 2px var(--white); grid-row: span 2; }
.status-dot.is-live { background: #1E8E4E; }
.status-dot.is-soon { background: var(--crave-red); }
.status-pill { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--mist-deep); grid-row: span 2; }
.status-pill.is-live { color: #1E8E4E; border-color: rgba(30,142,78,0.35); }
.status-pill.is-soon { color: var(--crave-red); border-color: rgba(200,27,34,0.35); }
.notify { display: grid; gap: var(--space-3); }
.notify form { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.notify label { font-weight: 600; }
.notify input[type="email"] {
  flex: 1 1 240px; min-height: 52px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 2px solid var(--mist-deep); background: var(--white); color: var(--ink);
}
.notify input[type="email"]:focus-visible { border-color: var(--crave-red); box-shadow: none; }
.notify .fine { font-size: 0.875rem; color: var(--muted); }
.order-art { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; }
.order-art img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(circle at 52.5% 51%, #000 42%, transparent 62%); mask-image: radial-gradient(circle at 52.5% 51%, #000 42%, transparent 62%); }
.order-art .stamp {
  position: absolute; right: 4%; top: 6%; width: clamp(110px, 24%, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--crave-red); color: var(--white); display: grid; place-items: center; text-align: center;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.05; font-size: clamp(0.8rem, 1.4vw, 1rem); padding: 12px;
  box-shadow: 0 20px 40px -16px rgba(200,27,34,0.6); animation: spin-slow 24s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (min-width: 900px) {
  .order .container { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; }
}

/* ---------- Events / contact ---------- */
.contact { background: var(--mist); }
.contact .container { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); }
.contact-grid { display: grid; gap: var(--space-8); }
.info-block { display: grid; gap: var(--space-3); align-content: start; }
.info-block h3 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.info-block a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(200,27,34,0.5); text-underline-offset: 4px; }
.info-block a:hover { text-decoration-color: var(--crave-red); }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-4); }
.events-list { display: grid; gap: var(--space-3); }
.event { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); padding: var(--space-4); background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.event time { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius-control); background: var(--ink); color: var(--white); font-weight: 800; line-height: 1; text-align: center; }
.event time small { display: block; font-size: 0.6875rem; letter-spacing: 0.16em; font-weight: 700; color: var(--muted-on-dark); margin-bottom: 4px; }
.event .title { font-weight: 700; font-size: 1.125rem; }
.event .meta { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) {
  .contact .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.social { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.social a:hover { border-color: var(--ink); }

.tiles { display: grid; gap: var(--space-3); grid-column: 1 / -1; }
.tile { background: var(--white); border-radius: var(--radius-card); padding: clamp(var(--space-4), 2.5vw, var(--space-8)); box-shadow: var(--shadow-card); display: grid; gap: var(--space-2); }
.tile h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.tile h3::before { content: ""; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 10px solid var(--crave-red); }
.tile p { color: var(--muted); font-size: 1rem; text-wrap: pretty; }
@media (min-width: 600px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq .container { display: grid; gap: clamp(var(--space-8), 5vw, var(--space-16)); }
.faq-head { display: grid; gap: var(--space-4); align-content: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 22px 0; min-height: 44px; font-weight: 700; font-size: clamp(1.125rem, 1.8vw, 1.375rem); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--crave-red); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--mist); }
.faq summary:hover::after { border-color: var(--crave-red); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.faq details a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(200,27,34,0.5); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .faq .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
  .faq-head { position: sticky; top: 120px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding-block: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-8); }
.footer .container { display: grid; gap: var(--space-12); }
.footer-top { display: grid; gap: var(--space-8); }
.footer-logo img { width: clamp(180px, 22vw, 260px); }
.footer-cols { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: var(--space-3); }
.footer li a, .footer li button { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255,255,255,0.86); font-weight: 500; }
.footer li a:hover, .footer li button:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--crave-red); text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line-on-dark); color: var(--muted-on-dark); font-size: 0.875rem; }
.footer-giant { font-size: clamp(3rem, 14vw, 13rem); line-height: 0.85; letter-spacing: -0.045em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,0.06); user-select: none; pointer-events: none; text-align: center; margin-top: var(--space-8); overflow: hidden; white-space: nowrap; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.2fr 2fr; align-items: start; } }

/* ---------- Dialog (Coming Soon) ---------- */
.dialog {
  border: 0; padding: 0; margin: auto; background: transparent; color: var(--ink);
  max-width: min(92vw, 560px); width: 100%; overflow: visible;
}
.dialog::backdrop { background: rgba(20,20,20,0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dialog-card {
  position: relative; background: var(--white); border-radius: 20px; padding: clamp(var(--space-6), 5vw, var(--space-12));
  display: grid; gap: var(--space-4); box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
  overflow: hidden;
}
.dialog-card::before { content: ""; position: absolute; left: -30%; right: -30%; top: -60px; height: 100px; background: var(--crave-red); transform: rotate(-8deg); }
.dialog-mark { width: 64px; height: 64px; position: relative; z-index: 1; margin-top: 18px; }
.dialog h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
.dialog p { color: var(--muted); max-width: 44ch; text-wrap: pretty; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.9); z-index: 2; }
.dialog-close:hover { background: var(--mist); }
.dialog-close svg { width: 20px; height: 20px; }
.dialog[open] .dialog-card { animation: pop var(--dur) var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }

/* ---------- Intro (first visit per session) ---------- */
.intro { position: fixed; inset: 0; z-index: 400; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.intro-logo { width: min(52vw, 320px); height: auto; opacity: 0; transform: translateY(18px) scale(0.96); }
.intro-band { position: absolute; left: -30%; top: 50%; width: 160%; height: clamp(90px, 14vw, 220px); background: var(--crave-red); transform: translate(-120%, -50%) rotate(-14deg); }
.intro.is-playing .intro-logo { animation: intro-logo 1s var(--ease-out) 120ms both; }
.intro.is-playing .intro-band { animation: intro-band 1.15s var(--ease-in-out) both; }
.intro.is-leaving { animation: intro-leave 0.9s var(--ease-in-out) both; }
.intro.is-leaving .intro-logo { animation: intro-logo-out 0.5s var(--ease-in-out) both; }
.no-js .intro, .intro.is-skipped { display: none; }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-logo-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-14px); } }
@keyframes intro-band { 0% { transform: translate(-120%, -50%) rotate(-14deg); } 100% { transform: translate(120%, -50%) rotate(-14deg); } }
@keyframes intro-leave { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 12% 12%; } }

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; mix-blend-mode: difference; }
  html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); background: #fff; }
  html.has-cursor .cursor-dot { width: 8px; height: 8px; }
  html.has-cursor .cursor-ring { width: 40px; height: 40px; background: transparent; border: 1.5px solid #fff; opacity: 0.7; transition: width 260ms var(--ease-out), height 260ms var(--ease-out), opacity 260ms; }
  html.has-cursor .cursor.is-hover .cursor-ring { width: 64px; height: 64px; opacity: 1; }
  html.has-cursor .cursor.is-hidden { opacity: 0; }
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label { cursor: none; }
  html.has-cursor input, html.has-cursor textarea { cursor: text; }
}

/* ---------- Rotating badge ---------- */
.badge-spin { position: absolute; left: -2%; bottom: 8%; width: clamp(96px, 11vw, 140px); aspect-ratio: 1; display: grid; place-items: center; z-index: 4; }
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin-slow 18s linear infinite; }
.badge-spin text { font-family: var(--font-brand); font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--ink); }
.badge-spin-center { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-card); transition: transform var(--dur-fast) var(--ease-out); }
.badge-spin-center img { width: 58%; height: auto; }
.badge-spin:hover .badge-spin-center { transform: scale(1.08); }
.badge-spin:hover svg { animation-duration: 9s; }
@media (max-width: 899px) { .badge-spin { left: auto; right: 2%; top: -4%; bottom: auto; } }

/* ---------- Reel ---------- */
.reel { position: relative; min-height: clamp(520px, 92svh, 900px); display: grid; align-items: end; overflow: clip; isolation: isolate; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; scale: 1.06; }
.reel-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,20,20,0.35) 0%, rgba(20,20,20,0.05) 35%, rgba(20,20,20,0.55) 70%, rgba(20,20,20,0.92) 100%); }
.reel-copy { position: relative; z-index: 2; display: grid; gap: var(--space-6); padding-block: clamp(var(--space-12), 8vw, var(--space-24)); }
.reel .display-xl { max-width: 10ch; text-shadow: 0 10px 40px rgba(0,0,0,0.35); }

/* ---------- Signature: spinning video + ghost type ---------- */
.signature-video { width: 100%; height: 100%; object-fit: cover; display: block; background: transparent;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 47%, transparent 50.5%); mask-image: radial-gradient(circle at 50% 50%, #000 47%, transparent 50.5%); }
.signature-visual { filter: drop-shadow(0 50px 70px rgba(0,0,0,0.55)); }
.signature-visual::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(200,27,34,0.35), transparent 70%); filter: blur(40px); z-index: -1; }
.signature-ghost { position: absolute; top: clamp(24px, 4vw, 56px); left: 0; right: 0; z-index: 0; overflow: hidden; white-space: nowrap; pointer-events: none; display: flex; }
.signature-ghost span { flex: none; font-weight: 800; font-size: clamp(5rem, 16vw, 15rem); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.10); animation: marquee 60s linear infinite; padding-right: 0.2em; }

/* ---------- Beat underline draw ---------- */
.beat { position: relative; }
.beat::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--crave-red); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease-out) 250ms; }
.beat.is-in::after { transform: scaleX(1); }

/* ---------- Card tilt ---------- */
.menu-card[data-tilt] { transform-style: preserve-3d; transition: transform 700ms var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.menu-card[data-tilt].is-tilting { transition: transform 120ms linear, box-shadow var(--dur) var(--ease-out); }
.menu-card[data-tilt]::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.35), transparent 60%); transition: opacity var(--dur); }
.menu-card[data-tilt].is-tilting::after { opacity: 1; }

/* ---------- Hero breathe ---------- */
.is-loaded .hero-pizza img { animation: breathe 9s var(--ease-in-out) infinite; transform-origin: 52.5% 51%; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* ---------- Scroll-driven (progressive) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .menu-card-media img { animation: card-img linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes card-img { from { scale: 1.14; } to { scale: 1; } }
    .reel-video { animation: reel-zoom linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes reel-zoom { from { scale: 1.0; } to { scale: 1.16; } }
    .footer-giant { animation: giant-slide linear both; animation-timeline: view(); animation-range: entry 0% cover 100%; }
    @keyframes giant-slide { from { translate: 6% 0; } to { translate: -6% 0; } }
    .order-art img, .hero-visual, .signature-visual { will-change: transform; }
  }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: translateY(20px) scale(0.97); }
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }

/* Split words for headline entrances */
.split .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .word > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--w, 0) * 60ms); }
.split.is-in .word > span, .is-loaded .hero .split .word > span { transform: none; }

/* ---------- Utilities ---------- */
[hidden] { display: none !important; }
.no-js [data-reveal], .no-js .hero [data-hero], .no-js .split .word > span { opacity: 1 !important; transform: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], .hero [data-hero], .split .word > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .marquee-track ul:nth-child(2) { display: none; }
  .signature .backdrop img, .hero-pizza { transform: none !important; }
  .grain, .cursor, .intro, .signature-ghost { display: none !important; }
  .badge-spin svg, .hero-pizza img, .order-art .stamp { animation: none !important; }
  .menu-card[data-tilt] { transform: none !important; }
}
