/* © 2026 Metroplex Media Lab. Sample website: design and source code are the intellectual property of Metroplex Media Lab. All rights reserved. */
/* Pizzeria sample. Layout from Metroplex Media Lab's own pizzeria preview code; theme, type and content are the sample's own.
   Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5
   genre: atmospheric · theme: custom "forno" (espresso night, ember orange, mozzarella gold) · type: DM Serif Display + Geist
   macrostructure: night hero → offer tickets → sticky-tab menu (photo cards / numbered list / rows) → reviews → gallery → visit */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 8.5rem; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--color-night); color: var(--color-cream); font: 400 var(--step-0)/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.has-bar { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--space-s); top: -4rem; z-index: 100; background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-2xs) var(--space-s); border-radius: var(--radius-s); font-weight: 600; }
.skip:focus { top: var(--space-s); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nb { white-space: nowrap; }
br.br-desk { display: none; }
@media (min-width: 64rem) { br.br-desk { display: inline; } }
/* phone-only line breaks (not on the narrowest phones, where the line before would wrap anyway) */
br.br-mob { display: none; }
@media (min-width: 22.5rem) and (max-width: 39.99rem) { br.br-mob { display: inline; } }
.act { display: block; margin-top: 0.15em; color: var(--color-cream); }

/* ── Type ─────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto; line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
.display i, h1.display { font-style: italic; }
h1.display { font-size: var(--step-5); font-weight: 500; }
@media (max-width: 23.99rem) { h1.display { font-size: 2.6rem; } }
@media (max-width: 22.49rem) { h1.display { font-size: 2.3rem; } }
.h2 { font-size: var(--step-4); font-style: italic; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-xs); }
.sec-head { display: grid; gap: var(--space-s); margin-bottom: var(--space-xl); }
.sec-head .eyebrow { margin-bottom: 0; }
.sec-head__lede { color: var(--color-cream-2); max-width: 42rem; font-size: var(--step-1); line-height: 1.5; }
.sec-head--split { align-items: end; }
@media (min-width: 56rem) { .sec-head--split { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-xl); } }
.price { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.price small { font-weight: 400; color: var(--color-cream-3); }

/* ── Buttons ──────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 3rem; padding: 0.7rem 1.35rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; font-weight: 600; font-size: var(--step-0); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), color .2s var(--ease); }
.btn svg { transition: transform .2s var(--ease); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-cream); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--primary:active { background: var(--color-accent-deep); transform: translateY(1px); }
.btn--ghost { border-color: var(--color-line-strong); color: var(--color-cream); background: transparent; }
.btn--ghost:hover { border-color: var(--color-cream); }
.btn--ghost:active { transform: translateY(1px); background: var(--color-night-3); }
.btn--lg { min-height: 3.4rem; padding-inline: 1.6rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn[data-loading] { opacity: .7; pointer-events: none; }
.btn--block { width: 100%; }
.btn--wa { background: var(--color-basil); color: var(--color-accent-ink); }
.btn--wa:hover { background: var(--color-cream); }
.btn--wa:active { transform: translateY(1px); }
.linklike { background: none; border: 0; padding: 0; color: var(--color-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: var(--step--1); }
.linklike:hover { color: var(--color-cream); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; color: var(--color-accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--color-cream); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .2s var(--ease); }

/* "Add" button on every dish */
.add { display: inline-flex; align-items: center; gap: .35em; min-height: 2.75rem; padding: 0 1rem 0 .8rem; border-radius: var(--radius-pill); border: 1.5px solid var(--color-accent);
  background: transparent; color: var(--color-accent); font-weight: 600; font-size: var(--step--1); cursor: pointer; white-space: nowrap; flex: none;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease); }
.add svg { width: 1.05em; height: 1.05em; }
.add:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.add:active { transform: scale(.96); }
.add[data-state="added"] { background: var(--color-basil); border-color: var(--color-basil); color: var(--color-accent-ink); }
.add[disabled] { opacity: .45; cursor: not-allowed; }


