/* ==========================================================
   Dawit Abraha — foglio di stile
   Colori presi dal logo "Dawit Abraha & Partners"
   ========================================================== */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-normal.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-normal.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --teal: #22353b;          /* sfondo del logo */
  --teal-deep: #1a292e;
  --teal-soft: #2c434a;
  --gold: #c8a75d;          /* oro del logo */
  --gold-light: #dcc184;
  --paper: #f7f4ed;
  --paper-2: #efe9dc;
  --white: #ffffff;
  --ink: #1d2b30;
  --ink-muted: #56666b;
  --on-dark: #eeeae0;
  --on-dark-muted: #a7b5b5;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(29, 43, 48, 0.12);
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(26, 41, 46, 0.35);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--teal); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #8c6d2c; margin-bottom: 1rem;
}
.dark .eyebrow, .eyebrow--light { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-muted); max-width: 60ch; }
.dark .lead { color: var(--on-dark-muted); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--gold);
  background: var(--gold); color: var(--teal-deep); font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; cursor: pointer;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--gold); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-light); }
.btn--outline:hover { background: var(--white); border-color: var(--gold); }
.btn--small { padding: 9px 18px; font-size: 0.88rem; }
.link-arrow { color: #8c6d2c; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.dark .link-arrow { color: var(--gold); }

/* ---------- Menu ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--teal); border-bottom: 1px solid var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
.brand svg { display: block; height: 48px; width: auto; }
.footer__brand svg { display: block; width: 280px; max-width: 100%; height: auto; margin-bottom: 18px; }

/* due pilastri: economia e persone */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar { border-radius: 22px; padding: 44px 40px; position: relative; overflow: hidden; }
.pillar--num { background: var(--teal); color: var(--on-dark); }
.pillar--ppl { background: var(--white); border: 1px solid var(--line-light); }
.pillar__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--gold); color: var(--gold); }
.pillar--ppl .pillar__icon { color: #8c6d2c; border-color: #8c6d2c; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.pillar > p { color: var(--ink-muted); margin-bottom: 22px; }
.pillar--num > p { color: var(--on-dark-muted); }
.pillar ul { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 26px; }
.pillar li { padding-left: 22px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold); }
.pillar--num .link-arrow, .pillar--num .eyebrow { color: var(--gold); }
.pillar .eyebrow { margin-bottom: .5rem; }

/* banda ricerca e selezione */
.band { background: linear-gradient(120deg, #efe2c2, #f7f0de); border: 1px solid rgba(200,167,93,.45); border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .8rem; }
.band p { color: var(--ink-muted); }
.band__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.band__list li { background: var(--white); border: 1px solid var(--line-light); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.band__side { background: var(--teal); color: var(--on-dark); border-radius: 18px; padding: 30px; }
.band__side strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 8px; color: var(--gold-light); }
.band__side p { color: var(--on-dark-muted); margin: 0; font-size: .97rem; }

/* gruppi servizi */
.group-title { font-size: 1rem; scroll-margin-top: 100px; display: flex; align-items: center; gap: 16px; margin: 0 0 8px; padding-top: 24px; }
.group-title span { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8c6d2c; max-width: 80%; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.cert-thumb { display: block; margin-top: 12px; width: 120px; border: 1px solid var(--line-light); border-radius: 6px; box-shadow: var(--shadow); }
.address { font-style: normal; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; }
.nav__links a { color: var(--on-dark-muted); text-decoration: none; font-size: 0.93rem; transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--on-dark); }
.nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.nav__links .btn { color: var(--teal-deep); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 6px 0; transition: transform .3s; }

/* ---------- Sezioni ---------- */
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.dark { background: var(--teal); color: var(--on-dark); }
.dark--deep { background: var(--teal-deep); }
.paper-2 { background: var(--paper-2); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .lead { margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 85% 15%, rgba(200,167,93,.16), transparent 70%),
              radial-gradient(45% 50% at 0% 100%, rgba(255,255,255,.05), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 5.6rem); margin-bottom: 0.6rem; }
.hero__role { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--gold); margin-bottom: 1.6rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__photo { position: relative; justify-self: end; width: 100%; max-width: 430px; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 20px 20px; border: 1px solid rgba(200,167,93,.45); box-shadow: 0 30px 60px -25px rgba(0,0,0,.55); }
.hero__photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(200,167,93,.35); border-radius: 240px 240px 20px 20px; z-index: -1; }

/* striscia ruoli */
.roles { border-top: 1px solid var(--line-dark); background: var(--teal-deep); color: var(--on-dark-muted); }
.roles ul { list-style: none; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 0.9rem; letter-spacing: .02em; }
.roles li { display: flex; align-items: center; }
.roles li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-right: 28px; }

