/* emBaliment · C03.1 · strato tipografico del sito (T01 Il Carattere integrato)
   ID EMB-BRAND-C03.1-20261029 · aggiornamento di C03 (stesso file, nuova versione ?v=20261029-c031).
   C03.1 aggiunge: §9 pagine senza ancora (roots, about, support, partners, press, cultural-review, privacy, terms, note Niskala), §10 LeMatt.
   Si carica DOPO emb-identity-c021-core.css, emb-identity-c021-site.css e dopo ogni <style> di pagina.
   Non cambia colori, stati, logotipo, claim, markup, URL, form o analytics. Cambia solo famiglie, corpi, interlinee, misure.
   Font: InterVariable 4.1 (R. Andersson) e EB Garamond (G. Duffner, O. Pardo), SIL OFL 1.1, file in fonts/.
   Cormorant Garamond resta caricato da C02.1 (fonts/font-0.ttf, font-1.ttf) e serve solo il claim. */

@font-face { font-family: "InterVariable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/InterVariable-latin.woff2") format("woff2"); }
@font-face { font-family: "InterVariable"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/InterVariable-Italic-latin.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/EBGaramond-Var-latin.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("fonts/EBGaramond-Var-Italic-latin.woff2") format("woff2"); }

/* 1 · TOKEN ---------------------------------------------------------------- */
:root {
  /* voci (i nomi C02.1 restano validi) */
  --emb-sans: "InterVariable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;  /* struttura */
  --emb-read: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;                                   /* lettura */
  --emb-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;                                     /* segno: solo claim */

  /* scala in quarta giusta 4:3 su 18 px, in rem (1rem = 16 px) per rispettare lo zoom del lettore */
  --emb-t-1: .84375rem;   /* 13,5  etichette, note, didascalie, colophon (minimo assoluto) */
  --emb-t0s: 1rem;        /* 16    passo intermedio (tono intero 8:9): solo testo breve Inter e campi dei form */
  --emb-t0: 1.125rem;     /* 18    lettura */
  --emb-t1: 1.5rem;       /* 24    attacco, h3, citazione */
  --emb-t2: 2rem;         /* 32    h2 */
  --emb-t3: 2.6667rem;    /* 42,7  h1 di pagina, dichiarazione */
  --emb-t4: 3.5556rem;    /* 56,9  h1 hero */
  --emb-t5: 4.7407rem;    /* 75,9  h1 hero esteso */

  /* interlinee: multipli di 4 px */
  --emb-l-1: 1.25rem; --emb-l0s: 1.5rem; --emb-l0: 1.75rem; --emb-l1: 2rem; --emb-l2: 2.5rem; --emb-l3: 3rem; --emb-l4: 3.75rem; --emb-l5: 4.75rem;

  /* misure */
  --emb-measure: 34em;      /* lettura EB Garamond: 60-68 caratteri */
  --emb-measure-ui: 40em;   /* testo breve Inter */

  /* ruoli: desktop >= 1024 px */
  --emb-h1: var(--emb-t5);  --emb-h1-l: var(--emb-l5);
  --emb-h1p: var(--emb-t3); --emb-h1p-l: var(--emb-l3);   /* h1 di pagine di lettura (saggio, Niskala) */
  --emb-h2: var(--emb-t3);  --emb-h2-l: var(--emb-l3);
  --emb-h3: var(--emb-t1);  --emb-h3-l: var(--emb-l1);
  --emb-lead: var(--emb-t1); --emb-lead-l: var(--emb-l1);
  --emb-decl: var(--emb-t3); --emb-decl-l: var(--emb-l3);  /* dichiarazioni, manifesti, statement */
}
/* tablet 600-1023 px: un gradino in meno per i titoli grandi */
@media (max-width: 1023.98px) {
  :root { --emb-h1: var(--emb-t4); --emb-h1-l: var(--emb-l4); --emb-h2: var(--emb-t2); --emb-h2-l: var(--emb-l2); --emb-decl: var(--emb-t2); --emb-decl-l: var(--emb-l2); }
}
/* mobile < 600 px: due gradini in meno; lettura invariata a 18/28 */
@media (max-width: 599.98px) {
  :root { --emb-h1: var(--emb-t3); --emb-h1-l: var(--emb-l3); --emb-h1p: var(--emb-t2); --emb-h1p-l: var(--emb-l2); --emb-h2: var(--emb-t2); --emb-h2-l: var(--emb-l2); --emb-decl: var(--emb-t1); --emb-decl-l: var(--emb-l1); }
}
/* schermi stretti < 360 px: il titolo hero scende ancora; mai testo fuori viewport */
@media (max-width: 359.98px) {
  :root { --emb-h1: var(--emb-t2); --emb-h1-l: var(--emb-l2); --emb-h2: var(--emb-t1); --emb-h2-l: var(--emb-l1); }
}