/* ── Header ───────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--color-night) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); }
.nav__in { display: flex; align-items: center; gap: var(--space-s); min-height: 4.25rem; }
.nav__links { display: none; gap: var(--space-l); margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--color-cream-2); font-weight: 500; }
.nav__links a:hover { color: var(--color-cream); }
.nav__end { display: flex; align-items: center; gap: var(--space-2xs); margin-left: auto; }
.lang { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: var(--radius-pill); text-decoration: none; font-weight: 600; font-size: var(--step--1); letter-spacing: .06em; border: 1px solid var(--color-line-strong); }
.lang:hover { border-color: var(--color-cream); }
/* language dropdown: Spanish, English, Italian */
.langs { position: relative; }
.langs > summary { display: inline-flex; gap: .3rem; padding: 0 .7rem 0 .85rem; list-style: none; cursor: pointer; user-select: none; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.langs[open] > summary { border-color: var(--color-cream); }
.langs__chev { width: .85rem; height: .85rem; transition: transform .2s var(--ease); }
.langs[open] .langs__chev { transform: rotate(180deg); }
.langs__menu { position: absolute; right: 0; top: calc(100% + .45rem); z-index: 40; display: grid; min-width: 11rem; padding: .35rem;
  background: var(--color-night-2); border: 1px solid var(--color-line-strong); border-radius: var(--radius-m); box-shadow: 0 18px 40px -12px #000; }
.langs__menu a { display: flex; align-items: center; gap: .7rem; min-height: 2.75rem; padding: 0 .75rem; border-radius: var(--radius-s); text-decoration: none; color: var(--color-cream-2); white-space: nowrap; }
.langs__menu a:hover, .langs__menu a:focus-visible { background: var(--color-night-3); color: var(--color-cream); }
.langs__menu a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.langs__menu a[aria-current] { color: var(--color-cream); }
.langs__menu b { width: 1.5rem; font-size: .75rem; letter-spacing: .06em; color: var(--color-cream-3); }
.langs__on { width: 1rem; height: 1rem; margin-left: auto; color: var(--color-accent); }
.cart-btn { display: inline-flex; align-items: center; gap: .45rem; height: 2.75rem; padding: 0 .9rem; border-radius: var(--radius-pill); border: 0; background: var(--color-cream); color: var(--color-paper-ink); font-weight: 600; font-size: var(--step--1); cursor: pointer; white-space: nowrap; }
.cart-btn:hover { background: var(--color-accent); }
.cart-btn:active { transform: translateY(1px); }
.cart-btn__count { display: grid; place-items: center; min-width: 1.45rem; height: 1.45rem; padding: 0 .3rem; border-radius: var(--radius-pill); background: var(--color-paper-ink); color: var(--color-cream); font-size: .75rem; font-variant-numeric: tabular-nums; }
.cart-btn__count[data-zero] { background: transparent; color: var(--color-paper-ink-2); box-shadow: inset 0 0 0 1px var(--color-paper-ink-2); }
@media (max-width: 23.99rem) { .cart-btn__label { display: none; } }
@media (min-width: 60rem) { .nav__links { display: flex; } .nav__end { margin-left: var(--space-l); } }

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: var(--space-l) 0 calc(var(--space-2xl) + 2.5rem); }
.hero__grid { display: grid; gap: var(--space-l); align-items: center; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: var(--space-m); justify-items: start; }
.status { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem .4rem .7rem; border-radius: var(--radius-pill); border: 1px solid var(--color-line-strong); font-size: var(--step--1); font-weight: 500; color: var(--color-cream-2); }
.status__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--color-cream-3); flex: none; }
.status[data-open="true"] .status__dot { background: var(--color-basil); box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-basil) 22%, transparent); }
.status[data-open="true"] { color: var(--color-cream); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--color-cream-2); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-m); color: var(--color-cream-2); font-size: var(--step--1); }
.facts li { display: inline-flex; align-items: center; gap: .45rem; }
.facts b { color: var(--color-cream); }
.facts__star { color: var(--color-accent); }
.hero__pizza { position: relative; order: -1; width: min(100%, 26rem); justify-self: center; margin-top: calc(var(--space-s) * -1); }
.hero__pizza img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: lighten; animation: spin 140s linear infinite; }
.hero__glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent); filter: blur(30px); }
.hero__pizza figcaption { position: absolute; right: 0; bottom: 8%; padding: .45rem .8rem; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-night) 82%, transparent); border: 1px solid var(--color-line-strong); font-size: var(--step--1); color: var(--color-cream-2); backdrop-filter: blur(6px); }
.hero__pizza figcaption b { font-family: var(--font-display); font-style: italic; font-size: 1.1em; color: var(--color-cream); }
.hero__skyline { position: absolute; left: 50%; bottom: 0; width: max(40rem, min(120%, 90rem)); height: auto; max-height: 4rem; transform: translateX(-50%); color: var(--color-line); stroke-width: .6; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__pizza img { animation: none; } html { scroll-behavior: auto; } }
@media (min-width: 30rem) { .hero__pizza { margin-top: 0; } }
@media (min-width: 64rem) {
  .hero { padding: calc(var(--space-2xl) - 30px) 0 var(--space-3xl); }
  .nav { border-bottom-color: var(--color-night); }   /* no visible line under the header on desktop */
  /* the text column is as wide as the headline, and the pizza starts right after it */
  .hero__grid { grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-l); }
  html[lang="es"] .hero__grid { column-gap: calc(var(--space-l) + 3rem); }   /* Spanish headline's first line is longer: more air before the pizza */
  h1.display { font-size: clamp(4rem, 1rem + 4.6vw, 5.6rem); }
  /* the whole pizza stays inside its column, so the spin never runs past the page edge */
  /* top-aligned: the pizza is taller than the copy, and centring it pushed it under the header */
  .hero__pizza { order: 0; width: 100%; max-width: 34rem; justify-self: start; align-self: start; margin: 0; }
  .hero__pizza figcaption { right: 4%; bottom: 6%; }
}

