/* ==========================================================================
   MiTutelo · Atelier — Dossier Atelier redesign
   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);
}

/* ---------- 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;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: hidden;
  cursor: 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--atelier {
  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__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 5vw, 32px);
    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));
  }
}

/* ==========================================================================
   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(70px, 12vh, 120px) var(--frame-pad) clamp(30px, 4vw, 60px);
  min-height: 100%;
  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;
  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%; }
}

.overlay-nav__list {
  margin: clamp(30px, 5vh, 60px) 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 {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  color: var(--ash);
}

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

.stage--hero {
  min-height: 100svh;
  min-height: 100vh;
  padding: clamp(20px, 4vh, 56px) var(--frame-pad) clamp(14px, 2.5vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* 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;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: var(--border-gold);
  border-radius: 999px;
  color: var(--gold-deep);
  background: rgba(255, 250, 240, 0.5);
  margin-bottom: clamp(14px, 2.8vh, 36px);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-6);
  line-height: 0.92;
  letter-spacing: -0.035em;
  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.25s; }
.hero-title__row:nth-child(3) {
  animation-delay: 0.4s;
  color: var(--gold-deep);
  font-style: italic;
  letter-spacing: -0.045em;
}
.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: 22px;
  margin: clamp(16px, 3.5vh, 44px) auto 0;
  max-width: 900px;
  opacity: 0;
  animation: heroRise 1s var(--ease-out) 0.6s forwards;
}
.hero-under__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-under__text {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.hero-under__text strong { font-weight: 600; color: var(--ink); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
  margin-top: clamp(16px, 3.5vh, 40px);
  opacity: 0;
  animation: heroRise 1s var(--ease-out) 0.8s forwards;
}

/* 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; }
}

/* Prima schermata: compatta su laptop con altezza ridotta */
@media (max-height: 820px) {
  .stage--hero {
    padding-top: clamp(14px, 3vh, 32px);
  }
  .hero-title {
    font-size: clamp(2.4rem, 9vw, var(--step-5));
  }
}

/* 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;
}

.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);
}
.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__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__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);
}
.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;
}

@media (max-width: 900px) {
  .manifesto--unified .manifesto__pillars {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@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__pillar {
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   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, 110px) 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;
  padding: clamp(22px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.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;
}

@media (max-width: 900px) {
  .theatre { height: auto; }
  .theatre__sticky { position: static; height: auto; }
  .theatre__rail {
    flex-direction: column;
    transform: none !important;
  }
  .theatre__panel {
    min-width: 100%;
    grid-template-columns: 1fr;
    text-align: left;
    gap: 24px;
    border-bottom: var(--border);
  }
  .theatre__numeral {
    font-size: clamp(6rem, 20vw, 10rem);
  }
  .theatre__visual { max-width: 100%; }
}

/* ==========================================================================
   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(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  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(60px, 8vh, 100px) var(--frame-pad) 30px;
  position: relative;
}
.colophon__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: clamp(40px, 6vh, 70px);
}
.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(62vw, 440px);
  height: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.14;
}
.colophon__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
}
.colophon__brand {
  display: flex;
  gap: clamp(16px, 2.5vw, 24px);
  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(2.2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-foil);
}
.colophon__tagline {
  margin: 14px 0 0;
  color: var(--ash);
  max-width: 28ch;
  line-height: 1.6;
}
.colophon__h {
  color: var(--gold-foil);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(233, 205, 148, 0.2);
}
.colophon__col ul { display: grid; gap: 10px; }
.colophon__col a {
  font-family: var(--serif);
  font-size: 1.05rem;
  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(50px, 8vh, 100px) auto 40px;
  text-align: center;
  line-height: 0.85;
}
.colophon__mark-big {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(6rem, 22vw, 20rem);
  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: 24px;
  border-top: 1px solid rgba(233, 205, 148, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--ash);
}
.colophon__meta span:nth-child(even) { color: var(--gold); }

@media (max-width: 720px) {
  .colophon {
    padding:
      clamp(40px, 6vh, 72px)
      max(var(--frame-pad), env(safe-area-inset-right, 0px))
      max(28px, 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(88vw, 260px);
    opacity: 0.1;
  }
  /* Una colonna: brand → Piattaforma → Atelier → Legale (niente “orfano”) */
  .colophon__grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 40px);
  }
  .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: 34ch;
  }
  .colophon__wordmark {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
  }
  .colophon__tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .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(28px, 6vh, 52px) auto 24px;
  }
  .colophon__mark-big {
    font-size: clamp(2.75rem, 11vw, 4.25rem);
  }
  .colophon__meta {
    justify-content: center;
    text-align: center;
    gap: 10px 14px;
    padding-top: 20px;
    font-size: clamp(10px, 2.8vw, var(--step--1));
  }
}

/* ==========================================================================
   Inner pages — shared layout & components (palette aligned with atelier)
   ========================================================================== */

: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__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;
}

/* ---------- 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__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--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 ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 800px;
}
.faq__item {
  border: var(--border);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.section--dark .faq__item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(233, 205, 148, 0.15);
}
.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;
}
.faq__a {
  padding: 0 20px 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq__item.is-open .faq__a {
  max-height: min(1200px, 80vh);
}
.faq__a p {
  margin: 0;
  line-height: 1.55;
  color: rgba(26, 36, 51, 0.78);
}
.plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(184, 147, 90, 0.5);
  position: relative;
  flex-shrink: 0;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.plus::before { width: 10px; height: 1px; }
.plus::after { width: 1px; height: 10px; transition: transform 0.25s var(--ease); }
.faq__item.is-open .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* ---------- 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); }

/* ---------- Contact ---------- */
.contact-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 56px) var(--frame-pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 36px);
}
@media (max-width: 800px) {
  .contact-block { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-l);
  padding: clamp(26px, 4vw, 36px);
}
.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);
}

/* ---------- 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__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__counter {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 14px 18px;
  background: rgba(22, 30, 44, 0.78);
  border: 1px solid rgba(233, 205, 148, 0.2);
  border-radius: var(--radius);
}
.network__counter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-foil);
}
.network__counter-value {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.1;
}
.network__counter-sub {
  display: block;
  font-size: 11px;
  color: var(--white-muted);
  margin-top: 4px;
}
.network__legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  display: grid;
  gap: 6px;
  font-size: var(--step--1);
  color: var(--ivory);
}
.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;
}

/* ---------- Dual columns ---------- */
.dual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
@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;
  }
  .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;
  }
  .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;
  }
}

/* ==========================================================================
   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; }
}
