@charset "UTF-8";
/* ============================================================
   DR PETRENGA — Landing
   Atelier system · mobile-first
   ============================================================ */

:root {
  /* PALETTE — Noir (default) */
  --ink: #0a0908;
  --ink-soft: #4b4641;
  --ink-faint: #8a8480;
  --paper: #f4efe6;
  --paper-deep: #ebe3d1;
  --paper-card: #ffffff;
  --accent: #b08948;
  --accent-deep: #8c6a31;
  --accent-soft: #d8b878;
  --rule: rgba(10,9,8,0.14);
  --rule-soft: rgba(10,9,8,0.07);
  --shadow-card: 0 1px 2px rgba(10,9,8,0.04), 0 18px 40px rgba(10,9,8,0.07);

  /* TYPE — Editoriale (default) */
  --display: "Marcellus", "Cormorant Garamond", serif;
  --serif: "Marcellus", "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Sans", -apple-system, sans-serif;
  --script: "Mrs Saint Delafield", cursive;

  /* SPACING */
  --gutter: clamp(20px, 5vw, 56px);
  /* spazio verticale uniforme tra TUTTE le sezioni (padding-top/bottom) */
  --section-pad: clamp(44px, 7.5vw, 108px);

  /* MOTION */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* PALETTE — Avorio */
body[data-palette="avorio"] {
  --ink: #1f1a14;
  --ink-soft: #5a4f43;
  --ink-faint: #978b78;
  --paper: #efe7d4;
  --paper-deep: #e2d7bd;
  --paper-card: #f9f3e3;
  --accent: #7b3f24;
  --accent-deep: #5a2c15;
  --accent-soft: #a86342;
  --rule: rgba(31,26,20,0.14);
  --rule-soft: rgba(31,26,20,0.07);
}

/* PALETTE — Vault (dark inverso) */
body[data-palette="vault"] {
  --ink: #f1ecdd;
  --ink-soft: #c4bca7;
  --ink-faint: #a8a08c;
  --paper: #100d08;        /* T1 · base, warmer */
  --paper-deep: #1a160f;   /* T2 · warm mid */
  --paper-card: #241e14;   /* T3 · warmer lifted */
  --paper-rich: #2d2618;   /* T4 · jewel panel */
  --accent: #d4ad62;
  --accent-deep: #e8c277;
  --accent-soft: #b1873f;
  --rule: rgba(241,236,221,0.16);
  --rule-soft: rgba(241,236,221,0.08);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 18px 40px rgba(0,0,0,0.5);
}

/* ===========================================================
   LIGHT SECTIONS — `.is-light` flips the palette locally so a
   section breathes against the dark vault rhythm (Nazarian-style).
   Works in any base palette but designed for vault.
   =========================================================== */
body[data-palette="vault"] .is-light {
  --ink: #1a1410;
  --ink-soft: #5a5044;
  --ink-faint: #8a8175;
  --paper: #f4ecd8;
  --paper-deep: #ebe0c4;
  --paper-card: #fffaef;
  --paper-rich: #f8efd9;
  --accent: #a8703a;
  --accent-deep: #8a5a26;
  --accent-soft: #d6a865;
  --rule: rgba(26,20,16,0.16);
  --rule-soft: rgba(26,20,16,0.08);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(255,250,238,1) 0%, transparent 55%),
    linear-gradient(180deg, #f6efdd 0%, #ece2c5 100%) !important;
  color: var(--ink);
}
/* Reverse a couple of vault-specific overrides on light surfaces */
body[data-palette="vault"] .is-light .section-head h2 { color: var(--ink); }
body[data-palette="vault"] .is-light .section-head .label { color: var(--ink-soft); }
body[data-palette="vault"] .is-light .section-head .label b { color: var(--ink); }
body[data-palette="vault"] .is-light .section-head h2 em { color: var(--accent-deep); }

/* Cards inside light sections */
body[data-palette="vault"] .is-light .cat-card { background: var(--paper-card); border-color: var(--rule); }
body[data-palette="vault"] .is-light .cat-card:hover { border-color: var(--accent); }
body[data-palette="vault"] .is-light .cat-img { background: var(--paper-deep); }
body[data-palette="vault"] .is-light .booking-card { background: var(--paper-card); border-color: var(--rule); }
body[data-palette="vault"] .is-light .booking-card:hover { background: var(--paper-rich); border-color: var(--accent); }
body[data-palette="vault"] .is-light .booking-card::before { border-color: var(--accent-soft); }
body[data-palette="vault"] .is-light .booking-foot { border-top-color: var(--ink); }

/* DOTTORE light overrides — kill the dark-bg-tinted rules */
body[data-palette="vault"] .is-light.dottore .section-head h2 { color: var(--ink); }
body[data-palette="vault"] .is-light.dottore .section-head h2 em { color: var(--accent-deep); }
body[data-palette="vault"] .is-light.dottore .section-head .label { color: var(--ink-soft); }
body[data-palette="vault"] .is-light.dottore .section-head .label b { color: var(--ink); }
body[data-palette="vault"] .is-light.dottore .dottore-copy { color: var(--ink); }
body[data-palette="vault"] .is-light.dottore .dottore-copy .signature { color: var(--accent-deep); }
body[data-palette="vault"] .is-light.dottore .dottore-copy .lead { color: var(--ink); font-weight: 500; }
body[data-palette="vault"] .is-light.dottore .dottore-copy p { color: var(--ink); opacity: 0.82; }
body[data-palette="vault"] .is-light.dottore .dottore-photo { border-color: var(--rule); }
body[data-palette="vault"] .is-light.dottore .dottore-photo .stamp { color: var(--paper); background: linear-gradient(to top, rgba(0,0,0,0.45), transparent); }

/* Vault — single continuous atmosphere instead of per-section gradients.
body[data-palette="vault"] {
  background:
    radial-gradient(ellipse 90% 70% at 100% -10%, rgba(168,118,52,0.22), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(0,0,0,0.6), transparent 55%),
    linear-gradient(165deg, #1c1610 0%, #110d08 45%, #0a0805 100%);
  background-attachment: fixed;
}

/* Per-section backgrounds: transparent by default so the body-gradient bleeds
   through. Even-numbered sections get an ultra-subtle warm wash that creates
   tonal rhythm WITHOUT a hard seam — no abrupt light↔dark cut anywhere. */
body[data-palette="vault"] .hero,
body[data-palette="vault"] .marquee,
body[data-palette="vault"] .manifesto,
body[data-palette="vault"] .metodo,
body[data-palette="vault"] .catalogo,
body[data-palette="vault"] .dottore,
body[data-palette="vault"] .qualifier,
body[data-palette="vault"] .investimento,
body[data-palette="vault"] .scheda,
body[data-palette="vault"] .faq,
body[data-palette="vault"] .firma,
body[data-palette="vault"] .foot            { background: transparent; }
/* Blocco scuro: alternanza tonale per dare lo "stacco" tra sezioni adiacenti
   (prima erano tutte T1 identico → il gap sembrava un unico vuoto).
   qualifier T1 · investimento T2 · faq T1 · firma T2 · foot T1 */
body[data-palette="vault"] .investimento    { background: var(--paper-deep); }

/* Tinte alternate rimosse — il body-gradient warm-vault già da solo il tono.
   Lasciate sezioni a sfondo transparent per evitare il "marroncino" tra blocchi. */

/* Kill the previous edge-fade overlays — would re-introduce seams */
body[data-palette="vault"] section::before,
body[data-palette="vault"] .marquee::before { content: none; }
body[data-palette="vault"] .hero::before,
body[data-palette="vault"] .firma::before {
  background:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Vault — subtle grain over the whole body for tactile luxe feel */
body[data-palette="vault"]::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

/* Mobile — soften the fixed gradient (mobile browsers handle fixed bg poorly) */
@media (max-width: 640px) {
  body[data-palette="vault"] {
    background:
      radial-gradient(ellipse 140% 50% at 100% 0%, rgba(168,118,52,0.2), transparent 55%),
      linear-gradient(180deg, #1c1610 0%, #110d08 50%, #0a0805 100%);
    background-attachment: scroll;
  }
}

/* Vault — surfaces inside sections lift one step further */
body[data-palette="vault"] .manifesto-art   { background: transparent; }
body[data-palette="vault"] .acts-sticky     { background: var(--paper-card); border-color: var(--rule); }
body[data-palette="vault"] .cat-card        { background: var(--paper-deep); border-color: var(--rule); }
body[data-palette="vault"] .cat-img         { background: var(--paper-card); }
body[data-palette="vault"] .qualifier-grid  { border-color: var(--rule); }
body[data-palette="vault"] .qualifier-col   { background: var(--paper-deep); }
body[data-palette="vault"] .qualifier-col.is-no { background: transparent; }
body[data-palette="vault"] .qualifier-col + .qualifier-col { border-left-color: var(--rule); }
body[data-palette="vault"] .invest-card     { background: var(--paper-card); border-color: var(--accent-soft); }
body[data-palette="vault"] .invest-card::before { border-color: var(--accent); }
body[data-palette="vault"] .scheda-card     { background: var(--paper-deep); border-color: var(--accent-soft); }
body[data-palette="vault"] .scheda-side     { background: var(--paper-card); border-left-color: var(--rule); }
body[data-palette="vault"] .scheda-head     { background: var(--paper-rich); color: var(--ink); border-bottom-color: var(--rule); }

/* Vault — nav blends with first section */
body[data-palette="vault"] .nav             { background: color-mix(in oklab, var(--paper) 88%, transparent); }

/* TYPE — Atelier (Cormorant display) */
body[data-typeface="atelier"] {
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --serif: "Cormorant Garamond", serif;
  --sans: "Manrope", -apple-system, sans-serif;
}

/* ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
  overflow-x: hidden;
  transition: background-color 360ms var(--ease-out), color 360ms var(--ease-out);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--paper); }

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   TYPOGRAPHY PRIMITIVES
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-family: inherit;
  font-weight: 400;
  color: var(--accent-deep);
}
body[data-palette="vault"] .display em { color: var(--accent-deep); }

.h-xxl { font-size: clamp(56px, 12vw, 160px); }
.h-xl  { font-size: clamp(40px, 8vw, 96px); }
.h-l   { font-size: clamp(32px, 5.6vw, 64px); }
.h-m   { font-size: clamp(24px, 3.6vw, 40px); }

.serif-italic {
  font-family: inherit;
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0; /* 0 così il ® (sup.tm) non viene spinto via come flex-item separato; lo spazio delle linee è sui ::before/::after */
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  margin-right: 12px;
}
.eyebrow--center::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  margin-left: 12px;
}
/* simbolo marchio registrato ® — piccolo apice, senza tracking ereditato
   (così non sbilancia il centraggio degli eyebrow) */
.tm {
  font-size: 0.58em;
  vertical-align: 0.45em;
  letter-spacing: 0;
  margin-left: -0.04em;
  font-weight: inherit;
}
/* dentro gli eyebrow: ® un filo più grande e tirato a sinistra per annullare
   il trailing letter-spacing (0.32em) dell'eyebrow → tocca la parola, niente spazio */
.eyebrow .tm {
  font-size: 0.85em;
  vertical-align: 0.2em;
  margin-left: -0.28em;
}

.opus {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}
.opus b { font-weight: 500; color: var(--ink); }

.lede {
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  max-width: 56ch;
  text-wrap: pretty;
  opacity: 0.95;
}

.hairline {
  height: 1px;
  background: var(--rule);
  width: 100%;
  border: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background 280ms var(--ease-out), color 280ms var(--ease-out), border-color 280ms var(--ease-out), transform 200ms var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.btn-ghost { border-radius: 0; }
.btn:active { transform: translateY(1px); }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--paper); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost {
  color: var(--ink-soft);
  padding: 12px 0;
}
.btn-ghost:hover { color: var(--accent-deep); }
.btn-arrow::after {
  content: "\2192";
  font-family: var(--sans);
  letter-spacing: 0;
  transition: transform 240ms var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 18px 0;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 320ms var(--ease-out), padding 320ms var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--rule); padding: 12px 0; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand-mark {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.34em;
  color: var(--ink);
  padding-right: 0;
  text-indent: 0.34em;
}
.brand-rule {
  width: 100%;
  height: 1px;
  background: var(--ink);
  margin: 4px 0 5px;
  opacity: 0.7;
}
.brand-tag {
  font-family: var(--sans);
  font-size: 7.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links > a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-links > a.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
  transition: background 240ms var(--ease-out), color 240ms var(--ease-out);
}
.nav-links > a.nav-cta::after { display: none; }
.nav-links > a.nav-cta:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .nav-links > a:not(.nav-cta) { display: none; }
}
@media (max-width: 640px) {
  .nav-inner { gap: 12px; }
  .brand-mark {
    font-size: 15px;
    letter-spacing: 0.26em;
    white-space: nowrap;
    text-indent: 0.26em;
  }
  .brand-tag { font-size: 7px; letter-spacing: 0.34em; }
  .nav-links > a.nav-cta {
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(20px, 3vw, 36px) 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  /* Linee di Venere — subtle background grid */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.5), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.5), transparent 70%);
  opacity: 0.6;
}

