:root {
  --font-title: "Cormorant Garamond", "EB Garamond", Garamond, serif;
  --font-body: "Optima", "Segoe UI", sans-serif;

  --cream: #F3EFE8;
  --brown: #5B4636;
  --dark-brown: #2A211B;
  --green: #2F3A32;

  --border-soft: rgba(91, 70, 54, 0.22);
  --shadow-soft: 0 18px 45px rgba(42, 33, 27, 0.14);

  --container: 1120px;
  --radius-md: 14px;
  --radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  background: #0a0a0a;
}


body {
  margin: 0;
  background: #0a0a0a;
  color: var(--dark-brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
}

/* Previene scroll orizzontale senza bloccare position:sticky */
main {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--cream);
  pointer-events: none;
  transition: background 0.38s ease;
}

.site-header.is-scrolled {
  background: #2F3A32; /* verde come il footer */
}

.brand,
.menu-toggle {
  pointer-events: auto;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-logo {
  width: 78px;
  height: auto;
}

.brand-text span {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 4vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.brand-location {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--cream);
  opacity: 1;
}

.brand-text small {
  display: block;
  margin-top: 7px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}

.menu-toggle {
  width: 34px;
  height: 26px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 6px;
  cursor: pointer;
  pointer-events: auto;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 99px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.main-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #EBE4DA;
  color: var(--dark-brown);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.35s ease;
  pointer-events: auto;
}

.main-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu a {
  display: block;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 9vw, 4.2rem);
  line-height: 1.15;
  border-bottom: 1px solid rgba(42, 33, 27, 0.18);
  padding: 14px 0;
  width: 100%;
  max-width: 560px;
  color: var(--dark-brown);
  transition: color 0.22s ease, letter-spacing 0.22s ease;
}

.main-menu a:hover {
  color: var(--brown);
  letter-spacing: 0.02em;
}

.site-footer {
  position: relative;
  z-index: 2;
  background: #2F3A32;
  padding: 0;
}

.footer-top {
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 5px;
}

.footer-brand-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(243,239,232,0.5);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-nav a {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--cream);
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
  opacity: 0.78;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--cream);
}

.footer-phone {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cream);
  letter-spacing: 0.06em;
  opacity: 0.78;
}

.footer-vat {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--cream);
  opacity: 0.78;
  letter-spacing: 0.06em;
}

.footer-divider {
  height: 1px;
  background: rgba(243,239,232,0.12);
}

.footer-bottom {
  padding: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(243,239,232,0.6);
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--cream);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(243,239,232,0.28);
  letter-spacing: 0.1em;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 48px 0 40px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 32px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 17px;
    line-height: 1.60;
  }

  /* Testo Cormorant italic 300 → 400 su mobile: più leggibile */
  [class*="hero-sub"],
  [class*="hero-desc"],
  [class*="manifesto"] p,
  [class*="intro-inner"] p,
  [class*="house-text"] p,
  [class*="way-item"] p,
  [class*="guide-text"] p,
  [class*="editorial-quote"] p { font-weight: 400; }

  /* Label uppercase: dimensione minima più alta su mobile */
  [class*="eyebrow"],
  [class*="-label"],
  [class*="section-label"] { font-size: 0.78rem; letter-spacing: 0.28em; }
}

@media (min-width: 900px) {
  .site-header {
    padding: 34px 44px;
  }

  .main-menu {
    padding: 64px 80px;
  }

  .main-menu a {
    max-width: 640px;
  }
}

/* Icone animali: illustrazioni araldiche a colori pieni, nessun filtro */

/* Stemmi animali: stessi toni "meno accesi" degli stemmi nel libro di
   The Philosophy (saturate .85 / contrast .95), ombre invariate. 2026-10-15 */
