/* ==========================================================================
   IL VIVO — Italian Urban Style
   v3 — real slate background, scroll-rotating pizza, editorial type
   ========================================================================== */

:root {
  --rosso: #B11E2F;          /* deeper, more classic Italian red */
  --rosso-deep: #7A1420;
  --gold: #C9A96A;            /* restrained warm gold, not flashy */
  --gold-deep: #9F7E3E;
  --gold-light: #E4CC95;

  --cream: #FAF6F0;
  --cream-warm: #F3ECE1;
  --cream-deep: #EBE2D2;

  --slate: #1B1E22;           /* near-black for dark sections outside hero */
  --slate-deep: #12141A;
  --ink: #1A1510;
  --ink-2: #4A4035;
  --ink-3: #8A7E70;
  --ink-4: #B5AA9A;

  --white: #FFFFFF;

  --r: 14px;
  --r-lg: 20px;

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 21, 16, 0.08);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
/* Nav logo — script signature mark (wordmark baked into the image),
   with a small-caps "Italian Urban Style" subtitle to its right,
   separated by a hairline divider. */
.nav-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
}
.nav-logo-mark {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: filter 0.4s ease;
  /* On the dark hero: recolour red → gold-light so the signature reads.
     On the cream scrolled state: original red returns. */
  filter: brightness(0) saturate(100%) invert(86%) sepia(25%) saturate(474%) hue-rotate(352deg) brightness(93%) contrast(90%);
}
.nav.scrolled .nav-logo-mark { filter: none; }

.nav-logo-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1.35;
  transition: color 0.4s ease, border-color 0.4s ease;
  padding-left: 16px;
  margin-left: 16px;
  border-left: 1px solid rgba(228, 204, 149, 0.35);
  max-width: 9em; /* forces wrap onto two lines for balanced mass */
  white-space: normal;
}
.nav.scrolled .nav-logo-sub {
  color: var(--ink-3);
  border-left-color: rgba(26, 21, 16, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--ink-2); }
.nav.scrolled .nav-links a:hover { color: var(--rosso); }
.nav.scrolled .nav-links a::after { background: var(--rosso); }

.nav-cta {
  padding: 10px 22px;
  background: var(--rosso);
  color: var(--white) !important;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover {
  background: var(--rosso-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(177, 30, 47, 0.35);
}
.nav-cta::after { display: none; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}
.lang-toggle button {
  padding: 2px 0;
  background: transparent;
  border: none;
  font: inherit;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
  cursor: pointer;
}
.lang-toggle button:hover { color: rgba(255, 255, 255, 0.85); }
.lang-toggle button.active { color: var(--gold-light); }
.lang-toggle span {
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  user-select: none;
}
.nav.scrolled .lang-toggle button { color: var(--ink-3); }
.nav.scrolled .lang-toggle button:hover { color: var(--ink); }
.nav.scrolled .lang-toggle button.active { color: var(--rosso); }
.nav.scrolled .lang-toggle span { color: rgba(26, 21, 16, 0.3); }

.nav-hamburger {
  display: none;
  width: 28px; height: 20px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav.scrolled .nav-hamburger span { background: var(--ink); }

/* ==========================================================================
   HERO — sticky-pinned scroll-driven sequence
   Dark slate background (restored) paired with the editorial restraint
   of the rest of the site — no gold ring ornaments, softer scroll hint,
   italic accent in cream italic rather than flashy gold.
   ========================================================================== */

.hero-scroll {
  position: relative;
  height: 400vh;
  background: var(--slate-deep);
}

.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  max-height: 100vh;
  background: var(--slate-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

/* Real slate photo — full bleed, slightly darkened for contrast */
.hero-slate {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.68) contrast(1.15);
  z-index: 1;
}

/* Vignette — restrained: dark falloff + type-side gradient for readability */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(18, 20, 26, 0.7) 0%, rgba(18, 20, 26, 0.2) 38%, transparent 58%),
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(18, 20, 26, 0.6) 100%),
    linear-gradient(180deg, rgba(18, 20, 26, 0.3) 0%, transparent 22%, transparent 75%, rgba(18, 20, 26, 0.85) 100%);
  pointer-events: none;
}

