/* Studio Legale Capucci
   Identita' presa dal biglietto da visita: bordeaux, rosa chiarissimo, Bebas Neue per il nome, Fraunces (serif) per il testo,
   cornice sottile, lettere fantasma. Le pagine si aprono sul "fronte" bordeaux e si chiudono
   sul "retro" chiaro con la striscia in alto. Dentro, il margine di un foglio protocollo. */
:root {
  --paper: #FAF0F3;
  --tint: #F3E3E9;
  --ink: #2A1020;
  --muted: #6B5560;
  --rule: #E3CDD5;
  --wax: #6B1535;
  --band: #6B1535;
  --on-band: #FAF0F3;
  --on-band-muted: #EBCDD7;
  --band-accent: #FFDCE6;
  --band-line: rgba(250, 240, 243, 0.55);
  --ghost-ink: rgba(107, 21, 53, 0.07);
  --ph-bg: rgba(107, 21, 53, 0.09);
  --line: var(--wax);
  --f-display: "Bebas Neue", "Arial Narrow", Impact, "Helvetica Neue", Arial, sans-serif;
  --f-head: "Jost", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --f-body: "Jost", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
/* Un solo schema di colori, quello del biglietto da visita, anche se il dispositivo e' in modalita' scura. */
:root { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.sheet {
  position: relative; z-index: 1;
  max-width: 78rem;
  margin-inline: auto;
  padding-left: max(26px, env(safe-area-inset-left, 0px));
  padding-right: max(26px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 20;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
}
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: 8px; }

/* Lettere fantasma, come sul biglietto */
.ghost {
  position: absolute; z-index: 0; right: -0.02em; bottom: -0.2em;
  font-family: var(--f-display); font-weight: 400; line-height: 1; letter-spacing: 0.03em;
  font-size: clamp(10rem, 31vw, 27rem);
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.band.small .ghost { font-size: clamp(6.5rem, 20vw, 14rem); bottom: -0.15em; }

/* Fronte: fascia bordeaux con cornice */
.band { position: relative; overflow: hidden; background: var(--band); color: var(--on-band); --line: var(--band-line); }
.band::after {
  content: ""; position: absolute; inset: 10px; z-index: 1;
  border: 1px solid var(--band-line); pointer-events: none;
}
.band .margin { color: var(--on-band-muted); }
.band .margin::before { background: var(--band-accent); }
.band .margin a:hover, .band .margin a[aria-current="page"] { color: var(--on-band); border-bottom-color: var(--band-accent); }
.band .margin a.mark { color: var(--on-band); }
.band a:focus-visible { outline-color: var(--band-accent); }
.band .kicker { color: var(--band-accent); }
.band .idx-title { color: var(--on-band-muted); }
.band .crumbs { color: var(--on-band-muted); }
.band .crumbs a { border-bottom-color: var(--on-band-muted); }
.band .crumbs a:hover { border-bottom-color: var(--band-accent); }
.band h1 { color: var(--on-band); }
.band h1 .tit { color: var(--band-accent); }
.band .lead { color: var(--on-band); }

/* Retro: fascia chiara con striscia in alto */
.end { position: relative; overflow: hidden; background: var(--tint); border-top: 3px solid var(--wax); }
.end .ghost { left: -0.02em; right: auto; bottom: -0.22em; color: var(--ghost-ink); }

/* Griglia: margine + corpo */
.row { display: grid; grid-template-columns: minmax(0, 1fr); }
.margin {
  font-weight: 400; font-size: 0.76rem; line-height: 1.6;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 3rem;
}
.margin::before {
  content: ""; display: block; width: 2.5rem; height: 1px;
  background: var(--wax); margin-bottom: 0.9rem;
}
.row.top .margin { padding-top: 2.2rem; }
.row.top .margin::before { display: none; }
.body { min-width: 0; padding-block: 1.1rem 3rem; }
.row.top .body { padding-block: 1.4rem 3.4rem; }

@media (min-width: 56rem) {
  .row { grid-template-columns: 13rem minmax(0, 1fr); }
  .margin { text-align: right; padding: 5rem 1.5rem 0 0; }
  .margin::before { margin-left: auto; }
  .body { padding: 4.5rem 0 4.5rem 3.5rem; border-left: 1px solid var(--line); }
  .row.top .margin { padding-top: 5.2rem; }
  .row.top .body { padding: 5rem 0 4.8rem 3.5rem; }
  .band.small .row.top .margin { padding-top: 3.8rem; }
  .band.small .row.top .body { padding: 3.6rem 0 3.4rem 3.5rem; }
  .band::after { inset: 14px; }
  .row.cta-row .margin { padding-top: 3.8rem; }
  .row.cta-row .body { padding: 3.4rem 0 1.5rem 3.5rem; }
  .row.foot .margin { padding-top: 0.6rem; }
  .row.foot .body { padding: 0.6rem 0 3.5rem 3.5rem; }
}
.row.foot .margin { padding-top: 0.5rem; }
.row.foot .margin::before { display: none; }
.row.foot .body { padding-block: 0.5rem 2.5rem; }

/* Testo */
h1, h2, h3 { font-family: var(--f-head); font-weight: 300; margin: 0; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin: 0 0 1.2rem; }
h1.display {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(4rem, 15vw, 10.5rem); line-height: 0.88; letter-spacing: 0.05em;
  margin: 1.2rem 0 0 -0.03em;
}
h1 .tit {
  display: block; font-weight: 400; text-transform: uppercase;
  font-size: 0.3em; letter-spacing: 0.3em; margin-bottom: 1.3em; color: var(--band-accent);
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1.2rem; color: var(--wax); }
h2.sub { font-size: 1.45rem; margin: 2.6rem 0 0.8rem; }
main h2:not(.sub)::after {
  content: ""; display: block; width: 2.6rem; height: 0; margin-top: 1rem;
  border-top: 2px solid var(--wax);
}
h3 { font-size: 1.35rem; font-weight: 400; }
p { margin: 0 0 1.1rem; max-width: 38rem; }

.kicker, .idx-title, .crumbs, .role {
  font-weight: 400; text-transform: uppercase; color: var(--muted);
}
.kicker { font-size: 0.8rem; letter-spacing: 0.3em; margin: 0; }
.crumbs { font-size: 0.76rem; letter-spacing: 0.18em; margin: 0 0 1.6rem; max-width: none; }
.crumbs a { border-bottom: 1px solid var(--rule); }
.crumbs a:hover { border-bottom-color: var(--wax); }
.lead {
  font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.55;
  max-width: 34rem; margin: 2.2rem 0 0;
}
h1 + .lead { margin-top: 0; margin-bottom: 0; }
h1.display + .lead { margin-top: 1.8rem; }

.epigraph { margin: 3rem 0 0; max-width: 34rem; border-top: 1px solid var(--band-line); padding-top: 1.4rem; }
.epigraph blockquote { margin: 0; }
.epigraph p {
  font-style: normal; font-weight: 300; font-variation-settings: "opsz" 144; letter-spacing: 0.01em;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.5; margin: 0 0 0.9rem; max-width: none; text-wrap: pretty;
}
.epigraph figcaption {
  font-weight: 400; font-size: 0.76rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--on-band-muted);
}

/* Collegamenti */
a { color: inherit; text-decoration: none; }
.body p a, .body li a, .fine a, .contact dd a, .cta-line a { border-bottom: 1px solid var(--wax); transition: color 0.15s ease; }
.body p a:hover, .body li a:hover, .fine a:hover, .contact dd a:hover, .cta-line a:hover { color: var(--wax); }
a:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; }
.more { font-weight: 400; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 1.6rem; max-width: none; }

/* Indice nel margine */
.idx-title { margin: 0 0 0.8rem; font-size: 0.76rem; letter-spacing: 0.2em; max-width: none; }
.margin ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
@media (min-width: 56rem) {
  .margin ul { flex-direction: column; align-items: flex-end; flex-wrap: nowrap; gap: 0.7rem; }
}
.margin a {
  display: inline-block; padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.margin a:hover, .margin a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--wax); }