/* 2 · BASE ------------------------------------------------------------------ */
html body { font-family: var(--emb-sans); font-feature-settings: "kern", "calt"; font-optical-sizing: auto; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
p, li, blockquote, dd { text-wrap: pretty; }

/* 3 · RUOLI · si applicano ai selettori esistenti, senza cambiare markup -------- */

/* 3.1 Titoli · struttura (Inter) */
html body :is(.hero h1, .display, .lm-title, .editorial-hero h1) {
  font-family: var(--emb-sans); font-weight: 200; font-style: normal;
  font-size: var(--emb-h1); line-height: var(--emb-h1-l); letter-spacing: -.02em;
}
html body :is(.section h2, .lm-copy h2, .system-panel h3) {
  font-family: var(--emb-sans); font-weight: 300; font-style: normal;
  font-size: var(--emb-h2); line-height: var(--emb-h2-l); letter-spacing: -.012em;
}
html body :is(.card h3, .step h3, .person h3, .roots-grid h3, .detail-intro h3, .root-story h3, .cultural-note h3,
              .module-card h3, .mode-card h3, .fund-grid h3, .lm-word-record h3, .lm-method h3, .movement-score li strong) {
  font-family: var(--emb-sans); font-weight: 300; font-style: normal;
  font-size: var(--emb-h3); line-height: var(--emb-h3-l); letter-spacing: -.005em;
}
/* cifre grandi e indici: Inter 200, cifre tabellari */
html body :is(.step strong, .movement-index) {
  font-family: var(--emb-sans); font-weight: 200; font-feature-settings: "tnum"; letter-spacing: -.02em;
}
html body .step strong { font-size: var(--emb-t3); line-height: var(--emb-l3); }

/* 3.2 Lettura · EB Garamond */
html body :is(.hero-copy, .section-lead) {
  font-family: var(--emb-read); font-weight: 400; font-style: normal;
  font-size: var(--emb-lead); line-height: var(--emb-lead-l); font-feature-settings: "kern", "liga", "onum";
}
html body :is(.statement blockquote, .lm-manifesto p, .lm-sequence) {
  font-family: var(--emb-read); font-weight: 400;
  font-size: var(--emb-decl); line-height: var(--emb-decl-l); letter-spacing: -.005em; font-feature-settings: "kern", "liga", "onum";
}
/* nomi brevi, righe Evocative: EB Garamond (prima Cormorant) */
html body :is(.vision-card figcaption strong, .system-core strong, .lm-intuition strong, .lm-record-meta strong,
              .lm-word strong, .lm-credentials p, .lm-cta p) {
  font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t1); line-height: var(--emb-l1);
}
html body .system-node strong { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t0); line-height: var(--emb-l0s); }
html body .lm-copy em { font-family: var(--emb-read); font-size: 1.08em; }

/* contenitori di lettura lunga: classe opt-in da applicare al contenitore del testo continuo */
html body .emb-read, html body .emb-read :is(p, li) {
  font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t0); line-height: var(--emb-l0);
  font-feature-settings: "kern", "liga", "onum", "pnum";
}
html body .emb-read :is(p, li) { max-width: var(--emb-measure); }
html body .emb-read em, html body .emb-read i { font-style: italic; }

