/* ==========================================================================
   ASD M.O.S. — Matteo Ovidio Serra · foglio di stile unico (v2 "sport")
   Palette: blu notte + azzurro elettrico dal logo, giallo sole solo per le
   azioni. Tipografia corsiva condensata da maglia. Font self-hosted.
   Regola: i contenuti partono VISIBILI; le animazioni si attivano via JS.
   ========================================================================== */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-800-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 900; font-display: swap; src: url('../fonts/barlow-condensed-900-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-var.woff2') format('woff2'); }

:root {
  --navy: #061634;
  --navy-2: #0b2350;
  --navy-3: #10306b;
  --brand: #0b4f9c;
  --brand-dark: #083b75;
  --electric: #00b4ff;
  --electric-2: #3cc8ff;
  --sky-soft: #e8f6ff;
  --accent: #ffcd00;
  --accent-dark: #f2b600;
  --ink: #061634;
  --text: #2c3a55;
  --muted: #56667f;
  --bg: #ffffff;
  --bg-alt: #f1f6fc;
  --line: #dbe5f1;
  --on-dark: #e8eef8;
  --on-dark-muted: #aebfd8;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(6, 22, 52, .06);
  --shadow-md: 0 16px 40px rgba(6, 22, 52, .12);
  --shadow-lg: 0 30px 70px rgba(6, 22, 52, .24);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1260px;
  --nav-h: 92px;
  --slant: 70px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --grad-electric: linear-gradient(90deg, var(--electric) 0%, #1f7fff 100%);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; overflow-x: clip; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: .95; margin: 0 0 .45em; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 900; font-style: italic; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 700; font-style: italic; text-transform: uppercase; line-height: 1.05; }
h4 { font-size: 1.1rem; font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .08em; }
h2 em, h1 em { font-style: italic; color: var(--brand); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- utility ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow-x: clip; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: var(--electric); }
.section-dark p { color: var(--on-dark-muted); }
.slant-both { clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-top: calc(clamp(80px, 10vw, 140px) + var(--slant)); padding-bottom: calc(clamp(80px, 10vw, 140px) + var(--slant)); margin: calc(var(--slant) * -1) 0; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: italic 700 1.05rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--grad-electric); transform: skewX(-24deg); }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .dream .eyebrow { color: var(--electric-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--muted); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 70px); position: relative; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
/* parola fantasma dietro ai titoli di sezione */
[data-ghost] { position: relative; z-index: 0; }
[data-ghost]::before {
  content: attr(data-ghost); position: absolute; z-index: -1; left: -6px; top: -.62em;
  font: italic 900 clamp(5rem, 13vw, 11rem)/1 var(--font-display); text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(11, 79, 156, .11); pointer-events: none; letter-spacing: .01em;
}
.section-head.center[data-ghost]::before { left: 50%; transform: translateX(-50%); }
.section-dark [data-ghost]::before, .dream [data-ghost]::before { -webkit-text-stroke-color: rgba(255, 255, 255, .08); }
.text-link { font: italic 700 1.1rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.text-link::after { content: ""; width: 26px; height: 2px; background: currentColor; transition: width .35s var(--ease); }
.text-link:hover::after { width: 44px; }

/* ---------- bottoni (parallelogramma sportivo) ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 34px; border: 0; border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  font: italic 800 1.2rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--electric); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); color: #fff; }
/* varianti a contorno: inclinate con transform (il testo in .t si raddrizza) */
.btn-outline, .btn-ghost { clip-path: none; transform: skewX(-12deg); }
.btn-outline .t, .btn-ghost .t { display: inline-flex; align-items: center; gap: 10px; transform: skewX(12deg); }
.btn-outline { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: skewX(-12deg) translateY(-3px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: skewX(-12deg) translateY(-3px); }
.btn-outline:focus-visible, .btn-ghost:focus-visible { box-shadow: inset 0 0 0 3px var(--electric); }

/* ---------- barra avanzamento + torna su ---------- */
.progress { position: fixed; left: 0; top: 0; z-index: 120; height: 4px; width: 100%; background: linear-gradient(90deg, var(--electric), var(--accent)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; text-decoration: none;
  box-shadow: 0 12px 30px rgba(6, 22, 52, .35); border: 2px solid rgba(255, 255, 255, .18);
  transition: transform .4s var(--ease), opacity .4s, background .3s;
}
.to-top svg { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.to-top:hover { background: var(--brand); color: #fff; }
.to-top:hover svg { transform: rotate(-180deg); }
.reveal-ready .to-top:not(.is-shown) { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }

/* ---------- topbar ---------- */
.topbar { background: var(--navy); color: var(--on-dark-muted); font-size: .84rem; position: relative; z-index: 91; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-links { display: flex; gap: 22px; }
.topbar-motto { margin: 0; font: italic 800 1rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 10px; }
.topbar-motto::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 205, 0, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 205, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 205, 0, 0); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: background .35s, box-shadow .35s, border-color .35s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255, 255, 255, .96); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); transition: height .35s var(--ease); }
.site-header.scrolled .nav-inner { height: 74px; }
.nav-brand { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.nav-brand img { width: auto; height: 62px; transition: height .35s var(--ease), transform .6s var(--ease); }
.nav-brand:hover img { transform: rotate(-8deg) scale(1.05); }
.site-header.scrolled .nav-brand img { height: 52px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-text strong { font: italic 900 1.95rem/1 var(--font-display); letter-spacing: .02em; color: var(--navy); transition: color .35s; }
.nav-brand-text span { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-top: 5px; transition: color .35s; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  position: relative; display: block; white-space: nowrap; padding: 10px 14px; text-decoration: none;
  color: var(--ink); font: italic 700 1.18rem/1 var(--font-display); letter-spacing: .05em; text-transform: uppercase; transition: color .25s;
}
.nav-menu > li:not(.nav-cta) > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--grad-electric); transform: scaleX(0) skewX(-24deg); transform-origin: left; transition: transform .35s var(--ease); }
.nav-menu a:hover { color: var(--brand); }
.nav-menu > li:not(.nav-cta) > a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1) skewX(-24deg); }
.nav-menu a[aria-current="page"] { color: var(--brand); }
.nav-cta { margin-left: 12px; }
.nav-menu .nav-cta a.btn { padding: 12px 26px; min-height: 48px; color: var(--navy); font-size: 1.1rem; }

/* header trasparente sopra l'hero della home */
.site-header.is-over:not(.scrolled):not(.has-menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-over:not(.scrolled):not(.has-menu-open) .nav-brand-text strong { color: #fff; }
.site-header.is-over:not(.scrolled):not(.has-menu-open) .nav-brand-text span { color: var(--electric-2); }
.site-header.is-over:not(.scrolled):not(.has-menu-open) .nav-menu > li:not(.nav-cta) > a { color: #fff; }
.site-header.is-over:not(.scrolled):not(.has-menu-open) .nav-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.site-header.is-over:not(.scrolled):not(.has-menu-open) .nav-toggle span { background: #fff; }

/* ---------- menu mobile (da templates/menu.css — non togliere le note) ---------- */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
/* l'header con backdrop-filter diventerebbe il containing block del pannello fixed */
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-toggle {
  display: none; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  position: relative; z-index: 95; transition: background .3s, border-color .3s;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1100px) {
  :root { --nav-h: 80px; }
  .site-header.scrolled .nav-inner { height: 70px; }
  .nav-brand img { height: 52px; }
  .site-header.scrolled .nav-brand img { height: 46px; }
  .nav-brand-text strong { font-size: 1.65rem; }
  .nav-brand-text span { font-size: .68rem; letter-spacing: .1em; }
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89; background: rgba(6, 22, 52, .6);
    border: 0; padding: 0; cursor: pointer; opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 92; width: min(88vw, 380px);
    background: var(--navy) linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 60%);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 104px 28px 40px;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s linear 0s; }
  .nav-menu.is-open > li { animation: menuIn .5s var(--ease) both; }
  .nav-menu.is-open > li:nth-child(2) { animation-delay: .05s; } .nav-menu.is-open > li:nth-child(3) { animation-delay: .1s; }
  .nav-menu.is-open > li:nth-child(4) { animation-delay: .15s; } .nav-menu.is-open > li:nth-child(5) { animation-delay: .2s; }
  .nav-menu.is-open > li:nth-child(6) { animation-delay: .25s; } .nav-menu.is-open > li:nth-child(7) { animation-delay: .3s; }
  .site-header .nav-menu > li:not(.nav-cta) > a { color: #fff; padding: 14px 6px; font-size: 1.9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-menu > li:not(.nav-cta) > a::after { left: 6px; right: auto; width: 40px; bottom: 8px; }
  .site-header .nav-menu > li:not(.nav-cta) > a[aria-current="page"] { color: var(--electric-2); }
  .nav-cta { margin: 24px 0 0; }
  .nav-menu .nav-cta a.btn { width: 100%; justify-content: center; text-align: center; font-size: 1.3rem; }
  .site-header.has-menu-open .nav-toggle { background: var(--navy-2); border-color: rgba(255, 255, 255, .2); }
  .site-header.has-menu-open .nav-toggle span { background: #fff; }
  /* col body bloccato (position:fixed) l'header sticky finirebbe fuori schermo
     insieme al pulsante di chiusura: lo fissiamo in cima */
  body.is-locked .site-header { position: fixed; top: 0; left: 0; right: 0; }
}
@keyframes menuIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ---------- HERO HOME ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy);
  margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h);
  min-height: min(100svh, 980px); display: flex; flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero-media { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-1.5%, 1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(6, 22, 52, .97) 0%, rgba(6, 22, 52, .88) 38%, rgba(11, 79, 156, .45) 70%, rgba(6, 22, 52, .3) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 85% 30%, rgba(0, 180, 255, .28), transparent 60%); mix-blend-mode: screen; pointer-events: none; }
/* strisce "velocità" */
.hero-stripes { position: absolute; z-index: -1; right: -6%; top: 0; bottom: 0; width: 46%; pointer-events: none;
  background: repeating-linear-gradient(-66deg, transparent 0 46px, rgba(255, 255, 255, .045) 46px 58px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.hero-pitch { position: absolute; z-index: -1; left: 50%; top: 50%; width: 1500px; max-width: none; transform: translate(-30%, -50%); opacity: .14; pointer-events: none; }
.hero-pitch * { fill: none; stroke: #fff; stroke-width: 2; }
.hero-ghost {
  position: absolute; z-index: -1; right: 3%; bottom: 8%; pointer-events: none; user-select: none;
  font: italic 900 clamp(14rem, 34vw, 32rem)/.8 var(--font-display); color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .13); letter-spacing: -.02em; will-change: transform;
}
.hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: calc(var(--slant) + 70px); }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; padding: 9px 18px 9px 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .86rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #dbe8f8; }
.hero-kicker .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s infinite; flex: none; }
.hero h1 { color: #fff; margin-bottom: 26px; font-size: clamp(2.7rem, 5.5vw, 5.4rem); }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .12em .08em 0; margin-bottom: -.08em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .hl > span { position: relative; z-index: 0; color: var(--navy); padding: 0 .2em 0 .12em; }
.hero h1 .hl > span::before { content: ""; position: absolute; inset: .08em 0 .04em 0; z-index: -1; background: var(--accent); transform: skewX(-12deg); }
.hero .lead { color: #d3e0f2; max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; margin-top: 36px; }
/* card "giocatore" */
.player-card {
  justify-self: end; width: min(100%, 330px); position: relative; border-radius: 22px; overflow: hidden;
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .22); box-shadow: var(--shadow-lg); transform: rotate(3deg);
  transition: transform .6s var(--ease);
}
.player-card:hover { transform: rotate(0deg) scale(1.02); }
.player-card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 15%; }
.player-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(6, 22, 52, .96) 86%); pointer-events: none; }
.player-card::before { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 48%, transparent 60%); transform: translateX(-100%); animation: holo 6s ease-in-out infinite 2s; pointer-events: none; }
@keyframes holo { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.player-card .pc-num { position: absolute; top: 12px; right: 18px; z-index: 3; font: italic 900 4.6rem/1 var(--font-display); color: var(--accent); text-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
.player-card .pc-body { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 20px; }
.player-card .pc-name { font: italic 900 2.1rem/.95 var(--font-display); text-transform: uppercase; color: #fff; }
.player-card .pc-role { font-size: .84rem; color: var(--on-dark-muted); margin-top: 8px; letter-spacing: .04em; }
.player-card .pc-motto { display: inline-block; margin-top: 12px; padding: 5px 12px; font: italic 800 .95rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); background: var(--accent); transform: skewX(-12deg); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: calc(var(--slant) + 22px); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; font-size: .93rem; color: #cfe0f5; }
.hero-badges li { display: flex; align-items: center; gap: 9px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--electric-2); flex: none; }
.scroll-cue { position: absolute; right: 28px; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #cfe0f5; text-decoration: none; font: italic 700 .9rem/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue:hover { color: var(--accent); }
.scroll-cue svg { width: 34px; height: 34px; color: #fff; animation: bounceBall 1.8s var(--ease) infinite; }
@keyframes bounceBall { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(10px) rotate(180deg); } }

/* intro dell'hero: solo con JS (.js, messo in <head>); si sblocca comunque dopo 2,5 s */
.js .intro { opacity: 0; animation: introSafety 0s linear 2.5s forwards; }
.js .hero h1 .line > span.intro { opacity: 1; transform: translateY(110%); animation: introSafetyY 0s linear 2.5s forwards; }
.js.intro-go .intro { animation: introUp .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
.js.intro-go .hero h1 .line > span.intro { animation: lineUp 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
.js.intro-go .player-card.intro { animation: cardIn 1.3s var(--ease-out) both; animation-delay: .6s; }
@keyframes introSafety { to { opacity: 1; } }
@keyframes introSafetyY { to { transform: none; } }
@keyframes introUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(80px) rotate(14deg) scale(.9); } to { opacity: 1; transform: rotate(3deg); } }
.hero-pitch .draw { stroke-dasharray: 2600; stroke-dashoffset: 0; }
.js.intro-go .hero-pitch .draw { animation: draw 3.2s var(--ease) both .2s; }
@keyframes draw { from { stroke-dashoffset: 2600; } to { stroke-dashoffset: 0; } }

/* ---------- nastri incrociati ---------- */
.ticker { position: relative; z-index: 3; height: 150px; margin: -100px 0 -30px; overflow: hidden; pointer-events: none; }
.ticker-band { position: absolute; left: -5%; width: 110%; overflow: hidden; white-space: nowrap; padding: 14px 0; }
.ticker-a { top: 40px; background: var(--accent); transform: rotate(-3deg); box-shadow: 0 16px 36px rgba(6, 22, 52, .25); z-index: 2; }
.ticker-b { top: 48px; background: var(--brand); transform: rotate(2.4deg); z-index: 1; }
.ticker-track { display: inline-flex; animation: marquee 38s linear infinite; will-change: transform; }
.ticker-b .ticker-track { animation-direction: reverse; animation-duration: 46s; }
.ticker-track span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: italic 900 1.9rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.ticker-b .ticker-track span { color: transparent; -webkit-text-stroke: 1.2px #fff; }
.ticker-track svg { width: 26px; height: 26px; flex: none; }
.ticker-b .ticker-track svg { color: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- card programma (home) ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program {
  position: relative; isolation: isolate; min-height: 480px; border-radius: 6px 6px var(--radius-lg) var(--radius-lg); overflow: hidden; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 30px; text-decoration: none; background: var(--navy);
  box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.program-media { position: absolute; inset: 0; z-index: -2; }
.program-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.1); transform: scale(1.02); transition: transform 1.1s var(--ease), filter .8s var(--ease); }
.program::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 79, 156, .35) 0%, rgba(6, 22, 52, .55) 38%, rgba(6, 22, 52, .97) 76%); }
.program::after { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.program:hover, .program:focus-visible { box-shadow: var(--shadow-lg); color: #fff; }
.program:hover .program-media img, .program:focus-visible .program-media img { transform: scale(1.1); filter: grayscale(0) contrast(1.05); }
.program:hover::after, .program:focus-visible::after { transform: scaleX(1); }
.program-num { position: absolute; top: 18px; right: 24px; font: italic 900 5.6rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .6); transition: color .5s, -webkit-text-stroke-color .5s, transform .6s var(--ease); }
.program:hover .program-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); transform: translateY(-4px) rotate(-4deg); }
.program-tag { align-self: flex-start; margin-bottom: 14px; padding: 6px 12px; font: italic 800 .9rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; background: var(--electric); color: var(--navy); transform: skewX(-12deg); }
.program h3 { color: #fff; font-size: clamp(1.9rem, 2.6vw, 2.35rem); margin-bottom: 10px; }
.program p { color: #cbd8ea; font-size: 1rem; margin-bottom: 18px; }
.program .text-link { color: var(--accent); }

/* ---------- split immagine + testo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 7vw, 110px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; z-index: 0; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.frame { position: relative; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); overflow: hidden; }
.frame img { transition: transform 1.2s var(--ease); }
.split-media:hover .frame img { transform: scale(1.05); }
.split-media::before { content: ""; position: absolute; z-index: -1; right: -24px; top: -24px; width: 55%; height: 55%; background: repeating-linear-gradient(-60deg, var(--electric) 0 3px, transparent 3px 14px); opacity: .4; }
.split-media::after { content: ""; position: absolute; z-index: -1; left: 3%; bottom: -20px; width: 42%; height: 14px; background: var(--accent); transform: skewX(-24deg); }
.split-media .media-tag {
  position: absolute; left: -12px; bottom: 34px; z-index: 2; background: var(--navy); color: #fff; padding: 18px 30px 18px 24px; box-shadow: var(--shadow-lg); max-width: 280px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.media-tag strong { display: block; font: italic 900 2.9rem/1 var(--font-display); color: var(--accent); }
.media-tag span { font-size: .9rem; color: var(--on-dark-muted); }
/* maglia n. 26 */
.jersey { position: absolute; z-index: 3; right: -30px; bottom: -40px; width: clamp(140px, 16vw, 196px); filter: drop-shadow(0 18px 30px rgba(6, 22, 52, .35)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-14px); } }
/* adesivo rotante */
.sticker { position: absolute; z-index: 3; left: -36px; top: -36px; width: 150px; height: 150px; display: grid; place-items: center; }
.sticker svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker .core { width: 78px; height: 78px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--navy); box-shadow: 0 10px 24px rgba(6, 22, 52, .25); }
.sticker .core svg { width: 44px; height: 44px; animation: spin 7s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.check-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--electric); border-radius: 4px 14px 14px 4px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.check-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-left-color: var(--accent); }
.check-list svg { width: 26px; height: 26px; flex: none; color: var(--brand); margin-top: 1px; }
.check-list strong { color: var(--ink); }