/* HERO MARKS — opus number row */
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--rule);
}
.hero-meta-l, .hero-meta-r {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}
.hero-meta-r { text-align: right; }

/* Hero shared layout */
.hero-wrap { position: relative; }
.hero-variant { display: none; }
.hero-variant.is-active { display: block; }

/* ——— VARIANT A: ATELIER (typography + small mark) ——— */
.h-atelier { text-align: left; }
.h-atelier .eyebrow { margin-bottom: 32px; }
.h-atelier .h-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 8.6vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--ink);
}
.h-atelier .h-headline em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}
.h-atelier .h-headline .small {
  display: block;
  font-family: inherit;
  font-style: italic;
  font-size: 0.36em;
  color: var(--ink-soft);
  margin-top: 12px;
  letter-spacing: 0;
  font-weight: 400;
}
.h-atelier-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
@media (max-width: 880px) {
  .h-atelier-grid { grid-template-columns: 1fr; }
}
.h-atelier .h-body {
  font-family: inherit;
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--ink);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 32px;
  text-wrap: pretty;
  opacity: 0.92;
}
.h-atelier .h-body strong {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92em;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.h-cta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}
.h-cta .btn-ghost {
  position: relative;
  padding: 12px 4px 12px 24px;
}
.h-cta .btn-ghost::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: var(--rule);
  transform: translateY(-50%);
}
@media (max-width: 540px) {
  .h-cta { gap: 16px; }
  .h-cta .btn-ghost { padding-left: 16px; }
}

/* ——— VARIANT B: RITRATTO (portrait + side text) ——— */
.h-ritratto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 880px) {
  .h-ritratto-grid { grid-template-columns: 1fr; }
}
.h-ritratto .h-headline {
  font-family: var(--display);
  font-size: clamp(36px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  margin-bottom: 24px;
  font-weight: 400;
}
.h-ritratto .h-headline em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}
.h-ritratto .h-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  overflow: hidden;
}
.h-ritratto .h-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}
.h-ritratto .h-portrait::before {
  content: "Opera n.01 \00B7 Il Ritratto";
  position: absolute;
  bottom: 0; left: 0;
  right: 0;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  z-index: 2;
}
.h-ritratto .h-portrait::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}

/* ——— VARIANT C: QUADRO (centered mass + side rules) ——— */
.h-quadro {
  text-align: center;
  padding: clamp(20px, 4vw, 60px) 0;
}
.h-quadro .eyebrow { margin: 0 auto 32px; }
.h-quadro .h-headline {
  font-family: var(--display);
  font-size: clamp(50px, 12vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  font-weight: 400;
}
.h-quadro .h-headline em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}
.h-quadro .h-headline .sub {
  display: block;
  font-family: inherit;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--ink-soft);
  margin-top: 16px;
  letter-spacing: 0;
}
.h-quadro .h-body {
  font-family: inherit;
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  max-width: 54ch;
  margin: 0 auto 32px;
  line-height: 1.55;
  opacity: 0.92;
}
.h-quadro .h-cta { justify-content: center; gap: 28px; }
@media (max-width: 540px) {
  .h-quadro .h-cta { gap: 16px; }
}

/* ============================================================
   VSL placeholder
   ============================================================ */
