/* ========== La Nonna Pizza — wood-oven dark aesthetic ========== */

:root {
  --ink: #0a0806;
  --char: #14100c;
  --ember: #1e1814;
  --smoke: #2a2420;
  --ash: #3a3330;
  --bone: #f4ede0;
  --bone-dim: #c8bfae;
  --gold: #d4a24c;
  --gold-bright: #e8b85c;
  --fire: #c2452d;
  --fire-bright: #e25a3a;
  --basil: #6b7a4a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.87 0 0 0 0 0.75 0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}

.app-root { position: relative; }

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 8, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(212, 162, 76, 0.15);
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--bone);
}
.nav-logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--bone-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-cart:hover { background: var(--gold); color: var(--ink); }
.nav-cart-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--fire);
  color: var(--bone);
  font-size: 10px;
  padding: 0 6px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px 48px 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 60%, #1a1008 0%, #0a0806 60%),
    #0a0806;
}

.hero-glow {
  position: absolute;
  left: 50%; top: 55%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226, 90, 58, 0.3) 0%, rgba(212, 162, 76, 0.12) 30%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  transition: transform 0.3s ease-out;
  z-index: 0;
}

.smoke {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(244, 237, 224, 0.04) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.smoke-1 { left: -10%; top: 20%; animation: drift 20s ease-in-out infinite; }
.smoke-2 { right: -10%; bottom: 10%; animation: drift 25s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -60px) scale(1.2); }
}

.ingredients-layer {
  position: absolute;
  inset: -10% -10% 0 -10%;
  pointer-events: none;
  z-index: 2;
}
.ingredient-float {
  position: absolute;
  will-change: transform;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 170px);
}

/* LEFT */
.hero-left { display: flex; flex-direction: column; gap: 20px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-line {
  width: 40px; height: 1px;
  background: var(--gold);
}

.pizza-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(56px, 7vw, 108px);
  line-height: 1.15;
  color: var(--bone);
  letter-spacing: -0.02em;
  padding: 0 0.2em 0.1em;
  margin-left: -0.2em;
  overflow: hidden;
}
.pizza-name-inner {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.3s;
}
.pizza-name.is-switching .pizza-name-inner {
  transform: translateY(-100%);
  opacity: 0;
}

.pizza-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--gold);
  transition: opacity 0.3s;
}
.pizza-tagline.is-switching { opacity: 0; }

.pizza-desc {
  font-size: 15px;
  color: var(--bone-dim);
  max-width: 360px;
  line-height: 1.6;
  transition: opacity 0.3s;
}
.pizza-desc.is-switching { opacity: 0; }

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  transition: all 0.25s;
  font-weight: 500;
}
.btn-primary {
  background: var(--fire);
  color: var(--bone);
  border-color: var(--fire);
}
.btn-primary:hover {
  background: var(--fire-bright);
  border-color: var(--fire-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(226, 90, 58, 0.4);
}
.btn-ghost {
  color: var(--bone-dim);
  border-color: rgba(244, 237, 224, 0.2);
}
.btn-ghost:hover {
  color: var(--bone);
  border-color: var(--gold);
}
.btn-outline {
  color: var(--bone);
  border-color: rgba(244, 237, 224, 0.25);
  padding: 10px 16px;
  font-size: 10px;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.heat-meter {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--bone-dim);
}
.heat-label { text-transform: uppercase; }
.flame {
  color: rgba(244, 237, 224, 0.15);
  font-size: 14px;
  transition: color 0.4s, transform 0.4s;
}
.flame.on {
  color: var(--fire-bright);
  transform: scale(1.1);
  text-shadow: 0 0 8px var(--fire);
}

/* PIZZA STAGE */
.pizza-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.oven-mouth {
  position: absolute;
  left: 50%; top: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(226, 90, 58, 0.18) 0%, rgba(212, 162, 76, 0.08) 25%, transparent 55%);
  pointer-events: none;
}
.oven-flames {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 80%, rgba(255, 120, 50, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 70% 20%, rgba(212, 162, 76, 0.3) 0%, transparent 40%);
  filter: blur(30px);
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  33% { opacity: 1; transform: scale(1.05); }
  66% { opacity: 0.7; transform: scale(0.98); }
}
.oven-sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
}
.spark {
  position: absolute;
  bottom: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 6px var(--fire-bright);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-600px) translateX(30px); opacity: 0; }
}

.ring-text {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
  pointer-events: none;
}
.ring-text svg { display: block; }

.pizza-wrap {
  position: relative;
  z-index: 3;
  transition: opacity 0.35s, transform 0.6s cubic-bezier(0.7, 0, 0.3, 1), filter 0.35s;
  will-change: transform;
}
.pizza-wrap.is-switching {
  opacity: 0;
  filter: blur(8px);
}