html .home-hero-guide img,
html .s-hero-guide img,
html .lr-hero-guide img,
html .nt-hero-guide img,
html .tf-hero-guide img,
html .wd-hero-guide img,
html .pe-hero-guide img { filter: saturate(.85) contrast(.95) drop-shadow(0 1px 6px rgba(0,0,0,0.3)); }
html .path-card-animal  { filter: saturate(.85) contrast(.95) drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
html .wd-cta-animal     { filter: saturate(.85) contrast(.95); }

/* Logo in alto: stesso stile degli stemmi animali (cornice crema, colori attenuati) 2026-10-15 */
html .brand-logo { filter: saturate(.85) contrast(.95) drop-shadow(0 1px 6px rgba(0,0,0,0.3)); }  /* logo-header.webp: cornice degli stemmi animali */


/* ═══════════════════════════════════════════════════
   HERO — testi bianchi pieni, non crema/trasparenti (2026-10-16)
═══════════════════════════════════════════════════ */
html body :is(.home-hero, .s-hero, .lr-hero, .nt-hero, .tf-hero, .wd-hero) :is(h1, h2, p, span, small, strong, em, cite) {
  color: #fff;
  opacity: 1;
}
html body :is(.home-hero, .s-hero, .lr-hero, .nt-hero, .tf-hero, .wd-hero) :is(h1, p) {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 26px rgba(0, 0, 0, 0.75);
}
html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) strong {
  border-bottom-color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════
   MENU (2026-10-16): pannello chiaro che entra da destra
   (versione 3 di menu-scelta), pulsante a tre linee.
═══════════════════════════════════════════════════ */
/* tre linee come prima (2026-10-16: tolto il cerchio), centrate sulla scritta;
   a menu aperto diventano una X scura sul pannello chiaro */
.menu-toggle { position: relative; z-index: 60; flex: none; align-content: center; }
.menu-toggle span { transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease; }
.menu-open .menu-toggle span { background: var(--dark-brown); box-shadow: none; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(10, 7, 4, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  pointer-events: auto;
}
.menu-open .menu-backdrop { opacity: 1; visibility: visible; }

.main-menu {
  inset: 0 0 0 auto;
  width: min(86vw, 420px);
  align-items: flex-start;
  justify-content: center;
  padding: 110px 32px 40px;
  background: #F1EBE1;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
  opacity: 1;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.22, .8, .2, 1), visibility 0s linear 0.45s;
}
.main-menu.is-open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(.22, .8, .2, 1), visibility 0s;
}
.main-menu a {
  text-align: left;
  font-size: clamp(1.6rem, 7.4vw, 2.1rem);
  padding: 9px 0;
  border: 0;
}
.main-menu a[aria-current="page"] { color: #A88A5B; }
.main-menu a[href$="private-enquiry/"] {
  margin-top: 26px;
  width: auto;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: 1px solid #A88A5B;
  padding: 15px 20px;
}
.main-menu a[href$="private-enquiry/"]:hover { letter-spacing: 0.24em; }


/* 2026-10-16: tolto l'indicatore a pallini/lineetta sotto i carousel
   (Live Roscetti, Nature, The Farm): sembrava una riga orizzontale */
.lr-dots, .nt-dots, .tf-dots { display: none !important; }


/* ═══════════════════════════════════════════════════
   UNIFICAZIONE (2026-10-16): una sola scala per tutte le pagine.
   Hero = come la home. Sezioni = stesse misure ovunque.
   Ombra unica per i testi su foto (prima 16-26px: testi "sfocati").
   !important solo qui: i CSS di pagina hanno selettori più forti.
═══════════════════════════════════════════════════ */
:root { --txt-on-photo: 0 1px 2px rgba(0, 0, 0, 0.8), 0 1px 10px rgba(0, 0, 0, 0.45); } /* ombra stretta: testo pieno, niente aloni scuri */

/* ── Hero ── */
html body :is(.home-hero, .s-hero, .lr-hero, .nt-hero, .tf-hero, .wd-hero) h1 {
  font-size: clamp(2.8rem, 6.9vw, 6.2rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em !important;
}
html body :is(.hero-tagline, .s-hero-sub, .lr-hero-sub, .nt-hero-sub, .tf-hero-sub, .wd-hero-sub) {
  font-size: clamp(1.18rem, 1.67vw, 1.5rem) !important;
}
html body :is(.home-hero, .s-hero, .lr-hero, .nt-hero, .tf-hero, .wd-hero) :is(h1, p) { text-shadow: var(--txt-on-photo) !important; }
html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) {
  grid-template-columns: 95px 1fr auto !important;
}
html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) img,
html body .wd-cta-animal { width: 74px !important; height: 74px !important; }
html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) p {
  font-size: clamp(1.05rem, 1.58vw, 1.42rem) !important;
}
html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) strong {
  font-size: 0.8rem !important;
  letter-spacing: 0.16em !important;
}
@media (max-width: 767px) {
  html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) {
    grid-template-columns: 74px minmax(0, 1fr) auto !important;
    gap: 14px !important;
  }
  html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) p { white-space: normal !important; }
  html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) strong { font-size: 0.86rem !important; }
}