.margin a.mark {
  display: block; padding: 0; border: 0;
  font-family: var(--f-head); font-weight: 500; font-size: 0.98rem; line-height: 1.4;
  letter-spacing: 0.2em; color: var(--ink); margin: 0 0 1.5rem;
}

/* Elenchi a due colonne (materie, avvocati) */
.rows { margin: 1.2rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--rule); }
.rw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.rw h3 { color: var(--ink); line-height: 1.25; }
.rw h3 a { border-bottom: 1px solid transparent; transition: border-color 0.15s ease, color 0.15s ease; }
.rw h3 a:hover { color: var(--wax); border-bottom-color: var(--wax); }
.rw p { margin: 0; color: var(--muted); font-size: 1rem; max-width: none; }
@media (min-width: 40rem) { .rw { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 2rem; } }
.grouplabel {
  margin: 2.4rem 0 0; max-width: none; font-weight: 400; font-size: 0.76rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--wax);
}
h2 + .grouplabel { margin-top: 0; }
.role { font-size: 0.76rem; letter-spacing: 0.2em; margin: 0.5rem 0 0; max-width: none; }

/* Elenchi */
ul.items { margin: 0 0 1.4rem; padding: 0; list-style: none; max-width: 38rem; border-bottom: 1px solid var(--rule); }
ul.items li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-top: 1px solid var(--rule); }
ul.items li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: 0.9rem; height: 1px; background: var(--wax);
}

