/* ==========================================================================
   tokens-base.css (sforna-siti engineering baseline) + Direction A: Fumetto
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 150ms;
  --dur-ui: 220ms;
  --dur-drawer: 320ms;
  --nav-h: 82px;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);

  /* Typography tokens */
  --font-display: 'Caprasimo', Georgia, serif;
  --font-body: 'Onest', system-ui, -apple-system, sans-serif;

  /* Brand palette sampled from img/marks/ (see DESIGN.md ## Colour) */
  --latte: oklch(0.985 0.010 100);
  --carta: oklch(0.948 0.020 96);
  --inchiostro: oklch(0.160 0.014 278);
  --inchiostro-soft: oklch(0.375 0.016 268);
  --girasole: oklch(0.890 0.165 96);
  --muso: oklch(0.840 0.088 352);
  --persiana: oklch(0.275 0.044 248);
  --persiana-deep: oklch(0.215 0.038 250);
  --nastro: oklch(0.415 0.145 26);

  /* Print tokens (tinted toward brand hue, zero raw #fff/#000 outside tokens) */
  --print-bg: oklch(0.992 0.004 100);
  --print-ink: oklch(0.160 0.014 278);

  /* Semantic aliases */
  --ground: var(--latte);
  --ink: var(--inchiostro);
  --accent: var(--girasole);

  /* Comic-panel structural grammar (Direction A — Fumetto) */
  --stroke: 3px solid var(--inchiostro);
  --stroke-sm: 2px solid var(--inchiostro);
  --shadow: 5px 5px 0 var(--inchiostro);
  --shadow-lg: 7px 7px 0 var(--inchiostro);
  --shadow-sm: 3px 3px 0 var(--inchiostro);
  --r-panel: 18px;
  --r-card: 14px;
  --r-pill: 999px;

  --max-w: 1360px;
  --gutter: clamp(0.9rem, 3vw, 2.5rem);
  --sp: clamp(3rem, 5.2vw, 5rem);
}