/* citazione */
.quote { position: relative; margin: 32px 0; padding: 24px 60px 22px 28px; background: var(--navy); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  font: italic 800 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display); text-transform: uppercase; }
.quote::before { content: "\201C"; position: absolute; right: 28px; top: -4px; font: italic 900 6rem/1 var(--font-display); color: var(--electric); opacity: .6; }
.quote cite { display: block; margin-top: 10px; font: 500 .88rem/1.4 var(--font-body); font-style: normal; text-transform: none; color: var(--on-dark-muted); letter-spacing: .02em; }

/* ---------- tabellone numeri ---------- */
.scoreboard { overflow: hidden; }
.pitch-bg { position: absolute; inset: 0; z-index: 0; opacity: .07; pointer-events: none; }
.pitch-bg svg { width: 100%; height: 100%; }
.pitch-bg * { fill: none; stroke: #fff; stroke-width: 2; }
.scoreboard .container { z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  position: relative; padding: 28px 26px 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12); border-top: 4px solid var(--electric); border-radius: 6px 6px 18px 18px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.stat:hover { transform: translateY(-6px); border-top-color: var(--accent); }
.stat::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px); pointer-events: none; }
.stat-label { display: block; font: italic 700 1rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--electric-2); margin-bottom: 14px; }
.stat-num { display: block; font: italic 900 clamp(3.8rem, 6.5vw, 5.6rem)/.9 var(--font-display); color: var(--accent); margin-bottom: 14px; text-shadow: 0 0 30px rgba(255, 205, 0, .35); font-variant-numeric: tabular-nums; }
.stat p { font-size: .95rem; margin: 0; color: var(--on-dark-muted); }