/* ---------- Layout ---------- */
.hero-layout {
  position: relative;
  z-index: 10;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(16px, 3vh, 32px)) 40px clamp(20px, 4vh, 50px);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: clamp(0px, 2vh, 30px);
}

/* ---------- Pizza — floats right, bleeds off viewport ---------- */
.hero-pizza {
  position: absolute;
  right: clamp(-200px, -20vh, -120px);
  top: 50%;
  transform: translateY(-50%);
  height: clamp(600px, 95vh, 1000px);
  width: clamp(600px, 95vh, 1000px);
  aspect-ratio: 1/1;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.4s 0.8s both;
  pointer-events: none;
}

/* ---------- Eyebrow — small-caps label, hairline rule ---------- */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 3vh, 32px);
  opacity: 0;
  animation: fadeIn 1s 0.2s both;
}
.eyebrow-line {
  width: 44px;
  height: 1px;
  background: rgba(228, 204, 149, 0.55);
  flex-shrink: 0;
}
.eyebrow-text {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(228, 204, 149, 0.85);
}

/* ---------- Title — white serif, italic accent in warm cream ---------- */
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(18px, 3vh, 32px);
  color: var(--white);
  font-size: clamp(2.6rem, min(6.8vw, 10vh), 6rem);
}
.hero-title .tr {
  display: block;
  overflow: hidden;
  /* Keep the phrase on one line even if its natural width brushes the
     container edge — the font-size clamp guarantees it stays inside
     the viewport on narrower screens. */
  white-space: nowrap;
}
.hero-title .tw {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.12s);
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.hero-title .tr.accent .tw {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

/* Short viewports — compress hero typography + spacing so everything
   fits in 100vh and doesn't get clipped by overflow:hidden on the hero */
@media (max-height: 800px) {
  .hero-title { font-size: clamp(2rem, 7vh, 3.8rem); margin-bottom: 12px; }
  .hero-lede { font-size: 0.95rem; margin-bottom: 14px; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero-highlight { margin-bottom: 16px; min-height: 32px; }
  .hl-text { font-size: 0.98rem; }
  .hero-layout { padding: calc(var(--nav-h) + 12px) 40px 18px; }
  .scroll-hint { bottom: 18px; }
  .scroll-hint::after { height: 26px; }
  .pizza-label { bottom: 16px; right: 24px; }
}
@media (max-height: 640px) {
  .hero-title { font-size: clamp(1.8rem, 6.5vh, 3rem); }
  .hero-lede { font-size: 0.88rem; }
  .hero-highlight { display: none; } /* drop the rotating line on very short screens */
  .scroll-hint { display: none; }
}

/* ---------- Lede ---------- */
.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  line-height: 1.5;
  margin-bottom: clamp(20px, 3.5vh, 36px);
  font-weight: 400;
  opacity: 0;
  animation: fadeIn 1s 1.1s both;
}

/* ---------- Rotating highlight ---------- */
.hero-highlight {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(22px, 4vh, 40px);
  min-height: 40px;
  opacity: 0;
  animation: fadeIn 1s 1.4s both;
}
.hl-bar {
  width: 28px;
  height: 1px;
  background: rgba(228, 204, 149, 0.7);
  flex-shrink: 0;
}
.hl-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  line-height: 1.4;
}
.hl-text.fading { opacity: 0; transform: translateY(-6px); }

/* ---------- Actions ---------- */
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s 1.7s both;
}

@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Pizza ring — removed in the editorial refinement (was too ornamental) ---------- */
.pizza-ring { display: none; }

/* ---------- Pizza stage — heavy shadow for drama on dark slate ---------- */
.pizza-stage {
  position: relative;
  width: 90%;
  height: 90%;
  will-change: transform;
  filter:
    drop-shadow(0 50px 80px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 40px rgba(0, 0, 0, 0.4));
}

.pizza {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  pointer-events: none;
}
.pizza.active { opacity: 1; }