/* Self-hosted webfonts (70 KB total, 3 weights) */
@font-face {
  font-family: 'Caprasimo';
  src: url('../fonts/caprasimo-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: clip;
  font-synthesis: none;
  font-optical-sizing: auto;
  background: var(--latte);
  color: var(--inchiostro);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  text-wrap: balance;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  overflow-wrap: break-word;
}
p, li, dd, blockquote { text-wrap: pretty; margin: 0; }
.tabular { font-variant-numeric: tabular-nums; }
main, section, article, aside, header, footer, figure { min-width: 0; }
figure { margin: 0; }
[id] { scroll-margin-top: var(--nav-h); }

a, button, summary, input, textarea, select, label {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button, summary, .btn { user-select: none; -webkit-user-select: none; }
input, textarea, select { font-size: max(16px, 1em); font-family: inherit; }
img, svg, video { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
}

/* Skip link: first Tab stop */
.skip {
  position: fixed;
  top: -100%;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--inchiostro);
  color: var(--latte);
  border: 2px solid var(--girasole);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

:focus-visible {
  outline: 3px solid var(--nastro);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-left: max(var(--gutter), var(--safe-l));
  padding-right: max(var(--gutter), var(--safe-r));
}

/* ==========================================================================
   Buttons, Links & Comic Hover / Press Grammar
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.78rem 1.4rem;
  border: var(--stroke);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--latte);
  color: var(--inchiostro);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn-yellow { background: var(--girasole); }
.btn-pink { background: var(--muso); }
.btn-ink { background: var(--inchiostro); color: var(--latte); }

.motion .btn,
.motion .nav-link,
.motion .nav-cta,
.motion .mark-lockup,
.motion .tab-btn,
.motion .menu-card,
.motion .chip-radio span,
.motion .faq-item summary,
.motion .footer-link,
.motion .day-card,
.motion .mini-panel {
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.motion .btn:active:not(:disabled),
.motion .tab-btn:active:not(:disabled),
.motion .menu-card:active:not(:disabled) {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--inchiostro);
  transition-duration: 100ms;
}

.u-line {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
  border-radius: 6px;
  padding: 0.14rem 0.35rem;
  margin-inline: -0.35rem;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out), text-decoration-thickness 160ms var(--ease-out);
}
.tap-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 0.25rem;
  text-decoration: none;
  font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--inchiostro);
    background: var(--muso);
  }
  .btn-yellow:hover {
    background: var(--latte);
  }
  .band-dusk .btn-yellow:hover {
    background: var(--latte);
    box-shadow: 8px 8px 0 var(--girasole);
  }
  .hero-link:hover .u-line,
  .tap-link:hover .u-line,
  .u-line:hover {
    background: var(--latte);
    text-decoration-thickness: 3px;
    transform: translateY(-1px);
  }
  .band-milk .tap-link:hover .u-line,
  .band-paper .tap-link:hover .u-line {
    background: var(--girasole);
  }
  .footer-link {
    border-radius: 6px;
    padding-inline: 0.35rem;
    margin-inline: -0.35rem;
  }
  .footer-link:hover {
    background: var(--girasole);
    color: var(--inchiostro);
    text-decoration-thickness: 2px;
    transform: translateX(3px);
  }
  .day-card:hover,
  .mini-panel:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow);
  }
  .mark-lockup { transform-origin: 18% 78%; }
  .mark-lockup:hover { transform: translateY(-1px) rotate(-1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .mark-lockup:hover, .footer-link:hover, .day-card:hover, .mini-panel:hover {
    transform: none !important;
  }
}

/* ==========================================================================
   Header / Floating Squircle-Pill Auto-Hiding Masthead
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: clamp(0.6rem, 1.2vw, 0.95rem);
  padding-bottom: 0.25rem;
  background: transparent;
  pointer-events: none;
  transition: transform 300ms var(--ease-out), opacity 220ms var(--ease-out);
  will-change: transform;
}
.site-header.is-hidden:not(.is-open):not(:focus-within) {
  transform: translateY(calc(-100% - 1.25rem));
  opacity: 0;
}
.masthead {
  pointer-events: auto;
  max-width: min(1060px, 100%);
  margin-inline: auto;
  background: color-mix(in oklch, var(--latte) 96%, transparent);
  backdrop-filter: blur(10px);
  border: var(--stroke);
  border-radius: 28px;
  corner-shape: squircle;
  padding: 0.42rem 0.55rem 0.42rem clamp(1rem, 2vw, 1.45rem);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 4px 0 var(--inchiostro);
  transition: box-shadow 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.site-header.is-scrolled .masthead {
  background: color-mix(in oklch, var(--latte) 94%, transparent);
  box-shadow: 0 6px 0 var(--inchiostro);
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.mark-lockup {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  text-decoration: none;
  color: var(--inchiostro);
  min-height: 44px;
  padding: 0.15rem 0.45rem;
  margin-left: -0.45rem;
  border-radius: 14px;
  margin-right: auto;
}
.mark-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.28rem, 2.05vw, 1.62rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.mark-sub {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--inchiostro-soft);
  line-height: 1.15;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.44rem 0.85rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover,
  .nav-link[aria-current="true"] {
    background: var(--carta);
    border-color: var(--inchiostro);
    transform: translateY(-1px);
  }
}
.nav-link[aria-current="true"] {
  background: var(--carta);
  border-color: var(--inchiostro);
}
.nav-cta {
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--inchiostro);
  box-shadow: none;
  background: var(--girasole);
  color: var(--inchiostro);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover {
    background: var(--muso);
    transform: translateY(-1px);
  }
}
.menu-toggle {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 1.05rem;
  border: 2.5px solid var(--inchiostro);
  border-radius: var(--r-pill);
  box-shadow: none;
  background: var(--girasole);
  color: var(--inchiostro);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--girasole);
  padding: max(1.25rem, env(safe-area-inset-top, 1.25rem)) var(--gutter) 2rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 100dvh;
}
.site-header.is-open .mobile-drawer {
  display: flex;
  pointer-events: auto; /* the header is pointer-events: none so the page stays clickable around the pill; the open drawer must take taps */
  overscroll-behavior: contain;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: var(--stroke);
}
.drawer-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: var(--stroke);
  border-radius: 10px;
  background: var(--latte);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.drawer-links a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 7vw, 2.25rem);
  line-height: 1.1;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  background: var(--latte);
  border: var(--stroke);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.drawer-foot {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ==========================================================================
   Section 1 — Hero: Direction A (Fumetto)
   ========================================================================== */
.hero {
  padding-top: 0.45rem;
  padding-bottom: clamp(2.2rem, 4vw, 3.6rem);
}
.comic-page {
  display: grid;
  gap: 0.9rem;
}
.top-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: 0.9rem;
  align-items: stretch;
}
.panel-hero {
  background: var(--girasole);
  border: var(--stroke);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 2.5vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}