.price-tag {
  position: absolute;
  top: 8%;
  right: 2%;
  width: 100px; height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--fire);
  color: var(--bone);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 4;
  transition: transform 0.3s;
}
.price-tag::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(244, 237, 224, 0.5);
  border-radius: 50%;
}
.price-amt {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
}
.price-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 2px;
}

/* Hero Navigation Arrows */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 8, 6, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 162, 76, 0.3);
  color: var(--gold);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-nav-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(212, 162, 76, 0.4);
}
.hero-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}
.hero-nav-btn.prev { left: -20px; }
.hero-nav-btn.next { right: -20px; }

@media (max-width: 1200px) {
  .hero-nav-btn.prev { left: 0px; }
  .hero-nav-btn.next { right: 0px; }
}
@media (max-width: 768px) {
  .hero-nav-btn { width: 44px; height: 44px; }
  .hero-nav-btn.prev { left: -20px; }
  .hero-nav-btn.next { right: -20px; }
}

/* RIGHT — tabs */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tabs-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
}
.tabs-label .line { width: 30px; height: 1px; background: var(--gold); }

.pizza-tabs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tab {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: transparent;
  border: 1px solid rgba(244, 237, 224, 0.08);
  border-radius: 4px;
  color: var(--bone-dim);
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  text-align: left;
}
.tab:hover {
  border-color: rgba(212, 162, 76, 0.3);
  color: var(--bone);
  padding-left: 24px;
}
.tab.active {
  border-color: var(--gold);
  color: var(--bone);
  background: rgba(212, 162, 76, 0.06);
  padding-left: 24px;
}
.tab-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
}
.tab-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 900;
}
.tab-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--bone-dim);
}
.tab.active .tab-price { color: var(--gold); }
.tab-indicator {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--gold);
  animation: growIn 0.4s ease-out;
}
@keyframes growIn {
  from { height: 0; }
  to { height: 60%; }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--bone-dim);
  text-transform: uppercase;
  z-index: 4;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========== SECTION GENERICS ========== */
.section-header {
  max-width: 1200px;
  margin: 0 auto 80px;
  text-align: center;
  padding: 0 48px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.section-label.centered { justify-content: center; }
.section-label .line {
  width: 40px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.02em;
}
.menu-section .section-title span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, filter, transform;
}
.menu-section.in-view .section-title span {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.menu-section.in-view .section-title span:last-child {
  transition-delay: 0.25s;
}
.serif-i { font-style: italic; color: var(--gold); }
.muted { color: var(--bone-dim); font-weight: 400; }

/* ========== STORY (STICKY) ========== */
.story-section {
  position: relative;
  padding: 60px 0 0;
  background: var(--char);
  min-height: 300vh;
}
.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  overflow: hidden;
}
.story-grid {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-left { display: flex; flex-direction: column; gap: 32px; }
.story-beats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.beat {
  grid-column: 1; grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
  pointer-events: none;
}
.beat.active { opacity: 1; transform: translateY(0); }
.beat.past { opacity: 0; transform: translateY(-30px); }
.beat-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 3px;
}
.beat-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--bone);
  line-height: 1;
}
.beat-body {
  font-size: 18px;
  color: var(--bone-dim);
  line-height: 1.6;
  max-width: 480px;
}

.story-right {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.story-photo-stack {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
}
.story-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.95) rotate(-2deg);
  transition: opacity 0.6s, transform 0.8s;
  border: 1px solid rgba(212, 162, 76, 0.2);
  padding: 12px;
  background: var(--ember);
}
.story-photo.active {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.photo-placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(244, 237, 224, 0.04), rgba(244, 237, 224, 0.04) 2px, transparent 2px, transparent 10px),
    linear-gradient(160deg, #2a2420, #1a1410);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  position: relative;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(212, 162, 76, 0.15);
}
.photo-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 64px;
  color: rgba(212, 162, 76, 0.25);
  position: relative;
}
.photo-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--bone-dim);
  opacity: 0.5;
  position: relative;
  text-align: center;
}

.progress-rail {
  position: relative;
  width: 2px;
  height: 60%;
  background: rgba(244, 237, 224, 0.08);
}
.progress-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  background: var(--gold);
  transition: height 0.1s linear;
}
.progress-tick {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--char);
  border: 1px solid rgba(244, 237, 224, 0.2);
  transition: all 0.3s;
}
.progress-tick.on {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* ========== INGREDIENTS ========== */
.ingredients-section {
  padding: 180px 48px 180px;
  background:
    linear-gradient(to bottom, var(--char), var(--ink));
  position: relative;
}
.ingredient-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ingredient-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 28px;
  background: var(--ember);
  border: 1px solid rgba(212, 162, 76, 0.1);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s;
  position: relative;
}
.ingredient-card:hover {
  border-color: rgba(212, 162, 76, 0.4);
}
.ingredient-visual {
  width: 140px; height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}
