/* Generato da scripts/fonts.mjs — non modificare a mano. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-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: "Jost";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("/fonts/jost-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("/fonts/jost-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;
}

/* Podere Colombaio — colombaio.it
   Palette e tipografia riprese dal design originale: pietra, cotto, terra bruciata. */

/* I blocchi @font-face vengono anteposti dalla build a partire da
   public/fonts/fonts.css (generato da scripts/fonts.mjs). */

:root {
  --paper: #f4efe7;
  --paper-2: #efe9df;
  --dark: #221e1a;
  --cream: #f2ebe0;
  --cream-2: #f7f3ec;

  --ink: #26211c;
  --ink-2: #3d3630;
  --ink-3: #5c5349;
  --ink-4: #6e6459;
  --muted: #8b8074;

  --line: #ded5c7;
  --line-2: #e4dbce;
  --line-3: #e6ddd0;

  --accent: #9a5a3c;
  --accent-2: #c08a64;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad-x: clamp(20px, 4vw, 56px);
  --pad-y: clamp(90px, 12vw, 170px);
  --wrap: 1180px;
  --wrap-wide: 1440px;
  --header-h: 96px;
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* le ancore non finiscono sotto l'header fisso */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* height:auto è indispensabile: gli attributi width/height sulle <img> (che
   servono a riservare lo spazio ed evitare il salto di layout) impongono
   altrimenti l'altezza intrinseca e annullano ogni aspect-ratio. */
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: #e3d9c8; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 14px 22px;
  background: var(--dark);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; }
.wrap-wide { max-width: var(--wrap-wide); margin-inline: auto; }
.section { padding: var(--pad-y) var(--pad-x); }

/* ─── Tipografia ────────────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 26px;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--accent-2); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; text-wrap: pretty; }

.h-section {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.h-card { font-size: 27px; font-weight: 400; line-height: 1.2; }

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.66;
  color: var(--ink-2);
  text-wrap: pretty;
}
.note {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-4);
  text-wrap: pretty;
}
.label-sm {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ─── Bottoni ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn--solid { background: var(--cream-2); color: var(--ink); }
.btn--solid:hover { background: var(--accent); color: var(--cream-2); }
.btn--ghost { border-color: rgba(247, 243, 236, 0.6); color: var(--cream-2); }
.btn--ghost:hover { background: var(--cream-2); color: var(--ink); }
.btn--outline {
  height: 44px;
  padding: 0 24px;
  border-color: #c7bcac;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ─── Header ────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(24, 20, 17, 0);
  border-bottom: 1px solid rgba(247, 243, 236, 0.16);
  color: var(--cream-2);
  transition: background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}
.header__inner {
  max-width: var(--wrap-wide);
  margin-inline: auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 0.5s ease;
}
.header.is-scrolled {
  background: rgba(244, 239, 231, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header.is-scrolled .header__inner { height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand__mark { width: 34px; height: 34px; flex: none; display: block; }
.brand__name { display: flex; flex-direction: column; gap: 3px; }
.brand__name span {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.nav a:hover { opacity: 0.6; }

.header__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }

.langs { display: flex; align-items: center; gap: 10px; }
.langs a {
  padding: 2px 0;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.langs a:hover { opacity: 1; }
.langs a[aria-current="true"] { opacity: 1; }

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  border: 1px solid rgba(247, 243, 236, 0.5);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.header.is-scrolled .header__cta { border-color: #c7bcac; }
.header__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: background 0.5s ease;
}

/* ─── Menu mobile ───────────────────────────────────────────────────────── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 26px clamp(22px, 6vw, 48px) 40px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.menu.is-open { visibility: visible; opacity: 1; }
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.menu__brand {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.menu__close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 235, 224, 0.35);
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 200;
}
.menu__nav { display: flex; flex-direction: column; margin-bottom: 40px; }
.menu__nav a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(242, 235, 224, 0.16);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.1;
}
.menu__langs { display: flex; gap: 22px; margin-bottom: 32px; }
.menu__langs a {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
}
.menu__langs a[aria-current="true"] { opacity: 1; }
.menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin-top: auto;
  background: var(--cream);
  color: var(--ink);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
}
.hero__media,
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media video { opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 46% at 50% 48%, rgba(20, 17, 14, 0.32) 0%, rgba(20, 17, 14, 0) 100%),
    linear-gradient(180deg, rgba(24, 20, 17, 0.55) 0%, rgba(24, 20, 17, 0.34) 32%,
      rgba(24, 20, 17, 0.4) 62%, rgba(24, 20, 17, 0.68) 100%);
}
.hero__body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: var(--cream-2);
}
.hero__eyebrow {
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.88;
}
.hero h1 {
  font-size: clamp(46px, 8.4vw, 118px);
  line-height: 0.98;
  letter-spacing: 0.02em;
}
.hero__sub {
  margin: 30px 0 0;
  max-width: 620px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.55;
  opacity: 0.94;
  text-wrap: pretty;
}
.hero .btn { margin-top: 44px; }
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.7);
}

/* ─── Intro ─────────────────────────────────────────────────────────────── */
.intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}
.intro__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.intro__pics img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
/* lo sfalsamento va sull'elemento di griglia (<picture>), non sull'immagine */
.intro__pics > *:last-child { margin-top: 44px; }