.vsl {
  margin: clamp(40px, 6vw, 80px) auto 0;
  width: 100%;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  border-radius: 12px;
  /* aura bianca soffusa e uniforme attorno al video (molto leggera) */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 52px 6px rgba(255, 255, 255, 0.12),
    0 0 130px 30px rgba(255, 255, 255, 0.05);
}
.vsl iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vsl-audio-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
  transition: opacity 320ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.vsl-audio-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.vsl-audio-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  /* semi-trasparente: il video si intravede dietro, con frosted-blur per leggibilità */
  background: linear-gradient(180deg, rgba(236, 202, 132, 0.62) 0%, rgba(199, 154, 78, 0.56) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
          backdrop-filter: blur(8px) saturate(1.1);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  padding: 18px 32px;
  border: 0;
  border-radius: 10px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: filter 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 120ms var(--ease-out);
  animation: vslAudioPulse 2.4s ease-in-out infinite;
}
.vsl-audio-overlay:hover .vsl-audio-pill {
  filter: brightness(1.06);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(236, 202, 132, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.vsl-audio-overlay:active .vsl-audio-pill {
  animation: none;
  transform: scale(0.96);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 2px 5px rgba(0, 0, 0, 0.2);
}
.vsl-audio-pill svg {
  flex-shrink: 0;
  stroke-width: 2;
}
.vsl-audio-pill-main {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.15;
}
.vsl-audio-dur {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.66;
  text-align: center;
}
@keyframes vslAudioPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .vsl-audio-pill { animation: none; }
}
@media (max-width: 640px) {
  .vsl-audio-pill { font-size: 10px; padding: 14px 20px; gap: 3px; letter-spacing: 0.1em; border-radius: 9px; }
  .vsl-audio-pill-main { gap: 9px; }
  .vsl-audio-pill svg { width: 16px; height: 16px; }
  .vsl-audio-dur { font-size: 9px; }
}
.vsl-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  transition: opacity 320ms var(--ease-out), transform 1.2s var(--ease-out);
}
.vsl:hover .vsl-poster { opacity: 1; transform: scale(1.02); }

.vsl::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 16px);
  z-index: 0;
}
.vsl-thumb {
  position: absolute;
  inset: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.vsl-play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 280ms var(--ease-out), background 280ms var(--ease-out);
  position: relative;
  z-index: 2;
}
.vsl:hover .vsl-play { transform: scale(1.06); background: var(--accent-deep); }
.vsl-play::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--paper);
  margin-left: 6px;
}
.vsl-label {
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 3;
}
.vsl-time {
  position: absolute;
  bottom: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  z-index: 3;
}

.vsl-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(44px, 6vw, 60px);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.vsl-cta .btn { min-width: 260px; }
@media (max-width: 640px) {
  .vsl-cta { margin-top: 48px; margin-bottom: 32px; }
  .vsl-cta .btn { min-width: 220px; width: 100%; max-width: 320px; }
}

/* ============================================================
   HERO · VARIANT D — CINEMATIC (Nazarian-style)
   Full-bleed photo carousel with Ken Burns zoom + slow cross-fade
   ============================================================ */
.h-cinematic {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  height: clamp(480px, 65vh, 660px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(20px, 4vh, 48px);
}
@media (max-width: 640px) {
  .h-cinematic {
    height: clamp(320px, 46vh, 410px);
    padding-bottom: 14px;
  }
  .h-cinematic-slide img {
    filter: saturate(0.72) contrast(1.06) brightness(0.5);
  }
  .h-cinematic-overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.58) 35%, rgba(0,0,0,0.82) 75%, rgba(0,0,0,1) 100%),
      radial-gradient(ellipse 80% 60% at 50% 45%, rgba(0,0,0,0.28), rgba(0,0,0,0.7) 95%) !important;
  }
  body[data-palette="vault"] .hero { background: #000 !important; }
  .hero::before { display: none; }
  .hero { padding-bottom: clamp(20px, 5vw, 36px); }
  .h-cinematic {
    display: block;
    height: auto;
    min-height: 0;
    padding: clamp(28px, 5vw, 48px) 0 clamp(32px, 6vw, 56px);
  }
  .h-cinematic-stage,
  .h-cinematic-overlay { display: none !important; }
  .h-cinematic-content {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    z-index: 3;
  }
  .h-cinematic-content .vsl {
    margin-top: clamp(32px, 5vw, 48px);
    background: #000;
  }
  .h-cinematic-content .vsl-cta {
    margin-top: clamp(20px, 3.5vw, 32px);
    margin-bottom: 0;
  }
}
.h-cinematic-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.h-cinematic-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}
.h-cinematic-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.h-cinematic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.85) contrast(1.06) brightness(0.92);
  transform: scale(1);
}
.h-cinematic-slide.is-active img {
  animation: kenburns 7s var(--ease-out) forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.0); }
}

.h-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,6,4,0.75) 0%, rgba(8,6,4,0.45) 30%, rgba(8,6,4,0.55) 60%, rgba(8,6,4,0.95) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(8,6,4,0.1), rgba(8,6,4,0.6) 95%);
}

.h-cinematic-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  width: 100%;
  text-align: center;
  color: #fff;
}
.h-cinematic-content .container { padding: 0 var(--gutter); }
.h-cinematic-eyebrow {
  color: rgba(255,255,255,0.92);
  margin: 0 auto 32px;
  font-size: 12px;
}
.h-cinematic-eyebrow::before,
.h-cinematic-eyebrow::after {
  background: var(--accent-soft);
}

.h-cinematic-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(27px, 4.3vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 auto 28px;
  max-width: none;
  text-shadow: 0 2px 30px rgba(0,0,0,0.65), 0 0 1px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.h-cinematic-headline em {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
  font-size: inherit;
  color: var(--accent-deep);
  text-shadow: 0 2px 18px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.7);
}

/* Word-swap rotator — per-letter dissolve with auto-resizing slot */
.word-swap {
  display: inline-grid;
  grid-template-columns: 1fr;
  vertical-align: baseline;
  position: relative;
  width: var(--ws-w, auto);
  transition: width 900ms cubic-bezier(0.65, 0, 0.35, 1);
  line-height: inherit;
}
.word-swap .word {
  grid-column: 1;
  grid-row: 1;
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
  font-size: inherit;
  color: var(--accent-deep);
  text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.75);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(0.65, 0, 0.35, 1);
  align-self: baseline;
  justify-self: start;
}
.word-swap .word.is-active { opacity: 1; }
.word-swap .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.08em);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}
.word-swap .word.is-active .letter {
  opacity: 1;
  transform: translateY(0);
}

.h-cinematic-body {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  max-width: 58ch;
  margin: 0 auto 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}
.h-cinematic-body em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.h-cinematic-cta { justify-content: center; }
.h-cinematic-cta .btn-ink {
  background: rgba(255,255,255,0.96);
  color: #0b0905;
  border-color: transparent;
}
.h-cinematic-cta .btn-ink:hover {
  background: var(--accent-soft);
  color: #fff;
}
.h-cinematic-cta .btn-ghost {
  color: rgba(255,255,255,0.92);
}
.h-cinematic-cta .btn-ghost::before {
  background: rgba(255,255,255,0.3);
}

