/* VERSIONE A · NOTTE + CREMA
   Layout: apertura notturna cinematografica → pagine crema da diner, titoli rossi, fasce a scacchi tra le piste. */
:root {
  color-scheme: light;
  --red: #A8231F; --cream: #F2E9DC; --black: #18120F; --gold: #C8851A; --sand: #CEAA85;
  --f-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 66px; --r-card: 18px;

  --page: #F2E9DC; --bg: #F2E9DC;
  --ink: #18120F; --ink-soft: #54453A; --ink-faint: #8B7867;
  --title: #A8231F; --accent: #A8231F; --on-accent: #F2E9DC; --hl: #A8231F;
  --gold-ink: #94600F; --gold-line: rgba(148,96,15,.4);
  --line: rgba(24,18,15,.14); --line-strong: rgba(24,18,15,.28); --focus: #C8851A;
  --glass: rgba(24,18,15,.35);
  --card: #FBF7F0; --card-line: rgba(24,18,15,.12); --card-line-h: rgba(168,35,31,.45); --card-title: #18120F;
  --card-shadow: 0 1px 0 rgba(24,18,15,.06), 0 18px 40px -26px rgba(24,18,15,.45);
  --price: #A8231F;
  --tag-bg: #18120F; --tag-ink: #F2E9DC; --tag-shadow: #A8231F;
  --badge-bg: #A8231F; --badge-ink: #F2E9DC;
  --ph-bg: #E9DCC8; --ph-ink: #8A6E55; --ph-code: rgba(255,255,255,.55);
  --ph-pattern: url("assets/brand/dp-pattern-crema.png");
  --add-bg: #18120F; --add-ink: #F2E9DC; --add-bg-h: #A8231F;
  --sticker-shadow: drop-shadow(0 14px 18px rgba(24,18,15,.28));
  --nav-bg: rgba(242,233,220,.9); --nav-ink: #18120F; --nav-line: rgba(24,18,15,.12);
  --track: repeating-linear-gradient(90deg, #DCC6A4 0 22px, #D2BA94 22px 23px, #E3D0B1 23px 45px, #D2BA94 45px 46px);
  --chip-on-bg: #A8231F; --chip-on-ink: #F2E9DC; --chip-on-shadow: 0 6px 16px -6px rgba(168,35,31,.7);
  --pin: #FFFDF8;
  --cta-bg: #A8231F; --cta-ink: #F2E9DC; --cta-shadow: 0 14px 30px -10px rgba(168,35,31,.8);
  --hero-em: #F2E9DC;
  --hero-shade: linear-gradient(180deg, rgba(14,10,8,.82) 0%, rgba(14,10,8,.2) 38%, rgba(14,10,8,.45) 62%, rgba(24,18,15,.97) 100%);
  --info-tile: #A8231F; --pair-bg: rgba(206,170,133,.3);
  --tile: #211915; --tile-lanes: repeating-linear-gradient(90deg, transparent 0 18px, rgba(206,170,133,.07) 18px 19px);
  --sum-bg: #18120F; --sum-ink: #F2E9DC; --sum-faint: #CEAA85; --sum-line: rgba(242,233,220,.18);
  --sweet-bg: #A8231F; --sweet-ink: #F2E9DC; --sweet-border: 2px solid #18120F; --sweet-shadow: 6px 6px 0 #18120F;
  --sweet-firma-bg: #C8851A; --sweet-firma-ink: #18120F;
  --tray-bg: #18120F; --tray-ink: #F2E9DC; --tray-count-bg: #A8231F; --tray-count-ink: #F2E9DC;
  --sheet-bg: #F2E9DC; --sheet-ink: #18120F; --sheet-title: #A8231F; --sheet-faint: #6B5A4C; --sheet-line: rgba(24,18,15,.16);
  --toast-bg: #18120F; --toast-ink: #F2E9DC;
}
/* le fasce notturne: apertura, indice piste, chiusura */
.band-dark {
  --bg: #18120F; --ink: #F2E9DC; --ink-soft: #D9C4AA; --ink-faint: #A08A74;
  --title: #F2E9DC; --gold-ink: #C8851A; --line: rgba(242,233,220,.12); --line-strong: rgba(242,233,220,.28);
}
body {
  background-color: var(--page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .06 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sez { background: transparent; }
.sez:nth-of-type(even) { background: rgba(206,170,133,.16); }
/* fascia a scacchi da diner tra una pista e l'altra */
.sez + .sez::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: conic-gradient(#A8231F 25%, #F2E9DC 0 50%, #A8231F 0 75%, #F2E9DC 0) 0 0 / 24px 24px;
}
.hero-title em { background: linear-gradient(transparent 78%, #A8231F 78% 92%, transparent 92%); }
.hero-logo { filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.piste { position: relative; padding-bottom: 76px; }
.piste::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: conic-gradient(#A8231F 25%, #F2E9DC 0 50%, #A8231F 0 75%, #F2E9DC 0) 0 0 / 24px 24px;
}
.pista--info .pista-n { color: #F2E9DC; opacity: .8; }
.pista-name { color: #F2E9DC; }
/* card da menù di carta: doppio filetto */
.card::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(168,35,31,.18); border-radius: 13px; pointer-events: none; }
.card h3 { color: #18120F; }
.row h3 { color: #18120F; }
.row .price { font-size: 1.45rem; }
.items--lista .row:hover h3 { color: #A8231F; }
.foot-sign { color: #C8851A; }
/* dolci: badge e parole chiave leggibili sulle card rosse */
.sweet .badge { background: #F2E9DC; color: #A8231F; }
.sweet--firma .badge { background: #A8231F; color: #F2E9DC; }
.sweet .desc b { color: #F2E9DC; text-decoration: underline; text-decoration-color: rgba(242,233,220,.45); text-underline-offset: 3px; }
.sweet--firma .desc b { color: #A8231F; text-decoration: none; }