/* ---------- Pizza label — gold-light serif italic ---------- */
.pizza-label {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  opacity: 0;
  animation: fadeIn 1s 1.8s both;
  pointer-events: none;
  z-index: 15;
}
.pl-num {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(228, 204, 149, 0.6);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.pl-num.fading { opacity: 0; transform: translateY(-4px); }
.pl-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.pl-name.fading { opacity: 0; transform: translateY(-4px); }

/* ---------- Scroll hint — minimal, no pulse ---------- */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: hintIn 1s 2s both;
  transition: opacity 0.6s ease;
}
.scroll-hint.hide { opacity: 0; pointer-events: none; }
@keyframes hintIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(228, 204, 149, 0.7) 0%, transparent 100%);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 60px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(100%); }

.btn-cream {
  background: var(--cream);
  color: var(--slate-deep);
}
.btn-cream:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(250, 246, 240, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-rosso {
  background: linear-gradient(135deg, var(--rosso) 0%, var(--rosso-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(177, 30, 47, 0.3);
}
.btn-rosso:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(177, 30, 47, 0.45);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--slate-deep);
  box-shadow: 0 6px 20px rgba(201, 169, 106, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 106, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-ink {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.btn-ink:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 21, 16, 0.25);
}
.btn-line:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */
.anim {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim.anim-left { transform: translateX(-40px); }
.anim.anim-left.visible { transform: translateX(0); }
.anim.anim-right { transform: translateX(40px); }
.anim.anim-right.visible { transform: translateX(0); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section { padding: 140px 0; position: relative; }
.section-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--rosso);
}
.section-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosso);
}
.section-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-2);
  max-width: 560px;
  line-height: 1.55;
  font-weight: 400;
}

/* ==========================================================================
   SECTION HEAD — shared chrome for non-editorial sections
   ========================================================================== */
.section-head {
  max-width: 720px;
  margin-bottom: 72px;
}
.section-head .section-title { margin-bottom: 24px; }
.section-head .section-sub { margin-top: 4px; }

/* Soften the section tag — let it recede, read as a label not an accent.
   Hairline before the tag is gold so it reads as a deliberate accent,
   not a stray grey rule clashing with the border-top above the aside. */
.section-tag {
  color: var(--ink-3);
}
.section-tag::before {
  background: var(--gold);
}

/* Section title italics stay red, but slightly lower-contrast for calm. */
.section-title em {
  color: var(--rosso);
}

/* ==========================================================================
   STORY — editorial two-column, hairline rules, no gradient block
   ========================================================================== */
.story { background: var(--cream); overflow: hidden; }
.story .section-head { margin-bottom: 56px; }

.story-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 96px;
  align-items: start;
}

.story-aside {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  padding-top: 24px;
  border-top: 1px solid rgba(26, 21, 16, 0.14);
}
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 56px;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.story-facts {
  margin: 0;
  padding: 0;
}
.story-facts .fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 21, 16, 0.08);
  align-items: baseline;
}
.story-facts .fact:last-child { border-bottom: none; }
.story-facts dt {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.story-facts dd {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.story-facts .fact-sub {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 8px;
  letter-spacing: 0.08em;
}

.story-body {
  padding-top: 24px;
  border-top: 1px solid rgba(26, 21, 16, 0.14);
}
.story-body .section-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 40px;
  font-weight: 700;
}
.story-body p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 58ch;
}
.story-body p.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 32px;
}

/* ==========================================================================
   MENU — Signatures (sticky aside) + scrolling list + PDF CTA
   Left column sticks while the signatures list scrolls beside it.
   ========================================================================== */
.menu { background: var(--cream); overflow: visible; }

/* ==========================================================================
   SIGNATURE SHOWCASE — arched, staggered editorial grid.
   Each dish sits inside a Roman-arch crop; columns are offset vertically so
   the grid reads as an editorial spread, not a menu. Index numbers + a hover
   interaction (photo zooms inside the arch, card lifts, gold rule under name).
   ========================================================================== */
.menu-intro {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 88px);
  text-align: center;
}
.menu-intro .section-tag { justify-content: center; }
.menu-intro .section-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 24px;
}
.menu-intro .section-sub {
  margin: 0 auto;
  max-width: 56ch;
}
.menu-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 44px;
  align-items: start;
  counter-reset: dish;
}
/* Staggered rhythm — middle column drops, right column lifts slightly */
.dish-card:nth-child(3n - 1) { margin-top: 72px; }
.dish-card:nth-child(3n)     { margin-top: 28px; }