.h-cinematic-dots {
  position: absolute;
  z-index: 4;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.cin-dot {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border: 0;
  cursor: pointer;
  transition: background 320ms var(--ease-out), width 320ms var(--ease-out);
}
.cin-dot.is-active {
  background: var(--accent-soft);
  width: 48px;
}

/* The hero wrapper for cinematic doesn't need the grid bg pattern */
body[data-hero="cinematic"] .hero { padding: 0 0 clamp(8px, 1.6vw, 24px); }
body[data-hero="cinematic"] .hero::before { display: none; }
body[data-hero="cinematic"] .vsl { position: relative; z-index: 5; }
body[data-hero="cinematic"] .press { padding-top: clamp(40px, 6vw, 72px); }

/* Mobile */
@media (max-width: 760px) {
  .h-cinematic-headline .display { font-size: clamp(40px, 13vw, 80px); }
  .h-cinematic-headline .script { font-size: clamp(26px, 8vw, 44px); margin: -4px 0; }
  .h-cinematic-body { font-size: 17px; max-width: 32ch; }
  .h-cinematic-dots { bottom: 24px; }
  .cin-dot { width: 24px; }
  .cin-dot.is-active { width: 36px; }
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  .h-cinematic-slide.is-active img { animation: none; transform: scale(1); }
  .h-cinematic-slide { transition: opacity 400ms ease; }
}

/* ============================================================
   HERO CINEMATIC — FIX DESKTOP/TABLET (≥641px)
   Il mobile (≤640px) NON è toccato da questo blocco.
   Problema risolto: con altezza fissa + overflow:hidden + content
   absolute centrato, headline/eyebrow/CTA venivano clippati (si
   vedeva solo il VSL). Qui: content in flow, hero auto-height,
   VSL centrato e contenuto, foto Simona come backdrop scurito.
   ============================================================ */
@media (min-width: 641px) {
  .h-cinematic {
    display: block;
    height: auto;
    min-height: clamp(600px, 92vh, 860px);
    align-items: initial;
    overflow: hidden;
    padding: clamp(64px, 9vh, 120px) 0 clamp(52px, 7vh, 96px);
  }
  .h-cinematic-content {
    position: relative;
    top: auto;
    transform: none;
  }
  .h-cinematic-eyebrow { margin-bottom: 24px; }
  .h-cinematic-headline { margin-bottom: 22px; }
  .h-cinematic-body { margin-bottom: 0; }
  .h-cinematic-content .vsl {
    max-width: 760px;
    margin: clamp(32px, 4vh, 48px) auto 0;
  }
  .h-cinematic-content .vsl-cta {
    margin-top: clamp(28px, 3vh, 40px);
    display: flex;
    justify-content: center;
  }
  /* foto a piena altezza → overlay più scuro per leggibilità testo */
  .h-cinematic-overlay {
    background:
      linear-gradient(180deg, rgba(8,6,4,0.88) 0%, rgba(8,6,4,0.74) 30%, rgba(8,6,4,0.80) 60%, rgba(8,6,4,0.97) 100%),
      radial-gradient(ellipse 75% 65% at 50% 42%, rgba(8,6,4,0.35), rgba(8,6,4,0.78) 95%);
  }
}

/* ============================================================
   LOGO STRIP — "Raccontato su" minimal one-liner
   ============================================================ */
.logo-strip {
  padding: clamp(18px, 3vw, 32px) 0;
}
.logo-strip .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.logo-strip-label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.logo-strip-viewport {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  /* sfumatura ai bordi sx/dx: i loghi appaiono e scompaiono */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.logo-strip-list {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: baseline;
  gap: 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 28px);
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.4;
  animation: logoStripScroll 38s linear infinite;
}
.logo-strip-list .logo-item { flex: 0 0 auto; white-space: nowrap; margin-right: clamp(28px, 3vw, 52px); }
.logo-strip .logo-sep {
  font-family: var(--display);
  color: var(--accent-deep);
  opacity: 0.6;
}
@media (max-width: 760px) {
  .logo-strip { padding: 22px 0 24px; }
  .logo-strip .container { gap: 22px; }
  .logo-strip-label { font-size: 13px; letter-spacing: 0.42em; }
  .logo-strip-list { font-size: 19px; line-height: 1.2; }
  .logo-strip-list .logo-item { margin-right: clamp(28px, 6vw, 44px); }
  .logo-strip .logo-sep { opacity: 0.45; font-size: 19px; }
}
@keyframes logoStripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   PERCORSO — 4 step cards
   ============================================================ */
.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin: 0;
  padding: 0;
  counter-reset: step-counter;
}
@media (max-width: 960px) { .step-list { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; gap: 24px; } }

.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule);
  position: relative;
  opacity: 0.45;
  transform: translateY(0);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
}
.step.is-active {
  opacity: 1;
  transform: translateY(-4px);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px;
  height: 1px;
  background: var(--accent-deep);
  transform-origin: left;
  transform: scaleX(0.4);
  transition: transform 720ms var(--ease-out), width 720ms var(--ease-out);
}
.step.is-active::before {
  transform: scaleX(1);
  width: 100%;
}

.step-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.step-num {
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 0.9;
  letter-spacing: 0;
  transition: color 480ms var(--ease-out);
}
.step:not(.is-active) .step-num { color: var(--ink-soft); }
.step-when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.step-title {
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.step-title em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
}
.step-body {
  font-family: var(--sans);
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.96;
  margin: 0;
  max-width: 36ch;
}
.step-body em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 1em;
  font-weight: 600;
  color: var(--accent-deep);
  opacity: 1;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .step { opacity: 1 !important; transform: none !important; transition: none; }
  .step::before { transform: scaleX(1); width: 100%; }
}

/* ============================================================
   TESTIMONIANZE — Google reviews cards
   ============================================================ */
/* .testimonianze: padding verticale = --section-pad globale (vedi rule "section") */
/* viewport: clippa + sfuma i bordi; il track (.testi-grid) scorre dentro */
.testi-viewport {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.testi-grid {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;
  padding: 6px 0;
  animation: testiScroll 52s linear infinite;
}
.testi-grid .testi-card { flex: 0 0 clamp(300px, 24vw, 352px); margin-right: clamp(18px, 1.8vw, 28px); }
@media (max-width: 760px) {
  .testi-viewport { margin-bottom: clamp(28px, 4vw, 40px); }
  .testi-grid .testi-card {
    flex: 0 0 72vw;
    max-width: 280px;
    margin-right: 16px;
    padding: 22px 22px 20px;
    gap: 14px;
  }
  .testi-grid .testi-quote { font-size: 14.5px; line-height: 1.55; }
  .testi-grid .testi-stars { font-size: 16px; }
  .testi-grid .testi-name { font-size: 14.5px; }
  .testi-grid .testi-when { font-size: 9.5px; }
}
@keyframes testiScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testi-card {
  background: var(--paper-card);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  transition: transform 380ms var(--ease-out), border-color 320ms var(--ease-out);
}
.testi-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.testi-stars {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  line-height: 1;
}
.testi-quote {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.testi-quote em {
  color: var(--accent-deep);
  font-family: var(--sans);
  font-style: normal;
  font-size: 1em;
  font-weight: 500;
}
.testi-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.testi-name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.testi-when {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.testi-foot {
  text-align: center;
}

.press { padding-top: clamp(72px, 10vw, 120px); }
.press-head {
  max-width: 1100px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.press-head .eyebrow { justify-content: center; }
.press-head .eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  margin-left: 12px;
}
.press-title {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}
.press-title em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
@media (max-width: 960px) {
  .press-grid { grid-template-columns: repeat(3, 1fr); }
  .press-card:nth-child(n+4) { display: none; }
}
@media (max-width: 560px) {
  .press-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .press-card:nth-child(3) { display: block; }
  .press-card:nth-child(n+5) { display: none; }
}
.press-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 380ms var(--ease-out);
}
.press-card:hover { transform: translateY(-3px); }
.press-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 18px 30px -18px rgba(0,0,0,0.35);
}
.press-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
  transition: transform 1.1s var(--ease-out);
}
.press-card:hover .press-img img { transform: scale(1.05); }
.press-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 16px;
  font-family: var(--mono);
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 2;
  white-space: normal;
  line-height: 1.2;
}
.press-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.press-pub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.press-cap {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.marquee-track {
  display: flex;
  gap: clamp(48px, 7vw, 96px);
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.marquee-item .mark {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION CHROME
   ============================================================ */
section { padding: var(--section-pad) 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.section-head .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
}
.section-head .label .num {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: 0;
  color: var(--accent-deep);
  line-height: 0.9;
  font-weight: 400;
}
.section-head .label b { color: var(--ink); font-weight: 500; letter-spacing: 0.32em; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(38px, 6.4vw, 80px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head h2 em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
  font-size: 1.12em;
  font-weight: 500;
  line-height: 0.9;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}

/* ============================================================
   MANIFESTO — Linee di Venere
   ============================================================ */
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}
@media (max-width: 880px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
}
.manifesto-copy h2 {
  font-family: var(--display);
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 28px;
  letter-spacing: -0.018em;
}
.manifesto-copy h2 em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
}
.manifesto-copy p {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
  color: var(--ink);
  max-width: 52ch;
  margin-bottom: 20px;
  opacity: 0.9;
}
.manifesto-copy p em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: var(--accent-deep);
}
.manifesto-copy .signature {
  font-family: var(--script);
  font-size: 32px;
  color: var(--accent-deep);
  margin-top: 8px;
  line-height: 1;
}
.manifesto-art {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}
.manifesto-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
.manifesto-art .opus-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in oklab, var(--paper) 78%, transparent);
  padding: 6px 10px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ============================================================
   METODO — Scrollytelling triptych
   ============================================================ */
.metodo { background: var(--paper-deep); }
.metodo .section-head h2 { color: var(--ink); }
.metodo .section-head,
.percorso .section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: clamp(32px, 5vw, 64px); }

.acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: flex-start;
}
@media (max-width: 880px) {
  .acts { grid-template-columns: 1fr; gap: 24px; }
}