/* 3.3 Pagine con stile in linea: saggio (/article) e Niskala (/niskala/) */
html body[data-emb-emanation-page="word"] h1 { font-family: var(--emb-sans); font-weight: 300; font-size: var(--emb-h1p); line-height: var(--emb-h1p-l); letter-spacing: -.012em; }
html body[data-emb-emanation-page="word"] h1 em { font-family: var(--emb-sans); font-style: italic; }
html body[data-emb-emanation-page="word"] .sub { font-family: var(--emb-read); font-style: italic; font-weight: 400; font-size: var(--emb-lead); line-height: var(--emb-lead-l); }
html body[data-emb-emanation-page="word"] article :is(p, li) { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t0); line-height: var(--emb-l0); max-width: var(--emb-measure); font-feature-settings: "kern", "liga", "onum"; }
html body[data-emb-emanation-page="word"] article .lead { font-size: var(--emb-lead); line-height: var(--emb-lead-l); }
html body[data-emb-emanation-page="word"] article h2 { font-family: var(--emb-sans); font-weight: 300; font-size: var(--emb-t2); line-height: var(--emb-l2); }
html body[data-emb-emanation-page="word"] .def .word { font-family: var(--emb-sans); font-weight: 300; font-size: var(--emb-t2); line-height: var(--emb-l2); }
html body[data-emb-emanation-page="word"] .def p { font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body[data-emb-emanation-page="word"] blockquote { font-family: var(--emb-read); font-style: italic; font-weight: 400; font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body[data-emb-emanation-page="word"] .gram-row .term { font-family: var(--emb-sans); font-style: normal; font-weight: 300; font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body[data-emb-emanation-page="word"] .gram-row .gloss { font-family: var(--emb-read); font-size: var(--emb-t0); line-height: var(--emb-l0); }

html body[data-emb-emanation-page="niskala"] { font-family: var(--emb-read); }
html body[data-emb-emanation-page="niskala"] h1 { font-family: var(--emb-sans); font-weight: 300; font-size: var(--emb-h1p); line-height: var(--emb-h1p-l); letter-spacing: -.012em; }
html body[data-emb-emanation-page="niskala"] p { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t0); line-height: var(--emb-l0); }
html body[data-emb-emanation-page="niskala"] .entry .et { font-family: var(--emb-sans); font-weight: 300; font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body[data-emb-emanation-page="niskala"] .entry .ex { font-family: var(--emb-read); font-style: italic; font-size: var(--emb-t0); line-height: var(--emb-l0); }
html body[data-emb-emanation-page="niskala"] .pillars .pd { font-family: var(--emb-read); font-size: var(--emb-t0); line-height: var(--emb-l0); }

/* 3.4 Etichette e microtesti: minimo 13,5 px, nessuna opacita sul testo */
html body :is(.kicker, .s-label, .pillars .pt, .eyebrow, .sig, .back, .def .ipa, .emb-e02-note,
              .nhead .nlinks a, .nhead .req, .nmnav a) {
  font-family: var(--emb-sans); font-size: var(--emb-t-1); line-height: var(--emb-l-1);
}
html body[data-emb-emanation-page] > footer, html body[data-emb-emanation-page="niskala"] footer { font-size: var(--emb-t-1); line-height: var(--emb-l-1); }
html body .def .ipa { font-feature-settings: "kern"; font-style: normal; }  /* IPA sempre in tondo: EB Garamond corsivo non ha tutti i simboli */

/* 3.5 Claim: invariato, solo Cormorant corsivo 300 */
html body :is(.emb-claim, footer .claim, .claim) { font-family: var(--emb-serif); font-style: italic; font-weight: 300; }

/* 3.6 Form: campi a 16 px (passo intermedio) per evitare lo zoom automatico su iOS; etichette 13,5 */
html body :is(input, select, textarea) { font-family: var(--emb-sans); font-size: var(--emb-t0s); line-height: var(--emb-l0s); }

/* 3.7 Dati e stati: cifre tabellari; le forme degli stati C02.1 non cambiano */
html body :is(.emb-st, .emb-ev, .emb-cs, .emb-prov, .vz-tag, .emb-dato, time) { font-feature-settings: "tnum", "case"; }
html body .emb-st { font-size: var(--emb-t-1); }

/* 4 · COMPONENTI NUOVI (opt-in) -------------------------------------------- */
/* colonna del margine: date, stato, fonti accanto al testo (>= 860 px) */
.emb-margin-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); column-gap: 24px; }
.emb-margin-grid > .emb-margin { grid-column: 1; font: 400 var(--emb-t-1)/var(--emb-l-1) var(--emb-sans); color: var(--emb-ink-2); font-feature-settings: "tnum"; }
.emb-margin-grid > .emb-text { grid-column: 2; min-width: 0; }
@media (max-width: 859.98px) { .emb-margin-grid { display: block; } .emb-margin-grid > .emb-margin { margin-bottom: 8px; } }

/* colophon tipografico (nessuna nuova firma: solo caratteri e licenze) */
.emb-colophon { font: 400 var(--emb-t-1)/var(--emb-l-1) var(--emb-sans); color: var(--emb-ink-2); font-feature-settings: "tnum"; }

/* 5 · ACCESSIBILITA ----------------------------------------------------------- */
@media (forced-colors: active) { html body :is(.emb-claim, .claim) { forced-color-adjust: auto; } }

/* 6 · COMPATIBILITA EMANAZIONE E01/E02 -------------------------------------- */
/* Il campo resta Inter (glifi della parola e del lessico). Parola DOM e claim restano come E01 (logotipo governato da C02.1).
   Si alzano solo i microtesti sotto il minimo. */
html body .emb-emanation-description { font-family: var(--emb-sans); font-size: var(--emb-t0s); line-height: var(--emb-l0s); }
html body .emb-emanation-clock { font-size: var(--emb-t-1); line-height: var(--emb-l-1); letter-spacing: .08em; }
html body .emb-emanation-theme button { font-size: var(--emb-t-1); letter-spacing: .06em; }
@media (max-width: 359.98px) { html body .emb-emanation-theme button { padding-inline: 8px; letter-spacing: .02em; } }

/* 7 · RUOLI SU FOGLI DI SEZIONE (Vision, materiali, studi, diario, navigazione) -- */
html body :is(.vision-20261028 .vz-section h2, .vision-20261028 .vz-overview h2, .material-heading h2, .support-portrait h2, .studies-heading h2, .journal-title h2) {
  font-family: var(--emb-sans); font-weight: 300; font-style: normal; font-size: var(--emb-h2); line-height: var(--emb-h2-l); letter-spacing: -.012em;
}
html body :is(.material-heading h2, .journal-title h2) em { font-family: var(--emb-read); font-style: italic; font-weight: 400; }
html body :is(.vision-20261028 .vz-reader h3, .vision-20261028 .vz-field h4, .vision-20261028 .vz-thread h4, .quiet-copy h3,
              .grid-sleep-copy h3, .study-copy h3, .journal-notes h3, .garden-editorial h3) {
  font-family: var(--emb-sans); font-weight: 300; font-style: normal; font-size: var(--emb-h3); line-height: var(--emb-h3-l);
}
html body :is(.vision-20261028 .vz-field-num) { font-family: var(--emb-sans); font-weight: 200; font-feature-settings: "tnum"; }
/* testo dentro SVG: solo famiglia e peso, mai il corpo (le coordinate dipendono dal disegno) */
html body :is(.vz-map-svg .vz-node-num, .vz-plan-svg .vz-space-num) { font-family: var(--emb-sans); font-weight: 200; }
html body :is(.vz-map-svg .vz-node-label, .vz-map-svg .vz-node-centre-text, .vz-plan-svg .vz-plan-axis, .vz-plan-svg .vz-space-label) { font-family: var(--emb-sans); }
html body :is(.vision-20261028 .vz-path strong) { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body .embalimeter-definition { font-family: var(--emb-read); font-weight: 400; }
/* Arial e Georgia residui: tornano alle voci del sistema */
html body :is(.vision-20261028 .vz-sub, .vision-20261028 .vz-chip, .vision-20261028 .vz-boundary h3, .study-card figcaption, .study-copy summary,
              .journal-kicker, .journal-spread figcaption > span, .journal-spread figcaption p, .journal-notes small,
              .emb-skip-link, .emb-global-nav, .emb-global-brand, .emb-presence-rail, .button, button) { font-family: var(--emb-sans); }

/* 8 · MINIMO DI LETTURA 13,5 px PER MICROTESTI HTML ------------------------------ */
html body :is(.emb-skip-link, .button, dt, .vz-tag, .vision-20261028 .vz-sub, .vision-20261028 .vz-chip, figcaption, figcaption > span, figcaption p,
              small, th, .hero-note, .lm-kicker, .lm-label, .lm-caption, .journal-kicker, .study-copy summary) {
  font-size: max(var(--emb-t-1), 1em);
}
html body :is(.emb-skip-link, .button, .vz-tag, .vision-20261028 .vz-chip, th, dt, small, .lm-kicker, .lm-label, .journal-kicker) { font-size: var(--emb-t-1); }
html body :is(.lm-back, .lm-kicker, .lm-caption, .lm-label, .lm-intuition li > span, .lm-boundary > span, .lm-record-meta span, .lm-record-key,
              .lm-method span, .lm-credentials span, .lm-cta a,
              .nav-links a, .card small, .step small, .status, .footer-inner, .person small, .text-link, .text-note, .readiness-head,
              .roots-grid small, .detail-kicker, .detail-grid dt, .chart-head span, .chart-row, .root-story .root-key, .nav-links .nav-cta,
              .module-card small, .vision-card figcaption span, .mode-card > span, .concept-disclosure, .full-bleed-study figcaption,
              .study-image figcaption, .fund-grid span, .gate-list span, .system-core small, .system-core span, .system-node span,
              .system-status, .system-panel dt, .system-legend, .embalimeter-explainer span, .embalimeter-explainer p,
              .emb-global-links a, .emb-global-status, .study-card figcaption) {
  font-size: var(--emb-t-1); line-height: var(--emb-l-1);
}
html body :is(.kicker, .s-label, .pillars .pt, .lm-kicker, .lm-label, .detail-kicker, .journal-kicker) { letter-spacing: .08em; }
/* eccezione dichiarata: tabelle dentro contenitori a scorrimento proprio (.vz-table-wrap) possono scorrere in orizzontale sotto 360 px; la pagina mai */
@media (max-width: 359.98px) { html body .vz-rhythm-table :is(th, td) { letter-spacing: 0; } }
html body :is(.vision-20261028 .vz-boundary h3, .emb-presence-stop span, .movement-trigger p, main dd, .detail-intro p, .editorial-line span,
              .emb-signature-description, .footer-links a, .lm-shell > footer, .editorial-link, .score-note, .score-topline span,
              figcaption strong, .vz-hero-figure figcaption, .vision-20261028 li > b, .lm-manifesto .small) {
  font-size: var(--emb-t-1); line-height: var(--emb-l-1);
}
html body :is(.vision-20261028 .editorial-hero .vz-hero-figure figcaption, .vision-20261028 .programme-lab figcaption,
              .vision-20261028 .vz-overview-figure figcaption strong, .vision-20261028 .vz-garden-figure figcaption strong) { font-size: var(--emb-t-1); }

/* 9 · PAGINE SENZA ANCORA DI PAGINA (C03.1) ----------------------------------------- */
/* titoli generici: specificita bassa, i ruoli piu specifici dei §3-§7 restano prioritari */
html body h1 { font-family: var(--emb-sans); font-weight: 300; font-style: normal; font-size: var(--emb-h1p); line-height: var(--emb-h1p-l); letter-spacing: -.012em; }
html body h2 { font-family: var(--emb-sans); font-weight: 300; font-style: normal; font-size: var(--emb-t2); line-height: var(--emb-l2); }
html body h3 { font-family: var(--emb-sans); font-weight: 300; font-style: normal; font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body .lead { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-lead); line-height: var(--emb-lead-l); font-feature-settings: "kern", "liga", "onum"; }
html body .quote blockquote { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-decl); line-height: var(--emb-decl-l); }
html body .steps strong { font-family: var(--emb-sans); font-weight: 300; font-size: var(--emb-t1); line-height: var(--emb-l1); }
html body .status td:first-child { font-family: var(--emb-read); font-size: var(--emb-t0); line-height: var(--emb-l0s); }
html body:has(.nhead) { font-family: var(--emb-read); }
html body:has(.nhead) main p, html body:has(.nhead) article p { font-family: var(--emb-read); font-weight: 400; font-size: var(--emb-t0); line-height: var(--emb-l0); max-width: var(--emb-measure); }
html body :is(.quote cite, .angle b, .principles span, .steps span, .status th, .status td, .badge, .record, .meta,
              .editorial-small, .notice, .def, .def em, .nhead + * .back, .back) { font-size: var(--emb-t-1); line-height: var(--emb-l-1); }
html body .def { font-family: var(--emb-sans); font-weight: 400; }
html body .fund-grid article p { font-size: var(--emb-t-1); line-height: var(--emb-l-1); }
html body footer:not(:has(.emb-claim, .claim, .emb-signature)) { font-size: var(--emb-t-1); line-height: var(--emb-l-1); }
html body footer:not(:has(.emb-claim, .claim, .emb-signature)) a { font-size: inherit; }

/* 10 · LEMATT (LM01) ------------------------------------------------------------------ */
/* il titolo di /lematt e la voce dell'autore: EB Garamond, seconda riga corsiva oro (formula «Selamat. C'est Le Matt.») */
html body h1.lm-title { font-family: var(--emb-read); font-weight: 400; letter-spacing: -.01em; }
html body h1.lm-title :is(em, i, .gold) { font-family: var(--emb-read); font-style: italic; }
/* oro di notte su fondo scuro (C02.1: #B8A88A, 8,15:1); l oro di giorno #7A5228 su nero non raggiunge 3:1 */
html body h1.lm-title .gold { color: var(--emb-night-gold, #B8A88A); }

/* WEB-ALIGN-01 · 8.11.2026: titoli bilanciati, paragrafi senza parole isolate (miglioramento progressivo) */
h1,h2,h3{text-wrap:balance}p,li,figcaption,blockquote{text-wrap:pretty}
