/* ==========================================================================
   MiTutelo Partners · Brand identity
   Concept: Italian editorial dossier. Ivory + navy ink + aged gold.
   Fraunces serif + Inter + JetBrains Mono. Big type, horizontal motion.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ivory: #f3ece0;
  --ivory-deep: #eae0cd;
  --ivory-soft: #faf5ea;
  --paper: #fffaf0;
  /* Testo e linee: navy invece di nero puro */
  --ink: #1a2433;
  --ink-soft: #2c3545;
  --ink-line: #3e4a5c;
  --gold: #b8935a;
  --gold-deep: #8a6b3a;
  --gold-light: #d4b77c;
  --gold-foil: #e9cd94;
  --sepia: #6b5a3f;
  --ash: #8a7f6a;
  --red-seal: #9a2a2a;

  /* Typography */
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.88rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  --step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  --step-4: clamp(2.8rem, 2rem + 3.5vw, 5rem);
  --step-5: clamp(4rem, 2.5rem + 6vw, 8rem);
  --step-6: clamp(5rem, 3rem + 10vw, 14rem);

  /* Layout */
  --radius-s: 2px;
  --radius: 4px;
  --radius-l: 8px;
  --border: 1px solid rgba(26, 36, 51, 0.16);
  --border-strong: 1px solid rgba(26, 36, 51, 0.32);
  --border-gold: 1px solid rgba(184, 147, 90, 0.4);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --slow: 900ms;
  --med: 520ms;
  --fast: 220ms;

  /* Frame */
  --frame-pad: clamp(18px, 3vw, 36px);

  /* Prima schermata: top-strip + masthead (~32px + ~74px) + piccolo margine */
  --hero-header-offset: calc(110px + env(safe-area-inset-top, 0px));
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ivory);
  color: var(--ink);
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
  overscroll-behavior-y: none;
}

@media (hover: none), (max-width: 900px) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* Selection */
::selection { background: var(--gold); color: var(--ink); }

/* Utility */
.mono {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

em { font-style: italic; font-family: var(--serif); font-weight: 400; }

/* Ivory textured bg with subtle radial lights */
body.theme--studio {
  background:
    radial-gradient(1400px 800px at 12% -10%, rgba(184, 147, 90, 0.08), transparent 60%),
    radial-gradient(1000px 600px at 105% 25%, rgba(184, 147, 90, 0.05), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(184, 147, 90, 0.08), transparent 60%),
    var(--ivory);
}

/* ---------- Global grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.18 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: difference;
}
.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid rgba(244, 228, 190, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width var(--fast) var(--ease), height var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.cursor__dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--gold-foil);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor.is-hover .cursor__ring {
  width: 70px; height: 70px;
  border-color: var(--gold-foil);
}
.cursor.is-click .cursor__ring { width: 22px; height: 22px; }

@media (hover: none), (max-width: 900px) {
  .cursor { display: none; }
}

/* ==========================================================================
   TOP STRIP (infinite marquee, thin)
   ========================================================================== */
.top-strip {
  position: relative;
  z-index: 60;
  overflow: hidden;
  background: var(--ink);
  color: var(--gold-foil);
  border-bottom: 1px solid rgba(233, 205, 148, 0.2);
}
.top-strip__track {
  display: flex;
  white-space: nowrap;
  gap: 2rem;
  padding: 10px 0;
  animation: strip 80s linear infinite;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: max-content;
}
.top-strip__sep { color: rgba(233, 205, 148, 0.5); }
@keyframes strip {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   MASTHEAD
   ========================================================================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid rgba(233, 205, 148, 0.18);
}
.masthead a {
  color: inherit;
}
.masthead__row {
  max-width: 1760px;
  margin: 0 auto;
  padding: 10px var(--frame-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.masthead__mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
}
/* Box fisso + zoom: taglia il vuoto trasparente del PNG senza alzare troppo la barra */
.masthead__logo-slot {
  flex-shrink: 0;
  width: clamp(46px, 6vw, 54px);
  height: clamp(46px, 6vw, 54px);
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masthead__logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.42);
  transform-origin: center center;
  flex-shrink: 0;
}
.masthead__wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.55rem);
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.masthead__folio {
  justify-self: center;
  display: flex;
  gap: 10px;
  color: rgba(233, 205, 148, 0.82);
}
.masthead__folio-dot { opacity: 0.5; }

.menu-trigger {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(233, 205, 148, 0.38);
  border-radius: 999px;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
  color: var(--ivory);
}
.menu-trigger:hover {
  background: var(--gold-foil);
  color: var(--ink);
}
.menu-trigger__lines {
  position: relative;
  width: 16px; height: 10px;
  display: inline-block;
}
.menu-trigger__lines::before,
.menu-trigger__lines::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px; background: currentColor;
}
.menu-trigger__lines::before { top: 2px; }
.menu-trigger__lines::after  { bottom: 2px; }
.menu-trigger__text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .masthead__folio { display: none; }
  .masthead__wordmark {
    display: none;
  }
  .masthead__mark {
    gap: 0;
    flex-shrink: 0;
  }
  .masthead__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding-left: max(var(--frame-pad), env(safe-area-inset-left, 0px));
    padding-right: max(var(--frame-pad), env(safe-area-inset-right, 0px));
    padding-top: max(10px, env(safe-area-inset-top, 0px));
  }
  .menu-trigger {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   OVERLAY NAV
   ========================================================================== */
.overlay-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-100%);
  transition: transform var(--slow) var(--ease-out);
  overflow-y: auto;
}
.overlay-nav.is-open { transform: translateY(0); }

.overlay-nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 64px) var(--frame-pad) clamp(20px, 3vh, 40px);
  min-height: 100%;
  min-height: 100svh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.overlay-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 40px);
  flex-wrap: wrap;
  flex-shrink: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(233, 205, 148, 0.22);
}
.overlay-nav__logo {
  width: clamp(64px, 11vw, 96px);
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.overlay-nav__meta {
  display: flex;
  justify-content: space-between;
  flex: 1;
  min-width: min(100%, 260px);
  color: var(--gold-foil);
  padding-bottom: 0;
  border-bottom: none;
}
@media (max-width: 540px) {
  .overlay-nav__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .overlay-nav__meta { width: 100%; }
}

/* Home: meta è figlio diretto di .inner (senza .head) */
.overlay-nav__inner > .overlay-nav__meta:first-child {
  flex-shrink: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(233, 205, 148, 0.22);
}

.overlay-nav__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 0;
}
.overlay-nav__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.overlay-nav__list a {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: baseline;
  gap: 20px;
  padding: clamp(16px, 2.5vh, 28px) 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  transition: color var(--fast) var(--ease), padding-left var(--med) var(--ease);
}
.overlay-nav__list a:hover {
  color: var(--gold-foil);
  padding-left: clamp(10px, 2vw, 30px);
}
.overlay-nav__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 0.6em;
  min-width: 2em;
}
.overlay-nav__dust {
  flex: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
  height: 1px;
  align-self: center;
}
.overlay-nav__folio { color: var(--ash); }

.overlay-nav__foot {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: clamp(16px, 3vh, 28px);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--ash);
}

/* Chiusura menu su mobile (nessun tasto ESC) */
.overlay-nav__close {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  margin-bottom: max(8px, env(safe-area-inset-bottom, 0px));
  padding: 16px 20px;
  border: 1px solid rgba(233, 205, 148, 0.35);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.06);
  color: var(--ivory);
  cursor: pointer;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.overlay-nav__close:hover,
.overlay-nav__close:focus-visible {
  background: rgba(233, 205, 148, 0.12);
  border-color: rgba(233, 205, 148, 0.55);
  outline: none;
}
.overlay-nav__close-x {
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  font-family: var(--sans);
  color: var(--gold-foil);
}
@media (max-width: 900px) {
  .overlay-nav__foot {
    justify-content: center;
  }
  .overlay-nav__close {
    display: flex;
  }
  .overlay-nav__foot-hint {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.stage {
  position: relative;
}

.stage--hero {
  /* Altezza prima schermata sotto header (dvh/svh = chrome mobile incluso). */
  min-height: calc(100dvh - var(--hero-header-offset));
  min-height: calc(100svh - var(--hero-header-offset));
  padding: clamp(8px, 1.8vh, 40px) var(--frame-pad)
    max(clamp(8px, 1.6vh, 28px), env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Corner brackets */
.stage__framework {
  position: absolute;
  inset: clamp(20px, 3vw, 40px);
  pointer-events: none;
  z-index: 2;
}
.stage__corner {
  position: absolute;
  width: 24px; height: 24px;
}
.stage__corner::before,
.stage__corner::after {
  content: "";
  position: absolute;
  background: var(--gold);
}
.stage__corner::before { width: 100%; height: 1px; }
.stage__corner::after  { width: 1px; height: 100%; }
.stage__corner--tl { top: 0; left: 0; }
.stage__corner--tl::before { top: 0; left: 0; }
.stage__corner--tl::after  { top: 0; left: 0; }
.stage__corner--tr { top: 0; right: 0; }
.stage__corner--tr::before { top: 0; right: 0; }
.stage__corner--tr::after  { top: 0; right: 0; }
.stage__corner--bl { bottom: 0; left: 0; }
.stage__corner--bl::before { bottom: 0; left: 0; }
.stage__corner--bl::after  { bottom: 0; left: 0; }
.stage__corner--br { bottom: 0; right: 0; }
.stage__corner--br::before { bottom: 0; right: 0; }
.stage__corner--br::after  { bottom: 0; right: 0; }

/* Side rails */
.hero-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--sepia);
  z-index: 3;
}
.hero-side--left { left: clamp(20px, 3vw, 36px); }
.hero-side--right { right: clamp(20px, 3vw, 36px); }
.hero-side .mono {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.28em;
}
.hero-side--right .mono { transform: rotate(0deg); writing-mode: horizontal-tb; }
.hero-side__rule {
  width: 1px;
  height: 60px;
  background: var(--gold);
  opacity: 0.5;
}
.hero-side__rule--vertical { height: 120px; }

@media (max-width: 900px) {
  .hero-side { display: none; }
}

/* Main hero content */
.hero-main {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 1400px;
  width: 100%;
  padding: 0 clamp(20px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: var(--border-gold);
  border-radius: 999px;
  color: var(--gold-deep);
  background: rgba(255, 250, 240, 0.5);
  margin-top: clamp(-64px, -8.5vh, -28px);
  margin-bottom: clamp(38px, 6.2vh, 80px);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  /* Più grande ma ancora limitato in altezza per la prima schermata. */
  font-size: clamp(2.5rem, min(14vw + 3.8vh, 14.2vh), 20rem);
  line-height: 0.94;
  letter-spacing: -0.018em;
  word-spacing: clamp(0.06em, 0.45vw, 0.14em);
  margin: 0;
  color: var(--ink);
}
.hero-title__row {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroRise 1.1s var(--ease-out) forwards;
}
.hero-title__row:nth-child(1) { animation-delay: 0.1s; }
.hero-title__row:nth-child(2) {
  animation-delay: 0.28s;
  color: var(--gold-deep);
  font-style: italic;
  letter-spacing: -0.03em;
}
.hero-title .split {
  display: inline-block;
  position: relative;
}
.hero-title em {
  font-style: italic;
  font-family: var(--serif);
  color: var(--gold-deep);
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-under {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 620px) 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  margin: clamp(48px, 5.5vh, 120px) auto 0;
  max-width: 900px;
  opacity: 0;
  animation: heroRise 1s var(--ease-out) 0.6s forwards;
  flex-shrink: 0;
}
.hero-under__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-under__text {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.hero-under__text strong { font-weight: 600; color: var(--ink); }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vh, 22px);
  flex-wrap: wrap;
  margin-top: clamp(40px, 9vh, 96px);
  opacity: 0;
  animation: heroRise 1s var(--ease-out) 0.8s forwards;
  flex-shrink: 0;
}
.hero-platform-note {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 560px) 1fr;
  align-items: center;
  gap: clamp(10px, 1.8vw, 18px);
  max-width: 820px;
  margin: clamp(18px, 2.6vh, 28px) auto 0;
  color: var(--sepia);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  animation: heroRise 1s var(--ease-out) 0.95s forwards;
}
.hero-platform-note__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.hero-platform-note__text {
  display: inline-block;
}
.hero-platform-note__highlight {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  letter-spacing: 0.14em;
}
@media (max-width: 720px) {
  .hero-platform-note {
    grid-template-columns: 1fr;
  }
  .hero-platform-note__rule { display: none; }
}

/* Mobile: invito a scorrere sotto la piega */
.hero-scroll-hint {
  display: none;
  margin: 0;
}
@media (max-width: 900px) {
  .hero-kicker {
    display: none;
  }
  .hero-title {
    margin-top: clamp(8px, 2.8vh, 24px);
  }
  .hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: clamp(10px, 2.5vh, 24px);
    padding-bottom: 4px;
    color: var(--sepia);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0;
    animation: heroRise 0.9s var(--ease-out) 1s forwards;
  }
  .hero-scroll-hint__icon {
    font-size: 1.05rem;
    line-height: 1;
    letter-spacing: 0;
    font-family: var(--sans);
    color: var(--gold-deep);
    animation: heroScrollCue 2.4s var(--ease) 1.4s infinite;
  }
  .hero-scroll-hint.is-hidden {
    animation: none;
    opacity: 0 !important;
    transition: opacity 380ms var(--ease);
    pointer-events: none;
  }
  .hero-scroll-hint.is-hidden .hero-scroll-hint__icon {
    animation: none;
  }
}
@keyframes heroScrollCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint__icon { animation: none; }
}