.panel-hero h1 {
  font-size: clamp(2.2rem, 3.9vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero-lead {
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  font-weight: 700;
  line-height: 1.44;
  max-width: 34ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.3rem;
  margin-top: 0.25rem;
}
.hero-link {
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.panel-product {
  border: var(--stroke);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--latte);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 350px;
  max-height: 440px;
}
.product-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.product-media picture,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 48%;
}
.panel-caption-bar {
  border-top: var(--stroke);
  background: var(--muso);
  padding: 0.52rem 1.05rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.bottom-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.59fr) minmax(0, 0.59fr);
  gap: 0.9rem;
}
.panel-facts {
  background: var(--latte);
  border: var(--stroke);
  border-radius: 16px;
  padding: 0.9rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.fact-cell { min-width: 0; }
.fact-cell + .fact-cell {
  border-left: 2px solid color-mix(in oklch, var(--inchiostro) 16%, transparent);
  padding-left: 0.85rem;
}
.fact-cell span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--inchiostro-soft);
  margin-bottom: 0.14rem;
}
.fact-cell strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
}
.mini-panel {
  border: var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  background: var(--latte);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 160px;
}
.mini-panel picture,
.mini-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mini-panel figcaption {
  border-top: 2.5px solid var(--inchiostro);
  background: var(--carta);
  padding: 0.34rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
}

@keyframes comic-snap {
  from { opacity: 0.94; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.motion .panel-hero {
  animation: comic-snap 360ms var(--ease-out) backwards;
}
.motion .bottom-strip {
  animation: comic-snap 360ms var(--ease-out) 90ms backwards;
}

/* ==========================================================================
   Shared Section Typography & One-Time Reveals (JS-scoped hidden state)
   ========================================================================== */
.band {
  padding-block: var(--sp);
  border-top: var(--stroke);
}
.band-paper { background: var(--carta); }
.band-milk { background: var(--latte); }
.band-pink { background: var(--muso); }
.band-dusk {
  background: var(--persiana);
  color: var(--latte);
}
.sec-h2 {
  font-size: clamp(1.9rem, 3.1vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
}
.sec-lead {
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--inchiostro-soft);
  max-width: 50ch;
}
.band-dusk .sec-lead { color: color-mix(in oklch, var(--latte) 84%, transparent); }

/* Scoped strictly under .js.motion so without JS everything is visible */
html.js.motion .io {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
}
html.js.motion .io.is-in { opacity: 1; transform: none; }
html.js.motion .io.is-now { transition: none; }

/* ==========================================================================
   Section 2 — #banco (Interactive Counter Board + Vignetta Ordine)
   ========================================================================== */
.banco-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  gap: clamp(1.5rem, 3.2vw, 3rem);
  align-items: start;
}
.banco-side {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tab-btn {
  min-height: 46px;
  padding: 0.6rem 1.15rem;
  border: var(--stroke);
  border-radius: 12px;
  background: var(--latte);
  color: var(--inchiostro);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.1;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.tab-btn.is-active {
  background: var(--girasole);
  box-shadow: var(--shadow);
}
@media (hover: hover) and (pointer: fine) {
  .tab-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--inchiostro);
    background: var(--muso);
  }
  .tab-btn.is-active:hover {
    background: var(--girasole);
    box-shadow: 7px 7px 0 var(--inchiostro);
  }
}

.tray-box {
  background: var(--muso);
  border: var(--stroke);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tray-box[hidden] { display: none; }
.tray-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.tray-clear {
  background: var(--latte);
  border: var(--stroke-sm);
  border-radius: 8px;
  padding: 0.25rem 0.65rem;
  min-height: 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
}
.tray-list {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}
.banco-note {
  font-size: 0.92rem;
  color: var(--inchiostro-soft);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.menu-list[hidden] { display: none; }
.menu-card {
  text-align: left;
  width: 100%;
  background: var(--latte);
  border: var(--stroke);
  border-radius: var(--r-card);
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
  cursor: pointer;
  color: var(--inchiostro);
}
.menu-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}
.menu-card h3 {
  font-size: 1.18rem;
  line-height: 1.15;
}
.menu-tag {
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 0.16rem 0.52rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--inchiostro);
  background: var(--carta);
}
.menu-desc {
  font-size: 0.92rem;
  line-height: 1.42;
  color: var(--inchiostro-soft);
}
.menu-card.is-picked {
  background: var(--girasole);
  box-shadow: var(--shadow);
}
.menu-card.is-picked .menu-tag {
  background: var(--inchiostro);
  color: var(--latte);
}
.menu-card.is-picked .menu-desc { color: var(--inchiostro); }
.menu-extra {
  background: var(--muso);
  border: var(--stroke);
  border-radius: var(--r-card);
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}
.menu-extra h3 { font-size: 1.12rem; }
.menu-extra p { font-size: 0.9rem; line-height: 1.42; }
@media (hover: hover) and (pointer: fine) {
  .menu-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--inchiostro);
    background: var(--girasole);
  }
}

