/* RT29 Rovereto
   Tema unico scuro, blu notte del marchio + oro del logo.
   Raggi: bottoni e chip a pillola, card e foto 20px, campi 12px, persone e hero in cerchio (la tavola rotonda). */
:root {
  --bg: #0f1729;
  --bg-2: #16213c;
  --navy: #1a2744;
  --surface: #1f2d50;
  --surface-2: #26375f;
  --line: rgba(205, 216, 245, .13);
  --line-strong: rgba(205, 216, 245, .24);
  --text: #f1f3f8;
  --muted: #a9b2c8;
  --gold: #f4b324;
  --gold-soft: #f8cd6a;
  --on-gold: #111a30;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px;
  --r-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
.ph { line-height: 1; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 48px); }

/* ---------- testi ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.h-md { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 24px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; margin-top: 18px; }
.stack-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- bottoni e link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn .ph { font-size: 19px; transition: transform .3s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-line { border-color: var(--line-strong); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--gold); text-decoration: none; }
.link-arrow .ph { font-size: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ph { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(15, 23, 41, .82); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 36px; width: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 9px 15px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--on-gold); background: var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; place-items: center; font-size: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); background: radial-gradient(900px 600px at 78% 38%, rgba(244, 179, 36, .09), transparent 65%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 5.6vw, 84px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero h1 .nw { white-space: nowrap; }
.hero h1 em { display: block; font-style: italic; font-weight: 700; color: var(--gold); letter-spacing: -.035em; }
.hero-sub { margin-top: 26px; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 32ch; }
.motto { display: block; margin-top: 6px; font-style: italic; color: var(--text); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; justify-self: end; width: min(520px, 100%); }
.hero-circle { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px rgba(244, 179, 36, .55), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.hero-seal { position: absolute; width: 21%; left: -2%; bottom: 4%; border-radius: 50%; box-shadow: 0 0 0 8px var(--bg); }
.hero-seal img { width: 100%; border-radius: 50%; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 4px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(40px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* ---------- sezioni ---------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 136px); }
.section-alt { background: var(--bg-2); }

/* chi siamo: intro + bento */
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.b { position: relative; overflow: hidden; border-radius: var(--r); padding: 30px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.b h3 { font-size: 28px; margin-bottom: 10px; }
.b p { font-size: 16px; }
.b-ic { font-size: 30px; margin-bottom: auto; padding-bottom: 28px; }
.b-photo { grid-row: span 2; min-height: 540px; padding: 0; }
.b-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.b-photo:hover img { transform: scale(1.04); }
.b-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 41, .05) 30%, rgba(15, 23, 41, .92) 100%); }
.b-body { position: relative; z-index: 1; padding: 30px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.b-body .b-ic { margin-bottom: 0; padding-bottom: 16px; color: var(--gold); }
.b-photo p { color: rgba(241, 243, 248, .82); }
.b-gold { background: var(--gold); color: var(--on-gold); }
.b-gold p { color: rgba(17, 26, 48, .82); }
.b-plain { background: var(--surface); }
.b-plain p { color: var(--muted); }
.b-plain .b-ic { color: var(--gold); }
.b-mark { position: absolute; width: 260px; right: -70px; top: -70px; opacity: .1; }

/* iniziative: foto + elenco */
.initiatives { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.init-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.init-photo img { width: 100%; height: 100%; object-fit: cover; }
.init-list { margin-top: 40px; display: grid; gap: 28px; }
.init-list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.init-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; color: var(--gold); background: rgba(244, 179, 36, .1); border: 1px solid rgba(244, 179, 36, .35); }
.init-list h3 { font-size: 22px; margin: 4px 0 6px; }
.init-list p { color: var(--muted); }

/* associazioni: griglia di tessere */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile { background: var(--surface); border: 1px solid transparent; border-radius: var(--r); padding: 26px 22px; min-height: 196px; display: flex; flex-direction: column; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tile:hover { border-color: rgba(244, 179, 36, .5); transform: translateY(-3px); }
.tile:nth-child(4n + 1) { background: var(--surface-2); }
.tile h3 { font-size: 19px; letter-spacing: -.015em; margin-bottom: auto; padding-bottom: 18px; }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* gallery a mosaico */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 14px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; background: var(--surface); grid-row: span 2; }
.g-item:nth-child(1) { grid-column: 1 / 3; }
.g-item:nth-child(6) { grid-column: 3 / 5; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item:hover img { transform: scale(1.05); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 12, 24, .92); }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; width: auto; height: auto; border-radius: var(--r); }
.lb-close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 20px; cursor: pointer; display: grid; place-items: center; }

