/* MINIMARKET Milano — demo Voost Vision. Verde profondo, rosso neon, carta crema. */
:root {
  --green: #0b2a20;
  --green-2: #103628;
  --green-3: #17452f;
  --black: #0a0d0c;
  --cream: #f2e9d6;
  --cream-2: #e6dbc3;
  --paper: #f5eedf;
  --ink: #131f1a;
  --red: #ff3b2f;
  --red-deep: #d3261c;
  --muted: rgba(242, 233, 214, .62);
  --line: rgba(242, 233, 214, .16);
  --line-dark: rgba(19, 31, 26, .14);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--green); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.55; font-variation-settings: "wdth" 100; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .15em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.01em; line-height: 1; text-transform: uppercase; font-variation-settings: "wdth" 115; }
h1 { font-size: clamp(2.6rem, 8vw, 7.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.ph { border-bottom: 1px dashed currentColor; opacity: .8; }
.tag { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; padding: 4px 9px; border-radius: 999px; line-height: 1; }
.tag-red { color: var(--red); }
.tag-demo { color: var(--muted); border-style: dashed; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 60ch; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.cn { font-weight: 400; font-variation-settings: "wdth" 100; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 1rem; line-height: 1; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: var(--red-deep); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: rgba(242, 233, 214, .08); color: var(--cream); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 42, 32, .92); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--cream); font-weight: 900; font-size: 1.25rem; letter-spacing: -.01em; font-variation-settings: "wdth" 118; white-space: nowrap; }
.brand-cn { font-family: var(--sans); font-weight: 400; font-size: .85em; color: var(--red); font-variation-settings: "wdth" 100; }
.brand:hover { color: var(--cream); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a:not(.btn) { padding: 8px 12px; text-decoration: none; font-size: .95rem; font-weight: 600; border-radius: 8px; opacity: .85; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { opacity: 1; background: rgba(242, 233, 214, .08); color: var(--cream); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 8px 8px 0 0; }
.nav-hours { display: none; color: var(--muted); margin-inline: 8px; }
.nav .btn { padding: 11px 16px; font-size: .9rem; margin-left: 10px; }
.hdr-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: .75rem; }
.lang a { padding: 6px 8px; text-decoration: none; opacity: .6; border-radius: 6px; }
.lang a[aria-current="true"] { opacity: 1; background: rgba(242, 233, 214, .1); }
.nav-toggle { display: none; background: transparent; color: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 16px; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }

/* Sections */
section { padding-block: clamp(56px, 8vw, 120px); }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-paper .muted { color: rgba(19, 31, 26, .62); }
.sec-paper .btn-ghost { color: var(--ink); border-color: var(--line-dark); }
.sec-paper .btn-ghost:hover { background: rgba(19, 31, 26, .06); color: var(--ink); }
.sec-black { background: var(--black); }
.sec-green2 { background: var(--green-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head p { margin: 0; }
.sec-head .lead { max-width: 48ch; }

/* Hero — testo su verde pieno a sinistra, foto con il punto di fuoco a destra */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%); min-height: min(86vh, 860px); align-items: center; padding: 0; overflow: hidden; background: var(--green); isolation: isolate; }
.hero .wrap { grid-column: 1; grid-row: 1; width: auto; max-width: 760px; margin: 0; padding: clamp(48px, 7vw, 104px) clamp(24px, 3vw, 48px) clamp(48px, 7vw, 104px) var(--gutter); display: grid; gap: 22px; z-index: 2; }
.hero h1 { max-width: 12ch; font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.hero h1 .red { color: var(--red); text-shadow: 0 0 22px rgba(255, 59, 47, .35); }
.hero .lead { max-width: 50ch; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-2); }
.hero-meta span::before { content: "■ "; color: var(--red); }
.hero .media { position: relative; grid-column: 2; grid-row: 1; align-self: stretch; min-height: 520px; overflow: hidden; }
.hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%); }
.hero .media::after { content: ""; position: absolute; inset: -2px; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--green) 0%, var(--green) 3%, rgba(11, 42, 32, .62) 16%, rgba(11, 42, 32, 0) 44%), linear-gradient(180deg, rgba(11, 42, 32, .15) 0%, rgba(11, 42, 32, 0) 30%, rgba(11, 42, 32, .55) 100%); }
.hero-page { min-height: min(68vh, 680px); }
.hero-page h1 { max-width: 14ch; }
.hero-page .media { min-height: 440px; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--red); color: #fff; padding: 12px 0; font-family: var(--mono); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 40px; padding-left: 40px; animation: ticker 32s linear infinite; }
.marquee .track span::after { content: "✦"; margin-left: 40px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.sec-paper .marquee, .marquee.on-paper { background: var(--ink); color: var(--cream); }

/* Grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.card { position: relative; border-radius: 18px; overflow: hidden; background: var(--green-2); display: grid; }
.card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.card:hover img { transform: scale(1.03); }
.card .body { padding: 22px 22px 26px; display: grid; gap: 8px; align-content: start; }
.card .body h3 { font-size: 1.5rem; }
.card .body p { margin: 0; color: var(--muted); }
.card .num { font-family: var(--mono); font-size: .75rem; color: var(--red); letter-spacing: .1em; }
.card-photo { aspect-ratio: 4 / 5; }
.card-photo img { height: 100%; }
.card-photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(180deg, transparent, rgba(10, 13, 12, .85)); font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split figure { margin: 0; border-radius: 22px; overflow: hidden; }
.split figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split .copy { display: grid; gap: 18px; }
.split .copy h2 { max-width: 14ch; }
.split .copy p { margin: 0; }
.stack { display: grid; gap: 14px; }

/* Aperitivo formula block */
.formula { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: var(--ink); color: var(--cream); border-radius: 26px; padding: clamp(24px, 4vw, 56px); }
.formula .price { font-size: clamp(4rem, 10vw, 9rem); font-weight: 900; line-height: .9; letter-spacing: -.04em; color: var(--red); font-variation-settings: "wdth" 110; }
.formula .price small { display: block; font-size: .16em; letter-spacing: .1em; font-family: var(--mono); font-weight: 400; color: var(--cream); margin-top: 12px; text-transform: uppercase; }
.formula h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); }
.formula ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 22px; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.formula li::before { content: "■ "; color: var(--red); }

