@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/vollkorn-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/vollkorn-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/vollkorn-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/vollkorn-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────────────────────────────────────────────────────────
   Casa Davite — foglio di stile
   Colori presi dalla casa: calce dei muri, rovescio argentato
   delle foglie d'ulivo, verde oliva, oleandri, coppi del tetto.
   ───────────────────────────────────────────────────────────── */

:root {
  --calce: #f1f2ec;
  --argento: #e2e5da;
  --ulivo: #384030;
  --ulivo-2: #444d3a;
  --ink: #1d2118;
  --muted: #586050;
  --line: rgba(29, 33, 24, .15);
  --line-light: rgba(241, 242, 236, .2);
  --oleandro: #c4567a;
  --oleandro-ink: #993658;
  --oleandro-soft: #f0c4d2;
  --coppo: #b3553a;
  --mare: #2e5d72;
  --mare-soft: #d2dee0;
  --salvia: #8b9a6c;

  --f-display: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gut: clamp(1rem, 4vw, 3rem);
  --max: 1360px;
  --inset: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
  --nav-h: 72px;
  --sec: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  margin: 0;
  background: var(--calce);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--oleandro-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--oleandro); outline-offset: 3px; }
.theme-dark :focus-visible { outline-color: var(--oleandro-soft); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: var(--calce); padding: .7rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i--fill { fill: currentColor; stroke: none; }

/* ── Tipografia */
.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 1.2rem + 3.2vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.eyebrow {
  display: flex; align-items: center; gap: .85em;
  font: 600 .74rem/1.3 var(--f-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--oleandro-ink);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; flex: none; }
.eyebrow a { text-decoration: none; }
.theme-dark .eyebrow { color: var(--oleandro-soft); }

/* ── Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 3.1rem; padding: .8rem 1.35rem;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 .95rem/1 var(--f-body); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .i { transition: transform .4s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--solid { background: var(--ulivo); color: var(--calce); }
.btn--solid:hover { background: var(--ink); }
.btn--line { border-color: rgba(29, 33, 24, .35); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--calce); }
.btn--sm { min-height: 2.6rem; padding: .55rem 1rem; font-size: .86rem; }
.btn--light { background: var(--calce); color: var(--ulivo); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(241, 242, 236, .35); color: var(--calce); }
.btn--ghost:hover { border-color: var(--calce); }
.link {
  padding: .25rem 0; border: 0; border-bottom: 1px solid currentColor; background: none;
  font-weight: 600; font-size: .9rem; cursor: pointer;
}
.link:hover { color: var(--oleandro-ink); }
.link--light:hover { color: var(--oleandro-soft); }
.iconbtn {
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 1px solid rgba(29, 33, 24, .25); border-radius: 50%; background: none; cursor: pointer;
  transition: background-color .3s, color .3s, opacity .3s;
}
.iconbtn:hover:not(:disabled) { background: var(--ink); color: var(--calce); }
.iconbtn:disabled { opacity: .3; cursor: default; }

/* ── Marchio */
.mark { width: 2.3rem; height: 2.3rem; overflow: visible; }
.mark__roof { fill: none; stroke: var(--coppo); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.mark__wall, .mark__stem { fill: none; stroke: var(--ulivo); stroke-width: 2.6; stroke-linecap: round; }
.mark__leaf { fill: var(--salvia); stroke: var(--ulivo); stroke-width: 1.4; stroke-linejoin: round; }

/* ── Navigazione */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease-out), background-color .35s, box-shadow .35s; }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.nav.is-scrolled, .nav--solid { background: rgba(241, 242, 236, .88); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line); }
/* Menu aperto: barra piena, senza sfocatura né spostamenti, sopra il pannello del menu */
.nav.is-menu { background: var(--calce); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; transform: none; }
.nav.is-hidden { transform: translateY(-101%); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__name { font-family: var(--f-display); font-size: 1.4rem; line-height: 1; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .92rem; }
.nav__links a { position: relative; padding: .4rem 0; text-decoration: none; }
.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-out);
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 1.1rem; }
.page-legal .nav__end { margin-left: auto; }
.langs { display: flex; gap: .1rem; font: 600 .74rem/1 var(--f-body); letter-spacing: .08em; }
.langs a { display: block; padding: .5rem .42rem; text-decoration: none; color: var(--muted); transition: color .25s; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { color: var(--ink); box-shadow: inset 0 -1px 0 currentColor; }
.nav__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav__burger { position: relative; width: 22px; height: 8px; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.nav__burger::before { top: 0; }
.nav__burger::after { top: 6.5px; }
[aria-expanded="true"] .nav__burger::before { top: 3.25px; transform: rotate(45deg); }
[aria-expanded="true"] .nav__burger::after { top: 3.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--nav-h) + 1.5rem) var(--gut) calc(2rem + env(safe-area-inset-bottom));
  background: var(--calce); opacity: 0; transition: opacity .35s;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__list a { display: block; padding: .2rem 0; font-family: var(--f-display); font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.15; text-decoration: none; }
.menu__list li { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease-out); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(7) { transition-delay: .24s; }
.langs--menu { font-size: .9rem; gap: .6rem; }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__end { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  /* Su telefono niente sfocatura dietro la barra: costa molto mentre si scorre sopra al video */
  .nav.is-scrolled { background: var(--calce); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav .langs:not(.langs--menu), .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .brand__name { font-size: 1.25rem; }
}

/* ── Hero: la casa dentro la sagoma del tetto */
.hero { position: relative; }
.hero__track { position: relative; height: 210vh; height: 210svh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; contain: layout paint; }
.hero__frame {
  position: absolute; inset: 0; background: var(--argento);
  clip-path: polygon(52% 37%, 73% 15%, 94% 37%, 94% 93%, 52% 93%);
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__zoom { position: absolute; inset: 0; }
.hero__zoom img, .hero__zoom video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__zoom video { opacity: 0; transition: opacity 1s; }
.hero__zoom video.is-playing { opacity: 1; }
.hero__scrim { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(18, 22, 14, .55)); opacity: 0; pointer-events: none; }
.hero__caption {
  position: absolute; left: var(--inset); bottom: clamp(1.4rem, 5vh, 3rem); opacity: 0;
  color: var(--calce); font: 600 .74rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
}
.hero__roof { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero__roofpath { fill: none; stroke: var(--coppo); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.hero__wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none; }
.hero__text { width: min(46%, 640px); padding-top: calc(var(--nav-h) * .5); pointer-events: auto; }
.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, min(1.1rem + 4.3vw, 1rem + 6.6vh), 6rem); line-height: 1.02; letter-spacing: -.015em; }
.hero__kicker { display: block; margin-bottom: 1.6rem; font: 600 .76rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--oleandro-ink); }
.hero__line { display: block; overflow: hidden; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.hero__line > span { display: block; }
.hero__lead { max-width: 33em; margin-top: 1.8rem; font-size: clamp(1.04rem, .95rem + .35vw, 1.22rem); line-height: 1.55; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 0; margin-top: 2.6rem; font: 600 .72rem/1.3 var(--f-body); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; }
.hero__facts li + li::before { content: ""; width: 4px; height: 4px; margin: 0 .95rem; border-radius: 50%; background: var(--oleandro); }

/* Ingresso della pagina */
.js .hero__line > span { transform: translateY(105%); }
.js .hero__kicker, .js .hero__lead, .js .hero__actions, .js .hero__facts { opacity: 0; transform: translateY(14px); }
.js .hero__frame { opacity: 0; }
.js .hero__zoom { transform: scale(1.12); }
.js .hero__roofpath { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-loaded .hero__line > span { transform: none; transition: transform 1.15s var(--ease-out) calc(.3s + var(--i) * .09s); }
.is-loaded .hero__kicker { opacity: 1; transform: none; transition: opacity .9s .15s, transform .9s var(--ease-out) .15s; }
.is-loaded .hero__lead { opacity: 1; transform: none; transition: opacity .9s .75s, transform .9s var(--ease-out) .75s; }
.is-loaded .hero__actions { opacity: 1; transform: none; transition: opacity .9s .85s, transform .9s var(--ease-out) .85s; }
.is-loaded .hero__facts { opacity: 1; transform: none; transition: opacity .9s .95s, transform .9s var(--ease-out) .95s; }
.is-loaded .hero__frame { opacity: 1; transition: opacity 1.4s .1s; }
.is-loaded .hero__zoom { transform: none; transition: transform 2.6s var(--ease-out) .1s; }
.is-loaded .hero__roofpath { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s var(--ease) .55s; }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero__text { width: 50%; }
  .hero__facts { display: none; }
}
@media (max-height: 820px) and (min-width: 761px) {
  .hero__facts { display: none; }
  .hero__lead { margin-top: 1.3rem; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__kicker { margin-bottom: 1.1rem; }
}
@media (max-width: 760px) {
  .hero__track { height: 175vh; height: 175svh; }
  .hero__frame { clip-path: polygon(4% 70%, 50% 58%, 96% 70%, 96% 97%, 4% 97%); }
  .hero__wrap { align-items: flex-start; }
  .hero__text { width: 100%; padding-top: calc(var(--nav-h) + 1.1rem); }
  .hero__title { font-size: clamp(2.2rem, 9.6vw, 3.1rem); }
  .hero__kicker { margin-bottom: 1rem; font-size: .68rem; }
  .hero__lead { margin-top: 1rem; font-size: .98rem; line-height: 1.5; }
  .hero__actions { margin-top: 1.2rem; }
  .hero__actions .btn { min-height: 2.8rem; padding: .6rem 1.05rem; font-size: .9rem; }
  .hero__facts { display: none; }
}
@media (max-width: 380px), (max-height: 700px) and (max-width: 760px) {
  .hero__lead { display: none; }
}

/* ── Sezioni */
.sec { position: relative; padding-block: var(--sec); }
.sec__head { max-width: 56rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec__head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); align-items: end; max-width: none; }
.sec__intro { max-width: 36em; font-size: clamp(1.02rem, .96rem + .25vw, 1.14rem); color: var(--muted); }
.sec__intro p + p { margin-top: 1em; }
.sec__intro--wide { max-width: 46em; margin-top: 1.6rem; }
.theme-dark { background: var(--ulivo); color: var(--calce); }
.theme-dark .sec__intro { color: rgba(241, 242, 236, .76); }
@media (max-width: 860px) { .sec__head--split { grid-template-columns: 1fr; } }

/* Immagini con rivelazione */
.ph { position: relative; overflow: hidden; background: var(--argento); }
.ph__in { position: absolute; inset: 0; overflow: hidden; }
.ph__in > img { width: 100%; height: 100%; object-fit: cover; }
.ph__in > img[data-parallax] { position: absolute; inset: -9% 0 auto; height: 118%; will-change: transform; }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Il ritaglio sta sul livello interno: l'elemento osservato resta intero, altrimenti
   IntersectionObserver lo considera invisibile e non lo rivela mai. */
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"] .ph__in { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out) var(--d, 0ms); }
.js [data-reveal="img"].is-in .ph__in { clip-path: inset(0 0 0 0); }
.js [data-reveal="img"] .ph__in > img, .js [data-reveal="img"] .ph__in > video { scale: 1.14; transition: scale 1.9s var(--ease-out) var(--d, 0ms); }
.js [data-reveal="img"].is-in .ph__in > img, .js [data-reveal="img"].is-in .ph__in > video { scale: 1; }
.js [data-reveal="img"] figcaption { opacity: 0; transition: opacity .8s .5s; }
.js [data-reveal="img"].is-in figcaption { opacity: 1; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em 0; margin: 0 -.05em -.12em 0; }
.w > span { display: inline-block; transform: translateY(110%); transition: transform 1.05s var(--ease-out) calc(var(--wi) * 42ms); }
.is-in .w > span { transform: none; }

/* ── La casa */
.casa { padding-top: clamp(4rem, 8vw, 7rem); }
.casa__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); row-gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.casa__text { grid-column: 1 / 6; grid-row: 1; font-size: 1.08rem; }
.casa__text > p + p { margin-top: 1.1em; }
.casa__ph1 { grid-column: 7 / 13; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.casa__ph2 { grid-column: 3 / 7; grid-row: 2; aspect-ratio: 3 / 2; align-self: end; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.4rem; border-top: 1px solid var(--ink); }
.spec div { padding: .95rem .5rem .95rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 600 .68rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin-top: .35rem; font-family: var(--f-display); font-size: 1.32rem; line-height: 1.15; }
/* Recensioni: punteggio reale da Airbnb, temi riassunti, link alla fonte */
.reviews {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: start;
  max-width: 62rem; margin: clamp(4rem, 9vw, 7rem) 0 0 auto; padding-top: 1.6rem; border-top: 1px solid var(--ink);
}
.reviews__label { margin-bottom: .7rem; font: 600 .7rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--oleandro-ink); }
.reviews__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 2.1rem + 2.8vw, 4.6rem); line-height: 1; letter-spacing: -.02em; }
.reviews__of { font-size: .95rem; color: var(--muted); }
.reviews__meta { margin-top: .5rem; font-size: .88rem; color: var(--muted); }
.reviews__body { padding-top: 1.7rem; }
.reviews__themes { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.32; text-wrap: pretty; }
.reviews__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.2rem; text-decoration: none; }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; gap: .5rem; } .reviews__body { padding-top: .6rem; } }
@media (max-width: 860px) {
  .casa__text { grid-column: 1 / -1; }
  .casa__ph1 { grid-column: 1 / 11; grid-row: 2; aspect-ratio: 4 / 5; }
  .casa__ph2 { grid-column: 6 / 13; grid-row: 3; margin-top: -30%; z-index: 1; box-shadow: 0 0 0 .5rem var(--calce); }
}
@media (max-width: 520px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Le stanze */
.stanze { background: var(--argento); }
.stanze .ph, .card__ph { background: #d6dacd; }
.rail {
  display: flex; align-items: flex-end; gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--inset); scroll-padding-inline: var(--inset); padding-bottom: .25rem;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
@media (hover: hover) and (pointer: fine) { .rail { cursor: grab; } }
.card { flex: none; width: var(--cw); scroll-snap-align: start; }
.card--w { --cw: clamp(280px, 40vw, 620px); }
.card--n { --cw: clamp(240px, 29vw, 440px); }
.card--t { --cw: clamp(210px, 23vw, 350px); }
.card__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.card__ph { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.card--t .card__ph { aspect-ratio: 4 / 5; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.card__btn:hover img { transform: scale(1.045); }
.card figcaption { padding: 1rem 1rem 0 0; }
.card__t { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.card figcaption p { max-width: 30em; margin-top: .3rem; font-size: .93rem; color: var(--muted); }
.rail__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.2rem; }
.rail__bar { position: relative; flex: 1 1 160px; height: 1px; background: rgba(29, 33, 24, .2); }
.rail__bar span { position: absolute; top: -1px; left: var(--x, 0%); width: var(--w, 25%); height: 3px; background: var(--ink); transition: left .25s linear; }
.rail__hint { font-size: .82rem; color: var(--muted); }
.rail__ctrl { display: flex; gap: .5rem; }
@media (max-width: 700px) {
  .card--w { --cw: 84vw; }
  .card--n { --cw: 72vw; }
  .card--t { --cw: 60vw; }
  .rail__hint { display: none; }
}

/* ── Fuori */
.fuori__view { position: relative; height: clamp(340px, 80vh, 860px); margin: clamp(.5rem, 2vw, 1.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; background: var(--ulivo-2); }
.fuori__view figcaption { position: absolute; inset: auto 0 1.4rem; color: var(--calce); font: 600 .74rem/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.mosaic {
  display: grid; gap: clamp(.6rem, 1.2vw, 1.1rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: clamp(260px, 32vw, 500px) clamp(200px, 23vw, 370px) clamp(200px, 23vw, 370px);
  grid-template-areas: "a a a a a b b b b b b b" "c c c c d d d d e e e e" "c c c c f f f f f f f f";
}
.mo { position: relative; overflow: hidden; background: var(--ulivo-2); }
.mo--a { grid-area: a; } .mo--b { grid-area: b; } .mo--c { grid-area: c; } .mo--d { grid-area: d; } .mo--e { grid-area: e; } .mo--f { grid-area: f; }
.mo__btn { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mo .ph__in img, .mo video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.mo__btn:hover img { transform: scale(1.045); }
.mo::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(16, 20, 12, .5)); pointer-events: none; }
.mo figcaption { position: absolute; left: 1rem; bottom: .9rem; z-index: 1; color: var(--calce); font: 600 .7rem/1.3 var(--f-body); letter-spacing: .15em; text-transform: uppercase; pointer-events: none; }
.fuori__more { margin-top: 1.8rem; }
@media (max-width: 760px) {
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 64vw 58vw 46vw 46vw 58vw;
    grid-template-areas: "a a" "b b" "c d" "c e" "f f";
  }
}

/* ── Dintorni e mappa */
.around { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.around__map { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.map { aspect-ratio: 793 / 500; overflow: hidden; background: var(--mare-soft); border-radius: 2px; }
.map__svg { width: 100%; height: 100%; }
.map__sea { fill: var(--mare-soft); }
.map__hatch { stroke: rgba(46, 93, 114, .16); stroke-width: .6; }
.map__land { fill: var(--calce); }
.map__coast { fill: none; stroke: var(--ulivo); stroke-width: calc(1.2px / var(--z, 1)); }
.map__border { fill: none; stroke: var(--muted); stroke-width: calc(1px / var(--z, 1)); stroke-dasharray: calc(3px / var(--z, 1)) calc(4px / var(--z, 1)); opacity: .55; }
.map__country { font: 600 9px var(--f-body); font-size: calc(9px / var(--z, 1)); letter-spacing: .32em; text-transform: uppercase; fill: var(--muted); opacity: .75; }
.map__sealabel { font: italic 16px var(--f-display); font-size: calc(16px / var(--z, 1)); fill: var(--mare); letter-spacing: .04em; opacity: .85; }
.js .map__coast { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-in .map__coast { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease); }
.pin circle { fill: var(--ulivo); stroke: var(--calce); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease-out), fill .3s; }
.pin text { font: 600 10.5px var(--f-body); letter-spacing: .02em; fill: var(--ink); paint-order: stroke; stroke: var(--calce); stroke-width: 3px; stroke-linejoin: round; transition: fill .3s; }
.pin--local { opacity: 0; transition: opacity .45s; }
.map.is-zoom .pin--local { opacity: 1; }
.pin.is-active circle { fill: var(--oleandro); transform: scale(1.45); }
.pin.is-active text { fill: var(--oleandro-ink); }
.pin--home .pin__halo { fill: var(--oleandro); opacity: .2; stroke: none; animation: halo 2.8s var(--ease-out) infinite; }
.pin--home .pin__base { fill: var(--calce); stroke: var(--coppo); stroke-width: 1.6; }
.pin__house { fill: none; stroke: var(--coppo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pin--home text { font: italic 500 13.5px var(--f-display); letter-spacing: 0; }
@keyframes halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
.map__route { fill: none; stroke: var(--oleandro); stroke-width: calc(2px / var(--z, 1)); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map__route.is-on { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-out); }
.map__badge { opacity: 0; transition: opacity .3s; }
.map__badge.is-on { opacity: 1; transition-delay: .5s; }
.map__badge rect { fill: var(--ink); }
.map__badge text { font: 600 10px var(--f-body); fill: var(--calce); text-anchor: middle; letter-spacing: .04em; }
.map__note { margin-top: .7rem; font-size: .78rem; color: var(--muted); }

.around__g { margin: 2.2rem 0 .3rem; font: 600 .72rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.around__g:first-child { margin-top: 0; }
.place {
  display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; width: 100%; padding: .85rem 0;
  border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer;
  transition: padding-left .45s var(--ease-out);
}
.place__name { font-family: var(--f-display); font-size: 1.38rem; line-height: 1.2; }
.place__dist { grid-column: 2; grid-row: 1 / 3; align-self: center; font: 600 .82rem/1.5 var(--f-body); font-variant-numeric: tabular-nums; color: var(--oleandro-ink); white-space: nowrap; }
.place__note { font-size: .88rem; color: var(--muted); }
.place:hover, .place.is-active { padding-left: .7rem; }
.place.is-active .place__name { font-style: italic; }
.place.is-active { box-shadow: inset 2px 0 0 var(--oleandro); }

.seasons { margin-top: clamp(4.5rem, 9vw, 8rem); }
.seasons__t { margin-bottom: 1.6rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.4rem); }
.seasons__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.5rem); }
.seasons__list li { padding-top: 1rem; border-top: 1px solid var(--ink); }
.seasons__m { margin-bottom: .6rem; font: 600 .74rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.seasons__list p:last-child { font-size: .96rem; color: var(--muted); }

@media (max-width: 960px) {
  .around { grid-template-columns: 1fr; gap: 1.5rem; }
  .around__map { top: var(--nav-h); z-index: 3; margin-inline: calc(var(--gut) * -1); padding: .6rem var(--gut) .5rem; background: var(--calce); box-shadow: 0 1px 0 var(--line); }
  .map__note { margin-top: .4rem; }
  .seasons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .seasons__list { grid-template-columns: 1fr; } }

/* ── Come arrivare */
.arrivare { background: var(--argento); }
.arr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.steps li { display: grid; grid-template-columns: 3.3rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top-color: var(--ink); }
.steps__n { font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--coppo); }
.steps p { padding-top: .25rem; font-size: 1.05rem; }
.arr__side { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 1.2rem; align-items: end; }
.arr__gateph { aspect-ratio: 359 / 600; background: #d6dacd; }
.arr__gate figcaption { margin-top: .55rem; font-size: .78rem; line-height: 1.4; color: var(--muted); }
.arr__box { padding: 1.4rem; background: var(--calce); border-radius: 2px; }
.arr__label { font: 600 .7rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.arr__addr { margin: .55rem 0 1.1rem; font-family: var(--f-display); font-style: normal; font-size: 1.4rem; line-height: 1.25; }
.arr__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.arr__btns .btn { flex: 1 1 auto; }
.arr__other { margin-top: clamp(3.5rem, 7vw, 6rem); }
.arr__other-t { margin-bottom: 1.4rem; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); }
.arr__other dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.arr__other dl > div { padding-top: .9rem; border-top: 1px solid var(--ink); }
.arr__other dt { margin-bottom: .4rem; font-weight: 600; }
.arr__other dd { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 1100px) {
  .arr__side { grid-template-columns: 1fr; }
  .arr__gate { max-width: 200px; }
  .arr__other dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .arr { grid-template-columns: 1fr; }
  .arr__side { position: static; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); }
  .arr__gate { max-width: none; }
}
@media (max-width: 560px) {
  .arr__side { grid-template-columns: 1fr; }
  .arr__gate { max-width: 160px; }
  .arr__other dl { grid-template-columns: 1fr 1fr; }
}

/* ── Regole */
.regole__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.regole__head { position: sticky; top: calc(var(--nav-h) + 2rem); margin-bottom: 0; }
.ledger > div { display: grid; grid-template-columns: minmax(8.5rem, .55fr) 1fr; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ledger > div:first-child { border-top: 1px solid var(--ink); }
.ledger dt { font-weight: 600; }
.ledger dd { margin: 0; color: var(--muted); }
.regole__note { margin-top: 2.2rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.3rem, 1rem + .9vw, 1.8rem); line-height: 1.3; }
@media (max-width: 860px) {
  .regole__grid { grid-template-columns: 1fr; }
  .regole__head { position: static; }
}
@media (max-width: 480px) { .ledger > div { grid-template-columns: 1fr; gap: .2rem; } }

/* ── Domande */
.domande { background: var(--argento); }
.domande__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.domande .sec__head { position: sticky; top: calc(var(--nav-h) + 2rem); margin-bottom: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--ink); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0;
  font-family: var(--f-display); font-size: clamp(1.18rem, 1.02rem + .5vw, 1.5rem); line-height: 1.25;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--oleandro-ink); }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6.25px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { max-width: 40em; padding: 0 3rem 1.4rem 0; color: var(--muted); }
@media (max-width: 860px) {
  .domande__grid { grid-template-columns: 1fr; }
  .domande .sec__head { position: static; }
}

/* ── Prenota */
.planner__fields {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto auto; gap: 1.6rem 2.2rem; align-items: end;
  padding-bottom: 2rem; border-bottom: 1px solid var(--line-light);
}
.field { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.field__l { font: 600 .7rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 242, 236, .7); }
.field input[type="date"] {
  width: 100%; min-width: 0; min-height: 2.9rem; padding: .3rem 0 .45rem;
  border: 0; border-bottom: 1px solid rgba(241, 242, 236, .45); border-radius: 0; background: transparent;
  color: var(--calce); font: 400 1.45rem/1.2 var(--f-display); color-scheme: dark; -webkit-appearance: none; appearance: none;
}
.field input[type="date"]:focus { border-bottom-color: var(--oleandro-soft); }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .7; cursor: pointer; }
.stepper { display: flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(241, 242, 236, .45); }
.stepper__b { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 1px solid rgba(241, 242, 236, .35); border-radius: 50%; background: none; color: var(--calce); cursor: pointer; transition: background-color .25s, opacity .25s; }
.stepper__b:hover:not(:disabled) { background: rgba(241, 242, 236, .12); }
.stepper__b:disabled { opacity: .3; cursor: default; }
.stepper output { min-width: 2ch; font: 400 1.5rem/1 var(--f-display); text-align: center; font-variant-numeric: tabular-nums; }
.toggle { display: flex; align-items: center; gap: .75rem; min-height: 2.9rem; padding-bottom: .35rem; cursor: pointer; user-select: none; white-space: nowrap; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { position: relative; width: 2.7rem; height: 1.55rem; flex: none; border: 1px solid rgba(241, 242, 236, .5); border-radius: 1rem; transition: background-color .3s, border-color .3s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: calc(1.55rem - 8px); height: calc(1.55rem - 8px); border-radius: 50%; background: var(--calce); transition: transform .4s var(--ease-out); }
.toggle input:checked + .toggle__ui { background: var(--oleandro); border-color: var(--oleandro); }
.toggle input:checked + .toggle__ui::after { transform: translateX(1.15rem); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--oleandro-soft); outline-offset: 3px; }
.planner__sum { min-height: 1.3em; margin: 1.8rem 0 2.6rem; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 1.05rem + .9vw, 1.95rem); line-height: 1.25; }
.planner__sum.is-error { color: var(--oleandro-soft); }
.planner__out { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.planner__h { margin-bottom: 1rem; font: 600 .7rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 242, 236, .7); }
.plats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.4rem; min-height: 10rem; padding: 1.35rem 1.45rem;
  background: var(--calce); color: var(--ink); border-radius: 2px; text-decoration: none;
  transition: transform .55s var(--ease-out), background-color .3s;
}
.plat:hover { transform: translateY(-4px); background: #fff; }
.plat__name { font-family: var(--f-display); font-size: clamp(1.8rem, 1.35rem + 1.3vw, 2.7rem); line-height: 1; letter-spacing: -.01em; }
.plat__sub { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .86rem; color: var(--muted); }
.plat .i { transition: transform .45s var(--ease-out); }
.plat:hover .i { transform: translate(2px, -2px); }
.direct { display: flex; flex-direction: column; gap: .75rem; }
.direct .btn { justify-content: flex-start; }
.planner__small { max-width: 30em; margin-top: 1.2rem; font-size: .84rem; color: rgba(241, 242, 236, .62); }
@media (max-width: 1000px) {
  .planner__fields { grid-template-columns: 1fr 1fr; }
  .toggle { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .planner__out { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .planner__fields { gap: 1.4rem 1.2rem; }
  .field input[type="date"] { font-size: 1.12rem; }
  .stepper output { font-size: 1.3rem; }
}
@media (max-width: 420px) { .plats { grid-template-columns: 1fr; } .plat { min-height: 7.5rem; } }

/* ── Footer */
.foot { padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom)); background: var(--ink); color: rgba(241, 242, 236, .76); font-size: .93rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.mark--foot { width: 3rem; height: 3rem; }
.foot .mark__wall, .foot .mark__stem { stroke: rgba(241, 242, 236, .85); }
.foot .mark__leaf { stroke: rgba(241, 242, 236, .85); }
.foot__name { margin-top: 1rem; font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--calce); }
.foot__tag { margin-top: .5rem; }
.foot__h { margin-bottom: 1rem; font: 600 .7rem/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(241, 242, 236, .62); }
.foot a { text-decoration: none; transition: color .25s; }
.foot a:hover { color: var(--calce); }
.foot__list li + li { margin-top: .6rem; }
.foot__list a { display: inline-flex; align-items: center; gap: .6rem; }
.foot__addr { font-style: normal; }
.foot__ids { margin-top: .9rem; font-size: .8rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.foot__time p { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; line-height: 1.35; color: var(--calce); }
.foot .langs { margin: 1.1rem 0 0 -.42rem; }
.foot .langs a { color: rgba(241, 242, 236, .5); }
.foot .langs a:hover, .foot .langs a[aria-current] { color: var(--calce); }
.foot__bottom { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.4rem; border-top: 1px solid rgba(241, 242, 236, .14); font-size: .8rem; }
.foot__top { margin-left: auto; }
.foot__cookie { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; transition: color .25s; }
.foot__cookie:hover { color: var(--calce); }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ── Barra prenotazione su mobile */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem;
  padding: .55rem var(--gut) calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(241, 242, 236, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .55s var(--ease-out);
}
.mbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.9rem; border: 1px solid rgba(29, 33, 24, .3); border-radius: 2px; font-weight: 600; font-size: .92rem; text-decoration: none; }
.mbar .mbar__wa { background: var(--ulivo); border-color: var(--ulivo); color: var(--calce); }
.mbar.is-on { transform: none; }
@media (max-width: 760px) { .mbar { display: grid; background: var(--calce); -webkit-backdrop-filter: none; backdrop-filter: none; } .foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }

/* ── Banner cookie: Accetta e Rifiuta con lo stesso peso */
.consent {
  position: fixed; left: var(--gut); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: .9rem;
  width: min(30rem, calc(100vw - var(--gut) * 2)); padding: 1.15rem 1.25rem;
  background: var(--ink); color: var(--calce); border-radius: 2px; box-shadow: 0 0 0 1px rgba(241, 242, 236, .22), 0 12px 40px rgba(18, 22, 14, .3);
  animation: consent-in .6s var(--ease-out);
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent__text { font-size: .9rem; line-height: 1.45; }
.consent__btns { display: flex; gap: .5rem; }
.consent__btns .btn { flex: 1; }
.consent :focus-visible { outline-color: var(--oleandro-soft); }
@media (max-width: 760px) { .consent { bottom: calc(.6rem + env(safe-area-inset-bottom)); } }

/* ── Galleria a schermo intero */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(17, 20, 13, .97); color: var(--calce); }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; place-items: center; animation: lb-in .45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lb__fig { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: min(92vw, 1700px); }
.lb__fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 9.5rem); object-fit: contain; transition: opacity .35s, transform .5s var(--ease-out); }
.lb__fig img.is-swap { opacity: 0; transform: scale(.985); }
.lb figcaption { padding-inline: 1rem; text-align: center; font-size: .92rem; color: rgba(241, 242, 236, .76); }
.lb__t { font-family: var(--f-display); font-size: 1.3rem; color: var(--calce); }
.lb__n { display: block; margin-top: .55rem; font: 600 .7rem/1 var(--f-body); letter-spacing: .16em; color: rgba(241, 242, 236, .48); }
.lb__btn { position: fixed; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border: 1px solid rgba(241, 242, 236, .3); border-radius: 50%; background: rgba(17, 20, 13, .45); color: var(--calce); cursor: pointer; transition: background-color .25s; }
.lb__btn:hover { background: rgba(241, 242, 236, .14); }
.lb__close { top: max(1rem, env(safe-area-inset-top)); right: 1rem; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 1rem; }
.lb__next { right: 1rem; }
@media (max-width: 760px) {
  .lb__prev, .lb__next { top: auto; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: none; }
  .lb__fig img { max-height: calc(100dvh - 12rem); }
}