/* ── Offers: three cream tickets ──────────────────── */
.offers { padding: var(--space-2xl) 0; border-top: 1px solid var(--color-line); }
.tickets { display: grid; gap: var(--space-s); counter-reset: t; }
.ticket { position: relative; background: var(--color-paper); color: var(--color-paper-ink); border-radius: var(--radius-m); padding: var(--space-m); display: grid; gap: var(--space-2xs);
  -webkit-mask: radial-gradient(circle .7rem at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle .7rem at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle .7rem at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle .7rem at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket__size { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: var(--step-3); line-height: 1; }
.ticket__size small { font-family: var(--font-body); font-style: normal; font-size: var(--step--1); font-weight: 600; color: var(--color-paper-ink-2); letter-spacing: .04em; margin-left: .2rem; }
.ticket__days { color: var(--color-paper-ink-2); font-weight: 500; }
.ticket__today { display: none; position: absolute; top: var(--space-m); right: var(--space-m); padding: .2rem .65rem; border-radius: var(--radius-pill); background: var(--color-hot); color: var(--color-paper-ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ticket.is-today .ticket__today { display: block; }
.ticket.is-today { box-shadow: 0 0 0 3px var(--color-hot); }
.ticket__prices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); margin-top: var(--space-xs); padding-top: var(--space-s); border-top: 1.5px dashed color-mix(in srgb, var(--color-paper-ink) 25%, transparent); }
.ticket__prices dt { font-size: var(--step--1); color: var(--color-paper-ink-2); font-weight: 500; }
.ticket__prices dd { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; line-height: 1.1; font-variant-numeric: lining-nums; }
.offers__foot { display: grid; gap: var(--space-m); margin-top: var(--space-l); align-items: center; }
.offers__notes { display: grid; gap: .3rem; font-size: var(--step--1); color: var(--color-cream-3); }
/* hanging asterisk: a wrapped line lines up with the text, not the mark */
.offers__notes li { position: relative; padding-left: .95rem; }
.offers__notes li::before { content: "*"; position: absolute; left: 0; color: var(--color-hot); }
/* the action sentence sits a line apart from the offer description */
.offers .sec-head__lede .act { margin-top: .8em; }
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .ticket { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-l); align-items: center; padding-right: calc(var(--space-m) + 4.5rem); }
  .ticket__prices { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0 0 0 var(--space-l); border-top: 0; border-left: 1.5px dashed color-mix(in srgb, var(--color-paper-ink) 25%, transparent); column-gap: var(--space-l); }
  .ticket__today { top: 50%; transform: translateY(-50%); }
}
@media (min-width: 48rem) { .offers__foot { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 64rem) { .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Menu ─────────────────────────────────────────── */
.carta { padding: var(--space-2xl) 0 var(--space-xl); border-top: 1px solid var(--color-line); }
.tabs { position: sticky; top: 4.25rem; z-index: 20; background: color-mix(in srgb, var(--color-night) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); }
.tabs__in { display: flex; gap: var(--space-2xs); overflow-x: auto; scrollbar-width: none; padding-block: .65rem; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.tabs__in::after { content: ""; flex: 0 0 1px; }   /* keeps the right gutter when scrolled to the end */
.tabs__in::-webkit-scrollbar { display: none; }
.tabs a { flex: none; scroll-snap-align: start; padding: .5rem .95rem; border-radius: var(--radius-pill); border: 1px solid var(--color-line-strong); text-decoration: none; font-size: var(--step--1); font-weight: 600; color: var(--color-cream-2); white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.tabs a:hover { color: var(--color-cream); border-color: var(--color-cream-3); }
.tabs a[aria-current="true"] { background: var(--color-cream); color: var(--color-paper-ink); border-color: var(--color-cream); }
.carta__body { display: grid; gap: var(--space-2xl); padding-top: var(--space-xl); }
.cat__head { display: grid; gap: .35rem; margin-bottom: var(--space-m); padding-bottom: var(--space-s); border-bottom: 1px solid var(--color-line); }
.cat__title { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--step-3); line-height: 1.05; }
.cat__sub { color: var(--color-cream-3); }
@media (min-width: 64rem) {
  .carta__body { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-2xl); }
  .carta__body > .cat:not(.cat--half), .carta__body > .allergens { grid-column: 1 / -1; }
}

/* allergen numbers */
.al { display: inline-flex; flex-wrap: wrap; gap: .2rem; margin-top: .45rem; }
.al__n { display: inline-grid; place-items: center; min-width: 1.15rem; height: 1.15rem; padding: 0 .2rem; border-radius: 50%; border: 1px solid var(--color-line-strong); font-size: .62rem; font-weight: 600; color: var(--color-cream-3); font-variant-numeric: tabular-nums; }

/* gourmet: photo cards (list on phones, grid from tablet) */
.ggrid { display: grid; gap: var(--space-s); }
.gcard { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--space-s); align-items: start; padding-bottom: var(--space-s); border-bottom: 1px solid var(--color-line); }
.gcard:last-child { border-bottom: 0; }
.gcard__pic { aspect-ratio: 1; }
.gcard__pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten; transition: transform .6s var(--ease); }
.gcard:hover .gcard__pic img { transform: rotate(-8deg) scale(1.03); }
.gcard__name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: var(--step-2); line-height: 1.1; }
.gcard__desc { color: var(--color-cream-2); font-size: var(--step--1); margin-top: .3rem; }
.gcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-top: var(--space-xs); flex-wrap: wrap; }
.gcard__prices { display: flex; gap: var(--space-s); font-variant-numeric: tabular-nums; font-weight: 600; }
.gcard__prices span { white-space: nowrap; }
.gcard__prices small { font-weight: 400; color: var(--color-cream-3); margin-right: .15rem; }
@media (min-width: 40rem) {
  .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-l); row-gap: var(--space-xl); }
  .gcard { grid-template-columns: minmax(0, 1fr); border-bottom: 0; padding-bottom: 0; }
  .gcard__pic { width: 82%; margin: 0 auto calc(var(--space-2xs) * -1); }
  .gcard__body { display: flex; flex-direction: column; height: 100%; }
  .gcard__foot { margin-top: auto; padding-top: var(--space-s); }
}
@media (min-width: 64rem) { .ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* traditional: numbered list with three sizes */
.trad-head { display: none; }
.trad-extras { margin-top: var(--space-s); font-size: var(--step--1); color: var(--color-cream-2); text-wrap: pretty; }
.trad-extras b { color: var(--color-cream); }
.trad-list { display: grid; }
.trad { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; grid-template-areas: "n main add" "n prices prices"; column-gap: var(--space-xs); row-gap: .55rem; padding: var(--space-s) 0; border-bottom: 1px solid var(--color-line); align-items: start; }
.trad__n { grid-area: n; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--color-accent); line-height: 1.6; font-variant-numeric: lining-nums; }
.trad__main { grid-area: main; min-width: 0; }
.trad__name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.2; }
.trad__desc { color: var(--color-cream-2); font-size: var(--step--1); margin-top: .15rem; }
.trad__prices { grid-area: prices; display: flex; flex-wrap: wrap; gap: .3rem var(--space-s); font-variant-numeric: tabular-nums; font-weight: 600; }
.trad__p { white-space: nowrap; }
.trad__p small { font-weight: 400; color: var(--color-cream-3); margin-right: .3rem; }
.trad .add { grid-area: add; }
@media (min-width: 48rem) {
  .trad-head { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) repeat(3, 5.5rem) 7rem; column-gap: var(--space-s); font-size: var(--step--1); color: var(--color-cream-3); padding-bottom: var(--space-2xs); border-bottom: 1px solid var(--color-line); }
  .trad-head > span:first-child { grid-column: 1 / 3; }
  .trad-head span { text-align: right; } .trad-head > span:first-child { text-align: left; }
  .trad-head small { display: block; }
  .trad { grid-template-columns: 2.5rem minmax(0, 1fr) repeat(3, 5.5rem) 7rem; grid-template-areas: "n main p1 p2 p3 add"; column-gap: var(--space-s); align-items: center; }
  .trad__prices { display: contents; }
  .trad__p { text-align: right; font-size: var(--step-0); }
  .trad__p small { display: none; }
  .trad .add { justify-self: end; }
  .trad:hover { background: linear-gradient(90deg, transparent, var(--color-night-2) 8%, var(--color-night-2) 92%, transparent); }
}

