:root {
  --ink: #100e0c;
  --ink-soft: #1a1612;
  --paper: #f1eadc;
  --cream: #fff9ed;
  --ember: #f35b2f;
  --ember-hot: #ff8b43;
  --olive: #6d7651;
  --line: rgba(16,14,12,.16);
  --white-line: rgba(255,255,255,.19);
  --max: 1240px;
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { background: var(--ember); color: white; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 500;
}
em { color: var(--ember); font-style: italic; }
.page-grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .85rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 40px), var(--max));
  height: 70px;
  padding: 0 24px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
  border: 1px solid transparent;
  transition: top .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-scrolled {
  top: 10px;
  background: rgba(14,12,10,.78);
  border-color: rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.brand { display: inline-flex; align-items: center; gap: .78rem; width: fit-content; font-size: .9rem; font-weight: 850; letter-spacing: .18em; }
.brand-mark { position: relative; width: 32px; aspect-ratio: 1; border: 1.5px solid currentColor; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(120deg); }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; left: 50%; top: 50%; width: 1.5px; height: 11px; background: currentColor; transform-origin: 50% 0; }
.brand-mark::before { transform: rotate(0deg); }
.brand-mark::after { transform: rotate(120deg); }
.brand-mark i { transform: rotate(240deg); }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav a { position: relative; padding: .5rem 0; font-size: .82rem; color: rgba(255,255,255,.72); transition: color .25s ease; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .15rem; height: 1px; background: var(--ember-hot); transition: right .35s var(--ease); }
.site-header nav a:hover { color: white; }
.site-header nav a:hover::after { right: 0; }
.header-note { justify-self: end; display: inline-flex; align-items: center; gap: .55rem; font-size: .7rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.header-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 5px rgba(243,91,47,.14); animation: pulse 2s ease-in-out infinite; }