.dish-card {
  counter-increment: dish;
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dish-card:hover { transform: translateY(-8px); }

.dish-card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  /* Roman arch — fully rounded top, near-square base */
  border-radius: 100vw 100vw 5px 5px;
  background: var(--cream-warm);
  box-shadow: 0 24px 50px -28px rgba(26, 21, 16, 0.5);
}
.dish-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dish-card:hover .dish-card-media img { transform: scale(1.07); }

.dish-card-body { padding: 22px 6px 0; }
.dish-card-body::before {
  content: counter(dish, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.dish-card-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
  /* animated gold underline on hover */
  background-image: linear-gradient(var(--gold-deep), var(--gold-deep));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dish-card:hover .dish-card-name { background-size: 100% 1px; }
.dish-card-name em { font-style: italic; font-weight: 400; color: var(--rosso); }
.dish-card-name .row-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid rgba(26, 21, 16, 0.18);
  border-radius: 2px;
  vertical-align: 4px;
  white-space: nowrap;
}
.dish-card-desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38ch;
}

@media (hover: none) {
  .dish-card-name { background-size: 100% 1px; }
}
@media (max-width: 980px) {
  .menu-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .dish-card:nth-child(3n - 1),
  .dish-card:nth-child(3n) { margin-top: 0; }
  .dish-card:nth-child(2n) { margin-top: 56px; }
}
@media (max-width: 560px) {
  .menu-showcase { grid-template-columns: 1fr; gap: 40px; }
  .dish-card:nth-child(2n) { margin-top: 0; }
  .dish-card-media { aspect-ratio: 4 / 5; border-radius: 100vw 100vw 5px 5px; }
}

/* Intro CTAs — sit under the section paragraph, centered */
.menu-intro .menu-end-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.menu-intro .menu-end-actions .btn svg { transition: transform 0.3s ease; }
.menu-intro .menu-end-actions .btn:hover svg { transform: translate(2px, -2px); }

/* Bottom strip — takeaway / specials meta, centered */
.menu-end {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(26, 21, 16, 0.12);
}
.menu-end-meta {
  margin: 0 auto;
  max-width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}
.menu-end-meta > div { display: grid; gap: 6px; }
.menu-end-meta dt {
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.menu-end-meta dd {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   CRAFT — scroll-sticky crossfade (3 panels cycle as user scrolls)
   Outer .craft-scroll is 300vh tall; inner .craft-sticky pins for the
   duration. Scroll progress drives which .craft-panel has .active.
   ========================================================================== */
.craft {
  background: var(--cream-warm);
  position: relative;
  overflow: visible;
  padding: 0; /* craft-scroll handles vertical rhythm */
}

.craft-scroll {
  position: relative;
  height: 300vh; /* 3 screens of scroll per panel */
}
.craft-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
}
.craft-sticky > .container { width: 100%; }

.craft-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 96px;
  align-items: center;
}

.craft-aside {
  padding-top: 24px;
  border-top: 1px solid rgba(26, 21, 16, 0.16);
  max-width: 440px;
}
.craft-aside .section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 700;
}
.craft-aside .section-sub {
  margin-bottom: 48px;
  max-width: 40ch;
}

/* Progress — serif italic numerals with an active underline */
.craft-progress {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.craft-dot {
  padding: 10px 16px 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-4);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  font-feature-settings: "tnum";
}
.craft-dot:hover { color: var(--ink); }
.craft-dot.active { color: var(--ink); }
.craft-dot.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

/* Stage — all panels stack in the same grid cell; only .active is visible */
.craft-stage {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  align-items: start;
}
.craft-panel {
  grid-area: stack;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  max-width: 600px;
}
.craft-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.craft-panel .craft-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.6rem;
  color: var(--ink-3);
  line-height: 1;
  padding: 0;
  margin-bottom: 28px;
  display: block;
  font-feature-settings: "tnum";
}
.craft-panel h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.craft-panel h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosso);
}
.craft-panel p {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 56ch;
}
.craft-panel .craft-meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 20px;
  border-top: 1px solid rgba(26, 21, 16, 0.14);
  display: inline-block;
}