/* photo rows (calzones, desserts) */
.plist { display: grid; gap: var(--space-s); }
.prow { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-s); align-items: center; padding-bottom: var(--space-s); border-bottom: 1px solid var(--color-line); }
.prow__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: lighten; }
.prow__name { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: var(--step-2); line-height: 1.1; }
.prow__desc { color: var(--color-cream-2); font-size: var(--step--1); margin-top: .3rem; }
.prow__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); margin-top: var(--space-xs); }
@media (min-width: 48rem) {
  .plist--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-l); }
  .plist--3 .prow { grid-template-columns: minmax(0, 1fr); border-bottom: 0; align-items: start; }
  .plist--3 .prow__pic { width: 80%; margin-inline: auto; }
  .plist--3 .prow__body { display: flex; flex-direction: column; height: 100%; }
  .plist--3 .prow__foot { margin-top: auto; padding-top: var(--space-xs); }
}

/* simple rows (new, sides, drinks) */
.slist { display: grid; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-s); align-items: center; padding: var(--space-s) 0; border-bottom: 1px solid var(--color-line); }
.srow__name { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.2; }
.srow__desc { color: var(--color-cream-2); font-size: var(--step--1); margin-top: .15rem; }
.slist--tight .srow { padding: .6rem 0; }
.slist--tight .srow__name { font-family: var(--font-body); font-weight: 500; font-size: var(--step-0); }
.drinks { display: grid; gap: var(--space-l); }
.drinks__title { font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-cream-3); }
@media (min-width: 48rem) { .drinks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); } }
@media (min-width: 75rem) { .drinks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.slist--tight .add { width: 2.75rem; padding: 0; justify-content: center; }
.slist--tight .add__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 22rem) { .srow { grid-template-columns: minmax(0, 1fr) auto; } .srow .price { grid-column: 2; grid-row: 1; } .srow .add { grid-column: 1 / -1; justify-self: start; } }

/* allergen legend */
.allergens { border: 1px solid var(--color-line); border-radius: var(--radius-m); padding: 0 var(--space-m); }
.allergens summary { cursor: pointer; padding: var(--space-s) 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.allergens summary::-webkit-details-marker { display: none; }
.allergens summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--color-accent); }
.allergens[open] summary::after { content: "−"; }
.allergens p { color: var(--color-cream-2); font-size: var(--step--1); max-width: 44rem; }
.allergens__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .5rem var(--space-m); padding: var(--space-s) 0 var(--space-m); font-size: var(--step--1); }
.allergens__list li { display: flex; align-items: center; gap: .5rem; }

/* ── Reviews ──────────────────────────────────────── */
.reviews { padding: var(--space-2xl) 0; border-top: 1px solid var(--color-line); }
.review-grid { display: grid; gap: var(--space-m); }
.review { display: grid; gap: var(--space-s); align-content: start; padding: var(--space-m); border-radius: var(--radius-l); background: var(--color-night-2); border: 1px solid var(--color-line); }
.review__stars { display: flex; gap: .15rem; color: var(--color-accent); }
.review blockquote p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; font-style: italic; }
.review figcaption { display: grid; gap: .2rem; font-size: var(--step--1); color: var(--color-cream-3); }
.review figcaption a { justify-self: start; }
.review figcaption b { color: var(--color-cream); font-weight: 600; }
.review figcaption a { color: var(--color-cream-2); }
.review figcaption a:hover { color: var(--color-accent); }
@media (min-width: 56rem) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Gallery ──────────────────────────────────────── */
.gallery { padding: var(--space-2xl) 0; border-top: 1px solid var(--color-line); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs); }
.shot { position: relative; overflow: hidden; border-radius: var(--radius-m); background: var(--color-night-2); aspect-ratio: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: .5rem; bottom: .5rem; padding: .2rem .55rem; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-night) 80%, transparent); font-size: .72rem; color: var(--color-cream-2); }
.shot figcaption a { color: var(--color-cream); }
.shot--0 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.photo-note { margin-top: var(--space-s); font-size: var(--step--1); color: var(--color-cream-3); }
@media (min-width: 48rem) {
  .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 14rem; gap: var(--space-xs); }
  .shot { aspect-ratio: auto; }
  .shot--0 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .shot--1 { grid-row: span 2; }
  .shot--6 { grid-column: span 2; }
}

/* ── Visit ────────────────────────────────────────── */
.visit { padding: var(--space-2xl) 0; border-top: 1px solid var(--color-line); }
.visit__grid { display: grid; gap: var(--space-xl); }
.visit__copy { display: grid; gap: var(--space-m); justify-items: start; }
.visit__copy .eyebrow { margin-bottom: calc(var(--space-m) * -0.5); }
.visit__addr { font-style: normal; display: grid; gap: var(--space-xs); }
.visit__addr > * { display: flex; gap: .65rem; align-items: flex-start; text-decoration: none; }
.visit__addr svg { color: var(--color-accent); margin-top: .2rem; }
.visit__addr a:hover { color: var(--color-accent); }
.visit__cta { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.visit__pay { font-size: var(--step--1); color: var(--color-cream-3); }
.hours { align-self: start; padding: var(--space-m); border-radius: var(--radius-l); background: var(--color-night-2); border: 1px solid var(--color-line); }
.hours__title { display: flex; align-items: center; gap: .5rem; font-size: var(--step-0); font-weight: 600; margin-bottom: var(--space-s); }
.hours__title svg { color: var(--color-accent); }
.hours__list li { display: flex; justify-content: space-between; gap: var(--space-s); white-space: nowrap; padding: .55rem .6rem; border-radius: var(--radius-s); font-variant-numeric: tabular-nums; color: var(--color-cream-2); }
.hours__list li.is-today { background: var(--color-night-3); color: var(--color-cream); font-weight: 600; }
.hours__list li.is-today span:first-child::after { content: " · " attr(data-today); color: var(--color-hot); font-weight: 600; }
.visit__pic { border-radius: var(--radius-l); overflow: hidden; }
.visit__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 48rem) { .visit__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .visit__pic { grid-column: 1 / -1; } .visit__pic img { aspect-ratio: 16 / 9; } }
@media (min-width: 80rem) { .visit .h2 { font-size: var(--step-3); } .visit__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr); align-items: start; } .visit__pic { grid-column: auto; } .visit__pic img { aspect-ratio: 3 / 4; } }