/* Hero rolodex (in-flow sotto i CTA: niente absolute = niente sovrapposizione) */
.hero-rolodex {
  position: relative;
  width: 100%;
  margin-top: clamp(18px, 3.5vh, 48px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: clamp(14px, 2.5vh, 18px) clamp(8px, 2vw, 24px) 0;
  border-top: var(--border);
  color: var(--ink-soft);
  background: linear-gradient(180deg, rgba(243, 236, 224, 0.35), transparent);
  z-index: 3;
}
.hero-rolodex__label { color: var(--sepia); }
.hero-rolodex__col--stack {
  position: relative;
  height: 1.6em;
  overflow: hidden;
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
}
.hero-rolodex__item {
  position: absolute;
  left: 0; right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.hero-rolodex__item.is-current { opacity: 1; transform: translateY(0); }
.hero-rolodex__item.is-out    { opacity: 0; transform: translateY(-20px); }
.hero-rolodex__col--meta {
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero-rolodex { grid-template-columns: 1fr; gap: 4px; text-align: center; padding: 14px 20px; }
  .hero-rolodex__col--meta { justify-self: center; }
}

/* Laptop 13" / finestre basse: ancora più compatto */
@media (max-height: 900px) {
  .hero-title {
    font-size: clamp(2.15rem, min(11.5vw + 2.8vh, 12.4vh), 11.5rem);
    line-height: 0.96;
  }
  .hero-kicker {
    padding: 5px 12px;
    margin-top: clamp(-48px, -6.5vh, -20px);
    margin-bottom: clamp(26px, 4.5vh, 54px);
  }
  .hero-under {
    margin-top: clamp(32px, 3.2vh, 64px);
    gap: 10px;
  }
  .hero-actions { margin-top: clamp(28px, 6.5vh, 64px); }
}

/* Prima schermata: compatta su laptop con altezza ridotta */
@media (max-height: 820px) {
  .stage--hero {
    padding-top: clamp(6px, 1.2vh, 20px);
    padding-bottom: max(clamp(6px, 1.2vh, 18px), env(safe-area-inset-bottom, 0px));
  }
  .hero-title {
    font-size: clamp(1.95rem, min(10vw + 2.2vh, 11vh), 9.25rem);
    line-height: 0.98;
  }
  .hero-kicker {
    margin-top: clamp(-40px, -5vh, -14px);
    margin-bottom: clamp(22px, 3.6vh, 44px);
  }
  .hero-under  { margin-top: clamp(26px, 2.5vh, 52px); }
  .hero-actions { margin-top: clamp(22px, 5vh, 48px); }
}

/* Viewport molto corti (laptop 13" con barre browser, 720p, ecc.) */
@media (max-height: 680px) {
  .hero-title {
    font-size: clamp(1.72rem, min(9vw + 1.9vh, 9.6vh), 7.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    word-spacing: 0.05em;
  }
  .hero-under__text { font-size: var(--step-0); line-height: 1.4; }
  .magnetic-btn__label { padding: 12px 22px; }
}

/* Live dot */
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}
.dot--live {
  background: var(--red-seal);
  box-shadow: 0 0 0 0 rgba(154, 42, 42, 0.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(154, 42, 42, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(154, 42, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(154, 42, 42, 0); }
}

/* ==========================================================================
   MAGNETIC BUTTON
   ========================================================================== */
.magnetic-btn {
  position: relative;
  display: inline-block;
  padding: 0;
  border-radius: 999px;
  overflow: visible;
  will-change: transform;
  isolation: isolate;
}
.magnetic-btn__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: 999px;
  transition: transform var(--med) var(--ease), background var(--fast) var(--ease);
  z-index: 1;
}
.magnetic-btn__label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--fast) var(--ease);
}
.magnetic-btn__arrow {
  transition: transform var(--med) var(--ease);
}
.magnetic-btn:hover .magnetic-btn__bg { background: var(--gold-deep); }
.magnetic-btn:hover .magnetic-btn__arrow { transform: translateX(6px); }
.magnetic-btn--xl .magnetic-btn__label {
  padding: 26px 48px;
  font-size: var(--step-1);
  letter-spacing: 0.02em;
}

/* Mobile: CTA “xl” (vault, come-funziona) · stessa resa, dimensioni coerenti */
@media (max-width: 900px) {
  .magnetic-btn--xl {
    max-width: 100%;
  }
  .magnetic-btn--xl .magnetic-btn__label {
    padding: 12px 20px;
    font-size: var(--step--1);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    column-gap: 8px;
  }
  .magnetic-btn--xl .magnetic-btn__label > span:first-of-type {
    min-width: 0;
  }
}

.ghost-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.ghost-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.ghost-link__num { color: var(--sepia); }
.ghost-link__arrow { transition: transform var(--med) var(--ease); }
.ghost-link:hover .ghost-link__arrow { transform: translateY(3px); }

/* ==========================================================================
   MARQUEE BAND (allineata a overlay / registro / colophon: ink + oro)
   ========================================================================== */
.marquee-band {
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  border-top: 1px solid rgba(233, 205, 148, 0.1);
  border-bottom: 1px solid rgba(233, 205, 148, 0.1);
  padding: clamp(20px, 3vh, 36px) 0;
}
.marquee-band__track {
  display: flex;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  white-space: nowrap;
  animation: marqueeBig 48s linear infinite;
  width: max-content;
}
.marquee-band__track > span {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.marquee-band__track > span em { color: var(--gold-foil); font-style: italic; }
.marquee-band__diamond {
  font-size: clamp(1.2rem, 2vw, 2rem) !important;
  color: var(--gold);
}
@keyframes marqueeBig {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   MANIFESTO · unico blocco navy (testo → citazione → pilastri)
   ========================================================================== */
.manifesto--unified {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(56px, 10vh, 120px) var(--frame-pad);
  border-top: 1px solid rgba(233, 205, 148, 0.12);
}
.manifesto__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vh, 26px);
}

/* Sezione proposta: colonna e titoli centrati (dettagli sotto, con selettore più specifico) */
.manifesto--has-lede {
  text-align: center;
}
.manifesto--has-lede .manifesto__inner {
  align-items: center;
  max-width: min(1040px, 100%);
  gap: clamp(1.05rem, 2vh, 1.55rem);
}

.manifesto--unified .manifesto__meta {
  display: flex;
  justify-content: space-between;
  color: var(--gold-foil);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(233, 205, 148, 0.22);
  margin-bottom: 4px;
}
.manifesto--unified .manifesto__lede {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ivory);
  font-style: italic;
  margin: 0;
  max-width: 52ch;
}
.manifesto--unified .manifesto__body {
  font-size: var(--step-0);
  line-height: 1.75;
  color: rgba(243, 236, 224, 0.82);
  max-width: 58ch;
  margin: 0;
}
.manifesto--unified.manifesto--has-lede .manifesto__meta {
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0.45rem;
  column-gap: 1.2rem;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto 0.15rem;
}
.manifesto--unified.manifesto--has-lede .manifesto__meta .mono + .mono {
  padding-left: 1.1rem;
  border-left: 1px solid rgba(233, 205, 148, 0.28);
}
.manifesto--unified.manifesto--has-lede .manifesto__lede {
  text-align: center;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
  width: 100%;
}
.manifesto--unified.manifesto--has-lede .manifesto__body {
  text-align: center;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
  max-width: 44rem;
  width: 100%;
}
.manifesto--unified .manifesto__signature {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
}
.manifesto--unified .manifesto__signature .mono { color: rgba(243, 236, 224, 0.65); }
.manifesto--unified .manifesto__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--gold-foil);
}

.manifesto--unified .manifesto__bigquote {
  position: relative;
  padding-left: clamp(28px, 5vw, 48px);
  margin-top: clamp(36px, 6vh, 56px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(233, 205, 148, 0.18);
}
.manifesto--unified.manifesto--has-lede .manifesto__bigquote {
  max-width: min(100%, 48rem);
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(16px, 2.4vh, 32px);
  padding: clamp(0.9rem, 1.8vh, 1.2rem) clamp(1.35rem, 3.2vw, 2.1rem) 0.45rem;
  padding-left: clamp(1.35rem, 3.2vw, 2.1rem);
  text-align: center;
  box-sizing: border-box;
}
.manifesto--unified.manifesto--has-lede .manifesto__bigquote-open {
  left: 0.05em;
}
.manifesto--unified.manifesto--has-lede .manifesto__bigquote-close {
  right: 0.05em;
  left: auto;
  bottom: 0;
}
.manifesto--unified .manifesto__bigquote p {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ivory);
}
/* Due righe fisse: niente 20rem + titolo 5rem che si spezzano in 8 righe */
.manifesto--unified.manifesto--has-lede .manifesto__bigquote p {
  font-size: clamp(1.35rem, 1.15vw + 0.85rem, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-align: center;
}
.manifesto--unified.manifesto--has-lede .manifesto__bigquote-line {
  display: block;
}
.manifesto--unified.manifesto--has-lede .manifesto__bigquote-line + .manifesto__bigquote-line {
  margin-top: 0.15em;
}
.manifesto--unified .manifesto__bigquote em {
  color: var(--gold-foil);
  font-style: italic;
}
.manifesto--unified .manifesto__bigquote-open,
.manifesto--unified .manifesto__bigquote-close {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
}
.manifesto--unified .manifesto__bigquote-open  { top: 0.1em; left: -0.05em; }
.manifesto--unified .manifesto__bigquote-close { bottom: -0.35em; right: 0; }

.manifesto--unified .manifesto__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(32px, 5vh, 48px);
  padding-top: clamp(24px, 3vh, 36px);
  border-top: 1px solid rgba(233, 205, 148, 0.2);
}
.manifesto--unified .manifesto__pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.manifesto--unified .manifesto__pillar .mono { color: var(--gold-foil); }
.manifesto--unified .manifesto__pillar strong {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ivory);
}
.manifesto--unified .manifesto__pillar p {
  font-size: 0.92rem;
  color: rgba(243, 236, 224, 0.65);
  margin: 0;
  line-height: 1.5;
}
.manifesto--unified.manifesto--has-lede .manifesto__pillars {
  width: 100%;
  margin-top: clamp(1.1rem, 2.2vh, 1.75rem);
  padding-top: clamp(1.05rem, 1.9vh, 1.55rem);
  column-gap: clamp(0.9rem, 1.7vw, 1.2rem);
  row-gap: clamp(1.1rem, 1.9vh, 1.4rem);
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.manifesto--unified.manifesto--has-lede .manifesto__pillar {
  align-items: center;
  text-align: center;
  min-width: 0;
  gap: 0.45rem;
}
.manifesto--unified.manifesto--has-lede .manifesto__pillar strong {
  text-wrap: balance;
  line-height: 1.2;
  max-width: 20rem;
  margin: 0 auto;
}
.manifesto--unified.manifesto--has-lede .manifesto__pillar p {
  text-wrap: balance;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .manifesto--unified .manifesto__pillars {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .manifesto--unified.manifesto--has-lede .manifesto__pillars {
    grid-template-columns: 1fr;
  }
  .manifesto--unified.manifesto--has-lede .manifesto__pillar p {
    max-width: 42ch;
  }
}
@media (max-width: 720px) {
  .manifesto--unified {
    text-align: center;
  }
  .manifesto--unified .manifesto__meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .manifesto--unified .manifesto__lede,
  .manifesto--unified .manifesto__body {
    margin-left: auto;
    margin-right: auto;
  }
  .manifesto--unified .manifesto__signature {
    justify-content: center;
  }
  .manifesto--unified .manifesto__bigquote {
    text-align: center;
    padding-left: var(--frame-pad);
    padding-right: var(--frame-pad);
  }
  .manifesto--unified.manifesto--has-lede .manifesto__bigquote {
    padding-left: clamp(1rem, 5vw, 1.75rem);
    padding-right: clamp(1rem, 5vw, 1.75rem);
    max-width: 100%;
  }
  .manifesto--unified .manifesto__pillar {
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 520px) {
  .manifesto--unified.manifesto--has-lede .manifesto__meta {
    flex-direction: column;
    row-gap: 0.45rem;
  }
  .manifesto--unified.manifesto--has-lede .manifesto__meta .mono + .mono {
    padding-left: 0;
    border-left: 0;
  }
}

/* ==========================================================================
   PROOF STRIP · caso reale (homepage)
   ========================================================================== */
.proof-strip {
  padding: clamp(72px, 12vh, 140px) clamp(20px, 4vw, 56px);
  background: var(--paper);
  border-top: 1px solid rgba(180, 142, 80, 0.18);
  border-bottom: 1px solid rgba(180, 142, 80, 0.18);
}
.proof-strip__inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.proof-strip__head {
  margin-bottom: clamp(36px, 5vh, 56px);
}
.proof-strip__kicker {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(180, 142, 80, 0.35);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 3vh, 32px);
}
.proof-strip__title {
  margin: 0 auto;
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.proof-strip__title em {
  font-style: italic;
  color: var(--gold-deep);
}
.proof-strip__lede {
  max-width: 680px;
  margin: clamp(18px, 2.5vh, 28px) auto 0;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
}
.proof-strip__board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(32px, 4.5vh, 48px);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .proof-strip__board { grid-template-columns: 1fr; }
}
.proof-strip__metric {
  padding: clamp(24px, 3.5vh, 38px) 18px;
  background: var(--paper-soft, #f7efde);
  border: 1px solid rgba(180, 142, 80, 0.18);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.proof-strip__metric--accent {
  border-color: rgba(180, 142, 80, 0.55);
  box-shadow: 0 1px 0 rgba(180, 142, 80, 0.25) inset;
}
.proof-strip__metric-value {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
  line-height: 1;
}
.proof-strip__metric-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sepia);
  text-align: center;
}
.proof-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.proof-strip__cta:hover {
  gap: 16px;
  color: var(--ink);
}

/* ==========================================================================
   THEATRE · pinned horizontal scroll section
   ========================================================================== */
.theatre {
  /* height determines scroll distance; each panel ~100vw */
  height: 400vh;
  position: relative;
  background: var(--ivory);
}
.theatre__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.theatre__header {
  display: flex;
  justify-content: space-between;
  padding: clamp(80px, 10vh, 120px) clamp(30px, 5vw, 80px) 0;
  color: var(--sepia);
  position: relative;
  z-index: 3;
}
.theatre__header-progress {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: var(--border-gold);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.6);
  color: var(--gold-deep);
}
.theatre__rail {
  flex: 1;
  display: flex;
  will-change: transform;
}
.theatre__panel {
  min-width: 100vw;
  padding: clamp(40px, 6vh, 80px) clamp(30px, 5vw, 80px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(18px, 2.5vw, 40px);
  align-items: center;
  position: relative;
}
.theatre__numeral {
  font-family: var(--serif);
  font-size: clamp(10rem, 20vw, 22rem);
  font-weight: 400;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.9;
}
.theatre__numeral em { font-style: italic; }
.theatre__content {
  max-width: 620px;
}
.theatre__kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-deep);
  padding-bottom: 10px;
  border-bottom: var(--border-gold);
  font-size: clamp(0.92rem, 0.85rem + 0.25vw, 1.05rem);
  letter-spacing: 0.04em;
}
.theatre__title {
  font-family: var(--serif);
  font-size: clamp(2.85rem, 5.5vw, 5.15rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.theatre__title em { color: var(--gold-deep); }
.theatre__body {
  font-size: clamp(1.12rem, 1.02rem + 0.45vw, 1.42rem);
  line-height: 1.58;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.theatre__list {
  display: grid;
  gap: 12px;
}
.theatre__list li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(1.02rem, 0.96rem + 0.2vw, 1.14rem);
  color: var(--ink-soft);
}
.theatre__list li::before {
  content: "◆";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-size: 0.8em;
}

.theatre__visual {
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: min(640px, 100%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}

/* Theatre mockups */
.theatre-mock {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(26, 36, 51, 0.2);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 30px 30px 0 -1px var(--ink-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.theatre-mock__head {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: var(--border);
  color: var(--sepia);
  background: var(--ivory-soft);
}
.theatre-mock__head .mono { font-size: 11px; }
.theatre-mock__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  padding: clamp(22px, 3.2vw, 40px) clamp(22px, 3.2vw, 40px);
}
.theatre-mock__tag {
  color: var(--gold-deep);
  font-size: 11px;
}
.theatre-mock__h {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.85vw, 2.75rem);
  line-height: 1.05;
  font-weight: 500;
}
.theatre-mock__h em { color: var(--gold-deep); }
.theatre-mock__rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
}
.theatre-mock__cta {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 9px 16px;
  border: 1px solid var(--ink);
  align-self: flex-start;
  border-radius: 999px;
}

.theatre-mock__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 22px 24px;
}
.theatre-mock__metrics > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.theatre-mock__metrics strong {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1;
}
.theatre-mock__delta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-deep);
}
.theatre-mock__chart {
  flex: 1;
  padding: 0 18px 22px;
  color: var(--gold-deep);
}
.theatre-mock__chart svg {
  width: 100%; height: 100%;
}
.theatre-mock__chart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theatre-mock--net {
  color: var(--gold-deep);
  aspect-ratio: 4 / 3;
  position: relative;
}
.theatre-mock--net svg {
  width: 100%; height: 100%;
  padding: 24px;
}
.theatre-mock__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 7px 12px;
  background: var(--ink);
  color: var(--gold-foil);
  border-radius: var(--radius);
  font-size: 11px;
}