ul.items.compact { max-width: 52rem; }
@media (min-width: 40rem) { ul.items.compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }

/* Mappa (caricata su richiesta) */
.map { margin: 1.6rem 0 0; max-width: 38rem; }
.map iframe, .map-box { display: block; width: 100%; height: 15rem; border: 1px solid var(--rule); }
.map-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; background: var(--tint); color: var(--wax); }
.map-addr { margin: 0; color: var(--ink); max-width: none; line-height: 1.5; }
.map-btn { margin-top: 0.4rem; cursor: pointer; }
.map figcaption { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); max-width: none; }

/* Recapiti */
.contacts { margin: 2rem 0 0; border-bottom: 1px solid var(--rule); }
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem;
  padding: 1.05rem 0; border-top: 1px solid var(--rule);
}
.contact dt {
  font-weight: 400; font-size: 0.76rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--wax);
}
.contact dd { margin: 0; font-weight: 400; font-size: 1.2rem; overflow-wrap: anywhere; }
@media (min-width: 40rem) {
  .contact { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
}

.cta { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid var(--wax); max-width: 38rem; }
.cta p { margin-bottom: 0.6rem; }
.note { font-size: 0.95rem; color: var(--muted); }

/* Retro: chiusura */
.back-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem 3rem; margin: 0; max-width: 44rem; }
@media (min-width: 40rem) { .back-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.back-grid dt { font-weight: 400; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wax); margin-bottom: 0.2rem; }
.back-grid dd { margin: 0; font-weight: 400; font-size: 1.05rem; overflow-wrap: anywhere; }
.back-grid a { border-bottom: 1px solid var(--wax); }
.fine { font-weight: 400; font-size: 0.8rem; line-height: 1.8; letter-spacing: 0.03em; color: var(--muted); }
.fine p { margin: 0 0 0.5rem; max-width: 46rem; }
.fine ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.6rem; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem; }
.foot .body { border-top: 1px solid var(--rule); }
@media (min-width: 56rem) { .foot .body { border-top: 0; } }

/* Aperture e passaggi */
.band .intro { max-width: 34rem; margin: 1.3rem 0 0; font-size: 1.1rem; color: var(--on-band-muted); }
.pull {
  font-family: var(--f-body); font-style: normal; font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.5; letter-spacing: 0.01em; color: var(--wax);
  margin: 0 0 1.8rem; max-width: 38rem; padding-top: 0.2rem; text-wrap: pretty;
}