/* ---------- timeline memorial ---------- */
.timeline { list-style: none; margin: 0; padding: 38px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; background: var(--grad-electric); transform-origin: left; transition: transform 1.6s var(--ease); }
.reveal-ready .timeline:not(.is-visible)::before { transform: scaleX(0); }
.timeline li { position: relative; background: #fff; border-radius: 6px 6px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.timeline li::before { content: ""; position: absolute; top: -36px; left: 26px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg-alt), 0 0 0 7px var(--electric); z-index: 2; }
.section:not(.section-alt) .timeline li::before { box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--electric); }
.timeline li:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.timeline .tl-img { overflow: hidden; border-radius: 6px 6px 0 0; }
.timeline img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.timeline li:hover img { transform: scale(1.07); }
.timeline .tl-body { padding: 24px 26px 28px; }
.tl-when { display: inline-block; font: italic 800 .95rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--accent); padding: 6px 12px; margin-bottom: 14px; transform: skewX(-12deg); }
.timeline h3 { margin-bottom: 8px; }
.timeline p { font-size: .98rem; color: var(--muted); margin: 0; }

/* ---------- banner sogno ---------- */
.dream { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy); }
.dream-media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.dream-media img { width: 100%; height: 100%; object-fit: cover; }
.dream::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(6, 22, 52, .97) 0%, rgba(6, 22, 52, .88) 55%, rgba(11, 79, 156, .55) 100%); }
.dream-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.dream h2 { color: #fff; }
.dream h2 em { color: var(--accent); }
.dream p { color: #d3e0f2; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-left: 4px solid var(--accent); border-radius: 4px 18px 18px 4px; padding: 20px 22px; transition: transform .4s var(--ease), background .4s; }
.feature-list li:hover { transform: translateX(-8px); background: rgba(255, 255, 255, .12); }
.feature-list svg { width: 32px; height: 32px; color: var(--electric-2); flex: none; margin-top: 2px; }
.feature-list strong { display: block; color: #fff; margin-bottom: 4px; font: italic 800 1.4rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.feature-list span { color: var(--on-dark-muted); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: var(--navy); background: var(--accent);
  padding: clamp(44px, 6vw, 76px) clamp(30px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-60deg, transparent 0 36px, rgba(6, 22, 52, .05) 36px 48px); }
.cta-band .ball-bg { position: absolute; right: 3%; top: 50%; width: 340px; height: 340px; margin-top: -170px; z-index: -1; color: rgba(6, 22, 52, .1); animation: spin 30s linear infinite; }
.cta-band h2 { color: var(--navy); margin-bottom: 10px; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.cta-band p { color: #3d3300; margin: 0; max-width: 620px; font-weight: 500; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.cta-band .btn-ghost { color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); background: transparent; }
.cta-band .btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- card blog / generiche ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: 6px 6px var(--radius-lg) var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.post-card .pc-img { position: relative; display: block; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover img { transform: scale(1.07); }
.post-card .pc-cat { position: absolute; left: 20px; top: 18px; padding: 6px 12px; font: italic 800 .9rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--navy); transform: skewX(-12deg); }
.post-card-body { padding: 20px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.post-card h3 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 32% no-repeat; transition: background-size .5s var(--ease); }
.post-card:hover h3 a { background-size: 100% 32%; }
.post-card p { color: var(--muted); font-size: 1rem; flex: 1; }

.pillar {
  position: relative; background: #fff; border-radius: 6px 6px var(--radius-lg) var(--radius-lg); padding: 34px 30px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); border-top: 5px solid var(--electric); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.pillar[data-n]::after { content: attr(data-n); position: absolute; right: 18px; top: 4px; font: italic 900 4.8rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(11, 79, 156, .14); transition: transform .5s var(--ease); }
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.pillar:hover::after { transform: translateY(-4px) rotate(-4deg); }
.pillar-icon { width: 62px; height: 62px; background: var(--navy); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); transition: background .4s; }
.pillar:hover .pillar-icon { background: var(--brand); }
.pillar-icon svg { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.pillar:hover .pillar-icon svg { transform: rotate(-12deg) scale(1.12); }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 1rem; flex: 1; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.info-card h3 { margin-bottom: 10px; }
.info-card p:last-child { margin-bottom: 0; }

/* ---------- pagine interne ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
}
.page-hero-media { position: absolute; inset: -10% 0 0; z-index: -3; will-change: transform; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(6, 22, 52, .97) 0%, rgba(6, 22, 52, .84) 58%, rgba(11, 79, 156, .5) 100%); }
.page-hero .hero-stripes { width: 40%; }
.page-ghost { position: absolute; z-index: -1; right: 2%; bottom: 40px; font: italic 900 clamp(6rem, 17vw, 15rem)/.85 var(--font-display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); white-space: nowrap; pointer-events: none; will-change: transform; }
.page-hero .container { padding-top: clamp(60px, 8vw, 110px); padding-bottom: calc(clamp(60px, 8vw, 100px) + 50px); }
.page-hero h1 { color: #fff; font-size: clamp(2.7rem, 6vw, 5rem); max-width: 950px; margin-bottom: 18px; }
.page-hero .lead { color: #d3e0f2; max-width: 680px; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font: italic 700 1rem/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--electric); }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 28px 0; }
.prose ul li, .prose ol li { margin-bottom: .5em; }
.prose .answer { background: var(--sky-soft); border-left: 5px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; color: var(--ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 70px); align-items: start; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-card { background: var(--navy); color: var(--on-dark); border-radius: 6px 6px var(--radius-lg) var(--radius-lg); padding: 30px; border-top: 5px solid var(--accent); }
.aside-card h3 { color: #fff; font-size: 1.9rem; }
.aside-card p { color: var(--on-dark-muted); font-size: .98rem; }
.aside-card .btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--electric); border-radius: 4px 14px 14px 4px; padding: 0 22px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-left-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; line-height: 1; color: var(--navy); background: var(--accent); border-radius: 50%; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }
.faq details[open] > p { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- galleria ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.gallery-filters button {
  border: 0; background: #fff; color: var(--ink); padding: 12px 24px; cursor: pointer; box-shadow: inset 0 0 0 2px var(--line);
  font: italic 800 1.1rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; transform: skewX(-12deg); transition: background .25s, color .25s, box-shadow .25s;
}
.gallery-filters button:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand); }
.gallery-filters button[aria-pressed="true"] { background: var(--navy); color: var(--accent); box-shadow: none; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense; }
.gallery-item { margin: 0; position: relative; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.gallery-item[hidden] { display: none; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-item button { all: unset; display: block; cursor: zoom-in; width: 100%; height: 100%; }
.gallery-item button:focus-visible { outline: 3px solid var(--electric); outline-offset: -3px; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--ease), filter .6s; }
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font: italic 700 1.05rem/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(6, 22, 52, .92)); pointer-events: none; transform: translateY(8px); opacity: .92; transition: transform .45s var(--ease), opacity .45s; }
.gallery-item:hover figcaption { transform: none; opacity: 1; }
.gallery-item .zoom { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; transform: scale(0) rotate(-90deg); transition: transform .45s var(--ease); pointer-events: none; }
.gallery-item .zoom svg { width: 20px; height: 20px; }
.gallery-item:hover .zoom, .gallery-item button:focus-visible .zoom { transform: none; }
.gallery-item.is-filtering { animation: popIn .55s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(4, 14, 34, .95); display: none; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox.is-open { display: flex; animation: fadeIn .3s ease; }
.lightbox.is-open img { animation: lbZoom .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox figcaption { color: #fff; text-align: center; font: italic 700 1.3rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .04em; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); width: 54px; height: 54px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; transition: background .25s, color .25s; }
.lightbox button:hover { background: var(--accent); color: var(--navy); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--electric); border-radius: 4px 16px 16px 4px; padding: 18px 20px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.contact-list li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-left-color: var(--accent); }
.contact-list .ci { width: 52px; height: 52px; background: var(--navy); color: var(--accent); display: grid; place-items: center; flex: none; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.contact-list .ci svg { width: 24px; height: 24px; }
.contact-list strong { display: block; color: var(--ink); font: italic 800 1.05rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.contact-list a { text-decoration: none; color: var(--text); }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.form-card { position: relative; background: #fff; border-radius: 6px 6px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-top: 6px solid var(--accent); }
.form-card h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-alt);
  border: 0; border-bottom: 2px solid var(--line); border-radius: 10px 10px 4px 4px; padding: 14px 15px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--electric); background: #fff; box-shadow: 0 0 0 4px rgba(0, 180, 255, .16); }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); padding: 0; }
.field-check label { font-weight: 400; color: var(--text); font-size: .93rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: #0f7a3d; }
.form-status.is-error { color: #b42318; }
.form-card .btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.map-link { display: block; position: relative; overflow: hidden; text-decoration: none; background: var(--navy); color: #fff; padding: 26px 28px; clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%); transition: background .3s; }
.map-link:hover { background: var(--brand); color: #fff; }
.map-link strong { display: block; font: italic 800 1.6rem/1.1 var(--font-display); text-transform: uppercase; color: var(--accent); }
.map-link span { color: var(--on-dark-muted); font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--on-dark-muted); padding-top: 90px; font-size: .96rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--electric) 0 33%, var(--brand) 33% 66%, var(--accent) 66% 100%); }
.footer-pitch { position: absolute; inset: 0; opacity: .05; pointer-events: none; }
.footer-pitch svg { width: 100%; height: 100%; }
.footer-pitch * { fill: none; stroke: #fff; stroke-width: 2; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { width: 180px; height: auto; margin-bottom: 20px; transition: transform .6s var(--ease); }
.footer-logo:hover { transform: rotate(-6deg) scale(1.04); }
.footer-col p { color: var(--on-dark-muted); }
.footer-motto { margin: 0 0 10px; font: italic 900 1.7rem/1 var(--font-display); text-transform: uppercase; color: var(--accent); }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.site-footer h4::before { content: ""; width: 18px; height: 4px; background: var(--electric); transform: skewX(-24deg); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; transition: color .25s, padding .25s; }
.site-footer ul a:hover { color: var(--accent); padding-left: 6px; }
.footer-wordmark { position: relative; text-align: center; font: italic 900 clamp(5rem, 19vw, 17rem)/.8 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09); letter-spacing: .02em; user-select: none; margin-bottom: -.05em; white-space: nowrap; pointer-events: none; }
.section-cta { padding-bottom: clamp(60px, 7vw, 90px); }
.footer-bottom { padding-right: 90px !important; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .87rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- animazioni allo scorrimento (solo con JS: .reveal-ready) ---------- */
.reveal-ready .reveal, .reveal-ready .reveal-left, .reveal-ready .reveal-right, .reveal-ready .reveal-zoom {
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), box-shadow .45s var(--ease), border-color .45s; transition-delay: var(--d, 0ms);
}
.reveal-ready .reveal.is-done, .reveal-ready .reveal-left.is-done, .reveal-ready .reveal-right.is-done, .reveal-ready .reveal-zoom.is-done { transition-delay: 0ms; transition-duration: .45s; }
.reveal-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(46px); }
.reveal-ready .reveal-left:not(.is-visible) { opacity: 0; transform: translateX(-70px); }
.reveal-ready .reveal-right:not(.is-visible) { opacity: 0; transform: translateX(70px); }
.reveal-ready .reveal-zoom:not(.is-visible) { opacity: 0; transform: scale(.88); }
.reveal-ready .reveal-wipe { transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-ready .reveal-wipe:not(.is-visible) { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.reveal-ready .reveal-wipe.is-visible img { animation: wipeZoom 1.6s var(--ease-out); }
@keyframes wipeZoom { from { transform: scale(1.25); } to { transform: scale(1); } }
/* titoli che salgono parola per parola */
.split-ready .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .06em 0; margin: 0 -.08em -.06em 0; }
.split-ready .w > span { display: inline-block; transition: transform .9s var(--ease-out); transition-delay: calc(var(--wi) * 55ms); }
.split-ready:not(.is-visible) .w > span { transform: translateY(110%); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .dream-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .player-card { display: none; }
}
@media (max-width: 900px) {
  :root { --slant: 44px; }
  .programs, .timeline, .cards-3 { grid-template-columns: 1fr; }
  .program { min-height: 400px; }
  .timeline { padding: 0 0 0 38px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; transform-origin: top; }
  .reveal-ready .timeline:not(.is-visible)::before { transform: scaleY(0); }
  .timeline li::before { left: -38px; top: 26px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media .media-tag { left: 8px; }
  .jersey { right: 0; bottom: -30px; }
  .sticker { left: -6px; top: -30px; width: 118px; height: 118px; }
  .sticker .core { width: 60px; height: 60px; }
  .sticker .core svg { width: 34px; height: 34px; }
  .cta-band { grid-template-columns: 1fr; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
  .topbar-motto { display: none; }
  .hero-bottom { position: static; padding-bottom: calc(var(--slant) + 40px); }
  .hero-inner { padding-bottom: 30px; }
  .scroll-cue { display: none; }
  .ticker { height: 120px; margin: -72px 0 -14px; }
  .ticker-a { top: 30px; } .ticker-b { top: 38px; }
  .ticker-track span { font-size: 1.45rem; gap: 18px; padding-right: 18px; }
}
@media (max-width: 768px) {
  .cards-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero::before { background: linear-gradient(180deg, rgba(6, 22, 52, .8) 0%, rgba(6, 22, 52, .93) 100%); }
  .hero-ghost { right: -6%; bottom: 28%; }
  [data-ghost]::before { font-size: clamp(4rem, 22vw, 7rem); top: -.45em; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-cta .btn, .cta-band .btn, .dream .btn { width: 100%; }
  .btn-outline, .btn-ghost { transform: none; }
  .btn-outline:hover, .btn-ghost:hover { transform: translateY(-3px); }
  .btn-outline .t, .btn-ghost .t { transform: none; }
  .topbar-links { gap: 14px; }
  .topbar .container { justify-content: center; }
  .topbar-mail { display: none; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .hero-badges { gap: 10px 18px; font-size: .88rem; }
  .gallery-item.big { grid-column: span 2; grid-row: span 1; }
  .gallery-item.big img { aspect-ratio: 2 / 1.3; }
  .quote { padding-right: 40px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .gallery { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal:not(.is-visible), .reveal-ready .reveal-left:not(.is-visible), .reveal-ready .reveal-right:not(.is-visible), .reveal-ready .reveal-zoom:not(.is-visible) { opacity: 1; transform: none; }
  .reveal-ready .reveal-wipe:not(.is-visible) { clip-path: none; }
  .split-ready:not(.is-visible) .w > span { transform: none; }
  .js .intro { opacity: 1; }
  .js .hero h1 .line > span.intro { transform: none; }
}