/* ==========================================================================
   REVIEWS — single rotating quote
   ========================================================================== */
.reviews { background: var(--cream); position: relative; overflow: hidden; }

.review-stage {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 16px 0 0;
}
.review-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 56px;
  font-family: var(--sans);
  padding: 10px 18px;
  border: 1px solid rgba(26, 21, 16, 0.1);
  border-radius: 2px;
}
.review-stars {
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 3px;
}
.review-rating-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.review-rating-src {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.review-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
  max-width: 22ch;
  min-height: 3.6em;
  transition: opacity 0.45s ease, transform 0.45s ease;
  padding: 0;
}
.review-quote.fading {
  opacity: 0;
  transform: translateY(-6px);
}

.review-attr {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
  transition: opacity 0.45s ease;
}
.review-attr.fading { opacity: 0; }
.review-name { color: var(--ink); }
.review-sep { color: var(--ink-4); }

.review-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.review-dot {
  width: 28px;
  height: 2px;
  padding: 0;
  background: rgba(26, 21, 16, 0.18);
  border-radius: 0;
  border: none;
  transition: background 0.3s ease, width 0.3s ease;
  cursor: pointer;
}
.review-dot.active { background: var(--ink); width: 44px; }
.review-dot:hover:not(.active) { background: var(--ink-3); }

/* ==========================================================================
   CONTACT — hairline info list + minimal map
   ========================================================================== */
.contact { background: var(--cream); overflow: hidden; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}

