/* =========================================================
   Scuola Pizza — palette drawn from the dining room:
   forest-green walls, oxblood booths, brass light, warm paper.
   ========================================================= */
:root {
  --green-900: #13231b;
  --green-800: #1d3328;
  --green-700: #27443a;
  --red-700: #7d2420;
  --red-600: #942c26;
  --gold: #b8955a;
  --gold-light: #d7bd8a;
  --paper: #f7f2e8;
  --paper-2: #efe7d8;
  --ink: #1f1c18;
  --ink-soft: #5b544a;
  --line: rgba(31, 28, 24, .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
figure { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Reading progress along the top edge */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--page-p, 0)); }

.eyebrow {
  font: 500 .78rem/1.4 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font: 500 .8rem/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 18px 34px; font-size: .86rem; }
.btn-solid { background: var(--red-700); color: #fff; }
.btn-solid:hover { background: var(--red-600); }
.btn-gold { background: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.link-arrow {
  font: 500 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow::after { content: " →"; }
.link-light { color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background .35s, color .35s, box-shadow .35s, padding .35s;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(247, 242, 232, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 36px; height: 29px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: italic 600 1.9rem/1 var(--serif); letter-spacing: .01em; }
.brand-sub { font: 500 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin-top: 5px; opacity: .8; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font: 400 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta { padding: 12px 22px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: var(--vh); min-height: 560px;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  background: var(--green-900);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,18,14,.55) 0%, rgba(10,18,14,.15) 30%, rgba(10,18,14,.35) 55%, rgba(10,18,14,.88) 100%),
    linear-gradient(90deg, rgba(10,18,14,.78) 0%, rgba(10,18,14,.5) 45%, transparent 75%);
}
.hero-content {
  padding-top: 140px; padding-bottom: clamp(56px, 9vh, 110px);
}
.hero h1 {
  font-size: clamp(2.6rem, min(6.2vw, 9vh), 5.6rem);
  font-weight: 600; line-height: 1.06; margin-bottom: .4em;
  max-width: 20ch;
}
.hero h1 em { display: inline-block; margin-top: .06em; }
.hero h1 em { font-weight: 500; color: var(--gold-light); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300; max-width: 34em; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-status { font-size: .88rem; letter-spacing: .06em; opacity: .9; display: flex; align-items: center; gap: 10px; margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa39d; flex: none; }
[data-status].open .dot { background: #6fcf8b; box-shadow: 0 0 0 4px rgba(111,207,139,.22); }
[data-status].closed .dot { background: #e0786d; }

.hero-content > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero-content > :nth-child(1) { animation-delay: .3s; }
.hero-content > :nth-child(2) { animation-delay: .42s; }
.hero-content > :nth-child(3) { animation-delay: .54s; }
.hero-content > :nth-child(4) { animation-delay: .66s; }
.hero-content > :nth-child(5) { animation-delay: .78s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 64px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-light); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Definition ---------- */
.definition { padding: clamp(70px, 9vw, 110px) 0; border-bottom: 1px solid var(--line); }
.def-word { font: italic 600 clamp(2.4rem, 5vw, 3.6rem)/1 var(--serif); color: var(--green-800); margin-bottom: .45em; }
.def-pos { font: 400 1rem var(--sans); color: var(--ink-soft); letter-spacing: .04em; white-space: nowrap; }
.def-pos em { font-family: var(--serif); font-size: 1.15rem; }
.def-text { font: 500 clamp(1.35rem, 2.4vw, 1.8rem)/1.45 var(--serif); color: var(--ink); margin: 0 auto; max-width: 34em; }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story-media { position: relative; padding: 0 12% 18% 0; }
.frame { overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(20,20,10,.45); }
.frame img, [data-parallax] { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { transform: translateY(var(--py, 0)) scale(1.14); will-change: transform; }
.frame-a { aspect-ratio: 4 / 5; }
.frame-b {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4;
  border: 8px solid var(--paper);
}
.story-copy p { color: var(--ink-soft); }
.story-copy h2 { max-width: 15ch; }
.signoff { font: italic 600 1.45rem/1.3 var(--serif); color: var(--red-700) !important; margin-top: 1.4em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats strong { font: 600 2.4rem/1 var(--serif); color: var(--green-800); }
.stats .plus { color: var(--gold); margin-left: 2px; }
.stats span { font-size: .8rem; letter-spacing: .06em; color: var(--ink-soft); line-height: 1.4; display: block; margin-top: 8px; }

/* =========================================================
   Pinned scenes. The section is N screens tall; its inner
   .scene-sticky stays put while main.js marks the active
   [data-step] child, so scrolling changes content, not position.
   ========================================================= */
.scene { position: relative; }
.js .scene { height: calc(var(--steps) * var(--vh) * .85 + var(--vh) * .3); }
.js .scene-sticky { position: sticky; top: 0; height: var(--vh); overflow: hidden; }
.js [data-step] { transition: opacity .8s var(--ease), transform 1s var(--ease), clip-path 1.1s var(--ease), filter .8s var(--ease); }

/* --- Three schools --- */
.scene-pillars { background: var(--green-900); color: var(--paper); }
.pillar-bgs { position: absolute; inset: 0; }
.pillar-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .pillar-bg { opacity: 0; transform: scale(1.12); }
.js .pillar-bg.is-active { opacity: 1; transform: scale(1); transition-duration: 1.2s, 6s; }
.pillar-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,24,18,.92) 0%, rgba(13,24,18,.7) 45%, rgba(13,24,18,.25) 100%); }
.pillar-stage { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.pillar-copy { position: relative; max-width: 560px; min-height: 300px; }
.pillar-num { font: italic 500 1.5rem var(--serif); color: var(--gold-light); }
.pillar h2 { font-size: clamp(4rem, 11vw, 8.5rem); line-height: .9; margin: 8px 0 20px; font-weight: 500; font-style: italic; }
.pillar p { font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 300; color: rgba(247,242,232,.85); max-width: 30em; }
.js .pillar { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(40px); filter: blur(6px); }
.js .pillar.is-active { opacity: 1; transform: none; filter: none; transition-delay: .15s; }
.js .pillar.is-past { transform: translateY(-40px); }
.scene-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 7vh, 64px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(520px, 100%); }
.sp-bar { display: block; height: 3px; border-radius: 3px; background: rgba(247,242,232,.22); overflow: hidden; }
.sp-bar i { display: block; height: 100%; background: var(--gold-light); transform-origin: left; transform: scaleX(var(--f, 0)); }
.sp-label { display: block; margin-top: 12px; font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(247,242,232,.45); transition: color .4s; }
.sp-steps li.is-active .sp-label { color: var(--gold-light); }
.sp-steps li.is-past .sp-label { color: rgba(247,242,232,.75); }
.sp-hint { margin: 0; display: flex; align-items: center; gap: 12px; font-size: .82rem; letter-spacing: .06em; color: rgba(247,242,232,.75); transition: opacity .4s; }
.sp-hint.is-done { opacity: .5; }
.sp-mouse { width: 20px; height: 30px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; flex: none; }
.sp-mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--gold-light); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
html:not(.js) .pillar-bg:not(:first-child), html:not(.js) .scene-progress { display: none; }
html:not(.js) .scene-pillars { padding: 100px 0; }
html:not(.js) .pillar { margin-bottom: 40px; }

/* --- House favorites --- */
.scene-favs { background: var(--paper); }
.favs-grid { height: 100%; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding-top: 70px; padding-bottom: 30px; }
.favs-counter { font: italic 500 1.2rem var(--serif); color: var(--ink-soft); margin: 0 0 18px; }
.favs-current { font-size: 2.6rem; color: var(--red-700); display: inline-block; min-width: 1.6em; }
.favs-texts { position: relative; min-height: 260px; }
.fav-note { font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.fav-text h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: .3em; }
.fav-text p:last-child { color: var(--ink-soft); font-size: 1.08rem; max-width: 28em; }
.js .fav-text { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(30px); }
.js .fav-text.is-active { opacity: 1; transform: none; transition-delay: .2s; }
.js .fav-text.is-past { transform: translateY(-30px); }
.favs-bar { height: 1px; background: var(--line); margin-top: 28px; max-width: 360px; }
.favs-bar span { display: block; height: 2px; margin-top: -.5px; background: var(--red-700); transform-origin: left; transform: scaleX(var(--scene-p, 0)); }
.favs-media { position: relative; height: min(72vh, 680px); }
.fav-img { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(20,20,10,.55); }
.fav-img img { width: 100%; height: 100%; object-fit: cover; }
.js .fav-img { clip-path: inset(100% 0 0 0); z-index: 1; }
.js .fav-img img { transform: scale(1.2); transition: transform 1.6s var(--ease); }
.js .fav-img.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.js .fav-img.is-active img { transform: scale(1); }
.js .fav-img.is-past { clip-path: inset(0 0 0 0); z-index: 1; }
html:not(.js) .favs-grid { display: block; padding: 100px var(--gutter); }
html:not(.js) .favs-media, html:not(.js) .favs-counter, html:not(.js) .favs-bar { display: none; }
html:not(.js) .fav-text { margin-bottom: 30px; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-bottom: .25em; }
.section-sub { color: var(--ink-soft); margin: 0; }

/* ---------- Menu ---------- */
.menu { background: var(--paper-2); position: relative; }
.menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(31,28,24,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.menu .wrap { position: relative; }

/* Category tabs filter the groups below; without JS every group simply shows. */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; }
.menu-tabs button {
  appearance: none; cursor: pointer; border-radius: 999px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line);
  padding: 13px 20px; transition: background .3s, color .3s, border-color .3s;
}
.menu-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.menu-tabs button[aria-selected="true"] { background: var(--green-800); border-color: var(--green-800); color: var(--paper); }
html:not(.js) .menu-tabs { display: none; }

/* The board: a printed-menu card, gold hairline inside the edge */
.menu-board {
  display: grid; gap: clamp(56px, 7vw, 84px);
  padding: clamp(36px, 6vw, 76px) clamp(24px, 5vw, 72px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  outline: 1px solid rgba(184, 149, 90, .45); outline-offset: -12px;
  box-shadow: 0 34px 60px -40px rgba(30, 25, 15, .45);
}
.menu-group[hidden] { display: none; }
.js .menu-group { animation: groupIn .6s var(--ease); }   /* replays whenever a tab brings the group back */
@keyframes groupIn { from { opacity: 0; transform: translateY(14px); } }
.mg-head { margin-bottom: 30px; }
.mg-head h3 {
  display: flex; align-items: center; gap: 22px; margin: 0 0 12px;
  font: italic 500 clamp(2.1rem, 3.8vw, 2.9rem)/1.05 var(--serif); color: var(--green-800);
}
.mg-head h3::after { content: ""; flex: 1; min-width: 40px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .7; }
.mg-note { font-size: .86rem; line-height: 1.6; color: var(--ink-soft); max-width: 72ch; margin: 0; }
.mg-items {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 26px clamp(28px, 3.5vw, 48px); align-items: start;
}
.mi-head { display: flex; align-items: baseline; gap: 10px; }
.mi h4 { font: 600 1.3rem/1.2 var(--serif); margin: 0; font-variant-numeric: lining-nums; }
.mi-dots { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(31, 28, 24, .35); transform: translateY(-4px); }
.mi-price { font: 600 1.18rem/1 var(--serif); color: var(--red-700); white-space: nowrap; font-variant-numeric: lining-nums; }
.mi p { margin: 6px 0 0; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.mi-tag {
  display: inline-block; vertical-align: 3px; margin-left: 4px; padding: 4px 7px 3px; border-radius: 2px;
  font: 500 .58rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  background: var(--gold-light); color: var(--green-900);
}

.menu-foot { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 56px; }

/* ---------- Specials ---------- */
.specials { background: var(--green-900); color: var(--paper); }
.specials-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.specials-intro { position: sticky; top: 100px; }
.specials-intro > p:not(.eyebrow) { color: rgba(247,242,232,.7); font-weight: 300; max-width: 26em; }
.specials-photos { position: relative; margin-top: 30px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--green-800); }
.special-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1s var(--ease), transform 2.5s var(--ease); }
.special-photo.is-active { opacity: 1; transform: none; }
.special-list { list-style: none; margin: 0; padding: 0; }
.special {
  display: grid; grid-template-columns: 70px 1fr; gap: 10px;
  padding: 44px 0; border-bottom: 1px solid rgba(215,189,138,.2);
  min-height: 34vh; align-content: center;
}
.special-num { font: italic 500 2.2rem/1 var(--serif); color: var(--gold); }
.special-when { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; }
.special h3 { font-size: 2.2rem; margin-bottom: .2em; }
.special p:last-child { color: rgba(247,242,232,.72); margin: 0; font-weight: 300; }
.js .special { opacity: .28; transition: opacity .6s var(--ease); }
.js .special.is-active { opacity: 1; }
.fine { font-size: .8rem; color: rgba(247,242,232,.45); margin: 34px 0 0; text-align: right; }

/* ---------- Horizontal gallery ---------- */
.hscroll { background: var(--paper); position: relative; }
.js .hscroll-sticky { position: sticky; top: 0; height: var(--vh); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head { margin-bottom: clamp(24px, 4vh, 44px); }
.hscroll-head h2 { margin: 0; }
.hscroll-track { display: flex; align-items: flex-end; gap: clamp(16px, 2.5vw, 32px); padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.h-card { flex: none; width: clamp(260px, 34vw, 480px); }
.h-card.h-tall { width: clamp(220px, 26vw, 360px); }
.h-img { overflow: hidden; border-radius: var(--radius); height: min(52vh, 460px); background: var(--paper-2); }
.h-tall .h-img { height: min(60vh, 540px); }
.h-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.h-card:hover .h-img img { transform: scale(1.02); }
.h-card figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.h-card figcaption span { font: italic 500 1.05rem var(--serif); color: var(--red-700); margin-right: 10px; }
html:not(.js) .hscroll { padding: 100px 0; }
html:not(.js) .hscroll-track { overflow-x: auto; width: auto; }

/* ---------- Catering ---------- */
.catering { background: var(--paper-2); }
.catering-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.catering-copy > p { color: var(--ink-soft); max-width: 36em; }
.catering-copy h2 { max-width: 16ch; }
.cater-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0; }
.cater-card { background: var(--paper); border: 1px solid var(--line); padding: 24px 22px; border-radius: var(--radius); }
.cater-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.cater-card .price { font: 600 1.3rem/1 var(--serif); color: var(--red-700); margin-bottom: 12px; }
.cater-card .price span { font: 400 .78rem var(--sans); color: var(--ink-soft); }
.cater-card p:last-child { font-size: .86rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.cater-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.catering-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(20,20,10,.45); }

/* ---------- Quote ---------- */
/* Award band: black, gold and cream, like a framed certificate in a trattoria */
.award-band {
  --noir: #15120e;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 22% 50%, #2a231a 0%, var(--noir) 62%);
  color: var(--paper); padding: clamp(80px, 10vw, 128px) 0;
}
.award-band::before, .award-band::after {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 189, 138, .55), transparent);
}
.award-band::before { top: 28px; }
.award-band::after { bottom: 28px; }
.award-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.award-frame {
  position: relative; padding: 14px; background: linear-gradient(145deg, #d9bf86, #8c6a32 45%, #e3cc96 70%, #9b7a3f);
  border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
.award-frame img { width: 100%; border-radius: 2px; }
.award-copy h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: .3em; }
.award-copy h2 em { color: var(--gold-light); font-weight: 500; }
.award-meta { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.award-lede { font-size: 1.08rem; font-weight: 300; color: rgba(247, 242, 232, .82); max-width: 34em; }
.award-quote { margin: 30px 0 28px; padding-left: 22px; border-left: 2px solid var(--gold); }
.award-quote p { font: italic 500 clamp(1.3rem, 2.2vw, 1.7rem)/1.4 var(--serif); margin-bottom: 10px; }
.award-quote footer { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 242, 232, .6); }

/* Award pill in the hero */
.hero-award {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  padding: 10px 18px 10px 14px; border: 1px solid rgba(215, 189, 138, .55); border-radius: 999px;
  background: rgba(21, 18, 14, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--paper); text-decoration: none; font-size: .86rem; transition: background .25s, border-color .25s;
}
.hero-award:hover { background: rgba(21, 18, 14, .8); border-color: var(--gold-light); }
.hero-award strong { color: var(--gold-light); font-weight: 600; margin-right: 4px; }
.ha-stars { color: var(--gold); letter-spacing: .1em; font-size: .8rem; }
.hero-award + .hero-status { margin-top: 14px; }

/* ---------- Order (ChowNow) ---------- */
.order-band { background: var(--green-800); color: var(--paper); padding: clamp(80px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.order-band::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: url("../img/pizza-supreme.webp") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 90%); mask-image: linear-gradient(90deg, transparent 30%, #000 90%);
}
.order-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.order-copy h2 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
.order-copy h2 em { color: var(--gold-light); font-weight: 500; }
.order-copy > p:not(.eyebrow) { color: rgba(247,242,232,.75); font-weight: 300; max-width: 30em; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.order-steps { list-style: none; margin: 0; padding: 0; }
.order-steps li { display: grid; grid-template-columns: 56px 1fr; padding: 22px 0; border-bottom: 1px solid rgba(215,189,138,.2); }
.order-steps li:first-child { border-top: 1px solid rgba(215,189,138,.2); }
.order-steps span { font: italic 500 1.6rem/1.2 var(--serif); color: var(--gold); }
.order-steps h3 { font-size: 1.6rem; margin-bottom: .15em; }
.order-steps p { margin: 0; color: rgba(247,242,232,.7); font-weight: 300; font-size: .95rem; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
address { font: 500 1.75rem/1.3 var(--serif); font-style: normal; margin-bottom: 10px; }
address a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-rows { margin: 28px 0 0; border-top: 1px solid var(--line); }
.contact-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-rows span { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.contact-rows a { text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.contact-rows a:hover { color: var(--red-700); }
.visit-hours { padding-top: 8px; }
.hours-title { font-size: 2rem; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hours-status { font: 400 .8rem var(--sans); letter-spacing: .04em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours tr.today th, .hours tr.today td { color: var(--red-700); font-weight: 600; }

/* ---------- Map band ---------- */
.visit { padding-bottom: clamp(56px, 7vw, 90px); }

/* Contact Us (inside Visit) */
.contact-block {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(56px, 7vw, 88px); padding: clamp(28px, 4vw, 52px);
  background: var(--paper-2); border-top: 3px solid var(--gold); border-radius: var(--radius);
}
.contact-intro h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.contact-intro p { color: var(--ink-soft); }
.contact-intro a { color: var(--red-700); text-decoration: none; font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; align-self: center; gap: 14px 22px; }
.map-band { display: grid; grid-template-columns: minmax(400px, 1fr) 1.7fr; min-height: clamp(420px, 62vh, 580px); background: var(--green-800); }
.map-band iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.4) sepia(.15) contrast(1.02); }
.directions {
  color: var(--paper); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.directions h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: .4em; }
.directions address { font: 500 1.45rem/1.35 var(--serif); margin-bottom: 10px; }
.dir-note { color: rgba(247,242,232,.7); font-weight: 300; font-size: .95rem; margin-bottom: 28px; }
.dir-call { font-size: .9rem; color: rgba(247,242,232,.7); margin: 0; }
.dir-call a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(215,189,138,.4); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(215,189,138,.35); color: var(--paper); transition: background .25s, color .25s, border-color .25s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.social svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(247,242,232,.75); padding: 80px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.brand-light { color: var(--paper); }
.footer-blurb { margin-top: 20px; max-width: 26em; font-weight: 300; }
.site-footer h4 { font: 500 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(215,189,138,.18); font-size: .8rem; }
.footer-base p { margin: 0; }

.mobile-order { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  [data-parallax] { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cater-cards { grid-template-columns: 1fr; }
  .cater-card { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
  .cater-card h3 { grid-column: 1; }
  .cater-card .price { grid-column: 2; grid-row: 1; text-align: right; }
  .cater-card p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: inherit; padding: 10px; z-index: 2;
  }
  .nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--green-900); color: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a:not(.btn) { font: italic 500 2.2rem/1 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav.open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block for the fixed overlay */
  body.nav-open .site-header { color: var(--paper); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.nav-open .brand { position: relative; z-index: 2; }

  .story-grid, .catering-grid, .visit-grid, .order-grid { grid-template-columns: 1fr; }
  .contact-block { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: 1fr; }
  .award-frame { max-width: 360px; margin: 0 auto; }
  .story-media { max-width: 560px; }
  .catering-img { aspect-ratio: 16 / 10; order: -1; }

  /* Specials: photo pins to the top, list scrolls beneath it */
  .specials-grid { grid-template-columns: 1fr; gap: 0; }
  .specials-intro { position: static; }
  .specials-photos { position: sticky; top: 64px; z-index: 2; aspect-ratio: 16 / 9; box-shadow: 0 20px 30px -20px rgba(0,0,0,.6); }
  .special { min-height: 0; padding: 34px 0; }

  /* Favorites: photo on top, copy beneath, still pinned */
  .favs-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; gap: 22px; padding-top: 76px; padding-bottom: 24px; }
  .favs-media { order: -1; height: 44vh; }
  .favs-counter { margin-bottom: 8px; }
  .favs-current { font-size: 2rem; }
  .favs-texts { min-height: 200px; }
  .favs-copy .eyebrow { display: none; }
  .fav-text h2 { font-size: 2.4rem; }
  .fav-text p:last-child { font-size: 1rem; }

  .pillar-shade { background: linear-gradient(180deg, rgba(13,24,18,.55) 0%, rgba(13,24,18,.88) 70%); }
  .pillar-stage { justify-content: flex-end; }
  .scene-progress { flex-direction: column; align-items: stretch; gap: 16px; bottom: 92px; }
  .pillar-stage { padding-bottom: calc(16vh + 60px); }
  .sp-steps { width: 100%; }
  .sp-label { letter-spacing: .14em; font-size: .68rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-band { grid-template-columns: 1fr; }
  .map-band iframe { height: 380px; min-height: 0; }
  .directions { padding: 56px var(--gutter); }
}

@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .brand-name { font-size: 1.6rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .24em; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); line-height: 1.1; }
  .hero .eyebrow { letter-spacing: .18em; font-size: .72rem; }
  .hero .eyebrow::before { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }
  .stats { gap: 12px; }
  .stats strong { font-size: 1.9rem; }
  .menu-tabs { gap: 6px; margin-bottom: 28px; }
  .menu-tabs button { padding: 11px 14px; letter-spacing: .12em; }
  .menu-board { padding: 36px 20px; outline-offset: -8px; }
  .mi h4 { font-size: 1.22rem; }
  .special { grid-template-columns: 48px 1fr; }
  .special h3 { font-size: 1.8rem; }
  .fine { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .menu-foot { flex-direction: column; gap: 22px; }
  .order-actions .btn { width: 100%; }
  .mobile-order {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; height: 52px;
    background: var(--red-700); color: #fff; border-radius: var(--radius); text-decoration: none;
    font: 500 .82rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mobile-order.show { transform: none; }
  .nav-cta { display: none; }
}

