/* ============================================
   STELLAR — La Cucina dei Medici
   v2 — Da Maria-inspired editorial frame
   ============================================ */

:root {
  /* Brand palette */
  --coral: #ff6038;
  --coral-deep: #e04a20;
  --coral-soft: #f4dccd;
  --espresso: #1c3c2b;
  --ink: #090a0a;
  --cream: #f4ecde;        /* warmer cream like the reference */
  --cream-light: #faf3e6;
  --paper: #f1eced;
  --plum: #44112a;
  --leaf: #376b2d;
  --grey-40: #9a928d;
  --grey-60: #6b625d;
  --rule: rgba(255, 96, 56, 0.45);

  /* Type */
  --display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --condensed: "Oswald", "Anton", "Bebas Neue", "Arial Narrow", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  /* Frame */
  --frame-pad: 22px;
  --frame-stroke: 0.75px;
  --inner-stroke: 0.75px;
  --gut: 24px;

  --base-font: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-size: var(--base-font);
  line-height: 1.55;
  color: var(--espresso);
  background: var(--coral);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ── Paper texture overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  background-image: url("../assets/Rectangle 55.svg");
  background-repeat: repeat;
  background-size: 480px 490px;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

/* ============== OUTER POSTER FRAME ============== */
.poster {
  position: relative;
  background: var(--cream);
  margin: var(--frame-pad);
  outline: var(--frame-stroke) solid var(--coral);
  outline-offset: -14px;
  min-height: calc(100vh - 2 * var(--frame-pad));
  padding: 14px;
  /* Dissolvenza d'ingresso: rende morbido il passaggio tra una pagina e l'altra
     (il sito è multi-pagina, ogni link ricarica) invece del "flash" secco del browser. */
  animation: pageFadeIn 0.4s ease-out both;
}
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .poster { animation: none; } }

/* Immagini gestite dall'admin (hero, card Pranzo, slideshow ed offerte organizza):
   restano invisibili finché /api/page-images non è risolto e precaricato (JS aggiunge
   html.nb-imgs-ready), poi compaiono in dissolvenza -> non si vede mai il fallback
   "stantio", quindi cambiare un'immagine da admin non produce alcun lampo.
   Backstop: se il JS non rivela entro 2.5s (fetch bloccato) le mostra comunque. */
.nb-managed-img { opacity: 0; animation: nbImgBackstop 0.01s linear 2.5s forwards; }
@keyframes nbImgBackstop { to { opacity: 1; } }
html.nb-imgs-ready .nb-managed-img { opacity: 1; animation: none; transition: opacity 0.45s ease; }
@media (prefers-reduced-motion: reduce) { html.nb-imgs-ready .nb-managed-img { transition: none; } }

.poster::before {
  /* second inner hairline for layered frame */
  content: "";
  position: absolute;
  inset: 14px;
  border: 0.75px solid var(--coral);
  pointer-events: none;
  z-index: 5;
}

.poster > * { position: relative; z-index: 1; }

/* corner registration marks (hidden) */
.reg {
  display: none;
}

/* ============== TOP STRIP NAV ============== */
.topstrip {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  padding: 12px 24px;
  border-bottom: var(--inner-stroke) solid var(--coral);
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  position: relative;
  z-index: 6;
}

.topstrip .left, .topstrip .right { display: flex; gap: 16px; }
.topstrip .left { justify-content: flex-start; }
.topstrip .right { justify-content: flex-end; }
.topstrip .center {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--espresso);
  text-transform: none;
}
.topstrip a:hover { color: var(--espresso); }

.topstrip .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--coral);
  border-radius: 999px;
}

/* ============== MAIN NAV (mid-strip) ============== */
.nav-burger { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--espresso); }
.nav-burger-close { display: none; background: transparent; border: 0; font-size: 36px; line-height: 1; color: var(--espresso); position: absolute; top: 16px; right: 20px; cursor: pointer; }

@media (max-width: 768px) {
  .nav-burger-close { display: block; }
  .desktop-only { display: none !important; }
  /* Mobile nav: [logo — flex grow] [Reservation] [≡] */
  .mainnav { display: flex !important; align-items: center; padding: 10px 14px; gap: 0; }
  .mainnav-brand { flex: 1; order: 1; display: flex; justify-content: flex-start; align-items: center; }
  .mainnav-brand a { display: block; line-height: 0; }
  .nav-brand-logo { display: block; width: auto; height: 20px; }
  .mainnav .right { order: 2; display: flex; align-items: center; gap: 0; }
  .nav-burger {
    order: 3; display: flex; position: relative; z-index: 110;
    border: 1.5px solid var(--coral) !important; border-radius: 999px;
    padding: 7px 10px; gap: 4px; margin-left: 8px;
  }
  .nav-burger span { background: var(--coral); }
  .mainnav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 340px;
    background: var(--cream);
    box-shadow: -4px 0 32px rgba(0,0,0,0.16);
    z-index: 200;
    flex-direction: column !important;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0 !important;
    padding: 72px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.28s ease-out, visibility 0s 0.28s;
    visibility: hidden;
  }
  .nav-burger-close { top: 14px; right: 18px; z-index: 210; font-size: 28px; color: var(--coral) !important; }
  .mainnav-links.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.28s ease-out, visibility 0s;
  }

  /* logo wordmark inside drawer — allineato a destra */
  .nav-drawer-header { margin-bottom: 28px; display: flex; justify-content: flex-end; width: 100%; }
  .nav-drawer-logo { height: 32px; width: auto; display: block; }

  /* staggered entrance for items — slide da destra */
  @keyframes drawerItemIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .mainnav-links a.nav-drawer-item {
    display: block !important;
    font-family: "Fraunces", Georgia, serif !important;
    font-size: 36px !important;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--espresso) !important;
    padding: 14px 0 !important;
    width: 100%;
    text-align: right !important;
    border-bottom: 1px solid color-mix(in oklab, var(--espresso) 12%, transparent) !important;
    border-top: 0 !important;
    opacity: 0;
    transition: color .18s;
    text-decoration: none;
  }
  .mainnav-links a.nav-drawer-item:first-of-type { border-top: 1px solid color-mix(in oklab, var(--espresso) 12%, transparent) !important; }
  .mainnav-links.is-open a.nav-drawer-item {
    animation: drawerItemIn 300ms ease-out both;
  }
  .mainnav-links a.nav-drawer-item:hover { color: var(--coral) !important; }
  .reserve-pill { font-size: 12px; padding: 5px 12px; }
}
@media (min-width: 769px) {
  .nav-brand-logo { height: 44px; }
  .mobile-only { display: none !important; }
}
.mainnav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 24px;
  background: var(--cream);
  border-bottom: var(--inner-stroke) solid var(--coral);
  z-index: 100;
}

/* drawer-header esiste solo dentro il drawer mobile — nascosto su desktop */
.nav-drawer-header { display: none; }

.mainnav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--espresso);
}
.mainnav-links a { padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.mainnav-links a:hover, .mainnav-links a.is-active { color: var(--coral); border-bottom-color: var(--coral); }

.mainnav-brand {
  display: flex;
  justify-content: center;
}
.mainnav-brand .wordmark,
.mainnav-brand .nav-brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
@media (min-width: 769px) {
  .mainnav-brand { justify-content: center; }
  .mainnav-brand .nav-brand-logo { height: 44px; }
}
.mainnav-brand .wordmark text { fill: currentColor; }

.mainnav .right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--espresso);
}