/* contatti */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.socio { margin-top: 40px; padding-left: 22px; border-left: 3px solid var(--gold); }
.socio h3, .social h3 { font-size: 22px; margin-bottom: 8px; }
.socio p, .social p { color: var(--muted); }
.social { margin-top: 36px; }
.social-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.form-card { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field span { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: 400 16px/1.5 var(--font); color: var(--text); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: 13px 15px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

/* ---------- pagine interne ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); background: radial-gradient(700px 400px at 85% 30%, rgba(244, 179, 36, .08), transparent 70%), var(--bg); }
.page-hero h1 { font-size: clamp(50px, 7.5vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.page-hero-sub { margin-top: 18px; font-size: clamp(20px, 2.2vw, 26px); font-style: italic; color: var(--gold); }
.page-hero-mark { position: absolute; width: clamp(280px, 34vw, 460px); right: -6%; top: 50%; transform: translateY(-50%); opacity: .08; }

.story { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.story-text p { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.story-text p:first-child { color: var(--text); font-size: clamp(20px, 2vw, 24px); line-height: 1.5; }
.story-text p + p { margin-top: 20px; }
.values { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.values li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.values .ph { color: var(--gold); font-size: 20px; margin-top: 3px; }
.rti { background: var(--surface); border-radius: var(--r); padding: 34px 32px; position: sticky; top: calc(var(--header-h) + 32px); }
.rti h2 { font-size: 30px; margin-bottom: 18px; }
.rti p { color: var(--muted); }
.rti p + p { margin-top: 14px; }

.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.member { text-decoration: none; text-align: center; }
.member-photo { width: min(100%, 210px); aspect-ratio: 1; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 7px var(--line-strong); transition: box-shadow .4s var(--ease); }
.member:hover .member-photo { box-shadow: 0 0 0 6px var(--bg-2), 0 0 0 8px var(--gold); }
.avatar { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .avatar { transform: scale(1.05); }
.avatar-initials { display: grid; place-items: center; background: linear-gradient(145deg, var(--surface-2), var(--navy)); color: var(--gold); font-size: clamp(36px, 4vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.member h3 { font-size: 21px; letter-spacing: -.02em; }
.member-role { margin-top: 6px; color: var(--gold); font-size: 14px; font-weight: 700; }
.member-job { margin-top: 2px; color: var(--muted); font-size: 15px; }

.decades { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.decade h3 { font-size: 15px; font-weight: 700; color: var(--gold); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-strong); letter-spacing: 0; }
.decade ol { display: grid; gap: 12px; }
.decade li { display: grid; gap: 1px; }
.pp-y { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pp-n { font-size: 16px; font-weight: 600; line-height: 1.3; }

.honor { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.honor-life ul { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.honor-life h4 { font-size: 19px; letter-spacing: -.015em; }
.honor-life p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.honor-year { background: var(--gold); color: var(--on-gold); border-radius: var(--r); padding: 30px; }
.hy-label { font-weight: 700; font-size: 15px; }
.hy-year { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 20px; }
.honor-year h3 { font-size: 26px; }
.honor-year p:last-child { margin-top: 4px; color: rgba(17, 26, 48, .78); }
.honor-memory li { font-size: 19px; font-weight: 600; font-style: italic; color: var(--muted); }
.honor-memory li + li { margin-top: 10px; }

/* attività */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { border: 1.5px solid var(--line-strong); background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 150px 1fr 64px; gap: 32px; align-items: center; background: var(--surface); border-radius: var(--r); padding: 26px; text-decoration: none; transition: background-color .3s var(--ease); }
.event:hover { background: var(--surface-2); }
.date-block { aspect-ratio: 1; border-radius: var(--r-sm); background: var(--bg); display: grid; place-content: center; text-align: center; gap: 2px; }
.db-day { font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--gold); }
.db-month { font-weight: 700; }
.db-year { color: var(--muted); font-size: 14px; }
.event h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.025em; margin: 12px 0 12px; }
.meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 15px; margin-top: 4px; }
.meta .ph, .facts .ph { color: var(--gold); font-size: 18px; flex: none; }
.event-text { margin-top: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-size: 22px; transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.event:hover .event-go { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--on-gold); }
.badge.is-past { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 18px; }
.empty .ph { font-size: 44px; color: var(--gold); display: block; margin: 0 auto 16px; }

