/* ==========================================================================
   L'Antica Pizzeria Da Michele — Kuala Lumpur
   Mobile-first stylesheet. Breakpoints: 480 / 768 / 1024 / 1280 / 1600
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --red: #BF4321;
  --red-dark: #8C2F17;
  --red-on-dark: #E8673F;
  --cream: #F5F0E3;
  --white: #FFFDF6;
  --ink: #171717;
  --green: #59624A;
  --muted: #5d574c;
  --line: rgba(23, 23, 23, 0.14);

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --radius: 18px;
  --radius-lg: 22px;
  --section: clamp(72px, 16vw, 168px);
  --header-h: 64px;

  --t-fast: 0.3s;
  --t-medium: 0.6s;
  --t-slow: 1s;
  --ease-out: cubic-bezier(0.22, 0.8, 0.24, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .05 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 359px) { :root { --gutter: 16px; } }
@media (min-width: 768px) { :root { --gutter: 32px; --radius: 22px; --radius-lg: 28px; } }
@media (min-width: 1024px) { :root { --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; --radius: 26px; --radius-lg: 32px; } }
@media (min-width: 1600px) { :root { --gutter: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  background: var(--cream) var(--noise);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-locked { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible,
.heritage :focus-visible,
.final :focus-visible,
.footer :focus-visible,
.visit-card :focus-visible { outline-color: var(--cream); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: none; }

.wrap {
  /* Container for cqi units: fitted headlines size from the real content width,
     never from 100vw (which includes desktop scrollbars). */
  container-type: inline-size;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.002em;
}
.display--xxl { font-size: clamp(4.5rem, 23vw, 13rem); }
.display--xl  { font-size: clamp(3.4rem, 17vw, 10rem); }
.display--l   { font-size: clamp(2.5rem, 11.5vw, 6.75rem); }
.display--m   { font-size: clamp(2.25rem, 10vw, 4.5rem); }

.line { display: block; overflow: hidden; padding-block: 0.03em; margin-block: -0.03em; }
.line > span { display: inline-block; }
.line--red { color: var(--red); }

.section-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.section-label::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.section-label span { color: var(--red); font-weight: 700; }
.section-label--cream span { color: var(--red-on-dark); }

.lede {
  max-width: 30ch;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 5vw, 1.85rem);
  line-height: 1.28;
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}
.text-link span { transition: transform var(--t-fast) var(--ease-out); }
.text-link:hover { color: var(--red); }
.text-link:hover span { transform: translateX(4px); }

/* Placeholder data — visible so nobody ships it by accident */
[data-bind].is-placeholder,
.is-placeholder {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78em;
  letter-spacing: 0.02em;
  padding: 0.15em 0.45em;
  border: 1px dashed currentColor;
  border-radius: 6px;
  opacity: 0.85;
  display: inline-block;
}