/* ── Pagine legali e 404 */
.page-legal .nav { position: sticky; top: 0; }
.legal { max-width: 52rem; padding-block: clamp(3rem, 7vw, 5rem) 6rem; }
.legal .h2 { margin-top: .5rem; }
.legal h2:not(.h2) { margin: 2.6rem 0 .8rem; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.legal p { color: var(--muted); }
.legal p + p { margin-top: .8em; }
.legal a { color: var(--oleandro-ink); }
.legal__upd { margin-top: 1rem; font-size: .9rem; }
.nf { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 1.3rem; max-width: 46rem; }
.mark--big { width: 5rem; height: 5rem; }
.nf p { color: var(--muted); }
.nf__en { font-size: .95rem; }

/* ── Peso dei titoli: principali a 600, secondari a 500 (Vollkorn, tratti uniformi e leggibili) */
.hero__title, .h2 { font-weight: 600; }
.brand__name, .menu__list a, .spec dd, .card__t, .place__name, .seasons__t, .steps__n, .arr__addr,
.arr__other-t, .faq summary, .plat__name, .foot__name, .lb__t, .legal h2:not(.h2), .regole__note,
.planner__sum, .stepper output, .field input[type="date"], .foot__time p { font-weight: 500; }

/* ── Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="img"] { opacity: 1; transform: none; }
  .js [data-reveal="img"] .ph__in { clip-path: none; }
  .js [data-reveal="img"] .ph__in > img, .js [data-reveal="img"] .ph__in > video { scale: 1; }
  .js [data-reveal="img"] figcaption { opacity: 1; }
  .js .hero__zoom { transform: none; }
  .w > span, .js .hero__line > span { transform: none; }
  .js .hero__kicker, .js .hero__lead, .js .hero__actions, .js .hero__facts, .js .hero__frame { opacity: 1; transform: none; }
  .js .hero__roofpath, .js .map__coast { stroke-dashoffset: 0; }
  .hero__track { height: auto; }
  .hero__stage { position: relative; }
}

@media print {
  .nav, .mbar, .lb, .hero__roof, video { display: none !important; }
  .hero__track { height: auto; }
  .hero__stage { position: relative; height: auto; }
  .js [data-reveal], .js [data-reveal="img"] { opacity: 1; transform: none; }
  .js [data-reveal="img"] .ph__in { clip-path: none; }
  .theme-dark { background: none; color: var(--ink); }
}