.hero {
  --hero-x: 0px;
  --hero-y: 0px;
  position: relative;
  min-height: 100svh;
  height: max(780px, 100svh);
  overflow: hidden;
  display: grid;
  align-items: center;
  color: white;
  background: #15100d;
}
.hero-image {
  position: absolute;
  inset: -4%;
  background: #211a14 url("/assets/hero-pizza.png") 62% 52% / cover no-repeat;
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.06);
  transition: transform .2s linear;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,10,8,.97) 0%, rgba(12,10,8,.78) 36%, rgba(12,10,8,.12) 72%), linear-gradient(0deg, rgba(12,10,8,.92) 0%, transparent 42%), linear-gradient(180deg, rgba(12,10,8,.55), transparent 28%);
}
.hero-glow { position: absolute; width: 48vw; height: 48vw; right: -12vw; top: -10vw; border-radius: 50%; background: rgba(243,91,47,.2); filter: blur(120px); mix-blend-mode: screen; animation: breathe 6s ease-in-out infinite; }
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.embers i { position: absolute; left: calc(53% + var(--x, 0%)); bottom: 26%; width: 3px; height: 3px; border-radius: 50%; background: #ffc470; box-shadow: 0 0 10px #ff6a2d; opacity: 0; animation: ember 5s linear infinite; }
.embers i:nth-child(1) { --x: 3%; animation-delay: .2s; }
.embers i:nth-child(2) { --x: 12%; animation-delay: 1.1s; animation-duration: 4.2s; }
.embers i:nth-child(3) { --x: 20%; animation-delay: 2.2s; animation-duration: 5.6s; }
.embers i:nth-child(4) { --x: 29%; animation-delay: .8s; animation-duration: 6.1s; }
.embers i:nth-child(5) { --x: 36%; animation-delay: 3.5s; }
.embers i:nth-child(6) { --x: 17%; animation-delay: 4.1s; animation-duration: 4.7s; }
.embers i:nth-child(7) { --x: 42%; animation-delay: 1.7s; animation-duration: 5.3s; }
.embers i:nth-child(8) { --x: 8%; animation-delay: 3s; animation-duration: 6s; }
.hero-content { position: relative; z-index: 3; width: min(calc(100% - 48px), var(--max)); margin: 30px auto 76px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: .7rem; color: var(--ember); font-size: .72rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { color: #ffd1a9; }
.eyebrow i { width: 34px; height: 1px; background: currentColor; }
h1 { margin: 1.1rem 0 1.5rem; max-width: 980px; font-size: clamp(4.4rem, 8.7vw, 8.8rem); line-height: .78; letter-spacing: -.064em; }
.title-line { display: block; overflow: hidden; padding-bottom: .08em; }
.title-line > span { display: block; }
.accent-line > span { color: #f3a16f; font-style: italic; padding-left: .7em; }
.hero-lead { max-width: 560px; margin-bottom: 0; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.72; color: rgba(255,255,255,.7); }
.hero-actions { display: flex; gap: .75rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 56px; min-width: 188px; padding: 0 1.2rem 0 1.45rem; border: 1px solid rgba(255,255,255,.32); font-size: .82rem; font-weight: 760; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease); }
.button i { font-size: 1.05rem; font-style: normal; transition: transform .3s var(--ease); }
.button:hover { transform: translateY(-3px); }
.button:hover i { transform: translate(3px, 3px); }
.button-primary { background: var(--ember); border-color: var(--ember); }
.button-primary:hover { background: #ff7245; border-color: #ff7245; }
.button-ghost { background: rgba(255,255,255,.04); backdrop-filter: blur(10px); }
.button-ghost:hover { background: white; color: var(--ink); border-color: white; }
.fire-seal { position: absolute; z-index: 3; right: max(3vw, calc((100vw - var(--max)) / 2)); bottom: 150px; width: 150px; height: 150px; display: grid; place-items: center; color: white; }
.fire-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rotate 22s linear infinite; }
.fire-seal text { fill: currentColor; font: 800 10px/1 Inter, sans-serif; letter-spacing: 2.8px; }
.fire-seal > span { font-family: Georgia, serif; font-size: 2rem; color: #ffc28b; }
.hero-facts { position: absolute; z-index: 3; left: 50%; bottom: 0; width: min(calc(100% - 48px), var(--max)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--white-line); }
.hero-facts div { display: flex; align-items: baseline; gap: .85rem; padding: 1.45rem 0; }
.hero-facts div + div { padding-left: 2rem; border-left: 1px solid var(--white-line); }
.hero-facts strong { min-width: 70px; font-family: Georgia, serif; font-size: 2.25rem; font-weight: 500; }
.hero-facts span { max-width: 125px; font-size: .65rem; line-height: 1.45; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .09em; }

.ticker { overflow: hidden; background: var(--ember); color: white; transform: rotate(-1.1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 2rem; padding: 1rem 0; animation: ticker 26s linear infinite; }
.ticker-track span { font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; letter-spacing: .025em; }
.ticker-track i { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: 1.08fr .72fr; align-items: end; gap: 5rem; margin-bottom: 58px; }
.section-heading h2, .visit h2, .story h2 { margin: .7rem 0 0; font-size: clamp(3.3rem, 6vw, 6.3rem); line-height: .86; letter-spacing: -.055em; }
.section-heading > p { max-width: 480px; margin: 0 0 .45rem; font-size: 1.02rem; color: rgba(16,14,12,.62); line-height: 1.78; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1400px; }
.menu-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  min-height: 350px;
  padding: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-content: space-between;
  gap: 1rem;
  background: rgba(255,249,237,.62);
  border: 1px solid rgba(16,14,12,.13);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), background .35s ease, color .35s ease, border-color .35s ease;
}
.menu-card:nth-child(2), .menu-card:nth-child(4) { transform: translateY(34px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); }
.menu-card:nth-child(3), .menu-card:nth-child(4) { min-height: 320px; }
.menu-card:hover { background: var(--cream); border-color: rgba(16,14,12,.3); }
.card-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle 220px at var(--mx) var(--my), rgba(243,91,47,.2), transparent 70%); transition: opacity .3s ease; }
.menu-card:hover .card-glow { opacity: 1; }
.menu-card.featured { background: var(--ember); color: white; border-color: var(--ember); }
.menu-card.featured .card-glow { background: radial-gradient(circle 250px at var(--mx) var(--my), rgba(255,255,255,.28), transparent 70%); }
.menu-card.featured p, .dark-card p { color: rgba(255,255,255,.68); }
.dark-card { background: var(--ink); color: white; border-color: var(--ink); }
.menu-number { position: relative; z-index: 2; font-family: Georgia, serif; font-style: italic; opacity: .72; }
.menu-card > div:last-child { position: relative; z-index: 2; align-self: end; }
.menu-title { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.menu-title h3 { margin-bottom: .85rem; font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: -.035em; }
.menu-title span { font-weight: 780; white-space: nowrap; }
.menu-card p { max-width: 520px; margin-bottom: 0; color: rgba(16,14,12,.58); line-height: 1.65; }
.menu-note { margin: 4.8rem 0 0; color: rgba(16,14,12,.45); font-size: .76rem; }

.story { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 830px; background: var(--ink); color: white; }
.story-copy { padding: 130px 7vw 130px max(24px, calc((100vw - var(--max)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.kicker.light { color: #eda275; }
.story-copy p { max-width: 610px; margin-top: 2.2rem; color: rgba(255,255,255,.64); line-height: 1.82; }
.story-points { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 90px max(24px, calc((100vw - var(--max)) / 2)) 90px 5vw; background: var(--ember); overflow: hidden; }
.story-points::before { content: ""; position: absolute; width: 500px; height: 500px; right: -240px; top: -190px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.03), 0 0 0 96px rgba(255,255,255,.025); }
.story-points > div:not(.temperature) { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.55rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.story-points span { font-family: Georgia, serif; font-style: italic; opacity: .7; }
.story-points p { margin: 0; line-height: 1.55; color: rgba(255,255,255,.85); }
.temperature { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 1rem; margin-top: 3.5rem; }
.temperature strong { font-family: Georgia, serif; font-size: clamp(6rem, 11vw, 11rem); font-weight: 500; letter-spacing: -.08em; line-height: .7; }
.temperature strong::after { content: "°"; color: #ffd0aa; }
.temperature small { padding-bottom: .15rem; font-size: .7rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .11em; }

.visit { position: relative; min-height: 720px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.visit > :not(.visit-orbit) { position: relative; z-index: 2; }
.visit h2 { max-width: 920px; margin: 1rem auto 1.7rem; }
.visit > p { max-width: 590px; color: rgba(16,14,12,.62); line-height: 1.78; }
.visit-orbit { position: absolute !important; z-index: 0 !important; width: min(68vw,760px); aspect-ratio: 1; border: 1px solid rgba(16,14,12,.1); border-radius: 50%; animation: rotate 35s linear infinite; }
.visit-orbit::before, .visit-orbit::after { content: ""; position: absolute; inset: 11%; border: 1px solid rgba(16,14,12,.08); border-radius: 50%; }
.visit-orbit::after { inset: 26%; border-color: rgba(243,91,47,.2); }
.visit-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.visit-orbit i:nth-child(1) { left: 15%; top: 13%; }
.visit-orbit i:nth-child(2) { right: 5%; top: 52%; width: 14px; height: 14px; }
.visit-orbit i:nth-child(3) { left: 46%; bottom: -4px; background: var(--olive); }
.stamp { position: absolute !important; right: 3%; bottom: 9%; width: 126px; height: 126px; border: 1px solid var(--ember); border-radius: 50%; display: grid; place-content: center; gap: .38rem; color: var(--ember); font-size: .58rem; font-weight: 850; letter-spacing: .18em; transform: rotate(-9deg); }
.stamp i { display: block; width: 42px; height: 1px; margin: auto; background: currentColor; }

footer { min-height: 140px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; background: #0b0908; color: white; }
.footer-brand { justify-self: start; }
footer p { margin: 0; color: rgba(255,255,255,.42); font-size: .78rem; }
.back-top { justify-self: end; display: inline-flex; gap: .65rem; font-size: .76rem; color: rgba(255,255,255,.55); }
.back-top span { color: var(--ember-hot); transition: transform .3s var(--ease); }
.back-top:hover span { transform: translateY(-4px); }

.js .title-line > span { transform: translateY(112%); }
.js .hero-reveal { opacity: 0; transform: translateY(22px); }
.is-ready .title-line > span { transform: translateY(0); transition: transform 1.1s var(--ease); }
.is-ready .title-line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .title-line:nth-child(3) > span { transition-delay: .24s; }
.is-ready .hero-reveal { opacity: 1; transform: translateY(0); transition: opacity .8s ease, transform .8s var(--ease); }
.is-ready .hero-content > .hero-reveal:nth-child(1) { transition-delay: .12s; }
.is-ready .hero-content > .hero-reveal:nth-child(3) { transition-delay: .5s; }
.is-ready .hero-content > .hero-reveal:nth-child(4) { transition-delay: .65s; }
.is-ready .fire-seal { transition-delay: .8s; }
.js .reveal { opacity: 0; transform: translateY(42px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .8s ease, transform .9s var(--ease); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .55; box-shadow: 0 0 0 9px rgba(243,91,47,0); } }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .72; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ember { 0% { transform: translate3d(0,0,0) scale(.5); opacity: 0; } 15% { opacity: .9; } 70% { opacity: .35; } 100% { transform: translate3d(35px,-280px,0) scale(1.5); opacity: 0; } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero-image { background-position: 64% 52%; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,10,8,.94), rgba(12,10,8,.35)), linear-gradient(0deg, rgba(12,10,8,.94), transparent 60%); }
  .fire-seal { width: 112px; height: 112px; right: 24px; bottom: 138px; opacity: .75; }
  .section-heading { grid-template-columns: 1fr; gap: 1.8rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card, .menu-card:nth-child(2), .menu-card:nth-child(3), .menu-card:nth-child(4) { min-height: 300px; transform: none; }
  .menu-note { margin-top: 1.5rem; }
  .story { grid-template-columns: 1fr; min-height: 0; }
  .story-copy { padding: 100px 24px; }
  .story-points { padding: 80px 24px; }
  .visit-orbit { width: 86vw; }
}

@media (max-width: 620px) {
  .site-header { top: 10px; width: calc(100% - 24px); height: 62px; padding: 0 15px; }
  .site-header.is-scrolled { top: 7px; }
  .brand { font-size: .78rem; letter-spacing: .14em; }
  .brand-mark { width: 27px; }
  .header-note { font-size: .6rem; }
  .hero { min-height: 760px; }
  .hero-image { inset: -2%; background-position: 67% center; }
  .hero-content { width: calc(100% - 32px); margin: 16px auto 120px; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); line-height: .8; }
  .accent-line > span { padding-left: .35em; }
  .hero-lead { max-width: 94%; font-size: .96rem; line-height: 1.6; }
  .hero-actions { flex-direction: column; max-width: 310px; }
  .button { width: 100%; }
  .fire-seal { display: none; }
  .hero-facts { width: calc(100% - 32px); }
  .hero-facts div { display: block; padding: 1rem .3rem; }
  .hero-facts div + div { padding-left: .65rem; }
  .hero-facts strong, .hero-facts span { display: block; }
  .hero-facts strong { min-width: 0; font-size: 1.55rem; }
  .hero-facts span { margin-top: .3rem; font-size: .5rem; }
  .ticker-track { gap: 1.4rem; padding: .8rem 0; }
  .ticker-track span { font-size: .9rem; }
  .section { width: calc(100% - 32px); padding: 90px 0; }
  .section-heading h2, .visit h2, .story h2 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .menu-card { padding: 22px; min-height: 280px !important; grid-template-columns: 34px 1fr; }
  .menu-title { gap: 1rem; }
  .menu-title h3 { font-size: 2rem; }
  .menu-card p { font-size: .92rem; }
  .story-copy, .story-points { padding-block: 80px; }
  .temperature { gap: .6rem; }
  .temperature strong { font-size: 7rem; }
  .visit { min-height: 620px; }
  .visit-orbit { width: 120vw; }
  .stamp { position: relative !important; right: auto; bottom: auto; margin-top: 2.5rem; }
  footer { grid-template-columns: 1fr auto; min-height: 120px; }
  footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .title-line > span, .js .hero-reveal, .js .reveal { opacity: 1; transform: none; }
  .hero-image { transform: scale(1.03); }
}