/* ── Footer ───────────────────────────────────────── */
.foot { border-top: 1px solid var(--color-line); padding: var(--space-xl) 0 var(--space-l); }
.foot__grid { display: grid; gap: var(--space-l); }
.foot__tag { margin-top: var(--space-s); color: var(--color-cream-3); }
.foot__links { display: grid; gap: var(--space-xs); }
.foot__links a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--color-cream-2); white-space: nowrap; }
.foot__links a:hover { color: var(--color-accent); }
.foot__lang { display: grid; place-items: center; width: 1.15em; font-size: .7rem; font-weight: 700; }
.foot__fine { margin-top: var(--space-xl); padding-top: var(--space-m); border-top: 1px solid var(--color-line); display: grid; gap: var(--space-2xs); font-size: .78rem; color: var(--color-cream-3); }
.foot__fine a { color: var(--color-cream-2); }
@media (min-width: 48rem) { .foot__grid { grid-template-columns: minmax(0, 1fr) auto; } .foot__links { margin-right: var(--space-2xl); } }

/* ── Sticky order bar (phones and desktop) ────────── */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--color-night) 70%, transparent); }
.bar[hidden] { display: none; }
.bar__btn { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-s); width: 100%; max-width: 34rem; margin-inline: auto; min-height: 3.5rem; padding: 0 1.15rem 0 .55rem;
  border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-accent) 60%, transparent); }
.bar__btn:hover { background: var(--color-cream); }
.bar__btn:active { transform: translateY(1px); }
.bar__count { display: grid; place-items: center; min-width: 2.4rem; height: 2.4rem; border-radius: var(--radius-pill); background: var(--color-accent-ink); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.bar__label { text-align: left; }
.bar__total { font-variant-numeric: tabular-nums; }
.bar.is-bump .bar__btn { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.03); } }

/* ── Sheets (item + cart dialogs) ─────────────────── */
.sheet { width: 100%; max-width: 34rem; max-height: min(92dvh, 52rem); margin: auto auto 0; padding: 0; border: 0; border-radius: var(--radius-l) var(--radius-l) 0 0; background: var(--color-night-2); color: var(--color-cream);
  display: none; flex-direction: column; overflow: hidden; box-shadow: 0 -20px 60px -20px #000; }
.sheet[open] { display: flex; animation: up .32s var(--ease); }
.sheet::backdrop { background: rgb(0 0 0 / .6); backdrop-filter: blur(3px); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 40rem) { .sheet { margin: auto; border-radius: var(--radius-l); } }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.sheet__head { position: relative; padding: var(--space-m) var(--space-m) var(--space-s); border-bottom: 1px solid var(--color-line); }
.sheet__head h2 { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: var(--step-3); line-height: 1.05; padding-right: 3rem; }
.sheet__head h2:focus { outline: none; }
.sheet__head p { color: var(--color-cream-3); font-size: var(--step--1); margin-top: .35rem; }
.sheet__pic { width: 6rem; float: right; margin: -.5rem 2.6rem 0 var(--space-s); }
.sheet__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: lighten; }
.close { position: absolute; top: var(--space-s); right: var(--space-s); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--color-line-strong); background: var(--color-night-2); cursor: pointer; }
.close:hover { border-color: var(--color-cream); }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-m); display: grid; gap: var(--space-m); align-content: start; }
.sheet__foot { padding: var(--space-s) var(--space-m) calc(var(--space-s) + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); display: grid; gap: var(--space-xs); background: var(--color-night-2); }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-top: var(--space-s); }
.steps-bar span { height: 3px; border-radius: 3px; background: var(--color-line-strong); }
.steps-bar span.is-on { background: var(--color-accent); }
.desc { color: var(--color-cream-2); font-size: var(--step--1); }
.al-names { font-size: var(--step--1); color: var(--color-cream-3); }
.al-names b { color: var(--color-cream-2); font-weight: 600; }