/* ---------- Tags (small pill badges) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.tag--outline { background: transparent; }
.tag--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tag--red { background: var(--red); color: var(--white); border-color: var(--red); }
.tag svg { width: 10px; height: 12px; fill: currentColor; }

/* ---------- Pill buttons ---------- */
.pill {
  --pill-bg: var(--red);
  --pill-fg: var(--white);
  --pill-border: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  border: 2px solid var(--pill-border);
  background: var(--pill-bg);
  color: var(--pill-fg);
  font-family: var(--font-sans);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.pill__arrow { display: inline-block; transition: transform var(--t-fast) var(--ease-out); }
.pill:hover .pill__arrow { transform: translateX(4px); }
.pill:active { transform: translateY(1px); }
@media (hover: hover) {
  .pill:hover { transform: translateY(-2px); box-shadow: 0 3px 0 var(--ink); }
}
.pill--primary:hover { --pill-bg: var(--red-dark); --pill-border: var(--red-dark); }
.pill--secondary { --pill-bg: var(--cream); --pill-fg: var(--ink); --pill-border: var(--ink); }
.pill--secondary:hover { --pill-bg: var(--ink); --pill-fg: var(--cream); }
.pill--dark { --pill-bg: var(--ink); --pill-fg: var(--cream); --pill-border: var(--ink); }
.pill--dark:hover { --pill-bg: var(--red); --pill-border: var(--red); }
.pill--outline { --pill-bg: transparent; --pill-fg: var(--ink); --pill-border: var(--ink); }
.pill--outline:hover { --pill-bg: var(--ink); --pill-fg: var(--cream); }
.pill--cream { --pill-bg: var(--cream); --pill-fg: var(--red); --pill-border: var(--cream); }
.pill--cream:hover { --pill-bg: var(--white); --pill-border: var(--white); }
.pill--outline-cream { --pill-bg: transparent; --pill-fg: var(--cream); --pill-border: var(--cream); }
.pill--outline-cream:hover { --pill-bg: var(--cream); --pill-fg: var(--red); }
.final .pill:hover, .visit-card .pill:hover { box-shadow: 0 3px 0 var(--red-dark); }
.pill--sm { min-height: 44px; padding: 0 18px; font-size: 0.72rem; }
.pill--block { width: 100%; }

.round-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  background: transparent; color: var(--cream);
  font-size: 1.1rem; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.round-btn:hover { background: var(--cream); color: var(--ink); }
.round-btn--red { background: var(--red); border-color: var(--red); }

/* ---------- Crest (stands in for the round seals, which are commented out in the HTML) ---------- */
.stamp-crest {
  display: block;
  width: var(--stamp-size, 112px); height: auto;
  filter: drop-shadow(0 6px 14px rgba(23, 23, 23, 0.28));
  pointer-events: none;
}
.pizza-card__art .stamp-crest { position: absolute; right: 14px; bottom: 10px; }

/* ---------- Brand stamp ---------- */
.stamp {
  display: block;
  width: var(--stamp-size, 112px);
  aspect-ratio: 1;
  transform: rotate(var(--stamp-rotate, -8deg));
  transition: transform var(--t-slow) var(--ease-out);
  pointer-events: auto;
}
.stamp:hover { transform: rotate(calc(var(--stamp-rotate, -8deg) + 8deg)); }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp__ring { fill: none; stroke-width: 2; }
.stamp__ring--inner { stroke-width: 1.5; stroke-dasharray: 3 4; }
.stamp__text {
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.1em;
}
.stamp__center { font-family: var(--font-display); font-size: 46px; }
.stamp__center--long { font-size: 36px; }

.stamp--red .stamp__disc { fill: var(--red); }
.stamp--red .stamp__ring { stroke: var(--cream); }
.stamp--red .stamp__text, .stamp--red .stamp__center { fill: var(--cream); }
.stamp--cream .stamp__disc { fill: var(--cream); }
.stamp--cream .stamp__ring { stroke: var(--red); }
.stamp--cream .stamp__text, .stamp--cream .stamp__center { fill: var(--red); }
.stamp--ink .stamp__disc { fill: var(--ink); }
.stamp--ink .stamp__ring { stroke: var(--cream); }
.stamp--ink .stamp__text, .stamp--ink .stamp__center { fill: var(--cream); }

/* ---------- Editorial image ---------- */
.ed-img { display: block; position: relative; }
.ed-img__figure { position: relative; }
.ed-img__frame {
  position: relative;
  aspect-ratio: var(--ratio, 4 / 5);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: #e6dcc6;
}
.ed-img__frame::after {
  content: ""; position: absolute; inset: 0;
  background: var(--noise);
  mix-blend-mode: multiply;
  opacity: 0.55;
  pointer-events: none;
}
.ed-img--overlay .ed-img__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.5), transparent 55%);
  pointer-events: none;
}
.ed-img__frame picture, .ed-img__frame img { width: 100%; height: 100%; }
.ed-img__frame img {
  object-fit: cover;
  transform: scale(var(--s, 1));
  transition: transform 0.9s var(--ease-out);
}
.ed-img__label { position: absolute; top: 12px; left: 12px; z-index: 2; }
.ed-img__caption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }
@media (hover: hover) {
  editorial-image:hover .ed-img__frame img { --s: 1.03; }
}

/* ---------- Motion (states toggled by Reveal.js) ---------- */
.js .a-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-medium) var(--ease-out) var(--a-delay, 0s),
              transform var(--t-medium) var(--ease-out) var(--a-delay, 0s);
}
.js .a-fade.is-in { opacity: 1; transform: none; }

.js .a-text .line > span {
  transform: translateY(108%);
  transition: transform var(--t-slow) var(--ease-out) var(--a-line, var(--a-delay, 0s));
}
.js .a-text.is-in .line > span { transform: none; }

.js .a-image .ed-img__frame {
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--t-slow) var(--ease-out) var(--a-delay, 0s);
}
.js .a-image .ed-img__frame img { --s: 1.06; transition-duration: 1.6s; }
.js .a-image .a-zoom-target img { --s: 1.1; transition-duration: 2.6s; }
.js .a-image.is-in .ed-img__frame { clip-path: inset(0 0 0 0); }
.js .a-image.is-in .ed-img__frame img { --s: 1; }
@media (hover: hover) {
  .js .a-image.is-in editorial-image:hover .ed-img__frame img,
  .js editorial-image.a-image.is-in:hover .ed-img__frame img { --s: 1.03; }
}

/* ==========================================================================
   TOP STRIP
   ========================================================================== */
