/* =========================================================
   CHINE STUDIO — landing page
   Direzione: calda e artigianale. Carta, terracotta, inchiostro.
   ========================================================= */

/* ---------- Token ---------- */
:root {
  --paper:        #F2E9DC;
  --paper-warm:   #EDE1D0;
  --paper-deep:   #E5D6C0;
  --ink:          #201914;
  --ink-soft:     #57493F;
  --ink-faint:    #6E5C4E;

  --terra:        #C0472B;
  --terra-deep:   #97341D;
  --ochre:        #D9902B;
  --moss:         #3D4A3A;
  --wa:           #1E8E5A;

  --line:         rgba(32, 25, 20, .16);
  --line-soft:    rgba(32, 25, 20, .09);

  --serif:  "Fraunces", Georgia, "Times New Roman", serif;
  --sans:   "Instrument Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:   "Courier Prime", "Courier New", monospace;

  --shell:  1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --ease:   cubic-bezier(.22, .61, .36, 1);
  --radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, .3vw + 1rem, 1.1875rem);
  line-height: 1.68;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.06; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2.5px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Grana di carta ---------- */
.grain {
  position: fixed;
  inset: -120px;
  z-index: 9999;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}

/* ---------- Impalcatura ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.band--deep { background: var(--paper-warm); }

.band--deep::before,
.band--deep::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: var(--line-soft);
}
.band--deep::before { top: 0; }
.band--deep::after  { bottom: 0; }

.band--ink {
  background: var(--ink);
  color: var(--paper);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(242, 233, 220, .88);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-head.is-stuck { border-bottom-color: var(--line); }

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.wordmark__mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.0625rem;
  line-height: 1;
  padding-bottom: 2px;
}
.wordmark__text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
}
.wordmark__text em { font-style: italic; font-weight: 400; }

/* =========================================================
   BOTTONI
   ========================================================= */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: #FFF6EC;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .002em;
  line-height: 1;
  text-decoration: none;
  padding: 1em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease);
}