.contact-info .info-list {
  margin: 0 0 40px 0;
  padding: 0;
  border-top: 1px solid rgba(26, 21, 16, 0.14);
  display: block;
}
.contact-info .info-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 21, 16, 0.1);
  align-items: baseline;
}
.contact-info dt {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.contact-info dd {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.contact-info dd a { color: var(--ink); transition: color 0.3s ease; }
.contact-info dd a:hover { color: var(--rosso); }
.contact-info .dd-sub {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 10px;
  vertical-align: 1px;
}
.contact-info .hour-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.98rem;
  padding: 6px 0;
}
.contact-info .hour-line:not(:last-child) {
  border-bottom: 1px solid rgba(26, 21, 16, 0.06);
}
.contact-info .hour-closed,
.contact-info .hour-closed span {
  color: var(--ink-3);
  font-style: italic;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Map — stretches to match the info column height so the two sides
   sit at equal heights for a balanced composition. Minimum height
   keeps it usable if the info is very short. */
.contact-map {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(26, 21, 16, 0.12);
  background: var(--cream-warm);
  transition: border-color 0.3s ease;
}
.contact-map:hover { border-color: var(--ink); }
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(0.92) brightness(1.05);
  transition: filter 0.5s ease;
  pointer-events: none;
}
.contact-map:hover iframe { filter: grayscale(60%) contrast(1) brightness(1); }
.contact-map-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  background: var(--cream);
  padding: 16px 20px;
  border: 1px solid rgba(26, 21, 16, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.map-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.map-addr {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--slate-deep);
  color: var(--cream);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-type-bg {
  position: absolute;
  bottom: -10%;
  left: -2%;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(10rem, 25vw, 24rem);
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
.footer-brand .footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  line-height: 1;
  margin-bottom: 24px;
}
.footer-logo-mark {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.footer-logo-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  padding-left: 2px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  font-family: var(--serif);
  font-style: italic;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.footer-col li a { transition: color 0.3s; display: inline-block; }
.footer-col li a:hover { color: var(--gold-light); }
.footer-col li.hours-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.footer-col li.hours-line span:last-child {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
}
.footer-email { font-size: 0.8rem; word-break: break-all; }
.footer-addr { margin-top: 12px; }
.footer-addr em {
  font-family: var(--serif);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  color: rgba(255, 255, 255, 0.7);
}
.footer-socials a:hover {
  background: var(--rosso);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-credit {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
}
.footer-credit a { transition: color 0.3s; }
.footer-credit a:hover { color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* ==========================================================================
   FEATURES — scroll-sticky crossfade between 2 panels
   Fresh Pasta + Porchetta share one dynamic section. Outer .features-scroll
   is 200vh (≈1 screen per panel). Inner .features-sticky pins for the
   duration. Each .features-panel fades + slides in as it becomes active.
   ========================================================================== */
.features-stack {
  background: var(--cream-warm);
  position: relative;
  overflow: visible;
  padding: 0; /* features-scroll handles vertical rhythm */
}

.features-scroll {
  position: relative;
  height: 200vh; /* 2 panels × 1 screen each */
}
.features-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}
.features-sticky > .container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 20px;
}

/* Stage — both panels stack in the same grid cell; only .active is visible.
   flex: 1 fills remaining space so pagination always sits at the bottom. */
.features-stage {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
}
.features-panel {
  grid-area: stack;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.features-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Inner stagger — gallery and body come in from different sides for drama.
   Default panel: gallery left (slide from -20px), body right (slide from +20px).
   Reversed panel: mirrored. */
.features-panel .feature-gallery {
  transform: translateX(-28px);
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.features-panel .feature-body {
  transform: translateX(28px);
  transition: transform 0.85s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.features-panel.active .feature-gallery,
.features-panel.active .feature-body {
  transform: translateX(0);
}
.features-panel .feature-layout-reverse .feature-gallery { transform: translateX(28px); }
.features-panel .feature-layout-reverse .feature-body { transform: translateX(-28px); }
.features-panel.active .feature-layout-reverse .feature-gallery,
.features-panel.active .feature-layout-reverse .feature-body { transform: translateX(0); }

/* Pagination — dedicated bottom strip, never overlaps content */
.features-progress {
  list-style: none;
  flex: 0 0 auto;
  align-self: flex-end;
  display: flex;
  gap: 4px;
  padding: 8px 0 0;
  margin: 16px 0 0;
  border-top: 1px solid rgba(26, 21, 16, 0.08);
  z-index: 3;
  position: relative;
}
.features-dot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 14px 12px;
  font-family: var(--sans);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}
.features-dot-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--ink-4);
  font-feature-settings: "tnum";
  transition: color 0.3s ease;
}
.features-dot-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
  transition: color 0.3s ease;
}
.features-dot:hover .features-dot-num,
.features-dot:hover .features-dot-label { color: var(--ink); }
.features-dot.active .features-dot-num,
.features-dot.active .features-dot-label { color: var(--ink); }
.features-dot.active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

/* ==========================================================================
   FEATURE — inner layout used inside each .features-panel
   Two-column: gallery + body. .feature-layout-reverse swaps columns.
   ========================================================================== */
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: center;
}
.feature-layout-reverse .feature-gallery { order: 2; }
.feature-layout-reverse .feature-body { order: 1; }

/* Gallery — primary image with secondary inset like a contact sheet.
   Height-capped so the whole panel fits inside the 100vh sticky without
   bleeding into the pagination strip below. Secondary sits inside the
   gallery bounds (no negative bottom overhang) to guarantee clearance. */
.feature-gallery {
  position: relative;
  padding: 16px 16px 16px 0;
}
.feature-img {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-deep);
  box-shadow: 0 30px 60px -30px rgba(26, 21, 16, 0.35);
  position: relative;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature-img:hover img { transform: scale(1.03); }

.feature-img-primary {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-height: min(58vh, 620px);
}
.feature-img-primary img { height: 100%; width: 100%; }

.feature-img-secondary {
  position: absolute;
  right: -12px;
  bottom: 12px;
  width: 40%;
  aspect-ratio: 1 / 1;
  max-height: 26vh;
  border: 5px solid var(--cream-warm);
  box-shadow: 0 20px 40px -20px rgba(26, 21, 16, 0.45);
}
.feature-layout-reverse .feature-gallery { padding: 16px 0 16px 16px; }
.feature-layout-reverse .feature-img-secondary {
  right: auto;
  left: -12px;
  bottom: 12px;
}

.feature-img figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(26, 21, 16, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 2px;
}

/* Body — editorial copy block. Tighter spacing for the 100vh fit. */
.feature-body {
  padding: 12px 0 40px;
  max-width: 520px;
}
.feature-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 22px;
}
.feature-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--rosso);
}
.feature-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 44ch;
}