.topstrip {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  height: 32px;
  display: flex; align-items: center;
  overflow: hidden;
}
.topstrip__mobile { width: 100%; }
.topstrip__desktop { display: none; }
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: flex; gap: 14px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track i { font-style: normal; color: var(--red-on-dark); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

@media (min-width: 1024px) {
  .topstrip__mobile { display: none; }
  .topstrip__desktop {
    display: flex; justify-content: space-between; align-items: center;
  }
  .topstrip__cycle { display: inline-flex; gap: 10px; }
  .topstrip__cycle i { font-style: normal; color: var(--red-on-dark); }
  .topstrip__cycle b { font-weight: 600; animation: glow 6s ease-in-out infinite; opacity: 0.55; }
  .topstrip__cycle b:nth-of-type(2) { animation-delay: 2s; }
  .topstrip__cycle b:nth-of-type(3) { animation-delay: 4s; }
}
@keyframes glow { 0%, 100% { opacity: 0.55; } 16%, 33% { opacity: 1; } 50% { opacity: 0.55; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 227, 0);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.site-header.is-scrolled {
  background: rgba(245, 240, 227, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  transition: height var(--t-fast) var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 8px); }

.brand { display: block; justify-self: center; }
.brand img { height: 38px; width: auto; transition: height var(--t-fast) var(--ease-out); }
.site-header.is-scrolled .brand img { height: 32px; }
.header-book { justify-self: end; }

.nav-toggle {
  justify-self: start;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: -8px;
  background: none; border: 0; border-radius: 50%;
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 24px; }
.nav-toggle__bars span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; }
.nav-toggle__bars span:nth-child(2) { width: 70%; background: var(--red); }

.site-nav { display: none; }

@media (min-width: 1024px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 32px; }
  .nav-toggle { display: none; }
  .brand { justify-self: start; }
  .brand img { height: 46px; }
  .site-header.is-scrolled .brand img { height: 38px; }
  .site-nav { display: block; justify-self: end; }
  .site-nav ul { display: flex; gap: clamp(20px, 2.6vw, 40px); }
  .site-nav a {
    position: relative;
    display: inline-block; padding: 10px 0;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    text-decoration: none;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px;
    height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-fast) var(--ease-out);
  }
  .site-nav a:hover { color: var(--red); }
  .site-nav a:hover::after { transform: scaleX(1); }
  .header-book { min-height: 46px; padding: 0 24px; }
}

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */
.mobile-nav {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: var(--cream) var(--noise);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform var(--t-medium) var(--ease-out);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { transform: none; }
.mobile-nav__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); flex: none;
}
.mobile-nav__logo { height: 38px; width: auto; }
.nav-close {
  width: 44px; height: 44px; margin-left: -8px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
}
.nav-close__x { position: relative; width: 24px; height: 24px; }
.nav-close__x::before, .nav-close__x::after {
  content: ""; position: absolute; left: 0; right: 0; top: 11px;
  height: 2.5px; background: var(--ink); border-radius: 2px;
  transform: rotate(45deg);
}
.nav-close__x::after { transform: rotate(-45deg); background: var(--red); }

.mobile-nav__body { position: relative; flex: 1; padding-block: 28px 20px; }
.mobile-nav__list li { border-bottom: 1.5px solid var(--ink); }
.mobile-nav__list li:first-child { border-top: 1.5px solid var(--ink); }
.mobile-nav__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 13vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile-nav__list small {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--red);
  transform: translateY(-1.6em);
}
.mobile-nav__list a:active, .mobile-nav__list a:hover { color: var(--red); }
.mobile-nav__stamp { position: absolute; right: var(--gutter); bottom: -10px; }
.mobile-nav__foot { padding-block: 16px max(24px, env(safe-area-inset-bottom)); flex: none; }
.mobile-nav__meta {
  margin-top: 14px; text-align: center;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}

.mobile-nav li, .mobile-nav__foot, .mobile-nav__stamp {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.mobile-nav.is-open li, .mobile-nav.is-open .mobile-nav__foot { opacity: 1; transform: none; }
.mobile-nav.is-open .mobile-nav__stamp { opacity: 1; transform: rotate(-12deg); }
.mobile-nav.is-open li:nth-child(1) { transition-delay: 0.12s; }
.mobile-nav.is-open li:nth-child(2) { transition-delay: 0.17s; }
.mobile-nav.is-open li:nth-child(3) { transition-delay: 0.22s; }
.mobile-nav.is-open li:nth-child(4) { transition-delay: 0.27s; }
.mobile-nav.is-open li:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav.is-open .mobile-nav__stamp { transition-delay: 0.4s; }
.mobile-nav.is-open .mobile-nav__foot { transition-delay: 0.42s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-block: 20px 56px; }
.hero__grid { display: grid; gap: 18px; }

.hero__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero__coords {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

.hero__title {
  position: relative;
  font-size: clamp(5.25rem, 26.5vw, 9rem);
  line-height: 0.84;
  margin-top: 4px;
}
.hero__star {
  position: absolute; top: 4%; right: 6%;
  width: clamp(26px, 8vw, 48px); height: auto;
  fill: var(--red);
}

.hero__media { position: relative; }
.ed-img--hero .ed-img__frame { border-radius: var(--radius-lg); }
.hero__stamp {
  position: absolute; z-index: 3;
  right: 12px; top: 22%;
  --stamp-size: 92px;
}
.hero__pin { position: absolute; z-index: 3; right: 12px; bottom: 12px; }

.hero__meta { display: grid; gap: 10px; padding-top: 6px; }
.hero__since {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7.4vw, 2.5rem);
  text-transform: uppercase; line-height: 1;
}
.hero__since .rule { flex: 1; height: 2px; background: var(--ink); min-width: 20px; }
.circled { position: relative; display: inline-block; margin-left: 0.25em; color: var(--red); }
.circled svg {
  position: absolute; left: -16%; top: -26%;
  width: 132%; height: 150%;
  fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round;
}
.hero__now {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px;
  line-height: 1;
}
.hero__now em { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 6.4vw, 2.1rem); }
.hero__now strong {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 7.4vw, 2.5rem);
  text-transform: uppercase; color: var(--red);
}