/* Laptop 13" e simili: viewport bassa · numerale + tipi grandi tagliano la lista (es. punto 4) */
@media (min-width: 901px) and (max-height: 980px) {
  .theatre__header {
    padding: clamp(36px, 5vh, 60px) clamp(30px, 5vw, 80px) 0;
  }
  .theatre__panel {
    padding: clamp(20px, 2.5vh, 40px) clamp(24px, 4vw, 72px);
    gap: clamp(14px, 2vw, 28px);
    align-items: center;
  }
  .theatre__numeral {
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.82;
    align-self: center;
  }
  .theatre__content {
    max-width: 520px;
  }
  .theatre__kicker {
    margin-bottom: 8px;
    padding-bottom: 6px;
    font-size: 0.85rem;
  }
  .theatre__title {
    font-size: clamp(1.55rem, 1.2rem + 2.2vw, 2.85rem);
    margin: 0 0 10px;
  }
  .theatre__body {
    font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.1rem);
    line-height: 1.45;
    margin: 0 0 10px;
  }
  .theatre__list {
    gap: 6px;
  }
  .theatre__list li {
    font-size: clamp(0.88rem, 0.84rem + 0.12vw, 1rem);
    padding-left: 20px;
  }
  .theatre__visual {
    max-height: min(36vh, 300px);
    min-height: 0;
    align-self: center;
  }
  .theatre-mock {
    max-height: min(36vh, 300px);
    height: auto;
  }
  .theatre-mock__body {
    justify-content: center;
    padding: clamp(10px, 1.6vw, 16px) clamp(10px, 1.8vw, 18px);
    gap: 10px;
  }
  .theatre-mock__h {
    font-size: clamp(1.05rem, 0.95rem + 0.9vw, 1.55rem);
  }
  .theatre-mock__metrics {
    padding: 14px 16px;
    gap: 12px;
  }
  .theatre-mock__metrics strong {
    font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  }
  .theatre-mock__chart {
    padding: 0 14px 14px;
  }
  .theatre-mock--net svg {
    padding: 16px;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .theatre__header {
    padding: clamp(28px, 4vh, 48px) clamp(24px, 4vw, 64px) 0;
  }
  .theatre__panel {
    padding: clamp(16px, 2vh, 32px) clamp(20px, 3.5vw, 56px);
  }
  .theatre__numeral {
    font-size: clamp(3.25rem, 7vw, 6.25rem);
  }
  .theatre__title {
    font-size: clamp(1.35rem, 1.05rem + 1.8vw, 2.35rem);
  }
  .theatre__body {
    font-size: 0.92rem;
    line-height: 1.42;
  }
  .theatre__visual,
  .theatre-mock {
    max-height: min(32vh, 260px);
  }
}

@media (max-width: 900px) {
  .theatre { height: auto; }
  .theatre__sticky { position: static; height: auto; }

  /* Mobile: carosello orizzontale a scorrimento con snap (compatto) */
  .theatre__rail {
    flex-direction: row;
    transform: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-inline: clamp(10px, 3.5vw, 14px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 clamp(10px, 3.5vw, 14px);
    gap: 8px;
    align-items: stretch;
  }
  .theatre__rail::-webkit-scrollbar { display: none; }

  /* Loop infinito: durante il riallineamento clone → slide 1 reale, niente snap (evita flash) */
  .theatre__rail.theatre__rail--loop-jump {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }

  .theatre__panel {
    min-width: min(92vw, 26rem);
    flex: 0 0 min(92vw, 26rem);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 14px;
    border: var(--border);
    border-radius: var(--radius-l);
    background: var(--paper);
    text-align: left;
    min-height: 0;
  }
  .theatre__panel > .theatre__numeral {
    flex-shrink: 0;
  }
  .theatre__panel > .theatre__content {
    flex-shrink: 0;
  }
  .theatre__panel > .theatre__visual {
    margin-top: auto;
    flex-shrink: 0;
  }
  .theatre__header {
    padding: clamp(28px, 5vh, 48px) 16px 6px;
    gap: 8px;
    align-items: flex-end;
  }
  .theatre__header-label { font-size: 10px; letter-spacing: 0.12em; }
  .theatre__header-progress { font-size: 10px; padding: 3px 9px; }

  .theatre__numeral {
    font-size: clamp(2.85rem, 11vw, 4.25rem);
    line-height: 0.82;
  }
  .theatre__kicker {
    font-size: 0.72rem;
    margin-bottom: 6px;
    padding-bottom: 6px;
  }
  .theatre__title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    margin: 0 0 8px;
    line-height: 1.08;
  }
  .theatre__body {
    font-size: 0.88rem;
    line-height: 1.48;
    margin: 0 0 8px;
  }
  .theatre__list { gap: 6px; }
  .theatre__list li {
    font-size: 0.82rem;
    line-height: 1.42;
    padding-left: 17px;
  }

  /* Mock a tutta larghezza pannello: cifre e grafica leggibili */
  .theatre__visual {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 0;
    aspect-ratio: auto;
  }
  .theatre-mock {
    box-shadow: 8px 8px 0 -1px var(--ink-line);
    aspect-ratio: auto;
    min-height: min(42vw, 180px);
  }
  .theatre-mock__head {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 6px 10px;
    row-gap: 4px;
  }
  .theatre-mock__head .mono {
    font-size: clamp(10px, 2.6vw, 12px);
    letter-spacing: 0.04em;
  }
  .theatre-mock__body {
    justify-content: center;
    padding: 12px 14px;
    gap: 8px;
    min-height: 112px;
  }
  .theatre-mock__tag { font-size: clamp(10px, 2.5vw, 12px); }
  .theatre-mock__h { font-size: clamp(1.2rem, 4.2vw, 1.6rem); line-height: 1.12; }
  .theatre-mock__cta { font-size: 11px; padding: 8px 14px; }
  /* Dashboard: niente 3 colonne · una metrica per riga, cifre grandi */
  .theatre-mock--dash {
    min-height: 0;
  }
  .theatre-mock--dash .theatre-mock__head .mono {
    max-width: 100%;
  }
  .theatre-mock__metrics {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 16px 0;
  }
  .theatre-mock__metrics > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(26, 36, 51, 0.1);
    align-items: end;
  }
  .theatre-mock__metrics > div > span.mono {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: clamp(0.7rem, 2.1vw, 0.8rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sepia);
  }
  .theatre-mock__metrics > div > strong {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(1.5rem, 5.2vw, 1.9rem) !important;
    line-height: 1.05;
  }
  .theatre-mock__metrics > div > .theatre-mock__delta {
    grid-column: 2;
    grid-row: 2;
    font-size: clamp(9px, 2.2vw, 11px);
    text-align: right;
    white-space: nowrap;
    align-self: end;
  }
  .theatre-mock__metrics > div:last-child {
    border-bottom: 0;
  }
  .theatre-mock__chart {
    flex: 0 0 auto;
    min-height: 72px;
    padding: 8px 16px 16px;
  }
  .theatre-mock__chart svg {
    min-height: 64px;
  }
  .theatre-mock__chart path {
    stroke-width: 2.5;
  }
  .theatre-mock--net {
    min-height: min(58vw, 240px);
    aspect-ratio: auto;
  }
  .theatre-mock--net svg {
    padding: 12px 10px 48px;
    min-height: 180px;
  }
  .theatre-mock__badge {
    font-size: clamp(9px, 2.3vw, 11px);
    padding: 6px 10px;
    bottom: 8px;
    left: 8px;
    right: 8px;
    text-align: center;
    line-height: 1.35;
  }

  /* Dots indicator */
  .theatre__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 12px;
    flex-wrap: wrap;
  }
  .theatre__dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(26, 36, 51, 0.22);
    transition: background 220ms var(--ease), width 220ms var(--ease), opacity 220ms var(--ease);
    cursor: pointer;
    flex-shrink: 0;
  }
  .theatre__dots button[aria-current="true"] {
    background: var(--gold-deep);
    width: 18px;
  }
}

@media (max-width: 480px) {
  .theatre[data-theatre] .theatre__rail {
    gap: 6px;
    padding: 0 10px;
    scroll-padding-inline: 10px;
  }
  .theatre[data-theatre] .theatre__panel {
    min-width: calc(100vw - 20px);
    flex: 0 0 calc(100vw - 20px);
    padding: 14px 12px;
    gap: 8px;
  }
  .theatre[data-theatre] .theatre__header {
    padding-top: 24px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Mobile globale: font un filo più piccoli ovunque */
@media (max-width: 720px) {
  html { font-size: 15px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
}

/* ==========================================================================
   LEDGER (live data)
   ========================================================================== */
.ledger {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(50px, 8vh, 100px) clamp(30px, 5vw, 80px);
}
.ledger__head {
  display: flex;
  justify-content: space-between;
  color: var(--gold-foil);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(233, 205, 148, 0.2);
  margin-bottom: clamp(30px, 5vh, 60px);
}
.ledger__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ledger__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 0;
}
.ledger__cell {
  padding: 16px 24px 16px 0;
  border-right: 1px solid rgba(233, 205, 148, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ledger__cell:last-child { border-right: 0; padding-right: 0; }
.ledger__label { color: var(--ash); }
.ledger__value {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.ledger__value--live {
  color: var(--gold-foil);
  font-variant-numeric: tabular-nums;
}
.ledger__tail {
  margin-top: clamp(30px, 4vh, 50px);
  color: var(--ash);
  text-align: right;
}

/* Registro sotto il rolodex (stessa prima schermata del hero) */
.ledger--in-hero {
  margin-top: clamp(10px, 1.8vh, 20px);
  width: 100%;
  max-width: min(1120px, 100%);
  padding: clamp(18px, 3vh, 32px) clamp(18px, 3vw, 32px);
  border-radius: var(--radius-l);
  text-align: left;
  align-self: stretch;
}
.ledger--in-hero .ledger__head {
  margin-bottom: clamp(16px, 2.5vh, 28px);
  padding-bottom: 12px;
}
.ledger--in-hero .ledger__tail {
  margin-top: clamp(16px, 2.5vh, 24px);
}
.ledger--in-hero .ledger__value {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

@media (max-width: 900px) {
  .ledger__row { grid-template-columns: 1fr 1fr; }
  .ledger__cell { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(233, 205, 148, 0.15); }
  .ledger__cell--wide { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ledger__row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONSTELLATION
   ========================================================================== */
.constellation {
  padding: clamp(70px, 12vh, 140px) var(--frame-pad);
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(184, 147, 90, 0.12), transparent 60%),
    var(--ivory-soft);
}
.constellation__wrap {
  max-width: 1400px;
  margin: 0 auto;
}
.constellation__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 70px);
}
.constellation__kicker { display: block; color: var(--gold-deep); margin-bottom: 18px; }
.constellation__title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.constellation__title em { color: var(--gold-deep); }
.constellation__lede {
  font-size: var(--step-1);
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
}

.constellation__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(26, 36, 51, 1), rgba(26, 36, 51, 0.96)),
    var(--ink);
  border: 1px solid rgba(184, 147, 90, 0.25);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(26, 36, 51, 0.4);
}
.constellation__stage .network__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.constellation__legend {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-foil);
  background: rgba(26, 36, 51, 0.5);
  backdrop-filter: blur(6px);
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(184, 147, 90, 0.2);
}
.constellation__legend-row { display: flex; align-items: center; gap: 8px; }
.swatch {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.swatch--node { background: var(--gold-foil); box-shadow: 0 0 8px rgba(233, 205, 148, 0.6); }
.swatch--line { background: transparent; border-top: 1px solid var(--gold-foil); width: 14px; height: 1px; border-radius: 0; }
.swatch--part { background: var(--paper); box-shadow: 0 0 8px var(--paper); }

.network__tooltip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 12px;
  font-family: var(--sans);
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
  white-space: nowrap;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}
.network__tooltip.is-visible { opacity: 1; }
.network__tooltip strong {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-deep);
}

/* ==========================================================================
   SPREAD (magazine folio)
   ========================================================================== */
.spread {
  padding: clamp(80px, 12vh, 150px) var(--frame-pad);
  background: var(--ivory);
}
.spread__header {
  max-width: 1200px;
  margin: 0 auto clamp(50px, 8vh, 90px);
  text-align: center;
}
.spread__header .mono { color: var(--gold-deep); display: block; margin-bottom: 18px; }
.spread__title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}
.spread__title em { color: var(--gold-deep); }