.btn--solid {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 2px 0 0 var(--terra-deep), 0 12px 24px -14px rgba(32,25,20,.65);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 0 0 var(--terra-deep), 0 20px 30px -16px rgba(32,25,20,.6);
}
.btn--solid:active { transform: translateY(1px); box-shadow: 0 1px 0 0 var(--terra-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--invert {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  box-shadow: 0 2px 0 0 rgba(32,25,20,.35), 0 14px 26px -16px rgba(0,0,0,.7);
}
.btn--invert:hover { box-shadow: 0 4px 0 0 rgba(32,25,20,.35), 0 22px 34px -18px rgba(0,0,0,.65); }

.btn--sm { font-size: .9375rem; padding: .7em 1.1em; }
.btn--lg { font-size: clamp(1.0625rem, .4vw + 1rem, 1.1875rem); padding: 1.1em 2em; }
.btn--block { width: 100%; }

.ico-wa { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.head-cta { display: none; }
@media (min-width: 560px) { .head-cta { display: inline-flex; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero__blot {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero__blot--a {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -18%; right: -12%;
  background: radial-gradient(circle, rgba(192,71,43,.22), transparent 68%);
}
.hero__blot--b {
  width: 38vw; height: 38vw;
  max-width: 480px; max-height: 480px;
  bottom: -22%; left: -14%;
  background: radial-gradient(circle, rgba(217,144,43,.20), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.75rem, 6vw, 4rem);
}

/* Da tablet in su: testo a sinistra, ritratto a destra. */
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--mono);
  font-size: clamp(.9375rem, .25vw + .875rem, 1.0625rem);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.eyebrow__rule {
  width: clamp(28px, 6vw, 52px);
  height: 2px;
  background: currentColor;
  opacity: .55;
}

.hero__title {
  font-size: clamp(2.375rem, 4.6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -.028em;
  max-width: 19ch;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

/* Tratto ondulato ripetuto: a differenza di un SVG unico steso sopra la
   frase, segue il testo quando va a capo, quindi la frase può fluire
   liberamente e non lascia parole orfane a fine riga. */
.mark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='7' viewBox='0 0 60 7'%3E%3Cpath d='M0 4.2Q15 2.2 30 4.2T60 4.2' fill='none' stroke='%23D9902B' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 60px .3em;
  padding-bottom: .16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 46ch;
  font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem);
  color: var(--ink-soft);
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}
.hero__reassure {
  font-family: var(--mono);
  font-size: .875rem;
  color: var(--ink-faint);
  max-width: 24ch;
  line-height: 1.45;
}

/* ---------- Ritratto dell'hero (stampa incollata con lo scotch) ---------- */
.photo {
  position: relative;
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  background: #FFF9F0;
  padding: 11px 11px 0;
  border: 1px solid var(--line-soft);
  box-shadow: 0 26px 46px -30px rgba(32,25,20,.8);
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease);
}
.photo:hover { transform: rotate(-.4deg); }

@media (min-width: 900px) {
  .photo { max-width: 400px; justify-self: end; }
}

.photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1066 / 1600;
  object-fit: cover;
  background: var(--paper-deep);
}

/* Bordo bianco più largo in basso, come una vera stampa. */
.photo__cap {
  padding: .85rem .35rem .95rem;
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .04em;
  text-align: center;
  color: var(--ink-faint);
}

.tape {
  position: absolute;
  top: -13px;
  width: 92px; height: 26px;
  background: rgba(217,144,43,.28);
  border-left: 1px solid rgba(217,144,43,.32);
  border-right: 1px solid rgba(217,144,43,.32);
  backdrop-filter: blur(1px);
}
.tape--l { left: 16px;  transform: rotate(-4deg); }
.tape--r { right: 16px; transform: rotate(3.5deg); }

/* =========================================================
   TITOLI DI SEZIONE
   ========================================================= */
.section-title {
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  letter-spacing: -.024em;
  max-width: 20ch;
  text-wrap: balance;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.section-title--light em { color: var(--ochre); }

/* Tiene insieme gli intervalli numerici: il trattino è un punto di a capo
   valido per il browser, che altrimenti spezza "3–4" fra due righe. */
.unito { white-space: nowrap; }

/* =========================================================
   BENEFICI
   ========================================================= */
.cards {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  padding-top: clamp(2.25rem, 3.5vw, 2.75rem);
  box-shadow: 0 1px 0 0 rgba(255,255,255,.7) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -24px rgba(32,25,20,.7);
}

.card__num {
  position: absolute;
  top: .9rem; right: 1.1rem;
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink-faint);
}

.card__ico {
  width: 38px; height: 38px;
  fill: none;
  stroke: var(--terra);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.15rem;
}

.card h3 {
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -.014em;
  margin-bottom: .6rem;
  text-wrap: balance;
}
.card p { color: var(--ink-soft); font-size: 1.0625rem; }

/* =========================================================
   PROBLEMA
   ========================================================= */
.prose { max-width: 62ch; }
.prose--center { max-width: 56ch; margin-inline: auto; text-align: center; }
.prose > p + p { margin-top: 1.35em; }
.prose strong { font-weight: 600; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin-bottom: 1.6rem !important;
}
.quiet { color: var(--ink-faint); font-style: italic; }

.pull {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--terra);
}
.pull p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.022em;
}
.pull em { font-style: italic; font-weight: 400; color: var(--terra); }

/* =========================================================
   TABELLA / LEDGER
   ========================================================= */
.ledger {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 46px -34px rgba(32,25,20,.75);
  overflow: hidden;
}

.ledger__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ledger__table thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 1.05rem 1.25rem;
  white-space: nowrap;
}

.ledger__table tbody th,
.ledger__table tbody td {
  padding: 1.25rem;
  vertical-align: top;
  border-top: 1px solid var(--line-soft);
  font-size: 1rem;
}

.ledger__table tbody th {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.012em;
  width: 27%;
}

.ledger__table tbody td { color: var(--ink-soft); line-height: 1.55; }

.ledger__table .num {
  text-align: right;
  white-space: nowrap;
  width: 1%;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
}

.ledger__table tbody tr { transition: background .25s var(--ease); }
.ledger__table tbody tr:hover { background: rgba(217,144,43,.07); }

.ledger__table .total th,
.ledger__table .total td {
  background: var(--ochre);
  border-top: 2px solid var(--ink);
  padding: 1.15rem 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 900;
  letter-spacing: .0em;
  font-size: 1.125rem;
}
.ledger__table .total th { text-transform: uppercase; letter-spacing: .05em; font-size: .9375rem; }
.ledger__table .total td { font-size: 1.3125rem; }