/* Reviews */
.stars { color: var(--red); letter-spacing: .1em; font-size: .9rem; }
.quote { display: grid; gap: 14px; padding: 26px; border-radius: 18px; background: rgba(242, 233, 214, .05); border: 1px solid var(--line); }
.sec-paper .quote { background: #fff; border-color: var(--line-dark); }
.quote p { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.quote cite { font-style: normal; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.score { display: grid; gap: 6px; align-content: start; }
.score .big { font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; line-height: .9; letter-spacing: -.04em; font-variation-settings: "wdth" 110; }
.score .big small { font-size: .3em; letter-spacing: 0; font-weight: 700; margin-left: 6px; }

/* Menu */
.menu-sec { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line-dark); }
.menu-sec:first-of-type { border-top: 0; }
.menu-sec .intro { display: grid; gap: 14px; align-content: start; position: sticky; top: 96px; }
.menu-sec .intro img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; }
.menu-sec .intro p { margin: 0; color: rgba(19, 31, 26, .66); }
.menu-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.menu-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 16px 0; border-bottom: 1px dashed var(--line-dark); align-items: baseline; }
.menu-list li strong { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 110; font-size: 1.05rem; letter-spacing: 0; }
.menu-list li span.desc { grid-column: 1; color: rgba(19, 31, 26, .66); font-size: .95rem; }
.menu-list li .p { font-family: var(--mono); font-size: .9rem; white-space: nowrap; }
.menu-list li .p.ph { border: 0; opacity: .55; }
.menu-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(19, 31, 26, .55); margin-top: 18px; }

/* Events */
.event { display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event:first-child { border-top: 1px solid var(--line); }
.event .date { font-family: var(--mono); line-height: 1.1; }
.event .date b { display: block; font-size: 2.4rem; font-family: var(--sans); font-weight: 900; letter-spacing: -.03em; font-variation-settings: "wdth" 110; }
.event .date span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.event h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); margin-bottom: 6px; }
.event p { margin: 0; color: var(--muted); }
.event .meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cream-2); text-align: right; display: grid; gap: 6px; justify-items: end; }
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.posters figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--green-2); }
.posters img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.posters figcaption { padding: 14px 16px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Private events form */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.form input, .form select, .form textarea { font: inherit; font-family: var(--sans); padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line-dark); background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-ok { display: none; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: var(--cream); }
.form.sent .form-ok { display: block; }

/* Gallery */
.gallery { columns: 3; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: var(--green-2); }
.gallery img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.02); opacity: .92; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 13, 12, .94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(100%, 1200px); max-height: 92vh; width: auto; height: auto; border-radius: 10px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(242, 233, 214, .12); color: var(--cream); border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 1.4rem; cursor: pointer; }
.lightbox .prev { left: 16px; right: auto; } .lightbox .next { right: 16px; }