.detail { padding-top: clamp(40px, 6vw, 64px); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600; margin-bottom: 36px; }
.back:hover { color: var(--gold); }
.profile { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.profile-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px rgba(244, 179, 36, .6); }
.profile h1 { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; letter-spacing: -.04em; margin-top: 4px; }
.profile-job { margin-top: 8px; font-size: 20px; font-style: italic; color: var(--muted); }
.profile-text { margin-top: 24px; color: var(--muted); max-width: 56ch; }

.ed-head { display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: center; }
.ed-head .date-block { background: var(--surface); }
.event-detail h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.facts { display: grid; gap: 10px; margin-top: 36px; padding: 22px 0; border-block: 1px solid var(--line); }
.facts p { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.event-img { margin-top: 28px; border-radius: var(--r); }
.event-full { margin-top: 28px; font-size: 19px; color: var(--muted); }
.event-full a { color: var(--gold); font-weight: 600; text-underline-offset: 3px; }

.press-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.press-list li:first-child { grid-column: 1 / -1; }
.press { height: 100%; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); padding: 28px; text-decoration: none; border: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.press:hover { border-color: rgba(244, 179, 36, .5); background: var(--surface-2); }
.press-src { color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.press h2 { font-size: clamp(20px, 1.8vw, 23px); letter-spacing: -.02em; line-height: 1.2; }
.press-ex { color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.press-foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; }
.press-foot span { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; }
.press:hover .press-foot span { color: var(--gold); }
.press-main { padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 48px; align-items: end; }
.press-main .press-src { grid-column: 1 / -1; }
.press-main h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; grid-row: 2 / 4; align-self: start; }
.press-main .press-ex { margin-top: 0; font-size: 17px; }
.press-main .press-foot { grid-column: 2; }

.intro-lead { margin-top: 0; font-size: clamp(20px, 2vw, 24px); color: var(--text); max-width: 46ch; line-height: 1.5; }
.ways { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 48px; }
.way { position: relative; border-radius: var(--r); padding: 32px; background: var(--surface); min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.way .b-ic { color: var(--gold); }
.way h3 { font-size: 28px; margin-bottom: 10px; }
.way p { color: var(--muted); }
.way-main { grid-row: span 2; background: var(--gold); color: var(--on-gold); min-height: 456px; }
.way-main h3 { font-size: clamp(36px, 4vw, 48px); }
.way-main p { color: rgba(17, 26, 48, .82); font-size: 19px; max-width: 34ch; }
.way-main .b-ic { color: var(--on-gold); font-size: 40px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band .lead { max-width: 52ch; }

.simple .btn { margin-top: 32px; }
.simple .lead { margin-top: 0; }

.prose { max-width: 760px; }
.prose .lead { margin: 0 0 8px; max-width: none; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; margin: 56px 0 18px; }
.prose p { color: var(--muted); line-height: 1.75; margin: 0 0 16px; }
.prose ul { list-style: disc; margin: 0; padding-left: 22px; display: grid; gap: 12px; color: var(--muted); line-height: 1.65; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); text-underline-offset: 3px; }

/* ---------- footer ---------- */
.site-footer { background: #0a1020; color: var(--muted); padding-top: 72px; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.footer-motto { margin-top: 12px; color: var(--gold); font-style: italic; font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-h { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--text); margin-bottom: 16px; }
.footer-list li + li { margin-top: 10px; }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; transition: color .2s; }
.footer-list a:hover { color: var(--gold); }
.footer-list .ph { font-size: 18px; color: var(--gold); }
.footer-bottom { margin-top: 64px; padding: 24px 0 32px; border-top: 1px solid var(--line); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .enter { animation: rise .9s var(--ease) both; }
  html.js .hero .enter:nth-child(2), html.js .page-hero .enter { animation-delay: .08s; }
  html.js .hero .enter:nth-child(3) { animation-delay: .16s; }
  html.js .hero .enter:nth-child(4) { animation-delay: .24s; }
  html.js .hero-visual.enter { animation: grow 1.2s var(--ease) .1s both; }
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
}
/* La ruota del logo.
   1. Il sigillo dell'hero entra rotolando: 140% della sua larghezza = 2,8 raggi = 160 gradi, quindi rotola senza slittare.
   2. Mentre si scorre, le ruote girano con lo scroll (rotate separato da transform, così le due animazioni si sommano).
   Lo scroll-driven è solo dove il browser lo supporta: altrove la ruota resta ferma. */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-seal { animation: wheel-roll-in 1.4s var(--ease) .55s both; }
  @supports (animation-timeline: scroll()) {
    .hero-seal img { animation: wheel-turn linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .b-mark { animation: wheel-turn-slow linear both; animation-timeline: view(); animation-range: cover; }
  }
  html.js .page-hero-mark { opacity: 0; animation-name: wheel-fade-in; animation-duration: 1.2s; animation-timing-function: var(--ease); animation-delay: .15s; animation-fill-mode: forwards; }
  @supports (animation-timeline: scroll()) {
    html.js .page-hero-mark { animation: wheel-fade-in 1.2s var(--ease) .15s forwards, wheel-turn-slow linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 70vh; }
  }
}
@keyframes wheel-roll-in {
  from { opacity: 0; transform: translateX(-140%) rotate(-160deg); }
  25% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
@keyframes wheel-turn { from { rotate: 0deg; } to { rotate: 220deg; } }
@keyframes wheel-turn-slow { from { rotate: -30deg; } to { rotate: 60deg; } }
@keyframes wheel-fade-in { from { opacity: 0; scale: .92; } to { opacity: .08; scale: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes grow { from { opacity: 0; transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .decades { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .honor { grid-template-columns: 1fr 1fr; }
  .honor-life { grid-column: 1 / -1; }
  .members { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { height: 30px; }
  .nav-toggle { display: grid; }
  .nav { position: fixed; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: var(--bg); padding: 16px 24px 32px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav a { font-size: 26px; font-weight: 700; color: var(--text); padding: 12px 16px; letter-spacing: -.02em; }
  .hero-grid, .about, .initiatives, .contact, .story { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(400px, 92%); margin-top: 8px; }
  .about-intro, .rti { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .init-photo { aspect-ratio: 16 / 10; }
  .event { grid-template-columns: 110px 1fr; }
  .event-go { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .press-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .hero-cta .btn { width: 100%; }
  .stat { padding: 22px 12px 0 16px; }
  .bento { grid-template-columns: 1fr; }
  .b { min-height: 0; }
  .b-photo { grid-row: auto; min-height: 400px; }
  .b-ic { padding-bottom: 22px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 0; padding: 20px 16px; }
  .tile h3 { font-size: 17px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-item:nth-child(1), .g-item:nth-child(6) { grid-column: 1 / -1; }
  .form-row, .values, .honor, .honor-life ul { grid-template-columns: 1fr; }
  .social-btns .btn, .form .btn { width: 100%; }
  .members { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .member h3 { font-size: 18px; }
  .decades { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { width: 210px; margin: 0 auto; }
  .event { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .event .date-block { width: 96px; }
  .ed-head { grid-template-columns: 96px 1fr; gap: 20px; }
  .db-day { font-size: 38px; }
  .ways { grid-template-columns: 1fr; }
  .way-main { grid-row: auto; min-height: 320px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .press-list { grid-template-columns: 1fr; }
  .press-main { display: flex; align-items: stretch; }
  .press-main .press-ex { margin-top: 12px; }
}