.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 6px; }
.hero__cta .pill { padding-inline: 12px; }

@media (min-width: 600px) {
  .hero__cta { display: flex; flex-wrap: wrap; }
  .hero__cta .pill { padding-inline: 28px; }
  .hero__stamp { --stamp-size: 120px; right: 20px; }
}

@media (min-width: 768px) {
  .hero { padding-block: clamp(28px, 4vw, 64px) clamp(64px, 8vw, 120px); }
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr auto;
    column-gap: 24px; row-gap: 22px;
    align-items: start;
  }
  .hero__label { grid-column: 1 / 7; grid-row: 1; justify-content: flex-start; }
  .hero__title { grid-column: 1 / 7; grid-row: 2; font-size: min(13.6vw, 13.5rem); }
  .hero__meta { grid-column: 1 / 7; grid-row: 3; align-self: end; max-width: 30rem; }
  .hero__cta { grid-column: 1 / 7; grid-row: 4; }
  .hero__media { grid-column: 7 / 13; grid-row: 1 / 5; }
  .hero .ed-img--hero { --ratio: 4 / 4.6 !important; }
  .hero__stamp { --stamp-size: 96px; left: auto; right: 14px; top: 56px; bottom: auto; }
  .hero__pin { right: 16px; bottom: 16px; }
}
@media (min-width: 1024px) {
  .hero__stamp { --stamp-size: 140px; left: -70px; right: auto; top: auto; bottom: 18%; }
  /* keep "Since 1870" clear of the stamp that overhangs the photo's left edge */
  .hero__meta { max-width: min(30rem, calc(100% - 64px)); }
}
@media (min-width: 1280px) {
  .hero__media { grid-column: 7 / 13; }
  .hero__stamp { --stamp-size: 156px; left: -82px; }
  /* square photo: matches the height of the title + meta + CTA column, no dead gap */
  .hero .ed-img--hero { --ratio: 1 / 1 !important; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding-block: var(--section); }
.section--tight { padding-block: 0 var(--section); }

/* ---------- 01 STORY ---------- */
.story__intro { display: grid; gap: 22px; }

/* Story video: poster + one big play button, then only play/pause and mute */
.story-video { margin-bottom: clamp(8px, 3vw, 32px); }
.story-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.story-video video {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  -webkit-user-drag: none; user-select: none;
  cursor: pointer;
}
.story-video__start {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  width: 100%; padding: 0; border: 0;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.35), transparent 60%);
  cursor: pointer;
}
.story-video__start svg {
  width: clamp(64px, 14vw, 104px); height: auto; padding: clamp(16px, 3.4vw, 26px);
  border-radius: 50%;
  background: var(--red); fill: var(--white);
  box-shadow: 0 10px 30px rgba(23, 23, 23, 0.3);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast);
}
.story-video__start:hover svg { transform: scale(1.06); background: var(--red-dark); }
.story-video__start:focus-visible { outline: none; }
.story-video__start:focus-visible svg { outline: 3px solid var(--cream); outline-offset: 4px; }
.story-video__controls {
  position: absolute; z-index: 2; left: 14px; bottom: 14px;
  display: flex; gap: 8px;
}
.story-video__btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1.5px solid rgba(245, 240, 227, 0.7); border-radius: 50%;
  background: rgba(23, 23, 23, 0.55); color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.story-video__btn:hover { background: var(--cream); color: var(--ink); }
.story-video__btn:focus-visible { outline-color: var(--cream); }
.story-video__btn svg { width: 20px; height: 20px; fill: currentColor; }
.story-video .icon-play, .story-video.is-playing .icon-pause { display: block; }
.story-video .icon-pause, .story-video.is-playing .icon-play { display: none; }
.story-video .icon-sound, .story-video.is-muted .icon-muted { display: block; }
.story-video .icon-muted, .story-video.is-muted .icon-sound { display: none; }
.story__now { font-size: clamp(3.4rem, 17vw, 10rem); margin-top: 6px; }
.story__visual { display: grid; gap: 16px; margin-top: clamp(44px, 9vw, 96px); }

.story-card {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--radius-lg);
  background: var(--red) var(--noise);
  color: var(--cream);
  overflow: hidden;
}
.story-card__year {
  font-family: var(--font-display);
  font-size: clamp(6rem, 34vw, 11rem);
  line-height: 0.82;
}
.story-card__place {
  margin-top: 10px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.6rem; line-height: 1.1;
}
.story-card__idea {
  margin-top: 26px; padding-top: 18px;
  border-top: 1.5px solid rgba(245, 240, 227, 0.5);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8.5vw, 2.6rem);
  line-height: 0.96; text-transform: uppercase;
}
.story-card__idea span {
  display: block; margin-bottom: 6px;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em;
}
.story-card__stamp { position: absolute; top: 20px; right: 18px; }