.reserve-pill {
  border: 1px solid var(--coral);
  color: var(--coral);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, color .2s;
}
.reserve-pill:hover { background: var(--coral); color: var(--cream); }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 0;
  text-align: center;
  height: calc(100vh - var(--header-h, 108px));
  display: flex;
  flex-direction: column;
}
.hero .hero-photo, .hero .hero-stats { padding-left: 0; padding-right: 0; }
@media (max-width: 768px) {
  .hero { height: auto; display: block; }
  .hero-photo { height: 50vh; }
}

.hero .super {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}
.hero .super .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); display: inline-block; vertical-align: middle; margin: 0 8px; }

/* altezza header (~72px) + cornice poster sopra (margin 22 + padding 14 = 36) */
:root { --header-h: 108px; }
@media (max-width: 768px) { :root { --header-h: 96px; } }

/* 5 box sotto l'immagine hero */
.hero-boxes {
  display: grid;
  grid-template-columns: repeat(var(--hb-cols, 6), minmax(0, 1fr));
  flex-shrink: 0;
  border-top: var(--inner-stroke, 0.75px) solid var(--coral);
  border-bottom: var(--inner-stroke, 0.75px) solid var(--coral);
}
.hero-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  aspect-ratio: 1 / 1;
  border-right: var(--inner-stroke, 0.75px) solid var(--coral);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s ease;
  will-change: transform;
}
/* Signature hover (cfr. DESIGN-SYSTEM §6.6 / .b-orderonline .dish): bordo corallo
   disegnato angolo-ad-angolo + wash + lift, con icona/label che virano al corallo. */
.hero-box::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1.5px solid var(--coral);
  border-right: 1.5px solid var(--coral);
  clip-path: inset(0 0 100% 100%);
  transition: clip-path .38s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-box::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 1.5px solid var(--coral);
  border-left: 1.5px solid var(--coral);
  clip-path: inset(100% 100% 0 0);
  transition: clip-path .38s cubic-bezier(0.4, 0, 0.2, 1) .08s;
}
.hero-box:hover {
  transform: translateY(-2px);
  background: rgba(255, 96, 56, 0.04);
}
.hero-box:hover::before,
.hero-box:hover::after { clip-path: inset(0 0 0 0); }
.hero-box:hover .hero-box-ico { transform: scale(1.08); }
.hero-box:hover .hero-box-label { color: var(--coral); }
.hero-box-ico { display: block; line-height: 0; color: var(--coral); transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.hero-box-ico svg { width: 44px; height: 44px; display: block; }
.hero-box:last-child { border-right: 0; }
.hero-box-num {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--coral);
}
.hero-box-label {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 23px);
  color: var(--espresso);
  line-height: 1.15;
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .3s ease;
}
@media (max-width: 768px) {
  .hero-boxes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-box { padding: 18px 10px; }
  .hero-box:nth-child(3n) { border-right: 0; }
  .hero-box:nth-child(-n+3) { border-bottom: var(--inner-stroke, 0.75px) solid var(--coral); }
}

/* Marquee sopra l'immagine: testo arancione, nel flusso */
.hero-marquee {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: transparent;
  flex-shrink: 0;
}
.hero-marquee-track {
  display: flex;
  gap: 0;
  align-items: center;
  white-space: nowrap;
  animation: hero-slide 50s linear infinite;
  width: max-content;
}
.hero-marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 1.1;
  color: var(--coral);
  letter-spacing: -0.02em;
}
.hero-marquee-sep {
  display: inline-block;
  margin: 0 0.4em;
  color: var(--coral);
  font-style: normal;
  position: relative;
  top: -0.18em;
}
@keyframes hero-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation: none; }
}

.hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 56px);
  color: var(--espresso);
  margin-top: 18px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero-photo {
  margin: 0;
  max-width: none;
  position: relative;
  flex: 1;
  min-height: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* circular animated menu button on hero */
.hero-menu-btn {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--cream);
  z-index: 4;
  cursor: pointer;
  background: transparent;
  border: none;
  container-type: size;
}
.hero-menu-backdrop {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: rgba(20, 20, 20, 0.12);
  z-index: 0;
  pointer-events: none;
}
.hero-menu-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: heroMenuSpin 16s linear infinite;
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}
.hero-menu-text {
  fill: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.06em;
}
.hero-menu-core {
  position: relative;
  width: 30.5%;
  height: 30.5%;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), background 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 20px rgba(255,96,56,0.45);
  z-index: 2;
}
.hero-menu-arrow {
  display: inline-block;
  line-height: 1;
  font-size: 11.6cqw;
}
.hero-menu-btn:hover .hero-menu-core {
  transform: scale(1.15);
  background: var(--coral-deep);
  box-shadow: 0 10px 28px rgba(255,96,56,0.55);
}
.hero-menu-btn:hover .hero-menu-ring {
  animation-duration: 8s;
}
@keyframes heroMenuSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (max-width: 720px) {
  .hero-menu-btn { width: 128px; height: 128px; }
}
.hero-photo .caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: var(--espresso);
  color: var(--cream-light);
  padding: 10px 14px;
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 50%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 28px auto 0;
  text-align: left;
}
.hero-stats > div {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.hero-stats .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: var(--coral);
}
.hero-stats .lab {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
  margin-top: 4px;
}

/* ============== BLOCK GRID (poster body) ============== */
.grid {
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.block {
  background: var(--cream-light);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.block.dark {
  background: var(--espresso);
  color: var(--cream);
}
.block.dark .block-title { color: var(--cream); }
.block.dark .tag { color: var(--cream); }
.block.dark .tag::before { background: var(--cream); }

.block.coral {
  background: var(--coral);
  color: var(--cream);
}
.block.coral .block-title { color: var(--cream); }
.block.coral .tag { color: var(--cream); }
.block.coral .tag::before { background: var(--cream); }

/* corner pill (e.g. "S", "G") */
.corner-pill {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 36px;
  height: 36px;
  background: var(--coral);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
}
.block.coral .corner-pill, .block.dark .corner-pill {
  background: var(--cream);
  color: var(--coral);
}

.tag {
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--leaf);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.tag::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--leaf);
}

.block-title {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 0.95;
  color: var(--plum);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.block-title em, .block-title i { color: var(--coral); font-style: italic; }

.block-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--espresso);
  flex: 1;
}
.block-body em { color: var(--leaf); font-style: italic; }
.block.dark .block-body, .block.coral .block-body { color: var(--cream); }
.block.dark .block-body em, .block.coral .block-body em { color: var(--coral-soft); }
.block.dark .block-title em, .block.coral .block-title em { color: var(--cream); }

.block .figure {
  margin: 20px auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block .figure svg.illu {
  width: 100%;
  max-width: 240px;
  height: auto;
  color: var(--espresso);
}
.block.dark .figure svg.illu, .block.coral .figure svg.illu { color: var(--cream); }

.block-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 999px;
  padding: 10px 22px;
  align-self: flex-start;
  transition: background .2s, color .2s;
}
.block-cta:hover { background: var(--coral); color: var(--cream); }
.block.coral .block-cta { color: var(--cream); border-color: var(--cream); }
.block.coral .block-cta:hover { background: var(--cream); color: var(--coral); }
.block.dark .block-cta { color: var(--cream); border-color: var(--cream); }
.block.dark .block-cta:hover { background: var(--cream); color: var(--espresso); }
/* CTA delle card Pranzo: sezione a fondo coral -> hover con riempimento cream (l'hover
   coral di default sarebbe invisibile su fondo coral). */
.pranzo-cards .block-cta { color: var(--cream); border-color: var(--cream); }
.pranzo-cards .block-cta:hover { background: var(--cream); color: var(--coral); border-color: var(--cream); }