/* Tabella impilata su schermi stretti */
@media (max-width: 720px) {
  .ledger { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .ledger__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger__table, .ledger__table tbody, .ledger__table tfoot,
  .ledger__table tr, .ledger__table th, .ledger__table td { display: block; width: auto; }

  .ledger__table tbody tr {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: .85rem;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 12px 26px -22px rgba(32,25,20,.8);
  }
  /* width: auto va ripetuto qui: la regola desktop `tbody th { width: 27% }`
     è più specifica del reset a blocchi qui sopra e altrimenti vince. */
  .ledger__table tbody th,
  .ledger__table tbody td { border: 0; padding: 0; width: auto; }

  /* `.ledger__table .num` vale due classi e batte il selettore qui sopra,
     che di classi ne ha una sola: serve un selettore più forte. */
  .ledger__table tbody td.num { width: auto; }

  .ledger__table tbody th { font-size: 1.1875rem; margin-bottom: .5rem; }
  .ledger__table tbody td[data-label="Cosa include"] { font-size: 1rem; }

  .ledger__table tbody td.num {
    text-align: left;
    margin-top: .85rem;
    padding-top: .7rem;
    border-top: 1px dashed var(--line);
  }
  .ledger__table tbody td.num::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-right: .6rem;
  }

  .ledger__table .total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    background: var(--ochre);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: 1.1rem;
  }
  /* width: auto anche qui: la riga del totale è in tfoot, quindi non la
     raggiungeva il reset su tbody, e `.num { width: 1% }` la strozzava
     fino a tagliare la cifra. */
  .ledger__table .total th,
  .ledger__table .total td {
    background: transparent;
    border: 0;
    padding: 0;
    width: auto;
    flex: none;
  }
}

/* =========================================================
   PREZZO
   ========================================================= */

/* Il totale della tabella e il prezzo di 500 € vanno letti insieme: è il
   confronto fra le due cifre a reggere l'offerta. Di base le due sezioni
   sommerebbero due margini pieni, allontanandole di oltre 250px. */
.deliver { padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.price   { padding-top:    clamp(1.75rem, 3vw, 2.5rem); }

.strike-line {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.018em;
}

.pricetag {
  position: relative;
  display: inline-block;
  margin: clamp(2rem, 4vw, 2.75rem) 0;
  padding: 1.5rem 3rem 1.6rem 3.6rem;
  background: var(--terra);
  color: #FFF6EC;
  border-radius: 6px 22px 22px 6px;
  transform: rotate(-1.6deg);
  box-shadow: 0 18px 34px -22px rgba(32,25,20,.9);
}
.pricetag__hole {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  translate: 0 -50%;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.pricetag__label {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .82;
  margin-bottom: .1rem;
}
.pricetag__value {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
}
.pricetag__value span { font-size: .5em; font-weight: 700; margin-left: .08em; }

/* =========================================================
   BONUS — mappa del posizionamento su Google
   ========================================================= */
.eyebrow--center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.bonus__title {
  max-width: 24ch;
  margin-inline: auto;
  text-align: center;
}

.bonus__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bonus__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* ---- Cornice della mappa ---- */
.map {
  margin: 0;
  background: #FFF9F0;
  padding: 12px 12px 0;
  border: 1px solid var(--line-soft);
  box-shadow: 0 22px 44px -30px rgba(32,25,20,.8);
}

.map img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: var(--paper-deep);
}

.map__cap {
  padding: .9rem .35rem 1rem;
  font-family: var(--mono);
  font-size: .8125rem;
  letter-spacing: .03em;
  text-align: center;
  color: var(--ink-faint);
}

/* ---- Spiegazione e legenda ---- */
.bonus__spiega > p { color: var(--ink-soft); }
.cerca { font-style: italic; color: var(--ink); }

.legenda {
  display: grid;
  gap: .55rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0;
  padding: clamp(1.1rem, 2.5vw, 1.4rem) clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.legenda li {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.legenda b {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  min-width: 3.1em;
}

.pallino {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex: none;
  translate: 0 -1px;
  box-shadow: 0 0 0 3px rgba(32,25,20,.05);
}
.pallino--verde   { background: #2E9E5B; }
.pallino--giallo  { background: #E0B02A; }
.pallino--arancio { background: #E0762A; }
.pallino--rosso   { background: #C0392B; }

.bonus__close {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}
.bonus__close strong { color: var(--ink); font-weight: 600; }

/* =========================================================
   COME VENGO PAGATO
   ========================================================= */
.band--ink .section-title { color: var(--paper); }

.steps__list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  counter-reset: s;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid rgba(242,233,220,.16);
}
.step:last-child { border-bottom: 1px solid rgba(242,233,220,.16); }

.step__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(242,233,220,.3);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ochre);
  flex: none;
}

.step p {
  color: rgba(242,233,220,.82);
  font-size: clamp(1.0625rem, .4vw + 1rem, 1.1875rem);
  max-width: 54ch;
  padding-top: .35rem;
}
.step strong { color: var(--paper); font-weight: 600; }

/* =========================================================
   SCARSITÀ
   ========================================================= */
.scarcity__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .scarcity__inner { grid-template-columns: 200px 1fr; }
}

.scarcity__copy .section-title { margin-bottom: 1.1rem; }
.scarcity__copy p { color: var(--ink-soft); max-width: 56ch; }

.stamp {
  position: relative;
  width: 168px; height: 168px;
  justify-self: start;
  color: var(--terra);
  opacity: .9;
}
.stamp__svg { width: 100%; height: 100%; overflow: visible; }
.stamp__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  opacity: .35;
}
.stamp__ring--in { stroke-dasharray: 3 6; opacity: .5; }
.stamp__text {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  fill: currentColor;
}
.stamp__svg { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stamp__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--ink);
}
.stamp__core small { font-size: .6em; opacity: .5; margin-inline: .04em; }

/* =========================================================
   PROVA SOCIALE — palestre che si fidano
   ========================================================= */
.trust__title {
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
}

.trust__grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.25rem);
  grid-template-columns: minmax(0, 290px);
  justify-content: center;
}
@media (min-width: 620px) {
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 290px)); }
}

