.hero { position: relative; min-height: 100dvh; display: grid; align-items: center; overflow: hidden; padding: calc(var(--header-height) + 2rem) var(--pad) 3rem; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -3; inset: -1px; background: linear-gradient(90deg, rgba(0,0,0,0.56) 0%, rgba(0,0,0,0.22) 48%, rgba(0,0,0,0.06) 78%), url("/img/hero-noir-4k.jpg") center / cover no-repeat; transform: scale(1.005); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.16), transparent 24%, transparent 72%, rgba(0,0,0,0.72)), radial-gradient(ellipse at 76% 48%, transparent 0 24%, rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.7) 100%); }
.hero-light { position: absolute; z-index: -2; inset: -18%; transform: rotate(-9deg); opacity: 0.42; filter: blur(22px); background: linear-gradient(102deg, transparent 6%, rgba(233,228,218,0.1) 15%, transparent 28%, transparent 42%, rgba(227,178,60,0.045) 51%, transparent 61%); mix-blend-mode: screen; }
.hero-copy { position: relative; z-index: 2; max-width: 42rem; align-self: end; padding-bottom: 2rem; }
.eyebrow { margin-bottom: 1rem; color: var(--amber); font: 600 0.74rem "Oswald", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
.hero h1 { max-width: 8.5ch; margin-bottom: 1.25rem; font-size: clamp(4rem, 18vw, 9rem); letter-spacing: -0.055em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--amber); font-style: normal; font-size: 0.54em; letter-spacing: -0.035em; white-space: nowrap; }
.hero-lede { max-width: 31rem; margin-bottom: 1.6rem; color: #d0cbc2; font-size: clamp(1rem, 3.8vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; }
.hero-pizza { position: absolute; z-index: 1; width: min(95vw, 42rem); aspect-ratio: 1; top: 8%; right: -42%; transform: rotate(12deg); filter: drop-shadow(0 2.5rem 2rem rgba(0, 0, 0, 0.65)); opacity: 0.66; }
.hero-pizza img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-pizza img:nth-child(n+2) { transform: scale(0.82); }

.assembly { position: relative; min-height: 100dvh; overflow: hidden; background: var(--black); }
.assembly::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 52%, #240706 0, #080000 32%, #000 66%); }
.assembly-stage { position: relative; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding: calc(var(--header-height) + 1rem) var(--pad) calc(6rem + env(safe-area-inset-bottom)); overflow: hidden; }
.assembly-intro { position: relative; z-index: 4; }
.assembly-intro h2 { max-width: 11ch; margin: 0; font-size: clamp(1.85rem, 7vw, 4rem); }
.assembly-visual { position: relative; z-index: 2; width: min(94vw, 35rem); aspect-ratio: 1; margin: -1.5rem auto -2rem; perspective: 900px; }
.pizza-stack { position: absolute; z-index: 2; inset: 0; transform-style: preserve-3d; transform-origin: 50% 55%; filter: drop-shadow(0 2.5rem 2.5rem rgba(0, 0, 0, 0.75)); will-change: transform; }
.pizza-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; will-change: transform, opacity; }
.layer-dough { z-index: 1; }
.layer-tomato { z-index: 2; transform: scale(0.82); }
.layer-cheese { z-index: 3; transform: scale(0.81); }
.layer-toppings { z-index: 4; transform: scale(0.82); }
.pizza-spotlight { position: absolute; z-index: 0; inset: -23%; opacity: 0; transform: scale(0.72); border-radius: 50%; background: radial-gradient(circle, rgba(255,230,178,0.2) 0 12%, rgba(227,178,60,0.09) 27%, rgba(110,15,19,0.08) 43%, transparent 68%); filter: blur(15px); mix-blend-mode: screen; will-change: opacity, transform; }
.pizza-spotlight::before { content: ""; position: absolute; inset: -52% 22% 43%; background: linear-gradient(180deg, rgba(255,238,203,0.14), rgba(227,178,60,0.025)); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); filter: blur(28px); }
.pizza-shadow { position: absolute; z-index: 1; left: 14%; right: 14%; bottom: 5%; height: 15%; border-radius: 50%; background: rgba(0, 0, 0, 0.9); filter: blur(22px); will-change: transform, opacity, filter; }
.assembly-copy-stack { position: relative; z-index: 4; min-height: 10.5rem; max-width: 31rem; }
.assembly-copy { position: absolute; inset: auto 0 0; opacity: 0; transform: translateY(1rem); transition: opacity 260ms ease, transform 260ms ease; pointer-events: none; }
.assembly-copy.is-active { opacity: 1; transform: translateY(0); }
.assembly-copy span { color: var(--amber); font: 600 0.74rem "Oswald", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.assembly-copy h3 { margin: 0.35rem 0 0.55rem; }
.assembly-copy p { max-width: 32rem; margin: 0; color: var(--muted); }
.assembly-final h3 { color: var(--amber); font-size: clamp(2.4rem, 10vw, 5rem); }

@media (min-width: 48rem) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr); padding-top: var(--header-height); }
  .hero-copy { align-self: center; padding: 0; }
  .hero h1 { font-size: clamp(5.5rem, 10vw, 9rem); }
  .hero-pizza { position: relative; top: auto; right: auto; width: min(52vw, 44rem); justify-self: end; opacity: 1; }
  .assembly-stage { grid-template-columns: minmax(15rem, 0.72fr) minmax(28rem, 1.28fr); grid-template-rows: 1fr; gap: 2rem; padding-bottom: 1.5rem; }
  .assembly-intro { position: absolute; top: calc(var(--header-height) + 2rem); left: var(--pad); max-width: 26rem; }
  .assembly-visual { grid-column: 2; width: min(58vw, 43rem); margin: 0 auto; }
  .assembly-copy-stack { grid-column: 1; grid-row: 1; align-self: end; min-height: 13rem; margin-bottom: 3rem; }
}

@media (min-width: 75rem) {
  .assembly-stage { grid-template-columns: minmax(20rem, 0.75fr) minmax(38rem, 1.25fr); }
  .assembly-visual { width: min(50vw, 48rem); }
  .assembly-copy h3 { font-size: 2.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light { transform: rotate(-13deg); }
  .assembly-copy { display: none; }
  .assembly-copy.is-active { display: none; }
  .assembly-copy.assembly-final { display: block; opacity: 1; transform: none; }
  .pizza-layer { opacity: 1 !important; transform: none !important; }
  .layer-tomato, .layer-cheese, .layer-toppings { transform: scale(0.82) !important; }
  .pizza-spotlight { opacity: 0.8; transform: scale(1); }
  .pizza-stack { transform: translateY(-2%) rotateX(-4deg) scale(1.04); }
}