/* serif drop cap inside body */
.dropcap {
  font-family: var(--display);
  font-style: italic;
  font-size: 56px;
  line-height: 0.8;
  float: left;
  color: var(--plum);
  padding: 8px 12px 0 0;
  font-weight: 500;
}

/* ============== BLOCK SIZES ============== */
/* ---- Menu cards row wrapper ---- */
.menu-cards-row {
  grid-column: span 12;
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.menu-cards-row > .b-menu-card { flex: 1; min-width: 0; }
/* reserve is now a full-width strip below the cards */

.b-menu-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(0);
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.b-menu-card:hover { transform: translateY(-5px); }

/* border-drawing animation — same technique as .dish events */
.b-menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-top: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
  clip-path: inset(0 0 100% 100%);
  transition: clip-path .42s cubic-bezier(0.4, 0, 0.2, 1);
}
.b-menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-bottom: 2px solid var(--coral);
  border-left: 2px solid var(--coral);
  clip-path: inset(100% 100% 0 0);
  transition: clip-path .42s cubic-bezier(0.4, 0, 0.2, 1) .1s;
}
.b-menu-card:hover::before { clip-path: inset(0 0 0 0); }
.b-menu-card:hover::after  { clip-path: inset(0 0 0 0); }

.b-menu-card .mc-photo { position: relative; overflow: hidden; height: 360px; flex-shrink: 0; }
.b-menu-card .mc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mc-icon { position: absolute; pointer-events: none; z-index: 2; height: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55)) drop-shadow(0 0px 2px rgba(0,0,0,0.3)); }
.b-menu-card .mc-body { padding: 22px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.b-menu-card .mc-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  color: var(--espresso);
  margin-bottom: 10px;
  margin-top: 4px;
}
.b-menu-card .mc-desc { font-size: 13px; line-height: 1.6; flex: 1; }
.b-menu-card .mc-cta {
  margin-top: 14px;
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.b-menu-card .mc-cta:hover { color: var(--espresso); border-bottom-color: var(--espresso); }

/* Reserve strip — full width horizontal band */
.b-reserve {
  grid-column: span 12;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 6px 48px 6px 0;
  gap: 32px;
}
.b-reserve .res-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.b-reserve .res-illus svg {
  width: auto;
  height: 160px;
  flex-shrink: 0;
}
.b-reserve .res-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.b-reserve .res-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin: 0;
}
.b-reserve .res-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}
.b-reserve .res-contact {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream);
  text-align: right;
  opacity: 0.85;
}
.b-reserve .res-contact a { border-bottom: 1px solid currentColor; }
.b-reserve .res-cta {
  font-size: 11px;
  color: var(--cream);
  border-color: var(--cream);
  align-self: flex-end;
}
.b-reserve .res-cta:hover { background: var(--cream); color: var(--coral); }
.b-who { grid-column: span 12; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: 0; overflow: hidden; min-height: 0; max-height: 640px; }
.b-who .who-text {
  padding: 40px 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.b-who .who-text .tag { margin-top: 4px; }
.b-who .who-head { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
.b-who .who-text .block-title { margin: 0; max-width: 14ch; line-height: 0.95; }
.b-who .who-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: color-mix(in oklab, var(--espresso) 70%, transparent);
  margin-top: 2px;
}
.b-who .who-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 56ch;
  border-top: 1px solid color-mix(in oklab, var(--espresso) 16%, transparent);
  padding-top: 22px;
}
.b-who .who-body .block-body { margin: 0; }
.b-who .who-body .who-lead::after { content: ""; display: block; clear: both; }
.b-who .who-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 4px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid color-mix(in oklab, var(--espresso) 16%, transparent);
}
.b-who .who-facts > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 16px;
  border-right: 1px solid color-mix(in oklab, var(--espresso) 10%, transparent);
}
.b-who .who-facts > div:last-child { border-right: 0; }
.b-who .who-facts > div + div { padding-left: 16px; }
.b-who .who-facts dt {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--espresso) 55%, transparent);
  margin: 0;
}
.b-who .who-facts dd {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  color: var(--plum);
  margin: 0;
  line-height: 1.05;
}
.b-who .who-text .who-cta { margin-top: 6px; align-self: flex-start; }
.b-who .who-icons {
  background: var(--cream);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  position: relative;
}
.b-who .who-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
/* seconda foto: nascosta di default; layout 3-col su desktop-lg definito più in basso */
.b-who .who-icons-2 { display: none; }
.b-who .who-icons-box {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1 / 1.05;
  border: 1px solid color-mix(in oklab, var(--espresso) 18%, transparent);
  border-radius: 4px;
  background: #fff;
}
.b-who .who-ic { position: absolute; display: block; }
.b-who .who-ic.ic-1 { top: 6%;   left: 50%; transform: translateX(-50%); width: 46%; }
.b-who .who-ic.ic-2 { top: 38%;  left: 8%;  width: 22%; }
.b-who .who-ic.ic-3 { top: 42%;  right: 6%; width: 30%; }
.b-who .who-ic.ic-4 { bottom: 6%; left: 6%; width: 32%; }
.b-who .who-ic.ic-5 { bottom: 8%; right: 8%; width: 28%; }
.b-special { grid-column: span 7; }
.b-cooks { grid-column: span 5; padding: 40px 40px 36px; display: flex; flex-direction: column; overflow: hidden; }
.b-cooks .cn-content { display: flex; flex-direction: column; flex: 1; }
.b-cooks .cn-content .cn-sig { padding-top: 18px; }
.b-cooks .cn-photo { display: none; }
.b-cooks .cn-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.b-orderonline { grid-column: span 12; padding: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; max-height: 640px; }
.b-orderonline .ev-text { padding: 40px 44px 32px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.b-orderonline .ev-text .tag { margin-top: 28px; }
.b-orderonline .ev-text .block-title { margin: 0; }
.b-orderonline .ev-text .block-body { margin: 0; max-width: 56ch; }
.b-orderonline .ev-text .dishes { margin-top: auto; }
.b-orderonline .ev-text .block-cta { align-self: flex-start; margin-top: 4px; }
.b-orderonline .ev-photo { background: var(--cream); overflow: hidden; }
.b-orderonline .ev-photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 320px; }

/* Events carousel */
.b-orderonline .ev-carousel {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
  background: var(--cream);
}
.ev-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.ev-carousel-img.is-active {
  opacity: 1;
}
.ev-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.ev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 1.5px solid rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.ev-dot.is-active {
  background: var(--coral);
  border-color: var(--coral);
  transform: scale(1.35);
}
.b-cookchat { grid-column: span 4; }
.b-book { grid-column: span 12; }

/* book-now block — compact unified strip */
.b-book {
  display: flex;
  flex-direction: column;
  padding: 36px 48px 0;
  outline: 1px solid var(--coral);
  overflow: hidden;
}
.b-book .book-body {
  flex: 0;
  margin-top: 12px;
  max-width: 60ch;
}
/* head row: text on the left, map illustration on the right */
.b-book { padding: 40px 44px 0; }
.b-book .book-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 32px;
}
.b-book .book-head-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
.b-book .book-head-map {
  min-width: 0;
  display: block;
}
.b-book .book-head-map img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
  border: 1px solid color-mix(in oklab, var(--coral) 50%, transparent);
}
.book-stellar-strip {
  width: 100%;
  height: 36px;
  display: block;
  margin-top: 20px;
  flex-shrink: 0;
}
.b-book .book-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}
/* TheFork + contact on same row after the pattern strip */
.b-book .book-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--rule);
  margin-top: 0;
}
.b-book .book-ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.book-fork-btn {
  display: block;
  transition: opacity .2s;
  flex-shrink: 0;
}
.book-fork-btn:hover { opacity: 0.6; }
.book-fork-logo {
  display: block;
  width: 160px;
  height: auto;
}
.b-book .book-right-note {
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-40);
  max-width: 30ch;
  line-height: 1.4;
  white-space: pre-line;
}
.b-book .book-contact {
  font-size: 14px;
  line-height: 1.75;
  color: var(--espresso);
  text-align: right;
  flex: 1;
}
.b-book .book-contact em { font-style: italic; }
.b-book .book-contact a {
  color: var(--coral);
  font-weight: 500;
  border-bottom: 1px solid var(--coral);
  transition: opacity .2s;
}
.b-book .book-contact a:hover { opacity: 0.7; }

