/* Trattoria Al Balurdù — “La tovaglia blu”. Mobile first. */

@font-face {
  font-family: 'Young Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/young-serif-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(../fonts/figtree-latin-wght-normal.woff2) format('woff2');
}

:root {
  --blu: #4a5a86;
  --blu-d: #3b4a72;
  --ink: #1e2542;
  --ink-2: #283056;
  --panna: #f7f2e8;
  --panna-2: #efe7d6;
  --sabbia: #c9b38c;
  --pomodoro: #b63a26;
  --pomodoro-d: #962d1c;
  --muted: #4f5674;
  --serif: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hh: 68px;
  --pad: 1.25rem;
  --radius: 24px;
  --tm: var(--pomodoro);
  --check: rgba(74, 90, 134, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 1rem); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--panna);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 1rem; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pomodoro); outline-offset: 3px; border-radius: 4px; }
.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 { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--panna); padding: .75rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--pad), 1180px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }

/* ---------- type ---------- */
.h2 { font-family: var(--serif); font-size: clamp(1.75rem, 6.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.15; }
.lede { font-size: clamp(1.12rem, 3.6vw, 1.3rem); line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-bottom: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blu);
}
.eyebrow::before { content: ''; width: 1.6rem; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--sabbia); }
.tm { font-family: var(--sans); font-size: .42em; font-weight: 700; vertical-align: super; line-height: 0; margin-left: .06em; color: var(--tm); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; text-align: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn .ico { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pomodoro); color: #fff; box-shadow: 0 10px 24px -12px rgba(150, 45, 28, .8); }
.btn-primary:hover { background: var(--pomodoro-d); }
.btn-light { background: var(--panna); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--blu); color: var(--blu); background: transparent; }
.btn-outline:hover { background: var(--blu); color: #fff; }
.btn-lg { min-height: 56px; font-size: 1.06rem; padding-inline: 1.6rem; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-lg { width: 1.6rem; height: 1.6rem; }
.ico-xl { width: 2.2rem; height: 2.2rem; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--blu); }
.link-more .ico { transition: transform .2s; }
.link-more:hover .ico { transform: translateX(4px); }

/* ---------- gingham: the blue tablecloth ---------- */
.gingham {
  height: 32px;
  background-color: var(--panna);
  background-image: linear-gradient(90deg, var(--check) 50%, transparent 0), linear-gradient(var(--check) 50%, transparent 0);
  background-size: 32px 32px;
}
/* Scalloped tablecloth hem: a dark section hangs its edge over the next one. */
.hem { position: relative; }
.hem::after {
  content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: -13px; height: 14px; pointer-events: none;
  background: radial-gradient(14px at 50% 0, var(--hem, var(--ink)) 96%, #0000) 0 0 / 28px 14px repeat-x;
}

/* Key phrases (alb_key): the palette accent of the section (--tm: Pomodoro on light, Sabbia on Inchiostro, white on Blu).
   Signature lines also get a Pomodoro brush stroke underneath. Body copy uses plain bold. */
.key { color: var(--tm); }
.hero-h .key, .cta-h .key, .vera-motto .key {
  /* One tapered brush stroke, stretched under each line fragment (cloned per line, never tiled). */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C46 4.5 118 3 197 5.2c1.6.1 1.8 2.3.2 2.6C130 9 62 10.4 5.5 12.6 2 12.8.8 10 3 9.5Z' fill='%23b63a26'/%3E%3C/svg%3E") no-repeat 0 94% / 100% .2em;
}
.hero-sub strong, .regina-hero .lede strong, .cta-text strong { color: #fff; }

/* Postcard: a real photo pinned to the trattoria wall — paper border, tilt, Blu offset shadow, a strip of gingham tape. */
.postcard {
  position: relative; padding: 10px; border-radius: 6px; background: #fffdf8; rotate: var(--tilt, -2deg);
  box-shadow: 0 0 0 1px rgba(30, 37, 66, .1), 8px 8px 0 var(--postcard-shadow, var(--blu));
}
.postcard::before {
  content: ''; position: absolute; z-index: 2; top: -13px; left: 50%; width: 92px; height: 26px; translate: -50% 0; rotate: -4deg;
  background-color: rgba(247, 242, 232, .88);
  background-image: linear-gradient(90deg, rgba(182, 58, 38, .45) 50%, transparent 0), linear-gradient(rgba(182, 58, 38, .45) 50%, transparent 0);
  background-size: 10px 10px; box-shadow: 0 2px 6px -3px rgba(30, 37, 66, .5);
}
.postcard img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }

/* ---------- header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--panna); border-bottom: 1px solid rgba(30, 37, 66, .1); }
.header-in { height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 50px; }
.brand, .nav-toggle { position: relative; z-index: 56; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 46px; padding: 0 1.1rem;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700;
}
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--panna); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-panel {
  /* Full-viewport sheet under the logo and toggle: nothing from the page can show through, whatever the scroll position. */
  position: fixed; inset: 0; z-index: 55; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 2rem; padding: calc(var(--hh) + 2rem) var(--pad) env(safe-area-inset-bottom);
  background: linear-gradient(var(--panna) 0 calc(var(--hh) - 1px), rgba(30, 37, 66, .1) 0 var(--hh), var(--ink) 0);
  color: var(--panna); --tm: var(--sabbia);
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.nav-open .nav-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease, visibility 0s; }
.nav-list { list-style: none; display: grid; gap: .25rem; }
.nav-list a { display: flex; align-items: baseline; gap: .9rem; padding: .55rem 0; text-decoration: none; font-family: var(--serif); font-size: clamp(1.7rem, 8vw, 2.6rem); line-height: 1.1; }
.nav-n { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--sabbia); }
.nav-list a[aria-current="page"] .nav-l { text-decoration: underline; text-decoration-color: var(--pomodoro); text-decoration-thickness: 3px; text-underline-offset: .18em; }
.nav-extra { display: grid; gap: 1rem; justify-items: start; }
.nav-phone { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; font-size: 1.1rem; }
.nav-gingham { margin: auto calc(-1 * var(--pad)) 0; flex: none; height: 40px; --check: rgba(201, 179, 140, .55); background-color: var(--ink); background-size: 40px 40px; }
/* Phones: one short rule above the label, so eyebrows of any length stay tidy when they wrap. */
@media (max-width: 599px) {
  .eyebrow { display: flex; flex-direction: column; align-items: center; gap: .55rem; letter-spacing: .14em; }
  .eyebrow::after { display: none; }
}
@media (max-width: 1099px) {
  .nav-panel { text-align: center; }
  .nav-list a { flex-direction: column; align-items: center; gap: .15rem; padding-block: .45rem; }
  .nav-extra { justify-items: center; }
}
html.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .nav-open .nav-list li { animation: rise .5s both calc(var(--n) * 60ms + 80ms); }
}