.ingredient-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ingredient-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 3px;
}
.ingredient-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 28px;
  color: var(--bone);
}
.ingredient-origin {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--bone-dim);
}
.ingredient-note {
  font-size: 13px;
  color: var(--gold);
  margin-top: 8px;
  font-style: italic;
}

/* ========== MENU ========== */
.menu-section {
  padding: 180px 48px;
  background: var(--ink);
}
.menu-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2px;
  background: rgba(212, 162, 76, 0.15);
  border: 1px solid rgba(212, 162, 76, 0.15);
}
.menu-card {
  background: var(--ember);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(-150px) rotate(8deg) scale(0.85);
  transition: all 1.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
  text-align: center;
  perspective: 1000px;
}
.menu-card.in-view { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
.menu-card:hover { background: var(--smoke); }
.menu-card-pizza {
  transition: transform 0.1s linear;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  z-index: 2;
}
.menu-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.menu-card-head {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
}
.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 36px;
  color: var(--bone);
  line-height: 1;
}
.menu-card-desc {
  font-size: 14px;
  color: var(--bone-dim);
  line-height: 1.5;
  min-height: 3.5em;
}
.menu-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 237, 224, 0.08);
}
.menu-card-price {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
  color: var(--gold);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  padding: 180px 48px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, 0.08), transparent 60%),
    var(--char);
}
.quotes-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 32px;
  background: var(--ember);
  border: 1px solid rgba(212, 162, 76, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 120px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
}
.quote.in-view { opacity: 1; transform: translateY(0); }
.quote-stars { display: flex; gap: 4px; }
.quote blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--bone);
  font-weight: 400;
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.quote-who {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  color: var(--bone);
  font-size: 14px;
}
.quote-where {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
}

/* ========== FOOTER ========== */
.footer-section {
  background: var(--ink);
  border-top: 1px solid rgba(212, 162, 76, 0.15);
  padding: 100px 48px 40px;
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(212, 162, 76, 0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.brand-mark { width: 100px; }
.footer-mantra {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--bone);
  line-height: 1.4;
  max-width: 240px;
}
.footer-mantra em { color: var(--gold); }
.footer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--bone-dim);
  letter-spacing: 2px;
}

.footer-newsletter { display: flex; flex-direction: column; gap: 20px; }
.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--bone);
  line-height: 1.2;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(212, 162, 76, 0.3);
  border-radius: 999px;
  background: var(--ember);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bone);
  font-family: inherit;
  font-size: 14px;
  padding: 8px 16px;
}
.newsletter-form input::placeholder { color: var(--bone-dim); opacity: 0.6; }
.newsletter-done {
  padding: 16px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.newsletter-done span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer-cols h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.footer-cols p {
  font-size: 13px;
  color: var(--bone-dim);
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--bone-dim);
  opacity: 0.6;
}

/* ========== CART DRAWER ========== */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--char);
  border-left: 1px solid rgba(212, 162, 76, 0.2);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 24px;
  border-bottom: 1px solid rgba(212, 162, 76, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--bone);
}
.cart-close {
  background: transparent;
  border: none;
  color: var(--bone);
  font-size: 20px;
  cursor: pointer;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--bone-dim);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
}
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(244, 237, 224, 0.06);
}
.cart-item-img {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ember);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 18px;
  color: var(--bone);
}
.cart-item-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--bone);
}
.cart-item-qty button {
  width: 24px; height: 24px;
  border: 1px solid rgba(244, 237, 224, 0.2);
  background: transparent;
  color: var(--bone);
  border-radius: 50%;
  cursor: pointer;
}
.cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(212, 162, 76, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--bone);
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

/* ========== TWEAKS PANEL ========== */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  width: 280px;
  background: var(--ember);
  border: 1px solid var(--gold);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
}
.tweaks-panel.open { display: flex; }
.tweaks-panel h4 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--bone);
  margin-bottom: 4px;
}
.tweak-row label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tweak-row input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

/* ========== FLY-TO-CART ========== */
.fly-dot {
  position: fixed;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 20px var(--fire);
  z-index: 500;
  pointer-events: none;
  transition: all 0.7s cubic-bezier(0.6, -0.2, 0.7, 1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .hero-left { align-items: center; text-align: center; }
  .hero-left .eyebrow, .hero-left .hero-cta { justify-content: center; }
  .hero-right { order: -1; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  /* .nav-links removed */
}
@media (max-width: 600px) {
  .hero, .ingredients-section, .menu-section, .testimonials-section, .story-sticky { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 16px 20px; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .pizza-name { font-size: 56px; }
}