/* Aperitivo block: photo + text */
.b-aperitivo {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 520px;
}
.b-aperitivo .ap-photo {
  background: var(--cream);
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}
.b-aperitivo .ap-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.b-aperitivo .ap-text { padding: 28px; }

/* Order online: 4 small dish illustrations in a row */
.b-orderonline .dishes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 16px 0 24px;
}
.b-orderonline .dish {
  position: relative;
  padding: 16px;
  background: var(--cream);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), background .3s ease;
  will-change: transform;
}
/* Border draws in from top-right corner */
.b-orderonline .dish::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1.5px solid var(--coral);
  border-right: 1.5px solid var(--coral);
  clip-path: inset(0 0 100% 100%);
  transition: clip-path .38s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Border draws in from bottom-left corner */
.b-orderonline .dish::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 1.5px solid var(--coral);
  border-left: 1.5px solid var(--coral);
  clip-path: inset(100% 100% 0 0);
  transition: clip-path .38s cubic-bezier(0.4, 0, 0.2, 1) .08s;
}
.b-orderonline .dish:hover {
  transform: translateY(-5px);
  background: rgba(255, 96, 56, 0.04);
}
.b-orderonline .dish:hover::before { clip-path: inset(0 0 0 0); }
.b-orderonline .dish:hover::after  { clip-path: inset(0 0 0 0); }
.b-orderonline .dish svg {
  width: 100%;
  height: auto;
  max-height: 80px;
  color: var(--espresso);
  transition: color .3s ease, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.b-orderonline .dish:hover svg {
  color: var(--coral);
  transform: scale(1.08);
}
.b-orderonline .dish-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  margin-top: 8px;
  color: var(--espresso);
  transition: color .3s ease;
}
.b-orderonline .dish:hover .dish-name { color: var(--coral); }

/* Special: accordion items */
.b-special .specials-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Row wrapper */
.b-special .sp-row {
  border-bottom: 1px dashed var(--rule);
}
.b-special .sp-row:last-child { border-bottom: 0; }

/* Trigger button */
.b-special .sp-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 10px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: background .18s, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Border-drawing hover — same technique as events cards */
.b-special .sp-item::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 1.5px solid var(--coral);
  border-right: 1.5px solid var(--coral);
  clip-path: inset(0 0 100% 100%);
  transition: clip-path .38s cubic-bezier(0.4, 0, 0.2, 1);
}
.b-special .sp-item::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-bottom: 1.5px solid var(--coral);
  border-left: 1.5px solid var(--coral);
  clip-path: inset(100% 100% 0 0);
  transition: clip-path .38s cubic-bezier(0.4, 0, 0.2, 1) .08s;
}
.b-special .sp-item:hover::before,
.b-special .sp-row.is-open .sp-item::before { clip-path: inset(0 0 0 0); }
.b-special .sp-item:hover::after,
.b-special .sp-row.is-open .sp-item::after  { clip-path: inset(0 0 0 0); }
.b-special .sp-item:hover { transform: translateY(-2px); background: rgba(255, 96, 56, 0.03); }

.b-special .sp-item > svg { width: 56px; height: auto; color: var(--espresso); flex-shrink: 0; }
.b-special .sp-info { display: flex; flex-direction: column; gap: 2px; }
.b-special .sp-item .nm {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.2;
  color: var(--espresso);
}
.b-special .sp-item .meta {
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
  margin-top: 2px;
}

/* Chevron indicator */
.sp-chevron {
  width: 20px;
  height: 20px;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform .32s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-chevron svg { width: 100%; height: 100%; display: block; }
.sp-row.is-open .sp-chevron { transform: rotate(180deg); }

/* Accordion panel */
.sp-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-row.is-open .sp-panel { max-height: 400px; }
.sp-panel-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 4px 0 20px 0;
}

.sp-panel-photo {
  height: 180px;
  overflow: hidden;
  border-radius: 2px;
  flex-shrink: 0;
}
.sp-panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sp-panel-desc {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--espresso);
  margin-bottom: 14px;
}
.sp-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-panel-list li {
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sp-panel-list li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--coral);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .sp-panel-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 16px;
  }
  .sp-panel-photo { height: 160px; }
}

/* Cooks note */
.b-cooks .cn-greet {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 16px;
}
.b-cooks .cn-body {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cream);
}
.b-cooks .cn-divider {
  width: 112px;
  height: 112px;
  display: block;
  margin: auto;
  flex-shrink: 0;
  align-self: center;
}
.b-cooks .cn-sig {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  margin-top: 14px;
  color: var(--cream);
}

/* Cook's chat — small pull quote/illustration */
.b-cookchat .quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--coral);
  margin: 16px 0;
}
.b-cookchat .quote-author {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-60);
}

/* Book now — title */
.b-book .book-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
  color: var(--coral);
  letter-spacing: -0.025em;
  margin: 6px 0 0;
}
.b-book .book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.b-book .book-form .full { grid-column: span 2; }
.b-book .book-form input,
.b-book .book-form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--coral);
  padding: 12px 0;
  font-family: var(--condensed);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  outline: none;
}
.b-book .book-form input::placeholder { color: var(--grey-40); }
.b-book .book-form button {
  grid-column: span 2;
  margin-top: 12px;
  background: var(--coral);
  color: var(--cream);
  border: 0;
  padding: 16px 24px;
  font-family: var(--condensed);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.b-book .book-form button:hover { background: var(--espresso); }

/* ============== MARQUEE STRIP ============== */
.marquee {
  padding: 16px 0;
  overflow: hidden;
  background: var(--cream);
  margin: 24px 0;
}
.marquee-track {
  display: flex;
  gap: 36px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  font-family: var(--condensed);
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
  align-items: center;
}
.marquee-track em {
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  color: var(--espresso);
  font-weight: 400;
  font-size: 24px;
}
.marquee-track svg, .marquee-track .illu {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  color: var(--coral);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============== FOOTER ============== */
footer.poster-footer {
  padding: 56px 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.poster-footer .col-title {
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.poster-footer p, .poster-footer a { font-size: 13px; line-height: 1.8; color: var(--espresso); }
.poster-footer a:hover { color: var(--coral); }
.poster-footer .brand-col .footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
}
.poster-footer .brand-col .sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--grey-60);
}

.colophon {
  margin-top: 0;
  padding: 20px 40px 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-60);
}
.colophon-legal {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}
.colophon-legal a {
  color: var(--grey-60);
  transition: color .2s;
}
.colophon-legal a:hover { color: var(--coral); }
.lang-switcher {
  font-family: var(--condensed);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-60);
  background: transparent;
  border: 1px solid var(--grey-60);
  border-radius: 999px;
  padding: 2px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color .2s, border-color .2s;
}
.lang-switcher:hover { color: var(--coral); border-color: var(--coral); }