.today { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 600; }
.today .ico { color: currentColor; }

/* ---------- home hero: headline → postcard photo → copy & CTAs (mobile); split on desktop ---------- */
.hero {
  position: relative; display: grid; gap: 1.3rem; justify-items: center; overflow: hidden; text-align: center;
  padding: 1.8rem var(--pad) 2.2rem; background: var(--ink); color: var(--panna); --tm: var(--sabbia);
}
.hero-head, .hero-body { width: 100%; max-width: 40rem; }
.hero-h { font-family: var(--serif); font-size: clamp(1.75rem, 7.4vw, 4.1rem); line-height: 1.16; letter-spacing: -.015em; margin-bottom: .7rem; text-wrap: balance; }
.hero-media { position: relative; justify-self: stretch; margin: .2rem calc(-1 * var(--pad)) 0; }
.hero-frame {
  overflow: hidden; aspect-ratio: 4 / 3; max-height: 46svh; width: 100%;
  -webkit-mask: radial-gradient(9px at 50% 100%, #0000 96%, #000) 50% 0 / 22px 100% repeat-x;
  mask: radial-gradient(9px at 50% 100%, #0000 96%, #000) 50% 0 / 22px 100% repeat-x;
}
.hero-body { padding-top: 1rem; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-sub { font-size: clamp(1.02rem, 3.8vw, 1.25rem); line-height: 1.5; color: #e9e3d6; max-width: 34rem; margin-inline: auto; }
.hero-actions { margin-top: 1.2rem; }
.hero .hero-actions { justify-content: center; }
.hero .hero-actions .btn { flex: 1 1 11rem; }
.today-hero { margin-top: 1.1rem; font-size: .95rem; color: #e9e3d6; }
.seal {
  position: absolute; z-index: 3; bottom: -1.8rem; right: var(--pad); margin: 0;
  width: 92px; height: 92px; border-radius: 50%; background: var(--pomodoro); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6), 0 0 0 4px var(--ink);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; font: 700 15.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.seal b { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1; }
.seal small { font-family: var(--sans); font-size: .8rem; font-weight: 700; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-frame img { animation: kenburns 22s ease-out both; }
  .seal svg { animation: spin 30s linear infinite; }
  .hero-head > *, .hero-media, .hero-body > * { animation: rise .9s both; }
  .hero-media { animation-delay: .12s; }
  .hero-body > :nth-child(1) { animation-delay: .2s; }
  .hero-body > :nth-child(2) { animation-delay: .28s; }
  .hero-body > :nth-child(3) { animation-delay: .36s; }
}

/* ---------- dish ribbon: the six schede on a running Pomodoro band ---------- */
.ribbon { overflow: hidden; padding-block: .8rem; background: var(--pomodoro); color: #fff; --tm: #fff; border-block: 3px solid var(--pomodoro-d); }
.ribbon-track { display: flex; width: max-content; }
.ribbon ul { list-style: none; display: flex; align-items: center; gap: 1.2rem; padding-right: 1.2rem; white-space: nowrap; font-family: var(--serif); font-size: clamp(1.1rem, 3.6vw, 1.45rem); line-height: 1.2; }
.ribbon-star { font-family: var(--sans); font-size: .8em; color: var(--panna-2); }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: marquee 55s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}

/* ---------- "Il muro dei fan" (home): guest polaroids on two opposite drifting rows, crossed by a Pomodoro band ----------
   Rows (template-parts/fans-rows.php) and the headline band are shared with the Regina page (.regina-share; there the band is a <p>).
   Default (no JS / reduced motion): static rows that scroll sideways, copies hidden. Motion only with JS, no-preference,
   while the section is in view ([data-fans].is-live). No controls (client choice): rows stop only while a mouse button or a
   finger is held down on them ([data-fans].is-held, main.js) and start again on release. */
.fans { padding-top: clamp(3.5rem, 9vw, 6rem); background: var(--panna); text-align: center; }
.fans-head { margin-bottom: .4rem; }
.fans-stage { --bleed: 6vw; position: relative; overflow: hidden; overflow: clip; padding-block: calc(3vw + 1.4rem); }
.fans-band { display: grid; gap: clamp(5.2rem, 15vw, 10rem); margin-inline: calc(-1 * var(--bleed)); rotate: -4deg; }
.fans-row { min-width: 0; }
.regina-share .fans-stage { margin-top: clamp(1.5rem, 5vw, 3rem); }
.fans-track {
  list-style: none; display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 1.2rem calc(var(--bleed) + var(--pad)) 1.4rem; scroll-padding-inline: calc(var(--bleed) + var(--pad));
}
.fans-track::-webkit-scrollbar { display: none; }
.fans-track:focus-visible { outline-offset: -3px; }
.fans-track [aria-hidden] { display: none; }
/* Polaroid: paper border with a deeper bottom, alternating tilt, Blu offset shadow (the .postcard language). */
.fans-card { flex: none; width: max(12rem, 21vw); margin-right: clamp(1.1rem, 2.4vw, 2rem); scroll-snap-align: start; }
.fans-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px;
  padding: 8px 8px clamp(1.5rem, 2.6vw, 2.4rem); background: #fffdf8; rotate: var(--tilt, -2deg);
  box-shadow: 0 0 0 1px rgba(30, 37, 66, .1), 7px 7px 0 var(--blu);
}
.fans-row-rev .fans-card img { box-shadow: 0 0 0 1px rgba(30, 37, 66, .1), 7px 7px 0 var(--ink); }
.fans-card { position: relative; }
.fans-card-tape::before {
  content: ''; position: absolute; z-index: 2; top: -11px; left: 50%; width: 84px; height: 24px; translate: -50% 0; rotate: 5deg;
  background-color: rgba(247, 242, 232, .88);
  background-image: linear-gradient(90deg, rgba(182, 58, 38, .45) 50%, transparent 0), linear-gradient(rgba(182, 58, 38, .45) 50%, transparent 0);
  background-size: 10px 10px; box-shadow: 0 2px 6px -3px rgba(30, 37, 66, .5);
}
/* The headline band crosses the photos at the opposite angle. */
.fans-h {
  position: absolute; z-index: 3; left: -6%; right: -6%; top: 50%; translate: 0 -50%; rotate: 3deg; margin: 0;
  padding: .75rem calc(6% + var(--pad)) .85rem; background: var(--pomodoro); color: #fff; --tm: var(--pomodoro);
  border-block: 3px solid var(--pomodoro-d); box-shadow: 0 16px 30px -18px rgba(30, 37, 66, .7);
  text-align: center;
  font-family: var(--serif); font-size: clamp(1.55rem, 6.6vw, 3.6rem); line-height: 1.18; letter-spacing: -.01em; text-wrap: balance;
}
.fans-h-in { display: block; max-width: 22ch; margin-inline: auto; }
.fans-h-lead { display: block; margin: 0 auto .2em; text-wrap: balance; font-size: max(.5em, 1rem); line-height: 1.25; letter-spacing: 0; }
.fans-h .key {
  display: inline-block; padding: .02em .32em .1em; margin-top: .1em; border-radius: 4px; rotate: -2deg;
  background: var(--panna); box-shadow: 3px 3px 0 var(--pomodoro-d);
}
.fans-foot { display: grid; justify-items: center; padding-block: 1.2rem clamp(3.5rem, 9vw, 6rem); }
.fans-sub { max-width: 36rem; font-size: clamp(1.05rem, 3.4vw, 1.2rem); line-height: 1.55; }
.fans-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; margin-top: .4rem; }
@media (prefers-reduced-motion: no-preference) {
  /* About 30px/s at every width: a row's half-track is ~1,250px on phones, ~2,000px on desktop. */
  .js .fans-track { width: max-content; overflow: visible; scroll-snap-type: none; padding-inline: 0; animation: marquee 40s linear infinite paused; }
  .js .fans-track [aria-hidden] { display: block; }
  .js .fans-row-rev .fans-track { animation-direction: reverse; animation-duration: 46s; }
  .js [data-fans].is-live:not(.is-held) .fans-track { animation-play-state: running; }
  /* Hold-to-stop: no text selection, image drag or iOS image callout stealing the press. */
  .js [data-fans] .fans-stage { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
  .js [data-fans].is-held .fans-stage { cursor: grabbing; }
}
@media (min-width: 1000px) {
  .fans-stage { --bleed: 4vw; }
  .js .fans-track { animation-duration: 70s; }
  .js .fans-row-rev .fans-track { animation-duration: 80s; }
}
.share-copy { max-width: 46rem; text-align: center; }

/* ---------- memoria & pillars ---------- */
.memoria-grid { display: grid; gap: 2.5rem; }
.memoria-copy .lede { font-family: var(--serif); color: var(--blu); }
.pillars-intro { font-weight: 700; }
.pillar-list { list-style: none; margin-bottom: 1.8rem; border-top: 1px solid rgba(30, 37, 66, .15); }
.pillar-list li { display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(30, 37, 66, .15); }
.pillar-n {
  grid-row: span 2; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  font-family: var(--serif); font-size: 1.75rem; line-height: 1; color: var(--ink);
  background: radial-gradient(circle, var(--panna) 0 50%, transparent 51%), linear-gradient(90deg, var(--check) 50%, transparent 0), linear-gradient(var(--check) 50%, transparent 0);
  background-size: auto, 10px 10px, 10px 10px; background-color: var(--panna);
  box-shadow: inset 0 0 0 2px var(--blu), 3px 3px 0 var(--blu);
}
.pillar-list b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.pillar-list span:last-child { color: var(--muted); font-size: 1rem; }

/* ---------- carousels (deck + reviews) ---------- */
.carousel-track {
  list-style: none; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem var(--pad) 1.5rem; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -3px; }
.slide { flex: 0 0 min(84%, 24rem); scroll-snap-align: start; }
.carousel-ui { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.carousel-ui[hidden] { display: none; }
.car-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; background: transparent; cursor: pointer; }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-count { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3.5rem; text-align: center; }

/* ---------- schede deck ---------- */
.deck-section { background: var(--ink); color: var(--panna); --tm: var(--sabbia); padding-bottom: clamp(4rem, 10vw, 7rem); }
.deck-head { margin-bottom: 1.5rem; }
.deck-sub { font-family: var(--serif); font-size: clamp(1.15rem, 4vw, 1.5rem); line-height: 1.35; color: var(--sabbia); max-width: 44rem; }
.deck-intro { color: #d9d5ca; max-width: 40rem; }
.deck-card { padding-top: .4rem; }
.deck-card article {
  position: relative; height: 100%; display: flex; flex-direction: column;
  background: var(--panna); color: var(--ink); border-radius: var(--radius); padding: 0 1.15rem 1.3rem; --tm: var(--pomodoro);
  rotate: var(--tilt, 0deg); transition: rotate .35s ease, translate .35s ease;
}
.deck-card:nth-child(odd) { --tilt: -1deg; }
.deck-card:nth-child(even) { --tilt: 1deg; }
.card-regina article::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--pomodoro); pointer-events: none; }
/* Placemat: photo edge to edge across the top, scalloped like a paper doily at the bottom. */
.deck-photo { position: relative; margin: 0 -1.15rem 1.9rem; }
.deck-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0;
  -webkit-mask: radial-gradient(9px at 50% 100%, #0000 96%, #000) 50% 0 / 22px 100% repeat-x;
  mask: radial-gradient(9px at 50% 100%, #0000 96%, #000) 50% 0 / 22px 100% repeat-x;
}
.badge-tm {
  display: inline-block; margin: 0; padding: .35rem .8rem; border-radius: 999px; background: var(--pomodoro); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-4deg);
}
.deck-photo .badge-tm { position: absolute; top: .9rem; right: .8rem; }
.deck-n {
  position: absolute; left: 1.15rem; bottom: -1.05rem; z-index: 2; padding: .35rem .75rem; border-radius: 4px; rotate: -3deg;
  background: var(--pomodoro); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; font-variant-numeric: tabular-nums;
  box-shadow: 2px 2px 0 var(--pomodoro-d);
}
.deck-title { font-family: var(--serif); font-size: 1.65rem; line-height: 1.15; margin-bottom: .5rem; }
.deck-tagline { font-weight: 700; color: var(--blu); line-height: 1.35; }
.deck-body { font-size: .98rem; color: #353b58; }
.deck-links { margin: auto 0 0; padding-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.link-book { font-weight: 700; color: var(--pomodoro); }
.deck .car-btn { color: var(--panna); }
.deck .car-count { color: var(--panna); }

/* ---------- perché ---------- */
.perche-grid { display: grid; gap: 2.5rem; align-items: center; }
.perche { background: var(--panna-2); }
.perche-media .postcard { aspect-ratio: 4 / 5; max-width: 24rem; margin-inline: auto; }
.reasons { list-style: none; display: grid; gap: .3rem; }
.reasons li { position: relative; padding: .9rem 0 .9rem 3rem; font-size: 1.1rem; line-height: 1.45; border-bottom: 1px solid rgba(30, 37, 66, .12); }
.reasons li::before {
  content: ''; position: absolute; left: 0; top: 1.05rem; width: 1.8rem; height: 1.8rem; border-radius: 6px;
  background-color: var(--panna); background-image: linear-gradient(90deg, var(--check) 50%, transparent 0), linear-gradient(var(--check) 50%, transparent 0); background-size: 9px 9px;
  box-shadow: inset 0 0 0 1px rgba(74, 90, 134, .3);
}

/* ---------- una trattoria vera ---------- */
.vera { position: relative; background: var(--panna); padding-bottom: clamp(3rem, 8vw, 5rem); }
.vera-media img { width: 100%; aspect-ratio: 4 / 5; max-height: 80vh; object-fit: cover; object-position: 50% 30%; }
.vera-card {
  position: relative; margin: -5rem var(--pad) 0; padding: 1.8rem 1.4rem; border-radius: var(--radius);
  background: var(--blu); color: #fff; --tm: #fff;
}
.vera-card .eyebrow-light, .chapter-blue .eyebrow-light, .award .eyebrow-light { color: var(--panna-2); }
.vera-motto { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; }

/* ---------- award ---------- */
.award { background: var(--blu-d); color: #fff; padding-block: 3.5rem 4rem; --hem: var(--blu-d); }
.award-in { display: grid; gap: 2.4rem; align-items: center; }
/* The Il Bontà mark as a prize rosette: pleated ring + Pomodoro ribbon tails. */
.award-logo { justify-self: start; position: relative; isolation: isolate; margin: 1rem 0 2.6rem 1rem; rotate: -6deg; }
.rosette { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--blu-d), inset 0 0 0 5px #fff, inset 0 0 0 6px var(--blu-d); }
.rosette::before { content: ''; position: absolute; z-index: -1; inset: -14px; border-radius: 50%; background: repeating-conic-gradient(var(--panna) 0 6deg, var(--panna-2) 0 12deg); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7); }
.rosette::after {
  content: ''; position: absolute; z-index: -2; left: 50%; top: 58%; width: 104px; height: 118px; translate: -50% 0;
  background: linear-gradient(90deg, var(--pomodoro) 50%, var(--pomodoro-d) 0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 79% 86%, 57% 100%, 57% 40%, 43% 40%, 43% 100%, 21% 86%, 0 100%);
}
.award-logo img { width: 112px; }
.award-h { font-family: var(--serif); font-size: clamp(1.6rem, 5.5vw, 2.5rem); line-height: 1.15; }

/* ---------- reviews ---------- */
.reviews { background: var(--panna-2); }
.review-card { padding-top: .6rem; }
.review-card figure {
  margin: 0; height: 100%; display: flex; flex-direction: column; background: #fffdf8; border-radius: 10px; padding: 1.5rem 1.4rem;
  box-shadow: 0 0 0 1px rgba(30, 37, 66, .1), 6px 6px 0 rgba(74, 90, 134, .35); rotate: var(--tilt, 0deg);
}
.review-card:nth-child(odd) { --tilt: -1deg; }
.review-card:nth-child(even) { --tilt: .8deg; }
.review-mark { font-family: var(--serif); font-size: 7rem; line-height: .75; height: 3.2rem; color: var(--pomodoro); }
.review-card blockquote { margin: 0 0 1rem; font-size: 1.04rem; }
.review-card strong { color: var(--pomodoro); }
.review-card figcaption { margin-top: auto; font-weight: 800; color: var(--blu); }

/* ---------- final CTA ---------- */
.cta-final { background: var(--ink); color: var(--panna); text-align: center; --tm: var(--sabbia); }
.cta-final .gingham { --check: rgba(201, 179, 140, .5); background-color: var(--ink); }
.cta-final-in { padding-block: clamp(3.5rem, 9vw, 6.5rem); display: grid; justify-items: center; }
.stamp {
  display: grid; place-items: center; align-content: center; width: 112px; height: 112px; margin: 0 0 1.4rem; border-radius: 50%;
  border: 2px solid var(--sabbia); color: var(--sabbia); box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px var(--sabbia);
  transform: rotate(-8deg);
}
.stamp span { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.stamp b { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1; }
.cta-h { max-width: 46rem; margin-bottom: .6rem; }
.cta-h { margin-bottom: 1rem; }
.cta-text { max-width: 40rem; color: #e1ddd2; font-size: 1.1rem; }
.cta-actions { justify-content: center; margin-top: .8rem; }

/* ---------- location / map ---------- */
.location-grid { display: grid; gap: 2rem; }
.location-address { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-list { list-style: none; display: grid; gap: .2rem; margin-bottom: 1.2rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 600; color: var(--blu); overflow-wrap: anywhere; }
.today-lg { font-size: 1.1rem; color: var(--blu); margin-bottom: .8rem; }
.week { margin-top: .4rem; }
.week summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: .6rem; list-style: none; }
.week summary::-webkit-details-marker { display: none; }
.week summary::after { content: '+'; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 600; line-height: 1; }
.week[open] summary::after { content: '−'; }
.week-list { margin: .4rem 0 0; display: grid; gap: .15rem; max-width: 24rem; }
.week-row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem .5rem; border-radius: 8px; }
.week-row dt { font-weight: 600; }
.week-row dd { margin: 0; font-variant-numeric: tabular-nums; }
.week-row[aria-current="date"] { background: rgba(74, 90, 134, .14); font-weight: 800; }
.map { position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden; background-color: var(--panna); background-image: linear-gradient(90deg, rgba(74, 90, 134, .22) 50%, transparent 0), linear-gradient(rgba(74, 90, 134, .22) 50%, transparent 0); background-size: 32px 32px; }
.map-card { position: absolute; inset: 1.2rem; display: grid; place-content: center; justify-items: center; text-align: center; gap: .3rem; padding: 1.5rem; border-radius: 18px; background: rgba(247, 242, 232, .96); }
.map-pin { color: var(--pomodoro); }
.map-title { font-family: var(--serif); font-size: 1.3rem; margin: 0; }
.map-note { font-size: .9rem; color: var(--muted); max-width: 22rem; }

/* ---------- inner page hero ---------- */
.page-hero { display: grid; gap: 2rem; padding: 2.2rem var(--pad) 3rem; width: min(100%, 1240px); margin-inline: auto; align-items: center; }
.page-h { font-family: var(--serif); font-size: clamp(2.3rem, 10vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.page-hero .lede { max-width: 36rem; }
.page-hero-head .page-h { margin-bottom: 0; }
.page-hero-media { position: relative; justify-self: center; width: min(88%, 30rem); }
.postcard-hero { aspect-ratio: 4 / 5; }
.stamp-float { position: absolute; z-index: 3; left: -.9rem; bottom: .6rem; width: 96px; height: 96px; margin: 0; background: var(--pomodoro); border: 0; color: #fff; box-shadow: inset 0 0 0 4px var(--pomodoro), inset 0 0 0 5px rgba(255, 255, 255, .7); }
.stamp-float b { font-size: 1.5rem; }

/* ---------- La Regina ---------- */
.regina-hero { display: grid; background: var(--ink); color: var(--panna); --tm: var(--sabbia); overflow: hidden; }
.regina-hero-head { padding: 2.4rem var(--pad) 1.6rem; }
.regina-hero-body { padding: 2rem var(--pad) 2.4rem; }
.regina-hero-head .regina-h { margin-bottom: 0; }
.regina-h { font-family: var(--serif); font-size: clamp(2.9rem, 14vw, 6.6rem); line-height: .98; letter-spacing: -.025em; margin-bottom: 1.2rem; }
.regina-hero .lede { color: #e9e3d6; max-width: 34rem; }
.regina-hero-media { position: relative; }
.regina-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kilo {
  position: absolute; right: .5rem; bottom: -.12em; margin: 0; font-family: var(--serif); font-size: clamp(7rem, 40vw, 14rem); line-height: 1;
  color: var(--panna); text-shadow: 0 8px 40px rgba(0, 0, 0, .45); pointer-events: none;
}
.kilo small { font-size: .3em; margin-left: .05em; }
.split { display: grid; gap: 2.5rem; align-items: center; }
.big-number { font-family: var(--serif); font-size: clamp(4.5rem, 22vw, 8rem); line-height: .9; color: var(--blu); margin-bottom: 1rem; }
.postcard-tall { aspect-ratio: 3 / 4; max-width: 26rem; justify-self: center; width: calc(100% - 1rem); }
.history { background: var(--panna-2); }
.timeline { list-style: none; position: relative; display: grid; gap: 1.8rem; margin-top: 1.5rem; padding-left: 1.8rem; border-left: 3px solid var(--blu); }
.timeline li { position: relative; max-width: 44rem; }
.timeline li::before { content: ''; position: absolute; left: calc(-1.8rem - 10px); top: .35rem; width: 17px; height: 17px; border-radius: 50%; background: var(--pomodoro); box-shadow: 0 0 0 4px var(--panna-2); }
.tl-when { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--blu); margin-bottom: .3rem; }
.regina-pan { display: grid; background: var(--ink); color: var(--panna); }
.regina-pan-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.regina-pan-copy { padding: 2.5rem var(--pad) 3rem; align-self: center; max-width: 36rem; }
.plate-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.plate-list li { display: grid; gap: .2rem; align-content: start; padding: 1.2rem 1rem; border-radius: 20px; background: var(--panna-2); }
.plate-list b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 5.6vw, 1.6rem); overflow-wrap: anywhere; color: var(--blu); line-height: 1.1; }
.plate-price { font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2.2rem); display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; }
.plate-price span { font-size: .55em; font-family: var(--sans); font-weight: 700; color: var(--muted); }
.plate-price b { font-weight: 400; color: var(--pomodoro); }

/* ---------- La cucina ---------- */
.chapters { position: sticky; top: var(--hh); z-index: 20; background: var(--panna); border-bottom: 1px solid rgba(30, 37, 66, .1); }
.chapters ul { list-style: none; display: flex; gap: .5rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.chapters a { display: inline-flex; gap: .35rem; align-items: center; white-space: nowrap; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid rgba(74, 90, 134, .5); text-decoration: none; font-weight: 700; }
.chapters a span { color: var(--blu); font-size: .8rem; }
.chapter-head { max-width: 46rem; margin-bottom: 2.5rem; }
.chapter-n { font-family: var(--serif); font-size: clamp(4rem, 18vw, 7rem); line-height: .85; margin: 0 0 .5rem; color: transparent; -webkit-text-stroke: 1.5px var(--blu); }
.chapter-blue { background: var(--blu); color: #fff; --tm: #fff; }
.chapter-blue .chapter-n { -webkit-text-stroke-color: var(--panna-2); }
.chapter-blue .dish-tag { color: var(--panna-2); }
.dish { display: grid; gap: 1.6rem; align-items: center; margin-bottom: 3rem; }
.dish-media { aspect-ratio: 5 / 4; width: calc(100% - 1rem); justify-self: center; }
.chapter-blue .dish-media { --postcard-shadow: var(--ink); }
.dish-tag { font-weight: 700; color: var(--blu); font-size: 1.1rem; }
.award-chip { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: var(--pomodoro); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.35; }
.dish-pair { display: grid; gap: 1.5rem; }
.dish-pair figure { margin: 0; }
.frame { overflow: hidden; border-radius: var(--radius); }
.dish-pair .frame { aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.dish-pair figcaption { margin-top: .6rem; font-weight: 700; }
.regina-teaser { display: grid; margin-bottom: 3rem; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--panna); text-decoration: none; --tm: var(--sabbia); }
.regina-teaser-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.regina-teaser:hover .regina-teaser-media img { transform: scale(1.04); }
.regina-teaser-copy { display: grid; gap: .8rem; justify-items: start; padding: 1.6rem 1.4rem 1.8rem; }
.regina-teaser-h { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.1; }
.regina-teaser .link-more { color: var(--sabbia); }
.season-note { margin-top: 1rem; font-weight: 600; }

/* ---------- Menù: the paper on the tablecloth ---------- */
.menu-cloth {
  padding: 2.5rem .75rem 3.5rem;
  background-color: var(--panna);
  background-image: linear-gradient(90deg, var(--check) 50%, transparent 0), linear-gradient(var(--check) 50%, transparent 0);
  background-size: 40px 40px;
}
.menu-sheet { max-width: 780px; margin: 0 auto; padding: 2rem 1.2rem 2.4rem; background: #fffdf8; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(30, 37, 66, .6), 0 0 0 1px rgba(30, 37, 66, .08); }
.menu-logo { width: 150px; margin: 0 auto 1.8rem; }
.signature-card { margin-bottom: 2.4rem; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 3px var(--pomodoro); background: var(--panna); }
.signature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.signature-copy { padding: 1.4rem 1.3rem 1.6rem; }
.signature-h { font-family: var(--serif); font-size: clamp(1.5rem, 5.5vw, 2.1rem); line-height: 1.15; margin: .8rem 0 .5rem; }
.signature-price { display: flex; gap: .8rem; align-items: baseline; font-family: var(--serif); font-size: 1.9rem; }
.signature-price span { font-size: .6em; color: var(--blu); }
.signature-price b { font-weight: 400; color: var(--pomodoro); }
.menu-section { margin-bottom: 2.2rem; }
.menu-h { display: flex; align-items: center; gap: .9rem; font-family: var(--serif); font-size: clamp(1.35rem, 5vw, 1.8rem); text-align: center; color: var(--blu); }
.menu-h::before, .menu-h::after { content: ''; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--blu) 0 6px, transparent 6px 12px); opacity: .6; }
.menu-group { font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1.2rem 0 .4rem; }
.menu-list { list-style: none; }
.menu-item { padding: .7rem 0; border-bottom: 1px solid rgba(30, 37, 66, .08); }
.mi-line { display: flex; align-items: baseline; gap: .4rem; margin: 0; font-weight: 600; }
.mi-name { flex: 0 1 auto; }
.mi-unit { flex: none; font-size: .85rem; font-weight: 700; color: var(--blu); }
.mi-dots { flex: 1 1 1.5rem; min-width: 1rem; border-bottom: 2px dotted rgba(30, 37, 66, .35); transform: translateY(-.3em); }
.mi-price { flex: none; font-weight: 800; color: var(--blu); font-variant-numeric: tabular-nums; }
.mi-note { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }
.menu-notes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0; }
.menu-notes li { padding: .4rem .95rem; border-radius: 999px; background: var(--blu); color: #fff; font-weight: 700; font-size: .92rem; }
.menu-small { text-align: center; font-size: .92rem; color: var(--muted); }
.menu-wine { display: flex; justify-content: center; align-items: center; gap: .4rem; font-weight: 700; color: var(--blu); margin: 0; }
.menu-empty { text-align: center; font-weight: 600; }

/* ---------- Cantina ---------- */
.wines-grid { display: grid; gap: 3rem; }
.wine-section { margin-bottom: 2rem; }
.wine-h { display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-size: 1.6rem; color: var(--blu); border-bottom: 2px solid var(--blu); padding-bottom: .5rem; }
.wine-region { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--muted); margin: 1rem 0 .3rem; }
.wine-list { list-style: none; }
.wine-list li { display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; padding: .65rem 0; border-bottom: 1px solid rgba(30, 37, 66, .1); }
.wine-name { font-weight: 600; flex: 1 1 14rem; }
.wine-meta { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.wine-price { font-weight: 800; color: var(--blu); }
.wine-note { display: inline-block; padding: .4rem 1rem; border-radius: 999px; background: var(--blu); color: #fff; font-weight: 700; }
.cantina-wall { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; align-content: start; }
.wall-a, .wall-b { aspect-ratio: 3 / 4; }
.wall-b { margin-top: 2.5rem; }
.wall-c { grid-column: 1 / -1; aspect-ratio: 4 / 3; }

/* ---------- Contatti ---------- */
.book-ways { padding-top: 0; }
.ways { list-style: none; display: grid; gap: 1rem; }
.way { display: grid; gap: .3rem; justify-items: start; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--panna-2); }
.way p { margin-bottom: .8rem; }
.way-ico { color: var(--blu); }
.way-main { background: var(--ink); color: var(--panna); }
.way-main .way-ico { color: var(--sabbia); }
.way .btn { max-width: 100%; }
.way-mail .btn-t { overflow-wrap: anywhere; }

/* ---------- generic & editor note ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-family: var(--serif); font-size: 1.8rem; margin-top: 2rem; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose li { line-height: 1.75; }
.prose a { text-decoration: underline; text-underline-offset: .18em; }
.prose [id] { scroll-margin-top: 7rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; table-layout: fixed; margin: 1.5rem 0; }
.prose caption { text-align: left; font-weight: 700; padding-bottom: .7rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .65rem .4rem; border-bottom: 1px solid currentColor; }
.editor-note { background: var(--panna-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--panna); --tm: var(--sabbia); }
.gingham-foot { --check: rgba(201, 179, 140, .5); background-color: var(--ink); }
.foot-in { padding-block: 3rem 2rem; display: grid; gap: 2.4rem; }
.foot-brand { display: grid; gap: 1rem; justify-items: start; }
.foot-brand img { width: 170px; }
.foot-claim { font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; margin: 0; }
.foot-cols { display: grid; gap: 2rem; }
.foot-h { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sabbia); margin-bottom: .8rem; }
.foot-link { display: inline-block; padding-block: .3rem; font-weight: 600; }
.site-footer .week-row[aria-current="date"] { background: rgba(201, 179, 140, .18); }
.foot-social { display: flex; gap: .8rem; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; }
.foot-line { margin: 0; padding-top: 1.4rem; border-top: 1px solid rgba(247, 242, 232, .18); font-size: .9rem; color: #cfd2df; }

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: .4rem; align-items: center;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(30, 37, 66, .97); color: var(--panna); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .5);
  transition: transform .35s ease;
}
.action-bar.is-away { transform: translateY(110%); }
.act-book { min-height: 50px; padding-inline: .8rem; }
.act { display: grid; justify-items: center; gap: .1rem; min-height: 50px; align-content: center; text-decoration: none; font-size: .8rem; font-weight: 700; border-radius: 14px; }
.act .ico { width: 1.35rem; height: 1.35rem; color: var(--sabbia); }
.nav-open .action-bar { transform: translateY(110%); }

/* ---------- motion ---------- */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ================= < 1000px: centred editorial layout =================
   Headings, eyebrows, ledes and copy are centred on phones and tablets. Tabular data stays left-aligned on purpose:
   menu rows with price leaders, the wine list and the weekly hours (their section headings are still centred). */
@media (max-width: 999px) {
  main, .site-footer { text-align: center; }
  .menu-list, .wine-list, .week-list, .prose, .editor-note .wrap { text-align: left; }
  .week-list { margin-inline: auto; }
  .week summary { justify-content: center; }
  .eyebrow { max-width: 100%; text-wrap: balance; }
  .eyebrow::before, .eyebrow::after { content: ''; flex: 0 1 auto; width: 1.6rem; min-width: .5rem; height: 2px; background: currentColor; }
  .hero-actions, .cta-actions, .deck-links, .foot-social, .signature-price, .plate-price, .wine-h { justify-content: center; }
  .page-hero .lede, .regina-hero .lede, .hero-sub, .deck-sub, .deck-intro, .cta-text { margin-inline: auto; }
  .regina-pan-copy, .chapter-head, .dish, .way, .foot-brand, .regina-teaser-copy, .award-in, .vera-card, .memoria-grid, .perche-grid { justify-items: center; }
  .regina-pan-copy { justify-self: center; }
  .award-logo { justify-self: center; margin-left: 0; }
  .contact-list { justify-items: center; }

  /* Pillars: gingham numeral above the title. */
  .pillar-list li { grid-template-columns: 1fr; justify-items: center; row-gap: .35rem; padding: 1.4rem 0; }
  .pillar-n { grid-row: auto; margin-bottom: .3rem; }

  /* Reasons: a small gingham check leads each centred line. */
  .reasons li { padding: .95rem .4rem; }
  .reasons li::before { position: static; display: inline-block; width: 1.15rem; height: 1.15rem; margin-right: .45rem; vertical-align: -.2em; border-radius: 4px; background-size: 6px 6px; }

  /* Timeline: centred spine, a dot above each entry. */
  .timeline { padding-left: 0; border-left: 0; justify-items: center; }
  .timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; translate: -50% 0; background: var(--blu); opacity: .35; }
  .timeline li { padding: 1.8rem .4rem .4rem; background: var(--panna-2); }
  .timeline li::before { left: 50%; top: 0; translate: -50% 0; }
}

/* ================= ≥ 600px ================= */
@media (min-width: 600px) {
  :root { --pad: 2rem; }
  .brand img { height: 54px; }
  .slide { flex-basis: min(60%, 24rem); }
  .dish-pair { grid-template-columns: 1fr 1fr; }
  .plate-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr 1fr; }
  .way-main { grid-column: 1 / -1; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .seal { width: 112px; height: 112px; bottom: -2.1rem; }
  .hero-body { padding-top: 1.4rem; }
  .seal b { font-size: 2.2rem; }
  .award-in { grid-template-columns: auto 1fr; gap: 2.5rem; }
  .regina-pan-media img { aspect-ratio: 16 / 10; }
}

/* ================= ≥ 1000px: desktop ================= */
@media (min-width: 1000px) {
  :root { --hh: 84px; }
  body { padding-bottom: 0; font-size: 1.09rem; }
  .action-bar { display: none; }
  .brand img { height: 62px; }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: 1fr auto; grid-template-areas: "head media" "body media";
    gap: 0; padding: 0; justify-items: stretch; text-align: left; min-height: min(calc(100vh - var(--hh)), 920px);
  }
  .hero-head, .hero-body { max-width: none; padding-left: max(3rem, calc((100vw - 1240px) / 2)); padding-right: 3rem; }
  .hero-head { grid-area: head; align-self: end; padding-top: 4rem; }
  .hero-body { grid-area: body; padding-bottom: 4rem; }
  .hero-head .hero-h { margin-bottom: 1.2rem; }
  .hero-body { padding-top: 0; }
  .hero-media { grid-area: media; width: auto; height: 100%; min-height: 640px; margin: 0; }
  .hero-frame { height: 100%; max-height: none; aspect-ratio: auto; -webkit-mask: none; mask: none; }
  .hero-sub { font-size: 1.25rem; margin-inline: 0; }
  .hero .hero-actions { justify-content: flex-start; }
  .hero .hero-actions .btn { flex: 0 0 auto; }
  .seal { top: auto; bottom: 2.5rem; left: -64px; right: auto; width: 150px; height: 150px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
  .seal b { font-size: 2.9rem; }

  .memoria-grid { grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: start; }
  .memoria-copy .h2 { font-size: clamp(2.2rem, 3.4vw, 3.3rem); }

  .carousel-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; overflow: visible; width: min(100% - 2 * var(--pad), 1180px); margin-inline: auto; padding-inline: 0; }
  .carousel-ui { display: none; }
  .deck-card article { padding: 0 1.4rem 1.6rem; }
  .deck-photo { margin-inline: -1.4rem; }
  .deck-n { left: 1.4rem; }
  .deck-card:nth-child(3n + 2) { transform: translateY(2.5rem); }
  .deck-card:hover, .deck-card:focus-within { --tilt: 0deg; }
  .deck-card:hover article, .deck-card:focus-within article { translate: 0 -6px; }
  .deck-section { padding-bottom: 9rem; }

  .perche-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }

  .vera { display: grid; grid-template-columns: 1.1fr .9fr; padding: 0; background: var(--blu); }
  .vera-media img { height: 100%; max-height: none; aspect-ratio: auto; min-height: 640px; }
  .vera-card { margin: 0; padding: 4rem max(3rem, calc((100vw - 1240px) / 2)) 4rem 4rem; border-radius: 0; align-self: center; }

  .location-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: stretch; }
  .map { min-height: 460px; }

  .page-hero {
    grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; grid-template-areas: "head media" "body media";
    gap: 1.4rem 4rem; padding: 4rem var(--pad) 5rem; min-height: min(calc(100vh - var(--hh)), 760px);
  }
  .page-hero-head { grid-area: head; align-self: end; }
  .page-hero-body { grid-area: body; align-self: start; }
  .page-hero-media { grid-area: media; }
  .page-hero-media { width: min(100% - 1rem, 30rem); }
  .stamp-float { width: 118px; height: 118px; left: -2rem; }

  .regina-hero { grid-template-columns: 1fr 1fr; min-height: min(calc(100vh - var(--hh)), 900px); }
  .regina-hero { grid-template-rows: 1fr 1fr; grid-template-areas: "head media" "body media"; }
  .regina-hero-head, .regina-hero-body { padding-left: max(3rem, calc((100vw - 1240px) / 2)); padding-right: 3rem; }
  .regina-hero-head { grid-area: head; align-self: end; padding-top: 4rem; padding-bottom: 0; }
  .regina-hero-body { grid-area: body; align-self: start; padding-top: 1.4rem; padding-bottom: 4rem; }
  .regina-hero-media { grid-area: media; }
  .regina-hero-media img { height: 100%; aspect-ratio: auto; }
  .kilo { font-size: clamp(10rem, 17vw, 17rem); }
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .regina-pan { grid-template-columns: 1fr 1fr; }
  .regina-pan-media img { height: 100%; aspect-ratio: auto; min-height: 560px; }
  .regina-pan-copy { padding: 4rem; }

  .chapters ul { justify-content: center; }
  .dish { grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4.5rem; }
  .dish-flip .dish-media { order: 2; }
  .regina-teaser { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .regina-teaser-media img { height: 100%; aspect-ratio: auto; min-height: 380px; }
  .regina-teaser-copy { padding: 2.5rem; }

  .menu-cloth { padding: 4.5rem 2rem 5.5rem; }
  .menu-sheet { padding: 3.5rem 3.5rem 3rem; }
  .signature-card { display: grid; grid-template-columns: 1fr 1fr; }
  .signature-media img { height: 100%; aspect-ratio: auto; }

  .wines-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
  .cantina-wall { position: sticky; top: calc(var(--hh) + 2rem); }

  .ways { grid-template-columns: 1.3fr 1fr 1fr; }
  .way-main { grid-column: auto; }

  .foot-in { grid-template-columns: 1fr 2.2fr; column-gap: 4rem; }
  .foot-line { grid-column: 1 / -1; }
}

/* ================= ≥ 1100px: inline navigation ================= */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav-panel {
    position: static; inset: auto; z-index: auto; overflow: visible; flex-direction: row; align-items: center; gap: 1.6rem; padding: 0;
    height: auto; background: none; color: var(--ink); visibility: visible; opacity: 1; transform: none; transition: none; --tm: var(--pomodoro);
  }
  .nav-list { display: flex; gap: 1.5rem; }
  .nav-list a { font-family: var(--sans); font-size: 1rem; font-weight: 700; padding: .4rem 0; }
  .nav-n, .nav-phone, .nav-today, .nav-gingham { display: none; }
  .nav-list a[aria-current="page"] .nav-l { text-decoration-thickness: 3px; }
  .nav-extra { display: block; }
  .nav-cta { min-height: 46px; }
}