.acts-sticky {
  position: sticky;
  top: 96px;
  align-self: start;
  aspect-ratio: 3 / 4;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .acts { gap: 0; }
  .acts-sticky {
    aspect-ratio: auto;
    height: clamp(280px, 44vh, 380px);
    width: 100%;
    margin-bottom: 8px;
    top: 64px;
    z-index: 5;
    /* slight shadow when pinned over text */
    box-shadow: 0 18px 30px -18px rgba(0,0,0,0.35);
  }
  .acts-sticky figure img { width: 56%; max-height: 88%; object-fit: contain; }
  .acts-sticky .stage-label { top: 14px; left: 16px; font-size: 9.5px; letter-spacing: 0.28em; }
  .acts-sticky .stage-num { font-size: 56px; bottom: 12px; right: 18px; opacity: 0.12; }
  .acts-sticky .frame { inset: 10px; }
  /* progress dots overlay on the sticky figure */
  .acts-sticky::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 14px;
    transform: translateX(-50%);
    width: 64px;
    height: 1px;
    background: linear-gradient(to right,
      var(--accent-deep) 0,
      var(--accent-deep) calc(33.33% * var(--acts-step, 1)),
      var(--rule) calc(33.33% * var(--acts-step, 1)),
      var(--rule) 100%);
    z-index: 4;
    transition: background 360ms var(--ease-out);
  }
}
.acts-sticky figure {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.acts-sticky figure.is-active { opacity: 1; }
.acts-sticky figure img { width: 78%; height: auto; }
.acts-sticky .frame {
  position: absolute;
  inset: 18px;
  border: 1px solid var(--rule);
  pointer-events: none;
  z-index: 2;
}
.acts-sticky .stage-label {
  position: absolute;
  top: 28px; left: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 3;
}
.acts-sticky .stage-num {
  position: absolute;
  bottom: 28px; right: 32px;
  font-family: var(--display);
  font-size: 80px;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.08;
  line-height: 1;
  z-index: 1;
}

.acts-content { display: flex; flex-direction: column; }
.act {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--rule);
}
.act:last-child { border-bottom: 0; }
@media (max-width: 880px) {
  .act {
    min-height: auto;
    padding: 0 0 56px;
  }
  .act-mobile-img {
    aspect-ratio: 3 / 4;
    background: var(--paper-card);
    border: 1px solid var(--rule);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
  }
  .act-mobile-img img { width: 80%; height: auto; }
}
.act-mobile-img { display: none; }
@media (max-width: 880px) {
  .act {
    min-height: 70vh;
    padding: 36px 0 56px;
  }
  .act:first-child { padding-top: 16px; }
}

.act-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.act-step b { color: var(--accent-deep); font-weight: 500; }
.act h3 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.018em;
  margin-bottom: 16px;
}
.act h3 em { font-family: inherit; font-style: italic; color: var(--accent-deep); }
.act .sub {
  font-family: inherit;
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 23px);
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.5;
  max-width: 44ch;
  opacity: 0.92;
}
.act p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 46ch;
}
.act ul {
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}
.act ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 18px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.55;
}
.act ul li::before {
  content: counter(act-counter, decimal-leading-zero);
  counter-increment: act-counter;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  min-width: 24px;
}
.act ul { counter-reset: act-counter; }

/* ============================================================
   CATALOGO — Before/After grid
   ============================================================ */
.catalogo .section-head h2 em { color: var(--accent-deep); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr; max-width: 460px; }
}
.cat-benefits { max-width: 720px; margin: 0 auto; }

/* Cat hero — single split before/after + benefit list (Qoves-inspired) */
.cat-hero {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 760px) {
  .cat-hero { grid-template-columns: 1fr; gap: 28px; }
}
.cat-hero .cat-card { width: 100%; }
.cat-benefits {
  list-style: none !important;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) !important;
  margin: 0 auto;
  max-width: 880px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.cat-benefits li::marker { content: none !important; }
.cat-benefits li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.5;
  position: relative;
  text-wrap: pretty;
}
.cat-benefits li + li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 14px;
  width: 1px;
  height: 12px;
  background: var(--rule);
}
.cat-benefits .q-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  background: transparent;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}
.cat-benefits li em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: var(--accent-deep);
}

/* ============================================================
   CATALOGO — split 2 colonne SOLO desktop (≥980px)
   Testo (head + elenco) a sinistra, foto BA a destra (stile Qoves).
   Usa grid-template-areas: l'ordine HTML resta invariato → mobile
   (<980px) intoccato (head → foto → elenco stacked come prima).
   ============================================================ */
@media (min-width: 980px) {
  .catalogo .container {
    display: grid;
    max-width: min(1640px, 92vw);
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "head  photos"
      "list  photos";
    column-gap: clamp(40px, 4vw, 72px);
    row-gap: 26px;
    align-items: start;
  }
  .catalogo .section-head {
    grid-area: head;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }
  .catalogo .section-head h2 {
    font-size: clamp(34px, 3vw, 52px);
    line-height: 1.05;
  }
  .catalogo .cat-benefits {
    grid-area: list;
    align-self: start;
    margin: 0;
    max-width: none;
  }
  /* foto grandi che riempiono la colonna destra, top-allineate con l'headline */
  .catalogo .cat-grid {
    grid-area: photos;
    align-self: start;
    margin: 0;
    max-width: none;
    gap: clamp(16px, 1.5vw, 28px);
  }
}

/* ---------- Before/After compare slider ---------- */
.ba-compare {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  --ba-pos: 50%;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.ba-before {
  z-index: 1;
}
.ba-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
  will-change: clip-path;
}
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos);
  width: 1px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-0.5px);
  z-index: 5;
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}
.ba-divider::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -22px;
  right: -22px;
}
.ba-handle {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 200ms var(--ease-out), background 200ms var(--ease-out);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.ba-compare:hover .ba-handle { transform: translate(-50%, -50%) scale(1.06); background: rgba(255, 255, 255, 0.1); }
.ba-tag {
  position: absolute;
  top: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
  padding: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  opacity: 0.85;
}
.ba-tag-l { left: 16px; }
.ba-tag-r { right: 16px; }
.ba-compare { touch-action: pan-y; }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 0;
}
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 100%;
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 60px;
  height: 100%;
  cursor: ew-resize;
  border: 0;
  background: transparent;
}
.ba-range:focus { outline: none; }

@media (max-width: 540px) {
  .ba-handle { width: 30px; height: 30px; }
  .ba-tag { font-size: 9px; padding: 0; }
}

.cat-card {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  overflow: hidden;
  border-radius: 12px;
  transition: transform 480ms var(--ease-out), box-shadow 480ms var(--ease-out);
}
.cat-card .ba-compare,
.cat-card .ba-img { border-radius: 8px; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.cat-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--paper-deep);
}
.cat-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px 18px;
  gap: 16px;
}
.cat-meta-l { font-family: var(--sans); font-style: normal; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.2; letter-spacing: 0.01em; }
.cat-meta-r {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.cat-foot {
  text-align: center;
  margin-top: clamp(24px, 4vw, 40px);
}

/* ============================================================
   DR PETRENGA — Bio
   ============================================================ */
.dottore {
  background: var(--ink);
  color: var(--paper);
}
body[data-palette="vault"] .dottore { background: var(--paper-deep); }
.dottore .section-head { border-bottom-color: rgba(255,255,255,0.12); }
body[data-palette="vault"] .dottore .section-head { border-bottom-color: var(--rule); }
.dottore .section-head h2 { color: var(--paper); }
body[data-palette="vault"] .dottore .section-head h2 { color: var(--ink); }
.dottore .section-head h2 em { color: var(--accent-soft); }
.dottore .section-head .label { color: rgba(255,255,255,0.5); }
.dottore .section-head .label b { color: var(--paper); }
body[data-palette="vault"] .dottore .section-head .label { color: var(--ink-soft); }
body[data-palette="vault"] .dottore .section-head .label b { color: var(--ink); }

.dottore-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: flex-start;
}
@media (max-width: 880px) {
  .dottore-grid { grid-template-columns: 1fr; }
}
.dottore-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
}
@media (max-width: 880px) {
  /* Su single-column rimuoviamo del tutto il drop-shadow della foto:
     1. la shadow extending sotto la foto creava un'area scura dove appariva la firma
     2. iOS Safari ha rendering quirks su filter drop-shadow durante scroll/reveal
     3. su mobile la foto è già ben staccata dal contesto, non serve shadow */
  .dottore-photo { filter: none; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
  .dottore-copy .signature { margin-top: 24px; }
  /* Disabilito anche il reveal-animation sul container dottore-copy per evitare
     che la firma slidi attraverso la zona shadow durante 800ms di reveal */
  .dottore-copy.reveal { transform: translateY(0) !important; opacity: 1 !important; transition: none !important; }
}
.dottore-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.dottore-copy { color: rgba(255,255,255,0.86); }
body[data-palette="vault"] .dottore-copy { color: var(--ink); }
.dottore-copy .signature {
  font-family: var(--script);
  font-size: 42px;
  color: var(--accent-deep);
  margin-bottom: 18px;
  line-height: 1;
  opacity: 0.95;
}
.dottore-copy .lead {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--paper);
  margin-bottom: 28px;
  max-width: 38ch;
}
body[data-palette="vault"] .dottore-copy .lead { color: var(--ink); }
.dottore-copy p {
  font-size: 16.5px;
  color: rgba(255,255,255,0.86);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 16px;
}
body[data-palette="vault"] .dottore-copy p { color: var(--ink-soft); }