/* Hours / contact */
.hours { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.hours li.closed { color: var(--muted); }
.hours li.today { color: var(--red); }
.sec-paper .hours, .sec-paper .hours li { border-color: var(--line-dark); }
.sec-paper .hours li.closed { color: rgba(19, 31, 26, .5); }
.map { border-radius: 18px; overflow: hidden; background: var(--green-2); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.info-grid h3 { font-size: 1rem; font-family: var(--mono); font-weight: 700; letter-spacing: .08em; color: var(--red); margin-bottom: 10px; font-variation-settings: "wdth" 100; }
.info-grid p { margin: 0 0 8px; }

/* Big CTA */
.cta-band { text-align: center; display: grid; gap: 22px; justify-items: center; }
.cta-band h2 { max-width: 18ch; font-size: clamp(2.2rem, 6vw, 5.5rem); }
.cta-band .cn { font-size: clamp(2rem, 5vw, 4rem); color: var(--red); }

/* Footer */
.site-footer { background: var(--black); color: var(--cream); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.foot-grid h3 { color: var(--red); font-size: .75rem; letter-spacing: .1em; margin-bottom: 10px; font-variation-settings: "wdth" 100; }
.foot-grid p { margin: 0 0 8px; }
.foot-brand strong { display: block; font-size: 1.6rem; font-weight: 900; font-variation-settings: "wdth" 118; letter-spacing: -.01em; }
.foot-brand .brand-cn { font-size: 1.3rem; }
.foot-brand .mono { color: var(--muted); margin-top: 8px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.foot-bottom a { text-decoration: none; }

/* Demo popup (isolated) */
.demo-popup { position: fixed; inset: 0; z-index: 200; background: rgba(10, 13, 12, .8); display: flex; align-items: center; justify-content: center; padding: 20px; }
.demo-popup .box { background: var(--paper); color: var(--ink); max-width: 520px; padding: 28px; border-radius: 18px; display: grid; gap: 12px; }
.demo-popup h2 { font-size: 1.6rem; }
.demo-popup p { margin: 0; font-size: .95rem; }
.demo-popup .tag { color: var(--red); justify-self: start; }
.demo-popup small { color: rgba(19, 31, 26, .55); font-family: var(--mono); font-size: .7rem; }
.demo-popup .row { margin-top: 6px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 58%) minmax(0, 42%); }
  .nav > a:not(.btn) { padding: 8px 9px; font-size: .9rem; }
  .nav .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .menu-sec { grid-template-columns: 1fr; }
  .menu-sec .intro { position: static; grid-template-columns: 120px 1fr; align-items: center; }
  .menu-sec .intro img { aspect-ratio: 1; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .formula { grid-template-columns: 1fr; }
  .formula ul { grid-template-columns: 1fr; }
  .event { grid-template-columns: 90px 1fr; }
  .event .meta { grid-column: 2; text-align: left; justify-items: start; }
  .posters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header .wrap { min-height: 64px; gap: 12px; }
  .nav-toggle { display: inline-block; }
  .nav { position: fixed; inset: 64px 0 0 0; background: var(--green); flex-direction: column; align-items: stretch; padding: 20px var(--gutter); gap: 4px; display: none; z-index: 60; overflow: auto; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { font-size: 1.5rem; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 110; }
  .nav > a[aria-current="page"] { background: none; box-shadow: none; color: var(--red); }
  .nav-hours { display: block; margin: 18px 0 6px; }
  .nav .btn { display: inline-flex; margin: 8px 0 0; justify-self: start; width: fit-content; }
  body.nav-open { overflow: hidden; }
  .grid-2, .grid-3, .grid-4, .info-grid, .posters { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero, .hero-page { grid-template-columns: 1fr; min-height: 0; }
  .hero .media { grid-column: 1; grid-row: 1; min-height: 0; height: 62vh; max-height: 560px; }
  .hero-page .media { height: 46vh; max-height: 420px; }
  .hero .media::after { background: linear-gradient(180deg, rgba(11, 42, 32, .05) 0%, rgba(11, 42, 32, 0) 38%, rgba(11, 42, 32, .85) 80%, var(--green) 96%, var(--green) 100%); }
  .hero .wrap { grid-column: 1; grid-row: 2; margin-top: -48px; padding-top: 0; padding-right: var(--gutter); max-width: none; }
  .card img { aspect-ratio: 4 / 3; }
  .event { grid-template-columns: 1fr; gap: 10px; }
  .event .meta { grid-column: 1; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery a { margin-bottom: 8px; border-radius: 8px; }
  .score .big { font-size: 4rem; }
}

/* Griglie senza stili inline (le media query devono vincere) */
.grid-reviews { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.info-grid.info-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .grid-reviews { grid-template-columns: 1fr 1fr; } .grid-reviews .score { grid-column: 1 / -1; } }
@media (max-width: 760px) { .grid-reviews, .info-grid.info-2 { grid-template-columns: 1fr; } }

/* Menu: la colonna intro non deve sbordare */
.menu-sec > * { min-width: 0; }
.menu-sec .intro img { width: 100%; }
.menu-sec .intro h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.split > * { min-width: 0; }

/* Liste menu su sfondo scuro */
.menu-list li { border-bottom-color: var(--line); }
.menu-list li span.desc { color: var(--muted); }
.sec-paper .menu-list li { border-bottom-color: var(--line-dark); }
.sec-paper .menu-list li span.desc { color: rgba(19, 31, 26, .66); }
.card, .card .body h3 { color: var(--cream); }
.card .body p { color: var(--muted); }

/* ===== Motion & polish =====
   Le animazioni partono sempre (demo): nessun gate su prefers-reduced-motion. Senza JS tutto resta visibile. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --t0: 0s; }
html.first { --t0: 1.35s; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }

/* Sipario al primo caricamento della sessione: pannello su html::before, testi su body::before/::after */
html.first::before { content: ""; position: fixed; inset: 0; z-index: 299; background: var(--green); pointer-events: none; animation: curtainOut .85s cubic-bezier(.76, 0, .24, 1) 1.15s forwards; }
.first body::before, .first body::after { position: fixed; left: 0; right: 0; z-index: 300; pointer-events: none; text-align: center; font-family: var(--sans); line-height: 1; }
.first body::before { content: "MINIMARKET"; top: 50%; transform: translateY(-50%); color: var(--cream); font-weight: 900; font-size: clamp(2.2rem, 7vw, 6rem); letter-spacing: -.02em; font-variation-settings: "wdth" 118; animation: brandIn .7s var(--ease-out) .05s both, textOut .5s ease-in 1.1s forwards; }
.first body::after { content: "市场"; top: calc(50% - 4.4em); font-size: clamp(1.6rem, 4vw, 3rem); color: var(--red); animation: brandIn .7s var(--ease-out) 0s both, textOut .5s ease-in 1.05s forwards; }
@keyframes textOut { to { opacity: 0; transform: translateY(-60%); visibility: hidden; } }
@keyframes brandIn { from { opacity: 0; transform: translateY(-40%); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes curtainOut { to { transform: translateY(-102%); visibility: hidden; } }

/* Hero: ingresso a cascata */
.js .hero .wrap > * { opacity: 0; animation: fadeUp .9s var(--ease-out) forwards; }
.js .hero .wrap > :nth-child(1) { animation-delay: calc(var(--t0) + .05s); }
.js .hero .wrap > :nth-child(2) { animation-delay: calc(var(--t0) + .15s); }
.js .hero .wrap > :nth-child(3) { animation-delay: calc(var(--t0) + .38s); }
.js .hero .wrap > :nth-child(4) { animation-delay: calc(var(--t0) + .5s); }
.js .hero .wrap > :nth-child(5) { animation-delay: calc(var(--t0) + .62s); }
.js .hero h1 { animation-name: clipUp; animation-duration: 1.1s; }
.js .hero h1 .red { animation: neon 2.4s ease-in-out calc(var(--t0) + .9s) 1; }
.js .hero .media img { opacity: 0; animation: heroImg 1.5s var(--ease-out) calc(var(--t0) + .05s) forwards, drift 28s ease-in-out calc(var(--t0) + 1.55s) infinite alternate; }
.js .hero .media::after { opacity: 0; animation: fadeIn 1.2s ease-out calc(var(--t0) + .1s) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes clipUp { from { opacity: 1; clip-path: inset(0 0 100% 0); transform: translateY(40px); } to { opacity: 1; clip-path: inset(-10% 0 -20% 0); transform: none; } }
@keyframes heroImg { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(-1.5%, -1%); } }
@keyframes neon { 0%, 100% { text-shadow: 0 0 22px rgba(255, 59, 47, .35); } 8% { text-shadow: 0 0 34px rgba(255, 59, 47, .9), 0 0 70px rgba(255, 59, 47, .5); } 12% { text-shadow: 0 0 12px rgba(255, 59, 47, .2); } 18% { text-shadow: 0 0 34px rgba(255, 59, 47, .85), 0 0 70px rgba(255, 59, 47, .45); } 40% { text-shadow: 0 0 22px rgba(255, 59, 47, .35); } }

/* Reveal allo scroll (JS aggiunge .in; fallback: tutto visibile dopo 2.5s) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal] > h2, .js [data-reveal] > div > h2 { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-out) calc(var(--d, 0s) + .1s); }
.js [data-reveal].in > h2, .js [data-reveal].in > div > h2 { clip-path: inset(-10% 0 -20% 0); }
.js img[loading="lazy"] { opacity: 0; transition: opacity .7s ease; }
.js img[loading="lazy"].ld { opacity: 1; }

/* Header: stato scroll + barra di avanzamento */
.site-header { transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(11, 42, 32, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); box-shadow: 0 0 10px rgba(255, 59, 47, .7); transition: width .1s linear; }
.nav > a:not(.btn) { position: relative; transition: opacity .2s, background .2s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav > a[aria-current="page"]::after { display: none; }
.brand-cn { transition: text-shadow .3s; }
.brand:hover .brand-cn { text-shadow: 0 0 14px rgba(255, 59, 47, .8); }

/* Bottoni, card, liste */
.btn { transition: transform .25s var(--ease-out), background .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 59, 47, .35); }
.btn-ghost:hover, .btn-dark:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.btn:active { transform: translateY(0) scale(.98); }
.card { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.posters figure { transition: transform .5s var(--ease-out); overflow: hidden; }
.posters figure img { transition: transform .8s var(--ease-out); }
.posters figure:hover { transform: translateY(-4px); }
.posters figure:hover img { transform: scale(1.04); }
.menu-list li { transition: padding-left .3s var(--ease-out); }
.menu-list li strong, .menu-list li .p { transition: color .25s; }
.menu-list li:hover { padding-left: 8px; }
.menu-list li:hover strong, .menu-list li:hover .p { color: var(--red); }
.event { transition: background .3s, padding-left .3s var(--ease-out); }
.event:hover { background: rgba(242, 233, 214, .04); padding-left: 10px; }
.quote { transition: transform .4s var(--ease-out), border-color .3s; }
.quote:hover { transform: translateY(-3px); border-color: rgba(255, 59, 47, .5); }
.marquee:hover .track { animation-play-state: paused; }
.hours li.today span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(255, 59, 47, .6); animation: pulse 1.8s ease-out infinite; }
.hours li .today-tag { font-size: .65rem; color: var(--red); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; margin-left: 10px; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 47, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 59, 47, 0); } }
.gallery a { transition: transform .4s var(--ease-out); }
.gallery a:hover { transform: translateY(-3px); }

/* Lightbox e popup */
.lightbox.open img { animation: pop .4s var(--ease-out); }
.lightbox img.swap { animation: pop .35s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox button { transition: transform .2s, background .2s; }
.lightbox button:hover { transform: scale(1.08); }
.lightbox .prev:hover, .lightbox .next:hover { background: rgba(242, 233, 214, .22); }
.demo-popup { animation: fadeIn .4s ease both; }
.demo-popup .box { animation: pop .55s var(--ease-out) .1s both; }
.form-ok { animation: fadeUp .5s var(--ease-out); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(255, 59, 47, .18); }
.form input, .form select, .form textarea { transition: border-color .2s, box-shadow .2s; }
.count { font-variant-numeric: tabular-nums; }

/* Nav mobile animata, scroll cue */
@media (max-width: 760px) {
  .nav.open { animation: fadeIn .25s ease; }
  .nav.open > * { opacity: 0; animation: fadeUp .5s var(--ease-out) forwards; }
  .nav.open > :nth-child(1) { animation-delay: .05s; } .nav.open > :nth-child(2) { animation-delay: .1s; } .nav.open > :nth-child(3) { animation-delay: .15s; }
  .nav.open > :nth-child(4) { animation-delay: .2s; } .nav.open > :nth-child(5) { animation-delay: .25s; } .nav.open > :nth-child(6) { animation-delay: .3s; }
  .nav.open > :nth-child(7) { animation-delay: .38s; } .nav.open > :nth-child(8) { animation-delay: .44s; }
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: .7rem; letter-spacing: .14em; margin-top: 8px; }
.scroll-cue::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--red), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: left; }
@keyframes cue { 0% { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.js .hero .wrap > :nth-child(6) { animation-delay: calc(var(--t0) + .78s); }