.feature-facts {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 21, 16, 0.14);
}
.feature-fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 21, 16, 0.08);
  align-items: baseline;
}
.feature-fact:last-child { border-bottom: none; }
.feature-fact dt {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.feature-fact dd {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.feature-fact dd a {
  color: inherit;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.feature-fact dd a:hover {
  color: var(--rosso);
  border-color: var(--rosso);
}

@media (max-width: 1080px) {
  .story-editorial { gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .feature-layout { gap: 56px; }
}

@media (max-width: 960px) {
  section { padding: 100px 0; }
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .lang-toggle { display: none; }

  /* Nav lockup — slightly tighter on tablet */
  .nav-logo-mark { height: 38px; }
  .nav-logo-sub {
    font-size: 0.54rem;
    letter-spacing: 0.26em;
    padding-left: 12px;
    margin-left: 12px;
    max-width: 8em;
  }

  /* Shorter scroll container on tablet/mobile — less scroll-distance needed */
  .hero-scroll { height: 280vh; }

  /* Hero becomes vertical stack on tablet/mobile */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: calc(var(--nav-h) + 20px) 24px 60px;
    text-align: left;
    align-items: start;
  }
  .hero-text { padding-right: 0; order: 2; }
  .hero-pizza { order: 1; max-width: 360px; }
  .scroll-hint { display: none; }
  .pizza-label { bottom: 8px; right: 8px; padding: 8px; }
  .pl-name { font-size: 1.05rem; }

  .section-head { margin-bottom: 48px; }
  .section-title { font-size: clamp(2.4rem, 8vw, 4rem); }
  .section-sub { font-size: 1.1rem; }

  /* Story — stack. Kill sticky aside. */
  .story-editorial { grid-template-columns: 1fr; gap: 48px; }
  .story-aside { position: static; }
  .pull-quote { max-width: none; }
  .story-facts .fact { grid-template-columns: 100px 1fr; gap: 20px; }

  /* Bottom strip stacks */
  .menu-end { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; padding-top: 32px; }
  .menu-end-meta { grid-template-columns: 1fr; gap: 20px; }

  /* Features — unpin the sticky; show both panels stacked, no crossfade */
  .features-stack { padding: 80px 0; }
  .features-scroll { height: auto; }
  .features-sticky { position: static; height: auto; display: block; overflow: visible; }
  .features-stage { display: block; min-height: 0; }
  .features-panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 21, 16, 0.14);
    margin-top: 32px;
  }
  .features-panel:first-child { border-top: none; margin-top: 0; padding-top: 0; }
  .features-panel .feature-gallery,
  .features-panel .feature-body,
  .features-panel .feature-layout-reverse .feature-gallery,
  .features-panel .feature-layout-reverse .feature-body { transform: none; }
  .features-progress { display: none; }

  /* Feature layout — stack columns, kill the collage offset */
  .feature-layout { grid-template-columns: 1fr; gap: 32px; }
  .feature-layout-reverse .feature-gallery { order: 1; }
  .feature-layout-reverse .feature-body { order: 2; }
  .feature-gallery,
  .feature-layout-reverse .feature-gallery { padding: 0; }
  .feature-img-primary { aspect-ratio: 4 / 3; max-height: none; }
  .feature-img-secondary {
    position: static;
    width: 60%;
    margin-top: 16px;
    margin-left: auto;
    max-height: none;
    border-width: 4px;
  }
  .feature-layout-reverse .feature-img-secondary {
    margin-left: 0;
    margin-right: auto;
  }
  .feature-body { max-width: none; padding: 8px 0 0; }
  .feature-fact { grid-template-columns: 100px 1fr; gap: 20px; }

  /* Craft — unpin sticky and show all 3 panels stacked normally */
  .craft { padding: 80px 0; }
  .craft-scroll { height: auto; }
  .craft-sticky { position: static; height: auto; display: block; }
  .craft-layout { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .craft-progress { display: none; }
  .craft-stage { display: block; }
  .craft-panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-width: none;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 21, 16, 0.14);
    margin-top: 32px;
  }
  .craft-panel:first-child { border-top: none; margin-top: 0; padding-top: 0; }
  .craft-panel .craft-num { font-size: 1.4rem; margin-bottom: 20px; }

  /* Contact — stack, cap map aspect */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .contact-map { aspect-ratio: 4/3; min-height: 0; max-width: 560px; margin: 0 auto; width: 100%; }
  .contact-info .info-item { grid-template-columns: 100px 1fr; gap: 20px; }

  /* Review — ease type down */
  .review-quote { font-size: clamp(1.25rem, 5vw, 1.75rem); min-height: 5em; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  section { padding: 80px 0; }

  .nav-cta { padding: 8px 16px; font-size: 0.7rem; }

  /* Nav lockup — on phones hide the subtitle, shrink the mark */
  .nav-logo { gap: 4px; }
  .nav-logo-mark { height: 32px; }
  .nav-logo-sub { display: none; }

  .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .hero-lede { font-size: 1.05rem; }
  .hl-text { font-size: 0.95rem; }
  .hero-pizza { max-width: 320px; }

  .btn { padding: 14px 24px; font-size: 0.72rem; }

  .row-tag { font-size: 0.52rem; margin-left: 8px; padding: 2px 6px; }
  .menu-meta > div { grid-template-columns: 92px 1fr; gap: 14px; }

  .story-facts .fact { grid-template-columns: 88px 1fr; gap: 14px; font-size: 0.9rem; }
  .story-facts dd { font-size: 0.98rem; }

  .craft { padding: 64px 0; }
  .craft-panel h3 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .craft-panel p { font-size: 0.98rem; }
  .craft-panel .craft-num { font-size: 1.2rem; margin-bottom: 14px; }

  .contact-info .info-item { grid-template-columns: 84px 1fr; gap: 14px; padding: 18px 0; }
  .contact-info dd { font-size: 0.98rem; }
  .contact-map-label { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--slate-deep);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--cream);
  padding: 12px 0;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav .mobile-cta {
  margin-top: 32px;
  padding: 16px 32px;
  background: var(--rosso);
  color: var(--white);
  border-radius: 60px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mobile-nav .mobile-lang {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.mobile-nav .mobile-lang button.active { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .hero-title .tw { animation-duration: 0.1s; }
  * { transition-duration: 0.1s !important; }
}

@media print {
  .nav, .footer, .scroll-hint, .pizza-ring, .scroll-progress, .fab-stack, .skip-link { display: none; }
  body { background: white; color: black; }
}

/* ==========================================================================
   ACCESSIBILITY — skip link + focus-visible
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--gold-light); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.review-dot:focus-visible {
  outline-offset: 4px;
}

/* ==========================================================================
   SCROLL PROGRESS BAR — slim hairline at top of viewport
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--rosso) 0%, var(--gold) 100%);
  z-index: 200;
  pointer-events: none;
  transition: width 0.1s linear, opacity 0.3s ease;
  opacity: 0;
}
.scroll-progress.visible { opacity: 1; }

/* ==========================================================================
   ACTIVE NAV LINK — when current section is in view
   ========================================================================== */
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { width: 100%; }
.nav.scrolled .nav-links a.active { color: var(--rosso); }

/* ==========================================================================
   FLOATING ACTION STACK — WhatsApp (always visible) + Back-to-top
   ========================================================================== */
.fab-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.fab-stack.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.fab {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(26, 21, 16, 0.08);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 14px 30px -10px rgba(26, 21, 16, 0.35);
  position: relative;
}

/* WhatsApp — primary, always on */
.fab-wa {
  background: var(--ink);
  color: var(--cream);
  order: 2;
}
.fab-wa:hover {
  background: var(--rosso);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(177, 30, 47, 0.45);
}
.fab-wa svg {
  transform: translateY(0.5px);
}

/* Back-to-top — only appears once past the hero, placed ABOVE WhatsApp */
.fab-top {
  background: var(--cream);
  color: var(--ink);
  order: 1;
  width: 42px;
  height: 42px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, visibility 0s linear 0.35s;
}
.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease;
}
.fab-top:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Small label that appears on hover (desktop only) */
.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: 8px 12px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .fab-stack { right: 16px; bottom: 16px; gap: 10px; }
  .fab { width: 48px; height: 48px; }
  .fab-top { width: 38px; height: 38px; }
  .fab-tooltip { display: none; }
}