/* ============================================================
   WORDMARK WALL — slider loghi formazione in coda a L'Autore (#studio)
   full-bleed marquee, riusa il keyframe logoStripScroll
   ============================================================ */
.form-logos-viewport {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding: clamp(16px, 2.2vw, 28px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.form-logos-list {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(16px, 1.7vw, 22px);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  line-height: 1.3;
  animation: logoStripScroll 46s linear infinite;
}
.form-logos-list .form-logo { flex: 0 0 auto; white-space: nowrap; margin-right: clamp(24px, 2.6vw, 44px); }
.form-logos-list .form-sep { color: var(--accent-soft); opacity: 0.55; }
/* lo slider chiude la sezione L'Autore: niente padding sotto → la fine sezione combacia col fondo dello slider */
#studio { padding-bottom: 0; }
/* da desktop lo slider era troppo attaccato alla bio/foto → più stacco sopra (mobile ≤640 invariato) */
@media (min-width: 641px) {
  #studio .logo-strip { margin-top: clamp(48px, 5vw, 90px); }
}

@media (max-width: 640px) {
  .form-logos-list { font-size: 17px; }
}

/* logo wall a immagini (greyscale) — attivo appena ci sono <img> nei .form-logo */
.form-logo-img {
  height: clamp(26px, 2.8vw, 36px);
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  mix-blend-mode: multiply; /* annulla i fondi bianchi dei loghi sul beige */
  transition: opacity 240ms var(--ease-out), filter 240ms var(--ease-out);
}
.form-logo-img + .form-logo-txt { display: none; }

/* ============================================================
   FA PER TE / NON È PER TE — Qoves-inspired (numbered steps)
   ============================================================ */
.qualifier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  overflow: visible;
}
@media (max-width: 760px) {
  .qualifier-grid { grid-template-columns: 1fr; gap: 16px; }
}
.qualifier-col {
  padding: clamp(32px, 4.5vw, 52px) clamp(24px, 3.5vw, 40px);
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.qualifier-col.is-yes {
  background: var(--paper-card);
  border-color: var(--accent-soft);
}
.qualifier-col.is-no {
  background: var(--paper-deep);
  border-color: var(--rule);
}
.qualifier-col .qualifier-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--accent-deep);
}
.qualifier-col.is-no .qualifier-icon { color: var(--ink-faint); }
.qualifier-col .qualifier-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
  color: var(--ink);
  text-align: center;
}
.qualifier-col.is-no .qualifier-title { color: var(--ink); }
.qualifier-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
  counter-reset: q;
}
.qualifier-list::marker, .qualifier-list li::marker { content: none !important; }
.qualifier-col li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  font-family: var(--sans);
  font-style: normal;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
  text-wrap: pretty;
  position: relative;
}
.qualifier-col li + li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 14px;
  width: 1px;
  height: 12px;
  background: var(--rule);
}
.qualifier-col .q-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  background: transparent;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  flex-shrink: 0;
}
.qualifier-col.is-no .q-num {
  border-color: var(--rule);
  color: var(--ink-faint);
}
.qualifier-col .q-text { display: block; }
.qualifier-col li em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: var(--accent-deep);
}
.qualifier-col.is-no li { color: var(--ink); }
.qualifier-col.is-no li em { color: var(--accent-deep); }

/* ============================================================
   INVESTIMENTO
   ============================================================ */