/* ---------- Griglie e card ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 32px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(200,167,93,.55); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-muted); margin-bottom: 0; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 24px; height: 24px; }
.card__link { display: inline-block; margin-top: 18px; font-size: 0.92rem; }
.card--link { text-decoration: none; color: inherit; display: block; }
.dark .card { background: var(--teal-soft); border-color: var(--line-dark); }
.dark .card p { color: var(--on-dark-muted); }

/* punti "perché adesso" */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: p; }
.point { border-top: 1px solid var(--line-light); padding-top: 22px; }
.point::before { counter-increment: p; content: "0" counter(p); display: block; font-family: var(--font-display); color: #8c6d2c; font-size: 1.1rem; margin-bottom: 10px; }
.point h3 { font-size: 1.2rem; margin-bottom: 8px; }
.point p { color: var(--ink-muted); margin: 0; }

/* metodo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before {
  counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 20px; background: var(--teal);
  position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: rgba(200,167,93,.35); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--on-dark-muted); font-size: 0.97rem; margin: 0; }

/* credenziali */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cred { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 26px; }
.cred__year { font-family: var(--font-display); color: #8c6d2c; font-size: 1.05rem; min-width: 46px; }
.cred h3 { font-size: 1.08rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; line-height: 1.35; }
.cred p { color: var(--ink-muted); font-size: 0.93rem; margin: 0; }
.cred a { font-size: 0.9rem; }

/* split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.split--center { align-items: center; }
.prose p { color: var(--ink-muted); font-size: 1.06rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h3 { margin: 2rem 0 .8rem; }
.prose ul { padding-left: 1.2rem; color: var(--ink-muted); margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 24px; margin: 0; }
.dark .quote { color: var(--on-dark); }
.portrait { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.logo-block { background: var(--teal); border-radius: var(--radius); padding: 20px; margin-top: 22px; }

/* ---------- Pagine interne ---------- */
.page-hero { padding: 88px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(200,167,93,.14), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 1rem; position: relative; }
.page-hero .lead { position: relative; }
.crumbs { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 1.6rem; position: relative; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* servizi dettagliati */
.service { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line-light); }
.service:first-child { border-top: 0; padding-top: 0; }
.service__num { font-family: var(--font-display); color: #8c6d2c; font-size: 1rem; margin-bottom: 10px; display: block; }
.service h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.service .tags { margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { font-size: .8rem; background: var(--paper-2); border: 1px solid var(--line-light); padding: 4px 12px; border-radius: 999px; color: var(--ink-muted); }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; margin: 1rem 0 0; }
.checks li { padding-left: 32px; position: relative; color: var(--ink-muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a75d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* FAQ */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 1.25rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #8c6d2c; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); margin: 14px 0 0; max-width: 70ch; }

/* filtri */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter { border: 1px solid var(--line-light); background: var(--white); color: var(--ink-muted); padding: 8px 18px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--gold); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--teal); color: var(--on-dark); border-color: var(--teal); }
[hidden] { display: none !important; }

/* articoli */
.article { display: flex; flex-direction: column; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .82rem; color: var(--ink-muted); margin-bottom: 14px; }
.source { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; padding: 4px 10px; border-radius: 6px; background: var(--teal); color: var(--gold); }
.article h3 { font-size: 1.35rem; margin-bottom: 6px; }
.article__author { font-size: .92rem; color: #8c6d2c; margin-bottom: 14px; }
.article__why { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-light); font-size: .95rem; }
.article__why strong { color: var(--ink); }
.article .card__link { margin-top: auto; padding-top: 20px; }

/* libri */
.book { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: start; }
.cover {
  aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; padding: 14px 12px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--on-dark); box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 14px 24px -12px rgba(0,0,0,.45); position: relative; overflow: hidden;
}
.cover::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 40px; height: 1px; background: currentColor; opacity: .4; }
.cover__title { font-family: var(--font-display); font-size: .92rem; line-height: 1.15; }
.cover__author { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.cover--teal { background: linear-gradient(160deg, #2c434a, #1a292e); color: var(--gold-light); }
.cover--gold { background: linear-gradient(160deg, #d6ba7a, #b6924a); color: #1a292e; }
.cover--ivory { background: linear-gradient(160deg, #fbf8f1, #e6dfcf); color: #22353b; }
.cover--rust { background: linear-gradient(160deg, #a5583d, #7c3d28); color: #f6e7d9; }
.cover--blue { background: linear-gradient(160deg, #3d5a80, #253a55); color: #e8eef6; }
.book h3 { font-size: 1.25rem; margin-bottom: 4px; }
.book__author { color: #8c6d2c; font-size: .92rem; margin-bottom: 4px; }
.book__it { font-size: .85rem; color: var(--ink-muted); margin-bottom: 10px; font-style: italic; }
.book p { color: var(--ink-muted); font-size: .97rem; margin: 0; }
.book .tags { margin-top: 12px; }

/* contatti */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .card__icon { margin: 0; width: 44px; height: 44px; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: #8c6d2c; }
.contact-list small { display: block; color: var(--ink-muted); font-size: .82rem; }
.form { background: var(--white); border: 1px solid var(--line-light); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-light); background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,167,93,.2); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-muted); margin-bottom: 22px; }
.consent input { margin-top: 5px; accent-color: var(--teal); }
.hp { position: absolute; left: -5000px; }

/* CTA finale */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta h2 em { color: var(--gold); }
.cta .lead { margin: 0 auto 2rem; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: var(--on-dark-muted); padding: 72px 0 32px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: var(--on-dark-muted); }
.footer a:hover { color: var(--on-dark); }
.footer__logo { width: 280px; max-width: 100%; margin-bottom: 18px; border-radius: 6px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .84rem; }

/* ---------- Animazioni ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .steps li:nth-child(2)::after { display: none; }
  .creds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid, .split, .contact-grid, .service, .pillars, .band { grid-template-columns: 1fr; gap: 44px; }
  .pillars { gap: 20px; }
  .band { padding: 32px 24px; gap: 28px; }
  .pillar { padding: 34px 26px; }
  .hero__photo { justify-self: center; max-width: 360px; }
  .grid--3, .points { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .section { padding: 84px 0; }
  .service { gap: 18px; }
}

/* ---------- Telefono ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__toggle { display: block; order: 3; margin-right: -10px; }
  .brand svg { height: 42px; }
  .nav__inner > nav { order: 2; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--teal); border-bottom: 1px solid var(--line-dark); padding: 12px 16px 24px;
    transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease;
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .nav__links a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .nav__links .btn { margin-top: 16px; border-bottom: 0; display: inline-flex; padding: 12px 22px; }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding: 56px 0 72px; }
  .hero__photo { max-width: 290px; }
  .grid--2, .grid--3, .grid--4, .points, .creds, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 40px; }
  .card { padding: 26px; }
  .form { padding: 26px 20px; }
  .book { grid-template-columns: 84px 1fr; gap: 18px; }
  .cover__title { font-size: .72rem; }
  .cover__author { font-size: .5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .roles ul { gap: 6px 18px; font-size: .82rem; }
  .roles li + li::before { display: none; }
}

/* ==========================================================
   Aggiunte novembre 2026: clienti, libri, download, regole selezione
   ========================================================== */
/* clienti */
.clients__featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 0 auto 26px; }
.client-feature { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--white); border: 1px solid rgba(200,167,93,.55); border-radius: 18px; padding: 26px 24px 20px; box-shadow: var(--shadow); color: var(--ink); }
.client-feature img { width: auto; max-width: 100%; height: 58px; object-fit: contain; }
.client-feature__name { font-family: var(--font-display); font-size: .95rem; color: var(--ink-muted); }
.logo-wall { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logo-wall li { background: var(--white); border: 1px solid var(--line-light); border-radius: 12px; width: 144px; height: 72px; display: grid; place-items: center; padding: 12px 16px; }
.logo-wall img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.logo-wall li { transition: transform .3s ease, box-shadow .3s ease; }
.logo-wall__round img { max-height: 56px; }
.logo-wall li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* libri: copertine reali e link d'acquisto */
.book__cover { width: 100%; height: auto; border-radius: 3px 8px 8px 3px; box-shadow: inset 6px 0 0 rgba(0,0,0,.18), 0 14px 24px -12px rgba(0,0,0,.45); background: var(--paper-2); }
.buy { margin-top: 14px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; }
.buy span { color: var(--ink-muted); margin-right: 2px; }
.buy a { text-decoration: none; font-weight: 600; color: var(--teal); border: 1px solid rgba(200,167,93,.7); border-radius: 999px; padding: 5px 13px; transition: background .2s ease, color .2s ease; }
.buy a:hover, .buy a:focus-visible { background: var(--teal); color: var(--gold-light); }
.buy-note { font-size: .85rem; color: var(--ink-muted); margin: -12px 0 28px; }

/* selezione: regole */
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rules li { position: relative; background: var(--white); border: 1px solid var(--line-light); border-radius: 14px; padding: 18px 20px 18px 56px; color: var(--ink-muted); }
.rules li strong { color: var(--ink); }
.rules li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a75d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* chi sono: seconda foto */
.photo-second { margin: 22px 0 0; width: 62%; margin-left: auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 4px solid var(--white); transform: translateY(-64px); margin-bottom: -64px; position: relative; }
.photo-second img { width: 100%; height: auto; display: block; }

/* download */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.download { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1px solid var(--line-light); border-radius: 16px; padding: 20px 22px; text-decoration: none; color: var(--ink); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.download:hover, .download:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(200,167,93,.6); }
.download__icon { flex: none; width: 52px; height: 60px; border-radius: 6px 14px 6px 6px; background: var(--teal); color: var(--gold); display: grid; place-items: center; font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.download strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; }
.download small { display: block; color: var(--ink-muted); font-size: .86rem; margin-top: 2px; }
.download-note { margin-top: 26px; font-size: .9rem; color: var(--ink-muted); }

@media (max-width: 1024px) {
  .logo-wall li { width: 140px; }
}
@media (max-width: 760px) {
  .downloads { grid-template-columns: 1fr; }
  .clients__featured { gap: 10px; margin-bottom: 14px; }
  .client-feature { padding: 16px 10px 12px; gap: 8px; border-radius: 14px; }
  .client-feature__name { font-size: .78rem; text-align: center; }
  .client-feature img { height: 40px; }
  .logo-wall { gap: 8px; }
  .logo-wall li { width: calc((100% - 16px) / 3); height: 60px; padding: 8px 10px; }
  .logo-wall img { max-height: 32px; }
  .photo-second { width: 70%; }
}
@media (max-width: 760px) { .logo-wall__round img { max-height: 44px; } }

/* letture: schede di lettura in PDF */
.article__actions { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.article .article__actions .card__link { margin: 0; padding: 0; }
.article__pdf { display: inline-block; text-decoration: none; font-weight: 600; font-size: .86rem; color: var(--teal); border: 1px solid rgba(200,167,93,.7); border-radius: 999px; padding: 6px 14px; transition: background .2s ease, color .2s ease; }
.article__pdf:hover, .article__pdf:focus-visible { background: var(--teal); color: var(--gold-light); }

/* letture: immagini degli articoli */
.article__img { margin: -8px -8px 20px; position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.article__img img { display: block; width: 100%; height: 170px; object-fit: cover; transition: transform .6s ease; }
.article:hover .article__img img { transform: scale(1.04); }
.article__img figcaption { position: absolute; right: 8px; bottom: 8px; font-size: .66rem; line-height: 1.3; color: #fff; background: rgba(20,32,36,.62); padding: 3px 8px; border-radius: 999px; max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.article__img figcaption a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .article__img img { height: 150px; } }

/* check-up gratuito */
.quiz__progress { position: sticky; top: 76px; z-index: 5; display: flex; align-items: center; gap: 14px; background: var(--paper); padding: 12px 0; margin-bottom: 18px; font-size: .88rem; color: var(--ink-muted); }
.quiz__bar { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; transition: width .3s ease; }
.quiz__area { border: 0; padding: 0; margin: 0 0 36px; }
.quiz__area legend { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); padding: 0; margin-bottom: 4px; }
.quiz__area legend .eyebrow { display: block; font-family: var(--font-body); margin-bottom: 4px; }
.quiz__hint { color: var(--ink-muted); margin: 0 0 18px; }
.q { background: var(--white); border: 1px solid var(--line-light); border-radius: 16px; padding: 20px 22px; margin-bottom: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.q:has(input:checked) { border-color: rgba(200,167,93,.6); }
.q--missing { border-color: #b4553c; box-shadow: 0 0 0 3px rgba(180,85,60,.12); }
.q__text { margin: 0 0 14px; font-weight: 500; line-height: 1.5; }
.q__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.q__opts label { position: relative; cursor: pointer; }
.q__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q__opts span { display: inline-block; min-width: 92px; text-align: center; padding: 8px 18px; border: 1px solid var(--line-light); border-radius: 999px; font-size: .92rem; font-weight: 500; background: var(--paper); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.q__opts label:hover span { border-color: var(--gold); }
.q__opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.q__opts input:checked + span { background: var(--teal); color: var(--gold-light); border-color: var(--teal); }
.quiz__error { color: #b4553c; font-weight: 500; }
.quiz__privacy { margin-top: 14px; font-size: .86rem; color: var(--ink-muted); }
.result { outline: none; }
.result h2 { margin-bottom: 26px; }
.result__areas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.result__area { background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.result__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.result__head h3 { font-size: 1.3rem; }
.result__badge { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.result__badge--0 { background: rgba(180,85,60,.14); color: #8f3f2a; }
.result__badge--1 { background: rgba(200,167,93,.25); color: #6f5420; }
.result__badge--2 { background: rgba(34,53,59,.12); color: var(--teal); }
.result__meter { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.result__meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 999px; transition: width .8s ease; }
.result__score { margin: 8px 0 10px; font-size: .86rem; color: var(--ink-muted); }
.result__text { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.result__subtitle { font-size: 1.35rem; margin-bottom: 14px; }
.result__tips { padding-left: 22px; margin: 0 0 22px; }
.result__tips li { margin-bottom: 12px; color: var(--ink-muted); }
.result__tips strong { color: var(--ink); }
.result__tips a { color: #8c6d2c; font-weight: 600; text-decoration: none; white-space: nowrap; }
.result__note { font-size: .84rem; color: var(--ink-muted); border-top: 1px dashed var(--line-light); padding-top: 14px; }
#report .form { margin-top: 26px; }
.checkup-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--teal); color: var(--on-dark); border-radius: 22px; padding: 44px; }
.checkup-band h2 { color: var(--on-dark); margin-bottom: 12px; }
.checkup-band p { color: var(--on-dark-muted); margin: 0; }
.checkup-band ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.checkup-band li { padding-left: 26px; position: relative; color: var(--on-dark); }
.checkup-band li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); }
@media (max-width: 760px) {
  .quiz__progress { top: 64px; }
  .result__areas, .checkup-band { grid-template-columns: 1fr; }
  .checkup-band { padding: 30px 22px; gap: 22px; }
  .q { padding: 16px; }
  .q__opts span { min-width: 0; padding: 8px 14px; }
}

/* ==========================================================
   RESTYLING 2026 — più contrasto, titoli d'impatto, menu nuovo
   (ispirazione: grandi titoli condensati e un colore-segnale)
   ========================================================== */
@font-face { font-family: "Anton"; src: url("fonts/anton.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --teal: #14272c;
  --teal-deep: #0b181b;
  --teal-soft: #1c353c;
  --gold: #d4b062;
  --gold-light: #ecd08a;
  --signal: #f3cd5a;
  --paper: #f6f3ec;
  --font-impact: "Anton", Impact, "Arial Narrow", sans-serif;
  --nav-h: 76px;
}
html.menu-open { overflow: hidden; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
.eyebrow { letter-spacing: .22em; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: currentColor; vertical-align: middle; margin: -3px 10px 0 0; }
.section__head--center .eyebrow::before { display: none; }

/* bottoni */
.btn { padding: 15px 28px; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(212,176,98,.75); }
.btn:hover { box-shadow: 0 18px 36px -14px rgba(212,176,98,.9); }
.btn--ghost, .btn--outline, .btn--small { box-shadow: none; }
.btn--ghost:hover, .btn--outline:hover { box-shadow: none; }

/* menu (desktop) */
.nav { background: rgba(11, 24, 27, .92); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid rgba(212,176,98,.18); }
.nav__links { gap: 26px; }
.nav__links a:not(.btn) { position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { box-shadow: none; padding-bottom: 6px; color: var(--on-dark); }
.nav__extra { display: none; }

/* menu (tablet e telefono): pannello laterale a schermo intero */
@media (max-width: 1100px) {
  .nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 46px; height: 46px; order: 3; margin-right: -8px; position: relative; z-index: 62; border-radius: 12px; border: 1px solid rgba(212,176,98,.35); }
  .nav__toggle span { margin: 0; width: 22px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s ease; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav__inner > nav { order: 2; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(430px, 100%); height: 100vh; height: 100dvh; max-height: none;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 104px 28px 32px;
    background: radial-gradient(80% 50% at 100% 0%, rgba(212,176,98,.18), transparent 70%), var(--teal-deep);
    border: 0; box-shadow: -40px 0 80px -30px rgba(0,0,0,.7);
    transform: none; opacity: 1; visibility: hidden; clip-path: inset(0 0 0 100%); pointer-events: none; transition: clip-path .4s cubic-bezier(.2,.8,.2,1), visibility 0s linear .4s;
    overflow-y: auto; z-index: 61; counter-reset: nav;
  }
  .nav.is-open .nav__links { visibility: visible; clip-path: inset(0 0 0 0); pointer-events: auto; transition: clip-path .4s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .nav::after { content: ""; position: fixed; inset: 0; background: rgba(4, 10, 12, .6); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 60; }
  .nav.is-open::after { opacity: 1; pointer-events: auto; }
  .nav__links li { width: 100%; }
  .nav__links li:not(.nav__extra) a:not(.btn) { display: flex; align-items: baseline; gap: 16px; padding: 15px 0; font-family: var(--font-display); font-size: 1.65rem; line-height: 1.2; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
  .nav__links li:not(.nav__extra) a:not(.btn)::before { counter-increment: nav; content: counter(nav, decimal-leading-zero); font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links a[aria-current="page"]:not(.btn) { color: var(--gold-light); }
  .nav__links .btn { margin-top: 26px; width: 100%; padding: 17px; font-size: 1.02rem; }
  .nav.is-open .nav__links li { animation: navIn .45s both cubic-bezier(.2,.8,.2,1); }
  .nav.is-open .nav__links li:nth-child(2) { animation-delay: .04s; } .nav.is-open .nav__links li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__links li:nth-child(4) { animation-delay: .12s; } .nav.is-open .nav__links li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__links li:nth-child(6) { animation-delay: .2s; } .nav.is-open .nav__links li:nth-child(7) { animation-delay: .24s; }
  .nav.is-open .nav__links li:nth-child(8) { animation-delay: .28s; } .nav.is-open .nav__links li:nth-child(9) { animation-delay: .32s; }
  .nav__extra { display: block; margin-top: auto; padding-top: 30px; }
  .nav__extra p { margin: 0 0 12px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  .nav__links .nav__extra a { display: inline-flex; align-items: center; margin: 0 8px 8px 0; padding: 9px 16px; border: 1px solid rgba(212,176,98,.4); border-radius: 999px; font-size: .9rem; color: var(--on-dark); }
  .nav__links .nav__extra a:hover { background: rgba(212,176,98,.12); }
}
@keyframes navIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { :root { --nav-h: 68px; } .nav__inner { height: 68px; } }

/* hero della home */
.hero { background: radial-gradient(55% 70% at 82% 35%, rgba(212,176,98,.2), transparent 62%), radial-gradient(40% 40% at 0% 100%, rgba(212,176,98,.08), transparent 70%), linear-gradient(180deg, #0b181b 0%, #14272c 100%); padding: 104px 0 116px; }
.hero::before { opacity: .5; }
.hero__name { font-family: var(--font-impact); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .88; font-size: clamp(4rem, 10.5vw, 8.6rem); margin-bottom: 1.1rem; }
.hero__name span { display: block; }
.hero__name span + span { color: transparent; -webkit-text-stroke: 2px var(--gold); }
.hero__role { font-size: clamp(1.45rem, 2.8vw, 2.05rem); color: var(--gold-light); }
.hero__photo { max-width: 470px; }
.hero__photo::before { content: ""; position: absolute; inset: 12% -10% -6% -10%; background: radial-gradient(closest-side, rgba(212,176,98,.35), transparent); filter: blur(30px); z-index: -1; }
.hero__photo img { border: 2px solid rgba(212,176,98,.7); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }

/* nastro scorrevole delle competenze */
.roles { overflow: hidden; background: var(--gold); color: var(--teal-deep); border: 0; }
.roles .ticker { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.roles:hover .ticker { animation-play-state: paused; }
.roles .ticker ul { display: flex; flex-wrap: nowrap; gap: 0; padding: 15px 0; margin: 0; list-style: none; font-size: inherit; }
.roles .ticker li { font-family: var(--font-impact); text-transform: uppercase; font-size: 1.12rem; letter-spacing: .05em; white-space: nowrap; padding: 0 22px; display: flex; align-items: center; }
.roles .ticker li::before { content: ""; display: inline-block !important; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-deep); margin: 0 22px 0 0; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .roles .ticker { animation: none; } }

/* numeri */
.stats { background: var(--teal-deep); color: var(--on-dark); padding: 56px 0; border-bottom: 1px solid rgba(212,176,98,.15); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-left: 2px solid rgba(212,176,98,.5); padding-left: 20px; text-decoration: none; color: inherit; }
.stat strong { display: block; font-family: var(--font-impact); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: var(--signal); margin-bottom: 8px; }
.stat span { display: block; font-size: .92rem; color: var(--on-dark-muted); line-height: 1.5; }
a.stat:hover strong { color: var(--gold-light); }
@media (max-width: 900px) { .stats__grid { grid-template-columns: 1fr 1fr; } }

/* intestazioni delle pagine interne */
.page-hero { background: radial-gradient(50% 90% at 92% 0%, rgba(212,176,98,.2), transparent 65%), linear-gradient(180deg, #0b181b 0%, #14272c 100%); padding: 96px 0 88px; }
.page-hero h1 { font-size: clamp(2.8rem, 6.8vw, 5rem); letter-spacing: -0.025em; }
.page-hero .lead { font-size: 1.2rem; }

/* sezioni scure e carte */
.dark { background: var(--teal); }
.cta { background: radial-gradient(60% 120% at 50% 0%, rgba(212,176,98,.18), transparent 70%), var(--teal-deep); }
.cta h2 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 26px 50px -24px rgba(11,24,27,.45); }
.pillar { position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--signal)); }
.footer { background: #08130f; background: #091416; }

/* filtri di Libri e Letture */
.filters { position: sticky; top: var(--nav-h); z-index: 20; background: var(--paper); padding: 14px 0; margin-bottom: 26px; border-bottom: 1px solid var(--line-light); }
.filter { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 500; }
.filter__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper-2); color: var(--ink-muted); font-size: .74rem; font-weight: 600; }
.filter[aria-pressed="true"] .filter__count { background: var(--gold); color: var(--teal-deep); }
.filter-result { font-size: .9rem; color: var(--ink-muted); margin: -8px 0 22px; }
[data-filtering] > [data-topic] { transition: opacity .25s ease, transform .25s ease; }
[data-filtering="out"] > [data-topic] { opacity: 0; transform: translateY(10px); }
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 12px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .hero__name { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .hero__name span + span { -webkit-text-stroke: 1.5px var(--gold); }
  .stats { padding: 40px 0; }
  .stats__grid { gap: 22px 16px; }
  .stat { padding-left: 14px; }
  .roles .ticker li { font-size: .98rem; padding: 0 16px; }
  .roles .ticker li::before { margin-right: 16px; }
  .page-hero { padding: 68px 0 60px; }
}

/* guida in regalo */
.gift { background: radial-gradient(60% 80% at 0% 50%, rgba(212,176,98,.22), transparent 65%), var(--teal-deep); color: var(--on-dark); overflow: hidden; }
.gift .eyebrow { color: var(--signal); }
.gift h2 { color: var(--on-dark); font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
.gift .lead { color: var(--on-dark-muted); }
.gift__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.gift__cover { display: block; max-width: 360px; justify-self: center; transform: rotate(-3deg); transition: transform .4s ease; border-radius: 6px; box-shadow: 0 40px 70px -25px rgba(0,0,0,.85), 0 0 0 1px rgba(212,176,98,.35); }
.gift__cover:hover { transform: rotate(0) translateY(-6px); }
.gift__cover img { border-radius: 6px; }
.gift__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.gift__list li { position: relative; padding-left: 30px; color: var(--on-dark-muted); }
.gift__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b181b' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.gift__list strong { color: var(--on-dark); }
.gift__note { margin: 14px 0 0; font-size: .86rem; color: var(--on-dark-muted); }
@media (max-width: 900px) { .gift__grid { grid-template-columns: 1fr; gap: 40px; } .gift__cover { max-width: 240px; } }

/* ==========================================================
   HOME v3 — figura scontornata, titolo editoriale, più luce
   ========================================================== */
.cutout { display: block; width: 100%; height: auto;
  -webkit-mask: url("img/dawit-abraha-mask.png") center / 100% 100% no-repeat;
          mask: url("img/dawit-abraha-mask.png") center / 100% 100% no-repeat; }

.hero--v3 { padding: 0; background:
    radial-gradient(46% 62% at 76% 58%, rgba(212,176,98,.20), transparent 68%),
    radial-gradient(40% 50% at 8% 0%, rgba(110,160,170,.10), transparent 70%),
    linear-gradient(180deg, #0a1619 0%, #0f2227 100%); }
.hero--v3::before { display: none; }
.hero--v3 .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.hero__copy { padding: 84px 0 76px; align-self: center; position: relative; z-index: 2; }
.hero--v3 h1.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 1.7rem; color: #f4f0e6; }
.hero--v3 h1.hero__title em { display: block; font-style: italic; color: var(--gold-light); }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); line-height: 1.5; margin-bottom: 1.6rem; }
.hero__kicker::before { content: ""; flex: none; width: 34px; height: 1px; background: var(--gold); }
.hero__kicker b { font-weight: 600; color: #f4f0e6; }
.hero--v3 .lead { font-size: 1.12rem; max-width: 48ch; margin-bottom: 1rem; color: #b4c1c0; }
.hero--v3 .hero__cta { margin-top: 2rem; }
.hero__facts { list-style: none; padding: 26px 0 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; max-width: 560px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: var(--on-dark-muted); line-height: 1.45; }
.hero__facts strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: #f4f0e6; margin-bottom: 2px; }
.hero__figure { position: relative; margin: 0 0 0 -24%; width: 124%; max-width: 600px; justify-self: end; align-self: end; }
.hero__figure::before { content: ""; position: absolute; inset: 14% -4% 0 -4%; background: radial-gradient(closest-side, rgba(212,176,98,.30), transparent 72%); filter: blur(28px); }
.hero__ring { position: absolute; left: -7%; top: -2%; width: 114%; height: auto; overflow: visible; }
.hero__ring path { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: .75; }
.hero__ring circle { fill: var(--gold-light); }
.hero__figure .cutout { position: relative; }

/* nastro delle competenze: più sobrio */
.roles .ticker ul { padding: 13px 0; }
.roles .ticker li { font-family: var(--font-body); font-weight: 700; font-size: .76rem; letter-spacing: .22em; padding: 0 20px; }
.roles .ticker li::before { width: 5px; height: 5px; margin-right: 20px; transform: rotate(45deg); border-radius: 0; }

/* manifesto */
.manifesto { position: relative; overflow: hidden; padding: 104px 0; text-align: center; background:
    radial-gradient(50% 90% at 50% 100%, rgba(212,176,98,.34), transparent 70%),
    linear-gradient(180deg, #f6f3ec 0%, #f1e8d2 100%); }
.manifesto__kicker { font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #8c6d2c; margin: 0 0 22px; }
.manifesto__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 9.4vw, 7.6rem); line-height: .98; letter-spacing: -0.04em; color: var(--teal); margin: 0 0 30px; }
.manifesto__text em { display: block; font-style: italic; color: #a8842f; }
.manifesto p.manifesto__sub { max-width: 58ch; margin: 0 auto 26px; font-size: 1.12rem; color: var(--ink-muted); }
.manifesto cite { display: block; font-style: normal; font-size: .86rem; letter-spacing: .04em; color: var(--ink-muted); margin-bottom: 28px; }

/* ritratti */
.portrait--cutout { background: radial-gradient(70% 60% at 50% 40%, #fbf6e9, #eadfc4); border-radius: 24px; padding: 34px 20px 0; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.portrait--cutout .hero__ring { left: 4%; top: 4%; width: 92%; }
.portrait--cutout .hero__ring path { stroke: #b8923f; opacity: .7; }
.portrait--cutout .hero__ring circle { fill: #b8923f; }
.portrait--cutout img.cutout { aspect-ratio: auto; position: relative; }
.photo-second figcaption, .portrait figcaption { font-size: .8rem; color: var(--ink-muted); background: var(--white); padding: 8px 12px; line-height: 1.4; }
.portrait--frame { position: relative; overflow: visible; box-shadow: none; border-radius: 0; }
.portrait--frame img { border-radius: 20px; box-shadow: var(--shadow); position: relative; }
.portrait--frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(184,146,63,.6); border-radius: 20px; }

/* guida in regalo: versione luminosa */
.gift { background: radial-gradient(60% 90% at 18% 50%, rgba(255,255,255,.9), transparent 62%), radial-gradient(50% 80% at 100% 0%, rgba(212,176,98,.35), transparent 70%), linear-gradient(135deg, #f8f3e6 0%, #efe2c2 100%); color: var(--ink); }
.gift .eyebrow { color: #8c6d2c; }
.gift h2 { color: var(--teal); }
.gift .lead, .gift__list li, .gift__note { color: var(--ink-muted); }
.gift__list strong { color: var(--ink); }
.gift__cover { box-shadow: 0 40px 70px -28px rgba(60,45,10,.55), 0 0 0 1px rgba(184,146,63,.35); }

/* barra di avanzamento della lettura */
.progress { position: fixed; left: 0; top: 0; z-index: 70; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--signal)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* barra dei contatti rapidi (telefono) */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; background: rgba(11,24,27,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(212,176,98,.35); border-radius: 16px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .35s ease; overflow: hidden; }
  .quickbar.is-on { transform: none; }
  html.menu-open .quickbar { transform: translateY(140%); }
  .quickbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark); text-decoration: none; }
  .quickbar a + a { border-left: 1px solid rgba(255,255,255,.1); }
  .quickbar svg { width: 20px; height: 20px; color: var(--gold); }
  .quickbar a.is-main { background: var(--gold); color: var(--teal-deep); }
  .quickbar a.is-main svg { color: var(--teal-deep); }
  .footer { padding-bottom: 84px; }
}

@media (max-width: 900px) {
  .hero--v3 .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding: 64px 0 34px; }
  .hero__figure { max-width: 440px; width: 100%; margin: 0; justify-self: center; }
}
@media (max-width: 760px) {
  .hero--v3 h1.hero__title { font-size: clamp(2.3rem, 10.4vw, 3.2rem); }
  .hero__kicker { font-size: .68rem; letter-spacing: .2em; gap: 10px; }
  .hero__kicker::before { width: 22px; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .hero__facts li { display: grid; grid-template-columns: 9.2em 1fr; align-items: baseline; gap: 10px; }
  .hero__facts strong { margin: 0; font-size: 1rem; }
  .hero__figure { max-width: 84%; }
  .manifesto { padding: 72px 0; }
  .portrait--frame::before { inset: 12px -10px -12px 10px; }
}
.gift__cover.reveal.is-visible { transform: rotate(-3deg); }
.gift__cover.reveal.is-visible:hover { transform: rotate(0) translateY(-6px); }

/* HERO FIT: hero + striscia competenze entrano sempre nella prima schermata (computer) */
@media (min-width: 901px) {
  .hero--v3 { min-height: calc(100vh - var(--nav-h) - 50px); min-height: calc(100svh - var(--nav-h) - 50px); display: flex; align-items: stretch; }
  .hero--v3 .hero__grid { width: 100%; }
  .hero__copy { padding: clamp(24px, 5.5vh, 72px) 0 clamp(24px, 5.5vh, 60px); }
  .hero--v3 h1.hero__title { font-size: clamp(2.3rem, min(5.5vw, 8.6vh), 4.4rem); margin-bottom: clamp(.8rem, 2.2vh, 1.7rem); }
  .hero__kicker { margin-bottom: clamp(.8rem, 2vh, 1.6rem); }
  .hero--v3 .lead { font-size: clamp(.98rem, 2.05vh, 1.12rem); margin-bottom: .7rem; line-height: 1.6; }
  .hero--v3 .hero__cta { margin-top: clamp(.9rem, 2.6vh, 2rem); }
  .hero__facts { margin-top: clamp(18px, 4vh, 44px); padding-top: clamp(12px, 2.6vh, 26px); }
  .hero__figure { margin: 0; width: min(124%, calc((100vh - var(--nav-h) - 50px) * 0.88)); width: min(124%, calc((100svh - var(--nav-h) - 50px) * 0.88)); }
}

/* INNER PAGES v3: stesso linguaggio della home */
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero::after { content: ""; position: absolute; top: 50%; width: 360px; height: 360px; border: 1px solid rgba(212,176,98,.4); border-radius: 50%; background: radial-gradient(closest-side, rgba(212,176,98,.16), rgba(212,176,98,0) 72%); box-shadow: inset 0 0 0 28px rgba(212,176,98,.03); transform: translateY(-50%); right: calc(max(0px, (100vw - 1180px) / 2) - 70px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.roles--page .ticker { animation-duration: 55s; }
.roles--page + .section, .roles--page + .section--tight { padding-top: 88px; }
.page-hero--fig { min-height: 420px; display: flex; align-items: center; }
.page-hero--fig::after { display: none; }
.page-hero--fig .container { width: 100%; }
.page-hero--fig .lead { max-width: 50ch; }
.page-hero__fig { position: absolute; right: calc(max(0px, (100vw - 1180px) / 2) + 28px); bottom: 0; width: 330px; margin: 0; z-index: 1; }
.page-hero__fig::before { content: ""; position: absolute; inset: 18% -6% 0 -6%; background: radial-gradient(closest-side, rgba(212,176,98,.30), transparent 72%); filter: blur(24px); }
.page-hero__fig .hero__ring { left: -12%; top: -6%; width: 124%; }
.page-hero__fig .cutout { position: relative; }
@media (max-width: 900px) {
  .page-hero::after, .page-hero__fig { display: none; }
  .page-hero--fig { min-height: 0; display: block; }
  .roles--page + .section, .roles--page + .section--tight { padding-top: 64px; }
}

/* INNER PAGES v4: ogni sezione ha il suo hero */
.page-hero::after { display: none !important; }
.page-hero--side .container { min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.page-hero--side h1 { font-size: clamp(2.5rem, 4.2vw, 3.6rem); }
@media (min-width: 1181px) { .page-hero--side .container > :not(.page-hero__side) { max-width: 640px; } }
.page-hero__side { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); z-index: 2; margin: 0; }
@media (max-width: 1180px) { .page-hero__side { display: none; } .page-hero--side .container { min-height: 0; display: block; } }

/* hero chiaro */
.page-hero--light { background: radial-gradient(55% 95% at 88% 15%, rgba(212,176,98,.36), transparent 66%), linear-gradient(180deg, #fcf7ea 0%, #f4e8c8 100%); color: var(--ink); border-bottom: 1px solid rgba(184,146,63,.3); }
.page-hero--light::before { display: none; }
.page-hero--light h1 { color: var(--teal); }
.page-hero--light h1 em { color: #a8842f; }
.page-hero--light .lead { color: #4c5d61; }
.page-hero--light .lead strong { color: var(--ink); }
.page-hero--light .eyebrow { color: #8c6d2c; }
.page-hero--light .crumbs, .page-hero--light .crumbs a { color: #6a797c; }
.page-hero--light .btn--ghost { color: var(--teal); border-color: rgba(20,39,44,.3); }
.page-hero--light .btn--ghost:hover { background: rgba(255,255,255,.7); border-color: var(--gold); }

/* Chi sono: ritratto in un arco dorato */
.page-hero--fig { min-height: 430px; display: flex; align-items: center; }
.page-hero__fig--light { width: 340px; right: calc(max(0px, (100vw - 1180px) / 2) + 40px); }
.page-hero__fig--light::before { inset: auto 7% 0 7%; height: 84%; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #ffffff 0%, #f3e3b4 55%, #e7cf8e 100%); filter: none; box-shadow: 0 30px 60px -30px rgba(120,90,20,.5); }

/* Servizi: indice delle tre aree */
.hero-index { width: 390px; background: var(--teal); border: 1px solid rgba(212,176,98,.45); border-radius: 22px; padding: 8px; box-shadow: 0 34px 60px -30px rgba(11,24,27,.6); }
.hero-index a { display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; gap: 12px; padding: 16px 16px; color: #eeeae0; text-decoration: none; border-radius: 15px; transition: background .2s ease; }
.hero-index a + a { border-top: 1px solid rgba(255,255,255,.09); }
.hero-index a:hover { background: rgba(212,176,98,.14); }
.hero-index a::after { content: "\2192"; color: var(--gold); font-size: 1.1rem; }
.hero-index b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.7rem; color: var(--gold); line-height: 1; }
.hero-index span { font-weight: 600; line-height: 1.3; }
.hero-index small { display: block; margin-top: 2px; font-weight: 400; font-size: .8rem; color: #a7b5b5; }

/* Selezione: i ruoli seguiti */
.role-board { width: 400px; padding: 26px 28px 24px; border-radius: 22px; border: 1px solid rgba(212,176,98,.5); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 34px 60px -30px rgba(0,0,0,.7); }
.role-board > p { margin: 0 0 14px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.role-board b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: #f4f0e6; margin: 14px 0 6px; }
.role-board ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.role-board li { position: relative; padding-left: 18px; font-size: .88rem; color: #b4c1c0; line-height: 1.4; }
.role-board li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Letture: collage di articoli */
.collage { width: 480px; height: 300px; }
.collage figure { position: absolute; margin: 0; width: 196px; border: 5px solid #fff; border-radius: 11px; overflow: hidden; background: #fff; box-shadow: 0 22px 36px -16px rgba(70,50,10,.55); }
.collage img { display: block; width: 100%; height: 118px; object-fit: cover; }
.collage figure:nth-child(1) { left: 0; top: 14px; transform: rotate(-6deg); }
.collage figure:nth-child(2) { left: 142px; top: 0; transform: rotate(3deg); z-index: 2; }
.collage figure:nth-child(3) { right: 0; top: 22px; transform: rotate(-3deg); }
.collage figure:nth-child(4) { left: 14px; bottom: 6px; transform: rotate(3deg); z-index: 2; }
.collage figure:nth-child(5) { left: 160px; bottom: 0; transform: rotate(-4deg); z-index: 3; }
.collage figure:nth-child(6) { right: 4px; bottom: 14px; transform: rotate(5deg); z-index: 2; }
/* Libri: ventaglio di copertine */
.fan { width: 470px; height: 290px; }
.fan img { position: absolute; bottom: 0; width: 132px; height: auto; border-radius: 3px 7px 7px 3px; box-shadow: 0 24px 38px -14px rgba(0,0,0,.75); }
.fan img:nth-child(1) { left: 0; transform: rotate(-11deg) translateY(12px); }
.fan img:nth-child(2) { left: 88px; transform: rotate(-5.5deg) translateY(4px); }
.fan img:nth-child(3) { left: 178px; width: 142px; z-index: 3; }
.fan img:nth-child(4) { left: 268px; transform: rotate(5.5deg) translateY(4px); }
.fan img:nth-child(5) { left: 346px; transform: rotate(11deg) translateY(12px); }

/* Contatti: ritratto tondo */
.avatar-big { width: 300px; height: 300px; border-radius: 50%; overflow: hidden; background: radial-gradient(70% 70% at 50% 32%, #ffffff, #ecd9a0); border: 2px solid var(--gold); box-shadow: 0 34px 60px -30px rgba(120,90,20,.55); }
.avatar-big img { position: absolute; width: 118%; max-width: none; left: -9%; top: 9%; }

/* Check-up: come funziona */
.steps-card { list-style: none; padding: 10px; width: 380px; border-radius: 22px; background: #fffaf0; border: 1px solid rgba(212,176,98,.6); box-shadow: 0 34px 60px -30px rgba(0,0,0,.65); }
.steps-card li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 15px 14px; color: var(--ink); }
.steps-card li + li { border-top: 1px solid rgba(184,146,63,.25); }
.steps-card b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--gold-light); font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.steps-card span { font-weight: 600; line-height: 1.3; }
.steps-card small { display: block; margin-top: 2px; font-weight: 400; font-size: .82rem; color: var(--ink-muted); }

/* riviste */
.mags { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mag { position: relative; background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; padding: 28px 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease; }
.mag::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--signal)); border-radius: 0 0 3px 3px; }
.mag:hover { transform: translateY(-4px); border-color: var(--gold); }
.mag__tag { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8c6d2c; margin-bottom: 10px; }
.mag h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 10px; color: var(--teal); }
.mag p { color: var(--ink-muted); font-size: .95rem; margin: 0 0 14px; }
.mag .mag__links { margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mag__links a { color: #8c6d2c; font-weight: 600; font-size: .9rem; text-decoration: none; border-bottom: 1px solid currentColor; }
.mag__links a:hover { color: var(--teal); }
@media (max-width: 1024px) { .mags { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mags { grid-template-columns: 1fr; } }

/* SIPARIO */
.intro { display: none; }
.has-intro, .has-intro body { overflow: hidden; }
.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 9999; overflow: hidden; background: #050e08; animation: introOut 1s 6.4s ease forwards; }
/* palcoscenico dietro le tende */
.intro__stage { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(50% 55% at 50% 48%, rgba(240,205,120,.28) 0%, rgba(240,205,120,0) 70%), radial-gradient(80% 80% at 50% 30%, #123421 0%, #09190f 60%, #050e08 100%); }
.intro__people { margin: 0; padding: 0 18px; text-align: center; text-wrap: balance; font-family: var(--font-display); font-weight: 500; font-size: clamp(3.4rem, 15vw, 13rem); line-height: 1; letter-spacing: -.035em; color: #fbf3df; opacity: 0; text-shadow: 0 4px 40px rgba(0,0,0,.55); animation: introPeople 2.7s 3.4s ease forwards; }
.intro__people em { color: #f0cd78; font-style: italic; }
/* due tende di velluto verde scuro che si aprono ai lati */
.intro__curtain { position: absolute; top: 0; bottom: 0; width: 50.4%; z-index: 2; box-shadow: 0 0 60px rgba(0,0,0,.6);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.55) 0, rgba(0,0,0,.2) 2.2vw, rgba(255,255,255,.11) 4.6vw, rgba(0,0,0,.22) 6.6vw, rgba(0,0,0,.55) 9vw) 0 0 / 100vw 100% no-repeat,
    linear-gradient(180deg, #226139 0%, #195031 45%, #0e3320 100%); }
.intro__curtain--l { left: 0; animation: introL 2s 2.6s cubic-bezier(.7,0,.2,1) forwards; }
.intro__curtain--r { right: 0; background-position: -49.6vw 0, 0 0; animation: introR 2s 2.6s cubic-bezier(.7,0,.2,1) forwards; }
/* frangia dorata in fondo */
.intro__curtain::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(180deg, #f0cd78 0, #c79a3c 55%, #8f6a22 100%); box-shadow: 0 -4px 14px rgba(0,0,0,.4);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px, #000 9px 16px, transparent 16px 18px); mask: repeating-linear-gradient(90deg, #000 0 7px, transparent 7px 9px, #000 9px 16px, transparent 16px 18px); }
/* mantovana in alto */
.intro__valance { position: absolute; left: 0; right: 0; top: 0; height: 11vh; min-height: 56px; z-index: 3; border-bottom: 6px solid #d9b04e; box-shadow: 0 10px 34px rgba(0,0,0,.55);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.5) 0, rgba(0,0,0,.14) 2.6vw, rgba(255,255,255,.12) 5vw, rgba(0,0,0,.5) 8vw),
    linear-gradient(180deg, #2b6e45, #0f3a22); }
.intro__valance::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 8px; background: repeating-linear-gradient(90deg, #d9b04e 0 10px, transparent 10px 16px); opacity: .9; }
.intro__lead { position: absolute; inset: 0; z-index: 4; margin: 0; padding: 0 16px; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(2.6rem, 11.5vw, 10.5rem); line-height: 1.05; letter-spacing: -.025em; color: #f6d98a; text-shadow: 0 3px 28px rgba(0,0,0,.7), 0 1px 2px rgba(0,0,0,.6); opacity: 0; pointer-events: none; animation: introLead 2.7s .3s ease forwards; }
.intro__skip { position: absolute; right: 18px; bottom: 18px; z-index: 5; font: 600 .8rem/1 var(--font-body); letter-spacing: .06em; color: #f3e6c4; background: rgba(5,18,10,.65); border: 1px solid rgba(240,205,120,.6); border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: color .2s, border-color .2s; }
.intro__skip:hover { color: #fff; border-color: #f0cd78; }
@keyframes introLead { 0% { opacity: 0; transform: translateY(10px); } 14%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes introL { to { transform: translateX(-102%); } }
@keyframes introR { to { transform: translateX(102%); } }
@keyframes introPeople { 0% { opacity: 0; transform: scale(.92); } 26%, 74% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.03); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .has-intro .intro { display: none; } }

/* loghi: 7 per riga su schermi larghi, 3 su telefono */
.logo-wall__biz img { width: 96px; max-width: 100%; max-height: 40px; height: auto; }
.logo-wall__sport img { height: 52px; width: auto; max-width: 100%; max-height: none; object-fit: contain; }
@media (min-width: 1100px) {
  .logo-wall { max-width: 1000px; }
  .logo-wall li { width: 134px; padding: 12px 14px; }
}
@media (max-width: 640px) {
  .logo-wall__biz img { width: 78px; max-height: 36px; }
  .logo-wall__sport img { height: 40px; }
}

/* loghi cliccabili */
.logo-wall li a { display: grid; place-items: center; width: 100%; height: 100%; }
a.client-feature { text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
a.client-feature:hover { transform: translateY(-3px); border-color: var(--gold); }

/* moduli: stato invio */
.form__note { font-size: .86rem; color: var(--ink-muted); margin: 0 0 14px; line-height: 1.5; }
.form__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; line-height: 1.5; border: 1px solid var(--line-light); background: #fff; }
.form__status.is-ok { border-color: #3d8b5f; background: #eef7f1; color: #1f5a37; }
.form__status.is-error { border-color: #c4161c; background: #fdf1f1; color: #6b1014; }
.form__alt { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.form__alt a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--teal); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.form__alt a:hover { background: var(--teal-soft); }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* privacy */
.privacy h3 { margin-top: 2rem; }
.privacy ul { padding-left: 1.25rem; list-style: disc; margin: .6rem 0 1rem; }
.privacy li { margin-bottom: .55rem; }
.privacy .summary { background: var(--paper-2); border: 1px solid var(--line-light); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 22px; margin: 1.5rem 0 .5rem; }
.privacy .summary p { margin: 0 0 .4rem; }
.privacy .summary ul { margin: 0; }

/* coaching */
.prose p.coach-lead { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; font-style: italic; color: var(--teal); letter-spacing: -.01em; margin: 0 0 1.1rem; padding-left: 18px; border-left: 3px solid var(--gold); }
.coach-h { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 1.8rem 0 .9rem; color: var(--teal); }
.coach-steps { list-style: none; counter-reset: cs; padding: 0; margin: 0 0 .5rem; display: grid; gap: 12px; }
.coach-steps li { counter-increment: cs; position: relative; display: grid; gap: 3px; padding: 14px 18px 14px 64px; background: var(--white); border: 1px solid var(--line-light); border-radius: 14px; }
.coach-steps li::before { content: counter(cs); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--gold-light); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }
.coach-steps b { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--teal); }
.coach-steps span { color: var(--ink-muted); font-size: .96rem; line-height: 1.5; }
.coach-q { margin: 1.6rem 0; padding: 20px 22px; border-radius: 16px; color: var(--on-dark); background: radial-gradient(70% 120% at 100% 0%, rgba(200,167,93,.25), rgba(200,167,93,0) 70%), var(--teal); }
.prose .coach-q p.coach-q__t { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .5rem; }
.prose .coach-q p:last-child { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.45; margin: 0; color: #fff; }
.coach-note { font-size: .95rem; color: var(--ink-muted); }

/* HOME v5: problemi, strumenti, finestre a comparsa, menu a tendina */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-light); border-radius: 18px; padding: 26px 24px 22px; box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease; }
.problem:hover { transform: translateY(-4px); border-color: var(--gold); }
.problem__n { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: #8c6d2c; margin-bottom: 6px; }
.problem h3 { font-size: 1.32rem; line-height: 1.18; margin-bottom: 10px; color: var(--teal); }
.problem p { color: var(--ink-muted); font-size: .96rem; margin: 0 0 16px; }
.problem__btn { margin-top: auto; align-self: flex-start; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; font: 600 .92rem var(--font-body); color: #8c6d2c; cursor: pointer; }
.problem__btn:hover { color: var(--teal); }
.problems__coach { margin-top: 22px; display: grid; grid-template-columns: .9fr 1.4fr; gap: 28px; align-items: center; padding: 30px 34px; border-radius: 20px; color: var(--on-dark); background: radial-gradient(70% 140% at 100% 0%, rgba(200,167,93,.28), rgba(200,167,93,0) 70%), var(--teal); }
.problems__coach .eyebrow { color: var(--gold-light); }
.problems__coach h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.problems__coach p { color: var(--on-dark-muted); margin: 0 0 16px; }
.problems__coach strong { color: #fff; }

.tools__title { margin: 54px 0 20px; font-size: 1.5rem; color: var(--on-dark); }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool { padding: 24px 22px; border: 1px solid rgba(212,176,98,.28); border-radius: 18px; background: rgba(255,255,255,.04); }
.tool__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(212,176,98,.14); color: var(--gold-light); margin-bottom: 14px; }
.tool__ico svg { width: 24px; height: 24px; }
.tool h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.2; color: var(--on-dark); margin-bottom: 8px; }
.tool p { color: var(--on-dark-muted); font-size: .93rem; margin: 0; }

.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini { padding: 26px 26px 24px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-light); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mini h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--teal); }
.mini p:not(.eyebrow) { color: var(--ink-muted); font-size: .96rem; margin: 0 0 14px; }
.mini .link-arrow { margin-top: auto; }

.topics { list-style: none; padding: 0; margin: 0 auto 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; }
.topics a { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-light); color: var(--teal); text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .2s, transform .2s; }
.topics a:hover { border-color: var(--gold); transform: translateY(-2px); }
.topics__cta { text-align: center; }

/* finestre a comparsa */
html:has(dialog[open]) { overflow: hidden; }
dialog.pop { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; border: 0; border-radius: 22px; padding: 34px 34px 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
dialog.pop::backdrop { background: rgba(8,20,16,.68); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.pop[open] { animation: popIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.pop__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-light); background: var(--white); font-size: 1.6rem; line-height: 1; color: var(--teal); cursor: pointer; }
.pop__close:hover { border-color: var(--gold); }
dialog.pop h3 { font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.15; margin: 4px 40px 18px 0; color: var(--teal); }
dialog.pop h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8c6d2c; margin: 20px 0 8px; }
dialog.pop ul { padding-left: 1.15rem; margin: 0 0 6px; }
dialog.pop li { margin-bottom: 8px; color: var(--ink-muted); }
dialog.pop li strong { color: var(--ink); }
.pop__tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.pop__tools span { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line-light); font-size: .82rem; font-weight: 600; color: var(--teal); }
.pop__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 18px; }
.pop__links a { color: #8c6d2c; font-weight: 600; font-size: .92rem; border-bottom: 1px solid currentColor; text-decoration: none; }
.pop__links a:hover { color: var(--teal); }

/* menu a tendina (schermi larghi) */
@media (min-width: 1101px) {
  .nav__links .has-sub { position: relative; display: flex; align-items: center; gap: 4px; }
  .sub-btn { width: 18px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--on-dark-muted); display: grid; place-items: center; }
  .sub-btn::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
  .has-sub:hover > .sub-btn, .has-sub.is-open > .sub-btn { color: var(--on-dark); }
  .has-sub.is-open > .sub-btn::before { transform: rotate(225deg) translate(-1px, -1px); }
  .nav__sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 16px); left: -16px; min-width: 258px; background: rgba(11,24,27,.98); border: 1px solid rgba(212,176,98,.28); border-radius: 14px; box-shadow: 0 22px 50px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub, .has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__sub li { width: auto; }
  .nav__sub a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .92rem; white-space: nowrap; }
  .nav__sub a:hover { background: rgba(212,176,98,.12); color: var(--on-dark); }
  .nav__links .nav__sub a:not(.btn)::after { display: none; }
  .nav__sub a[aria-current="page"] { color: var(--gold-light); box-shadow: none; padding-bottom: 10px; }
  .has-sub.is-current > a:not(.btn)::after { transform: scaleX(1); }
}
.has-sub.is-current > a:not(.btn) { color: var(--on-dark); }

@media (max-width: 1100px) {
  .sub-btn { display: none; }
  .nav__links .has-sub { display: block; }
  .nav__links .nav__sub { list-style: none; margin: 0; padding: 0 0 6px 38px; position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; }
  .nav__links .nav__sub li { width: 100%; }
  .nav__links .nav__sub li a:not(.btn) { display: block; padding: 9px 0; font-family: var(--font-body); font-size: 1.02rem; border-bottom: 0; color: var(--on-dark-muted); }
  .nav__links .nav__sub li a:not(.btn)::before { content: none; }
  .nav__links .nav__sub li a[aria-current="page"]:not(.btn) { color: var(--gold-light); }
}

@media (max-width: 1100px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) { .problems { grid-template-columns: 1fr 1fr; } .minis { grid-template-columns: 1fr; } .problems__coach { grid-template-columns: 1fr; padding: 26px 24px; } }
@media (max-width: 640px) {
  .problems, .tools { grid-template-columns: 1fr; }
  dialog.pop { padding: 28px 22px 22px; border-radius: 18px; }
  .topics a { padding: 10px 16px; font-size: .9rem; }
}

/* home compatta */
.home .section { padding: 84px 0; }
.home .section--tight { padding: 52px 0; }
.home .section__head { margin-bottom: 40px; }
.home .manifesto { padding: 78px 0; }
.home .tools__title { margin: 42px 0 18px; }
.creds-line { font-size: .92rem; color: var(--ink-muted); margin: 0 0 18px; }
.creds-line strong { color: var(--ink); }
.creds-line a { color: #8c6d2c; font-weight: 600; }
@media (max-width: 760px) {
  .home .section { padding: 56px 0; }
  .home .section--tight { padding: 40px 0; }
  .home .section__head { margin-bottom: 28px; }
  .home .manifesto { padding: 56px 0; }
}

/* home: righe scorrevoli su telefono */
@media (max-width: 760px) {
  .home .problems, .home .tools, .home .minis, .home .steps { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; margin: 0; list-style: none; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .home .problems > *, .home .tools > *, .home .minis > *, .home .steps > * { flex: 0 0 84%; scroll-snap-align: start; margin: 0; }
  .home .problem:hover { transform: none; }
  .home .problems::after, .home .tools::after, .home .minis::after, .home .steps::after { content: ""; flex: 0 0 4px; }
  .home .problems__coach { margin-top: 6px; }
}

/* inviti e percorso */
.strip { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 28px; border-radius: 18px; background: var(--paper-2); border: 1px solid rgba(200,167,93,.5); }
.strip__t { margin: 0; max-width: 62ch; color: var(--ink-muted); }
.strip__ref { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--teal); margin-bottom: 4px; }
.strip__ref em { color: #8c6d2c; }
.strip__a { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.strip--dark { background: rgba(255,255,255,.05); border-color: rgba(212,176,98,.35); margin-top: 44px; }
.strip--dark .strip__t { color: var(--on-dark-muted); }
.strip--dark .strip__ref { color: var(--on-dark); }
.strip--dark .strip__ref em { color: var(--gold-light); }
.refrain { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--on-dark); margin: 0 0 22px; }
.refrain em { color: var(--gold-light); }
.steps__tag { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(212,176,98,.5); color: var(--gold-light); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.steps li p a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1101px) { .home .steps { grid-template-columns: repeat(5, 1fr); } .home .steps li { padding-right: 18px; } }
@media (max-width: 860px) { .strip { flex-direction: column; align-items: flex-start; padding: 20px; } }

/* la mia storia */
.story { list-style: none; padding: 0; margin: 34px 0 10px; position: relative; counter-reset: st; }
.story::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(200,167,93,.15)); }
.story li { position: relative; padding: 0 0 30px 56px; counter-increment: st; }
.story li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--gold-light); font-family: var(--font-display); font-style: italic; font-size: 1.05rem; box-shadow: 0 0 0 5px var(--paper-2); }
.story h3 { font-size: 1.4rem; margin: 0 0 8px; color: var(--teal); }
.story p { margin: 0; color: var(--ink-muted); }
.story a { color: #8c6d2c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.story strong { color: var(--ink); }
.story__end { margin: 8px 0 26px; }

/* storia: tappe */
.story-years { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.story-years li { background: var(--white); border: 1px solid var(--line-light); border-radius: 14px; padding: 14px 16px; }
.story-years b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.6rem; color: #8c6d2c; line-height: 1.1; }
.story-years span { display: block; margin-top: 4px; font-size: .9rem; color: var(--ink-muted); line-height: 1.35; }
.story__hook { font-family: var(--font-display); font-size: 1.25rem; color: var(--teal); margin: 0 0 18px; }
@media (max-width: 640px) { .story-years { grid-template-columns: 1fr; } }

/* linea del tempo */
.timeline { margin: 30px 0 14px; --tl-progress: 0%; }
.timeline__hint { margin: 0 0 14px; font-size: .86rem; color: var(--ink-muted); letter-spacing: .02em; }
.timeline__dates { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-top: 6px; }
.timeline__dates::before { content: ""; position: absolute; left: 12%; right: 12%; top: 23px; height: 2px; background: rgba(200,167,93,.35); }
.timeline__dates::after { content: ""; position: absolute; left: 12%; top: 23px; height: 2px; width: calc(var(--tl-progress) * .76); background: var(--gold); transition: width .35s ease; }
.timeline__date { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink-muted); }
.timeline__date b { display: grid; place-items: center; min-width: 62px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--white); border: 2px solid rgba(200,167,93,.55); color: var(--teal); font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.timeline__date span { font-size: .8rem; line-height: 1.25; text-align: center; max-width: 12ch; }
.timeline__date:hover b { border-color: var(--gold); transform: translateY(-2px); }
.timeline__date[aria-selected="true"] b { background: var(--teal); color: var(--gold-light); border-color: var(--teal); box-shadow: 0 8px 20px -8px rgba(34,53,59,.7); }
.timeline__date[aria-selected="true"] span { color: var(--teal); font-weight: 600; }
.timeline__date:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 12px; }
.timeline__panel { margin-top: 20px; padding: 22px 26px 22px; background: var(--white); border: 1px solid var(--line-light); border-left: 4px solid var(--gold); border-radius: 16px; box-shadow: var(--shadow); animation: tlIn .35s cubic-bezier(.2,.8,.2,1); }
.timeline__panel[hidden] { display: none; }
@keyframes tlIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.timeline__year { margin: 0 0 2px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: #8c6d2c; }
.timeline__panel h3 { font-size: 1.35rem; margin: 0 0 8px; color: var(--teal); }
.timeline__panel p { margin: 0 0 10px; color: var(--ink-muted); }
.timeline__panel strong { color: var(--ink); }
.timeline__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 14px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line-light); }
.timeline__logos img { height: 30px; width: auto; max-width: 120px; object-fit: contain; }
@media (max-width: 640px) {
  .timeline__dates { gap: 4px; }
  .timeline__date b { min-width: 0; padding: 0 8px; height: 32px; font-size: .95rem; }
  .timeline__date span { font-size: .7rem; max-width: 9ch; }
  .timeline__panel { padding: 18px 18px; }
}
@media (prefers-reduced-motion: reduce) { .timeline__panel { animation: none; } }
/* menu mobile: il blocco dello scorrimento non deve far scivolare via la barra */
body { overflow-x: hidden; overflow-x: clip; }
html.menu-open body { overflow: visible; }

/* pop-up: l'etichetta in alto non passa sotto il tasto di chiusura */
dialog.pop .eyebrow { padding-right: 48px; }

/* aziende affiancate (dentro Chi sono) */
.aziende { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line-light); }
.aziende__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.aziende__head .eyebrow { justify-content: center; margin-bottom: 10px; }
.aziende__lead { margin: 0; color: var(--ink-muted); }
@media (max-width: 760px) { .aziende { margin-top: 44px; padding-top: 34px; } .aziende__head { margin-bottom: 20px; } }

/* la mia storia: versione 4 (percorso a 6 tappe, riquadri, chiusura) */
.storia__lead { margin: 16px 0 0; max-width: 64ch; color: var(--ink-muted); }
.timeline { margin: 36px 0 18px; }
.timeline__hint { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: #8c6d2c; }
.timeline__dates { grid-template-columns: repeat(6, 1fr); gap: 6px; }
.timeline__dates::before { left: calc(100% / 12); right: calc(100% / 12); }
.timeline__dates::after { left: calc(100% / 12); width: calc(var(--tl-progress) * .8333); }
.timeline__date span { font-size: .78rem; max-width: 13ch; }
.timeline__panel { padding: 28px 32px 26px; border-radius: 18px; }
.timeline__panel h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 10px; }
.timeline__panel > p:not([class]) { font-size: 1.02rem; line-height: 1.7; }
.timeline__learn { margin: 18px 0 0 !important; padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.4; color: var(--teal) !important; }
.timeline__learn span { display: block; margin-bottom: 4px; font-family: var(--font-body); font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8c6d2c; }
.timeline__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.timeline__tags li { margin: 0; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-light); background: var(--paper-2); font-size: .8rem; font-weight: 600; color: var(--teal); }
.timeline__more { margin: 14px 0 0 !important; font-size: .92rem; }
.timeline__more a { color: #8c6d2c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.timeline__next { display: inline-flex; align-items: center; gap: 6px; margin: 18px 0 0 auto; padding: 8px 4px; background: none; border: 0; border-bottom: 1px solid var(--gold); font: inherit; font-size: .9rem; font-weight: 600; color: var(--teal); cursor: pointer; }
.timeline__next:hover { color: #8c6d2c; }
.timeline__panel { display: flex; flex-direction: column; }
.timeline__panel[hidden] { display: none; }
.timeline__next { align-self: flex-end; }

.storia__sub { margin: clamp(48px, 7vw, 72px) 0 6px; font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--teal); }
.learned { list-style: none; counter-reset: ln; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.learned li { counter-increment: ln; position: relative; padding: 22px 24px 22px 84px; background: var(--white); border: 1px solid var(--line-light); border-radius: 16px; }
.learned li::before { content: counter(ln); position: absolute; left: 22px; top: 14px; font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--gold); }
.learned h4 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--teal); }
.learned p { margin: 0; color: var(--ink-muted); }
.learned strong { color: var(--ink); }
.learned a { color: #8c6d2c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.story-close { margin-top: clamp(40px, 6vw, 60px); padding: clamp(28px, 5vw, 44px); border-radius: 22px; background: radial-gradient(70% 90% at 100% 0%, rgba(212,176,98,.2), transparent 65%), var(--teal-deep); color: var(--on-dark); }
.story-close__quote { margin: 0 0 16px; padding-left: 22px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.3; color: var(--on-dark); }
.story-close__hook { margin: 0 0 22px; max-width: 52ch; font-size: 1.05rem; color: rgba(238,234,224,.85); }
.story-close__cta { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .timeline__dates { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .timeline__dates::before, .timeline__dates::after { display: none; }
  .timeline__date span { font-size: .72rem; max-width: 12ch; }
  .timeline__panel { padding: 22px 20px; }
  .timeline__panel h3 { font-size: 1.3rem; }
  .learned li { padding: 20px 18px 20px 18px; }
  .learned li::before { position: static; display: block; margin-bottom: 6px; font-size: 2.4rem; }
  .story-close__cta .btn { width: 100%; justify-content: center; text-align: center; }
}

/* chi sono: parte dal cliente (per chi lavoro, promesse, formazione compatta) */
.fit { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fit li { position: relative; padding: 24px 26px 22px 30px; background: var(--white); border: 1px solid var(--line-light); border-radius: 16px; box-shadow: var(--shadow); }
.fit li::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.fit h3 { margin: 0 0 6px; font-size: 1.25rem; color: var(--teal); }
.fit p { margin: 0; color: var(--ink-muted); }
.fit__bridge { margin: 30px auto 0; max-width: 62ch; text-align: center; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; color: var(--teal); }
.fit__bridge strong { font-weight: 500; font-style: italic; color: #8c6d2c; }
.fit__cta { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; }

.promises { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.promises li { grid-column: span 2; padding: 24px 24px 22px; background: var(--white); border: 1px solid var(--line-light); border-top: 3px solid var(--gold); border-radius: 14px; }
.promises li:nth-child(4) { grid-column: 2 / span 2; }
.promises li:nth-child(5) { grid-column: 4 / span 2; }
.promises h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--teal); }
.promises p { margin: 0; color: var(--ink-muted); font-size: .98rem; }

.formazione { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.formazione li { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.formazione__year { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: #8c6d2c; }
.formazione h3 { margin: 0 0 2px; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--teal); }
.formazione p { margin: 0; font-size: .92rem; color: var(--ink-muted); }
.formazione .link-arrow { white-space: nowrap; font-size: .9rem; }
.formazione__more { margin: 22px 0 0; }

@media (max-width: 860px) {
  .fit { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .promises li, .promises li:nth-child(4), .promises li:nth-child(5) { grid-column: auto; }
  .formazione li { grid-template-columns: 1fr; gap: 4px; }
  .formazione .link-arrow { margin-top: 6px; }
}

.storia__note { margin: 26px 0 0; font-size: .98rem; color: var(--ink-muted); }
.storia__note a { color: #8c6d2c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* avviso link di affiliazione (pagina Libri) */
.buy-note { font-size: .93rem; line-height: 1.6; color: var(--ink); margin: -4px 0 28px; padding: 14px 18px; background: rgba(200,167,93,.12); border-left: 3px solid #c8a75d; border-radius: 0 10px 10px 0; }
.buy-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* nota professionale (servizi) */
.legal-note { font-size: .86rem; color: var(--ink-muted); margin-top: 14px; }

/* avviso affiliazione: discreto, in fondo all'elenco */
.buy-note { font-size: .85rem; line-height: 1.5; color: var(--ink-muted); margin: -12px 0 28px; padding: 0; background: none; border: 0; border-radius: 0; }
.buy-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.affil-note { font-size: .78rem; line-height: 1.5; color: var(--ink-muted); margin: 40px 0 0; max-width: 62ch; }
.affil-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