/* ==========================================================================
   Section 3 — #giornata (Four-Moment Asymmetric Comic Photo Strip)
   ========================================================================== */
.strip-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.3rem);
}
.day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.day-card {
  border: var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  background: var(--carta);
  display: flex;
  flex-direction: column;
}
.day-card.is-accent { background: var(--girasole); }
.day-media {
  aspect-ratio: 4 / 3;
  border-bottom: var(--stroke);
  overflow: hidden;
}
.day-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.day-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.day-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--inchiostro-soft);
}
.day-card.is-accent .day-time { color: var(--inchiostro); }
.day-body h3 { font-size: 1.24rem; line-height: 1.14; }
.day-body p { font-size: 0.92rem; line-height: 1.45; }

/* ==========================================================================
   Section 4 — #feste (Florentine Twilight Split Band)
   ========================================================================== */
.feste-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.6vw, 3.5rem);
  align-items: center;
}
.feste-photo {
  border: 3px solid var(--girasole);
  border-radius: var(--r-panel);
  box-shadow: 7px 7px 0 var(--girasole);
  overflow: hidden;
  background: var(--persiana-deep);
}
.feste-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feste-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.feste-quote {
  background: var(--persiana-deep);
  border: 2.5px solid var(--girasole);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.feste-quote p {
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--latte);
}
.feste-quote footer {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--girasole);
}
.feste-actions { margin-top: 0.35rem; }
.band-dusk .btn-yellow {
  border-color: var(--inchiostro);
  box-shadow: 5px 5px 0 var(--inchiostro);
}

/* ==========================================================================
   Section 5 — #voci (Cow-Muzzle Pink Verbatim Reviews Band, 2 Strong Quotes)
   ========================================================================== */
.voci-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem 2rem;
  margin-bottom: clamp(1.4rem, 2.8vw, 2.2rem);
}
.rating-line {
  font-size: 0.98rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.voci-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.15rem;
  align-items: stretch;
}
.voce-card {
  background: var(--latte);
  border: var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.voce-card blockquote {
  font-size: 1.02rem;
  line-height: 1.55;
}
.voce-meta {
  border-top: 2px solid color-mix(in oklch, var(--inchiostro) 14%, transparent);
  padding-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.88rem;
}
.voce-meta strong { font-weight: 700; }
.voce-meta span { color: var(--inchiostro-soft); }

/* ==========================================================================
   Section 6 — #orari (Practical Visit Info + Native FAQ)
   ========================================================================== */
.orari-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3.4vw, 3rem);
  align-items: start;
}
.visit-card {
  background: var(--girasole);
  border: var(--stroke);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.hours-dl {
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid color-mix(in oklch, var(--inchiostro) 18%, transparent);
}
.hours-row dt { font-weight: 700; font-size: 0.94rem; }
.hours-row dd { font-weight: 700; font-size: 0.96rem; text-align: right; }
.visit-note { font-size: 0.94rem; line-height: 1.5; }
.visit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  align-items: center;
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--carta);
  border: var(--stroke);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 1rem 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary {
  background: var(--muso);
  border-bottom: 2px solid var(--inchiostro);
}
.faq-answer {
  padding: 0.95rem 1.2rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  background: var(--latte);
}
.faq-fallback {
  border: 2.5px dashed var(--inchiostro);
  border-radius: 14px;
  padding: 0.7rem 1.15rem;
  font-size: 0.94rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   Section 7 — #scrivici (Free-Writing WhatsApp Comic Pad + Photo Companion)
   ========================================================================== */
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(1.5rem, 3.2vw, 3rem);
  align-items: stretch;
}
.order-form {
  background: var(--latte);
  border: var(--stroke);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: clamp(1.3rem, 2.6vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}
.field label,
.field legend {
  font-weight: 700;
  font-size: 0.94rem;
}
.field fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.field textarea,
.field input[type="text"] {
  width: 100%;
  border: 2.5px solid var(--inchiostro);
  border-radius: 12px;
  background: var(--latte);
  color: var(--inchiostro);
  padding: 0.8rem 0.95rem;
  line-height: 1.5;
}
.field textarea { min-height: 112px; resize: vertical; }
.field-err {
  color: var(--nastro);
  font-weight: 700;
  font-size: 0.88rem;
}
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
}
.chip-radio {
  position: relative;
  cursor: pointer;
}
.chip-radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip-radio span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--inchiostro);
  border-radius: 10px;
  background: var(--carta);
  font-size: 0.9rem;
  font-weight: 700;
}
.chip-radio input:checked + span {
  background: var(--girasole);
  box-shadow: var(--shadow-sm);
}
.chip-radio input:focus-visible + span {
  outline: 3px solid var(--nastro);
  outline-offset: 2px;
}
.form-status {
  font-size: 0.94rem;
  font-weight: 700;
  min-height: 1.4em;
}