.invest-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper-card);
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: clamp(36px, 5vw, 72px);
  position: relative;
}
.invest-card::before { display: none; }
.invest-card-inner { position: relative; z-index: 1; }
.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 720px) { .invest-grid { grid-template-columns: 1fr; gap: 28px; } }
.invest-l .opus { margin-bottom: 18px; }
.invest-l h3 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.invest-l h3 em { font-family: inherit; font-style: italic; color: var(--accent-deep); }
.invest-l p {
  font-family: var(--sans);
  font-style: normal;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 42ch;
  opacity: 1;
}
.invest-list { list-style: none !important; padding: 8px 0 0 !important; margin: 0; }
.invest-list li::marker { content: none !important; }
.invest-list li {
  display: flex;
  gap: 12px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 0;
  align-items: flex-start;
  line-height: 1.5;
}
.invest-list li::before { content: none; }
.invest-list li::before {
  content: "\2014";
  color: var(--accent-deep);
  font-weight: 500;
}
.invest-r { text-align: center; }
/* Invest eyebrow — clean 2-line label (mono + serif italic) */
.invest-eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin-bottom: 22px;
  white-space: nowrap;
}
.invest-eyebrow b {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.invest-eyebrow span {
  font-family: inherit;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.invest-r .invest-eyebrow { align-items: center; }
.invest-r .invest-eyebrow b { color: var(--accent-deep); }
@media (max-width: 720px) {
  .invest-eyebrow { white-space: normal; }
}

.invest-r .invest-amount {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  font-family: var(--display);
  font-size: clamp(72px, 11vw, 130px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 8px 0 16px;
}
.invest-r .invest-amount sup,
.invest-r .invest-amount sub {
  position: relative;
  font-size: 0.22em;
  font-family: inherit;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: baseline;
  top: auto;
}
.invest-r .invest-amount sup {
  align-self: flex-start;
  margin-right: 12px;
  margin-top: 0.4em;
}
.invest-r .invest-amount sub {
  align-self: flex-start;
  margin-left: 6px;
  margin-top: 0.4em;
}

.invest-r {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.invest-deposit {
  margin: 0 0 24px;
  padding-top: 0;
  text-align: center;
}
.invest-deposit strong {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.invest-r .invest-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0;
  margin: 8px 0 22px;
  border: 0;
  width: 100%;
  text-align: center;
}
.invest-r .btn { width: 100%; max-width: 320px; }
.invest-amount {
  font-family: var(--display);
  font-size: clamp(72px, 12vw, 144px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.invest-amount sup {
  font-size: 0.32em;
  font-family: inherit;
  font-style: italic;
  color: var(--ink-soft);
  vertical-align: top;
  font-weight: 400;
  margin-right: 4px;
  letter-spacing: 0;
}
.invest-amount sub {
  font-size: 0.32em;
  font-family: inherit;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  vertical-align: top;
  letter-spacing: 0;
  margin-left: 4px;
}
.invest-meta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0;
  margin: 8px 0 22px;
  border: 0;
}
.invest-deposit {
  font-family: var(--sans);
  font-style: normal;
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}
.invest-deposit strong {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}
.invest-r .btn { width: 100%; }

/* ============================================================
   INVEST · Qoves-style hero card + benefits stack
   ============================================================ */
.invest-hero {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--accent-soft);
  border-radius: 16px;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 40px);
  background:
    linear-gradient(168deg, rgba(214, 178, 122, 0.10) 0%, rgba(214, 178, 122, 0.02) 55%, rgba(0, 0, 0, 0) 100%),
    var(--paper-card);
  overflow: hidden;
  isolation: isolate;
}
.invest-hero-glow {
  position: absolute;
  top: -30%;
  right: -25%;
  width: 70%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(214, 178, 122, 0.18) 0%, rgba(214, 178, 122, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.invest-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.invest-hero-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.invest-hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 500;
}
.invest-hero-tagline {
  font-family: var(--display);
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.invest-hero-tagline em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
}
.invest-hero-price {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.invest-hero-price .invest-amount {
  font-family: var(--display);
  font-size: clamp(72px, 12vw, 130px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  margin: 0;
}
.invest-hero-price .invest-amount sup {
  font-size: 0.22em;
  font-family: inherit;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: baseline;
  align-self: flex-start;
  margin-right: 12px;
  margin-top: 0.4em;
}
.invest-hero-price .invest-amount sub {
  font-size: 0.22em;
  font-family: inherit;
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: baseline;
  align-self: flex-start;
  margin-left: 6px;
  margin-top: 0.4em;
}
.invest-hero-price .invest-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  width: auto;
}
.invest-hero-deposit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0 4px;
  border-top: 1px solid var(--accent-soft);
}
.invest-hero-deposit strong {
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.invest-hero-deposit span {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.invest-hero-cta {
  width: 100%;
  margin-top: 8px;
  justify-content: space-between;
  padding-left: 22px;
  padding-right: 22px;
}

.invest-benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.invest-benefit {
  background: var(--paper-card);
  border: 1px solid var(--accent-soft);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.invest-bcheck {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-top: 2px;
}
.invest-benefit-body { flex: 1 1 auto; }
.invest-benefit-body h4 {
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.invest-benefit-body p {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 600px) {
  .invest-hero { padding: 32px 22px 28px; }
  .invest-hero-tagline { font-size: 22px; }
  .invest-hero-price .invest-amount { font-size: 76px; }
  .invest-benefit { padding: 18px 18px; gap: 14px; }
  .invest-bcheck { flex: 0 0 24px; width: 24px; height: 24px; }
}

/* ============================================================
   FORM — Il Ritratto
   ============================================================ */
.scheda {
  background: var(--paper-deep);
}
.scheda-card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--paper-card);
  border: 1px solid var(--ink);
  position: relative;
}
.scheda-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--ink);
  color: var(--paper);
  gap: 16px;
  flex-wrap: wrap;
}
body[data-palette="vault"] .scheda-head { background: var(--paper-card); color: var(--ink); border-bottom-color: var(--rule); }
.scheda-head-r { color: var(--accent-soft); }

.scheda-body {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
@media (max-width: 880px) { .scheda-body { grid-template-columns: 1fr; } }
.scheda-form { padding: clamp(28px, 4vw, 48px); }
.scheda-form h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.scheda-form h3 em { font-family: inherit; font-style: italic; color: var(--accent-deep); }
.scheda-form > p {
  font-family: inherit;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 24px;
}
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.field {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field + .field { border-top: 1px solid var(--rule); }
.field:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--rule); }
@media (max-width: 560px) { .field:nth-child(2n) { padding-left: 0; border-left: 0; } }
.field.full { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.field label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-style: italic;
  font-size: 18px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ink);
  padding: 4px 0;
  width: 100%;
  font-weight: 400;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.field textarea { resize: vertical; min-height: 48px; line-height: 1.5; }
.field select { font-family: inherit; }
.field-foot {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.field-foot .btn { flex: 1 1 auto; }
.fineprint {
  font-family: inherit;
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 16px;
  line-height: 1.5;
}

.scheda-side {
  background: var(--paper-deep);
  padding: clamp(28px, 4vw, 48px);
  border-left: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 880px) {
  .scheda-side { border-left: 0; border-top: 1px solid var(--ink); }
}
.scheda-side h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 8px;
}
.scheda-side .channels {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.scheda-side .channels li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.scheda-side .channels li:last-child { border-bottom: 1px solid var(--rule); }
.sedi-strip li + li::before { display: none; }
.channel-name {
  font-family: var(--sans);
  font-style: normal;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 500;
}
.channel-name small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-style: normal;
  margin-top: 4px;
}
.channel-arrow {
  font-family: var(--display);
  font-size: 28px;
  color: var(--ink);
  transition: color 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.scheda-side .channels li:hover .channel-arrow { color: var(--accent-deep); transform: translateX(4px); }

.sedi {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.sedi ul { list-style: none; }
.sedi li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
}
.sedi .city {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.sedi .addr {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

/* ============================================================
   PRENOTAZIONE · Two-channel cards
   ============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 760px) { .booking-grid { grid-template-columns: 1fr; } }

.booking-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(18px, 2vw, 22px) clamp(20px, 2.6vw, 28px);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 320ms var(--ease-out), transform 480ms var(--ease-out), background 320ms var(--ease-out);
  isolation: isolate;
}
.booking-card::before { display: none; }
.booking-card:hover { border-color: var(--accent); transform: translateY(-2px); }
body[data-palette="vault"] .booking-card { background: var(--paper-deep); }
body[data-palette="vault"] .booking-card:hover { background: var(--paper-rich); }

.booking-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.booking-num {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  color: var(--accent-deep);
  font-weight: 400;
  letter-spacing: 0;
}
.booking-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.booking-body { flex: 1; }
.booking-body h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.018em;
  margin-bottom: 18px;
  color: var(--ink);
}
.booking-body h3 em { font-family: inherit; font-style: italic; color: var(--accent-deep); }
.booking-body p {
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(16px, 1.2vw, 17.5px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 40ch;
  opacity: 1;
}
.booking-meta {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 28px;
}
.booking-meta li::marker { content: none !important; }
.booking-meta li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}
.booking-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  flex-shrink: 0;
  margin-top: 1px;
}
.booking-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  flex-shrink: 0;
}
.booking-cta {
  flex: 1;
  font-family: var(--sans);
  font-size: clamp(12.5px, 1.1vw, 14px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.booking-arrow {
  font-family: var(--display);
  font-size: 22px;
  color: var(--accent-deep);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 320ms var(--ease-out);
}
.booking-card:hover .booking-arrow { transform: translate(4px, -2px); }

/* SEDI strip — list compatta con pin + city/addr + days pill */
.sedi-strip {
  max-width: 720px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  position: relative;
}
.sedi-strip-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
  text-align: center;
}
.sedi-strip ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sedi-strip ul li::marker { content: none !important; }
.sedi-strip li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  position: relative;
}
.sedi-strip li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}
.sedi-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  flex-shrink: 0;
}
.sedi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sedi-strip .city {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.005em;
  color: var(--ink);
  font-weight: 400;
  line-height: 1;
}
.sedi-strip .addr {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.7;
  letter-spacing: 0.01em;
}
.sedi-strip .days {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding: 5px 11px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .sedi-strip .city { font-size: 20px; }
  .sedi-strip .days { font-size: 9px; padding: 4px 8px; letter-spacing: 0.22em; }
  .sedi-strip li { grid-template-columns: 28px 1fr auto; gap: 10px; }
}
   ============================================================ */
.faq-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: none; }
/* removed double-divider: section-head already provides bottom border */
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  gap: 18px;
  align-items: baseline;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink);
  line-height: 1.25;
  transition: color 220ms var(--ease-out);
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-q .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
  padding-top: 8px;
}
.faq-q .toggle {
  font-family: var(--display);
  font-size: 28px;
  color: var(--accent-deep);
  text-align: right;
  transition: transform 320ms var(--ease-out);
  line-height: 1;
}
.faq-item.is-open .faq-q .toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease-out);
}
.faq-item.is-open .faq-a { max-height: 480px; }
.faq-a-inner {
  padding: 0 0 28px 58px;
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(16px, 1.2vw, 17.5px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
  max-width: 64ch;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 320ms var(--ease-out) 80ms, transform 320ms var(--ease-out) 80ms;
}
.faq-item.is-open .faq-a-inner { opacity: 1; transform: translateY(0); }
@media (max-width: 560px) {
  .faq-q { grid-template-columns: 32px 1fr 24px; gap: 12px; }
  .faq-a-inner { padding-left: 44px; }
}

/* ============================================================
   FIRMA — Closer
   ============================================================ */
.firma {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
body[data-palette="vault"] .firma { background: var(--paper-deep); color: var(--ink); }
.firma::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 70%);
}
body[data-palette="vault"] .firma::before {
  background-image:
    linear-gradient(to right, var(--rule-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule-soft) 1px, transparent 1px);
}
.firma-inner { position: relative; z-index: 1; }
.firma .eyebrow { color: rgba(255,255,255,0.7); margin: 0 auto 36px; }
body[data-palette="vault"] .firma .eyebrow { color: var(--ink-soft); }
.firma .eyebrow::before, .firma .eyebrow::after { background: var(--accent); }
.firma h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.018em;
  color: var(--paper);
}
body[data-palette="vault"] .firma h2 { color: var(--ink); }
.firma h2 em { font-family: inherit; font-style: italic; color: var(--accent-soft); }

.firma-quote {
  font-family: inherit;
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.4;
  color: var(--paper);
  max-width: 30ch;
  margin: 0 auto 32px;
  font-weight: 400;
  text-wrap: balance;
}
body[data-palette="vault"] .firma-quote { color: var(--ink); }
.firma-quote::before { content: "\201C"; color: var(--accent-soft); margin-right: 4px; font-family: var(--display); font-style: normal; }
.firma-quote::after { content: "\201D"; color: var(--accent-soft); margin-left: 4px; font-family: var(--display); font-style: normal; }