.band img {
  width: 100%;
  height: clamp(240px, 34vw, 460px);
  object-fit: cover;
  display: block;
}

/* ─── Appartamento ──────────────────────────────────────────────────────── */
.ap__head {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.ap__head > div { max-width: 560px; }
.ap__head .lead { max-width: 460px; margin: 0; }

/* Colonne fisse, non auto-fit: i dati sono cinque e l'auto-fit lascerebbe
   celle vuote (che qui si vedrebbero, perché le righe sono lo sfondo). */
.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div { background: var(--paper); padding: 30px 8px 32px; text-align: center; }
.facts dt {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
}
.facts dd {
  margin: 0;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.ap__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 5vw, 80px);
  padding-top: clamp(50px, 6vw, 84px);
}
.ap__cols h3 { margin-bottom: 26px; font-family: var(--sans); }
.list { margin: 0; padding: 0; list-style: none; }
.list li {
  padding: 15px 0;
  border-top: 1px solid var(--line-3);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
}
.list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0 28px;
}
.list--grid li { padding: 13px 0; font-size: 13.5px; }
.ap__note {
  margin: 30px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.8;
  color: #857a6c;
  text-wrap: pretty;
}
.ap__pics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding-top: clamp(50px, 6vw, 80px);
}
.ap__pics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* ─── Sezioni scure ─────────────────────────────────────────────────────── */
.dark-section { background: var(--dark); color: var(--cream); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
/* <picture> è l'elemento di griglia: deve stirarsi, o l'immagine non riempie la colonna */
.split > picture { display: block; height: 100%; min-height: 340px; }
.split img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.split__text {
  padding: clamp(60px, 8vw, 130px) clamp(28px, 5vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__text h2 { margin-bottom: 28px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; }
.split__text p { margin: 0; max-width: 480px; color: #d8cfc2; }

/* ─── La vista in movimento ─────────────────────────────────────────────── */
.view__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 66px); }
.view__head h2 { margin-bottom: 24px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.14; }
.view__head p { margin: 0; color: #c0b6a8; font-size: 14px; line-height: 1.8; text-wrap: pretty; }
.view__strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
/* margin:0 azzera il margine che i browser danno di default a <figure> */
.view__clip { position: relative; overflow: hidden; margin: 0; background: #2c2723; }
.view__clip video,
.view__clip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.view__clip video { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 0.9s ease; }
.view__clip video.is-playing { opacity: 1; }
.view__clip figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(20, 17, 14, 0.7);
}

/* ─── Galleria ──────────────────────────────────────────────────────────── */
.gal__head {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 50px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 4vw, 60px);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.filters button {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 6px 2px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.grid button {
  padding: 0;
  border: none;
  background: var(--line-3);
  cursor: zoom-in;
  overflow: hidden;
  display: block;
}
.grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}
.grid button:hover img { transform: scale(1.045); opacity: 0.92; }
.grid button[hidden] { display: none; }

/* ─── Lightbox ──────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  border: none;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: rgba(20, 17, 14, 0.94);
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(20, 17, 14, 0.94); }
.lightbox__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vw, 70px);
}
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.lightbox button {
  position: absolute;
  border: 1px solid rgba(242, 235, 224, 0.4);
  background: none;
  color: var(--cream);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 200;
  transition: background 0.3s ease;
}
.lightbox button:hover { background: rgba(242, 235, 224, 0.14); }
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 16px;
}
.lightbox__prev { left: clamp(10px, 3vw, 40px); }
.lightbox__next { right: clamp(10px, 3vw, 40px); }
.lightbox__close {
  top: clamp(10px, 3vw, 36px);
  right: clamp(10px, 3vw, 40px);
  width: 44px;
  height: 44px;
  font-size: 15px;
}
.lightbox__caption {
  position: absolute;
  bottom: calc(clamp(12px, 3vw, 34px) + 26px);
  left: 50%;
  transform: translateX(-50%);
  max-width: min(760px, 88vw);
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(242, 235, 224, 0.9);
  text-wrap: pretty;
}
.lightbox__count {
  position: absolute;
  bottom: clamp(12px, 3vw, 34px);
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(242, 235, 224, 0.6);
}
/* La didascalia ruba spazio all'immagine, che non deve finirci sotto. */
.lightbox__inner { padding-bottom: clamp(70px, 12vw, 110px); }

/* ─── Val d'Orcia ───────────────────────────────────────────────────────── */
.area { background: var(--paper-2); border-top: 1px solid var(--line); }
.area__head { max-width: 720px; margin-bottom: clamp(46px, 6vw, 80px); }
.area__head h2 { margin-bottom: 28px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(28px, 3vw, 44px);
}
.card { display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; margin-bottom: 26px; }
.card__meta {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.card h3 { margin-bottom: 14px; }
.card p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--ink-3);
  text-wrap: pretty;
}
.card__link {
  margin-top: 16px;
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid #c7bcac;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.3s ease;
}
.card__link:hover { border-color: var(--accent); }

.rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 30px; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 300;
}
.row span:last-child { color: var(--muted); }
.area__near { margin-top: clamp(50px, 6vw, 84px); padding-top: 42px; border-top: 1px solid var(--line); }
.area__near h3 { margin-bottom: 26px; font-family: var(--sans); }

/* ─── Come arrivare ─────────────────────────────────────────────────────── */
.here {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.here h2 { margin-bottom: 30px; }
.here__body { margin: 0 0 34px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.7; }
.here__rows { display: flex; flex-direction: column; margin-bottom: 34px; }
.here__rows .row { padding: 13px 0; }
.here__rows .row:last-child { border-bottom: 1px solid var(--line-2); }
.here__addr { margin: 0 0 8px; font-size: 13.5px; font-weight: 400; }
.here__addr + p { margin: 0 0 24px; font-size: 13.5px; font-weight: 300; line-height: 1.7; color: var(--ink-4); }
.here__map { border: 1px solid var(--line); background: var(--paper-2); }
.here__map iframe {
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  border: none;
  display: block;
  filter: saturate(0.72) contrast(0.96);
}

/* ─── Recensioni ────────────────────────────────────────────────────────── */
.rev { padding: clamp(80px, 10vw, 140px) var(--pad-x); }
.rev__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 66px); }
.rev__head h2 { margin-bottom: 24px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.14; }
.rev__head p { margin: 0; font-size: 14px; line-height: 1.8; color: #c0b6a8; text-wrap: pretty; }
.rev__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rev__links a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px 32px;
  border: 1px solid rgba(242, 235, 224, 0.2);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.rev__links a:hover { background: rgba(242, 235, 224, 0.06); border-color: rgba(242, 235, 224, 0.42); }
.rev__kind {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.rev__name { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.2; }
.rev__note { font-size: 12.5px; font-weight: 300; line-height: 1.7; color: #b7ac9e; }

/* ─── Contatti ──────────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; }
.cta > picture { position: absolute; inset: 0; display: block; }
.cta > picture img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(24, 20, 17, 0.5); }
.cta__body {
  position: relative;
  z-index: 1;
  padding: clamp(96px, 13vw, 190px) var(--pad-x);
  text-align: center;
  color: var(--cream-2);
}
.cta__body h2 {
  margin: 0 auto 30px;
  max-width: 780px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.12;
}
.cta__body > p:last-of-type {
  margin: 0 auto 44px;
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.66;
  opacity: 0.92;
  text-wrap: pretty;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: clamp(60px, 7vw, 96px) var(--pad-x) 40px;
  border-top: 1px solid var(--line);
}
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__brand svg { width: 30px; height: 30px; display: block; }
.footer__brand span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}
.footer h2 {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__tag { margin: 0; max-width: 240px; font-size: 12.5px; line-height: 1.8; color: var(--ink-4); text-wrap: pretty; }
.footer__list { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 300; }
.footer__list a:hover { color: var(--accent); }
.footer__list span { color: var(--ink-4); }
.footer__list a[aria-current="true"] { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(46px, 6vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
}

/* ─── Comparsa al primo scroll ──────────────────────────────────────────── */
/* Condizionata a .js: senza JavaScript i blocchi restano semplicemente visibili. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ─── Breakpoint ────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .nav, .langs, .header__cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 760px) {
  /* due colonne, e l'ultimo dato occupa tutta la riga: nessun buco */
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:last-child { grid-column: 1 / -1; }
  .facts dt { font-size: 32px; }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .intro__pics img:last-child { margin-top: 24px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .lightbox__prev, .lightbox__next { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .menu, .burger, .hero__scroll, .lightbox, .view__strip { display: none !important; }
  .hero { height: auto; min-height: 0; }
  body { background: #fff; color: #000; }
}