.order-aside {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
}
.preview-card {
  background: var(--muso);
  border: var(--stroke);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 2.2vw, 1.65rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.preview-card h3 { font-size: 1.36rem; }
.preview-box {
  margin: 0;
  background: var(--latte);
  border: var(--stroke-sm);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.93rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 112px;
}
.preview-direct {
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.order-photo {
  border: var(--stroke);
  border-radius: var(--r-panel);
  overflow: hidden;
  background: var(--latte);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 220px;
}
.order-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-photo figcaption {
  border-top: var(--stroke);
  background: var(--girasole);
  padding: 0.5rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
}

/* ==========================================================================
   Footer — Authored Dark Twilight Signplate (Zero Dead Half)
   ========================================================================== */
.site-footer {
  background: var(--persiana);
  color: var(--latte);
  border-top: var(--stroke);
  padding-top: clamp(2.8rem, 4.8vw, 4.2rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.8rem);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1;
  color: var(--latte);
}
.footer-sub {
  color: var(--girasole);
  font-weight: 700;
  font-size: 0.96rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}
.footer-col h3 {
  font-size: 1.2rem;
  color: var(--girasole);
  margin-bottom: 0.2rem;
}
.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  align-self: flex-start;
  text-decoration: underline;
  text-underline-offset: 0.24em;
  font-weight: 700;
}
.footer-cta-card {
  background: var(--girasole);
  color: var(--inchiostro);
  border: var(--stroke);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--inchiostro);
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-cta-card h3 {
  font-size: 1.32rem;
  color: var(--inchiostro);
}
.footer-cta-card p { font-size: 0.92rem; font-weight: 700; line-height: 1.45; }

.footer-bottom {
  margin-top: clamp(2rem, 3.5vw, 2.8rem);
  padding-top: 1.15rem;
  border-top: 2px solid color-mix(in oklch, var(--latte) 20%, transparent);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.86rem;
  color: color-mix(in oklch, var(--latte) 82%, transparent);
}

/* ==========================================================================
   Phone Sticky Action Bar (.mbar)
   ========================================================================== */
.mbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--latte);
  border-top: var(--stroke);
  padding: 10px max(12px, var(--safe-r)) max(10px, env(safe-area-inset-bottom, 10px)) max(12px, var(--safe-l));
  gap: 0.65rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  transform: translateY(110%);
  transition: transform 240ms var(--ease-out);
}
.mbar.is-on { transform: translateY(0); }
.mbar a {
  min-height: 46px;
  border: 2.5px solid var(--inchiostro);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.mbar-info { background: var(--carta); }
.mbar-wa { background: var(--girasole); box-shadow: 3px 3px 0 var(--inchiostro); }

/* ==========================================================================
   Responsive Breakpoints (1024, 860, 600, 390, 320)
   ========================================================================== */
@media (max-width: 1120px) {
  .day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-cta-card { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .banco-grid,
  .feste-grid,
  .voci-grid,
  .orari-grid,
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .banco-side { position: static; }
}
@media (max-width: 860px) {
  :root { --sp: 3rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { padding-top: 0.45rem; }
  .masthead { padding: 0.36rem 0.48rem 0.36rem 0.9rem; border-radius: 22px; corner-shape: squircle; box-shadow: 0 3px 0 var(--inchiostro); }
  .mark-name { font-size: 1.18rem; }
  .mark-sub { font-size: 0.76rem; }
  .hero { padding-top: 0.35rem; padding-bottom: 2rem; }
  .comic-page { gap: 0.7rem; }
  .top-strip { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
  .panel-hero { padding: 1.05rem; gap: 0.72rem; border-radius: 16px; box-shadow: 4px 4px 0 var(--inchiostro); }
  .panel-hero h1 { font-size: clamp(1.92rem, 8.2vw, 2.45rem); }
  .hero-lead { font-size: 0.96rem; }
  .hero-actions { gap: 0.65rem 1.1rem; margin-top: 0.1rem; }
  .panel-product { min-height: 0; max-height: none; border-radius: 16px; box-shadow: 4px 4px 0 var(--inchiostro); }
  .product-media { aspect-ratio: 16 / 10; }
  .panel-caption-bar { padding: 0.45rem 0.85rem; font-size: 0.84rem; }
  .bottom-strip { grid-template-columns: minmax(0, 1fr); gap: 0.7rem; }
  .panel-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.75rem 0.9rem; gap: 0.7rem; }
  .fact-cell:nth-child(3) { display: none; }
  .mini-panel { display: none; }
  .menu-list { grid-template-columns: minmax(0, 1fr); }
  .day-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .mbar { display: grid; }
  body { padding-bottom: 68px; }
}

/* ==========================================================================
   Small comic motions (find-animation-opportunities pass, 2026-11-24)
   Only where the visitor acts or something would otherwise teleport. All under
   .motion, so reduced motion and no-JS get the same end states instantly.
   ========================================================================== */
@keyframes comic-pop {
  0% { transform: scale(0.94); }
  60% { transform: scale(1.05); }
  100% { transform: none; }
}
@keyframes comic-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes comic-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

/* 1. Picking a dish: the tag says what a tap does (+) and stamps a check when it is on the sheet */
.menu-card .menu-tag::before { content: '+\00a0'; content: '+\00a0' / ''; }
.menu-card.is-picked .menu-tag::before { content: '\2713\00a0'; content: '\2713\00a0' / ''; }
.motion .menu-card.is-picked .menu-tag { animation: comic-pop 260ms var(--ease-out); }

/* 2. The order tray arrives instead of popping into the layout */
.motion .tray-box:not([hidden]) { animation: comic-drop 240ms var(--ease-out); }
[data-tray-count] { display: inline-block; transform-origin: left center; }

/* 3. Schiacciate / Pinse: switching tab deals the cards in, quick and uneven */
.motion .menu-list:not([hidden]) > * { animation: comic-rise 260ms var(--ease-out) backwards; }
.motion .menu-list > :nth-child(2) { animation-delay: 30ms; }
.motion .menu-list > :nth-child(3) { animation-delay: 55ms; }
.motion .menu-list > :nth-child(4) { animation-delay: 75ms; }
.motion .menu-list > :nth-child(5) { animation-delay: 95ms; }
.motion .menu-list > :nth-child(6) { animation-delay: 110ms; }
.motion .menu-list > :nth-child(7) { animation-delay: 125ms; }
.motion .menu-list > :nth-child(8) { animation-delay: 138ms; }
.motion .menu-list > :nth-child(n+9) { animation-delay: 150ms; }

/* 4. Phone menu: the yellow sheet drops from the masthead, its links follow */
.motion .site-header.is-open .mobile-drawer { animation: comic-drop var(--dur-drawer) var(--ease-drawer); }
.motion .site-header.is-open .drawer-links a { animation: comic-rise 280ms var(--ease-out) backwards; }
.motion .site-header.is-open .drawer-links a:nth-child(1) { animation-delay: 60ms; }
.motion .site-header.is-open .drawer-links a:nth-child(2) { animation-delay: 95ms; }
.motion .site-header.is-open .drawer-links a:nth-child(3) { animation-delay: 125ms; }
.motion .site-header.is-open .drawer-links a:nth-child(4) { animation-delay: 150ms; }
.motion .site-header.is-open .drawer-links a:nth-child(5) { animation-delay: 170ms; }

/* 5. Questions: the answer unfolds instead of snapping open */
.motion .faq-item[open] .faq-answer { animation: comic-rise 220ms var(--ease-out); }

/* 6. The message is ready: the status line stamps in once (Web Animations in js/site.js) */
.form-status { transform-origin: left center; }

@media print {
  .site-header, .mbar, .mobile-drawer, .tray-box { display: none !important; }
  *, *::before, *::after {
    background: var(--print-bg) !important;
    color: var(--print-ink) !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