.spread__folio {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
  box-shadow:
    0 40px 80px -40px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(184, 147, 90, 0.2);
  overflow: hidden;
  position: relative;
}
.spread__page {
  padding: clamp(40px, 6vw, 90px);
  position: relative;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.spread__page--left  { background: linear-gradient(90deg, var(--paper), var(--paper) 90%, rgba(184, 147, 90, 0.04)); }
.spread__page--right { background: linear-gradient(270deg, var(--paper), var(--paper) 90%, rgba(184, 147, 90, 0.04)); }
.spread__gutter {
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(184, 147, 90, 0.3), transparent);
}
.spread__ornament {
  width: 88px; height: 88px;
  color: var(--gold);
  margin-bottom: 10px;
}
.spread__vol { color: var(--sepia); }
.spread__page-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.spread__page-title em { color: var(--gold-deep); }
.spread__page-lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 44ch;
}
.spread__index {
  display: grid;
  gap: 10px;
  border-top: var(--border);
  padding-top: 20px;
}
.spread__index li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(26, 36, 51, 0.15);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.spread__index .mono { color: var(--gold-deep); min-width: 28px; }
.spread__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.95rem;
  margin-top: 10px;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.spread__cta:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-2px);
}
.spread__folio-num {
  margin-top: auto;
  text-align: center;
  color: var(--sepia);
  padding-top: 20px;
}
.spread__foot {
  text-align: center;
  margin-top: clamp(30px, 5vh, 60px);
}
.spread__foot a {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 4px;
  transition: opacity var(--fast) var(--ease);
}
.spread__foot a:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .spread__folio { grid-template-columns: 1fr; }
  .spread__gutter { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, rgba(184, 147, 90, 0.3), transparent); }
}

/* ==========================================================================
   VOICES
   ========================================================================== */
.voices {
  padding: clamp(80px, 12vh, 150px) var(--frame-pad);
  background: var(--ink);
  color: var(--ivory);
}
.voices__head {
  max-width: 1400px;
  margin: 0 auto clamp(60px, 10vh, 110px);
  text-align: center;
}
.voices__head .mono { color: var(--gold-foil); display: block; margin-bottom: 18px; }
.voices__title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}
.voices__title em { color: var(--gold-foil); }

.voice {
  max-width: 1100px;
  margin: 0 auto clamp(60px, 10vh, 110px);
  position: relative;
}
.voice--left  { text-align: left; margin-left: 0; padding-left: clamp(20px, 6vw, 120px); }
.voice--right { text-align: right; margin-right: 0; padding-right: clamp(20px, 6vw, 120px); }

.voice blockquote { margin: 0; }
.voice blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 1.15vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
.voice blockquote em { color: var(--gold-foil); }

.voice figcaption {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ash);
}
.voice--right figcaption { justify-content: flex-end; }
.voice__rule {
  display: inline-block;
  width: 50px;
  height: 1px;
  background: var(--gold-foil);
}
.voice__cite { color: var(--gold-foil); }

/* ==========================================================================
   VAULT (CTA)
   ========================================================================== */
.vault {
  padding: clamp(100px, 15vh, 200px) var(--frame-pad);
  background:
    radial-gradient(800px 500px at 50% 30%, rgba(184, 147, 90, 0.18), transparent 60%),
    var(--ivory);
  text-align: center;
  position: relative;
}
.vault__frame {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px);
  border: var(--border-gold);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--paper), var(--ivory-soft));
  position: relative;
  box-shadow: 0 40px 80px -40px rgba(184, 147, 90, 0.35);
}
.vault__frame::before,
.vault__frame::after {
  content: "";
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid var(--gold);
}
.vault__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.vault__frame::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.vault__meta { color: var(--gold-deep); display: block; margin-bottom: 26px; }
.vault__title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.vault__title em { color: var(--gold-deep); }
.vault__hl {
  background: linear-gradient(180deg, transparent 62%, rgba(184, 147, 90, 0.35) 62%);
  padding: 0 10px;
}
.vault__sub {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 0 auto 42px;
  line-height: 1.55;
}
.vault__dust {
  color: var(--sepia);
  margin-top: 32px;
}

/* ==========================================================================
   COLOPHON (footer)
   ========================================================================== */
.colophon {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(32px, 4.5vh, 52px) var(--frame-pad) max(18px, env(safe-area-inset-bottom, 0px));
  position: relative;
  font-size: var(--step--1);
}
.colophon__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: clamp(22px, 3.5vh, 40px);
}
.colophon__grid-shell {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}
.colophon__watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.colophon__watermark-img {
  width: min(42vw, 260px);
  height: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.11;
}
.colophon__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
}
.colophon__brand {
  display: flex;
  gap: clamp(12px, 2vw, 18px);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.colophon__brand-text { min-width: 0; }
.colophon__wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-foil);
  display: block;
  line-height: 1.15;
}
.colophon__intro {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  max-width: 36ch;
}
.colophon__subtitle {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 0.68rem + 0.15vw, 0.82rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(243, 236, 224, 0.82);
}
.colophon__tagline {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(0.62rem, 0.58rem + 0.12vw, 0.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-foil);
  line-height: 1.4;
  opacity: 0.92;
}
.colophon .mono {
  font-size: clamp(0.58rem, 0.54rem + 0.12vw, 0.65rem);
  letter-spacing: 0.09em;
}
.colophon__h {
  color: var(--gold-foil);
  display: block;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(233, 205, 148, 0.2);
}
.colophon__col ul { display: grid; gap: 6px; }
.colophon__col a {
  font-family: var(--serif);
  font-size: clamp(0.78rem, 0.74rem + 0.12vw, 0.88rem);
  color: var(--ivory);
  position: relative;
  transition: color var(--fast) var(--ease);
}
.colophon__col a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px; background: var(--gold-foil);
  transition: right var(--med) var(--ease);
}
.colophon__col a:hover { color: var(--gold-foil); }
.colophon__col a:hover::after { right: 0; }

/* Giant wordmark */
.colophon__mark {
  max-width: 1400px;
  margin: clamp(20px, 3.5vh, 36px) auto clamp(14px, 2vh, 22px);
  text-align: center;
  line-height: 0.85;
}
.colophon__mark-big {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 4.5rem);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--gold-foil), rgba(138, 107, 58, 0.1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.colophon__meta {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(233, 205, 148, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  color: var(--ash);
}
.colophon__meta span:nth-child(even) { color: var(--gold); }

@media (max-width: 720px) {
  .colophon {
    padding:
      clamp(26px, 4vh, 40px)
      max(var(--frame-pad), env(safe-area-inset-right, 0px))
      max(20px, env(safe-area-inset-bottom, 0px))
      max(var(--frame-pad), env(safe-area-inset-left, 0px));
  }
  .colophon__watermark {
    inset: 0;
  }
  .colophon__watermark-img {
    width: min(72vw, 200px);
    opacity: 0.09;
  }
  /* Una colonna: brand → Piattaforma → Programma → Legale (niente “orfano”) */
  .colophon__grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 4vw, 28px);
  }
  .colophon__brand {
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  .colophon__brand-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 38ch;
  }
  .colophon__intro {
    margin-left: auto;
    margin-right: auto;
    max-width: 36ch;
  }
  .colophon__wordmark {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }
  .colophon__col {
    max-width: 100%;
    text-align: center;
  }
  .colophon__h {
    text-align: center;
  }
  .colophon__col ul {
    justify-content: center;
    justify-items: center;
  }
  .colophon__mark {
    margin: clamp(16px, 4vh, 28px) auto 14px;
  }
  .colophon__mark-big {
    font-size: clamp(1.65rem, 8vw, 2.75rem);
  }
  .colophon__meta {
    justify-content: center;
    text-align: center;
    gap: 6px 10px;
    padding-top: 12px;
    font-size: clamp(9px, 2.5vw, 0.62rem);
  }
}

/* ==========================================================================
   Inner pages · shared layout & components (palette aligned with brand)
   ========================================================================== */

:root {
  /* Legacy alias used in markup / inline styles */
  --white-muted: rgba(243, 236, 224, 0.72);
  --navy-deep: #121c2c;
}

/* ---------- Utilities ---------- */
.gold-text {
  background: linear-gradient(135deg, var(--gold-foil), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Secondary page hero ---------- */
.page-hero {
  padding: clamp(56px, 10vh, 100px) var(--frame-pad) clamp(40px, 6vh, 72px);
  border-bottom: var(--border);
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(184, 147, 90, 0.12), transparent 55%),
    var(--ivory);
}
.page-hero__inner {
  max-width: 960px;
  margin: 0 auto;
}
.page-hero__inner--center {
  text-align: center;
}
.page-hero__inner--center h1 {
  text-wrap: balance;
}
.page-hero__eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.page-hero__inner > p {
  margin: 0;
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 52ch;
}
.page-hero__inner.page-hero__inner--center > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 52ch;
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(48px, 8vh, 88px) var(--frame-pad);
  background: var(--ivory);
  color: var(--ink);
}
.section--muted {
  background: var(--ivory-deep);
}
.section--dark {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--ink) 100%);
  color: var(--ivory);
}
.section--dark .section__eyebrow { color: var(--gold-foil); }
.section--dark .section__title,
.section--dark h2,
.section--dark h3 { color: var(--ivory); }
.section--dark p,
.section--dark .section__intro { color: var(--white-muted); }
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section__head--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.section__head--center > div {
  width: 100%;
}
.section__head--center .section__title {
  text-wrap: balance;
}
.section__eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  line-height: 1.2;
}
.section__intro {
  flex: 1 1 280px;
  margin: 0;
  max-width: 48ch;
  color: rgba(26, 36, 51, 0.75);
}
.section--dark .faq__q { color: var(--ivory) !important; }
.section--dark .faq__a { color: var(--white-muted) !important; }

.section h2:not(.section__title) {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

/* ---------- Grid & cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: 0 12px 40px rgba(26, 36, 51, 0.06);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.card:hover {
  border-color: rgba(184, 147, 90, 0.45);
  box-shadow: 0 16px 48px rgba(26, 36, 51, 0.1);
}
.card__icon {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 147, 90, 0.35);
  border-radius: 50%;
}
.card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--step-1);
  margin: 0 0 10px;
}
.card p {
  margin: 0;
  color: rgba(26, 36, 51, 0.82);
  line-height: 1.55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: linear-gradient(145deg, var(--gold-foil), var(--gold));
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(138, 107, 58, 0.35);
}
.btn--gold:hover { box-shadow: 0 6px 28px rgba(138, 107, 58, 0.5); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 36, 51, 0.25);
}
.btn--ghost:hover {
  background: rgba(26, 36, 51, 0.04);
  border-color: var(--ink);
}
.btn--dark {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink-line);
}
.btn--outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(233, 205, 148, 0.45);
}
.btn--outline:hover {
  background: rgba(233, 205, 148, 0.08);
  border-color: var(--gold-foil);
}
.btn__arrow {
  display: inline-block;
  transition: transform var(--fast) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}
@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; }
}
.price-card {
  position: relative;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card--feat {
  background: var(--ink);
  color: var(--ivory);
  border-color: rgba(233, 205, 148, 0.25);
  box-shadow: 0 20px 60px rgba(18, 26, 40, 0.28);
}
.price-card--feat h3,
.price-card--feat .price-card__desc { color: var(--ivory); }
.price-card--feat ul { color: var(--white-muted); }
.price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(233, 205, 148, 0.15);
  color: var(--gold-foil);
  border-radius: 999px;
}
.price-card h3 {
  font-family: var(--serif);
  font-style: italic;
  margin: 0;
  font-size: var(--step-2);
}
.price-card__desc {
  margin: 0;
  color: rgba(26, 36, 51, 0.72);
  font-size: var(--step--1);
}
.price-card__price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 500;
  color: var(--gold-deep);
}
.price-card--feat .price-card__price { color: var(--gold-foil); }
.price-card__price-sub {
  display: block;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 400;
  color: rgba(26, 36, 51, 0.55);
  margin-top: 4px;
}
.price-card--feat .price-card__price-sub { color: rgba(243, 236, 224, 0.55); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: grid;
  gap: 10px;
}
.price-card li {
  position: relative;
  padding-left: 1.1em;
  font-size: var(--step--1);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85em;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .timeline { grid-template-columns: 1fr; }
}
.timeline__step {
  position: relative;
  padding: 22px 20px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
}
.section--dark .timeline__step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(233, 205, 148, 0.15);
  color: var(--ivory);
}
.timeline__num {
  font-family: var(--mono);
  font-size: 13px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(184, 147, 90, 0.18);
  color: var(--gold-deep);
  margin-bottom: 14px;
  border: 1px solid rgba(184, 147, 90, 0.35);
}
.section--dark .timeline__num {
  background: rgba(233, 205, 148, 0.12);
  color: var(--gold-foil);
  border-color: rgba(233, 205, 148, 0.3);
}
.timeline__step h3 {
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 600;
  margin: 0 0 8px;
}
.timeline__step p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: rgba(26, 36, 51, 0.78);
}
.section--dark .timeline__step p { color: var(--white-muted); }

/* ---------- FAQ (accordion) ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 800px;
}
.faq__item {
  border: var(--border);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq__item.is-open {
  border-color: rgba(184, 147, 90, 0.42);
  box-shadow: 0 10px 32px rgba(26, 36, 51, 0.07);
}
.section--dark .faq__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(233, 205, 148, 0.15);
}
.section--dark .faq__item.is-open {
  border-color: rgba(233, 205, 148, 0.35);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}
.faq__q:hover {
  background: rgba(184, 147, 90, 0.07);
}
.faq__q:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.faq__item.is-open .faq__q {
  background: rgba(184, 147, 90, 0.06);
}
.faq__a {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0;
  padding-bottom: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.5s var(--ease-out),
    opacity 0.35s ease,
    padding-bottom 0.35s ease,
    visibility 0s linear 0.35s;
}
.faq__item.is-open .faq__a {
  max-height: min(1600px, 92vh);
  opacity: 1;
  visibility: visible;
  padding-bottom: 20px;
  padding-top: 2px;
  transition:
    max-height 0.5s var(--ease-out),
    opacity 0.35s ease 0.05s,
    padding-bottom 0.35s ease,
    visibility 0s linear 0s;
}
.faq__a p {
  margin: 0;
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.78);
}
.section--dark .faq__a p {
  color: var(--white-muted);
}
/* Chevron in cerchio (apri/chiudi) */
.plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(184, 147, 90, 0.45);
  background: rgba(255, 250, 240, 0.95);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.plus::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  background: none !important;
  border: none;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: translate(-50%, -62%) rotate(45deg);
  transition: transform 0.35s var(--ease-out);
}
.plus::after {
  display: none;
}
.faq__item.is-open .plus {
  background: rgba(184, 147, 90, 0.18);
  border-color: rgba(184, 147, 90, 0.65);
}
.faq__item.is-open .plus::before {
  transform: translate(-50%, -38%) rotate(225deg);
}
.section--dark .plus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 205, 148, 0.35);
}
.section--dark .plus::before {
  border-right-color: var(--gold-foil);
  border-bottom-color: var(--gold-foil);
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(44px, 8vh, 72px) var(--frame-pad);
  background:
    linear-gradient(135deg, rgba(184, 147, 90, 0.14), transparent 50%),
    var(--ivory-deep);
  border-top: var(--border);
  border-bottom: var(--border);
}
.cta-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0 0 8px;
}
.cta-band p {
  margin: 0;
  color: rgba(26, 36, 51, 0.75);
  max-width: 48ch;
}