/* ── Header: logo e nome uguali su tutte le pagine (la home su telefono li rimpiccioliva) ── */
html body .brand-logo { width: auto !important; height: var(--brand-h, 48px) !important; } /* alto quanto il blocco del titolo (2026-10-16) */
@media (max-width: 767px) { html body .brand-text span { font-size: 1.05rem !important; } }

/* ── Etichette di sezione (THE HOUSE, FOUR WAYS…, THREE WAYS…) ── */
html body :is(.s-eyebrow, .lr-eyebrow, .wd-eyebrow, .nt-themes-label, .tf-themes-label) {
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.28em !important;
  text-shadow: var(--txt-on-photo) !important;
}

/* ── Titoli di sezione ── */
html body :is(.s-house h2, .s-inside h2, .s-rooms h2, .s-way-title, .lr-intro h2, .lr-experiences h2,
  .nt-manifesto h2, .tf-manifesto h2, .tf-estate-title, .wd-section h2, .pe-form-section h2) {
  font-size: clamp(2.2rem, 4.45vw, 4rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}

/* ── Titoli delle card (Inner Balance, Walks Through Silence, Organic Olive Oil) ── */
html body :is(.lr-experiences h3, .nt-themes h3, .tf-themes h3) {
  font-size: clamp(1.9rem, 3.1vw, 2.8rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}
html body :is(.lr-experiences li, .nt-themes li, .tf-themes li) { font-size: clamp(1.1rem, 1.31vw, 1.18rem) !important; }

/* ── Testo corrente delle sezioni ── */
html body :is(.s-house p, .s-rooms p, .s-way p, .lr-intro p, .nt-manifesto p, .tf-manifesto p, .tf-estate p, .wd-stay p, .wd-table p) {
  font-size: clamp(1.22rem, 1.58vw, 1.42rem) !important;
}

/* ── Frase finale prima del bottone ── */
html body :is(.lr-cta p.lr-reveal, .nt-cta p, .tf-cta p, .wd-cta p) {
  font-size: clamp(1.75rem, 2.9vw, 2.6rem) !important;
  font-weight: 400 !important;
  font-style: italic !important;
  letter-spacing: -0.01em !important;
}

/* ── Bottoni e link ── */
html body :is(.s-way-cta, .lr-cta-btn, .nt-cta-btn, .tf-cta-btn, .wd-cta-btn) {
  font-size: 0.82rem !important;
  letter-spacing: 0.28em !important;
}
html body :is(.s-text-link, .wd-text-link) { font-size: 0.86rem !important; letter-spacing: 0.16em !important; }
html body :is(.path-card-cta, .lr-card-arrow, .tf-card-cta) { font-size: 0.78rem !important; letter-spacing: 0.16em !important; }

/* ── Ombra unica sui testi su foto ── */
html body :is(.home-paths h2, .home-paths p, .path-card-cta, .wd-section h2, .wd-section p,
  .tf-manifesto h2, .tf-manifesto p, .tf-estate h2, .tf-estate p) { text-shadow: var(--txt-on-photo) !important; }

/* ═══════════════════════════════════════════════════
   COOKIE BANNER (2026-10-16): in basso a destra, toni del menu
═══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  padding: 22px 24px 20px;
  background: #F3EEE6;
  color: var(--dark-brown);
  border: 1px solid rgba(168, 138, 91, 0.45);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(30, 20, 10, 0.22);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner p {
  margin: 0 0 16px;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
}
.cookie-banner a { color: inherit; border-bottom: 1px solid rgba(168, 138, 91, 0.7); text-decoration: none; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-actions button {
  font: 500 0.72rem/1 var(--font-body, sans-serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid rgba(91, 70, 54, 0.45);
  border-radius: 2px;
  background: transparent;
  color: var(--dark-brown);
  cursor: pointer;
}
.cookie-actions button.is-primary { background: var(--dark-brown); border-color: var(--dark-brown); color: #F3EEE6; }
@media (max-width: 767px) {
  .cookie-banner { right: 16px; bottom: 16px; padding: 18px 18px 16px; }
}

/* Unificazione, ritocchi dopo la verifica (2026-10-16) */
@media (max-width: 767px) {
  html body :is(.s-way-cta, .lr-cta-btn, .nt-cta-btn, .tf-cta-btn, .wd-cta-btn) {
    font-size: 0.78rem !important;
    letter-spacing: 0.2em !important;
    padding-inline: 22px !important;
  }
}
/* Testi su foto: bianco pieno ovunque, niente crema semi-trasparente (2026-10-16) */
html body :is(.lr-experiences li, .nt-themes li, .tf-themes li, .lr-experiences h3, .nt-themes h3, .tf-themes h3,
  .path-card small, .path-card p, .path-card h2, .path-card-cta, .lr-card-arrow, .tf-card-cta,
  .lr-cta p, .nt-cta p, .tf-cta p, .wd-cta p, .tf-manifesto p, .tf-estate p, .nt-manifesto p, .lr-intro p) {
  color: #fff !important;
}
html body :is(.lr-experiences li, .nt-themes li, .tf-themes li, .lr-experiences h3, .nt-themes h3, .tf-themes h3,
  .path-card small, .lr-card-arrow, .tf-card-cta, .lr-cta p, .nt-cta p, .tf-cta p) { text-shadow: var(--txt-on-photo) !important; }

/* ═══════════════════════════════════════════════════
   2026-10-16 (sera)
═══════════════════════════════════════════════════ */
/* Niente righe orizzontali decorative */
html body :is(.home-hero-rule, .s-hero-rule, .lr-hero-rule, .nt-hero-rule, .tf-hero-rule, .wd-hero-rule, .home-intro .ornament, .privacy-divider) { display: none !important; }
html body :is(.s-way-list, .s-way-item, .tf-estate) { border-top: 0 !important; border-bottom: 0 !important; }

/* Niente opacità sui testi */
html body :is(.s-way-item span, .nt-themes-label, .tf-themes-label, .s-eyebrow, .lr-eyebrow, .wd-eyebrow) { opacity: 1 !important; color: #fff !important; }

/* iPhone: quando la barra di Safari si nasconde lo schermo si allunga.
   La foto della hero (che fa da sfondo alla pagina) ora copre anche
   quella fascia: prima sotto restava il nero. */
html body :is(.home-hero, .s-hero, .lr-hero, .nt-hero, .tf-hero, .wd-hero) { overflow: visible !important; overflow-x: clip !important; }
html body :is(.home-hero, .s-hero, .lr-hero, .nt-hero, .tf-hero, .wd-hero) > :is(img, video, picture, [class*="-veil"], [class*="-overlay"], [class*="hero-image"], [class*="hero-video"], [class*="hero-img"]) {
  bottom: auto !important;
  height: 100vh !important;
  height: 100lvh !important;
}
/* The Farm: il manifesto passa sul cielo chiaro → ombra un po' più piena solo qui */
html body .tf-manifesto :is(h2, p) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 16px rgba(0, 0, 0, 0.55) !important; }

/* ═══════════════════════════════════════════════════
   LINGUA IT · EN (2026-10-23): nell'header a sinistra del menu e nel footer.
   Alta quanto il pulsante del menu: main.js le dà lo stesso spostamento verticale.
   Telefono: solo la lingua verso cui passare (poco spazio accanto al nome).
═══════════════════════════════════════════════════ */
.header-lang {
  pointer-events: auto;
  margin-left: auto;
  margin-right: 22px;
  height: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.header-lang a {
  color: rgba(255, 255, 255, 0.72);
  padding: 4px 0 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.header-lang a:hover { color: #fff; }
.header-lang a.is-active { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.8); }
.menu-open .header-lang { opacity: 0; visibility: hidden; }
@media (max-width: 767px) {
  .header-lang { margin-right: 16px; }
  .header-lang a.is-active,
  .header-lang span { display: none; }
}
/* telefoni stretti: accanto al menu farebbe andare a capo "TENUTA DI ROSCETTI",
   quindi sta sotto le tre linee, centrato */
@media (max-width: 380px) {
  .header-lang {
    position: absolute;
    top: 56px;
    right: 24px;
    width: 34px;
    height: 20px;
    margin: 0;
    justify-content: center;
  }
}
.footer-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: rgba(243, 239, 232, 0.28);
}
.footer-lang a { color: rgba(243, 239, 232, 0.55); text-transform: uppercase; transition: color 0.2s ease; }
.footer-lang a:hover, .footer-lang a.is-active { color: var(--cream); }
/* libro di La Filosofia: l'italiano è più lungo dell'inglese, testo un filo più piccolo
   perché ogni pagina resti dentro la cornice come in inglese */
/* home: "Un luogo da vivere," è più lungo di "A place to live in,": stesse 2 righe dell'inglese */
html[lang="it"] .home-hero h1 { max-width: 900px; }
html[lang="it"] .animal-desc { font-size: clamp(0.88rem, 4.25cqw, 1.03rem); line-height: 1.42; }

/* SFONDO FISSO DI RISERVA (2026-10-26, ripristinato dal pattern di giugno):
   su iPhone Safari a volte la hero sticky non si vede dietro le sezioni
   trasparenti e appariva il nero del body. Sotto a tutto c'è la stessa foto
   della hero, NON scurita. Serve solo dove la pagina ha .page-bg-fixed. */
/* il body nero verrebbe disegnato SOPRA lo z-index -1: lì resta il nero solo sull'html */
body:has(> .page-bg-fixed) { background: transparent; }
.page-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-bg-fixed img {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  object-fit: cover;
}
/* un solo strato (2026-10-26): con la copia fissa, foto e velo dentro la hero
   sono nascosti, altrimenti su iPhone si vedeva la cucitura fra i due. Il velo
   della copia ha la stessa classe di quello della hero: stesso aspetto e
   stessa animazione GSAP (si schiarisce scorrendo). */
body:has(> .page-bg-fixed) [class$="-hero"] > :is(img, [class$="-hero-veil"]) { visibility: hidden; }
body:has(> .page-bg-fixed) [class$="-hero"] { background: transparent !important; } /* The Farm: hero marrone pieno copriva la copia */
.page-bg-fixed > [class$="-hero-veil"] { position: absolute; inset: 0; }

/* ═══════════════════════════════════════════════════
   TELEFONO: TESTO PIÙ PIENO E UN PO' PIÙ GRANDE (2026-10-26)
   Richiesta utente: "testo troppo sottile e piccolo". Peso 500 al posto di 400
   (il corsivo Cormorant 400 su telefono spariva) e misure circa +8%.
   I titoli grandi (h1/h2/h3) restano come sono; il libro di The Philosophy
   è escluso (ha il suo adattamento in the-philosophy-book.js).
═══════════════════════════════════════════════════ */
@media (max-width: 767px) {
  html body :is(main, footer) :is(p, li, a, span, small, label, blockquote, cite):not(.book-section *) { font-weight: 500 !important; }

  /* hero */
  html body :is(.hero-tagline, .s-hero-sub, .lr-hero-sub, .nt-hero-sub, .tf-hero-sub, .wd-hero-sub) { font-size: 1.28rem !important; }
  html body .s-hero-desc { font-size: 1.32rem !important; }
  html body :is(.home-hero-guide, .s-hero-guide, .lr-hero-guide, .nt-hero-guide, .tf-hero-guide, .wd-hero-guide) p { font-size: 1.12rem !important; }
  html body :is(.home-scroll-hint, .s-scroll-hint, .lr-scroll-hint, .nt-scroll-hint, .tf-scroll-hint, .wd-scroll-hint) span { font-size: 0.66rem !important; }

  /* testo corrente e liste */
  html body :is(.s-house p, .s-rooms p, .s-way p, .s-section-head p, .lr-intro p, .nt-manifesto p, .tf-manifesto p, .tf-estate p,
    .wd-stay p, .wd-table p, .wd-text p, .intro-copy p) { font-size: 1.32rem !important; }
  html body :is(.lr-experiences li, .nt-themes li, .tf-themes li) { font-size: 1.18rem !important; }

  /* etichette, link e bottoni in maiuscolo */
  html body :is(.s-eyebrow, .lr-eyebrow, .wd-eyebrow, .nt-themes-label, .tf-themes-label) { font-size: 0.86rem !important; }
  html body .s-way-item span { font-size: 0.88rem !important; }
  html body :is(.s-text-link, .wd-text-link) { font-size: 0.92rem !important; }
  html body :is(.s-way-cta, .lr-cta-btn, .nt-cta-btn, .tf-cta-btn, .wd-cta-btn) { font-size: 0.84rem !important; }
  html body :is(.path-card-cta, .lr-card-arrow, .tf-card-cta) { font-size: 0.84rem !important; }
  html body .path-card small { font-size: 0.78rem !important; }

  /* Private Enquiries */
  html body :is(.pe-privacy-title, .pe-privacy-text p, .pe-contact-value) { font-size: 1.14rem !important; }
  html body .pe-section-label { font-size: 0.78rem !important; }
  html body .pe-contact-type { font-size: 0.88rem !important; }

  /* footer */
  html body .footer-nav a { font-size: 1.03rem !important; }
  html body .footer-phone { font-size: 0.92rem !important; }
  html body :is(.footer-vat, .footer-social a) { font-size: 0.82rem !important; }
  html body :is(.footer-legal, .footer-legal a, .cookie-settings) { font-size: 0.76rem !important; }
}