/* Dark footer variant — used on the events page */
.poster-footer--dark { border-top: 1px solid rgba(244,236,222,0.1); }
.poster-footer--dark p,
.poster-footer--dark a { color: var(--cream); }
.poster-footer--dark a:hover { color: var(--coral); }
.colophon--dark { color: rgba(244,236,222,0.5); border-top: 1px solid rgba(244,236,222,0.07); }
.colophon--dark .colophon-legal a { color: rgba(244,236,222,0.5); }
.colophon--dark .colophon-legal a:hover { color: var(--coral); }
.colophon--dark .lang-switcher { color: rgba(244,236,222,0.5); border-color: rgba(244,236,222,0.3); }
.colophon--dark .lang-switcher:hover { color: var(--coral); border-color: var(--coral); }

/* ============================================================
   RESPONSIVE
   Breakpoints:
     980px — tablet landscape / small laptop
     768px — tablet portrait (nav burger already active)
     560px — mobile
   ============================================================ */

@media (max-width: 980px) {
  /* All blocks full-width */
  .b-menu-card, .b-reserve, .b-who, .b-special, .b-cooks,
  .b-orderonline, .b-cookchat, .b-book, .b-aperitivo {
    grid-column: span 12;
  }

  /* Menu cards: stack vertically */
  .menu-cards-row {
    flex-direction: column;
  }
  .b-menu-card .mc-photo { height: 260px; }
  .b-menu-card .mc-title { font-size: clamp(18px, 4vw, 24px); }

  /* Reserve strip: vertical */
  .b-reserve {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 28px 32px;
    gap: 20px;
  }
  .b-reserve .res-left { flex-direction: column; gap: 12px; }
  .b-reserve .res-illus svg { height: 100px; }
  .b-reserve .res-right { align-items: flex-start; width: 100%; }
  .b-reserve .res-cta { align-self: flex-start; }

  /* Who block: single column */
  .b-who { grid-template-columns: 1fr; max-height: none; }
  .b-who .who-text { padding: 28px; gap: 20px; }
  .b-who .who-icons { min-height: 280px; }

  /* Events block: single column, no max-height */
  .b-orderonline { grid-template-columns: 1fr; max-height: none; }
  .b-orderonline .ev-text { padding: 28px 28px 24px; }
  .b-orderonline .ev-text .tag { margin-top: 8px; }
  .b-orderonline .ev-photo { display: none; }
  .b-orderonline .dishes { grid-template-columns: repeat(2, 1fr); }

  /* Aperitivo: single column */
  .b-aperitivo { grid-template-columns: 1fr; min-height: 0; }
  .b-aperitivo .ap-photo { height: 260px; }
  .b-aperitivo .ap-text { padding: 24px; }

  /* Special + Cooks: full width */
  .b-special { grid-column: span 12; }
  .b-cooks   { grid-column: span 12; }

  /* Topstrip: centered single col */
  .topstrip { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .topstrip .left, .topstrip .right { justify-content: center; }

  /* Hero button: visibile anche su tablet/mobile */
  .hero-menu-btn { display: grid !important; }

  /* Footer: 2 cols */
  footer.poster-footer { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 28px 36px; }
}

@media (max-width: 768px) {
  /* Grid tighter */
  .grid { padding: 0 14px 14px; gap: 12px; }

  /* Menu cards: horizontal on tablet, but capped height */
  .menu-cards-row { flex-direction: row; }
  .b-menu-card .mc-photo { height: 200px; }
  .b-menu-card .mc-body { padding: 16px; }
  .b-menu-card .mc-title { font-size: 16px; }
  .b-menu-card .mc-desc { display: none; }

  /* Hero marquee: tighter */
  .hero-marquee-item { font-size: clamp(60px, 16vw, 140px); }

  /* Nav: logo ridotto e allineato a sinistra su mobile */
  .mainnav { padding: 8px 12px; }
  .mainnav-brand { justify-content: flex-start; }
  .mainnav-brand .nav-brand-logo { height: 32px; width: auto; white-space: nowrap; }
  .reserve-pill { font-size: 10px; padding: 6px 10px; gap: 3px; white-space: nowrap; }
  .nav-burger { padding: 6px 9px; gap: 3px; }
  .nav-burger span { width: 18px; height: 2px; }

  /* Hero photo: taller on mobile */
  .hero-photo img { aspect-ratio: 4/3; }

  .hero-menu-btn { display: grid; width: 150px; height: 150px; bottom: 16px; left: 16px; }

  /* b-who hide image col */
  .b-who .who-icons { display: none; }
  .b-who .who-text { padding: 24px; }
  .b-who .who-facts { grid-template-columns: repeat(3, 1fr); }

  /* Book row: stack on small tablet */
  .b-book .book-row { flex-direction: column; align-items: flex-start; }
  .b-book .book-contact { text-align: left; }
  .b-book .book-head { grid-template-columns: 1fr; gap: 24px; }
  .b-book .book-head-map { width: 100%; max-width: none; }
}

@media (max-width: 560px) {
  :root { --frame-pad: 10px; --gut: 12px; }
  .grid { padding: 0 10px 10px; gap: 10px; }
  .hero { padding: 16px 0 0; }

  /* Menu cards: full-width stack */
  .menu-cards-row { flex-direction: column; }
  .b-menu-card .mc-photo { height: 220px; }
  .b-menu-card .mc-body { padding: 18px; }
  .b-menu-card .mc-title { font-size: clamp(18px, 5vw, 22px); }
  .b-menu-card .mc-desc { display: block; font-size: 13px; }

  /* Reserve */
  .b-reserve { padding: 24px 18px 28px; }
  .b-reserve .res-title { font-size: clamp(28px, 9vw, 48px); }
  .b-reserve .res-illus { display: none; }

  /* Hero photo: portrait on small mobile */
  .hero-photo img { aspect-ratio: 3/4; }

  .hero-menu-btn { display: grid !important; width: 132px; height: 132px; bottom: 14px; left: 14px; }

  /* Events: 1 col dishes */
  .b-orderonline .dishes { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .b-orderonline .ev-text { padding: 22px 18px 20px; }

  /* Kitchen note */
  .b-cooks { padding: 28px 22px 28px; }

  /* Footer: single column */
  footer.poster-footer { grid-template-columns: 1fr; gap: 20px; padding: 32px 20px 28px; }
  .colophon { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 20px; }
  .colophon-legal { gap: 8px; flex-direction: column; align-items: center; }

  /* Book row: stacked on mobile */
  .b-book { padding: 24px 20px 0; }
  .b-book .book-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .b-book .book-contact { text-align: left; }
  .book-fork-logo { width: 130px; }

  /* Block base padding */
  .block { padding: 18px; }

  /* Who are we: prevent text overflow */
  .b-who .who-text { padding: 20px 18px 24px; }
  .b-who .who-text .block-title { font-size: clamp(32px, 9vw, 44px); max-width: 100%; }
  .b-who .who-body { max-width: 100%; }
  .b-who .who-body p, .b-who .who-sub { overflow-wrap: break-word; word-break: break-word; }
  .b-who .who-facts {
    grid-template-columns: 1fr;
  }
  .b-who .who-facts > div,
  .b-who .who-facts > div + div {
    border-right: 0;
    border-bottom: 1px solid color-mix(in oklab, var(--espresso) 10%, transparent);
    padding: 12px 0;
    padding-left: 0;
    padding-right: 0;
  }
  .b-who .who-facts > div:last-child {
    border-bottom: 0;
    border-top: none;
    grid-column: auto;
  }
}

/* Sezioni home (eventi): allineate al testo di Chi siamo (stesso inset di .who-text) */
.home-sec { grid-column: 1 / -1; padding: 0 44px; }
@media (max-width: 980px) { .home-sec { padding: 0 28px; } }
@media (max-width: 768px) { .home-sec { padding: 0 24px; } }
@media (max-width: 560px) { .home-sec { padding: 0 18px; } }

/* Box Pranzo: full-bleed (coral fino al bordo) ma titolo allineato a Chi siamo.
   padding-left = grid-pad + who-text-pad ai vari breakpoint (24+44, 24+28, 14+24, 10+18) */
.pranzo-sec { background: var(--coral); padding: 68px; }
@media (max-width: 980px) { .pranzo-sec { padding: 28px; } }

.pranzo-sec .tag { color: #fff; }
.pranzo-sec .tag::before { background: #fff; }

.pranzo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 768px) { .pranzo-cards { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Il luogo: immagine a sinistra */
.b-who.rev { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 980px) { .b-who.rev { grid-template-columns: 1fr; } }

/* Immagini chi-siamo/il-luogo quadrate (1:1), centrate verticalmente se il testo è più alto */
.b-who { max-height: none; background: transparent; }
.b-who .who-text { background: transparent; }
.b-who .who-icons { align-self: center; align-items: center; }
.b-who .who-photo { aspect-ratio: 1 / 1; height: auto; width: 100%; object-fit: cover; }
@media (max-width: 980px) { .b-who .who-photo { aspect-ratio: 16 / 10; } }

/* Spazio verticale uguale a quello laterale (68px) attorno alle sezioni chi-siamo/il-luogo */
.grid.grid-who { padding-top: 68px; padding-bottom: 68px; }
@media (max-width: 980px) { .grid.grid-who { padding-top: 28px; padding-bottom: 28px; } }

/* Padding uniforme 68px su tutti i lati (brunch, organizza) */
.block.sec-pad { padding: 68px; }
@media (max-width: 980px) { .block.sec-pad { padding: 28px; } }

/* chi-siamo e il-luogo: immagini allineate alla colonna dei contenuti (come le card pranzo, 104..1176).
   La griglia ha contenuto a 60..1220; con 44px di margine per lato si arriva a 104..1176. */
/* chi-siamo: immagine (dx) a filo 1176 come le card; testo con respiro (44px), titolo a 104 */
.grid > .b-who { margin-left: 0; margin-right: 44px; }
/* il-luogo: immagine (sx) a filo 104; testo (dx) con respiro */
.grid > .b-who.rev { margin-left: 44px; margin-right: 0; }
.b-who .who-text { padding-left: 44px; padding-right: 40px; }
.b-who.rev .who-text { padding-left: 40px; padding-right: 44px; }
@media (max-width: 980px) {
  .grid > .b-who,
  .grid > .b-who.rev { margin-left: 0; margin-right: 0; }
  .b-who .who-text,
  .b-who.rev .who-text { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 768px) {
  .b-who .who-text,
  .b-who.rev .who-text { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 560px) {
  .b-who .who-text,
  .b-who.rev .who-text { padding-left: 18px; padding-right: 18px; }
}

/* da 1750px: 3 colonne (testo + 2 foto). Sotto resta una sola immagine. */
@media (min-width: 1750px) {
  .b-who { grid-template-columns: minmax(0, 700px) 1fr 1fr; column-gap: 1.5rem; }
  .b-who.rev { grid-template-columns: 1fr 1fr minmax(0, 700px); }
  .b-who .who-icons-2 { display: flex; }
}

/* ============== HEADER: LOGO + MENU SOTTO, sticky in alto ============== */

/* Header su una riga: logo a sinistra · menu al centro · CTA a destra — sticky allo scroll */
.topbrand {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 18px 28px;
  background: var(--cream);
  border-top: var(--inner-stroke, 0.75px) solid var(--coral);
  border-bottom: 1px solid var(--coral);
}
.topbrand-link { display: block; line-height: 0; color: var(--coral); }
/* logo sempre centrato (assoluto), fuori dal flusso: menu a sx, Prenota a dx, tutto su una riga */
.topbrand .topbrand-link { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.topbrand .wordmark { height: 40px; width: auto; display: block; }
.topbrand .wordmark text { fill: currentColor; }
.topbrand-logo { height: 40px; width: auto; display: block; }

/* Layout: menu a sinistra, logo al centro, Prenota a destra */
.topbrand .botnav-links { grid-column: 1; justify-self: start; }
.topbrand .botnav-cta   { grid-column: 3; justify-self: end; }

/* hamburger (visibile solo su tablet/mobile) + chiusura drawer */
.botnav-burger { display: none; grid-column: 1; justify-self: start; flex-direction: column; gap: 4px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.botnav-burger span { display: block; width: 22px; height: 2px; background: var(--coral); }
.botnav-close { display: none; }

/* gruppo destro: "Organizza il tuo evento" accanto al pulsante Prenota */
.topbrand-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; white-space: nowrap; }
.topbrand-right .botnav-link { font-family: "Poppins", system-ui, sans-serif; font-weight: 500; font-size: 12px; color: var(--espresso); }
.topbrand-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); flex: none; }
.botnav-only-mobile { display: none; }

.botnav-links {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--espresso);
  overflow: visible;
}

.botnav-link {
  padding: 2px 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
/* divider a pallino tra una voce e l'altra (anche col sottomenu) */
.botnav-links > * + *::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  vertical-align: middle;
  margin: 0 9px 2px 9px;
}
/* niente pallino prima di Home: il 1° figlio è il bottone di chiusura (nascosto su desktop),
   quindi Home era "* + *" e riceveva il separatore */
.botnav-links > .botnav-close + .botnav-link::before { content: none; }
.botnav-link:hover { color: var(--coral); }
.botnav-link.is-active { color: var(--coral); }

/* voce con sottomenu (Pranzo & Brunch) */
.botnav-item { position: relative; display: inline-flex; align-items: center; }
.botnav-item.is-active .botnav-link { color: var(--coral); }
.botnav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(6px);
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 8px 0;
  background: var(--cream);
  border: var(--inner-stroke, 0.75px) solid var(--coral);
  box-shadow: 0 10px 28px rgba(28, 60, 43, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 220;
}
.botnav-item:hover .botnav-sub,
.botnav-item:focus-within .botnav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
}
.botnav-sublink {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 22px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  transition: color .18s, background .18s;
}
.botnav-sublink:hover { color: var(--coral); }
.botnav-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1;
}

.botnav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 14px;
  padding: 11px 26px;
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 768px) {
  .topbrand { padding: 14px 16px; gap: 10px; }
  .topbrand .wordmark, .topbrand-logo { height: 34px; }
  .botnav-links { font-size: 11px; }
  .botnav-links > * + *::before { margin: 0 9px 2px 9px; }
  .botnav-cta { font-size: 12px; padding: 6px 12px; }
}

/* Overlay scuro dietro al menu mobile (nascosto su desktop) */
.botnav-overlay { display: none; }

/* Header: hamburger + menu a tendina su tablet/mobile */
@media (max-width: 1024px) {
  .botnav-burger { display: flex; }
  .botnav-only-desktop { display: none; }
  .botnav-only-mobile { display: block; }
  .topbrand .botnav-links {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(85vw, 380px);
    z-index: 300;
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 5rem 2.2rem 2rem;
    background: var(--cream);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .botnav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 299;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .botnav-overlay.is-open { opacity: 1; visibility: visible; }
  .topbrand .botnav-links.is-open { transform: translateX(0); }
  .botnav-close {
    display: block;
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: 0;
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    color: var(--coral);
    cursor: pointer;
  }
  .botnav-links > * + *::before { display: none; }
  /* divider tra una voce e l'altra */
  .topbrand .botnav-links > .botnav-link,
  .topbrand .botnav-links > .botnav-item {
    width: 100%;
    padding: 1.1rem 0;
    border-bottom: 1px solid color-mix(in oklab, var(--espresso) 16%, transparent);
  }
  .topbrand .botnav-links > .botnav-link:last-child,
  .topbrand .botnav-links > .botnav-item:last-child { border-bottom: 0; }
  .botnav-link { font-size: 20px; }
  .botnav-item { flex-direction: column; align-items: flex-start; }
  .botnav-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.6rem 0 0 0;   /* niente rientro per Gastronomia / Ristorante */
    min-width: 0;
  }
  .botnav-sublink { padding: 6px 0; }
}

/* Badge cookie (cookie-script) spostato a destra */
#cookiescript_badge {
  left: auto !important;
  right: 20px !important;
}

/* Chi siamo / Il luogo: full-width come Pranzo solo su mobile (su desktop resta il layout originale) */
@media (max-width: 768px) {
  .grid-who { padding-left: 0; padding-right: 0; }
}

/* Le ancore si fermano sotto l'header sticky (così si vede l'occhiello della sezione) */
#chi-siamo, #il-luogo, #eventi, #organizza { scroll-margin-top: 120px; }
#pranzo { scroll-margin-top: 80px; } /* ha già 68px di padding interno */

/* ===== HOMEPAGE — Prossimi eventi (carousel full-width) ===== */
/* 68px = 24px (grid padding) + 44px (who-text padding) — allineato con Chi siamo */
.home-events { grid-column: 1 / -1; padding: clamp(2.5rem, 5vw, 4.5rem) 68px; }
.home-events-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.home-events-title { color: #1a1a1a; margin: 0; }
.home-events-title em { color: #1a1a1a; font-style: italic; }
.home-events-all { flex: none; }
/* frecce di scorrimento eventi — sovrapposte ai lati, centrate sull'immagine */
.home-events-arrow {
  position: absolute;
  top: var(--ev-arrow-top, 130px);
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: var(--coral); color: var(--cream);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, transform 0.2s;
}
.home-events-arrow:hover { background: color-mix(in oklab, var(--coral) 82%, #000); }
.home-events-arrow.prev { left: 12px; }
.home-events-arrow.next { right: 12px; }
@media (max-width: 768px) { .home-events-arrow { width: 40px; height: 40px; font-size: 22px; } }
.home-events-carousel { overflow: visible; position: relative; }
.home-events-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home-events-track::-webkit-scrollbar { display: none; }
/* Card evento in home — stessa struttura delle card in /eventi */
.home-event-card {
  flex: 0 0 31%;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--espresso);
  background: var(--cream-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.home-event-fig {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.home-event-fig img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.home-event-card:hover .home-event-fig img { transform: scale(1.04); }
.home-event-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}
.home-event-date { font-family: var(--condensed); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral); }
.home-event-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.05;
  color: var(--espresso);
  margin: 0;
}
.home-event-sum { font-size: 13px; line-height: 1.55; color: var(--espresso); flex: 1; margin: 0; }
.home-event-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.75rem;
  font-family: var(--condensed);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 999px;
  padding: 8px 18px;
  transition: background .2s ease, color .2s ease;
}
.home-event-card:hover .home-event-cta { background: var(--coral); color: var(--cream); }
/* da 1750px: 5 card visibili (anziché 3) nel carosello eventi */
@media (min-width: 1750px) { .home-event-card { flex: 0 0 18%; } }
@media (max-width: 900px) { .home-event-card { flex: 0 0 46%; } }
@media (max-width: 768px) {
  /* allinea "Prossimi eventi" all'inset del testo sopra (who-text) su tablet */
  .home-events { padding: 2.5rem 24px; }
  .home-event-card { flex: 0 0 46%; }
}
@media (max-width: 560px) {
  /* su mobile il testo ha inset 36px (block 18 + who-text 18): match */
  .home-events { padding: 2.5rem 36px; }
  .home-event-card { flex: 0 0 80%; }
}

/* ===== HOMEPAGE — Organizza il tuo evento (due colonne) ===== */
.organizza-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 860px) {
  .organizza-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== PAGINA /organizza ===== */
.org-hero { max-width: 980px; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 24px 0; text-align: center; }
.org-hero .tag { justify-content: center; }
.org-hero-title { color: var(--plum); margin: 0.6rem 0 1.25rem; }
.org-hero-intro { max-width: 62ch; margin: 0 auto; color: var(--espresso); font-size: clamp(15px, 1.6vw, 17px); }
.org-hero-fig { margin: clamp(2rem, 5vw, 3.5rem) 0 0; aspect-ratio: 16 / 7; overflow: hidden; }
.org-hero-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }

.org-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: clamp(2.5rem, 5vw, 4rem) auto; padding: 0 24px; }
.org-stat { text-align: center; padding: 1.5rem 1rem; border-right: 1px solid color-mix(in oklab, var(--coral) 35%, transparent); }
.org-stat:last-child { border-right: 0; }
.org-stat-num { display: block; font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: clamp(40px, 5vw, 64px); color: var(--coral); line-height: 1; }
.org-stat-label { display: block; margin-top: 0.5rem; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--espresso); }
@media (max-width: 680px) {
  .org-stats { grid-template-columns: 1fr 1fr; }
  .org-stat:nth-child(2) { border-right: 0; }
  .org-stat:nth-child(-n+2) { border-bottom: 1px solid color-mix(in oklab, var(--coral) 35%, transparent); }
}