/* ---------- Prose (privacy, long text) ---------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vh, 56px) var(--frame-pad) clamp(60px, 10vh, 100px);
  color: var(--ink);
}
.prose h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  margin: 2rem 0 0.75rem;
}
.prose p, .prose li { line-height: 1.65; }
.prose ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.75rem 0;
}
.prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--ink); }

/* Pagina privacy / testi legali: tutto il main centrato */
.main--legal {
  text-align: center;
}
.main--legal .prose h2 {
  text-wrap: balance;
}
.main--legal .prose ul {
  list-style-position: inside;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: min(68ch, 100%);
}

/* ---------- Contact ---------- */
.contact-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) max(var(--frame-pad), env(safe-area-inset-left, 0px)) clamp(32px, 6vw, 56px)
    max(var(--frame-pad), env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 36px);
  min-width: 0;
}
@media (max-width: 800px) {
  .contact-block { grid-template-columns: 1fr; }
}
.contact-block > .contact-card:not(.contact-card--form) {
  grid-column: 1 / -1;
}
.contact-card--intro {
  box-sizing: border-box;
  max-width: 40rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.contact-card--intro h2 {
  text-wrap: balance;
}
.contact-card--intro p {
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}
.contact-card--intro .contact-note {
  max-width: 32rem;
}
.contact-card--intro .contact-card__cta {
  margin-top: 1.5rem;
}
/* Modulo: stessa colonna della card intro, testi centrati */
.contact-card--form {
  grid-column: 1 / -1;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.contact-card--form h2 {
  text-wrap: balance;
}
.contact-card--form .contact-form__intro {
  text-align: center;
}
.contact-card--form .contact-form__intro .contact-note {
  margin-left: auto;
  margin-right: auto;
  max-width: 34rem;
}
.contact-form__intro-note {
  margin-bottom: 1.25rem;
}
.contact-form__field .contact-form__label,
.contact-form__field--full .contact-form__label {
  text-align: center;
}
.contact-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 36px);
  min-width: 0;
}
.contact-card h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  margin: 0 0 12px;
}
.contact-card p {
  margin: 0 0 12px;
  color: rgba(26, 36, 51, 0.82);
}
.contact-note {
  font-size: var(--step--1);
  color: var(--ash);
}
.contact-form {
  margin-top: 0.25rem;
  position: relative;
  width: 100%;
  min-width: 0;
}
.contact-form__fields {
  width: 100%;
  min-width: 0;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 3vw, 20px);
  margin-bottom: clamp(14px, 3vw, 20px);
  min-width: 0;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  width: 100%;
}
.contact-form__field--full {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(14px, 3vw, 20px);
}
.contact-form__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  line-height: 1.35;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: var(--step-0);
  color: var(--ink);
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.contact-form select {
  cursor: pointer;
  appearance: auto;
  min-height: 44px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(184, 147, 90, 0.65);
  box-shadow: 0 0 0 3px rgba(233, 205, 148, 0.35);
}
.contact-card .contact-form__privacy {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  text-align: center;
}
.contact-form__privacy a {
  color: var(--gold-deep);
  text-underline-offset: 2px;
}
.contact-form > .contact-form__submit {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Mobile: colonna unica, niente overflow, etichette leggibili */
@media (max-width: 720px) {
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .contact-form__fields {
    margin-top: 0.35rem;
    padding: 0;
  }
  .contact-form__label {
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
    padding: 14px 14px;
  }
  .contact-form textarea {
    min-height: 140px;
  }
  .contact-card .contact-form__privacy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
  }
  .contact-form__error {
    max-width: 36rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form > .contact-form__submit {
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
.contact-form__submit {
  margin-top: 0.25rem;
  position: relative;
  isolation: isolate;
}
.contact-form__submit-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(26, 36, 51, 0.2);
  border-top-color: var(--ink);
  margin-right: 6px;
  vertical-align: -2px;
  animation: contact-spin 0.8s linear infinite;
}
@keyframes contact-spin { to { transform: rotate(360deg); } }
.contact-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Contact: stage (idle/sending/success/error) ---------- */
.contact-form__stage {
  position: relative;
}
.contact-form__stage .contact-form__intro,
.contact-form__stage .contact-form {
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}

/* Sending state: subtle dimming + spinner on submit */
.contact-form__stage[data-state="sending"] .contact-form {
  pointer-events: none;
  opacity: 0.72;
}
.contact-form__stage[data-state="sending"] .contact-form__submit-label::after {
  content: "in corso…";
  margin-left: 0.35em;
  font-style: italic;
  color: rgba(26, 36, 51, 0.6);
}
.contact-form__stage[data-state="sending"] .contact-form__submit-spinner {
  display: inline-block;
}

/* Error inline (above submit) */
.contact-form__error {
  margin: 0 auto 0.75rem;
  max-width: 36rem;
  padding: 10px 14px;
  border: 1px solid rgba(185, 80, 80, 0.55);
  background: rgba(185, 80, 80, 0.08);
  color: #6b2a2a;
  border-radius: var(--radius);
  font-size: var(--step--1);
  line-height: 1.5;
  text-align: center;
}
.contact-form__stage[data-state="error"] .contact-form__error {
  animation: contact-shake 380ms var(--ease) both;
}
@keyframes contact-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

/* Success panel · replaces form on success */
/* [hidden] must win over display:flex (otherwise "Messaggio inviato" shows before submit) */
.contact-form__success[hidden] {
  display: none !important;
}
.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 4vw, 28px) 4px 8px;
}
.contact-form__success > * {
  margin-left: auto;
  margin-right: auto;
}
.contact-form__stage[data-state="success"] .contact-form,
.contact-form__stage[data-state="success"] .contact-form__intro {
  display: none;
}
.contact-form__stage[data-state="success"] .contact-form__success {
  animation: contact-rise 520ms var(--ease-out, var(--ease)) both;
}
@keyframes contact-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-form__success-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto clamp(12px, 2.4vw, 18px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(233, 205, 148, 0.55), rgba(233, 205, 148, 0) 60%),
    var(--ivory-soft);
  border: 1px solid rgba(184, 147, 90, 0.4);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -18px rgba(26, 36, 51, 0.45);
}
.contact-form__success-mark svg {
  width: 72px;
  height: 72px;
  overflow: visible;
}
.contact-form__success-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 201;
  stroke-dashoffset: 201;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  animation: contact-ring 620ms var(--ease-out, var(--ease)) 80ms forwards;
}
.contact-form__success-check {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: contact-check 360ms var(--ease-out, var(--ease)) 640ms forwards;
}
@keyframes contact-ring { to { stroke-dashoffset: 0; } }
@keyframes contact-check { to { stroke-dashoffset: 0; } }

.contact-form__success-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-2);
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.contact-card .contact-form__success-text {
  margin: 0 auto clamp(16px, 2.6vw, 22px);
  max-width: 34rem;
  color: rgba(26, 36, 51, 0.82);
  line-height: 1.6;
  text-align: center;
}
.contact-form__again {
  margin: 0.25rem auto 0;
  align-self: center;
}

@media (prefers-reduced-motion: reduce) {
  .contact-form__stage[data-state="success"] .contact-form__success,
  .contact-form__stage[data-state="error"] .contact-form__error,
  .contact-form__success-ring,
  .contact-form__success-check,
  .contact-form__submit-spinner {
    animation: none !important;
  }
  .contact-form__success-ring { stroke-dashoffset: 0; }
  .contact-form__success-check { stroke-dashoffset: 0; }
}

/* Pagina contatti: titolo sezione e timeline allineati al centro */
.page-contatti .section--muted .section__head {
  justify-content: center;
  text-align: center;
}
.page-contatti .section--muted .section__head > div {
  max-width: 40rem;
  margin: 0 auto;
}
.page-contatti .timeline__step {
  text-align: center;
}
.page-contatti .timeline__num {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Network block (la-rete page) ---------- */
.network {
  padding: clamp(40px, 7vh, 72px) var(--frame-pad);
  background: var(--ivory);
}
.network__inner { max-width: 1200px; margin: 0 auto; }
.network__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(28px, 5vw, 44px);
}
.network__head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin: 12px 0;
}
.network__head p {
  margin: 0;
  color: rgba(26, 36, 51, 0.78);
}
.network__eyebrow {
  color: var(--gold-light);
}
.network__stage {
  position: relative;
  min-height: min(480px, 55vh);
  border-radius: var(--radius-l);
  border: var(--border);
  background: radial-gradient(120% 80% at 50% 40%, rgba(22, 30, 44, 0.98), var(--ink));
  overflow: hidden;
}
.network__stage .network__canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(480px, 55vh);
}
.network__legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  display: grid;
  gap: 6px;
  font-size: var(--step--1);
  color: var(--ivory);
}
main.page-rete .network__legend {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: center;
  width: min(100% - 32px, 28rem);
}
main.page-rete .network__legend-row {
  justify-content: center;
}
.network__legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.legend-swatch {
  width: 12px;
  height: 2px;
  background: var(--gold-foil);
  border-radius: 1px;
  opacity: 0.8;
}
.legend-swatch.node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff5d7, #e9cd94);
  opacity: 1;
}
.legend-swatch.particle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff5d7;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 10px rgba(61, 214, 140, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.network__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
@media (max-width: 800px) {
  .network__metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .network__metrics { grid-template-columns: 1fr; }
}
.metric {
  text-align: center;
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(233, 205, 148, 0.15);
  border-radius: var(--radius-l);
}
.metric__value {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--gold-foil);
}
.metric__label {
  font-size: var(--step--1);
  color: var(--white-muted);
  margin-top: 6px;
}

/* ---------- Page: La rete (layout centrato) ---------- */
main.page-rete .section__head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(32px, 5vw, 48px);
}
main.page-rete .section__head > div {
  width: 100%;
}
main.page-rete .section__title {
  text-wrap: balance;
}
main.page-rete .grid-3 .card {
  text-align: center;
}
main.page-rete .card__icon {
  margin-left: auto;
  margin-right: auto;
}
main.page-rete .timeline {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
main.page-rete .timeline__step {
  text-align: center;
}
main.page-rete .timeline__num {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}
main.page-rete .rete-flow {
  max-width: 1200px;
  margin: 0 auto;
}
main.page-rete .rete-flow + .rete-flow {
  margin-top: clamp(40px, 6vh, 72px);
}
main.page-rete .rete-flow__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 3vh, 32px);
  text-align: center;
}
main.page-rete .rete-flow__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(180, 142, 80, 0.35);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
main.page-rete .rete-flow__title {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* --- Bridge to caso studio --- */
main.page-rete .rete-bridge {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
main.page-rete .rete-bridge__lede {
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vh, 44px);
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
}
main.page-rete .rete-bridge__lede strong {
  color: var(--ink);
  font-weight: 600;
}
main.page-rete .rete-bridge__board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(28px, 4vh, 44px);
}
@media (max-width: 720px) {
  main.page-rete .rete-bridge__board { grid-template-columns: 1fr; }
}
main.page-rete .rete-bridge__metric {
  padding: clamp(22px, 3vh, 34px) 18px;
  background: var(--paper);
  border: 1px solid rgba(180, 142, 80, 0.18);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
main.page-rete .rete-bridge__metric--accent {
  border-color: rgba(180, 142, 80, 0.55);
  box-shadow: 0 1px 0 rgba(180, 142, 80, 0.25) inset;
}
main.page-rete .rete-bridge__metric-value {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
  line-height: 1;
}
main.page-rete .rete-bridge__metric-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sepia);
  text-align: center;
}
main.page-rete .rete-bridge__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}
main.page-rete .rete-bridge__cta:hover {
  gap: 16px;
  color: var(--ink);
}