@media (min-width: 768px) {
  .story__visual { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; }
  .story__image { grid-column: 1 / 10; grid-row: 1; }
  .story-card { grid-column: 7 / 13; grid-row: 1; align-self: end; margin-bottom: -56px; z-index: 2; }
  .story-card__year { font-size: min(19vw, 11rem); }
}
@media (min-width: 1024px) {
  .story__intro {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px; row-gap: 12px;
    align-items: end;
  }
  .story__intro > .section-label { grid-column: 1 / -1; }
  .story__intro > .story-video { grid-column: 1 / -1; }
  .story-video__controls { left: 20px; bottom: 20px; }
  .story__intro > h2 { grid-column: 1 / 9; }
  .story__now { grid-column: 1 / 8; }
  .story__intro > .lede { grid-column: 8 / 13; padding-bottom: 0.6rem; }
  .story__image { grid-column: 1 / 9; }
  .story-card { grid-column: 8 / 12; padding: 40px 36px; margin-bottom: -80px; overflow: visible; }
  .story-card__year { font-size: min(11.5vw, 12rem); }
  /* hang the stamp off the card's corner instead of on top of "1870" */
  .story-card__stamp { top: -40px; right: -36px; }
}

/* ---------- 02 THE PIZZA: THE CLASSICS ---------- */
.preview__head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 22px;
}
.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.cards::-webkit-scrollbar { display: none; }
.pizza-card { scroll-snap-align: start; display: flex; }

.pizza-card__link {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast);
}
.pizza-card .ed-img__frame { border-radius: 0; }
.pizza-card__body { position: relative; padding: 18px 18px 22px; flex: 1; }
.pizza-card__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1;
  text-transform: uppercase;
}
.pizza-card__ing { margin-top: 8px; padding-right: 56px; font-size: 0.9rem; color: var(--muted); }
.pizza-card__arrow {
  position: absolute; right: 16px; bottom: 18px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--ink); border-radius: 50%;
  font-size: 1.1rem;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.pizza-card__art {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: center;
  padding: 18px 22px;
  background: var(--red) var(--noise);
  color: var(--cream);
  overflow: hidden;
}
.pizza-card__art span {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 9vw, 2.6rem);
  line-height: 0.98; text-transform: uppercase;
}
.pizza-card__art span:nth-of-type(even) { padding-left: 18%; font-family: var(--font-serif); font-style: italic; text-transform: none; }
.pizza-card__art .stamp { position: absolute; right: 14px; bottom: 14px; }

.pizza-card--cta .pizza-card__link { background: var(--ink); color: var(--cream); border-color: var(--ink); min-height: 100%; }
.pizza-card__cta { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 24px 22px 90px; flex: 1; }
.pizza-card__cta-small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-on-dark); }
.pizza-card__cta-big {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 13vw, 4rem); line-height: 0.9; text-transform: uppercase;
}
.pizza-card--cta .pizza-card__arrow { border-color: var(--cream); left: 22px; right: auto; bottom: 24px; }

@media (hover: hover) {
  .pizza-card__link:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--red); border-color: var(--ink); }
  .pizza-card__link:hover .ed-img__frame img { --s: 1.03; }
  .pizza-card__link:hover .pizza-card__arrow { transform: translateX(4px); background: var(--red); border-color: var(--red); color: var(--white); }
  .pizza-card--cta .pizza-card__link:hover { box-shadow: 0 6px 0 var(--red); }
}
.pizza-card__link:active { transform: translateY(1px); }

@media (min-width: 768px) {
  .cards {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0; padding: 0 0 8px;
    gap: clamp(14px, 2vw, 28px);
  }
  .pizza-card__name { font-size: clamp(2rem, 3vw, 3rem); }
  .pizza-card__art span { font-size: clamp(1.6rem, 2.8vw, 2.8rem); }
  .pizza-card__cta-big { font-size: clamp(2.6rem, 4.6vw, 5rem); }
}

/* ---------- 03 PLACE ---------- */
.place { padding-top: 0; }
.place__head { margin-bottom: clamp(28px, 6vw, 64px); }
.place__grid { display: grid; gap: 14px; }
.place__small { width: 86%; margin-left: auto; }
.place__detail { display: grid; grid-template-columns: 44% 1fr; gap: 14px; align-items: end; }
.place__note { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.3; }
.place__note .tag { display: flex; width: max-content; margin-bottom: 10px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .place__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .place__large { grid-column: 1 / -1; }
  .place__small { width: 100%; margin: 0; }
  .place__detail { grid-template-columns: 1fr; align-items: start; }
  .place__detail editorial-image { width: 70%; }
}