ol.steps { list-style: none; counter-reset: step; margin: 1.6rem 0 0; padding: 0; max-width: 40rem; border-bottom: 1px solid var(--rule); }
ol.steps li { counter-increment: step; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); padding: 1.1rem 0; border-top: 1px solid var(--rule); }
ol.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-head); font-weight: 300; font-style: normal; font-size: 1.5rem; line-height: 1.1; color: var(--wax); }
ol.steps h3 { color: var(--ink); margin-bottom: 0.25rem; }
ol.steps.compact { margin-top: 1.2rem; max-width: 46rem; }
ol.steps.compact li > div { display: grid; gap: 0.1rem 1.5rem; }
@media (min-width: 40rem) { ol.steps.compact li > div { grid-template-columns: minmax(0, 16.5rem) minmax(0, 1fr); align-items: center; } }
ol.steps.compact p.cap { font-size: 0.88rem; line-height: 1.4; color: var(--muted); }
ol.steps.compact li { padding: 0.55rem 0; align-items: center; }
ol.steps.compact li::before { font-size: 1.15rem; }
ol.steps.compact h3 { margin: 0; font-size: 1.1rem; }
ol.steps p { margin: 0; color: var(--muted); font-size: 1.02rem; max-width: none; }

/* Modulo a passi */
.notice { border-left: 2px solid var(--wax); padding: 0.2rem 0 0.2rem 1.1rem; margin: 0 0 1.6rem; max-width: 38rem; }
.notice p { margin: 0; }
.wizard { margin-top: 2.4rem; max-width: 40rem; }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 0.8rem; }
.progress span { height: 3px; background: var(--rule); }
.progress span.on { background: var(--wax); }
.stepno { font-weight: 400; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.6rem; max-width: none; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { padding: 0; font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--wax); margin-bottom: 1.4rem; }
.step legend:focus { outline: none; }
.field { margin: 0 0 1.5rem; border: 0; padding: 0; min-width: 0; }
.field .lbl { display: block; font-weight: 400; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.5rem; }
.hint { font-size: 0.92rem; color: var(--muted); margin: 0.4rem 0 0; max-width: none; }
.opt { display: flex; gap: 0.7rem; align-items: baseline; padding: 0.6rem 0; border-top: 1px solid var(--rule); cursor: pointer; }
.opts .opt:last-child { border-bottom: 1px solid var(--rule); }
.opt input { accent-color: var(--wax); flex: none; }
.opt.check { border: 0; padding: 0; }
.opt.check a { border-bottom: 1px solid var(--wax); }
input[type=text], input[type=tel], input[type=email], input[type=date], select, textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: transparent;
  border: 1px solid var(--rule); border-radius: 0; padding: 0.7rem 0.8rem; min-width: 0;
}
textarea { min-height: 11rem; resize: vertical; line-height: 1.55; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--wax); outline-offset: 1px; border-color: var(--wax); }
select option { background: var(--paper); color: var(--ink); }
.count { text-align: right; font-size: 0.8rem; color: var(--muted); margin: 0.3rem 0 0; max-width: none; }
.err { color: var(--wax); font-weight: 400; margin: 0 0 0.6rem; max-width: none; min-height: 1.4em; }
.btns { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.2rem; }
.btn {
  font: inherit; font-weight: 400; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.85rem 1.4rem; border: 1px solid var(--wax); background: transparent; color: var(--wax);
  cursor: pointer; display: inline-block; text-align: center; line-height: 1.3; border-radius: 0;
}
.btn:hover { background: var(--tint); }
.btn.primary { background: var(--wax); color: var(--paper); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--wax); outline-offset: 3px; }
.summary {
  white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.98rem; line-height: 1.6;
  background: var(--tint); border: 1px solid var(--rule); padding: 1.1rem 1.2rem; margin: 0 0 1rem; max-width: none;
}
.esito { margin: 1rem 0 0; max-width: none; min-height: 1.4em; }
.who { color: var(--muted); font-size: 0.85em; }

/* Pensieri giuridici */
.rw .d { margin: 0; font-weight: 500; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wax); }
.rw > div { min-width: 0; }
.rw > div > p { margin: 0.35rem 0 0; }
.prose p, .prose ul { max-width: 38rem; }
.prose blockquote { margin: 1.8rem 0; max-width: 34rem; }
.prose blockquote p { font-style: normal; font-weight: 300; font-variation-settings: "opsz" 144; letter-spacing: 0.01em; font-size: clamp(1.25rem, 2.3vw, 1.5rem); line-height: 1.5; color: var(--wax); border-top: 1px solid var(--wax); padding-top: 1rem; margin: 0; }
.prose h2.sub:first-child { margin-top: 0; }

