/* TEMA B — variante contemporanea, oggi il tema attivo del sito.
   Si carica DOPO style.css e ne sovrascrive solo quello che serve: stessa struttura HTML,
   stesso generatore. Cambiare tema significa cambiare TEMA in content/site.mjs.

   Idea: energia editoriale contemporanea (display pesantissimo, evidenziatore, blocchi di
   colore pieno, mono sui dati) senza pagarla sulla leggibilità dei 38 articoli — il mono
   sta solo su etichette, date e numeri, mai sul corpo del testo. */

:root {
  --ink: #12100d;
  --ink-soft: #46403a;
  --muted: #7b736a;
  --paper: #f2efe7;          /* crema più caldo e più saturo del tema A */
  --paper-2: #e8e3d7;
  --line: #d8d1c3;
  --accent: #a2542a;         /* il rame resta: è la sua identità */
  --accent-soft: #e7d9cc;
  --verde: #0d3b2e;          /* blocco di colore pieno */
  --giallo: #f2e14c;         /* evidenziatore */
  --serif: "Archivo", "Arial Black", system-ui, sans-serif;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.03em; }

/* ---------- dati e etichette in mono ---------- */

.kicker, .num, .posts time, .posts .meta, .creds span, .press cite,
.page-head .sub, .post-meta, .nav .lang, .foot-bottom, .site-foot h3,
.field label, .dl dt, .cc-btn .btn {
  font-family: var(--mono);
  font-weight: 500;
}
.kicker, .num, .page-head .sub { letter-spacing: .1em; }

/* ---------- hero ---------- */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

.payoff {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 16ch;
  margin-bottom: 2.5rem;
}
.payoff mark {
  background: var(--giallo);
  color: var(--ink);
  box-shadow: none;
  padding: 0 .12em;
  /* l'evidenziatore sta storto come quello vero */
  display: inline-block;
  transform: rotate(-.8deg);
}

.roles li { border-top-width: 2px; border-top-color: var(--ink); }
.roles b {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.roles li:nth-child(2) b { color: var(--ink); }
.roles p { font-size: .9375rem; }

.portrait img { filter: none; border-radius: 0; }
.portrait figcaption {
  background: var(--giallo);
  color: var(--ink);
  font-family: var(--mono);
  font-style: normal;
  font-size: .8125rem;
  line-height: 1.4;
  border-radius: 0;
  font-weight: 500;
}

/* ---------- fascia credenziali ---------- */

.creds { background: var(--verde); }
.creds li { border-left-color: rgba(242, 225, 76, .35); }
.creds b { font-weight: 700; }
.creds span { color: var(--giallo); }

/* ---------- sezioni e blocchi di colore ---------- */

.sec-head h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }

/* le tessere bianche diventano blocchi pieni */
.cards { gap: 0; }
.card {
  background: var(--verde);
  color: var(--paper);
  border: 0;
  border-radius: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.card:nth-child(2) { background: var(--ink); }
.card:nth-child(3) { background: var(--accent); }
.card:hover { transform: none; filter: brightness(1.12); }
.card h3 { text-transform: uppercase; font-size: 1.3rem; letter-spacing: -.02em; }
.card p { color: rgba(255, 255, 255, .82); }
.card .go { color: var(--giallo); font-family: var(--mono); font-size: .8125rem; }

/* ---------- articoli ---------- */

.posts { border-top-width: 2px; border-top-color: var(--ink); }
.posts h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: -.025em; }
.posts a { padding-inline: .75rem; margin-inline: -.75rem; transition: background .15s; }
.posts a:hover { background: var(--giallo); }

/* ---------- rassegna stampa ---------- */

.press { gap: 0; }
.press li { background: var(--paper-2); border-radius: 0; border-right: 2px solid var(--paper); }
.press li:last-child { border-right: 0; }
.press blockquote { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.3; }

/* ---------- processo numerato ---------- */

.steps li::before { font-family: var(--mono); font-size: 2rem; letter-spacing: -.02em; color: var(--ink); }
.steps h3 { text-transform: uppercase; }

/* ---------- bottoni, barra, form ---------- */

.btn {
  border-radius: 0; font-family: var(--mono); font-weight: 500;
  text-transform: uppercase; font-size: .8125rem; letter-spacing: .06em;
}
.nav .btn-sm { border-radius: 0; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.brand { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.site-head { background: rgba(242, 239, 231, .93); border-bottom: 2px solid var(--ink); }
.nav-toggle { border-radius: 0; font-family: var(--mono); border-color: var(--ink); }

.field input, .field select, .field textarea {
  border-radius: 0;
  border-color: var(--ink);
  background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; }
.field label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

.note, .note-archivio { border-radius: 0; }
.note-archivio { border-left-width: 4px; }

.quote-band { background: var(--giallo); }
.quote-band p { font-family: var(--sans); font-weight: 800; font-style: normal; letter-spacing: -.035em; }
.quote-band .sec-head h2 { font-size: clamp(2rem, 5vw, 3rem); }
.quote-band cite { color: var(--ink-soft); }

.claim {
  font-family: var(--sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.03em; border-top-width: 2px; border-bottom-width: 2px; border-color: var(--ink);
}

.gallery img { border-radius: 0; }

.site-foot { background: var(--verde); color: #cfd8d1; }
.site-foot h2 { text-transform: uppercase; }
.site-foot a:hover { color: var(--giallo); }

.cc { border-radius: 0; background: var(--verde); }
.cc a { color: var(--giallo); }

/* i testi lunghi restano leggibili: nessun mono, nessuna maiuscola forzata */
.prose { font-size: 1.0625rem; }
.prose h2, .prose h3 { text-transform: none; letter-spacing: -.025em; }
.prose img { border-radius: 0; }
.prose blockquote { font-family: var(--sans); font-weight: 500; font-style: normal; }
