/* GENGA 2026 — stile principale */
:root {
  --navy: #101827;
  --navy-2: #172235;
  --paper: #f5f3ee;
  --white: #ffffff;
  --red: #e63946;
  --red-dark: #c92e3a;
  --ink: #111827;
  --muted: #aab2c0;
  --line: rgba(16, 24, 39, .16);
  --font-heading: "Space Grotesk", "Arial Black", sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-light { background: var(--paper); color: var(--ink); }
.section-red { background: var(--red); color: var(--white); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; color: var(--navy); background: var(--white); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(16, 24, 39, .96); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 15px var(--font-heading); letter-spacing: .08em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--red); color: white; font: 700 21px var(--font-heading); transform: skew(-5deg); }
.brand-year { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); }
.nav-links > a:not(.nav-cta) { font-size: 10px; font-weight: 700; letter-spacing: .09em; color: #d3d8e1; transition: color .2s; }
.nav-links > a:not(.nav-cta):hover { color: var(--white); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--red); color: white; padding: 13px 15px; font-size: 10px; font-weight: 700; letter-spacing: .05em; transition: background .2s, transform .2s; }
.nav-cta:hover, .button-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; color: white; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px; }
.hero { overflow: hidden; position: relative; padding: 82px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; min-height: 540px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 10px; font-weight: 700; letter-spacing: .15em; color: #d4d9e3; }
.eyebrow-dark { color: #6e7581; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; box-shadow: 0 0 0 4px rgba(230,57,70,.15); }
.hero h1, .section-heading h2, .candidate-copy h2, .days-header h2, .thanks-layout h2, .final-cta h2 { margin: 0; font: 700 clamp(3.3rem, 7.1vw, 6.8rem)/.91 var(--font-heading); letter-spacing: -.075em; }
.text-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.88); }
.red-word { color: var(--red); }
.hero-subtitle { max-width: 470px; margin: 27px 0 30px; font-size: 17px; color: #c2c9d4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 18px; border: 1px solid transparent; font-size: 10px; font-weight: 700; letter-spacing: .07em; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button-red { color: white; background: var(--red); }
.button-outline { border-color: rgba(255,255,255,.3); color: white; }
.button-outline:hover { color: var(--navy); background: white; }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { background: var(--red); transform: translateY(-2px); }
.hero-footnote { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 9px; font-weight: 700; letter-spacing: .12em; color: #8d97a8; }
.mini-line { width: 28px; height: 1px; background: var(--red); }
.dot-separator { color: var(--red); }
.hero-visual { position: relative; min-height: 490px; display: flex; align-items: center; justify-content: center; }
.portrait-frame { position: relative; overflow: hidden; background: #293447; }
.hero-portrait { width: min(100%, 440px); height: 490px; border: 1px solid rgba(255,255,255,.18); }
.hero-portrait img { opacity: .92; }
.portrait-label { position: absolute; bottom: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: end; padding: 14px 16px; color: white; background: rgba(16,24,39,.8); border-left: 3px solid var(--red); }
.portrait-label span { font-size: 9px; letter-spacing: .13em; }
.portrait-label strong { font: 700 28px var(--font-heading); letter-spacing: -.04em; }
.hero-stamp { position: absolute; top: 24px; right: -5px; width: 96px; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--red); border-radius: 50%; color: white; background: var(--red); transform: rotate(11deg); box-shadow: 0 0 0 7px rgba(230,57,70,.15); }
.hero-stamp span { font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.hero-stamp strong { font: 700 34px var(--font-heading); line-height: 1.05; }
.hero-side-note { position: absolute; bottom: 34px; right: -34px; font-size: 9px; font-weight: 700; letter-spacing: .12em; line-height: 1.6; color: #9aa4b5; writing-mode: vertical-rl; }
.hero-bottom { display: flex; justify-content: space-between; padding-top: 24px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.15); color: #8792a4; font-size: 9px; letter-spacing: .12em; font-weight: 700; }
.intro-strip { background: var(--red); color: white; overflow: hidden; }
.intro-strip-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.intro-strip p { margin: 0; font: 700 clamp(13px, 2vw, 22px) var(--font-heading); letter-spacing: -.03em; }
.strip-star { font-size: 24px; }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading h2 { font-size: clamp(3rem, 6vw, 5.8rem); }
.section-lead { max-width: 560px; margin: 24px 0 0; color: #6e7581; font-size: 16px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason-card { position: relative; min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; padding: 27px; overflow: hidden; background: #fff; border: 1px solid #e4e1db; transition: transform .25s, box-shadow .25s; }
.reason-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16,24,39,.08); }
.reason-card-red { background: var(--red); color: white; border-color: var(--red); }
.card-number { position: absolute; top: 8px; right: 16px; color: rgba(16,24,39,.07); font: 700 90px/.9 var(--font-heading); letter-spacing: -.1em; }
.reason-card-red .card-number { color: rgba(255,255,255,.16); }
.card-icon { position: relative; z-index: 1; width: 74px; height: 74px; display: grid; place-items: center; margin-bottom: 26px; color: white; background: var(--navy); font: 700 29px var(--font-heading); }
.tax-icon { font-size: 20px; transform: rotate(-5deg); }
.tax-icon span { color: var(--red); }
.reason-card-red .card-icon { background: white; color: var(--red); border-radius: 50%; font-size: 54px; }
.days-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 25px; }
.days-icon span { font: 700 10px var(--font-body); letter-spacing: .1em; }
.card-kicker { margin: 0 0 10px; font-size: 9px; letter-spacing: .12em; font-weight: 700; color: #8a919b; }
.reason-card-red .card-kicker { color: rgba(255,255,255,.7); }
.reason-card h3 { position: relative; z-index: 1; margin: 0 0 14px; font: 700 clamp(1.55rem, 2.2vw, 2rem)/1.02 var(--font-heading); letter-spacing: -.06em; }
.reason-card > p:not(.card-kicker) { margin: 0 0 26px; font-size: 13px; color: #68717f; }
.reason-card-red > p:not(.card-kicker) { color: rgba(255,255,255,.88); }
.card-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(16,24,39,.13); width: 100%; font-size: 8px; font-weight: 700; letter-spacing: .12em; color: #7e8794; }
.reason-card-red .card-footer { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.candidate-section { padding: 110px 0; overflow: hidden; }
.candidate-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.candidate-photo-wrap { position: relative; padding: 0 0 28px 20px; }
.candidate-photo-wrap::before { content: ""; position: absolute; inset: 18px 18px 8px 0; border: 1px solid var(--red); }
.candidate-photo { position: relative; z-index: 1; height: 510px; background: #263247; }
.photo-caption { position: relative; z-index: 2; display: block; margin-top: 12px; color: #8c97a8; font-size: 8px; letter-spacing: .1em; }
.photo-index { position: absolute; z-index: 2; top: 0; right: -20px; color: var(--red); font: 700 18px var(--font-heading); writing-mode: vertical-rl; }
.candidate-copy h2 { font-size: clamp(3.3rem, 6vw, 5.7rem); }
.candidate-intro { max-width: 500px; margin: 28px 0 12px; font: 600 21px/1.35 var(--font-heading); color: white; }
.candidate-body { max-width: 510px; margin: 0; color: #aeb8c8; font-size: 14px; }
.candidate-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 35px 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.candidate-stats div { display: flex; flex-direction: column; gap: 5px; }
.candidate-stats span { font-size: 8px; font-weight: 700; letter-spacing: .13em; color: #8e9aac; }
.candidate-stats strong { font: 700 17px var(--font-heading); }
.candidate-stats small { font-size: 8px; line-height: 1.4; color: #aeb8c8; }
.program-heading { margin-bottom: 42px; }
.program-list { border-top: 1px solid var(--line); }
.program-item { display: grid; grid-template-columns: 80px 1fr 100px; gap: 26px; align-items: center; padding: 28px 10px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.program-item:hover { padding-inline: 20px; background: rgba(255,255,255,.7); }
.program-num { align-self: start; color: var(--red); font: 700 35px var(--font-heading); letter-spacing: -.08em; }
.program-label { margin: 0 0 8px; color: #777f8b; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.program-content h3 { margin: 0 0 8px; font: 700 clamp(1.25rem, 2.5vw, 1.8rem)/1.1 var(--font-heading); letter-spacing: -.045em; }
.program-content > p:last-child { max-width: 690px; margin: 0; color: #69717e; font-size: 14px; }
.program-symbol { justify-self: center; display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid #d7d4ce; color: var(--red); font: 700 38px var(--font-heading); }
.document-symbol { padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-top: 4px solid var(--red); }
.document-symbol span { height: 3px; width: 100%; background: #c7c9cd; }
.document-symbol span:nth-child(2) { width: 75%; }
.document-symbol span:nth-child(3) { width: 90%; }
.calendar-symbol { position: relative; display: flex; flex-direction: column; gap: 0; border-top: 5px solid var(--red); font: 700 10px var(--font-body); }
.calendar-symbol strong { font: 700 28px var(--font-heading); }
.calendar-symbol i { position: absolute; right: 5px; bottom: 4px; color: var(--red); font-style: normal; }
.mic-symbol { font-size: 48px; }
.handshake-symbol { font-size: 40px; }
.program-disclaimer { margin: 24px 0 0; color: #7c838e; font-size: 11px; }
.days-section { padding: 108px 0 0; overflow: hidden; }
.days-header { max-width: 760px; }
.days-header h2 { font-size: clamp(3.1rem, 6.5vw, 6rem); }
.days-header > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.85); margin: 24px 0 0; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 68px 0 82px; border-top: 1px solid rgba(255,255,255,.4); }
.timeline-item { padding: 26px 24px 0 0; position: relative; }
.timeline-marker { width: 42px; height: 42px; display: grid; place-items: center; margin-top: -21px; margin-bottom: 25px; background: var(--navy); border: 1px solid rgba(255,255,255,.65); color: white; font: 700 13px var(--font-heading); }
.timeline-days { font-size: 9px; letter-spacing: .15em; font-weight: 700; color: rgba(255,255,255,.7); }
.timeline-content h3 { margin: 12px 0; font: 700 24px/1.05 var(--font-heading); letter-spacing: -.04em; }
.timeline-content p { max-width: 310px; color: rgba(255,255,255,.83); font-size: 13px; }
.status-pill { display: inline-block; margin-top: 10px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.45); font-size: 8px; font-weight: 700; letter-spacing: .07em; }
.stats-band { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 38px 0 60px; border-top: 1px solid rgba(255,255,255,.35); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat strong { font: 700 clamp(3.5rem, 6vw, 5.7rem)/1 var(--font-heading); letter-spacing: -.08em; }
.stat span { max-width: 200px; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.stats-disclaimer { position: absolute; right: 0; bottom: 14px; margin: 0; font-size: 8px; color: rgba(255,255,255,.7); }
.gallery-heading { max-width: 850px; }
.gallery-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 250px 250px; gap: 14px; }
.gallery-card { position: relative; min-width: 0; padding: 0; border: 0; text-align: left; cursor: zoom-in; overflow: hidden; background: #263247; color: white; }
.gallery-large { grid-row: span 2; }
.gallery-card img { transition: transform .45s; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(16,24,39,.88)); pointer-events: none; }
.gallery-caption { position: absolute; z-index: 1; left: 20px; right: 50px; bottom: 18px; display: flex; flex-direction: column; gap: 3px; color: white; }
.gallery-caption strong { font: 700 14px var(--font-heading); letter-spacing: .02em; }
.gallery-caption span { font-size: 11px; color: #d4d9e3; }
.gallery-expand { position: absolute; z-index: 2; right: 16px; bottom: 17px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.6); }
.gallery-note { margin: 18px 0 0; font-size: 11px; color: #737b87; }
/* RINGRAZIAMENTI */
.thanks-section {
padding: 100px 0;
overflow: hidden;
}

.thanks-inner > .eyebrow {
margin-bottom: 38px;
}

.thanks-layout {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
align-items: center;
gap: 70px;
}

.thanks-copy-column {
min-width: 0;
}

.thanks-layout h2 {
margin: 0;
font-size: clamp(2.7rem, 5.2vw, 5.1rem);
line-height: 0.98;
}

.thanks-copy {
max-width: 610px;
margin: 28px 0 35px;
color: #c2cad6;
font-size: 16px;
}

.thanks-photo-column {
min-width: 0;
}

.ringraziamento-foto {
width: 100%;
max-width: 380px;
margin: 0 auto;
overflow: hidden;
border: 2px solid var(–red);
border-radius: 16px;
background: var(–navy-2);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.ringraziamento-foto img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 4 / 5;
object-fit: cover;
object-position: center;
}

.thanks-photo-caption {
max-width: 380px;
margin: 14px auto 0;
color: #8c97a8;
font-size: 9px;
font-weight: 700;
letter-spacing: 0.1em;
text-align: center;
}

.official-stamp {
width: 210px;
aspect-ratio: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
padding: 24px;
border: 3px solid var(–red);
outline: 1px solid var(–red);
outline-offset: 7px;
color: white;
text-align: center;
transform: rotate(-5deg);
}

.official-stamp span {
font-size: 9px;
font-weight: 700;
letter-spacing: 0.1em;
}

.official-stamp strong {
color: var(–red);
font: 700 28px var(–font-heading);
line-height: 1;
}

@media (max-width: 800px) {
.thanks-layout {
grid-template-columns: 1fr;
gap: 45px;
}

.thanks-layout h2 {
font-size: clamp(2.7rem, 9vw, 4.5rem);
}

.thanks-photo-column {
width: 100%;
}

.ringraziamento-foto {
max-width: 340px;
}

.official-stamp {
width: 180px;
margin: 25px 0 0 10px;
}
}

@media (max-width: 480px) {
.thanks-layout h2 {
font-size: clamp(2.3rem, 10vw, 3.4rem);
}

.thanks-copy {
font-size: 14px;
}

.ringraziamento-foto {
max-width: 300px;
}
}
.official-stamp { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; border: 3px solid var(--red); outline: 1px solid var(--red); outline-offset: 7px; color: white; text-align: center; transform: rotate(7deg); }
.official-stamp span { font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.official-stamp strong { color: var(--red); font: 700 28px var(--font-heading); line-height: 1; }
.final-cta { padding: 105px 0; background: var(--paper); text-align: center; }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(3.1rem, 7vw, 6.3rem); }
.final-cta p:not(.eyebrow) { max-width: 460px; margin: 24px 0 26px; color: #6e7581; }
.site-footer { background: #0b111c; color: white; }
.footer-inner { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-inner > p { max-width: 470px; margin: 0; color: #8792a4; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-align: center; }
.back-top { color: #d4d9e3; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.cv-modal, .lightbox-modal { border: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.cv-modal { width: min(600px, calc(100% - 28px)); max-width: none; padding: clamp(24px, 5vw, 46px); }
.cv-modal::backdrop, .lightbox-modal::backdrop { background: rgba(5,10,18,.82); backdrop-filter: blur(5px); }
.modal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-top .eyebrow { margin: 0; font-size: 8px; }
.modal-close, .lightbox-close { border: 0; background: transparent; color: var(--ink); font-size: 32px; cursor: pointer; line-height: 1; }
.cv-modal h2 { margin: 28px 0 12px; font: 700 clamp(2.5rem, 7vw, 4rem)/.95 var(--font-heading); letter-spacing: -.07em; }
.modal-intro { color: #6e7581; font-size: 13px; }
.cv-row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cv-row span { color: #777f8b; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.cv-row strong { text-align: right; font: 600 13px var(--font-heading); }
.modal-disclaimer { margin: 20px 0 0; color: #7c838e; font-size: 10px; }
.lightbox-modal { width: min(1000px, calc(100% - 24px)); max-width: none; max-height: 90vh; padding: 14px; background: #0b111c; overflow: visible; }
.lightbox-modal img { width: 100%; max-height: calc(90vh - 28px); object-fit: contain; }
.lightbox-close { position: absolute; top: -42px; right: 0; color: white; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1000px) {
  .nav-links { gap: 12px; }
  .nav-links > a:not(.nav-cta) { font-size: 9px; }
  .nav-cta { padding: 11px; }
  .hero-grid { gap: 25px; }
  .hero-side-note { right: -17px; }
  .candidate-grid { gap: 50px; }
  .candidate-photo { height: 460px; }
}
@media (max-width: 800px) {
  .container { width: min(100% - 36px, var(--container)); }
  .section { padding: 78px 0; }
  .navbar { min-height: 70px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 20px 24px 24px; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.nav-cta) { padding: 14px 0; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { justify-content: space-between; margin-top: 14px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { font-size: clamp(3.3rem, 13vw, 6rem); }
  .hero-visual { min-height: 0; margin: 8px 12px 0 0; }
  .hero-portrait { height: min(115vw, 520px); width: 100%; }
  .hero-stamp { right: -12px; top: 15px; }
  .hero-side-note { right: -24px; bottom: 20px; }
  .hero-bottom { font-size: 7px; gap: 20px; }
  .intro-strip-inner { min-height: 70px; flex-wrap: wrap; justify-content: center; gap: 9px 15px; padding-block: 15px; }
  .intro-strip p { font-size: 12px; }
  .strip-star { font-size: 16px; }
  .section-heading { margin-bottom: 35px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card { min-height: 320px; }
  .candidate-grid { grid-template-columns: 1fr; gap: 52px; }
  .candidate-photo { height: min(115vw, 520px); }
  .candidate-copy h2 { font-size: clamp(3.5rem, 13vw, 5.5rem); }
  .program-item { grid-template-columns: 44px 1fr 55px; gap: 13px; padding: 24px 0; }
  .program-item:hover { padding-inline: 8px; }
  .program-num { font-size: 27px; }
  .program-symbol { width: 48px; height: 48px; font-size: 28px; }
  .document-symbol { padding: 9px; }
  .calendar-symbol strong { font-size: 20px; }
  .timeline { grid-template-columns: 1fr; margin: 55px 0 60px; border-top: 0; border-left: 1px solid rgba(255,255,255,.4); margin-left: 20px; }
  .timeline-item { padding: 0 0 34px 25px; }
  .timeline-marker { position: absolute; left: -21px; top: 0; margin: 0; }
  .timeline-content h3 { font-size: 23px; }
  .stats-band { gap: 20px 10px; padding-bottom: 70px; }
  .stat strong { font-size: clamp(3rem, 12vw, 4.5rem); }
  .stat span { font-size: 8px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 220px; }
  .gallery-large { grid-column: span 2; grid-row: auto; }
  .thanks-layout { grid-template-columns: 1fr; gap: 45px; }
  .official-stamp { width: 200px; justify-self: center; }
  .footer-inner { padding-block: 25px; flex-wrap: wrap; }
  .footer-inner > p { order: 3; width: 100%; text-align: left; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-footnote { flex-wrap: wrap; font-size: 7px; }
  .hero-bottom span { max-width: 48%; line-height: 1.5; }
  .section-heading h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .candidate-stats { grid-template-columns: 1fr; gap: 16px; }
  .candidate-stats div { display: grid; grid-template-columns: 95px 1fr; align-items: baseline; }
  .candidate-stats small { grid-column: 2; }
  .program-item { grid-template-columns: 34px 1fr; }
  .program-symbol { display: none; }
  .program-num { font-size: 24px; }
  .program-content h3 { font-size: 20px; }
  .days-header h2, .thanks-layout h2 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .stats-band { grid-template-columns: 1fr; gap: 26px; }
  .stat { display: grid; grid-template-columns: 95px 1fr; align-items: center; }
  .stat strong { grid-row: span 2; }
  .stat span { max-width: none; }
  .stats-disclaimer { left: 0; right: auto; font-size: 7px; }
  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-card { height: 270px; flex: none; }
  .final-cta h2 { font-size: clamp(2.8rem, 12vw, 4.3rem); }
  .cv-row { flex-direction: column; gap: 5px; }
  .cv-row strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.ringraziamento-foto {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #ed3f4b;
    border-radius: 16px;
    background: #172746;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.ringraziamento-foto img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 650px) {
    .ringraziamento-foto {
        max-width: 300px;
    }
}
