/* ═══════════════════════════════════════════════════════════
   Edelweiss Stube · Sappada
   I colori seguono i mesi: common.js mescola le palette delle
   quattro stagioni in base al giorno dell'anno e le scrive in
   queste variabili. Sono registrate con @property, così ogni
   cambio è una sfumatura e non uno scatto.
   ═══════════════════════════════════════════════════════════ */

@property --bg      { syntax: '<color>'; inherits: true; initial-value: #f3f4ec; }
@property --bg2     { syntax: '<color>'; inherits: true; initial-value: #e5e8d6; }
@property --ink     { syntax: '<color>'; inherits: true; initial-value: #22241c; }
@property --muted   { syntax: '<color>'; inherits: true; initial-value: #5f6256; }
@property --line    { syntax: '<color>'; inherits: true; initial-value: #dbdcca; }
@property --accent  { syntax: '<color>'; inherits: true; initial-value: #63693a; }
@property --accent2 { syntax: '<color>'; inherits: true; initial-value: #45522c; }
@property --tint1   { syntax: '<color>'; inherits: true; initial-value: #cdd29c; }
@property --tint2   { syntax: '<color>'; inherits: true; initial-value: #e5c492; }
@property --tint3   { syntax: '<color>'; inherits: true; initial-value: #a7aa72; }

:root {
  --brand: #9b3a22;          /* il rosso-mattone del logo */
  --brand-dark: #7c2c18;
  --dark: #17110d;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;

  transition: --bg 1.8s, --bg2 1.8s, --ink 1.8s, --muted 1.8s, --line 1.8s,
    --accent 1.8s, --accent2 1.8s, --tint1 2.4s, --tint2 2.4s, --tint3 2.4s;
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: transparent; color: var(--ink);
  font: 300 17px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
picture { display: contents; }   /* il <picture> non deve rompere i layout: conta solo la <img> */
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* Sfondo "vivo": tre velature di colore che si muovono piano.
   Sono gradienti radiali (niente blur), quindi leggeri. */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient i {
  position: absolute; width: 80vmax; height: 80vmax; border-radius: 50%;
  animation: float 38s ease-in-out infinite alternate; will-change: transform;
}
.ambient i:nth-child(1) { left: -30vmax; top: -25vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--tint1) 70%, transparent), transparent); }
.ambient i:nth-child(2) { right: -35vmax; top: 20vh; background: radial-gradient(closest-side, color-mix(in srgb, var(--tint2) 55%, transparent), transparent); animation-duration: 46s; animation-delay: -12s; }
.ambient i:nth-child(3) { left: 10vw; bottom: -45vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--tint3) 48%, transparent), transparent); animation-duration: 52s; animation-delay: -24s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 6vh) scale(1.12); }
  100% { transform: translate(-6vw, 10vh) scale(.94); }
}

.eyebrow {
  font: 400 11.5px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.title {
  font: 300 clamp(38px, 5.4vw, 72px)/1.06 var(--serif); letter-spacing: -.01em; margin: 0 0 28px;
  text-wrap: balance;
}
.title em {
  font-style: italic; padding-right: .06em;
  background: linear-gradient(100deg, var(--accent2), var(--accent) 55%, color-mix(in srgb, var(--tint2) 60%, var(--accent)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title--sm { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 20px; }
.lead { font: 300 clamp(20px, 2vw, 25px)/1.5 var(--serif); }
p { margin: 0 0 1.1em; color: var(--muted); }
.lead { color: var(--ink); }
.section__head { max-width: 780px; margin-bottom: clamp(48px, 7vw, 88px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Bottoni */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border: 1px solid var(--b); background: var(--b); color: #fff;
  font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--brand-dark); z-index: -1;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--small { padding: 12px 20px; font-size: 11px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: #1b1410; }

.link {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none;
  font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); margin-top: 12px;
}
.link i { width: 44px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.link i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.link:hover i, a:hover .link i { width: 64px; }

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
/* Le immagini si scoprono con un velo che si ritira */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img::after {
  content: ''; position: absolute; inset: 0; background: var(--bg); z-index: 1;
  transform-origin: 50% 0; transition: transform 1.5s var(--ease); pointer-events: none;
}
.reveal-img img { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.reveal-img.is-in::after { transform: scaleY(0); }
.reveal-img.is-in img { transform: scale(1); }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 92px; color: #f6f1ea;
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background .5s, height .5s var(--ease), box-shadow .5s, transform .5s var(--ease), color .5s;
}
.nav.is-solid {
  height: 72px; color: var(--ink); background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 58px; width: auto; transition: height .5s var(--ease), filter .5s; filter: brightness(0) invert(1); }
.nav.is-solid .nav__logo img { height: 46px; filter: none; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; white-space: nowrap;
}
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav.is-solid .nav__links a::after { background: var(--accent); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; color: inherit; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
body.menu-open .nav { color: var(--ink); }
body.menu-open .nav__logo img { filter: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); background-image: linear-gradient(160deg, color-mix(in srgb, var(--tint1) 45%, var(--bg)), var(--bg) 60%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 0 28px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu:not([hidden]) { animation: fadeIn .45s var(--ease); }
.mobile-menu a:not(.btn) { font: 300 40px/1.25 var(--serif); text-decoration: none; }
.mobile-menu .btn { margin-top: 28px; }

@media (max-width: 1060px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { height: 76px; }
  .nav__logo img { height: 46px; }
  .nav.is-solid .nav__logo img { height: 40px; }
}

/* ── HERO (foto) ────────────────────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--dark); color: #fff; }
.hero--page { height: 72vh; height: 72svh; min-height: 480px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
/* velatura stagionale sulla foto */
.hero__tint {
  position: absolute; inset: 0; mix-blend-mode: soft-light; opacity: .75;
  background: linear-gradient(150deg, var(--tint1), transparent 45%, var(--tint2) 80%, var(--tint3));
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,10,8,.55), rgba(14,10,8,.15) 30%, rgba(14,10,8,.2) 55%, rgba(14,10,8,.72)),
    radial-gradient(ellipse at 50% 45%, rgba(14,10,8,.35), transparent 70%);
}
.hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 90px var(--gutter) 60px; z-index: 2;
}
.hero .eyebrow { color: color-mix(in srgb, var(--tint1) 55%, #fff); }
.hero__title { font: 300 clamp(52px, 9.5vw, 138px)/.95 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; color: #fff; }
.hero--page .hero__title { font-size: clamp(50px, 8vw, 110px); }
.hero__title em { font-style: italic; color: color-mix(in srgb, var(--tint1) 45%, #fff); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > * { display: inline-block; transform: translateY(110%); animation: rise 1.4s var(--ease) forwards; }
.hero__title .line:nth-child(2) > * { animation-delay: .15s; font-size: .62em; }
.hero .eyebrow, .hero__line, .hero__actions { opacity: 0; animation: fadeUp 1.2s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .1s; }
.hero__line { animation-delay: .45s; font: italic 300 clamp(19px, 2vw, 25px)/1.4 var(--serif); color: rgba(255,255,255,.9); max-width: 32ch; }
.hero__actions { animation-delay: .65s; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.season-swap { animation: swap .9s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: translateY(10px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.weather {
  position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 34px; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px; white-space: nowrap; color: #fff;
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25); border-radius: 40px;
  font-size: 13px; letter-spacing: .04em; opacity: 0; animation: fadeUp 1s .9s var(--ease) forwards;
}
.weather strong { font-weight: 500; }
.weather__icon svg { width: 20px; height: 20px; display: block; stroke: #fff; fill: none; stroke-width: 1.4; }
.weather__sep { width: 1px; height: 16px; background: rgba(255,255,255,.3); }
.weather__open::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #bbb; margin-right: 8px; vertical-align: 1px; }
.weather__open.is-open::before { background: #6fcf76; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(111,207,118,.6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(111,207,118,0); } }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 38px; width: 1px; height: 64px; background: rgba(255,255,255,.25); z-index: 3; overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }

@media (max-width: 640px) {
  .weather { bottom: 84px; font-size: 12px; padding: 8px 14px; gap: 6px 9px; flex-wrap: wrap; justify-content: center; white-space: normal; max-width: calc(100% - 32px); border-radius: 18px; }
  .weather__sep { display: none; }
  .hero__scroll { display: none; }
}

.particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ── BENVENUTI ──────────────────────────────────────────── */
.welcome__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.welcome__media { position: relative; min-height: 620px; }
.ph { margin: 0; overflow: hidden; background: var(--bg2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--tall { position: absolute; right: 0; top: 0; width: 72%; height: 540px; }
.ph--small { position: absolute; left: 0; bottom: 0; width: 48%; height: 300px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.welcome__mark { position: absolute; left: 8%; top: 4%; width: 92px; }
@media (max-width: 860px) {
  .welcome__grid { grid-template-columns: 1fr; }
  .welcome__media { min-height: 440px; }
  .ph--tall { height: 380px; }
  .ph--small { height: 200px; }
}

/* ── NASTRO ─────────────────────────────────────────────── */
.ribbon { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: color-mix(in srgb, var(--bg2) 50%, transparent); }
.ribbon__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.ribbon span { font: italic 300 clamp(30px, 4vw, 52px)/1 var(--serif); }
.ribbon span:nth-of-type(3n+1) { color: var(--accent); } .ribbon span:nth-of-type(3n+2) { color: var(--accent2); }
.ribbon b { width: 10px; height: 10px; border: 1px solid var(--accent); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── NO-STOP / GIORNATA ─────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.day { margin-top: clamp(56px, 8vw, 96px); }
.day__now { font: 300 clamp(22px, 2.4vw, 30px)/1.3 var(--serif); margin-bottom: 36px; }
.day__now strong { font-weight: 400; font-style: italic; color: var(--accent2); }
.day__track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.day__track::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.day__progress { position: absolute; left: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--tint1), var(--accent)); width: 0; transition: width 2s var(--ease); }
.day__track li { position: relative; padding: 32px 14px 0 0; }
.day__track li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent); transition: background .6s, transform .6s var(--ease);
}
.day__track li.is-past::before { background: var(--accent); }
.day__track li.is-now::before { background: var(--accent); transform: scale(1.5); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.day__time { font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.day__name { font: 400 26px/1.2 var(--serif); margin: 6px 0 8px; }
.day__track li.is-now .day__name { color: var(--accent2); font-style: italic; }
.day__desc { font-size: 14px; line-height: 1.55; margin: 0; }
@media (max-width: 860px) {
  .day__track { grid-template-columns: 1fr; }
  .day__track::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .day__progress { display: none; }
  .day__track li { padding: 0 0 28px 38px; }
  .day__track li::before { top: 8px; }
}

/* ── BANNER ─────────────────────────────────────────────── */
.banner { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.banner__img { position: absolute; inset: -12% 0; margin: 0; }
.banner__img img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,14,10,.55), transparent 55%); }
.banner__card {
  position: relative; z-index: 1; margin: 0 var(--gutter) clamp(32px, 6vw, 80px) auto; max-width: 520px;
  background: var(--bg); padding: clamp(28px, 4vw, 56px);
}
.banner__card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--tint1), var(--accent), var(--tint2)); }
@media (max-width: 640px) { .banner__card { margin: 0 16px 16px; } .banner { min-height: 80vh; } }

/* ── STORIA ─────────────────────────────────────────────── */
.story__rows { display: grid; gap: clamp(80px, 12vw, 160px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.row .ph { aspect-ratio: 4 / 5; }
.row--flip .ph { order: 2; }
.num { font: italic 300 20px/1 var(--serif); color: var(--accent); display: block; margin-bottom: 20px; }
.score { display: flex; align-items: center; gap: 18px; margin: 30px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.score__n { font: 300 88px/.9 var(--serif); color: var(--accent2); font-variant-numeric: tabular-nums; }
.score__l { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
blockquote { margin: 0; font: italic 300 22px/1.5 var(--serif); color: var(--ink); padding-left: 22px; border-left: 1px solid var(--accent); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } .row--flip .ph { order: 0; } .row .ph { aspect-ratio: 4 / 3; } }

/* ── DI STAGIONE ────────────────────────────────────────── */
.seasonal { background: linear-gradient(170deg, color-mix(in srgb, var(--bg2) 85%, transparent), color-mix(in srgb, var(--tint1) 30%, var(--bg2))); overflow: hidden; }
.seasonal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); position: relative; }
.dish {
  background: var(--bg2); padding: 40px 30px 36px; display: flex; flex-direction: column; min-height: 330px; position: relative; overflow: hidden;
  transition: background .6s;
}
.dish::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--tint1), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.dish:hover { background: var(--bg); }
.dish:hover::after { transform: none; }
.dish__n { font: italic 300 18px/1 var(--serif); color: var(--accent); }
.dish__icon { width: 44px; height: 44px; margin: 26px 0 22px; stroke: var(--accent); fill: none; stroke-width: 1.1; }
.dish h3 { font: 400 26px/1.15 var(--serif); margin: 0 0 10px; }
.dish__ing { font-size: 13px; letter-spacing: .03em; color: var(--muted); margin-bottom: 18px; }
.dish__note { margin-top: auto; font: italic 300 18px/1.4 var(--serif); color: var(--ink); }
.dish.is-swapping { animation: swap .9s var(--ease) both; animation-delay: var(--d, 0s); }
.seasonal__cta { text-align: center; margin-top: 56px; }
@media (max-width: 1000px) { .seasonal__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .seasonal__grid { grid-template-columns: 1fr; } .dish { min-height: 0; } }

/* ── Teaser menù + vini (home) ──────────────────────────── */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo__item { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; text-decoration: none; }
.duo__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.duo__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,10,8,.82), rgba(14,10,8,.1) 60%); }
.duo__item:hover img { transform: scale(1.06); }
.duo__body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 72px); max-width: 560px; }
.duo__body .eyebrow { color: color-mix(in srgb, var(--tint1) 60%, #fff); }
.duo__body h2 { font: 300 clamp(40px, 5vw, 68px)/1.02 var(--serif); margin: 0 0 18px; }
.duo__body h2 em { font-style: italic; color: color-mix(in srgb, var(--tint1) 50%, #fff); }
.duo__body p { color: rgba(255,255,255,.8); }
.duo__body .link { color: #fff; }
.duo__stats { display: flex; gap: 32px; margin: 8px 0 22px; }
.duo__stats strong { display: block; font: 300 46px/1 var(--serif); }
.duo__stats span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo__item { min-height: 72vh; } }

/* ── RECENSIONI ─────────────────────────────────────────── */
.reviews { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tint1) 18%, transparent), transparent); }
.reviews__stage { position: relative; max-width: 900px; margin: 0 auto; min-height: 330px; text-align: center; }
.review { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); pointer-events: none; }
.review.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.review__q { font: 300 clamp(22px, 2.6vw, 32px)/1.45 var(--serif); color: var(--ink); margin: 0 0 30px; border: 0; padding: 0; }
.review__q::before { content: '“'; display: block; font-size: 90px; line-height: .6; color: var(--accent); margin-bottom: 14px; }
.review__who { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.review__who span { color: var(--muted); }
.reviews__dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.reviews__dots button { width: 34px; height: 20px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.reviews__dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.reviews__dots button::after { content: ''; position: absolute; left: 0; top: 10px; height: 1px; width: 0; background: var(--ink); }
.reviews__dots button.is-active::after { animation: fill 7s linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ── SAPPADA ────────────────────────────────────────────── */
.sappada { background: linear-gradient(190deg, color-mix(in srgb, var(--tint2) 22%, var(--bg2)), color-mix(in srgb, var(--bg2) 80%, transparent)); }
.sappada__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.todo { display: grid; border-top: 1px solid var(--line); }
.todo__item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.todo__n { font: italic 300 40px/1 var(--serif); color: var(--accent); }
.todo__item h3 { font: 400 28px/1.2 var(--serif); margin: 0 0 8px; }
.todo__item p { margin: 0; }
.todo__item.is-swapping { animation: swap .9s var(--ease) both; animation-delay: var(--d, 0s); }
.forecast { background: var(--bg); padding: 34px 30px; position: sticky; top: 100px; }
.forecast ul { list-style: none; padding: 0; margin: 0; }
.forecast li { display: grid; grid-template-columns: 1fr 28px auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.forecast li svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.forecast small { color: var(--muted); }
.forecast .t { font-variant-numeric: tabular-nums; color: var(--muted); }
.forecast .t b { color: var(--ink); font-weight: 400; }
.forecast__loading { display: block !important; color: var(--muted); font-style: italic; }
.forecast__src { font-size: 11px; margin: 16px 0 0; }
@media (max-width: 860px) { .sappada__grid { grid-template-columns: 1fr; } .forecast { position: static; } }

/* ── ORARI & DOVE ───────────────────────────────────────── */
.visit__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px) clamp(40px, 7vw, 110px); }
address { font: 300 30px/1.35 var(--serif); font-style: normal; margin-bottom: 30px; }
.visit__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__phone { margin-top: 26px; font-size: 14px; letter-spacing: .06em; }
.visit__phone a { color: var(--ink); }
.hours ul { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }
.hours li.is-today { color: var(--ink); font-weight: 400; }
.hours li.is-today span:first-child::after { content: 'oggi'; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 7px; border-radius: 20px; margin-left: 10px; vertical-align: 2px; }
.hours li.is-closed span:last-child { color: var(--accent2); font-style: italic; }
.map { grid-column: 1 / -1; height: 440px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15) contrast(1.05); }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } .map { height: 340px; } }

/* ── PAGINE MENÙ E VINI ─────────────────────────────────── */
.book { display: grid; grid-template-columns: 250px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.book > * { min-width: 0; }   /* senza questo l'indice orizzontale allargherebbe la pagina su mobile */
.book__aside { position: sticky; top: 104px; }
.book__nav { display: grid; gap: 2px; }
.book__nav a {
  text-decoration: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  padding: 10px 0 10px 18px; position: relative; transition: color .3s, padding .4s var(--ease);
}
.book__nav a::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.book__nav a:hover { color: var(--ink); }
.book__nav a.is-current { color: var(--ink); padding-left: 28px; }
.book__nav a.is-current::before { width: 18px; background: var(--accent); }
.book__tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.chip {
  border: 1px solid var(--line); background: transparent; border-radius: 30px; padding: 7px 16px; cursor: pointer;
  font-size: 12px; letter-spacing: .08em; color: var(--muted); transition: all .3s; white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.search { display: block; width: 100%; }
.search input {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; font: 300 19px var(--serif); color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--accent); }

.book__section { scroll-margin-top: 100px; padding-bottom: clamp(60px, 8vw, 100px); }
.book__head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 8px; position: relative; }
.book__head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 90px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--tint2)); }
.book__head h2 { font: 300 clamp(36px, 4vw, 54px)/1.05 var(--serif); margin: 0; }
.book__head p { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0; }
.book__group { font: italic 300 26px/1 var(--serif); color: var(--accent2); margin: 36px 0 6px; grid-column: 1 / -1; }
.book__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.m-dish { padding: 22px 0; border-bottom: 1px solid var(--line); }
.m-dish h3 { font: 400 23px/1.25 var(--serif); margin: 0 0 4px; }
.m-dish p { font-size: 14.5px; line-height: 1.55; margin: 0; }
.is-hidden { display: none !important; }
.tag { display: inline-block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding: 3px 8px; margin: 10px 6px 0 0; border-radius: 20px; }
.book__note { grid-column: 1 / -1; font: italic 300 19px var(--serif); margin-top: 24px; color: var(--muted); }
.book__empty { font: italic 300 22px var(--serif); color: var(--muted); padding: 40px 0; }
.allergens { margin-top: 20px; padding: 28px 32px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg2) 60%, transparent); }
.allergens p { margin: 0; }
.page-intro { max-width: 760px; margin: 0 auto clamp(60px, 8vw, 100px); text-align: center; }

.w-region { font: italic 300 25px/1.2 var(--serif); color: var(--accent2); margin: 34px 0 4px; grid-column: 1 / -1; }
.w-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.w-item__prod { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); grid-column: 1 / -1; }
.w-item__name { font: 400 20px/1.3 var(--serif); }
.w-item__det { font-size: 13px; color: var(--muted); text-align: right; align-self: end; }

@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; gap: 24px; }
  .book__aside { top: 76px; z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter);
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .book__nav { display: flex; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .book__nav::-webkit-scrollbar { display: none; }
  .book__nav a { padding: 8px 0; white-space: nowrap; }
  .book__nav a::before { display: none; }
  .book__nav a.is-current { padding-left: 0; box-shadow: inset 0 -1px 0 var(--accent); }
  .book__tools { margin-top: 8px; flex-wrap: nowrap; overflow-x: auto; }
  .book__list { grid-template-columns: 1fr; }
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--dark); color: #cbbfb1; padding: 90px 0 30px; position: relative; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--tint3), var(--accent), var(--tint1), var(--tint2)); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { width: 220px; height: auto; filter: brightness(0) invert(.92); margin-bottom: 18px; }
.footer__brand p { color: #9d9083; font: italic 300 20px var(--serif); }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer nav a { text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; transition: opacity .3s; }
.footer nav a:hover { opacity: 1; }
.footer .eyebrow { color: color-mix(in srgb, var(--tint1) 60%, #d9a77a); }
.footer address { font: 300 16px/1.6 var(--sans); margin: 0 0 12px; color: #cbbfb1; }
.footer__hours { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.footer__hours li.is-today { color: #fff; }
.footer__social a { display: inline-flex; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; align-items: center; justify-content: center; margin: 14px 8px 0 0; transition: background .4s, border-color .4s; }
.footer__social a:hover { background: var(--brand); border-color: var(--brand); }
.footer__social svg { width: 19px; height: 19px; fill: none; stroke: #efe7dc; stroke-width: 1.4; }
.footer__social .dot { fill: #efe7dc; stroke: none; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 12px; letter-spacing: .08em; color: #8a7e72; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── WhatsApp (colore della stagione) ───────────────────── */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; height: 58px; min-width: 58px; border-radius: 40px;
  display: flex; align-items: center; justify-content: flex-end; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.25);
  opacity: 0; animation: fadeUp 1s 1.6s var(--ease) forwards;
}
.wa::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--accent);
  animation: waPing 3s 3s var(--ease) infinite; pointer-events: none; opacity: 0;
}
@keyframes waPing { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.wa__label {
  max-width: 0; overflow: hidden; white-space: nowrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  transition: max-width .6s var(--ease), padding .6s var(--ease); padding-left: 0;
}
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 220px; padding-left: 22px; }
.wa svg { width: 58px; height: 26px; flex: none; fill: #fff; }

/* ── Selettore mesi ─────────────────────────────────────── */
.months {
  position: fixed; left: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 2px; padding: 5px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 40px; box-shadow: 0 10px 30px -14px rgba(0,0,0,.3);
  opacity: 0; animation: fadeUp 1s 1.4s var(--ease) forwards; font-size: 12px;
}
.months button { border: 0; background: none; cursor: pointer; height: 36px; border-radius: 30px; color: var(--muted); transition: background .4s, color .4s; }
.months button:hover { color: var(--ink); }
.months__live { padding: 0 12px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; }
.months__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4f9a55; }
.months__live.is-active { background: var(--ink); color: var(--bg); }
.months__arrow { width: 30px; font-size: 18px; line-height: 1; }
.months__name { min-width: 88px; display: grid; gap: 5px; justify-items: center; padding: 0 2px; }
.months__name span { font: italic 400 17px/1 var(--serif); color: var(--ink); }
.months__mix { display: flex; width: 72px; height: 3px; border-radius: 3px; overflow: hidden; background: var(--line); }
.months__mix i { height: 100%; transition: width 1.2s var(--ease); }
.months__mix i:nth-child(1) { background: #b9c9d8; } .months__mix i:nth-child(2) { background: #a887cf; }
.months__mix i:nth-child(3) { background: #5f9a48; } .months__mix i:nth-child(4) { background: #d0782f; }
@media (max-width: 640px) {
  .months { left: 12px; bottom: 12px; }
  .months__live { padding: 0 9px; }
  .wa { right: 12px; bottom: 12px; height: 54px; min-width: 54px; }
  .wa svg { width: 54px; }
}

/* ── Movimento ridotto ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-img img { opacity: 1; transform: none; }
  .reveal-img::after { display: none; }
  .particles { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   Animazione d'ingresso (3 secondi)
   Il fondo attraversa le quattro stagioni e si ferma sul colore
   del mese di oggi (--intro-final, scritto da common.js);
   sopra sboccia l'edelweiss, poi il velo si solleva.
   Parte solo alla prima visita della sessione.
   ═══════════════════════════════════════════════════════════ */
.intro { display: none; }
.is-intro { overflow: hidden; }
.is-intro .intro {
  display: flex; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center;
  background: #e7edf3;
  animation: introSky 3.05s var(--ease) forwards, introLift .55s cubic-bezier(.7, 0, .3, 1) 2.5s forwards;
}
.is-intro .particles { z-index: 101; }   /* le particelle cadono sopra il velo */

.intro__inner { display: grid; justify-items: center; gap: 22px; animation: introUp .55s cubic-bezier(.7, 0, .3, 1) 2.5s forwards; }
.intro__mark {
  width: clamp(76px, 11vw, 120px); height: auto;
  clip-path: circle(0% at 50% 50%);
  animation: introBloom 1.7s cubic-bezier(.2, .8, .25, 1) .25s forwards;
}
.intro__word {
  width: clamp(200px, 30vw, 320px); height: auto;
  clip-path: inset(0 100% 0 0); opacity: 0;
  animation: introWord .8s cubic-bezier(.3, .9, .3, 1) 1.5s forwards;
}
.intro__rule { width: 80px; height: 1px; background: currentColor; opacity: .35; transform: scaleX(0); animation: introRule .6s var(--ease) 1.95s forwards; }

@keyframes introSky {
  0%, 12%   { background-color: #e7edf3; }   /* inverno */
  24%, 32%  { background-color: #e9def4; }   /* primavera */
  44%, 52%  { background-color: #dfeacf; }   /* estate */
  62%, 70%  { background-color: #f4e1c6; }   /* autunno */
  80%, 100% { background-color: var(--intro-final, #f7efe4); }  /* il mese di oggi */
}
@keyframes introBloom {
  0%   { clip-path: circle(0% at 50% 50%); transform: rotate(-22deg) scale(.72); opacity: 0; }
  25%  { opacity: 1; }
  100% { clip-path: circle(75% at 50% 50%); transform: none; opacity: 1; }
}
@keyframes introWord {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateY(8px); }
  100% { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
}
@keyframes introRule { to { transform: scaleX(1); } }
@keyframes introLift { to { transform: translateY(-101%); } }
@keyframes introUp { to { transform: translateY(-40px); opacity: 0; } }

/* Finché il velo è alzato, l'hero resta fermo: le sue animazioni partono dopo */
.is-intro .hero__title .line > *,
.is-intro .hero .eyebrow,
.is-intro .hero__line,
.is-intro .hero__actions,
.is-intro .hero__media img,
.is-intro .weather,
.is-intro .months,
.is-intro .wa { animation-play-state: paused; }

/* Uscita anticipata: se il visitatore tocca o scorre, si chiude subito */
.is-intro.intro-skip .intro { animation: introFade .35s var(--ease) forwards; }
.is-intro.intro-skip .intro__inner { animation: introUp .35s var(--ease) forwards; }
@keyframes introFade { to { opacity: 0; visibility: hidden; } }