/* size picker */
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-weight: 600; margin-bottom: var(--space-xs); padding: 0; }
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: var(--space-2xs); }
.size { position: relative; display: grid; gap: .1rem; padding: .75rem .8rem; border-radius: var(--radius-m); border: 1.5px solid var(--color-line-strong); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size:hover { border-color: var(--color-cream-3); }
.size:has(input:checked) { border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.size:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.size:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.size b { font-weight: 600; }
.size small { color: var(--color-cream-3); font-size: .78rem; }
.size .size__price { font-variant-numeric: tabular-nums; font-weight: 600; margin-top: .25rem; }
.size s { color: var(--color-cream-3); font-weight: 400; margin-right: .3rem; }
.size .is-offer { color: var(--color-hot); }
.offer-note { font-size: var(--step--1); color: var(--color-cream-2); padding: .65rem .8rem; border-radius: var(--radius-s); background: color-mix(in srgb, var(--color-hot) 12%, transparent); border: 1px solid color-mix(in srgb, var(--color-hot) 35%, transparent); }
.offer-note b { color: var(--color-hot); }
.extras { display: grid; gap: var(--space-2xs); }
.extras .row-qty { gap: var(--space-xs); }
.extras__label { font-size: var(--step--1); }
.extras__price { color: var(--color-cream-3); white-space: nowrap; }
.extras__which { margin-top: var(--space-3xs); }
.extras__which[hidden] { display: none; }
.row-qty { display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); }
.opt__label { font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--color-line-strong); border-radius: var(--radius-pill); }
.qty button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; border-radius: 50%; color: var(--color-cream); }
.qty button:hover { color: var(--color-accent); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 1.8rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty--sm button { width: 2.5rem; height: 2.5rem; }

/* forms */
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field label small { font-weight: 400; color: var(--color-cream-3); }
.input { width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: var(--radius-s); border: 1.5px solid var(--color-line-strong); background: var(--color-night-3); color: var(--color-cream); font: inherit; font-size: max(16px, 1rem); }
.input::placeholder { color: var(--color-cream-3); opacity: .8; }
.input:hover { border-color: var(--color-cream-3); }
.input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 30%, transparent); }
.input[aria-invalid="true"] { border-color: var(--color-error); }
textarea.input { resize: vertical; min-height: 4.5rem; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-cream-2) 50%), linear-gradient(135deg, var(--color-cream-2) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 50%, calc(100% - .95rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
select.input option, select.input optgroup { background: var(--color-night-2); color: var(--color-cream); }
.hint { font-size: .8rem; color: var(--color-cream-3); min-height: 1em; }
.hint[data-error] { color: var(--color-error); }
.hint:empty { display: none; }

/* cart */
.lines { display: grid; }
.line-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem var(--space-s); padding: var(--space-s) 0; border-bottom: 1px solid var(--color-line); }
.line-item:first-child { padding-top: 0; }
.line-item__name { font-weight: 600; }
.line-item__opts { color: var(--color-cream-3); font-size: var(--step--1); }
.line-item__offer { color: var(--color-hot); font-size: var(--step--1); font-weight: 600; }
.line-item__price { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; white-space: nowrap; }
.line-item__ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-m); }
.line-item__warn { grid-column: 1 / -1; color: var(--color-error); font-size: var(--step--1); }
.totals { display: grid; gap: .35rem; }
.totals__row { display: flex; justify-content: space-between; gap: var(--space-s); font-variant-numeric: tabular-nums; color: var(--color-cream-2); }
.totals__row--total { color: var(--color-cream); font-weight: 700; font-size: var(--step-1); padding-top: .5rem; border-top: 1px solid var(--color-line); }
.totals__note { font-size: var(--step--1); color: var(--color-cream-3); }
.pickup-chip { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border-radius: var(--radius-m); background: var(--color-night-3); font-size: var(--step--1); color: var(--color-cream-2); }
.pickup-chip svg { color: var(--color-accent); }
.pickup-chip b { color: var(--color-cream); }
.empty { display: grid; gap: var(--space-xs); justify-items: start; padding: var(--space-m) 0; }
.empty b { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); }
.empty p { color: var(--color-cream-2); }
.undo { display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); padding: .65rem .85rem; border-radius: var(--radius-s); background: var(--color-night-3); font-size: var(--step--1); }
.back { display: inline-flex; align-items: center; gap: .45rem; justify-self: start; background: none; border: 0; padding: .3rem 0; color: var(--color-cream-2); font-size: var(--step--1); font-weight: 600; cursor: pointer; text-decoration: none; }
.back:hover { color: var(--color-accent); }
.review-box { display: grid; gap: .25rem; padding: var(--space-s); border-radius: var(--radius-m); background: var(--color-night-3); font-size: var(--step--1); color: var(--color-cream-2); }
.review-box b { color: var(--color-cream); font-size: var(--step-0); }
.review-box .linklike { justify-self: start; margin-top: .25rem; }
.alert { padding: .75rem .9rem; border-radius: var(--radius-s); background: color-mix(in srgb, var(--color-error) 14%, transparent); border: 1px solid color-mix(in srgb, var(--color-error) 40%, transparent); font-size: var(--step--1); }
.privacy { font-size: .8rem; color: var(--color-cream-3); }
.send-total { display: flex; justify-content: space-between; font-weight: 700; font-variant-numeric: tabular-nums; }
.done { display: grid; gap: var(--space-s); justify-items: start; }
.done__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-basil); color: var(--color-accent-ink); }
.done__icon svg { width: 1.5rem; height: 1.5rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 1rem + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  padding: .65rem 1.1rem; border-radius: var(--radius-pill); background: var(--color-cream); color: var(--color-paper-ink); font-weight: 600; font-size: var(--step--1); white-space: nowrap; max-width: calc(100vw - 2rem); overflow: hidden; text-overflow: ellipsis;
  transition: opacity .2s var(--ease), transform .2s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Phones: compact add buttons, collapsible menu categories ── */
.cat__toggle { all: unset; display: inline-flex; align-items: baseline; gap: .6rem; cursor: pointer; }
.cat__toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; border-radius: 4px; }
.cat__count { font-family: var(--font-body); font-style: normal; font-size: var(--step--1); font-weight: 600; color: var(--color-cream-3); font-variant-numeric: tabular-nums; }
.cat.is-collapsed .cat__body { display: none; }
@media (max-width: 47.99rem) {
  .cat__head { position: relative; }
  .cat__toggle { width: 100%; }
  .cat__toggle::after { content: ""; margin-left: auto; align-self: center; width: .6rem; height: .6rem; border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-135deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
  .cat.is-collapsed .cat__toggle::after { transform: rotate(45deg); }
  .cat.is-collapsed .cat__head { margin-bottom: 0; }
  .carta__body { gap: var(--space-l); }
}
@media (min-width: 48rem) { .cat__toggle { cursor: default; } .cat__count { display: none; } }
@media (max-width: 29.99rem) {
  .gcard .add, .prow .add { width: 2.75rem; padding: 0; justify-content: center; }
  .gcard .add__label, .prow .add__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gcard { grid-template-columns: 6.25rem minmax(0, 1fr); column-gap: .85rem; }
  .gcard__foot { flex-wrap: nowrap; gap: .5rem; }
  .gcard__prices { gap: .6rem; font-size: var(--step--1); }
  .gcard__prices small { margin-right: .1rem; }
}
@media (max-width: 22.49rem) { .prow { grid-template-columns: 5.5rem minmax(0, 1fr); } .prow__name { font-size: var(--step-1); } }
@media (max-width: 22.49rem) {
  .gcard { grid-template-columns: 5.25rem minmax(0, 1fr); }
  .gcard__foot { flex-wrap: wrap; row-gap: .4rem; }
  .gcard .add { margin-left: auto; }
}
@media (max-width: 22.49rem) {
  .nav__in { gap: var(--space-2xs); }
  .nav__end { gap: .375rem; }
  .lang { min-width: 2.75rem; }
}

/* ── Sample pieces (shared by every sample under /previews/) ── */
@media (min-width: 64rem) { .ph-reviews .section-head { max-width: none; } .ph-reviews__lede { max-width: none; white-space: nowrap; } .ph-reviews__lede .line-mob { display: inline; } }   /* one line on desktop */
.sample-ribbon { margin: 0; padding: 0.6rem 0; font-size: var(--text-xs); line-height: 1.45; background: var(--color-ink); color: var(--color-paper); }
.sample-ribbon .wrap { display: block; }
.sample-ribbon a { color: inherit; font-weight: 700; text-underline-offset: 0.2em; }
.ph-brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; line-height: 1.05; }
.ph-logo { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; flex: none; border: 2px dashed currentColor; border-radius: 0.6rem;
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; line-height: 1.15; opacity: 0.8; }
.ph-name { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; }
@media (max-width: 26rem) { .ph-brand { gap: 0.45rem; } .ph-logo { width: 2.3rem; height: 2.3rem; font-size: 0.48rem; border-width: 1.5px; } .ph-name { font-size: 0.95rem !important; } }
.ph-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .ph-reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ph-review { display: grid; gap: 0.7rem; padding: 1.4rem; border: 2px dashed var(--color-rule-strong, var(--color-rule)); border-radius: var(--radius-md, 0.75rem); }
.ph-stars { letter-spacing: 0.15em; color: var(--color-accent); }
.ph-line { display: block; height: 0.7rem; border-radius: 99px; background: var(--color-rule); }
.ph-line--short { width: 60%; }
.ph-who { display: block; width: 40%; height: 0.7rem; margin-top: 0.4rem; border-radius: 99px; background: var(--color-rule-strong, var(--color-rule)); }
.sample-cta { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--color-ink); color: var(--color-paper); }
.sample-cta .wrap { display: grid; gap: 1.1rem; justify-items: start; }
.sample-cta__eyebrow { margin: 0; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.sample-cta__title { margin: 0; font-family: var(--font-display); font-size: clamp(2.1rem, 4.6vw + 0.6rem, 4.2rem); line-height: 1.02; max-width: 16ch; overflow-wrap: anywhere; }
.sample-cta__lede { margin: 0; max-width: 46ch; font-size: var(--text-md); line-height: 1.5; opacity: 0.9; }
.sample-cta__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.sample-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; border: 2px solid currentColor;
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); white-space: nowrap; text-decoration: none; color: inherit; }
.sample-btn svg { width: 1.2em; height: 1.2em; }
.sample-btn--solid { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-paper); }
.sample-btn:hover { opacity: 0.88; }
.sample-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
.sample-cta__fine { margin: 0; font-size: var(--text-sm); opacity: 0.75; }
.sample-cta__fine a { color: inherit; text-underline-offset: 0.2em; }
html[data-lang="es"] .sample-btn.en, html[data-lang="en"] .sample-btn.es { display: none; }