/* Etichette in maiuscolo: peso pieno per restare leggibili */
.margin, .kicker, .idx-title, .crumbs, .role, .contact dt, .back-grid dt, .stepno, .grouplabel, .more, .fine ul, h1 .tit, .epigraph figcaption, .lbl, .btn { font-family: var(--f-head); font-weight: 500; }

/* Segnaposto da completare */
.ph {
  background: var(--ph-bg); color: var(--wax); padding: 0 0.3em;
  border-bottom: 1px dashed var(--wax); border-radius: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .margin a, .rw h3 a { transition: none; }
}

/* Cifre, ritratti, domande frequenti, lingue */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.4rem 2rem; margin: 2.4rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--band-line); max-width: 46rem; list-style: none; }
.figures li { margin: 0; }
@media (min-width: 56rem) { .figures { grid-template-columns: 0.8fr 0.9fr 1.9fr; max-width: 58rem; } }
.figures b { display: block; font-family: var(--f-head); font-weight: 300; font-size: 3rem; line-height: 1; color: var(--band-accent); }
.figures span { display: block; margin-top: 0.45rem; font-size: 0.98rem; line-height: 1.35; color: var(--on-band-muted); }
.portrait { margin: 0 0 2rem; max-width: 19rem; }
.portrait.wide { max-width: 40rem; }
.col { max-width: 38rem; }
.col::after { content: ""; display: block; clear: both; }
.portrait.round { float: right; width: min(15.5rem, 46%); max-width: none; margin: 0.3rem 0 1rem 2rem; padding: 0.45rem; border: 1px solid var(--wax); border-radius: 50%; }
.portrait.round img { border: 0; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 34rem) { .portrait.round { float: none; width: 12.5rem; margin: 0 0 1.6rem; } }
.portrait img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.faq { max-width: 42rem; margin: 1.6rem 0 0; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); padding: 1.05rem 0; }
.faq summary { cursor: pointer; font-size: 1.22rem; line-height: 1.3; color: var(--ink); list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: -0.1rem; color: var(--wax); font-size: 1.7rem; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--wax); }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); font-size: 1.04rem; max-width: none; }
.faq details p a { color: var(--ink); }
.rw .src { font-style: normal; }

/* Sezione "Diverse generazioni": fascia a tinta piena, frase in grande, testo a due colonne */
.row.feature { position: relative; background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax); }
.row.feature .margin::before { background: var(--wax); height: 2px; width: 3.4rem; }
.row.feature .body { border-left-color: var(--wax); }
.row.feature .pull { max-width: 38rem; margin: 0 0 1.4rem; padding: 0; font-family: var(--f-body); font-weight: 400; font-style: normal; font-size: 1.25rem; line-height: 1.5; letter-spacing: 0; color: var(--wax); }
.row.feature .pull::before { content: none; }
.row.feature .cols { max-width: 38rem; }
.row.feature .cols p { max-width: none; }