/* Le due stampe restano piccole di proposito: la foto di Dyamond Fitness
   è di 257px, ingrandirla la sgranerebbe. */
.photo--proof {
  max-width: 100%;
  justify-self: stretch;
  padding: 10px 10px 0;
}
@media (min-width: 900px) {
  .photo--proof { max-width: 100%; justify-self: stretch; }
}

.photo--proof img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
}

.photo--tilt-l { transform: rotate(-1.6deg); }
.photo--tilt-r { transform: rotate(1.3deg); }
.photo--tilt-l:hover,
.photo--tilt-r:hover { transform: rotate(0deg) translateY(-4px); }

.trust__note {
  margin: clamp(2.5rem, 5vw, 3.25rem) auto 0;
  max-width: 24ch;
  text-align: center;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.018em;
}
.trust__note em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.photo__cap--name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.008em;
  color: var(--ink);
  padding-block: .95rem 1.05rem;
}

/* =========================================================
   CTA FINALE
   ========================================================= */
.band--cta {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}
.band--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(192,71,43,.32), transparent 70%),
    radial-gradient(50% 60% at 80% 100%, rgba(217,144,43,.18), transparent 72%);
  pointer-events: none;
}
.final__inner { position: relative; z-index: 1; }

.final__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
}
.final__sub {
  max-width: 44ch;
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
  color: rgba(242,233,220,.78);
  font-size: clamp(1.0625rem, .4vw + 1rem, 1.1875rem);
}
.final__note {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: .875rem;
  color: rgba(242,233,220,.52);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-foot {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line-soft);
  background: var(--paper-warm);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 2rem;
}
.foot__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
}
.foot__mark em { font-style: italic; font-weight: 400; }
.foot__meta {
  font-family: var(--mono);
  font-size: .8125rem;
  color: var(--ink-faint);
}

/* =========================================================
   DOCK MOBILE
   ========================================================= */
.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(242, 233, 220, .94);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.dock.is-on { transform: translateY(0); }

@media (min-width: 760px) { .dock { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 0; } .site-foot { padding-bottom: 6.5rem; } }

/* =========================================================
   ANIMAZIONI DI INGRESSO
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

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

/* =========================================================
   STAMPA
   ========================================================= */
@page {
  size: A4 portrait;
  margin: 13mm 12mm;
}

@media print {
  /* Senza questo i browser scartano gli sfondi: la pagina uscirebbe bianca
     e perderebbe fondo carta, sezioni scure, riga ocra e cartellino. */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html, body {
    background: var(--paper) !important;
    color: var(--ink) !important;
  }

  /* Elementi che esistono solo per lo schermo. */
  .grain,
  .site-head,
  .dock,
  .hero__blot { display: none !important; }

  /* Niente animazioni: tutto già visibile. */
  .reveal,
  .reveal[data-delay] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .stamp__svg { animation: none !important; }

  .band { padding-block: 11mm !important; }
  .hero { padding-block: 4mm 11mm !important; }

  /* Le sezioni a fondo pieno vanno tenute intere: se si spezzano,
     il colore si interrompe a metà pagina. */
  .band--ink,
  .band--cta { background: var(--ink) !important; color: var(--paper) !important; }
  .steps,
  .final,
  .scarcity { break-inside: avoid; }

  /* Nessun blocco tagliato dal cambio pagina. */
  .card,
  .step,
  .pull,
  .pricetag,
  .photo,
  .map,
  .legenda,
  .trust__note,
  .ledger,
  .ledger__table tr { break-inside: avoid; }

  /* Un titolo non deve restare solo in fondo alla pagina. */
  h1, h2, h3,
  .section-title,
  .eyebrow { break-after: avoid; }

  /* Le colonne affiancate diventano una sola: a 794px di larghezza
     stampata i blocchi a due colonne risulterebbero compressi. */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  a { text-decoration: none; }
}