/* --- Brand distinction --- */
main .rete-brands {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 32px);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  main .rete-brands { grid-template-columns: 1fr; }
}
main .rete-brand {
  padding: clamp(26px, 4vh, 40px) clamp(22px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid rgba(180, 142, 80, 0.2);
  border-radius: 4px;
}
main .rete-brand__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(180, 142, 80, 0.35);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
main .rete-brand__name {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
main .rete-brand p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-soft);
}
main .rete-brands__note {
  max-width: 820px;
  margin: clamp(28px, 4vh, 44px) auto 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sepia);
}
main.page-rete .cta-band__inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 1.5rem;
}
main.page-rete .cta-band p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Page: Chi siamo (layout centrato) ---------- */
main.page-chi-siamo .page-hero__inner {
  text-align: center;
}
main.page-chi-siamo .page-hero h1,
main.page-chi-siamo .page-hero__eyebrow {
  text-wrap: balance;
}
main.page-chi-siamo .page-hero__inner > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 50ch;
  text-align: center;
  text-wrap: balance;
}
main.page-chi-siamo .section__head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(28px, 4vh, 44px);
  gap: 1rem 0;
}
main.page-chi-siamo .section__head > div {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
main.page-chi-siamo .section__eyebrow,
main.page-chi-siamo .section__title {
  text-align: center;
  text-wrap: balance;
}
main.page-chi-siamo .section__intro {
  flex: none;
  max-width: 50ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}
main.page-chi-siamo .grid-3 .card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
main.page-chi-siamo .grid-3 .card p {
  text-wrap: balance;
  max-width: 40ch;
}
main.page-chi-siamo .card h3 {
  text-wrap: balance;
}
main.page-chi-siamo .card__icon {
  margin-left: auto;
  margin-right: auto;
}
main.page-chi-siamo .mvp-card {
  gap: 6px 0;
}
main.page-chi-siamo .mvp-card__lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--gold-deep);
  margin: 4px 0 14px;
  max-width: 26ch;
  text-wrap: balance;
}
main.page-chi-siamo .mvp-card__lede + p {
  color: var(--ink-soft);
  max-width: 38ch;
}
main.page-chi-siamo .dual {
  max-width: 920px;
  margin: 0 auto;
}
main.page-chi-siamo .dual__box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
main.page-chi-siamo .dual__box h3,
main.page-chi-siamo .dual__box p {
  text-wrap: balance;
  max-width: 40ch;
}
main.page-chi-siamo .dual__box ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
  max-width: 40ch;
  margin: 0;
}
main.page-chi-siamo .cta-band__inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: 44rem;
}
main.page-chi-siamo .cta-band p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
  max-width: 46ch;
}
main.page-chi-siamo .cta-band h2 {
  text-wrap: balance;
  max-width: min(100%, 34ch);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Chi siamo · Hero editoriale (cs-hero)
   Pattern coerente con cf-hero (caso studio) ma con roster team
   ========================================================================== */
.cs-hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) var(--frame-pad) clamp(40px, 6vw, 64px);
  isolation: isolate;
  border-bottom: var(--border);
}
.cs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(233, 205, 148, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 80%, rgba(184, 147, 90, 0.12), transparent 60%),
    var(--ivory);
  pointer-events: none;
  z-index: -1;
}
.cs-hero__framework {
  position: absolute;
  inset: clamp(28px, 4vw, 56px);
  pointer-events: none;
}
.cs-hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(184, 147, 90, 0.5);
  border-style: solid;
  border-width: 0;
}
.cs-hero__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.cs-hero__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.cs-hero__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.cs-hero__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.cs-hero__side {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--sepia);
  letter-spacing: 0.18em;
}
.cs-hero__side--left {
  top: 50%; left: clamp(14px, 2vw, 28px);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.cs-hero__side--right {
  top: 50%; right: clamp(14px, 2vw, 28px);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
.cs-hero__side-rule {
  width: 1px;
  height: 38px;
  background: rgba(184, 147, 90, 0.5);
}
.cs-hero__side-rule--vertical { height: 38px; }
@media (max-width: 1100px) {
  .cs-hero__side { display: none; }
}

.cs-hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.cs-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(184, 147, 90, 0.4);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.4);
  color: var(--sepia);
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cs-hero__kicker .dot--live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 10px rgba(61, 214, 140, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

.cs-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(20px, 3vw, 30px);
  text-wrap: balance;
  color: var(--ink);
}
.cs-hero__title-row { display: block; }
.cs-hero__title-row--ital { font-style: italic; }
.cs-hero__title em {
  font-family: var(--serif);
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-hero__title-strong {
  position: relative;
  display: inline-block;
}
.cs-hero__title-strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: linear-gradient(90deg, transparent, rgba(184, 147, 90, 0.45), transparent);
  border-radius: 2px;
  z-index: -1;
}

.cs-hero__lede {
  max-width: 64ch;
  margin: 0 auto clamp(24px, 3vw, 36px);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.85);
  text-wrap: balance;
}
.cs-hero__lede em {
  font-style: italic;
  color: var(--gold-deep);
}
.cs-hl {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 62%, rgba(233, 205, 148, 0.45) 62%);
  padding: 0 2px;
}

.cs-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.cs-hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid rgba(184, 147, 90, 0.55);
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.cs-hero__cta-ghost:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}

/* ---------- Roster (4 ruoli del team) ---------- */
.cs-hero__roster {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.7), rgba(255, 250, 240, 0.4));
  border: 1px solid rgba(184, 147, 90, 0.32);
  border-radius: var(--radius-l);
  box-shadow:
    0 30px 80px rgba(26, 36, 51, 0.08),
    0 0 0 6px rgba(255, 250, 240, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.cs-hero__roster::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(184, 147, 90, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.cs-hero__roster-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.cs-roster-cell {
  padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2vw, 22px);
  text-align: center;
  border-right: 1px dashed rgba(184, 147, 90, 0.32);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.cs-roster-cell:last-child { border-right: 0; }
.cs-roster-cell__role {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
}
.cs-roster-cell__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}
.cs-roster-cell__detail {
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: balance;
  max-width: 28ch;
}
.cs-roster-cell--accent {
  background: linear-gradient(180deg, rgba(233, 205, 148, 0.22), rgba(184, 147, 90, 0.06));
}
.cs-roster-cell--accent .cs-roster-cell__name {
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-roster-cell--accent::before,
.cs-roster-cell--accent::after {
  content: "◈";
  position: absolute;
  top: 8px;
  font-size: 10px;
  color: var(--gold-deep);
}
.cs-roster-cell--accent::before { left: 8px; }
.cs-roster-cell--accent::after { right: 8px; }

.cs-hero__roster-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 22px;
  background: rgba(26, 36, 51, 0.04);
  border-top: 1px dashed rgba(184, 147, 90, 0.28);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sepia);
  text-transform: uppercase;
}
.cs-hero__roster-foot .dot--live {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  margin-right: 8px;
  animation: pulse-dot 2s ease-in-out infinite;
}

@media (max-width: 960px) {
  .cs-hero__roster-row { grid-template-columns: 1fr 1fr; }
  .cs-roster-cell { border-right: 1px dashed rgba(184, 147, 90, 0.32); }
  .cs-roster-cell:nth-child(even) { border-right: 0; }
  .cs-roster-cell:nth-child(n+3) { border-top: 1px dashed rgba(184, 147, 90, 0.28); }
}
@media (max-width: 560px) {
  .cs-hero__roster-row { grid-template-columns: 1fr; }
  .cs-roster-cell {
    border-right: 0 !important;
    border-top: 1px dashed rgba(184, 147, 90, 0.28);
  }
  .cs-roster-cell:first-child { border-top: 0; }
  .cs-hero__roster-foot { justify-content: center; text-align: center; }
}

/* ---------- Dual columns ---------- */
.dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.dual__box:only-child {
  grid-column: 1 / -1;
}
@media (max-width: 820px) {
  .dual { grid-template-columns: 1fr; }
}
.dual__box {
  padding: clamp(24px, 4vw, 32px);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
  color: var(--ink);
}
.dual__box h3 {
  font-family: var(--serif);
  font-style: italic;
  margin: 0 0 12px;
}
.dual__box p { margin: 0 0 12px; color: rgba(26, 36, 51, 0.78); }
.dual__box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(26, 36, 51, 0.78);
  list-style: disc;
}
.section--dark .dual__box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(233, 205, 148, 0.18);
  color: var(--ivory);
}
.section--dark .dual__box h3 { color: var(--ivory); }
.section--dark .dual__box p,
.section--dark .dual__box ul { color: var(--white-muted); }

/* ---------- Settori grid ---------- */
.settori-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .settori-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .settori-grid { grid-template-columns: 1fr; }
}
.settore {
  display: block;
  padding: 24px 22px;
  border: var(--border);
  border-radius: var(--radius-l);
  background: var(--paper);
  transition: border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.settore:hover { border-color: rgba(184, 147, 90, 0.55); transform: translateY(-2px); }
.settore__ico {
  font-family: var(--mono);
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.settore h3 {
  font-family: var(--serif);
  font-style: italic;
  margin: 0 0 8px;
}
.settore p {
  margin: 0 0 14px;
  font-size: var(--step--1);
  color: rgba(26, 36, 51, 0.78);
}
.settore__arrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.settore__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  display: inline-block;
  margin-bottom: 8px;
}

/* ---------- Sector landing hero (settori/*.html) ---------- */
.hero {
  position: relative;
  padding: clamp(72px, 12vh, 120px) var(--frame-pad) clamp(48px, 8vh, 80px);
  background: linear-gradient(165deg, #1e2a3e 0%, var(--ink) 42%, #131b28 100%);
  color: var(--ivory);
  overflow: hidden;
}
.hero__mesh,
.hero__grain,
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__mesh {
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(184, 147, 90, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 70%, rgba(100, 80, 50, 0.15), transparent 45%);
}
.hero__grain { opacity: 0.25; mix-blend-mode: overlay; }
.hero__spotlight {
  background: radial-gradient(600px 400px at 60% 30%, rgba(233, 205, 148, 0.08), transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}
.hero__badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border: 1px solid rgba(233, 205, 148, 0.25);
  border-radius: 999px;
  color: var(--gold-foil);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero__lead {
  margin: 0 0 24px;
  font-size: var(--step-1);
  color: var(--white-muted);
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  padding-top: 8px;
  border-top: 1px solid rgba(233, 205, 148, 0.15);
}
.hero__trust-item { min-width: 100px; }
.hero__trust-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--gold-foil);
}
.hero__trust-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(233, 205, 148, 0.18);
  border-radius: var(--radius-l);
  padding: 24px;
}
.hero__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero__card-head h2 {
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--step-1);
  font-weight: 600;
  margin: 0;
}

/* ---------- Quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .quotes { grid-template-columns: 1fr; }
}
.quote {
  margin: 0;
  padding: 24px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
}
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.45;
  margin: 0 0 18px;
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--step--1);
  color: rgba(26, 36, 51, 0.7);
}
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-foil), var(--gold-deep));
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.quote__name { display: block; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Mobile · contenuto centrato (≤720px)
   ========================================================================== */
@media (max-width: 720px) {
  main {
    text-align: center;
  }
  .page-hero,
  .page-hero__inner {
    text-align: center;
  }
  .page-hero__inner > p {
    margin-left: auto;
    margin-right: auto;
  }
  .section__head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .section__intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .section__title,
  .section__eyebrow {
    text-align: center;
  }
  .grid-3 .card,
  .pricing .price-card {
    text-align: center;
  }
  .price-card ul {
    justify-items: center;
  }
  .voice--left,
  .voice--right {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--frame-pad);
    padding-right: var(--frame-pad);
  }
  .voice figcaption {
    justify-content: center;
  }
  .ledger--in-hero,
  .ledger--in-hero .ledger__head {
    text-align: center;
  }
  .ledger--in-hero .ledger__tail {
    text-align: center;
  }
  .constellation__head {
    margin-left: auto;
    margin-right: auto;
  }
  .prose {
    text-align: center;
  }
  .prose ul {
    list-style-position: inside;
    padding-left: 0;
  }
  .contact-block,
  .contact-card {
    text-align: center;
  }
  .faq {
    margin-left: auto;
    margin-right: auto;
  }
  .faq__q {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .faq__a {
    text-align: center;
  }
  .cta-band__inner {
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .cta-band .btn {
    max-width: 100%;
    padding: 10px 18px;
    font-size: 0.82rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .cta-band p {
    margin-left: auto;
    margin-right: auto;
  }
  .dual__box {
    text-align: center;
  }
  .dual__box ul {
    list-style-position: inside;
    padding-left: 0;
  }
  .timeline__step {
    text-align: center;
  }
  .quotes .quote {
    text-align: center;
  }
  .quote__who {
    justify-content: center;
  }
  .settore {
    text-align: center;
  }
  .constellation__legend,
  .network__legend {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
  }
  .constellation__legend-row,
  .network__legend-row {
    justify-content: center;
  }
  .metric {
    text-align: center;
  }
  .hero__card-head {
    justify-content: center;
  }
  .theatre__panel {
    text-align: center;
  }
  .theatre__visual,
  .theatre-mock {
    text-align: left;
  }
  .spread__header,
  .spread__page-title,
  .spread__page-lede,
  .spread__index {
    text-align: center;
  }
  .spread__cta {
    margin-left: auto;
    margin-right: auto;
  }
  .ledger {
    text-align: center;
  }
  .ledger__head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .ledger__tail {
    text-align: center;
  }
  .ledger__cell {
    align-items: center;
    text-align: center;
  }
  footer.colophon {
    text-align: center;
  }
}

@media (max-width: 720px) {
  [data-theatre] .theatre__rail .theatre__panel {
    text-align: left;
  }
}

/* ==========================================================================
   PAGE: Come funziona · Caso studio
   Editorial dossier: hero theatre, ledger, chapters, case vault, premium form
   ========================================================================== */

/* ---------- Layout container ---------- */
main.page-cf {
  position: relative;
  overflow-x: clip;
}

/* Decorative ornament: small diamond */
main.page-cf .cf-ornament {
  display: inline-block;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold-deep);
  margin: 0 8px;
  vertical-align: middle;
}

/* Hint highlight */
.cf-hl {
  color: var(--gold-deep);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 600;
}

/* ---------- HERO EDITORIALE ---------- */
.cf-hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) var(--frame-pad) clamp(40px, 6vw, 60px);
  isolation: isolate;
}
.cf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(233, 205, 148, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 80%, rgba(184, 147, 90, 0.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.cf-hero__framework {
  position: absolute;
  inset: clamp(28px, 4vw, 56px);
  pointer-events: none;
}
.cf-hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(184, 147, 90, 0.5);
  border-style: solid;
  border-width: 0;
}
.cf-hero__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.cf-hero__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.cf-hero__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.cf-hero__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.cf-hero__side {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--sepia);
  letter-spacing: 0.18em;
}
.cf-hero__side--left {
  top: 50%; left: clamp(14px, 2vw, 28px);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.cf-hero__side--right {
  top: 50%; right: clamp(14px, 2vw, 28px);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
.cf-hero__side-rule {
  width: 1px;
  height: 38px;
  background: rgba(184, 147, 90, 0.5);
}
.cf-hero__side-rule--vertical { height: 38px; }
@media (max-width: 1100px) {
  .cf-hero__side { display: none; }
}

.cf-hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}
.cf-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(184, 147, 90, 0.4);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.4);
  color: var(--sepia);
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.cf-hero__kicker .dot--live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 10px rgba(61, 214, 140, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

.cf-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(20px, 3vw, 32px);
  text-wrap: balance;
}
.cf-hero__title-row { display: block; }
.cf-hero__title-row--ital { font-style: italic; }
.cf-hero__title em {
  font-family: var(--serif);
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-hero__title-strong {
  position: relative;
  display: inline-block;
}
.cf-hero__title-strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: linear-gradient(90deg, transparent, rgba(184, 147, 90, 0.45), transparent);
  border-radius: 2px;
  z-index: -1;
}