.firma-sig {
  font-family: var(--script);
  font-size: 48px;
  color: var(--accent-soft);
  margin-bottom: 18px;
  line-height: 1;
}
.firma-attrib {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 56px;
}
body[data-palette="vault"] .firma-attrib { color: var(--ink-soft); }
.firma .btn-line {
  color: var(--paper);
  border-color: var(--paper);
}
body[data-palette="vault"] .firma .btn-line { color: var(--ink); border-color: var(--ink); }
.firma .btn-line:hover { background: var(--paper); color: var(--ink); }
body[data-palette="vault"] .firma .btn-line:hover { background: var(--ink); color: var(--paper); }
.firma .btn-ink { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.firma .btn-ink:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.firma-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-top: 1px solid var(--rule);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 36px; } }
.foot-mark .brand-mark { font-size: 22px; }
.foot-mark p {
  font-family: var(--sans);
  font-style: normal;
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 32ch;
  line-height: 1.6;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col li {
  font-family: var(--sans);
  font-style: normal;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.foot-col li a:hover { color: var(--accent-deep); }
.foot-col li small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
  font-style: normal;
}
.foot-legalinfo {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--ink-faint);
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.foot-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
/* iubenda Privacy/Cookie Policy — stile coerente coi footer legal (no badge iubenda) */
.foot-legal { display: inline-flex; align-items: center; gap: 10px; }
.foot-legal a,
.foot-legal a.iubenda-embed {
  color: var(--ink-soft) !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: color 200ms var(--ease-out);
}
.foot-legal a:hover { color: var(--accent) !important; }
.foot-legal-sep { opacity: 0.5; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}
.sticky-cta.is-visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.sticky-cta .btn { padding: 14px 18px; font-size: 11px; letter-spacing: 0.18em; border-radius: 999px; }
.sticky-cta { display: none !important; }

/* ============================================================
   REVEAL animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* MOBILE TYPE FLOORS — keep readability at 360-414px */
@media (max-width: 540px) {
  body { font-size: 16.5px; line-height: 1.6; }
  .section-head h2 { font-size: clamp(30px, 9vw, 44px); }
  .h-quadro .h-headline { font-size: clamp(48px, 14vw, 88px); line-height: 0.9; }
  .h-quadro .h-headline .sub { font-size: clamp(18px, 5vw, 24px); }
  .h-atelier .h-headline { font-size: clamp(40px, 12vw, 64px); }
  .h-ritratto .h-headline { font-size: clamp(34px, 10vw, 56px); }
  .h-quadro .h-body, .h-atelier .h-body, .lede { font-size: 17px; }
  .booking-body h3, .qualifier-col h3, .invest-l h3, .booking-body h3 { font-size: clamp(28px, 8vw, 40px); }
  .manifesto-copy h2 { font-size: clamp(30px, 9vw, 44px); }
  .firma h2 { font-size: clamp(30px, 9vw, 44px); }
  .firma-quote { font-size: clamp(20px, 6.4vw, 28px); }
  .invest-amount { font-size: clamp(60px, 18vw, 96px); }
  .booking-meta li { grid-template-columns: 86px 1fr; font-size: 14.5px; }
  .booking-meta li b { font-size: 16px; }
}

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

/* ============================================================
   METODO · Tab system con auto-rotate (sostituisce scrollytelling)
   ============================================================ */
.method-tabs {
  margin-top: clamp(32px, 5vw, 56px);
  --method-cycle: 5000ms;
}
.method-tablist {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: clamp(8px, 1.4vw, 18px);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.method-tab {
  appearance: none;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 16px 18px 18px;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  transition: color 320ms var(--ease-out), border-color 320ms var(--ease-out);
}
.method-tab::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms var(--ease-out);
}
.method-tab.is-active::before { transform: scaleX(1); }
.method-tab.is-active { color: var(--ink); }
.method-tab:hover { color: var(--ink); }
.method-tab-roman {
  font-family: var(--display);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--accent);
}
.method-tab-label {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(14px, 1.5vw, 17px);
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: inherit;
}
.method-tab-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.method-tab-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--accent-deep);
  opacity: 0.7;
}
.method-tab.is-running .method-tab-progress {
  animation: methodProgress var(--method-cycle) linear forwards;
}
@keyframes methodProgress {
  from { width: 0; }
  to { width: 100%; }
}

.method-panels {
  position: relative;
  min-height: 320px;
}
.method-panel {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.method-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.method-art {
  position: relative;
  display: block;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.55));
}
.method-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
.method-copy .method-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.method-copy .method-step b {
  color: var(--accent-deep);
  font-weight: 500;
}
.method-copy h3 {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.method-copy h3 em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 500;
}
.method-copy .sub {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.95;
  margin: 0 0 22px;
}
.method-copy p {
  font-family: var(--sans);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.88;
  margin: 0 0 22px;
}
.method-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.method-copy ul li {
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.method-copy ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

@media (max-width: 760px) {
  .method-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .method-art {
    max-width: 360px;
    margin: 0 auto;
  }
  .method-tab {
    padding: 12px 10px 14px;
  }
  .method-tab-label { font-size: 14px; letter-spacing: 0.01em; }
  .method-tab-sub { display: none; }
  .method-tab-roman { font-size: 22px; }
  .method-panels { min-height: 540px; }
}

/* Hide the old scrollytelling DOM if anything is left from cache */
.acts, .acts-sticky, .acts-content, .act, .act-mobile-img { display: none !important; }

/* ============================================================
   PATH TABS — Il Percorso (riutilizza .method-* + override)
   ============================================================ */
.path-tabs .method-panels { min-height: 0; }
.path-tabs .path-copy { max-width: 720px; margin: 0 auto; text-align: left; }
.path-tabs .path-copy h3 {
  font-family: var(--display);
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.path-tabs .path-copy h3 em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 500;
}
.path-tabs .path-copy .method-step {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.path-tabs .path-copy .sub {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.95;
  margin: 0 0 22px;
}
.path-tabs .path-copy p {
  font-family: var(--sans);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.88;
  margin: 0;
}
.path-tabs .path-copy p em {
  font-family: var(--sans);
  font-style: normal;
  color: var(--accent-deep);
  font-weight: 600;
}
@media (max-width: 760px) {
  .path-tabs .method-tablist {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: row;
  }
  .path-tabs .method-tab { padding: 12px 6px 14px; }
  .path-tabs .method-tab-label { font-size: 12.5px; letter-spacing: 0.01em; line-height: 1.2; font-weight: 500; }
  .path-tabs .method-tab-sub { display: none; }
  .path-tabs .method-panels { min-height: 0; }
}

/* ============================================================
   BOOKING MODAL — popup prenotazione
   ============================================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 4vw, 60px) clamp(14px, 3vw, 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.booking-modal.is-open {
  display: flex;
  animation: modalFade 240ms var(--ease-out);
}
.booking-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 4, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.booking-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: auto;
  background: var(--paper, #f4ecd8);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  animation: modalSlide 320ms var(--ease-out);
}
.booking-modal-dialog.is-light {
  --ink: #1a1410;
  --ink-soft: #5a5044;
  --ink-faint: #8a7e6a;
  --paper: #f4ecd8;
  --paper-card: #fffaef;
  --accent: #a8703a;
  --accent-deep: #8a5a26;
  --accent-soft: #d6a865;
  --rule: rgba(26, 20, 16, 0.16);
  --rule-soft: rgba(26, 20, 16, 0.08);
  color: var(--ink);
}
.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.booking-modal-close:hover {
  background: var(--paper-card);
  border-color: var(--accent-soft);
}
.booking-modal-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.booking-modal-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.booking-modal-head h2 em {
  font-family: inherit;
  font-style: italic;
  color: var(--accent-deep);
}
.booking-modal-dialog .booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.booking-modal-dialog .sedi-strip {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
}

body.no-scroll {
  overflow: hidden;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .booking-modal { padding: 16px 12px; }
  .booking-modal-dialog { padding: clamp(48px, 8vw, 56px) clamp(18px, 4vw, 24px) clamp(28px, 5vw, 36px); }
  .booking-modal-dialog .booking-grid { grid-template-columns: 1fr; gap: 14px; }
  .booking-modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .booking-modal-head h2 { font-size: clamp(24px, 6vw, 30px); }
}