@media (min-width: 1024px) {
  .place__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr;
    column-gap: 24px; row-gap: 24px;
  }
  .place__large { grid-column: 1 / 8; grid-row: 1 / 3; }
  .place__small { grid-column: 8 / 13; grid-row: 1; width: 100%; margin: 0; }
  .place__detail { grid-column: 8 / 13; grid-row: 2; align-self: end; grid-template-columns: 1fr 1fr; gap: 20px; }
  .place__note { font-size: clamp(1.1rem, 1.5vw, 1.5rem); }
}

/* ---------- 04 HERITAGE ---------- */
.heritage { background: var(--ink) var(--noise); color: var(--cream); }
.heritage .line--red { color: var(--red-on-dark); }
.heritage__grid { display: grid; gap: 40px; }
.heritage__year {
  font-family: var(--font-display);
  font-size: clamp(8rem, 44vw, 24rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
  margin-bottom: 14px;
}

.timeline { position: relative; display: grid; gap: 0; }
.timeline__item {
  position: relative;
  display: grid; gap: 4px;
  padding: 0 0 30px 34px;
}
.timeline__item::before {
  content: ""; position: absolute; left: 6px; top: 12px; bottom: -12px;
  width: 2px; background: rgba(245, 240, 227, 0.25);
}
.timeline__item:last-child::before { display: none; }
.timeline__item::after {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--cream);
}
.timeline__item--now::after { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(191, 67, 33, 0.35); }
.timeline__year { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.95; }
.timeline__item--now .timeline__year { color: var(--red-on-dark); }
.timeline__place { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.timeline__text { font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.3; color: rgba(245, 240, 227, 0.78); max-width: 28ch; }

@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-top: 8px; }
  .timeline__item { padding: 34px 0 0; }
  .timeline__item::before { left: 0; right: -20px; top: 6px; bottom: auto; width: auto; height: 2px; }
  .timeline__item:last-child::before { display: block; right: 0; background: linear-gradient(to right, rgba(245,240,227,.25), transparent); }
  .timeline__item::after { top: 0; }
  .timeline__year { font-size: clamp(2.6rem, 5vw, 4.5rem); }
}
@media (min-width: 1024px) {
  .heritage__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px; align-items: center; }
  .heritage__head { grid-column: 1 / 9; }
  .heritage__year { font-size: min(32vw, 24rem); }
  .timeline { grid-column: 1 / -1; }
}

/* ---------- 05 MENU ---------- */
.menu-board {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.menu-board__inner { padding: 22px 18px 26px; }
.menu-board__head { position: relative; }
.menu-board__title { font-size: clamp(3.5rem, 19vw, 11rem); }
.menu-board__stamp { display: none; }

.tabs {
  display: flex; gap: 8px;
  margin: 22px -18px 8px;
  padding: 4px 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: transparent;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.tab:hover { border-color: var(--red); color: var(--red); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.menu-panel:focus-visible { outline-offset: 6px; }
.menu-item { padding: 20px 0; border-bottom: 1.5px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item__row { display: flex; align-items: baseline; gap: 10px; }
.menu-item__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1;
  text-transform: uppercase;
}
.menu-item__dots { flex: 1; min-width: 16px; border-bottom: 3px dotted rgba(23, 23, 23, 0.4); transform: translateY(-0.35em); }
.menu-item__veg {
  display: inline-grid; place-items: center; vertical-align: 0.35em;
  width: 1.5rem; height: 1.5rem; margin-left: 6px;
  border: 1.5px solid var(--green); border-radius: 50%;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; color: var(--green);
  text-decoration: none; cursor: help;
}
.menu-item__price { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); white-space: nowrap; }
.menu-item__price[data-bind].is-placeholder,
.is-placeholder { font-size: 0.8rem; }
.menu-item__ing { margin-top: 6px; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }

.menu-empty {
  margin: 16px 0;
  padding: 28px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.menu-empty__title { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; line-height: 1.05; }
.menu-empty__note { margin-top: 10px; color: var(--red); }

.menu-board__note {
  margin-top: 18px; padding-top: 16px;
  border-top: 1.5px solid var(--ink);
  font-size: 0.78rem; color: var(--muted);
}

@media (min-width: 768px) {
  .menu-board__inner { padding: 40px 40px 44px; }
  .tabs { margin-inline: 0; padding-inline: 0; overflow: visible; flex-wrap: wrap; }
  .menu-board__stamp { display: block; position: absolute; top: 0; right: 0; }
}
@media (min-width: 1024px) {
  .menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .menu-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (min-width: 1280px) {
  .menu-board__inner { padding: 64px 72px 60px; }
  .menu-board__stamp { --stamp-size: 140px !important; }
}

/* ---------- GALLERY ---------- */
.gallery { padding-top: 0; }
.gallery__head { margin-bottom: clamp(28px, 6vw, 56px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}
.g-item { position: relative; min-width: 0; }
.g-item--square { aspect-ratio: 1; }
.g-item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.g-item--tall { grid-row: span 2; }

.g-photo {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: none;
  cursor: zoom-in; text-align: left;
  border-radius: var(--radius);
}
.g-photo .ed-img, .g-photo .ed-img__frame { position: absolute; inset: 0; aspect-ratio: auto; }
.g-photo .ed-img__frame { display: block; }
@media (hover: hover) { .g-photo:hover .ed-img__frame img { --s: 1.04; } }

.g-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
  border-radius: var(--radius);
  overflow: hidden;
}
.g-card--red { background: var(--red) var(--noise); color: var(--cream); }
.g-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 8vw, 3.4rem); line-height: 0.92; text-transform: uppercase;
}
.g-card__foot { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.g-card--checker {
  background: conic-gradient(var(--red) 25%, var(--cream) 0 50%, var(--red) 0 75%, var(--cream) 0) 0 0 / 25% 25%;
  align-items: center; justify-content: center;
  border: 2px solid var(--red);
}
.g-card--checker .g-card__title {
  display: grid; place-items: center;
  width: 64%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--red);
  color: var(--red);
  font-size: clamp(1.6rem, 8vw, 3.2rem);
}
.g-card--checker .g-card__foot { display: none; }

@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .g-card { padding: 24px; }
  .g-card__title { font-size: clamp(2.4rem, 3.6vw, 4rem); }
  .g-card--checker .g-card__title { font-size: clamp(2rem, 3vw, 3.6rem); }
}

.lightbox {
  width: min(94vw, 1100px);
  max-width: none; max-height: 94vh;
  padding: 14px;
  border: 0; border-radius: var(--radius-lg);
  background: var(--ink); color: var(--cream);
}
.lightbox::backdrop { background: rgba(23, 23, 23, 0.86); }
.lightbox__frame img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; border-radius: 12px; }
.lightbox__caption { margin: 12px 4px 0; font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.3; }
.lightbox__controls { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }

/* ---------- LOCATION ---------- */
.visit { padding-top: 0; }
.visit__grid { display: grid; gap: 14px; }
.visit-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--red) var(--noise);
  color: var(--cream);
  overflow: hidden;
}
.visit-card__inner { padding: 24px 22px 28px; }
.visit-card__city {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 14px;
  border: 1.5px solid var(--cream); border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.visit-card__name { margin-top: 26px; font-weight: 400; line-height: 0.9; text-transform: uppercase; }
.visit-card__name span:first-child {
  display: block; margin-bottom: 8px;
  font-family: var(--font-serif); font-style: italic; text-transform: none;
  font-size: clamp(1.4rem, 6vw, 2rem);
}
.visit-card__name span:last-child { display: block; font-family: var(--font-display); font-size: clamp(3.2rem, 15vw, 6.5rem); }
.visit-card__info { margin-top: 26px; display: grid; gap: 16px; }
.visit-card__info > div { padding-top: 14px; border-top: 1.5px solid rgba(245, 240, 227, 0.35); }
.visit-card__info dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; margin-bottom: 4px; }
.visit-card__info dd { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.3; }
.visit-card__info dd a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hours-row { display: block; }
.hours-row b { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; margin-right: 8px; }
.visit-card__cta { display: grid; gap: 10px; margin-top: 28px; }
.visit-card__stamp { position: absolute; top: 38px; right: 16px; --stamp-size: 80px; }

@media (min-width: 600px) {
  .visit-card__cta { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .visit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .visit-card { grid-column: 1 / 8; }
  .visit-card__inner { padding: 44px 48px 48px; }
  .visit-card__info { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .visit-card__info > div:first-child { grid-column: 1 / -1; }
  .visit-card__stamp { --stamp-size: 120px; top: 56px; right: 40px; }
  .visit__image { grid-column: 8 / 13; }
  .visit__image .ed-img__figure, .visit__image .ed-img__frame { height: 100%; }
  .visit__image .ed-img__frame { aspect-ratio: auto; min-height: 440px; }
}

/* ---------- FINAL CTA ---------- */
.final {
  --final-fs: clamp(6rem, 31vw, 17rem);
  background: var(--red) var(--noise);
  color: var(--cream);
  overflow: hidden;
}
.final__grid { position: relative; display: grid; gap: 28px; padding-block: clamp(56px, 12vw, 150px); }
.final__title { font-size: var(--final-fs); line-height: 0.84; }
.final__city {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 3rem);
  text-transform: uppercase; line-height: 1;
}
.final__city .rule { width: 40px; height: 3px; background: var(--cream); }
.final__cta { display: grid; gap: 10px; margin-top: 22px; }
.final__stamp {
  position: absolute;
  right: 0;
  top: calc(clamp(56px, 12vw, 150px) + var(--final-fs) * 0.84 + 8px);
  --stamp-size: clamp(84px, 24vw, 128px);
}

@media (min-width: 600px) {
  .final__cta { display: flex; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  .final { --final-fs: min(15vw, 17rem); }
  .final__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .final__title { grid-column: 1 / 8; }
  .final__side { grid-column: 8 / 13; padding-bottom: 1rem; }
  .final__stamp { --stamp-size: 170px; top: clamp(56px, 12vw, 150px); right: var(--gutter); }
}

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--cream); padding-block: 56px 28px; }
.footer a { text-underline-offset: 3px; }
.footer__details dt {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245, 240, 227, 0.6);
}

