/* ==========================================================================
   Valentino Gardi — base condivisa dalle tre versioni.
   Il tema (v1/v2/v3.css, accodato dal build) ridefinisce le variabili
   e aggiunge le varianti di layout.
   ========================================================================== */
:root {
  --bg: #ffffff; --bg-alt: #f5f5f3; --surface: #ffffff;
  --ink: #1b1b1b; --ink-soft: #3a3a3a; --muted: #6b6b6b; --line: #e3e1dc;
  --accent: #1f4e79; --accent-ink: #ffffff; --accent2: #b08d57;
  --dark: #151515; --dark-ink: #f3f1ec;
  --font-head: Georgia, serif; --font-body: system-ui, sans-serif;
  --radius: 6px; --shadow: 0 10px 30px rgba(20, 20, 20, .08);
  --maxw: 1160px; --nav-h: 76px;
  --ok: #1d6b3a; --err: #9b1c1c;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body);
  font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent2); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

/* ---- Bottoni e link ---- */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); padding: .85em 1.6em; border-radius: var(--radius); font: 600 .95rem/1 var(--font-body);
  letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--accent2); border-color: var(--accent2); color: var(--accent-ink); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-small { padding: .65em 1.2em; font-size: .88rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 1.8em; }
.eyebrow { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent2); margin: 0 0 .9em; }

/* ---- Navigazione ---- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font: 500 .93rem/1 var(--font-body); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--accent2); color: var(--ink); }
.nav-hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-hamburger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.nav-mobile { display: none; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-mobile ul { list-style: none; margin: 0; padding: 8px 24px 18px; }
.nav-mobile a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.nav-mobile a.active { color: var(--accent); }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile.open { display: block; }
  .nav:has(.nav-mobile.open) { background: var(--surface); }
}

/* ---- Sezioni ---- */
main { display: block; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tight { padding-top: 24px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-note { color: var(--muted); font-size: .95rem; }
.page-header { padding: calc(var(--nav-h) + clamp(56px, 8vw, 100px)) 0 clamp(48px, 6vw, 72px); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); max-width: 16ch; }
.page-header .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; margin: 0; }

/* ---- Fade-in ---- */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

/* ---- Ritratto (segnaposto) ---- */
.portrait { margin: 0; }
.portrait-ph { aspect-ratio: 4 / 5; display: grid; place-items: center; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--accent) 0%, var(--dark) 100%); color: var(--accent2); overflow: hidden; }
.portrait-ph span { font: 600 clamp(4rem, 9vw, 7rem)/1 var(--font-head); letter-spacing: .04em; opacity: .9; }
.portrait figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; font-style: italic; }
.portrait-small .portrait-ph { max-width: 220px; }
.portrait-small .portrait-ph span { font-size: 3.4rem; }

/* ---- Copertine (illustrative, in CSS) ---- */
.cover { position: relative; aspect-ratio: 2 / 3; width: 100%; max-width: 220px; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 14% 9% 9%; background: linear-gradient(160deg, var(--c1), var(--c2)); color: var(--ink);
  border-radius: 2px 6px 6px 2px; box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.35), 0 18px 32px -14px rgba(0,0,0,.45); overflow: hidden; }
.cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.08)); }
.cover-authors { font: 600 .6rem/1.35 Georgia, serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .9; }
.cover-title { font: 700 1.25rem/1.08 Georgia, serif; color: var(--ink); margin: auto 0 0; text-transform: uppercase; letter-spacing: .02em; }
.cover-rule { width: 40%; height: 1px; background: var(--ink); opacity: .6; margin: 10px 0; }
.cover-sub { font: italic .66rem/1.35 Georgia, serif; color: var(--ink); opacity: .9; margin-bottom: auto; }
.cover-pub { font: 600 .52rem/1 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: .75; margin-top: 12px; }
.cover-lg { max-width: 300px; }
.cover-lg .cover-title { font-size: 1.9rem; }
.cover-lg .cover-authors { font-size: .78rem; }
.cover-lg .cover-sub { font-size: .9rem; }
.cover-xl { max-width: 360px; }
.cover-xl .cover-title { font-size: 2.3rem; }
.cover-xl .cover-authors { font-size: .88rem; }
.cover-xl .cover-sub { font-size: 1rem; }
.cover-xl .cover-pub { font-size: .66rem; }