/* ── Sample overrides ─────────────────────────────── */
html { font-synthesis-weight: none; }          /* DM Serif Display has one weight: never fake a bold */
html[data-lang="es"] .en, html[data-lang="en"] .es { display: none !important; }
.ph-brand { color: var(--color-cream); }
.ph-name { font-size: 1.35rem; }
.foot .ph-brand .ph-logo { width: 3.6rem; height: 3.6rem; }
/* desktop: "See your new website" on one line, "before you pay." under it */
@media (min-width: 64rem) { .sample-cta__title { max-width: none; } .sample-cta__title .nb { display: block; } }
.foot .ph-name { font-size: 1.6rem; }
.sample-ribbon { background: var(--color-accent); color: var(--color-accent-ink); text-align: center; }
.sample-cta { background: var(--color-paper); color: var(--color-paper-ink); }
.sample-btn--solid { background: var(--color-paper-ink); color: var(--color-paper); border-color: var(--color-paper-ink); }
.sample-cta__fine a { color: inherit; }
.hero__skyline { stroke-width: 1.2; }
.facts svg { color: var(--color-accent); }
/* calzones and desserts are real photos, not cut-outs: rounded squares, no blend */
.prow--photo .prow__pic img { mix-blend-mode: normal; border-radius: var(--radius-m); }
.ph-reviews .sec-head { margin-bottom: var(--space-l); }
.ph-reviews__list { margin-top: var(--space-l); }
.ph-review { background: var(--color-night-2); }
.ph-stars { color: var(--color-hot); }
.visit__example { display: block; margin-top: .2rem; font-size: var(--step--1); color: var(--color-cream-3); }

/* ══ Immersive layer ════════════════════════════════════════════════════════════
   Used by immersive.html / immersive-es.html (the switch link is on the classic pages too).
   The plain rules are the finished page: no JS, a failed script or reduced motion all show four chapters.
   Everything that moves lives under html.fx, which immersive.js adds only when motion is allowed. */