.cf-hero__lede {
  max-width: 58ch;
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.85);
  text-wrap: balance;
}

.cf-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.cf-hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid rgba(184, 147, 90, 0.55);
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.cf-hero__cta-ghost:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}

/* ---------- LEDGER (5 cells) ---------- */
.cf-hero__ledger {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.7), rgba(255, 250, 240, 0.4));
  border: 1px solid rgba(184, 147, 90, 0.32);
  border-radius: var(--radius-l);
  box-shadow:
    0 30px 80px rgba(26, 36, 51, 0.08),
    0 0 0 6px rgba(255, 250, 240, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.cf-hero__ledger::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(184, 147, 90, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.cf-hero__ledger-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.cf-ledger-cell {
  padding: clamp(20px, 2.6vw, 32px) clamp(16px, 2vw, 24px);
  text-align: center;
  border-right: 1px dashed rgba(184, 147, 90, 0.32);
  position: relative;
}
.cf-ledger-cell:last-child { border-right: 0; }
.cf-ledger-cell__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ash);
  margin-bottom: 12px;
}
.cf-ledger-cell__value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  color: var(--ink);
  display: inline-block;
}
.cf-ledger-cell__value--text {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding-top: 0.4rem;
}
.cf-ledger-cell--accent {
  background: linear-gradient(180deg, rgba(233, 205, 148, 0.2), rgba(184, 147, 90, 0.06));
}
.cf-ledger-cell--accent .cf-ledger-cell__value {
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(233, 205, 148, 0.5);
}
.cf-ledger-cell--accent::before,
.cf-ledger-cell--accent::after {
  content: "◈";
  position: absolute;
  top: 8px;
  font-size: 10px;
  color: var(--gold-deep);
}
.cf-ledger-cell--accent::before { left: 8px; }
.cf-ledger-cell--accent::after { right: 8px; }

.cf-hero__ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 22px;
  background: rgba(26, 36, 51, 0.04);
  border-top: 1px dashed rgba(184, 147, 90, 0.28);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sepia);
}
.cf-hero__ledger-foot .dot--live {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3dd68c;
  margin-right: 8px;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Tablet: 2×2 + riga intera per “Caso reale” */
@media (max-width: 900px) and (min-width: 721px) {
  .cf-hero__ledger-row {
    grid-template-columns: 1fr 1fr;
  }
  .cf-ledger-cell {
    border-right: 0;
    border-top: 1px dashed rgba(184, 147, 90, 0.32);
  }
  .cf-ledger-cell:nth-child(-n + 2) {
    border-top: 0;
  }
  .cf-ledger-cell:nth-child(odd):not(:nth-child(5)) {
    border-right: 1px dashed rgba(184, 147, 90, 0.32);
  }
  .cf-ledger-cell:nth-child(5) {
    grid-column: 1 / -1;
  }
}

/* Mobile: una metrica per riga, etichetta a sinistra e numero a destra */
@media (max-width: 720px) {
  .cf-hero__ledger {
    border-radius: var(--radius);
    box-shadow:
      0 16px 48px rgba(26, 36, 51, 0.07),
      0 0 0 4px rgba(255, 250, 240, 0.35);
  }
  .cf-hero__ledger-row {
    display: flex;
    flex-direction: column;
  }
  .cf-ledger-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 16px;
    padding: 15px 16px;
    text-align: left;
    border-right: 0 !important;
    border-top: 1px dashed rgba(184, 147, 90, 0.28) !important;
  }
  .cf-ledger-cell:first-child {
    border-top: 0 !important;
  }
  .cf-ledger-cell__label {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.35;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .cf-ledger-cell__value {
    flex-shrink: 0;
    text-align: right;
    font-size: clamp(1.4rem, 5.2vw, 1.85rem);
  }
  .cf-ledger-cell__value--text {
    max-width: 58%;
    font-size: clamp(0.98rem, 3.4vw, 1.12rem);
    line-height: 1.3;
    padding-top: 0;
    text-align: right;
  }
  .cf-ledger-cell--accent::before,
  .cf-ledger-cell--accent::after {
    display: none;
  }

  .cf-hero__ledger-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .cf-hero__ledger-foot > span {
    display: block;
    line-height: 1.5;
    max-width: 100%;
  }
}

/* ---------- CHAPTER (sezioni numerate) ---------- */
.cf-chapter {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) var(--frame-pad);
}
.cf-chapter__head {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 200px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.cf-chapter__numeral {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 0.9;
  background: linear-gradient(180deg, var(--gold-foil), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  letter-spacing: -0.02em;
  user-select: none;
}
.cf-chapter__numeral::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 147, 90, 0.5), transparent);
  transform: translateX(-50%);
}
.cf-chapter__intro { min-width: 0; }
.cf-chapter__kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sepia);
}
.cf-chapter__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: balance;
}
.cf-chapter__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-chapter__lede {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(26, 36, 51, 0.78);
  max-width: 58ch;
  margin: 0;
  text-wrap: balance;
}
.cf-chapter__lede--center {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-wrap: balance;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
/* Sovrascrive qualsiasi allineamento ereditato da main / colonne */
main.page-cf p.cf-chapter__lede--center {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Fuori dalla griglia a 2 colonne: centrato rispetto a tutta la sezione */
/* Testata + lede a tutta sezione: meno spazio sotto l’H2, poi il lede centrato */
.cf-chapter__head:has(+ .cf-chapter__lede--below-head) {
  margin-bottom: clamp(14px, 2vw, 22px);
}
.cf-chapter__lede--below-head {
  margin-top: 0;
  margin-bottom: clamp(36px, 4.5vw, 52px) !important;
  max-width: 56ch !important;
}
.cf-chapter__outro {
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(26, 36, 51, 0.85);
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 720px) {
  .cf-chapter__head {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .cf-chapter__numeral {
    font-size: clamp(4.5rem, 24vw, 8rem);
  }
  .cf-chapter__lede { margin-left: auto; margin-right: auto; }
}

/* ---------- ISSUES (numbered editorial list) ---------- */
.cf-issues {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(184, 147, 90, 0.25);
  border-left: 1px solid rgba(184, 147, 90, 0.25);
}
.cf-issue {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  border-right: 1px solid rgba(184, 147, 90, 0.25);
  border-bottom: 1px solid rgba(184, 147, 90, 0.25);
  background: rgba(255, 250, 240, 0.35);
  transition: background var(--fast) var(--ease);
}
.cf-issue:hover { background: rgba(255, 250, 240, 0.7); }
.cf-issue__num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  font-weight: 600;
  padding-top: 6px;
  white-space: nowrap;
}
.cf-issue p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.85);
}
.cf-issue--coda {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, rgba(233, 205, 148, 0.18), rgba(184, 147, 90, 0.05));
}
.cf-issue--coda p { font-style: italic; font-family: var(--serif); font-size: 1.15em; }
.cf-issue--coda.cf-issue--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.cf-issue--coda.cf-issue--center .cf-issue__num {
  padding-top: 0;
  margin-bottom: 0.35rem;
}
.cf-issue--coda.cf-issue--center p {
  text-align: center !important;
  max-width: 58ch;
  width: 100%;
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
}
main.page-cf .cf-issue--coda.cf-issue--center,
main.page-cf .cf-issue--coda.cf-issue--center p {
  text-align: center !important;
}
@media (max-width: 720px) {
  .cf-issues { grid-template-columns: 1fr; }
  .cf-issue--coda { grid-column: 1 / -1; }
}

/* ---------- BIG QUOTE ---------- */
.cf-bigquote {
  position: relative;
  max-width: 900px;
  margin: clamp(60px, 8vw, 90px) auto 0;
  padding: clamp(40px, 5vw, 64px) clamp(36px, 5vw, 56px);
  text-align: center;
  font-family: var(--serif);
}
.cf-bigquote p {
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}
.cf-bigquote p span { display: block; }
.cf-bigquote p em {
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-bigquote__open,
.cf-bigquote__close {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 14rem);
  line-height: 0.6;
  color: rgba(184, 147, 90, 0.3);
  font-weight: 400;
  user-select: none;
}
.cf-bigquote__open { top: 0; left: 4%; }
.cf-bigquote__close { bottom: 10%; right: 4%; }

/* ---------- DELIVERABLES (cosa facciamo) ---------- */
.cf-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(40px, 5vw, 60px);
}
@media (max-width: 900px) {
  .cf-deliverables { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cf-deliverables { grid-template-columns: 1fr; }
}
.cf-deliv {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.22);
  border-radius: var(--radius-l);
  box-shadow: 0 12px 32px rgba(26, 36, 51, 0.05);
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.cf-deliv:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 147, 90, 0.55);
  box-shadow: 0 18px 48px rgba(26, 36, 51, 0.1);
}
.cf-deliv__num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.cf-deliv h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-1);
  margin: 0 0 8px;
  color: var(--ink);
}
.cf-deliv p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.6;
  color: rgba(26, 36, 51, 0.78);
}

/* ---------- GUARANTEE BANNER ---------- */
.cf-guarantee {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 160px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 3.5vw, 44px);
  background: linear-gradient(145deg, rgba(26, 36, 51, 0.97), rgba(26, 36, 51, 0.92));
  border: 1px solid rgba(233, 205, 148, 0.3);
  border-radius: var(--radius-l);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.cf-guarantee::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 0% 0%, rgba(233, 205, 148, 0.15), transparent 60%),
    radial-gradient(400px 200px at 100% 100%, rgba(233, 205, 148, 0.08), transparent 60%);
  pointer-events: none;
}
.cf-guarantee__seal {
  position: relative;
  color: var(--gold-foil);
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: cf-spin 30s linear infinite;
}
.cf-guarantee__seal svg { width: 100%; height: 100%; }
@keyframes cf-spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.cf-guarantee__copy { position: relative; }
.cf-guarantee__kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-foil);
}
.cf-guarantee__copy p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--ivory);
}
.cf-guarantee__copy p strong {
  font-weight: 600;
  color: var(--gold-foil);
  font-style: normal;
  font-family: var(--sans);
}
.cf-guarantee__title {
  margin: 0 0 14px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  color: var(--ivory);
  letter-spacing: -0.005em;
}
.cf-guarantee__title em {
  color: var(--gold-foil);
  font-style: italic;
}
.cf-guarantee-section {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(16px, 3vw, 32px);
}
@media (max-width: 600px) {
  .cf-guarantee {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .cf-guarantee__seal { width: clamp(100px, 30vw, 140px); }
}

/* ---------- ACTIONS ---------- */
.cf-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px);
}
.cf-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid rgba(184, 147, 90, 0.5);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.5);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.cf-link-cta:hover {
  background: var(--ink);
  color: var(--gold-foil);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------- ERRORS (3 cards stamp-style) ---------- */
.cf-errors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
@media (max-width: 900px) {
  .cf-errors { grid-template-columns: 1fr; }
}
.cf-error {
  position: relative;
  padding: clamp(28px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid rgba(154, 42, 42, 0.18);
  border-radius: var(--radius-l);
  box-shadow: 0 16px 44px rgba(26, 36, 51, 0.06);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.cf-error:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(26, 36, 51, 0.1);
}
.cf-error__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(154, 42, 42, 0.25);
}
.cf-error__tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--red-seal);
  text-transform: uppercase;
}
.cf-error__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--red-seal);
  letter-spacing: -0.01em;
}
.cf-error h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--ink);
}
.cf-error p {
  margin: 0 0 10px;
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.82);
}
.cf-error__verdict {
  margin: 14px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 147, 90, 0.2);
  font-size: 11px !important;
  letter-spacing: 0.08em;
  color: var(--gold-deep) !important;
  font-weight: 600;
  text-transform: none;
}