/* ---- Libri ---- */
.books { display: grid; gap: 40px; }
.book { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 32px; align-items: start; }
.book-role { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin-bottom: .7em; }
.book-title { font-size: 1.6rem; margin-bottom: .2em; }
.book-sub { font-style: italic; color: var(--ink-soft); margin-bottom: .6em; }
.book-authors { font-size: .95rem; margin-bottom: .2em; }
.book-meta { font-size: .88rem; color: var(--muted); }
.book-desc { margin-top: 1em; max-width: 62ch; }
.badge { display: inline-block; background: var(--accent2); color: var(--accent-ink); font: 700 .7rem/1 var(--font-body);
  letter-spacing: .1em; text-transform: uppercase; padding: .45em .8em; border-radius: 99px; margin-bottom: 1em; }
/* In home: scaffale a 3 colonne */
.page-index .books { grid-template-columns: repeat(3, 1fr); gap: 36px; }
.page-index .book { grid-template-columns: 1fr; gap: 20px; }
.page-index .book .cover { max-width: 190px; }
@media (max-width: 860px) { .page-index .books { grid-template-columns: 1fr; } .page-index .book { grid-template-columns: 110px 1fr; } }
@media (max-width: 640px) { .book { grid-template-columns: 110px 1fr; gap: 20px; } .book-title { font-size: 1.3rem; } }

/* ---- Filtri ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 500 .88rem/1 var(--font-body); padding: .6em 1.1em; border-radius: 99px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.filters button:hover { border-color: var(--accent); }
.filters button.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---- Articoli ---- */
.papers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.paper { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.paper[hidden], .talk[hidden] { display: none; }
.paper-year { font: 600 1.05rem/1.4 var(--font-head); color: var(--accent2); }
.paper-kind { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3em; }
.paper-title { font-size: 1.15rem; margin-bottom: .25em; }
.paper-title a { color: var(--ink); }
.paper-title a:hover { color: var(--accent); }
.paper-where { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.tag-oa { display: inline-block; margin-left: 8px; padding: .15em .6em; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ok); letter-spacing: .04em; }

/* ---- Interventi ---- */
.talk-year { display: grid; grid-template-columns: 90px 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 18px; }
.talk-year-label { font-size: 1.6rem; color: var(--accent2); margin: 0; }
.talks { list-style: none; margin: 0; padding: 0; }
.talk { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 0 0 18px; }
.talk-date { font-size: .88rem; color: var(--muted); padding-top: 3px; }
.talk-kind { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin: 0 0 .15em; }
.talk-title { font-weight: 600; margin: 0 0 .15em; line-height: 1.4; }
.talk-where { font-size: .92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) { .talk-year { grid-template-columns: 1fr; gap: 6px; } .talk { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Evento ---- */
.event { display: grid; grid-template-columns: 150px 1fr; gap: 36px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); padding: 20px 10px; align-self: start; }
.event-day { font: 700 3.4rem/1 var(--font-head); }
.event-month { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; }
.event-year { font-size: .8rem; opacity: .75; }
.event-kind { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin-bottom: .4em; font-weight: 600; }
.event-title { font-size: 1.8rem; }
.event-where { color: var(--ink-soft); font-weight: 500; }
.event-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 0; }
@media (max-width: 700px) { .event { grid-template-columns: 1fr; padding: 24px; gap: 20px; } .event-date { flex-direction: row; gap: 10px; align-items: baseline; justify-content: flex-start; padding: 12px 16px; } .event-day { font-size: 2rem; } }

/* ---- Aree ---- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1040px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }
.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.area .icon { width: 40px; height: 40px; color: var(--accent2); margin-bottom: 18px; }
.area h3 { font-size: 1.3rem; }
.area p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.area-num { display: block; font: 600 .85rem/1 var(--font-body); color: var(--accent2); letter-spacing: .1em; margin-bottom: 18px; }

/* ---- Numeri ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 var(--font-head); color: var(--accent2); margin-bottom: 10px; }
.stat-label { font-size: .9rem; opacity: .85; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---- Timeline ---- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 0 0 30px; position: relative; }
.tl-when { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent2); font-weight: 600; padding-top: 4px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: .25em; }
.timeline p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---- Profilo ---- */
.bio-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.bio-text { font-size: 1.1rem; }
.dropcap::first-letter { float: left; font: 600 4.2em/.8 var(--font-head); padding: .08em .1em 0 0; color: var(--accent); }
.portrait-side { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 860px) { .bio-grid { grid-template-columns: 1fr; gap: 40px; } .portrait-side { position: static; max-width: 320px; } }

/* ---- Didattica ---- */
.teach-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent2); border-radius: var(--radius); padding: 32px; max-width: 820px; }
.teach-code { font-size: .8rem; letter-spacing: .12em; color: var(--muted); margin-bottom: .4em; }