.org-tipologie { max-width: 1100px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) 24px clamp(2.5rem, 5vw, 4.5rem); display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4.5rem); }
.org-tip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.org-tip.rev .org-tip-fig { order: 2; }
.org-tip-fig { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.org-tip-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.org-tip-body { display: flex; flex-direction: column; gap: 0.9rem; }
.org-tip-title { color: var(--plum); margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; }
@media (max-width: 760px) {
  .org-tip { grid-template-columns: 1fr; }
  .org-tip.rev .org-tip-fig { order: 0; }
}

/* /organizza: immagini b-who 16:13 + blocco di testo centrato verticalmente */
.org-page .b-who .who-photo { aspect-ratio: 16 / 13; }
.org-page .b-who .who-text { justify-content: center; }
/* più spazio tra una tipologia e l'altra su /organizza (desktop) */
@media (min-width: 981px) {
  .org-page .grid.grid-who { padding-top: 100px; padding-bottom: 100px; }
}
@media (max-width: 980px) {
  /* su mobile le 3 tipologie sono tutte img → testo (anche le "rev") */
  .org-page .b-who .who-icons { order: -1; }
  /* testo allineato al bordo dell'immagine (stesso inset) */
  .org-page .b-who .who-text { padding-left: 0; padding-right: 0; }
}
@media (max-width: 768px) {
  /* su mobile mostra solo la prima immagine (la seconda resta nascosta) */
  .org-page .b-who .who-icons:not(.who-icons-2) { display: block; min-height: 0; }
}
/* /organizza: la descrizione non si espande → pulsante subito sotto */
.org-page .b-who .who-body { flex: 0 0 auto; }
.org-page .b-who .who-cta { margin-top: 1.5rem; padding-top: 14px; padding-bottom: 14px; background: transparent; -webkit-appearance: none; appearance: none; }
.org-page .b-who .who-cta:hover { background: var(--coral); color: var(--cream); }
.org-kpis { margin-top: 0; }

/* /organizza: slideshow del primo box (crossfade) */
.org-slideshow { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
@media (min-width: 981px) { .org-slideshow { aspect-ratio: 16 / 9; } }
.org-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.org-slide.is-active { opacity: 1; }

/* /organizza: hero 100vh con slideshow di sfondo */
.org-hero-full { position: relative; min-height: 50vh; display: flex; align-items: center; overflow: hidden; }
.org-hero-full .org-slideshow { position: absolute; inset: 0; aspect-ratio: auto; width: 100%; height: 100%; }
.org-hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, color-mix(in oklab, var(--plum) 48%, transparent), color-mix(in oklab, var(--plum) 72%, transparent)); }
.org-hero-content { position: relative; z-index: 2; max-width: 820px; padding: clamp(2rem, 6vw, 5rem); color: var(--cream); }
.org-hero-fulltitle { color: var(--cream); margin: 0 0 1.25rem; }
.org-hero-fulldesc { color: var(--cream); max-width: 54ch; margin: 0 0 1.75rem; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.6; opacity: 0.95; }
.org-hero-cta { background: var(--coral); color: var(--cream); border-color: var(--coral); }
.org-hero-cta:hover { background: color-mix(in oklab, var(--coral) 82%, #000); border-color: color-mix(in oklab, var(--coral) 82%, #000); color: var(--cream); }

/* /organizza: hero stile home — lo slideshow riempie la foto */
.org-hero-home .hero-photo .org-slideshow { position: absolute; inset: 0; aspect-ratio: auto; width: 100%; height: 100%; }
/* badge rotante a metà dell'immagine, a destra */
.org-hero-home .hero-menu-btn { top: auto; bottom: 24px; left: 24px; right: auto; transform: none; }
@media (max-width: 768px) { .org-hero-home .hero-menu-btn { top: auto; bottom: 16px; left: 16px; right: auto; } }
.org-lede { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 24px; text-align: center; scroll-margin-top: 100px; }
.org-lede .block-title, .org-lede .block-title em { color: #1a1a1a; margin: 0 0 1.25rem; }
.org-lede .block-body { color: var(--espresso); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.7; }
@media (max-width: 700px) { .org-lede { text-align: left; } }

/* KPI nella sezione arancione (come Pranzo) */
.org-kpi-sec { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.org-kpi-sec .tag::before { background: #ffffff; }
.org-kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin: 1.75rem auto 0; max-width: 1200px; width: 100%; }
.org-kpi { text-align: center; padding: 1rem; border-right: 1px solid rgba(255, 255, 255, 0.3); }
.org-kpi:last-child { border-right: 0; }
.org-kpi-num { display: block; font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: clamp(40px, 5vw, 64px); color: #ffffff; line-height: 1; }
.org-kpi-label { display: block; margin-top: 0.5rem; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 680px) {
  .org-kpis { grid-template-columns: 1fr 1fr; }
  .org-kpi:nth-child(2) { border-right: 0; }
  .org-kpi:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 1.5rem; }
  .org-kpi:nth-child(n+3) { padding-top: 1.5rem; }
}

/* ───────────────── Book Now block — sezione prenotazione (home, dopo gli eventi) ───────────────── */
.b-book {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 0;
  outline: 1px solid var(--coral);
  overflow: hidden;
}
.b-book .book-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
  color: var(--coral);
  letter-spacing: -0.025em;
  margin: 6px 0 0;
}
.b-book .book-body { flex: 0; margin-top: 12px; max-width: 60ch; }
.b-book .book-cta { margin-top: 22px; align-self: flex-start; }
.b-book .book-head { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; }
.b-book .book-head-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.b-book .book-head-map { min-width: 0; display: block; }
.b-book .book-head-map img {
  width: 100%; height: auto; display: block;
  border: 1px solid color-mix(in oklab, var(--coral) 50%, transparent);
}
.book-stellar-strip { width: 100%; height: 36px; display: block; margin-top: 20px; flex-shrink: 0; }
.b-book .book-bottom { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.b-book .book-row {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--rule);
}
.b-book .book-ctas { display: flex; flex-direction: row; align-items: center; gap: 12px; flex: 0 0 auto; }
.book-fork-btn { display: block; transition: opacity .2s; flex-shrink: 0; }
.book-fork-btn:hover { opacity: .6; }
.book-fork-logo { display: block; width: 160px; height: auto; }
.b-book .book-right-note {
  font-family: var(--condensed); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--grey-40); max-width: 18ch; line-height: 1.4;
}
.b-book .book-contact { font-size: 14px; line-height: 1.75; color: var(--espresso); text-align: right; flex: 1; }
.b-book .book-contact em { font-style: italic; }
.b-book .book-contact a { color: var(--coral); font-weight: 500; border-bottom: 1px solid var(--coral); transition: opacity .2s; }
.b-book .book-contact a:hover { opacity: .7; }
@media (max-width: 768px) {
  .b-book { padding: 24px 20px 0; }
  .b-book .book-head { grid-template-columns: 1fr; gap: 24px; }
  .b-book .book-head-map { width: 100%; }
  .b-book .book-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .b-book .book-contact { text-align: left; }
  .book-fork-logo { width: 130px; }
}

/* Pulsante "Tutti gli eventi": in testata su desktop, sotto il carosello su mobile */
.home-events-all--bottom { display: none; }
@media (max-width: 768px) {
  .home-events-all--top { display: none; }
  .home-events-all--bottom { display: inline-flex; margin-top: 1.75rem; }
  /* "Prenota ora" allineata agli altri box su mobile (azzera il padding del wrapper .grid) */
  .grid-book { padding-left: 0; padding-right: 0; }
}

/* ===== Organizza — 3 card tipologie affiancate ===== */
.org-tipologie { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 900px) { .org-tipologie { padding-top: 56px; padding-bottom: 56px; } }
.org-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.org-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-light);
  border: var(--inner-stroke, 0.75px) solid color-mix(in oklab, var(--espresso) 14%, transparent);
  overflow: hidden;
}
.org-card-fig { aspect-ratio: 4 / 3; overflow: hidden; }
.org-card-fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.org-card:hover .org-card-fig img { transform: scale(1.04); }
.org-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem; gap: 0.85rem; }
.org-card-tag { display: block; color: var(--leaf); margin: 0; }
.org-card-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  color: var(--plum);
  margin: 0;
}
.org-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: color-mix(in oklab, var(--espresso) 82%, transparent);
}
.org-card-cta {
  margin-top: auto;
  align-self: flex-start;
  color: var(--coral);
  border: 1px solid var(--coral);
  background: transparent;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.org-card-cta:hover { background: var(--coral); color: var(--cream); }
@media (max-width: 900px) {
  .org-cards { grid-template-columns: 1fr; max-width: 520px; }
}

/* Riga avviso ferie/chiusura nel footer (sotto gli orari).
   white-space: pre-line → rispetta gli a-capo inseriti nel testo admin. */
/* Avviso ferie/chiusura nel footer: contenuto rich (HTML) dall'editor Orari.
   Colore ereditato dal footer (come gli altri testi: --espresso su chiaro),
   margini interni sobri. */
.poster-footer .footer-chiusura { margin-top: 8px; }
.poster-footer .footer-chiusura p { margin: 0; }
.poster-footer .footer-chiusura ul,
.poster-footer .footer-chiusura ol { margin: 4px 0; padding-left: 1.2em; }