/* ---------- CASE STUDY (vault) ---------- */
.cf-case {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--frame-pad);
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(233, 205, 148, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(26, 36, 51, 0.06), transparent 60%),
    var(--ivory-deep);
  border-top: 1px solid rgba(184, 147, 90, 0.25);
  border-bottom: 1px solid rgba(184, 147, 90, 0.25);
}
.cf-case__rule {
  position: absolute;
  top: clamp(22px, 3vw, 36px);
  left: 50%;
  width: clamp(60px, 8vw, 120px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  transform: translateX(-50%);
}
.cf-case__head {
  max-width: 1100px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}
.cf-case__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 14px 0 0;
  text-wrap: balance;
}
.cf-case__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-case__brief {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 32px);
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid rgba(184, 147, 90, 0.3);
  border-radius: var(--radius-l);
  text-align: center;
}
.cf-case__brief-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.cf-case__brief p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
}
.cf-case__brief p strong {
  font-style: normal;
  font-family: var(--sans);
  font-weight: 600;
}

.cf-case__filter {
  max-width: 880px;
  margin: clamp(28px, 3.5vw, 44px) auto clamp(40px, 5vw, 60px);
  padding: clamp(22px, 3vw, 32px) clamp(24px, 3vw, 36px);
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(184, 147, 90, 0.08), transparent 70%);
  border-radius: 0 var(--radius-l) var(--radius-l) 0;
}
.cf-case__filter-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cf-case__filter p {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  color: var(--ink);
}
.cf-case__filter p strong {
  font-weight: 600;
  color: var(--ink);
}

.cf-case__board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1100px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
@media (max-width: 720px) {
  .cf-case__board { grid-template-columns: 1fr; }
}
.cf-case__metric {
  position: relative;
  text-align: center;
  padding: clamp(28px, 3.5vw, 40px) clamp(20px, 2.5vw, 28px);
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.3);
  border-radius: var(--radius-l);
  box-shadow: 0 16px 44px rgba(26, 36, 51, 0.06);
  overflow: hidden;
}
.cf-case__metric::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(184, 147, 90, 0.22);
  border-radius: 6px;
  pointer-events: none;
}
.cf-case__metric-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ash);
  margin-bottom: 16px;
}
.cf-case__metric-value {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
}
.cf-case__metric-unit {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: var(--mono);
  color: var(--sepia);
}
.cf-case__metric--accent {
  background: linear-gradient(145deg, rgba(26, 36, 51, 0.97), rgba(26, 36, 51, 0.9));
  border-color: rgba(233, 205, 148, 0.4);
  color: var(--ivory);
}
.cf-case__metric--accent .cf-case__metric-label {
  color: var(--gold-foil);
}
.cf-case__metric--accent .cf-case__metric-value {
  background: linear-gradient(180deg, var(--gold-foil), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(233, 205, 148, 0.4);
}
.cf-case__metric--accent .cf-case__metric-unit { color: var(--gold-foil); }
.cf-case__metric--accent::before { border-color: rgba(233, 205, 148, 0.3); }

/* ---------- CASE FLOW (chart) ---------- */
.cf-case__chart {
  max-width: 1100px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  padding: clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px);
  background: rgba(255, 250, 240, 0.6);
  border: 1px dashed rgba(184, 147, 90, 0.32);
  border-radius: var(--radius-l);
}
.cf-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(8px, 1.5vw, 18px);
  align-items: center;
}
.cf-flow__node {
  text-align: center;
  padding: clamp(16px, 2vw, 24px) 16px;
  border: 1px solid rgba(184, 147, 90, 0.3);
  border-radius: var(--radius-l);
  background: var(--paper);
}
.cf-flow__node .mono {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ash);
  margin-bottom: 8px;
}
.cf-flow__node strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.cf-flow__hint {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--sepia);
  font-family: var(--mono);
}
.cf-flow__node--mid {
  background: linear-gradient(145deg, rgba(233, 205, 148, 0.2), rgba(184, 147, 90, 0.05));
  border-color: rgba(184, 147, 90, 0.45);
}
.cf-flow__node--out {
  background: linear-gradient(145deg, rgba(26, 36, 51, 0.97), rgba(26, 36, 51, 0.9));
  border-color: rgba(233, 205, 148, 0.4);
  color: var(--ivory);
}
.cf-flow__node--out .mono { color: var(--gold-foil); }
.cf-flow__node--out strong {
  background: linear-gradient(180deg, var(--gold-foil), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-flow__node--out .cf-flow__hint { color: var(--gold-foil); }
.cf-flow__arrow {
  color: var(--gold-deep);
  width: 100%;
  min-width: 40px;
}
.cf-flow__arrow svg { width: 100%; height: 30px; }
@media (max-width: 800px) {
  .cf-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cf-flow__arrow {
    transform: none;
    width: 100%;
    min-width: 0;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--gold-deep);
    pointer-events: none;
  }
  .cf-flow__arrow svg {
    display: none;
  }
  .cf-flow__arrow::before {
    content: "";
    width: 2px;
    height: 30px;
    border-radius: 2px;
    background: repeating-linear-gradient(
      to bottom,
      currentColor 0 5px,
      transparent 5px 11px
    );
    opacity: 0.92;
  }
  .cf-flow__arrow::after {
    content: "";
    width: 0;
    height: 0;
    margin-top: -1px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid currentColor;
    filter: drop-shadow(0 3px 8px rgba(184, 147, 90, 0.45));
  }
}

/* ---------- OUTCOME: sintesi + ROAS + testimonianze ---------- */
.cf-case__outcome {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 6vw, 64px);
}

.cf-case__synthesis {
  width: 100%;
  max-width: 42rem;
  margin: 0;
  padding: clamp(28px, 4.5vw, 52px) clamp(22px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 2.5vw, 26px);
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.28);
  border-radius: var(--radius-l);
  box-shadow: 0 20px 56px rgba(26, 36, 51, 0.07);
}

.cf-case__synthesis-eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.cf-case__synthesis-line {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.12rem, 2.1vw, 1.42rem);
  line-height: 1.62;
  color: var(--ink);
  text-wrap: balance;
  max-width: 36rem;
}
.cf-case__synthesis-line strong {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
}

.cf-case__synthesis-note {
  margin: 0;
  width: 100%;
  max-width: 34rem;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: rgba(26, 36, 51, 0.58);
  text-wrap: balance;
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 3vw, 26px);
  background: rgba(255, 250, 240, 0.85);
  border: 1px dashed rgba(184, 147, 90, 0.38);
  border-radius: 10px;
}

.cf-case__roas-frame {
  width: 100%;
  margin: clamp(4px, 1vw, 8px) 0 0;
  padding-top: clamp(22px, 3.5vw, 30px);
  border-top: 1px solid rgba(184, 147, 90, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cf-roi {
  position: relative;
  width: clamp(188px, 26vw, 236px);
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}
.cf-roi__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.cf-roi__progress {
  stroke: url(#cf-roi-grad);
  stroke: var(--gold-deep);
  filter: drop-shadow(0 0 12px rgba(184, 147, 90, 0.4));
  animation: cf-roi-fill 2.6s var(--ease-out) both;
}
@keyframes cf-roi-fill {
  from { stroke-dashoffset: 565; }
  to { stroke-dashoffset: 120; }
}
.cf-roi__center {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cf-roi__center .mono {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--sepia);
  margin-bottom: 6px;
}
.cf-roi__center strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-roi__hint {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--sepia);
  font-family: var(--mono);
}

/* ---------- CASE QUOTES ---------- */
.cf-case__quotes {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  text-align: center;
}

.cf-case__quotes-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 38rem;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding-top: clamp(4px, 1vw, 12px);
}
.cf-case__quotes-head::before {
  content: "";
  width: clamp(56px, 14vw, 96px);
  height: 1px;
  margin-bottom: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 147, 90, 0.85), transparent);
}

.cf-case__quotes-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.cf-case__quotes-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.28;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.cf-case__quotes-label {
  display: block;
  margin-bottom: clamp(24px, 3vw, 36px);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sepia);
}
.cf-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  text-align: left;
}
@media (max-width: 900px) {
  .cf-quotes { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cf-case__outcome .cf-quote {
    text-align: center;
  }
  .cf-case__outcome .cf-quote::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .cf-case__outcome .cf-quote figcaption {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.cf-quote {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.22);
  border-radius: var(--radius-l);
  box-shadow: 0 12px 32px rgba(26, 36, 51, 0.05);
  margin: 0;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.cf-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(26, 36, 51, 0.1);
}
.cf-quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 18px;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: rgba(184, 147, 90, 0.45);
}
.cf-quote__stars {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
}
.cf-quote blockquote {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
}
.cf-quote figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 147, 90, 0.2);
  font-size: var(--step--1);
}
.cf-quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-foil), var(--gold-deep));
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.cf-quote__name {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.cf-quote__role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--sepia);
}

/* ---------- STEPS (process) ---------- */
.cf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  max-width: 880px;
  margin: 0 auto;
}
.cf-step {
  display: grid;
  grid-template-columns: clamp(80px, 10vw, 120px) 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.22);
  border-radius: var(--radius-l);
  box-shadow: 0 12px 32px rgba(26, 36, 51, 0.05);
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.cf-step:hover {
  transform: translateX(4px);
  border-color: rgba(184, 147, 90, 0.55);
}
.cf-step__num {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-foil), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-step__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.cf-step h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}
.cf-step p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.82);
}
@media (max-width: 540px) {
  .cf-step { grid-template-columns: 1fr; text-align: center; }
}

/* ---------- FORM STAGE (premium) ---------- */
.cf-form-stage {
  position: relative;
  padding: clamp(70px, 9vw, 110px) var(--frame-pad);
  isolation: isolate;
  overflow: hidden;
}
.cf-form-stage__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(233, 205, 148, 0.18), transparent 60%),
    radial-gradient(700px 400px at 0% 80%, rgba(184, 147, 90, 0.12), transparent 60%),
    var(--ivory);
  z-index: -1;
}
.cf-form-stage__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 147, 90, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 90, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.cf-form-stage__inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.cf-form-stage__head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.cf-form-stage__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.cf-form-stage__head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  text-wrap: balance;
}
.cf-form-stage__head h2 em {
  font-style: italic;
}
.cf-form-stage__head p {
  margin: 0 auto;
  max-width: 56ch;
  font-size: var(--step-0);
  line-height: 1.6;
  color: rgba(26, 36, 51, 0.8);
  text-wrap: balance;
}

.cf-form-card {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.95), rgba(250, 245, 234, 0.85));
  border: 1px solid rgba(184, 147, 90, 0.4);
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
  box-shadow:
    0 30px 80px rgba(26, 36, 51, 0.12),
    0 0 0 6px rgba(255, 250, 240, 0.5);
  overflow: hidden;
}
.cf-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-foil), var(--gold-deep), var(--gold-foil), transparent);
}
.cf-form-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(184, 147, 90, 0.22);
  border-radius: 6px;
  pointer-events: none;
}
.cf-form-card .contact-form__intro--silent {
  display: none;
}
.cf-form .contact-form__label {
  color: var(--gold-deep);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.cf-form input,
.cf-form select,
.cf-form textarea {
  border-color: rgba(184, 147, 90, 0.3);
  background: rgba(255, 250, 240, 0.6);
  font-size: var(--step-0);
  padding: 14px 16px;
  border-radius: var(--radius);
}
.cf-form input:focus,
.cf-form select:focus,
.cf-form textarea:focus {
  background: var(--paper);
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(233, 205, 148, 0.3);
}
.cf-form__submit {
  width: 100%;
  margin-top: 12px;
  padding: 16px 28px;
  font-size: var(--step-0);
}

/* ---------- PILLARS (perché noi) ---------- */
.cf-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .cf-pillars { grid-template-columns: 1fr; }
}
.cf-pillar {
  position: relative;
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.22);
  border-radius: var(--radius-l);
  box-shadow: 0 12px 32px rgba(26, 36, 51, 0.05);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.cf-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(26, 36, 51, 0.1);
}
.cf-pillar__num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.cf-pillar h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step-1);
  margin: 0 0 6px;
  color: var(--ink);
}
.cf-pillar__claim {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin: 0 0 14px;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cf-pillar > p:last-child {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.65;
  color: rgba(26, 36, 51, 0.78);
}

/* ---------- FAQ on cf page ---------- */
.cf-faq {
  max-width: 720px;
  margin: 0 auto;
  gap: 14px;
}
.cf-faq__hint {
  max-width: 38rem;
  margin: -0.25rem auto clamp(20px, 3.5vw, 32px);
  padding: 0 var(--frame-pad);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.55;
  color: var(--sepia);
  text-wrap: balance;
}
.cf-faq .faq__item {
  background: var(--paper);
  border: 1px solid rgba(184, 147, 90, 0.28);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(26, 36, 51, 0.05);
}
.cf-faq .faq__item.is-open {
  border-color: rgba(184, 147, 90, 0.48);
  box-shadow: 0 14px 40px rgba(26, 36, 51, 0.1);
}
.cf-faq .faq__item.is-open .faq__q {
  border-bottom: 1px solid rgba(184, 147, 90, 0.12);
}
.cf-faq .faq__q {
  padding: 18px 20px 18px 22px;
  align-items: flex-start;
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  line-height: 1.45;
}
.cf-faq .faq__q > span:first-of-type {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.cf-faq .faq__a {
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 720px) {
  main.page-cf .cf-faq .faq__q {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  main.page-cf .cf-faq .faq__a {
    text-align: left;
  }
}

/* ---------- VAULT (final CTA) ---------- */
.cf-vault {
  position: relative;
}

/* ---------- Reveal stagger (counters / hero) ---------- */
@media (prefers-reduced-motion: reduce) {
  .cf-roi__progress { animation: none; stroke-dashoffset: 120; }
  .cf-guarantee__seal { animation: none; }
}

/* ==========================================================================
   Scroll-reveal helpers (used by JS)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .top-strip__track, .marquee-band__track { animation: none; }
}