/* ---- CTA ---- */
.cta-band { background: var(--dark); color: var(--dark-ink); padding: clamp(56px, 8vw, 96px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-inner > div { max-width: 640px; }
.cta-band h2 { color: var(--dark-ink); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { opacity: .85; margin: 0; }
.cta-band .eyebrow { opacity: 1; }

/* ---- Contatti ---- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-title { font-size: 1.8rem; }
.form-intro { color: var(--muted); font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .75em .9em; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: 4px 0 22px; cursor: pointer; }
.form-check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-status { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius); font-size: .95rem; }
.form-status.is-success { background: #e8f4ec; color: var(--ok); }
.form-status.is-error { background: #fbeaea; color: var(--err); }
.contact-info { display: grid; gap: 26px; padding-top: 8px; }
.info-label { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); margin-bottom: .6em; }
.info-block p { margin: 0; }

/* ---- Prosa (privacy) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.draft-note { background: #fff6dd; border: 1px solid #ecd58f; color: #6b5210; padding: 10px 14px; border-radius: var(--radius); font-size: .9rem; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--dark-ink); padding: 72px 0 28px; font-size: .95rem; }
.footer .nav-brand, .footer .brand-name { color: var(--dark-ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer-brand p { opacity: .75; margin-top: 18px; max-width: 42ch; }
.footer-h { font: 600 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent2); margin-bottom: 1.2em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55em; }
.footer a { color: var(--dark-ink); opacity: .85; text-decoration: none; }
.footer a:hover { opacity: 1; color: var(--accent2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .85rem; opacity: .7; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.talk-year[hidden] { display: none; }

/* ==========================================================================
   SECONDA TORNATA (v4-v6) — struttura condivisa.
   Eleganza della v1 (serif, filetti oro, ritratto) + taglio editoriale della v2
   (testata, capolettera, liste da rivista). Il tema definisce colori e font.
   ========================================================================== */
:root { --deco: #81d8d0; --gold: #b08d57; --gold-soft: #d6b877; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-head.center .eyebrow::before { display: none; }

/* Brand */
.brand-mono { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold);
  font: 500 1.1rem/1 var(--font-head); color: var(--gold); letter-spacing: .04em; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 500 1.35rem/1.1 var(--font-head); color: var(--ink); }
.brand-name em { font-style: italic; color: var(--accent); }
.brand-role { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (max-width: 420px) { .nav .brand-role { display: none; } }

/* Hero split */
.hero { position: relative; }
.hero-split { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 7.6vw, 6rem); line-height: .98; margin-bottom: .3em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 54ch; }
.portrait-hero { position: relative; }
.portrait-hero::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.portrait-hero .portrait-ph { position: relative; z-index: 1; }
.portrait-hero figcaption { margin-top: 30px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .portrait-hero { max-width: 300px; } }

/* Ruoli */
.roles { list-style: none; padding: 0; margin: 1.8em 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.roles li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.role-where { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text, var(--gold)); font-weight: 600; padding-top: 3px; }
.role-what { font-weight: 500; }
@media (max-width: 560px) { .roles li { grid-template-columns: 1fr; gap: 2px; } }

/* Hero testata (masthead) */
.hero-masthead { padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.masthead-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin: 0; }
.masthead-name { font-size: clamp(3.2rem, 11vw, 8.4rem); line-height: .95; letter-spacing: -.03em; margin: .2em 0 .1em; }
.masthead-name em { font-style: italic; color: var(--accent); }
.masthead-role { font-style: italic; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-soft); border-bottom: 3px double var(--ink); padding-bottom: 18px; margin: 0; font-family: var(--font-head); }
.roles-row { grid-template-columns: repeat(3, 1fr); border-top: 0; margin-top: 0; }
.roles-row li { grid-template-columns: 1fr; gap: 4px; padding: 22px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.roles-row li + li { border-left: 1px solid var(--line); }
@media (max-width: 760px) { .roles-row { grid-template-columns: 1fr; } .roles-row li + li { border-left: 0; } }

/* Ambiti */
.areas-band .area { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--deco); }
.areas-band .area .icon { color: var(--accent); }

/* Chi è */
.intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.intro-text { font-size: 1.1rem; max-width: 62ch; }
.dropcap::first-letter { color: var(--accent); }
.pull-quote { margin: 0; padding: 36px 0 36px 32px; border-left: 2px solid var(--gold); }
.pull-quote p { font: italic 400 clamp(1.8rem, 3.4vw, 2.6rem)/1.2 var(--font-head); color: var(--ink); margin-bottom: .6em; }
.pull-quote cite { font-style: normal; font-size: .82rem; letter-spacing: .04em; color: var(--muted); }
.portrait-intro { width: 100%; max-width: 320px; justify-self: center; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Libri: scaffale a 4, stessa dimensione per tutti */
.page-index .books { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.page-index .book { grid-template-columns: 1fr; gap: 18px; justify-items: start; }
.book .cover { container-type: inline-size; padding: 12% 8% 8%; }
.book .cover-authors { font-size: 5.2cqw; }
.book .cover-title { font-size: 11cqw; overflow-wrap: break-word; }
.book .cover-sub { font-size: 5.6cqw; }
.book .cover-pub { font-size: 4.2cqw; margin-top: 6%; }
.book .cover-rule { margin: 6% 0; }
.page-index .book .cover { max-width: 180px; }
@media (max-width: 640px) { .page-pubblicazioni .book { grid-template-columns: 1fr; gap: 20px; } .page-pubblicazioni .book .cover { max-width: 180px; } }
.page-index .book-title { font-size: 1.3rem; }
@media (max-width: 1000px) { .page-index .books { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .page-index .books { grid-template-columns: 1fr; } .page-index .book { grid-template-columns: 110px 1fr; justify-items: stretch; } }

/* Agenda + riviste */
.agenda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .agenda-grid { grid-template-columns: 1fr; } }
.event-compact { display: flex; gap: 22px; align-items: center; text-decoration: none; color: var(--ink); border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line); padding: 22px 0; margin: 6px 0 22px; }
.event-compact:hover { color: var(--ink); }
.event-compact:hover .ec-title { color: var(--accent); }
.ec-date { display: flex; flex-direction: column; align-items: center; min-width: 84px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ec-date b { font: 500 3rem/1 var(--font-head); color: var(--accent); letter-spacing: 0; }
.ec-body { display: flex; flex-direction: column; gap: 4px; }
.ec-kind { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text, var(--gold)); font-weight: 600; }
.ec-title { font: 500 1.5rem/1.2 var(--font-head); transition: color .2s; }
.ec-where { font-size: .92rem; color: var(--ink-soft); }
.latest { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.latest li { border-bottom: 1px solid var(--line); padding: 16px 0; }
.latest span { font-size: .76rem; font-weight: 600; color: var(--gold-text, var(--gold)); letter-spacing: .1em; }
.latest p { font: 500 1.12rem/1.35 var(--font-head); margin: .3em 0 .2em; }
.latest small { color: var(--muted); font-size: .85rem; }

/* Numeri */
.stats-band .stat-num { font-weight: 400; color: var(--gold-soft); }
.stats-band .stat-label { color: var(--dark-ink); }

/* Pagine interne */
.page-header .eyebrow::before { background: var(--gold); }
.timeline li { border-left: 1px solid var(--line); padding-left: 24px; margin-left: 0; }
.area { border-radius: var(--radius); }
.event-date { background: var(--dark); color: var(--dark-ink); }
.event-day { color: var(--gold-soft); font-weight: 400; }
.teach-card { border-left-color: var(--gold); }
.badge { background: var(--gold); color: #fff; }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-band .eyebrow::before { background: var(--gold-soft); }
.cta-band .btn { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--dark); }
.cta-band .btn:hover { background: #fff; border-color: #fff; color: var(--dark); }
.footer-h { color: var(--gold-soft); }
.footer .brand-name em { color: var(--deco); }
.filters button.is-active { background: var(--ink); border-color: var(--ink); }
.paper-year, .talk-year-label { color: var(--accent); font-weight: 500; }

/* ==========================================================================
   VERSIONE 11 — DIVULGATORE (indicazioni del cliente, 25/09/2026)
   Stile della v6 (Fraunces + Manrope, filetti oro) in chiave luminosa:
   sfondi e richiami Tiffany / verde acqua chiaro, dettagli verde petrolio.
   Orientata a divulgazione, incontri e richieste di contatto.
   ========================================================================== */
:root {
  --bg: #ffffff; --bg-alt: #effaf8; --surface: #ffffff;
  --ink: #123840; --ink-soft: #3a5a60; --muted: #5f7a7e; --line: #d7ebe8;
  --accent: #0f5e66; --accent-ink: #ffffff; --accent2: #98743a;
  --dark: #0f4c55; --dark-ink: #effaf8;
  --deco: #81d8d0; --tiffany-soft: #c9f0eb; --gold: #b08d57; --gold-soft: #d6b877; --gold-text: #7f5f26;
  --font-head: 'Fraunces', Georgia, serif; --font-body: 'Manrope', system-ui, sans-serif;
  --radius: 10px; --shadow: 0 16px 40px rgba(15, 76, 85, .10);
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; }
.eyebrow { color: var(--accent); }
.eyebrow::before { background: var(--deco); height: 2px; }
.btn { border-radius: 999px; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.nav.scrolled { background: rgba(255, 255, 255, .96); }
.brand-mono { border-color: var(--accent); color: var(--accent); }
.brand-role { color: var(--accent); }

/* ---- Pulsanti di contatto, molto visibili ---- */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2em; }
.btn-lg { padding: 1.05em 1.6em; font-size: 1rem; box-shadow: 0 8px 20px rgba(15, 94, 102, .18); }
.btn-alt { background: var(--deco); border-color: var(--deco); color: var(--ink); }
.btn-alt:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-buttons .btn-ghost { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.cta-buttons .btn-ghost:hover { background: var(--accent); color: #fff; }
@media (max-width: 560px) { .cta-buttons .btn { width: 100%; justify-content: center; text-align: center; } }

/* ---- Hero luminoso con foto ---- */
.hero-v11 { background:
  radial-gradient(ellipse at 90% 0%, rgba(129, 216, 208, .55) 0%, rgba(129, 216, 208, 0) 55%),
  linear-gradient(180deg, #f3fcfb 0%, #e3f7f4 100%); }
.hero-v11::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-v11 h1 { color: var(--ink); }
.hero-v11 h1 em { color: var(--accent); }
.hero-v11 .hero-lead { color: var(--ink-soft); font-size: 1.16rem; }
.portrait.has-photo { margin: 0; }
.portrait-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); position: relative; z-index: 1; box-shadow: var(--shadow); }
.portrait-hero.has-photo::before { border-color: var(--deco); border-width: 2px; }
.portrait-side.has-photo .portrait-photo { box-shadow: var(--shadow); }

/* ---- Temi in evidenza ---- */
.themes-band { background: var(--bg-alt); }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.theme-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--deco); border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 6px 18px rgba(15, 76, 85, .05); }
.theme-card .icon { width: 46px; height: 46px; color: var(--accent); margin-bottom: 18px; }
.theme-card h3 { font-size: 1.6rem; margin-bottom: .4em; }
.theme-card p { color: var(--ink-soft); }
.theme-refs { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); }
.theme-refs li { padding: 3px 0; }
.theme-refs a { font-weight: 600; text-decoration: none; color: var(--accent); }
.theme-refs a::after { content: " →"; }
@media (max-width: 900px) { .theme-grid { grid-template-columns: 1fr; } }

/* ---- Galleria incontri ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.g-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.g-item figcaption { padding: 12px 16px 16px; font: 400 1.05rem/1.35 var(--font-head); color: var(--ink); }
.g-item figcaption span { display: block; font: 600 .72rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.meet-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); margin-top: 56px; align-items: start; }
.aud-list { list-style: none; margin: 0; padding: 0; }
.aud-list li { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.aud-list strong { font: 500 1.2rem/1.3 var(--font-head); color: var(--accent); }
.aud-list span { color: var(--ink-soft); }
.meet-grid .event-compact { margin-bottom: 20px; }
@media (max-width: 860px) { .meet-grid { grid-template-columns: 1fr; } .aud-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Citazione ---- */
.quote-band { background: linear-gradient(180deg, #e3f7f4, #f3fcfb); padding: clamp(64px, 9vw, 110px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.quote-photo { margin: 0; }
.quote-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); filter: grayscale(1); box-shadow: var(--shadow); }
.quote-photo figcaption { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.quote-text { margin: 0; }
.quote-text p { font: italic 400 clamp(1.8rem, 3.4vw, 2.7rem)/1.22 var(--font-head); color: var(--ink); margin-bottom: .6em; }
.quote-text p::before { content: "“"; display: block; font-size: 2.2em; line-height: .5; color: var(--deco); }
.quote-text cite { font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--accent); }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---- Copertine vere ---- */
.cover.cover-img, .book .cover.cover-img { display: block; width: 100%; max-width: 190px; height: auto; aspect-ratio: auto; padding: 0; container-type: normal; border-radius: 3px 6px 6px 3px; background: none;
  box-shadow: 0 18px 32px -14px rgba(0, 0, 0, .45); }
.cover-img::before { display: none; }
.page-index .book .cover.cover-img { max-width: 180px; }

/* ---- Chi è + stampa ---- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid .dropcap { font-size: 1.1rem; }
.muted-small { font-size: .92rem; color: var(--muted); }
.press-card { margin: 0; background: var(--bg-alt); border-left: 3px solid var(--deco); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 24px; }
.press-src { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .5em; }
.press-title { font: 500 1.3rem/1.3 var(--font-head); margin-bottom: .5em; }
.press-quote { font-style: italic; color: var(--ink-soft); margin-bottom: .4em; }
.press-card cite { font-style: normal; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---- Invito finale luminoso ---- */
.cta-v11 { background: linear-gradient(120deg, #bfeee8, #81d8d0); color: var(--ink); border-top: 0; }
.cta-v11 h2 { color: var(--ink); }
.cta-v11 p { color: var(--ink-soft); opacity: 1; }
.cta-v11 .eyebrow { color: var(--accent); }
.cta-v11 .eyebrow::before { background: var(--accent); }
.cta-v11 .cta-inner > div { max-width: 560px; }
.cta-v11 .cta-buttons { margin-top: 0; flex-direction: column; min-width: 300px; }
.cta-v11 .btn-alt { background: #fff; border-color: #fff; }
@media (max-width: 700px) { .cta-v11 .cta-buttons { min-width: 0; width: 100%; } }

/* ---- Pagine interne ---- */
.page-header { background: linear-gradient(180deg, #f3fcfb, #e3f7f4); border-bottom: 1px solid var(--line); }
.page-header .eyebrow::before { background: var(--deco); }
.cta-band { background: linear-gradient(120deg, #bfeee8, #81d8d0); color: var(--ink); }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-soft); opacity: 1; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band .eyebrow::before { background: var(--accent); }
.cta-band .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-band .btn:hover { background: var(--ink); border-color: var(--ink); }
.event-date { background: var(--accent); color: #fff; }
.event-day { color: #fff; }
.area { border-top: 3px solid var(--deco); }
.area .icon { color: var(--accent); }
.badge { background: var(--accent); color: #fff; }
.stats-band { background: var(--accent); }
.footer { background: var(--dark); }
.footer .brand-mono { border-color: var(--deco); color: var(--deco); }
.footer .brand-role { color: var(--deco); }
.footer-h { color: var(--deco); }
.portrait-ph { background: linear-gradient(150deg, #81d8d0, #0f5e66); color: #fff; }

/* ---- Aggiornamento 25/09/2026: 4 temi, galleria a 8 foto, riconoscimento, docenze ---- */
.theme-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .theme-grid { grid-template-columns: 1fr; } }
.gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item figcaption { font-size: .98rem; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.award-band { background: #fff; }
.award-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.award-photo { margin: 0; position: relative; }
.award-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.award-photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.award-when { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6em; }
.award-grid h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.award-grid p { color: var(--ink-soft); }
@media (max-width: 860px) { .award-grid { grid-template-columns: 1fr; } .award-photo::before { inset: -10px 10px 10px -10px; } }
.teach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teach-item { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--deco); border-radius: var(--radius); padding: 28px 26px; }
.teach-kind { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.teach-item h3 { font-size: 1.3rem; margin-bottom: .4em; }
.teach-item p:last-child { color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .teach-grid { grid-template-columns: 1fr; } }

/* ---- Ricerca comparata (estate 2026) ---- */
.research-band { background: var(--bg-alt); }
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.r-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.r-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.r-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.r-where { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .5em; }
.r-body h3 { font-size: 1.3rem; margin-bottom: .4em; }
.r-body p:not(.r-where) { color: var(--ink-soft); font-size: .96rem; }
.r-body .link-arrow { margin-top: auto; font-size: .92rem; }
.r-quote { margin: 40px auto 0; max-width: 760px; text-align: center; }
.r-quote p { font: italic 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.3 var(--font-head); color: var(--ink); margin-bottom: .4em; }
.r-quote cite { font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--accent); }
@media (max-width: 700px) { .r-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .r-grid { grid-template-columns: 1fr; } }

/* ---- Taccuino di viaggio (foto originali Scozia / Austria) ---- */
.travel-head { margin: 44px 0 16px; }
.travel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.t-item { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.t-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.t-item figcaption { padding: 10px 14px 14px; font: 400 .98rem/1.35 var(--font-head); color: var(--ink); }
.t-item figcaption span { display: block; font: 700 .7rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
@media (max-width: 900px) { .travel-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   PAGINA "SITO IN COSTRUZIONE" (valentinogardi.it) — aggiunte allo stile v11
   ========================================================================== */
.wip-nav, .wip-nav.scrolled { position: absolute; background: transparent; box-shadow: none; }
.wip-mail { background: var(--accent); border-color: var(--accent); }
.wip-hero { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }
.wip-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5em 1.1em; font-weight: 600; font-size: .92rem; color: var(--accent); margin: 0 0 1.4em; box-shadow: 0 6px 16px rgba(15,94,102,.08); }
.wip-badge span { width: 9px; height: 9px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43,182,115,.18); }
@media (prefers-reduced-motion: no-preference) { .wip-badge span { animation: wipPulse 2s ease-in-out infinite; } }
@keyframes wipPulse { 50% { box-shadow: 0 0 0 7px rgba(43,182,115,.05); } }
.hero-lead a { color: var(--accent); font-weight: 600; }
.wip-band { background: var(--bg-alt); }
.wip-themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wip-themes li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--deco); border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px; font: 400 1.2rem/1.3 var(--font-head); color: var(--ink); }
.wip-themes .icon { width: 40px; height: 40px; color: var(--accent); }
@media (max-width: 900px) { .wip-themes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wip-themes { grid-template-columns: 1fr; } }
.wip-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .wip-grid { grid-template-columns: 1fr; } }
.wip-books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wip-books img { display: block; width: 100%; height: auto; border-radius: 3px 6px 6px 3px; box-shadow: 0 14px 26px -12px rgba(0,0,0,.45); }
.wip-books span { display: block; font: 400 .95rem/1.3 var(--font-head); margin-top: 10px; color: var(--ink); }
@media (max-width: 520px) { .wip-books { grid-template-columns: 1fr 1fr; } }
.wip-event { cursor: default; }
.wip-note { font-size: .92rem; color: var(--muted); }
.wip-404 { min-height: 70vh; }
.wip-404 .container { max-width: 820px; }
.wip-footer .footer-links li { color: var(--dark-ink); opacity: .85; }