/* Menu principale: barra in alto, su una riga; su schermi stretti si apre con il pulsante Menu */
.topbar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; padding: 1.5rem 0 1.2rem; border-bottom: 1px solid var(--band-line); }
.topbar .mark { font-family: var(--f-head); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.16em; white-space: nowrap; text-transform: uppercase; color: var(--on-band); }
.topbar ul { list-style: none; margin: 0; padding: 0; display: none; flex-basis: 100%; flex-direction: column; gap: 0; }
.topbar .mt { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topbar .mt:checked ~ ul { display: flex; }
.topbar .mt:focus-visible ~ .mbtn { outline: 2px solid var(--band-accent); outline-offset: 3px; }
.topbar .mbtn { font-family: var(--f-head); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-band); border: 1px solid var(--band-line); padding: 0.5rem 0.9rem; cursor: pointer; }
.topbar li a { display: block; padding: 0.75rem 0; border-top: 1px solid var(--band-line); font-family: var(--f-head); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-band-muted); }
.topbar li a:hover, .topbar li a[aria-current="page"] { color: var(--on-band); }
.topbar li a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
@media (min-width: 72rem) {
  .topbar .mbtn { display: none; }
  .topbar ul { display: flex; flex-basis: auto; flex-direction: row; align-items: center; gap: 1.25rem; }
  .topbar li a { border-top: 0; padding: 0.3rem 0; font-size: 0.7rem; letter-spacing: 0.1em; white-space: nowrap; }
  .topbar li.sep { padding-left: 1.25rem; border-left: 1px solid var(--band-line); }
}
/* Menu: Jost maiuscoletto piccolo, nome in Bebas Neue */
.topbar .mark { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.08em; line-height: 1; }
.topbar .mbtn { font-family: var(--f-head); font-weight: 500; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; }
.topbar li a { font-family: var(--f-head); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 72rem) {
  .topbar ul { gap: 1.5rem; }
  .topbar li a { font-size: 0.72rem; letter-spacing: 0.14em; }
  .topbar li.sep { padding-left: 1.5rem; }
}
/* Menu: marchio al centro, voci sotto tra due filetti (schermi larghi) */
@media (min-width: 72rem) {
  .topbar { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 1.6rem 0 0; border-bottom: 0; }
  .topbar .mark { align-self: center; font-size: 2rem; letter-spacing: 0.14em; }
  .topbar ul { justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 1.1rem; border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
  .topbar li + li { border-left: 1px solid var(--band-line); }
  .topbar li.sep { padding-left: 0; border-left: 1px solid var(--band-line); }
  .topbar li a { padding: 0.85rem 1.25rem; font-size: 0.72rem; letter-spacing: 0.16em; }
}
.row.top .margin { padding: 0; }
.row.top .margin::before { display: none; }
@media (max-width: 55.99rem) { .row.top .margin { display: none; } }
@media (min-width: 56rem) {
  .row.top .body { padding-top: 3.2rem; }
  .band.small .row.top .body { padding-top: 2.6rem; }
}

/* Indice: voci su una sola riga, due gruppi (le sezioni, poi i contatti) */
.margin ul { gap: 0.55rem 1.4rem; }
.margin li a { white-space: nowrap; letter-spacing: 0.12em; font-size: 0.74rem; }
@media (min-width: 56rem) {
  .margin ul { gap: 0.6rem; }
  .margin li.sep { margin-top: 0.9rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); width: 100%; text-align: right; }
  .band .margin li.sep { border-top-color: var(--band-line); }
  .margin a.mark { font-size: 0.9rem; letter-spacing: 0.18em; margin-bottom: 1.8rem; }
  .row.top .margin { padding-bottom: 2.6rem; }
}

/* Prima pagina: una sola gerarchia, due corpi di testo (titolo e testo corrente) e cifre composte */
h1.display { font-size: clamp(3.4rem, 11vw, 8rem); margin-top: 1rem; }
h1.display + .lead { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 400; line-height: 1.5; margin-top: 1.5rem; max-width: 36rem; }
.band .intro { font-size: 1.0625rem; line-height: 1.65; margin: 1.1rem 0 0; max-width: 36rem; color: var(--on-band-muted); }
.band .epigraph { margin: 2rem 0 0; padding-top: 1.1rem; max-width: 36rem; }
.band .epigraph p { font-size: 1.0625rem; line-height: 1.65; font-weight: 400; font-variation-settings: normal; letter-spacing: 0; margin: 0 0 0.5rem; color: var(--on-band); }
.band .figures { gap: 1rem 2rem; margin-top: 2rem; padding-top: 1.1rem; max-width: 56rem; grid-template-columns: 0.8fr 0.9fr 1.6fr; }
@media (max-width: 48rem) { .band .figures { grid-template-columns: minmax(0, 1fr); } }
.band .figures li { border-left: 1px solid var(--band-line); padding-left: 1rem; }
.band .figures b { font-family: var(--f-head); font-weight: 300; font-size: 1.9rem; line-height: 1; color: var(--on-band); }
.band .figures span { font-size: 0.9375rem; line-height: 1.5; margin-top: 0.4rem; color: var(--on-band-muted); }