/* Classic ⇄ immersive switch, above the headline */
.mode-switch { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.25rem; padding: 0 .95rem;
  border: 1px solid var(--color-line-strong); border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 600;
  color: var(--color-cream-2); text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
.mode-switch:hover { color: var(--color-cream); border-color: var(--color-accent); }
.mode-switch:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.mode-switch--to span { color: var(--color-accent); }

/* Motion Hero hooks */
.hero__spinin { position: relative; }
.hero__spinin img { border-radius: 50%; }   /* the cut is a circle on black: round it, since the wrapper's transform stops the lighten blend */
.hero__embers { display: none; }
html.fx .hero__embers { display: block; position: absolute; left: -15%; right: -15%; top: -25%; bottom: 0; width: 130%; height: 125%; z-index: 2; pointer-events: none; }

/* ── Scroll Story: "From dough to your door" ── */
.pz-story { position: relative; isolation: isolate; overflow: clip; padding-block: var(--space-3xl); border-top: 1px solid var(--color-line); }
.pz-story__bg { position: absolute; inset: 0; z-index: -2; }
.pz-story__bg { background: radial-gradient(ellipse 55% 65% at 72% 50%, rgb(255 138 76 / .07), transparent 70%), var(--color-night); }
.pz-story__embers, .pz-progress, .pz-hint, .pz-stage { display: none; }
.pz-story__head { display: grid; gap: var(--space-s); max-width: 42rem; margin-bottom: var(--space-xl); }
.pz-story__head .eyebrow, .pz-story__head .h2, .pz-story__lede { margin: 0; }

.pz-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl) var(--space-l); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .pz-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .pz-chapters { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pz-ch { display: grid; gap: var(--space-m); align-content: start; min-width: 0; }
.pz-ch__pic { margin: 0; width: min(100%, 17rem); aspect-ratio: 1; }
.pz-ch__pic img, .pz-layer img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  -webkit-mask: radial-gradient(closest-side, #000 calc(var(--e, 1) * 100% - 4%), transparent calc(var(--e, 1) * 100%));
          mask: radial-gradient(closest-side, #000 calc(var(--e, 1) * 100% - 4%), transparent calc(var(--e, 1) * 100%)); }
.pz-ch__pic img { scale: calc(.95 / var(--e, 1)); }   /* every pizza the same size, whatever its mask edge */
.pz-ch__text { display: grid; gap: var(--space-2xs); }
/* phones without motion: a compact row per step, photo beside the words */
@media (max-width: 39.99rem) {
  html:not(.fx) .pz-chapters { gap: var(--space-l); }
  html:not(.fx) .pz-ch { grid-template-columns: 6.5rem minmax(0, 1fr); align-items: start; gap: var(--space-s); }
  html:not(.fx) .pz-ch__pic { width: 100%; }
  html:not(.fx) .pz-ch__title { font-size: var(--step-1); }
}
.pz-ch__kicker { margin: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-cream-3); }
.pz-ch__num { margin-right: .4em; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.pz-ch__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1.1; color: var(--color-cream); }
.pz-ch__p { margin: 0; max-width: 36ch; color: var(--color-cream-2); }
.pz-ch__cta { margin: var(--space-xs) 0 0; }

/* ── The pinned stage (motion allowed) ── */
html.fx .pz-story { --D: min(84vw, 44svh); padding: 0; }
html.fx .pz-story__pin { height: 100svh; padding-top: 4.35rem; }   /* the sticky header sits over the top of the pin */
html.fx .pz-story__grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto; align-content: center; row-gap: var(--space-m); }
html.fx .pz-story__embers { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
html.fx .pz-story__head { margin: 0; gap: var(--space-2xs); }
html.fx .pz-story__lede { display: none; }
html.fx .pz-progress { display: flex; align-items: center; gap: .75rem; margin: var(--space-2xs) 0 0; font-size: var(--step--1); font-weight: 600;
  color: var(--color-cream-3); font-variant-numeric: tabular-nums; }
.pz-progress__n { color: var(--color-cream); }
.pz-progress__bar { position: relative; width: 7rem; height: 2px; overflow: hidden; background: var(--color-line-strong); }
.pz-progress__bar i { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left; transform: scaleX(0); }

html.fx .pz-stage { display: block; position: relative; z-index: 0; width: var(--D); aspect-ratio: 1; justify-self: center; }
.pz-stage__glow { position: absolute; inset: -38%; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 140 70 / .55), rgb(255 80 25 / .22) 48%, transparent 74%); filter: blur(18px); }
.pz-stage__spin { position: absolute; inset: 0; }
.pz-layer { position: absolute; left: 50%; top: 50%; width: calc(100% * var(--f, 1)); aspect-ratio: 1;
  margin: calc(-50% * var(--f, 1)) 0 0 calc(-50% * var(--f, 1)); }   /* centred by margins (the stage is square), so GSAP owns transform */
.pz-layer img { filter: drop-shadow(0 18px 30px rgb(0 0 0 / .5)); }
/* the slice: the baked pizza minus a 50° wedge, and the wedge itself, which slides away (--w is set by the timeline) */
.pz-layer[data-layer="3"] img {
  -webkit-mask: radial-gradient(closest-side, #000 calc(var(--e) * 100% - 4%), transparent calc(var(--e) * 100%)),
                conic-gradient(from 110deg, transparent 0 var(--w, 0deg), #000 0);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(closest-side, #000 calc(var(--e) * 100% - 4%), transparent calc(var(--e) * 100%)),
        conic-gradient(from 110deg, transparent 0 var(--w, 0deg), #000 0);
  mask-composite: intersect; }
.pz-slice img {
  -webkit-mask: radial-gradient(closest-side, #000 calc(var(--e) * 100% - 4%), transparent calc(var(--e) * 100%)),
                conic-gradient(from 110deg, #000 0 var(--w, 0deg), transparent 0);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(closest-side, #000 calc(var(--e) * 100% - 4%), transparent calc(var(--e) * 100%)),
        conic-gradient(from 110deg, #000 0 var(--w, 0deg), transparent 0);
  mask-composite: intersect; }
.pz-bit { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: auto; aspect-ratio: 1; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  opacity: 0; filter: drop-shadow(0 10px 12px rgb(0 0 0 / .5)); }

html.fx .pz-chapters { position: relative; display: block; min-height: 10.5rem; }
html.fx .pz-ch { position: absolute; inset: 0 0 auto 0; gap: 0; }
html.fx .pz-ch__pic { display: none; }
html.fx .pz-hint { display: flex; align-items: center; gap: .45rem; position: absolute; left: 50%; bottom: var(--space-m); translate: -50% 0; margin: 0;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-cream-3); }
.pz-hint span { color: var(--color-accent); }

/* phones and tablets: eyebrow and counter on top, the stage, then the chapter text */
@media (max-width: 63.99rem) {
  html.fx .pz-story__head .h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html.fx .pz-ch__title { font-size: var(--step-1); }
  html.fx .pz-hint { display: none; }
  html.fx .pz-stage { order: 1; }
  html.fx .pz-chapters { order: 2; }
}
@media (max-width: 63.99rem) {
  html.fx .pz-story { --D: min(84vw, calc(100svh - 23rem), 30rem); }   /* header, counter and the longest chapter (with its button) always fit */
  html.fx .pz-story__grid { row-gap: var(--space-s); align-content: start; padding-top: var(--space-s); }   /* chapters are stacked absolutely: start at the top so the tallest one has room */
  html.fx .pz-story__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: var(--space-s); }
  html.fx .pz-progress { margin: 0; }
  html.fx .pz-ch__p { font-size: var(--step--1); }
  html.fx .pz-ch__cta { margin-top: var(--space-2xs); }
  html.fx .pz-chapters { min-height: 9rem; }
}
/* desktop: words on the left, the pizza on the right */
@media (min-width: 64rem) {
  html.fx .pz-story { --D: min(40vw, 72svh, 40rem); }
  html.fx .pz-story__grid { grid-template-columns: minmax(0, 1fr) var(--D); grid-template-rows: auto auto; column-gap: var(--space-2xl); row-gap: var(--space-l); }
  html.fx .pz-story__head { grid-column: 1; grid-row: 1; align-self: end; }
  html.fx .pz-chapters { grid-column: 1; grid-row: 2; align-self: start; min-height: 12rem; }
  html.fx .pz-stage { grid-column: 2; grid-row: 1 / span 2; }
  html.fx .pz-ch__title { font-size: var(--step-3); }
}