/* Brand: crest + wordmark, said once */
.footer__brand { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.footer__crest { width: clamp(84px, 24vw, 140px); height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35)); }
.footer__wordmark span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9.2vw, 3.4rem);
  line-height: 0.9; text-transform: uppercase;
}
.footer__wordmark span:last-child { color: var(--red-on-dark); }
/* Phones/tablets: "L'Antica Pizzeria" (6.56em in Anton) on one line, filling the space beside the crest */
@media (max-width: 1023px) {
  .footer__brand > div { container-type: inline-size; }
  .footer__wordmark span { font-size: min(calc(100cqi / 6.76), 3.4rem); white-space: nowrap; }
}
.footer__city { margin-top: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }

/* Social icons (links once configured; plain icons until then) */
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social-link {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(245, 240, 227, 0.45); border-radius: 50%;
  color: var(--cream);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.footer__social-link svg { width: 20px; height: 20px; }
/* Brand colours */
.footer__social-link[data-social] { border-color: transparent; color: #fff; }
.footer__social-link[data-social="instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.footer__social-link[data-social="facebook"] { background: #1877f2; }
.footer__social-link[data-social="whatsapp"] { background: #25d366; }
.footer__social-link.is-live:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(245, 240, 227, 0.25); }

/* Visit details: always visible */
.footer__visit { margin-top: 36px; }
.footer__details { display: grid; gap: 14px; }
.footer__details > div { padding-top: 12px; border-top: 1px solid rgba(245, 240, 227, 0.18); min-width: 0; }
.footer__details dt { margin-bottom: 4px; }
.footer__details dd { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.4; overflow-wrap: anywhere; }
.footer__visit-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 18px; }
.footer__visit-links .text-link:hover { color: var(--red-on-dark); }

/* Link groups: accordions on phones, columns from tablet up */
.footer__groups { margin-top: 40px; border-top: 1px solid rgba(245, 240, 227, 0.18); }
.footer-group { border-bottom: 1px solid rgba(245, 240, 227, 0.18); }
.footer-group__title button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; padding: 0;
  background: none; border: 0; color: inherit; text-align: left; cursor: pointer;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-group__icon { position: relative; width: 14px; height: 14px; flex: none; }
.footer-group__icon::before, .footer-group__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px;
  background: var(--red-on-dark); border-radius: 2px;
  transition: transform var(--t-fast) var(--ease-out);
}
.footer-group__icon::after { transform: rotate(90deg); }
.footer-group__title [aria-expanded="true"] .footer-group__icon::after { transform: rotate(0deg); }
.footer-group__list { padding-bottom: 14px; }
.footer-group__list a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.2;
  text-decoration: none;
}
.footer-group__list a:hover { color: var(--red-on-dark); text-decoration: underline; }
.footer-group__primary a { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(245, 240, 227, 0.18);
}
.footer__sig { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; color: var(--red-on-dark); letter-spacing: 0.02em; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer__legal-links a,
.footer__legal { font-size: 0.78rem; color: rgba(245, 240, 227, 0.7); }
.footer__legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal-links a:hover { color: var(--cream); }
.footer__top {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
}
.footer__top:hover { color: var(--red-on-dark); }

@media (min-width: 768px) {
  .footer__details { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .footer__groups {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
    padding-top: 28px;
  }
  .footer-group { border-bottom: 0; }
  .footer-group__title button { min-height: 0; margin-bottom: 10px; cursor: default; color: rgba(245, 240, 227, 0.6); }
  .footer-group__icon { display: none; }
  .footer-group__list { padding-bottom: 0; }
  .footer-group__list a { min-height: 40px; }
}
@media (min-width: 1024px) {
  .footer { padding-block: 88px 32px; }
  /* brand on the left; details, then links, on the right */
  .footer .wrap {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  }
  .footer__top-row { display: contents; }
  .footer__brand { grid-column: 1 / 5; grid-row: 1 / 3; align-self: start; grid-template-columns: 1fr; justify-items: start; }
  .footer__wordmark span { font-size: clamp(2.6rem, 3.6vw, 4.2rem); }
  .footer__visit { grid-column: 5 / 13; grid-row: 1; margin-top: 0; }
  .footer__groups { grid-column: 5 / 13; grid-row: 2; margin-top: 44px; }
  .footer__bottom { grid-column: 1 / -1; }
}

/* ---------- Large screens ---------- */
@media (min-width: 1440px) {
  .lede { font-size: 2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track { animation: none; }
  .topstrip__cycle b { animation: none; opacity: 1; }
  .js .a-fade, .js .a-text .line > span, .js .a-image .ed-img__frame { opacity: 1; transform: none; clip-path: none; }
  .ed-img__frame img { --s: 1 !important; }
}
