/* GT Angolo 50 — v3, "one motif" (tasteskill, seed 301465201), brand kept.
   The badge sets everything: badge black for the frame (header, heads, hero, footer), badge yellow for the one
   action and the ring, white for type on black, paper for long reading. Display type is Archivo condensed and
   heavy, like ANGOLO in the badge. The motif is the badge's round shape: the ball, the ring, the pill button. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* colour: the badge */
  --black: #021217;
  --black-2: #0b2028;
  --black-3: #163640;
  --yellow: #fab900;
  --yellow-2: #ffc933;
  --white: #ffffff;
  /* v4: the whole site is the dark sala; paper only for real paper objects (notes, sheets, mockups) */
  --paper: #021217;
  --paper-2: #0d262e;
  --paper-3: #1d4049;
  --surface: #0a2129;
  --ink: #f2f5f5;
  --ink-soft: #b3c1c5;
  --on-dark: #ffffff;
  --on-dark-soft: #b7c3c7;
  --felt: #0b6b58;
  --error: #b3261e;

  /* type */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem);
  --step-display: clamp(3.75rem, 1.5rem + 8.4vw, 10rem);

  /* space */
  --container: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 9vw, 9rem);
  --nav-h: 5rem;
  --ring: clamp(8px, 0.9vw, 14px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; color-scheme: dark; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; background: var(--paper-2); }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--black); }
[hidden] { display: none !important; }
.nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 80; background: var(--yellow); color: var(--black); padding: 0.7rem 1.1rem; font-weight: 700; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--ink-soft); }
.lead { font-size: var(--step-lead); line-height: 1.4; }

/* The frame: one container, one pair of margins, everywhere. */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section) 0; }
main > .section:last-child, main > section.wrap:last-child { padding-bottom: var(--section); }

/* Display type: condensed and heavy, like the badge lettering. */
.head, .hero__title, .bis__title, .phead__title, .article__title, .event-title, .year__n, .footer__word, .big, .tile__title, .stats dd, .figures dd, .readout dd, .bis__years span, .info__word, .about__word {
  font-family: var(--font); font-weight: 800; font-stretch: 72%; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.92;
}
.head { font-size: var(--step-head); }
.head--s { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head > p { max-width: 52ch; }

/* Buttons: pill, the badge's round shape. One fill. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0 1.6rem; border-radius: 999px; background: var(--yellow); color: var(--black); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform 120ms ease; }
.button:hover { background: var(--yellow-2); }
.button:active { transform: scale(0.97); }
.button--s { min-height: 2.75rem; padding: 0 1.25rem; }
.button--ink { background: var(--black); color: var(--white); }
.button--ink:hover { background: var(--black-3); }
.button--dark { background: var(--black-3); color: var(--white); }
.button--dark:hover { background: #1f4552; }
.button--bone { background: var(--white); color: var(--black); }
.button--bone:hover { background: var(--yellow); }
.arrow { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }
.textlink { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.textlink:hover { text-decoration-color: currentColor; }

/* Tags */
.tag { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 0.7rem; border-radius: 999px; background: var(--paper-2); color: var(--ink); font-size: var(--step-small); font-weight: 600; }
.tag--titolo { background: var(--yellow); }
.tag--trofeo { background: var(--black); color: var(--white); }
.tag--individuale { background: var(--felt); color: var(--white); }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--black); color: var(--on-dark); transition: transform 260ms var(--ease-out), box-shadow 200ms ease; }
.nav.is-raised { box-shadow: 0 6px 24px rgba(2, 18, 23, 0.35); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; flex: none; }
.nav__brand .badge { width: auto; height: 3.4rem; }
.nav__word { display: grid; line-height: 1.05; }
.nav__word strong { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.45rem; letter-spacing: 0; }
.nav__word span { font-size: var(--step-small); color: var(--on-dark-soft); }
.nav__links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem; font-weight: 700; font-stretch: 85%; font-size: 1.0625rem; text-decoration: none; color: var(--on-dark); border-radius: 999px; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.nav__links a:hover { background: var(--black-3); }
.nav__links a[aria-current="page"] { color: var(--yellow); }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0.2rem; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--yellow); }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__menu, .menu__close { display: none; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--black-3); color: var(--white); font-weight: 700; }
.menu__close { display: inline-flex; }
.burger { position: relative; width: 20px; height: 14px; display: inline-block; }
.burger i { position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 5.75px; } .burger i:nth-child(3) { bottom: 0; }
.burger--x i { top: 5.75px !important; }
.burger--x i:nth-child(1) { transform: rotate(45deg); } .burger--x i:nth-child(2) { transform: rotate(-45deg); }
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__menu { display: inline-flex; }
}
@media (max-width: 560px) {
  :root { --nav-h: 4.25rem; }
  .nav__brand .badge { height: 2.8rem; }
  .nav__word span { display: none; }
  .nav__word strong { font-size: 1.2rem; }
  .nav__menu span:last-child { display: none; }
  .nav__menu { padding: 0 0.85rem; }
  .nav__inner { gap: 0.75rem; }
  .nav__actions { gap: 0.5rem; }
  .nav__actions .button--s { padding: 0 1rem; }
  .nav__brand { gap: 0.6rem; }
}
@media (max-width: 380px) { .nav__word { display: none; } }

/* Menu: full screen, black */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0 0 2rem; border: 0; background: var(--black); color: var(--on-dark); overflow-y: auto; }
.menu:not([open]) { display: none; }
.menu::backdrop { background: var(--black); }
.menu__top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu__top .badge { height: 3.4rem; width: auto; }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem var(--gap); padding-top: clamp(2rem, 5vw, 4rem); }
.menu__group h2 { font-size: var(--step-small); font-weight: 600; color: var(--yellow); margin-bottom: 0.75rem; }
.menu__group ul { list-style: none; display: grid; gap: 0.25rem; }
.menu__group a { display: grid; padding: 0.55rem 0; text-decoration: none; }
.menu__group a span { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; transition: color var(--t-hover) ease; }
.menu__group a:hover span { color: var(--yellow); }
.menu__group small { color: var(--on-dark-soft); font-size: 1rem; margin-top: 0.25rem; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 3rem; }
.menu__foot a:not(.button) { font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .menu__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Page head (inner pages) ---------- */
.phead { background: var(--black); color: var(--on-dark); padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.phead__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.25rem; align-items: end; }
.crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--step-small); color: var(--on-dark-soft); }
.phead .crumbs, .event-hero .crumbs { order: 9; margin-top: 1.5rem; }
.article__head .crumbs { margin-top: 1.5rem; }
.crumbs a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--yellow); }
.phead__title { grid-column: 1 / -1; font-size: clamp(2.5rem, 1.2rem + 6vw, 7.5rem); color: var(--yellow); }
.phead__title span { display: inline; }
.phead__lead { grid-column: 1 / 9; font-size: var(--step-lead); line-height: 1.4; color: var(--on-dark); max-width: 52ch; }
.phead__extra { grid-column: 1 / -1; margin-top: 1.25rem; }
main > .phead + .wrap:not(.formpage), main > .phead + section.wrap:not(.formpage) { padding-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 1000px) { .phead__title, .phead__lead { grid-column: 1 / -1; } .phead__lead { max-width: 52ch; } }
.albums-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.albums-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--black-3); color: var(--white); font-weight: 600; text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.albums-nav a:hover { background: var(--yellow); color: var(--black); }

/* ---------- Home: hero ---------- */
.hero { background: var(--black); color: var(--on-dark); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: min(calc(100svh - var(--nav-h)), 880px); padding-block: clamp(3rem, 6vw, 5rem); }
.hero__title { font-size: clamp(3rem, 7.6vw, 7.5rem); color: var(--yellow); }
@media (max-width: 900px) { .hero__title { font-size: min(15vw, 6rem); } }
.hero__lead { margin-top: 1.75rem; font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2.25rem; }
.hero__facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 34rem; }
.hero__facts li { display: grid; gap: 0.35rem; padding: 1.1rem 1.25rem; background: var(--black-2); }
.hero__facts strong { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--white); }
.hero__facts span { font-size: var(--step-small); color: var(--on-dark-soft); }
.hero__visual { position: relative; justify-self: end; width: min(100%, 36rem); }
.disc { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--black-2); border: var(--ring) solid var(--yellow); }
.disc img { width: 100%; height: 100%; object-fit: cover; }
.hero__disc { width: 100%; }
.hero__disc img { animation: drift 26s ease-in-out infinite alternate; }
.hero__badge { position: absolute; left: -6%; bottom: -2%; width: 44%; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45)); }
.hero__badge .badge { width: 100%; height: auto; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-2%, 1.5%); } }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 2.5rem 3.5rem; }
  .hero__visual { order: -1; justify-self: center; width: min(82vw, 26rem); margin-bottom: 0.5rem; }
  .hero__badge { width: 40%; left: -4%; }
}
@media (max-width: 900px) { .hero__facts { display: none; } }
@media (max-width: 480px) { .hero__actions .button { flex: 1 1 100%; } }

/* ---------- Home: scudetto bis (yellow field) ---------- */
.bis { background: var(--yellow); color: var(--black); padding-block: var(--section); }
.bis__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bis__title { font-size: clamp(3rem, 1rem + 7vw, 8.5rem); }
.bis__lead { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.4; max-width: 36ch; }
.bis__years { list-style: none; display: flex; gap: 2.5rem; margin-top: 2rem; }
.bis__years li { display: grid; font-weight: 600; }
.bis__years span { font-size: clamp(3rem, 2rem + 3vw, 5rem); }
.bis .textlink { text-decoration-color: var(--black); }
.bis__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 50% 50% 0 50% / 50% 50% 0 50%; }
.bis__photo figcaption { margin-top: 1rem; font-size: var(--step-small); max-width: 52ch; }
@media (max-width: 900px) { .bis__inner { grid-template-columns: 1fr; } }

/* ---------- Home: numbers ---------- */
.stats { background: var(--black); color: var(--on-dark); padding-block: var(--section); }
.stats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.stats__head p { max-width: 44ch; color: var(--on-dark-soft); }
.stats dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stats dl > div { display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.25rem, 2vw, 2rem); background: var(--black-2); min-height: 15rem; }
.stats dl > div:first-child { background: var(--yellow); color: var(--black); }
.stats dd { font-size: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.stats dt { margin-top: auto; font-size: var(--step-body); max-width: 22ch; }
@media (max-width: 900px) { .stats dl { grid-template-columns: 1fr 1fr; } .stats dl > div { min-height: 11rem; } }

/* ---------- Cards (news) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) var(--gap); }
.card { position: relative; display: flex; flex-direction: column; gap: 0.6rem; }
.card__pic { overflow: hidden; background: var(--paper-2); margin-bottom: 0.6rem; }
.card__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 500ms var(--ease-out); }
.card:hover .card__pic img { transform: scale(1.04); }
.card__title { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.2; font-weight: 700; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; font-size: var(--step-small); color: var(--ink-soft); }
.card__text { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cards--lead .card:first-child { grid-column: span 2; grid-row: span 2; }
.cards--lead .card:first-child .card__pic img { aspect-ratio: 16 / 10; }
.cards--lead .card:first-child .card__title { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.1; }
.card[hidden] { display: none; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } .cards--lead .card:first-child { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filters button { min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--paper-2); font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.filters button:hover { background: var(--paper-3); }
.filters button[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* ---------- Home: the club ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) var(--gap); }
.about__body { grid-column: 1 / 8; grid-row: 1; display: grid; gap: 1.5rem; align-content: start; }
.about__body p { max-width: 62ch; }
.about__facts { grid-column: 8 / 13; grid-row: 1; display: grid; gap: 6px; align-content: start; }
.about__facts > div { display: grid; gap: 0.15rem; padding: 1rem 1.25rem; background: var(--surface); }
.about__facts dt { font-size: var(--step-small); color: var(--ink-soft); font-weight: 600; }
.about__facts dd { font-weight: 600; }
.about__word { grid-column: 1 / -1; font-size: var(--step-head); margin-top: 1rem; }
.records { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.records > div { background: var(--black); color: var(--on-dark); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.25rem; align-content: start; }
.records h3 { font-size: var(--step-lead); font-weight: 700; color: var(--yellow); }
.records ul { list-style: none; display: grid; gap: 0.25rem; }
.records li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.9rem; background: var(--black-2); }
.records li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--yellow); }
.records .textlink { color: var(--white); }
@media (max-width: 900px) { .about__body, .about__facts { grid-column: 1 / -1; grid-row: auto; } .records { grid-template-columns: 1fr; } }

/* ---------- Home: the playable table ---------- */
.table { background: var(--felt); color: var(--white); padding-block: var(--section); margin-top: var(--section); }
.table__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem var(--gap); align-items: end; margin-bottom: 2.5rem; }
.table__head .head { grid-column: 1 / 7; }
.table__head p { grid-column: 7 / 13; max-width: 50ch; }
.table__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gap); align-items: start; }
.table__canvas { grid-column: 1 / 9; }
.table__canvas canvas { width: 100%; height: auto; aspect-ratio: 312 / 170; touch-action: none; cursor: crosshair; background: var(--black); }
.table__canvas canvas:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.table__side { grid-column: 9 / 13; display: grid; gap: 1.5rem; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.readout div { background: rgba(2, 18, 23, 0.32); padding: 0.9rem 1rem; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.readout dt { font-size: var(--step-small); }
.readout dd { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); color: var(--yellow); }
.table__msg { font-size: var(--step-lead); line-height: 1.3; min-height: 3.6em; }
.table__rules { list-style: none; display: grid; gap: 0.35rem; }
.table__rules li { font-size: 1rem; }
.table__rules strong { font-weight: 700; }
@media (max-width: 1000px) { .table__head .head, .table__head p, .table__canvas, .table__side { grid-column: 1 / -1; } }

/* ---------- Tiles: ways in ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(2rem, 4vw, 3rem); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 17rem; padding: clamp(1.5rem, 2.5vw, 2.25rem); text-decoration: none; overflow: hidden; transition: transform 220ms var(--ease-out); }
.tile::after { content: ""; position: absolute; right: -3.5rem; top: -3.5rem; width: 9rem; height: 9rem; border-radius: 50%; background: currentColor; opacity: 0.12; transition: transform 400ms var(--ease-out); }
.tile:hover { transform: translateY(-4px); }
.tile:hover::after { transform: scale(1.35); }
.tile__title { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.tile__foot { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.tile__text { max-width: 30ch; }
.tile .arrow { font-size: 1.75rem; }
.tile--y { background: var(--yellow); color: var(--black); }
.tile--k { background: var(--black); color: var(--white); }
.tile--g { background: var(--felt); color: var(--white); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; gap: 2.5rem; } .tile { min-height: 12rem; } }

/* ---------- Home: Trofeo teaser ---------- */
.trofeo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--black); color: var(--on-dark); padding: clamp(1.75rem, 5vw, 4.5rem); }
.trofeo__text { display: grid; gap: 1.5rem; }
.trofeo .head { color: var(--yellow); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.figures > div { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 1.1rem; background: var(--black-2); }
.figures dd { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); color: var(--white); }
.figures dt { font-size: var(--step-small); color: var(--on-dark-soft); }
.trofeo .hero__actions { margin-top: 0.5rem; }
.trofeo .button--ink { background: var(--yellow); color: var(--black); }
.trofeo .textlink { color: var(--white); }
.trofeo__poster { justify-self: center; width: min(100%, 22rem); }
.trofeo__poster img { width: 100%; border: var(--ring) solid var(--yellow); }
.trofeo__poster figcaption { margin-top: 1.75rem; color: var(--on-dark-soft); }
@media (max-width: 900px) { .trofeo { grid-template-columns: 1fr; } .figures { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Home: the room ---------- */
.band { display: flex; gap: 6px; height: clamp(22rem, 58vh, 36rem); }
.band figure { position: relative; flex: var(--g) 1 0; min-width: 0; overflow: hidden; margin: 0; transition: flex-grow 500ms var(--ease-out); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.8rem 1.1rem; color: #fff; font-size: var(--step-small); font-weight: 600; background: rgba(2, 18, 23, 0.72); opacity: 0; transition: opacity 300ms ease; }
.band figure:first-child figcaption { opacity: 1; }
.band__title, .band__titlebg { display: none; }
@media (hover: hover) { .band figure:hover { flex-grow: 6; } .band figure:hover figcaption { opacity: 1; } }
@media (max-width: 760px) { .band { height: auto; display: grid; grid-template-columns: 1fr 1fr; } .band figure { aspect-ratio: 1; } .band figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } .band figcaption { opacity: 1; } }

/* ---------- Home: info ---------- */
.info { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gap); align-items: start; }
.info__col { grid-column: 1 / 9; display: grid; gap: 1.5rem; }
.info__lead { grid-column: 1 / 9; grid-row: 2; display: none; }
.info__word { font-size: var(--step-head); }
.info__aside { grid-column: 9 / 13; }
.info__aside img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--ring) solid var(--yellow); }
.info__aside figcaption { margin-top: 1.75rem; }
.bars { display: grid; gap: 6px; }
.bars details { background: var(--surface); }
.bars summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4rem; padding: 0 1.5rem; font-weight: 700; font-size: var(--step-lead); cursor: pointer; list-style: none; }
.bars summary::-webkit-details-marker { display: none; }
.bars summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--yellow); font-weight: 700; transition: transform 200ms ease; }
.bars details[open] summary::after { content: "−"; }
.bars__panel { padding: 0 1.5rem 1.25rem; }
.bars__panel dl { display: grid; gap: 2px; }
.bars__panel dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.9rem; background: var(--paper); }
.bars__panel dd { font-weight: 600; text-align: right; }
@media (max-width: 900px) { .info__col, .info__aside { grid-column: 1 / -1; } .info__aside { max-width: 20rem; } }

/* ---------- Home: sponsors ---------- */
.sponsors { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gap); align-items: start; }
.sponsors__head { grid-column: 1 / 8; display: grid; gap: 1rem; }
.names { grid-column: 1 / 9; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.names li { padding: 0.55rem 1rem; border-radius: 999px; background: var(--surface); font-weight: 600; transition: background-color 400ms ease; }
.names li.is-lit { background: var(--yellow); }
.sponsors__photo { grid-column: 9 / 13; grid-row: 1 / 3; }
.sponsors__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .sponsors__head, .names, .sponsors__photo { grid-column: 1 / -1; grid-row: auto; } }

/* ---------- Contact band ---------- */
.contact { background: var(--black); color: var(--on-dark); padding-block: var(--section); margin-top: var(--section); }
.contact__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.contact__top .head { color: var(--yellow); }
.contact__top p { max-width: 44ch; color: var(--on-dark-soft); }
.contact__mail { display: inline-block; margin-top: clamp(2rem, 4vw, 3rem); font-weight: 700; font-size: min(clamp(1.5rem, 1rem + 2.2vw, 3rem), 7cqi); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.contact__mail:hover { color: var(--yellow); }
.contact__note { margin-top: 1rem; color: var(--on-dark-soft); }
.contact__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact__foot > div { background: var(--black-2); padding: 1.25rem 1.5rem; display: grid; gap: 0.35rem; }
.contact__foot a { font-weight: 600; }
.contact__foot .muted { color: var(--on-dark-soft); }
@media (max-width: 900px) { .contact__foot { grid-template-columns: 1fr; } }

/* ---------- Social room ---------- */
.live { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap); margin-bottom: var(--gap); background: var(--black); color: var(--on-dark); }
.live[hidden] { display: none; }
.live__frame { position: relative; aspect-ratio: 16 / 9; background: var(--black-2); overflow: hidden; }
.live__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live__text { padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: center; }
.live__dot { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--yellow); }
.live__dot::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: #e53935; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.live .textlink { color: var(--white); }
.feed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gap); }
.post { position: relative; display: grid; gap: 0.5rem; align-content: start; }
.post__pic { position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.post--square .post__pic { aspect-ratio: 1; }
.post__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.post:hover .post__pic img { transform: scale(1.04); }
.post__src { position: absolute; left: 0.6rem; top: 0.6rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--black); color: var(--white); font-size: var(--step-small); font-weight: 600; }
.post__title { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.post__title a { text-decoration: none; }
.post__title a::after { content: ""; position: absolute; inset: 0; }
.post__date { font-size: var(--step-small); color: var(--ink-soft); }
.feed__status { margin-top: 1.5rem; color: var(--ink-soft); }
@media (max-width: 1000px) { .feed { grid-template-columns: 1fr 1fr; } .live { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feed { grid-template-columns: 1fr; } }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.channels a { display: grid; gap: 2.5rem; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: var(--black); color: var(--white); text-decoration: none; min-height: 11rem; align-content: space-between; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.channels a:hover { background: var(--yellow); color: var(--black); }
.channels strong { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); line-height: 1; }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Results ---------- */
.year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.5rem; padding-top: var(--section); }
.year:first-child { padding-top: 0; }
.year__n { grid-column: 1 / 5; font-size: clamp(4rem, 2rem + 6vw, 8.5rem); line-height: 0.85; }
.year__pic { grid-column: 1 / 5; grid-row: 2; align-self: start; }
.year__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--ring) solid var(--yellow); }
.year__pic figcaption { margin-top: 1.5rem; font-size: var(--step-small); color: var(--ink-soft); max-width: 30ch; }
.year__list { grid-column: 5 / 13; grid-row: 1 / 3; list-style: none; display: grid; gap: 6px; align-content: start; }
.res { background: var(--surface); padding: clamp(1.25rem, 2vw, 1.75rem); display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1.5rem; }
.res__title { font-size: var(--step-lead); line-height: 1.2; font-weight: 700; }
.res .tag { grid-column: 2; grid-row: 1; align-self: start; }
.res__where { grid-column: 1 / -1; color: var(--ink-soft); font-weight: 600; }
.res__text { grid-column: 1 / -1; max-width: 64ch; }
.res__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; }
.res--titolo { background: var(--black); color: var(--on-dark); }
.res--titolo .res__where { color: var(--yellow); }
.res--titolo .tag { background: var(--yellow); color: var(--black); }
.res--titolo .sources a, .res--titolo summary { color: var(--on-dark); }
.src summary { min-height: 2.75rem; display: inline-flex; align-items: center; font-weight: 600; cursor: pointer; }
.sources { list-style: none; display: grid; gap: 0.3rem; font-size: var(--step-small); padding-bottom: 0.5rem; }
.sources a { overflow-wrap: break-word; }
@media (max-width: 900px) { .year__n, .year__pic, .year__list { grid-column: 1 / -1; grid-row: auto; } .year__pic { max-width: 16rem; } .res { grid-template-columns: 1fr; } .res .tag { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ---------- Article ---------- */
.article__head { background: var(--black); color: var(--on-dark); padding-block: clamp(2rem, 4vw, 3rem) clamp(6rem, 12vw, 10rem); }
.article__head .wrap > * { max-width: 60rem; }
.article__title { font-size: clamp(2.75rem, 1.6rem + 4.6vw, 6.5rem); color: var(--white); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.5rem; color: var(--on-dark-soft); font-weight: 600; }
.article__meta .tag { background: var(--yellow); color: var(--black); }
.article__dek { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.4; max-width: 46ch; }
.article__cover { margin-top: clamp(-8rem, -10vw, -4.5rem); }
.article__cover img { width: 100%; max-height: 40rem; aspect-ratio: 16 / 9; object-fit: cover; }
.article__cover figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--ink-soft); }
.article__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gap); padding-top: clamp(3rem, 6vw, 5rem); }
.article__body .prose { grid-column: 1 / 9; }
.article__aside { grid-column: 9 / 13; grid-row: 1; align-self: start; position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--surface); padding: 1.5rem; display: grid; gap: 0.75rem; }
.article__aside h2 { font-size: var(--step-lead); font-weight: 700; }
.article__nav { grid-column: 1 / 9; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.article:not(:has(.article__cover)) .article__head { padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (max-width: 1000px) { .article__body .prose, .article__aside, .article__nav { grid-column: 1 / -1; grid-row: auto; position: static; } }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; font-weight: 800; }
.prose h3 { margin-top: 1.8em; font-size: var(--step-lead); line-height: 1.25; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--yellow); font-size: 1.2em; }
.prose a { font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.prose img { width: 100%; margin-block: 1.5em; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--ink-soft); }
.prose blockquote { margin-block: 2em; padding: 1.75rem 2rem; background: var(--yellow); color: var(--black); border-radius: 0 2.5rem 2.5rem 2.5rem; }
.prose blockquote p { font-size: var(--step-lead); line-height: 1.35; font-weight: 600; }
.prose blockquote footer { margin-top: 0.9rem; font-size: var(--step-small); }
.article__video, .film__frame { position: relative; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; }
.article__video img, .film__frame img, .film__frame iframe, .article__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; margin: 0; }
.film__frame img { animation: drift 30s ease-in-out infinite alternate; }
.film__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
.film__play:active { transform: translate(-50%, -50%) scale(0.97); }

/* ---------- Gallery ---------- */
.album { padding-top: var(--section); }
.album:first-child { padding-top: 0; }
.album__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2rem; }
.album__head p { max-width: 52ch; }
.album__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.album__grid figure { position: relative; }
.album__grid button { display: block; width: 100%; overflow: hidden; }
.album__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms var(--ease-out); }
.album__grid button:hover img { transform: scale(1.04); }
.album__grid figcaption { padding: 0.6rem 0 1rem; font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 760px) { .album__grid { grid-template-columns: 1fr 1fr; } }
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 0; background: var(--black); color: var(--white); }
.lightbox:not([open]) { display: none; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: var(--black); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem var(--pad); }
.lightbox__bar button { min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--black-3); font-weight: 700; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--pad); }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: none; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: 1.4rem; font-weight: 700; }
.lightbox__prev { left: var(--pad); } .lightbox__next { right: var(--pad); }
.lightbox__cap { padding: 1rem var(--pad) 1.5rem; text-align: center; }

/* ---------- Press room ---------- */
.release { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gap); padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); }
.release__side { grid-column: 1 / 4; display: grid; gap: 0.75rem; align-content: start; }
.release__side .button { justify-self: start; margin-top: 0.5rem; }
.release__main { grid-column: 4 / 13; display: grid; gap: 1.25rem; }
.release__title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.1; font-weight: 800; }
.release__dek { font-size: var(--step-lead); line-height: 1.4; }
.release details summary { display: inline-flex; align-items: center; min-height: 3.25rem; padding: 0 1.4rem; border-radius: 999px; background: var(--black); color: var(--white); font-weight: 700; cursor: pointer; list-style: none; }
.release details summary::-webkit-details-marker { display: none; }
.release details[open] summary { background: var(--paper-2); color: var(--ink); }
.release .prose { margin-top: 1rem; }
@media (max-width: 1000px) { .release__side, .release__main { grid-column: 1 / -1; } .release__side { order: 2; } }
.chron { list-style: none; display: grid; gap: 6px; }
.chron > li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.5rem var(--gap); padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--surface); }
.chron time { grid-column: 1 / 4; grid-row: 1 / 4; font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; }
.chron h3, .chron p, .chron .sources { grid-column: 4 / 11; }
.chron h3 { font-size: var(--step-lead); line-height: 1.2; font-weight: 700; }
.chron .sources { margin-top: 0.5rem; color: var(--ink-soft); }
.chron__link { grid-column: 11 / 13; grid-row: 1; justify-self: end; }
@media (max-width: 1000px) { .chron time, .chron h3, .chron p, .chron .sources, .chron__link { grid-column: 1 / -1; grid-row: auto; justify-self: start; } }
.kit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gap); align-items: center; background: var(--black); color: var(--on-dark); padding: clamp(1.75rem, 5vw, 4rem); }
.kit__logo { grid-column: 1 / 6; }
.kit__logo .badge { width: 100%; height: auto; max-width: 26rem; }
.kit__text { grid-column: 7 / 13; display: grid; gap: 1.25rem; }
.kit__text .head { color: var(--yellow); }
.kit .textlink { color: var(--white); }
.kit .button--ink { background: var(--yellow); color: var(--black); }
.kit__colors { display: flex; flex-wrap: wrap; gap: 6px; }
.kit__colors span { padding: 0.75rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: var(--step-small); }
@media (max-width: 900px) { .kit__logo, .kit__text { grid-column: 1 / -1; } .kit__logo { max-width: 18rem; } }
.press-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: var(--gap); }
.press-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.press-photos figcaption { padding: 0.6rem 0; font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 760px) { .press-photos { grid-template-columns: 1fr 1fr; } }

/* ---------- Reach (contacts) ---------- */
.reach { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.reach > div { background: var(--surface); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 0.75rem; align-content: space-between; min-height: 11rem; }
.big { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); text-decoration: none; }
.big--s { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.big:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.label { color: var(--ink-soft); }
@media (max-width: 1000px) { .reach { grid-template-columns: 1fr; } }

/* ---------- Strip of photos ---------- */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; padding-top: var(--section); padding-bottom: var(--section); }
.strip img { width: 100%; height: clamp(16rem, 30vw, 26rem); object-fit: cover; }
.strip figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:first-child { grid-column: 1 / -1; } .strip img { height: 14rem; } }

/* ---------- Forms ---------- */
.formpage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--gap); padding-top: clamp(3rem, 6vw, 5rem); }
.formpage__side { grid-column: 1 / 5; display: grid; gap: 1.75rem; align-content: start; }
.formpage__side figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--ring) solid var(--yellow); }
.formpage__side figcaption { margin-top: 1.75rem; font-size: var(--step-small); color: var(--ink-soft); }
.formpage__form, .portal__form { grid-column: 6 / 13; display: grid; gap: 1.75rem; align-content: start; background: var(--surface); padding: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 1000px) { .formpage__side, .formpage__form { grid-column: 1 / -1; } .formpage__side figure { max-width: 18rem; } }
.steps { list-style: none; display: grid; gap: 6px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 1rem 1.25rem 1rem 4rem; background: var(--surface); }
.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: 0.85rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: 0.95rem; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.fieldset[hidden] { display: none; }
.fieldset legend { padding: 0; margin-bottom: 1.1rem; font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1; }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem; background: var(--paper); border: 2px solid var(--paper-3); border-radius: 0.5rem; font-size: max(1rem, var(--step-body)); transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--black); background: var(--surface); box-shadow: 0 0 0 3px var(--yellow); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field__hint { font-size: var(--step-small); color: var(--ink-soft); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.2rem; border-radius: 999px; background: var(--paper-2); font-weight: 600; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.choices label:hover span { background: var(--paper-3); }
.choices input:checked + span { background: var(--black); color: var(--white); }
.choices input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; accent-color: var(--black); flex: none; }
.form-status { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: var(--felt); }
.form-status[data-state="error"] { color: var(--error); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 620px) { .fieldset { grid-template-columns: 1fr; } .choices { display: grid; } .choices span { width: 100%; } }
.player { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto; gap: 0.75rem; align-items: end; padding: 1rem; background: var(--paper); }
.player__remove { min-height: 3.25rem; padding: 0 1rem; border-radius: 999px; background: var(--paper-2); font-weight: 700; }
.player__remove:hover { background: var(--paper-3); }
.players { display: grid; gap: 6px; }
.players__add { justify-self: start; margin-top: 0.75rem; }
@media (max-width: 760px) { .player { grid-template-columns: 1fr 1fr; } .player__remove { grid-column: 1 / -1; } }

/* ---------- Trofeo page ---------- */
.event-hero { background: var(--black); color: var(--on-dark); }
.event-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 6rem); }
.event-title { font-size: clamp(3rem, 1.2rem + 5vw, 6.5rem); color: var(--yellow); }
.event-title span { display: block; }
.event-hero__text .lead { margin-top: 1.75rem; max-width: 38ch; }
.event-hero .hero__actions, .event-hero .open__actions { margin-top: 2rem; }
.event-hero .textlink { color: var(--white); }
.event-hero__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--ring) solid var(--yellow); }
.event-hero__photo figcaption { margin-top: 1.75rem; text-align: center; font-size: var(--step-small); color: var(--on-dark-soft); }
@media (max-width: 900px) { .event-hero__inner { grid-template-columns: 1fr; } .event-hero__photo { max-width: 24rem; } }
.open__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.honours { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gap); align-items: start; }
.honours .head { grid-column: 1 / -1; }
.honours ol { grid-column: 1 / 8; list-style: none; display: grid; gap: 6px; }
.honours li { display: grid; grid-template-columns: 9rem 1fr; gap: 0.25rem 1.5rem; padding: 1.25rem 1.5rem; background: var(--surface); }
.honours li:first-child { background: var(--yellow); }
.honours .ed { grid-row: 1 / 3; font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.4rem; line-height: 1.05; }
.honours .who { font-size: var(--step-lead); font-weight: 800; }
.honours .what { color: var(--ink); }
.honours figure { grid-column: 8 / 13; }
.honours figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.honours figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 900px) { .honours ol, .honours figure { grid-column: 1 / -1; } .honours li { grid-template-columns: 1fr; } .honours .ed { grid-row: auto; } }
.rules { background: var(--black); color: var(--on-dark); padding-bottom: var(--section); margin-top: var(--section); }
.rules__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gap); align-items: start; }
.rules__grid .head { grid-column: 1 / -1; color: var(--yellow); }
.rules__list { grid-column: 1 / 7; display: grid; gap: 6px; }
.rules__list > div { padding: 1.1rem 1.4rem; background: var(--black-2); display: grid; gap: 0.25rem; }
.rules__list dt { font-weight: 700; color: var(--yellow); }
.rules__list a { color: var(--white); }
.prizes { grid-column: 8 / 13; background: var(--black-2); padding: clamp(1.25rem, 3vw, 2rem); }
.prizes h3 { font-weight: 700; font-size: var(--step-lead); margin-bottom: 1rem; }
.prizes table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prizes td { padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.prizes td:nth-child(2) { text-align: right; font-weight: 700; color: var(--yellow); }
.prizes td:last-child { text-align: right; color: var(--on-dark-soft); }
.prizes p { margin-top: 1rem; color: var(--on-dark-soft); font-size: var(--step-small); }
.prizes figure { margin-top: 2rem; max-width: 220px; }
.prizes figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--on-dark-soft); }
@media (max-width: 1000px) { .rules__list, .prizes { grid-column: 1 / -1; } }
.film { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem var(--gap); align-items: end; }
.film .head { grid-column: 1 / 8; }
.film > p { grid-column: 8 / 13; }
.film__frame { grid-column: 1 / -1; }
@media (max-width: 900px) { .film .head, .film > p { grid-column: 1 / -1; } }
.portal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--gap); }
.portal__intro { grid-column: 1 / 5; display: grid; gap: 1.25rem; align-content: start; }
.portal__intro figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: var(--ring) solid var(--yellow); }
.portal__intro figcaption { margin-top: 1.75rem; font-size: var(--step-small); color: var(--ink-soft); }
.portal__form { grid-column: 5 / 13; }
@media (max-width: 1000px) { .portal__intro, .portal__form { grid-column: 1 / -1; } .portal__intro figure { max-width: 18rem; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--on-dark); padding-top: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
main > :last-child:not(.contact) { margin-bottom: 0; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--gap); }
.footer__club { grid-column: 1 / 5; display: grid; gap: 1.25rem; align-content: start; color: var(--on-dark-soft); }
.footer__club a { color: var(--white); font-weight: 600; text-decoration: none; }
.footer__club a:hover { color: var(--yellow); }
.footer__badge .badge { width: 11rem; height: auto; }
.footer__cols { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem var(--gap); }
.footer__cols h2 { font-size: var(--step-small); font-weight: 700; color: var(--yellow); margin-bottom: 0.9rem; }
.footer__cols ul { list-style: none; display: grid; gap: 0.15rem; }
.footer__cols a { display: inline-flex; min-height: 2.5rem; align-items: center; text-decoration: none; font-weight: 500; }
.footer__cols a:hover { color: var(--yellow); }
.footer__word { margin-top: clamp(3rem, 6vw, 5rem); font-size: calc((min(100vw, calc(var(--container) + 2 * var(--pad))) - 2 * var(--pad)) / 5.8); color: var(--yellow); white-space: nowrap; line-height: 0.82; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; padding-block: 1.75rem; font-size: var(--step-small); color: var(--on-dark-soft); }
.footer__legal a { color: var(--white); }
@media (max-width: 1000px) { .footer__club, .footer__cols { grid-column: 1 / -1; } .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Never overlap ----------
   Big titles are sized by the column that holds them (container units), not only by the screen, so a long single
   word (TESSERAMENTO, ISCRIZIONI) always fits its column at every width. As a last resort a word may break
   rather than run under its neighbour. Grid and flex children may shrink below their content. */
.phead__inner, .hero__text, .bis__text, .event-hero__text, .portal__intro, .about__body, .trofeo__text, .kit__text,
.info__col, .sponsors__head, .formpage__side, .honours, .section-head, .stats__head, .contact__top, .film, .table__head,
.rules__grid, .album__head, .article__head .wrap, .records > div, .wizard__panel { container-type: inline-size; }
.head { font-size: min(var(--step-head), 13cqi); }
.head--s { font-size: min(clamp(2rem, 1.4rem + 2.2vw, 3.25rem), 12cqi); }
.phead__title { font-size: min(clamp(2.5rem, 1.2rem + 6vw, 7.5rem), 14cqi); }
.hero__title { font-size: min(clamp(3rem, 7.6vw, 7.5rem), 15cqi); }
.bis__title { font-size: min(clamp(3rem, 1rem + 7vw, 8.5rem), 15cqi); }
.event-title { font-size: min(clamp(3rem, 1.2rem + 5vw, 6.5rem), 13cqi); }
.article__title { font-size: min(clamp(2.1rem, 1.4rem + 4.6vw, 6.5rem), 10.5cqi); }
h1, h2, h3, h4, legend, .big, .tile__title, .card__title, .res__title, .release__title { overflow-wrap: break-word; }
:where(.wrap, [class*="__inner"], .cards, .tiles, .reach, .feed, .channels, .album__grid, .fieldset, .about, .records, .info, .sponsors, .honours, .rules__grid, .portal, .formpage, .release, .chron > li, .kit, .film, .table__stage, .footer__top, .footer__cols, .year) > * { min-width: 0; }
input, select, textarea { max-width: 100%; }

/* ---------- Membership wizard ---------- */
.wizard { display: grid; gap: 1.75rem; }
.wizard__steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; counter-reset: w; }
.wizard__steps li { counter-increment: w; display: grid; justify-items: start; gap: 0.5rem; font-size: var(--step-small); font-weight: 600; color: var(--ink-soft); }
.wizard__steps li::before { content: counter(w); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-weight: 800; font-size: 1rem; transition: background-color 300ms ease, color 300ms ease, transform 300ms var(--ease-out); }
.wizard__steps li[aria-current="step"] { color: var(--ink); }
.wizard__steps li[aria-current="step"]::before { background: var(--yellow); transform: scale(1.12); }
.wizard__steps li.is-done::before { content: "✓"; background: var(--black); color: var(--yellow); }
.wizard__bar { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: calc(var(--p, 0.25) * 100%); border-radius: inherit; background: var(--yellow); transition: width 500ms var(--ease-out); }
.wizard__panel { display: grid; gap: 1.5rem; }
.wizard__title:focus { outline: none; }
.wizard__title { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: min(clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem), 12cqi); line-height: 1; }
.wizard__lead { color: var(--ink-soft); max-width: 52ch; }
.wizard__nav { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }
.wizard__nav .button { min-width: 9rem; }
.wizard__back { background: var(--paper-2); color: var(--ink); }
.wizard__back:hover { background: var(--paper-3); }
.wizard__error { color: var(--error); font-weight: 600; }
.wizard__error:empty { display: none; }
.summary { display: grid; gap: 2px; }
.summary div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.75rem 1rem; background: var(--paper); }
.summary dt { color: var(--ink-soft); }
.summary dd { font-weight: 600; text-align: right; overflow-wrap: break-word; min-width: 0; }
.summary__edit { justify-self: start; }
.wizard [data-step][hidden] { display: none; }
html:not(.js) .wizard [data-next], html:not(.js) .wizard [data-prev], html:not(.js) .wizard__head, html:not(.js) .wizard__bar, html:not(.js) [data-summary] { display: none; }
.wizard__done { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--yellow); }
.wizard__done[hidden] { display: none; }
.wizard__done h3 { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1; }
@media (max-width: 520px) { .wizard__steps li { font-size: 0.8125rem; } .wizard__nav .button { flex: 1 1 auto; } }
@media (prefers-reduced-motion: no-preference) {
  .wizard__panel.is-entering { animation: step-in 420ms var(--ease-out) both; }
  .wizard__panel.is-entering.is-back { animation-name: step-back; }
  .wizard__done:not([hidden]) { animation: step-in 500ms var(--ease-out) both; }
  .wizard .is-shake { animation: shake 360ms ease; }
}
@keyframes step-in { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes step-back { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { transform: none; }
  .js .shutter[data-reveal] img { transform: scale(1.08); transition: transform 1400ms var(--ease-out); }
  .js .shutter[data-reveal].is-in img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Area club ---------- */
.club-table { overflow-x: auto; margin-top: 0.5rem; -webkit-overflow-scrolling: touch; }
.club-table table { border-collapse: collapse; min-width: 100%; font-size: var(--step-small); }
.club-table th, .club-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--paper-3); white-space: nowrap; }
.club-table th { background: var(--black); color: var(--white); position: sticky; top: 0; }
.club-table tr:nth-child(even) td { background: var(--paper); }

/* Small screens: three figures fit at 320px, contact lines never push the page */
.figures > div, .trofeo > *, dl > div { min-width: 0; }
@media (max-width: 420px) { .figures > div { padding: 0.85rem 0.7rem; } .figures dd { font-size: clamp(1.9rem, 9vw, 2.4rem); } .figures dt { font-size: 0.8rem; } }

.prose p, .prose li, .prose a { overflow-wrap: break-word; }

/* Email addresses: normal case, one line, never split */
.mail { font-weight: 700; font-size: clamp(1.1rem, 0.9rem + 0.9vw, 1.6rem); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
[data-m] { white-space: nowrap; }

/* ---------- Photos: always the whole picture ----------
   No circles, ovals or forced ratios on photographs: every image keeps its own
   proportions, so nobody in a photo is ever cut. Frames are rectangles. */
.disc { aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; border: 0; }
.disc img, .hero__disc img { width: 100%; height: auto; object-fit: fill; animation: none; }
.hero__disc img { border: var(--ring) solid var(--yellow); }
.bis__photo img, .info__aside img, .year__pic img, .formpage__side figure img, .event-hero__photo img, .portal__intro figure img,
.card__pic img, .cards--lead .card:first-child .card__pic img, .sponsors__photo img, .honours figure img, .press-photos img, .album__grid img, .strip img {
  aspect-ratio: auto; height: auto; object-fit: fill; border-radius: 0;
}
.card:hover .card__pic img, .album__grid button:hover img { transform: none; }
.card__pic { background: none; }
.cards { align-items: start; }

/* Article cover: the whole photo, never taller than the screen */
.article__cover img { width: auto; max-width: 100%; height: auto; max-height: 80vh; aspect-ratio: auto; object-fit: fill; margin-inline: auto; }
.article__cover figcaption { text-align: center; }

/* Video posters: letterbox instead of crop */
.article__video img, .film__frame img, .post__pic img { object-fit: contain; }

/* Home "La sala": photos side by side at their own size, caption below */
.band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem 6px; height: auto; align-items: start; }
.band figure { overflow: visible; flex: none; }
.band img { height: auto; object-fit: fill; }
.band figcaption { position: static; opacity: 1; padding: 0.6rem 0 0; background: none; color: inherit; }
@media (hover: hover) { .band figure:hover { flex-grow: 0; } }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band figure, .band figure:first-child { aspect-ratio: auto; grid-column: auto; } }

/* Galleries: columns keep every photo uncut */
.album__grid { display: block; columns: 3 15rem; column-gap: 6px; }
.album__grid figure { break-inside: avoid; margin-bottom: 6px; }
.press-photos { display: block; columns: 4 12rem; column-gap: 6px; }
.press-photos figure { break-inside: avoid; margin-bottom: 6px; }
.strip { align-items: start; }
@media (max-width: 760px) { .strip img { height: auto; } }

/* ---------- Photo rows: same height, nothing cropped ----------
   Each figure grows in proportion to its photo (--r, set at build), so every
   photo in a row ends up the same height and captions start on one line. */
.band, .album__grid, .strip, .press-photos { --rowh: 14rem; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 6px; columns: auto; height: auto; }
.band > figure, .album__grid > figure, .strip > figure, .press-photos > figure { flex: var(--r, 1.5) 1 calc(var(--r, 1.5) * var(--rowh)); min-width: 0; margin: 0; break-inside: auto; aspect-ratio: auto; grid-column: auto; }
.band::after, .album__grid::after, .strip::after, .press-photos::after { content: ""; flex: 999 1 0; }
.band img, .album__grid img, .strip img, .press-photos img { display: block; width: 100%; height: auto; }
.album__grid { --rowh: 13rem; }
.band { --rowh: 11rem; }
.note dd { white-space: nowrap; }
@media (max-width: 760px) { .band, .album__grid, .strip, .press-photos { --rowh: 8.5rem; } }

/* News cards: one frame size per grid, the whole photo inside it */
.card__pic { aspect-ratio: 3 / 2; background: var(--paper-2); display: grid; place-items: center; }
.cards--lead .card:first-child .card__pic { aspect-ratio: 16 / 10; }
.card__pic img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Home: info board ("bacheca") ----------
   Notes and photos pinned on a wall: whole photos in white prints, notes with
   a strip of yellow tape, each one slightly tilted. */
.wall { columns: 3 18rem; column-gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.wall > * { break-inside: avoid; margin: 0 0 clamp(1.25rem, 2.5vw, 2.25rem); background: var(--white); position: relative; transform: rotate(var(--tilt, -1deg)); transition: transform 300ms var(--ease-out); }
.wall > :nth-child(3n + 2) { --tilt: 1.2deg; }
.wall > :nth-child(3n) { --tilt: -0.6deg; }
.wall > :hover { transform: rotate(0deg); }
.wall > *::before { content: ""; position: absolute; left: 50%; top: -0.7rem; width: 5.5rem; height: 1.4rem; margin-left: -2.75rem; background: var(--yellow); opacity: 0.9; transform: rotate(calc(var(--tilt, -1deg) * -2)); }
.note { padding: 1.75rem 1.5rem 1.5rem; }
.note__title { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1; margin-bottom: 1rem; }
.note dl { display: grid; gap: 0; }
.note dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--paper-3); }
.note dd { font-weight: 600; text-align: right; }
.snap { padding: 0.75rem 0.75rem 0; }
.snap img { display: block; width: 100%; height: auto; }
.snap figcaption { padding: 0.8rem 0.25rem 1rem; font-size: var(--step-small); font-weight: 600; }
@media (max-width: 640px) { .wall > * { --tilt: 0deg !important; } }
@media (prefers-reduced-motion: reduce) { .wall > * { transition: none; } }

/* ---------- Social room: platform mock-ups ---------- */
.mock { gap: 0; overflow: hidden; border-radius: 14px; background: var(--white); border: 1px solid var(--paper-3); }
.mock .post__pic { aspect-ratio: auto; background: var(--paper-2); }
.mock .post__pic img { display: block; width: 100%; height: auto; transform: none; }
.mock:hover .post__pic img { transform: none; }
.mock .post__title { font-size: 1rem; line-height: 1.3; }
.mock .post__date { font-size: 0.8125rem; color: var(--ink-soft); }
.ico { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.mock__avatar { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--black); overflow: hidden; }
.mock__avatar img { width: 82%; height: auto; }
.mock__head { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; font-size: 0.9375rem; }
.mock__head .post__date { margin: 0; }
.mock__tag { margin-left: auto; font-size: 0.75rem; font-weight: 600; color: var(--ink-soft); }
.mock__caption { padding: 0.35rem 0.85rem 0.85rem; display: grid; gap: 0.3rem; }
.mock__actions { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.85rem 0.3rem; }
.mock__push { margin-left: auto; display: flex; }

/* YouTube: a dark player with the red play button and progress bar */
.mock--youtube { background: #0f0f0f; border-color: #0f0f0f; color: #f1f1f1; }
.mock--youtube .mock__screen { position: relative; }
.mock--youtube .post__pic { aspect-ratio: 16 / 9; background: #000; }
.mock--youtube .post__pic img { height: 100%; object-fit: cover; } /* hqdefault has black bars baked in: cover trims only those */
.yt__play { position: absolute; left: 50%; top: 50%; width: 3.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.7rem; border-radius: 0.7rem; background: #ff0033; transition: transform 200ms var(--ease-out); }
.yt__play::after { content: ""; position: absolute; left: 1.35rem; top: 0.65rem; border-style: solid; border-width: 0.55rem 0 0.55rem 0.95rem; border-color: transparent transparent transparent #fff; }
.mock--youtube:hover .yt__play { transform: scale(1.08); }
.yt__progress { height: 4px; background: rgba(255, 255, 255, 0.25); }
.yt__progress span { display: block; position: relative; width: 38%; height: 100%; background: #ff0033; }
.yt__progress span::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #ff0033; }
.yt__controls { display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0.85rem; color: #f1f1f1; }
.yt__controls .ico:first-child { fill: currentColor; }
.yt__brand { margin-left: auto; font-weight: 800; font-size: 0.8125rem; letter-spacing: -0.01em; }
.yt__brand::before { content: ""; display: inline-block; width: 1.2rem; height: 0.85rem; margin-right: 0.35rem; vertical-align: -0.1rem; border-radius: 0.25rem; background: #ff0033; }
.mock--youtube .mock__body { display: flex; gap: 0.7rem; padding: 0.4rem 0.85rem 1rem; }
.mock--youtube .mock__avatar { background: #272727; }
.mock--youtube .post__date { color: #aaa; }

/* Instagram: gradient ring on the avatar */
.mock--instagram .mock__avatar { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px #d62976; background: var(--black); }
.mock--instagram .mock__head { padding-left: 1rem; }

/* Facebook: blue accents and the three-way action bar */
.mock--facebook { border-radius: 10px; }
.mock--facebook .mock__head strong { display: block; }
.mock--facebook .mock__avatar { box-shadow: 0 0 0 2px #1877f2; }
.fb__actions { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0.6rem; border-top: 1px solid var(--paper-3); }
.fb__actions span { display: flex; justify-content: center; align-items: center; gap: 0.4rem; padding: 0.65rem 0; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.mock--facebook .post__title a:hover { color: #1877f2; }

/* ---------- Galleria v2: dark room, album covers, full-screen viewer ---------- */
.is-locked, .is-locked body { overflow: hidden; }
.gal { background: var(--black); color: var(--white); padding: 0 0 var(--section); }
.gal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.gal__label { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.5rem; color: var(--yellow); }
.chip { min-height: 2.75rem; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--black-3); background: var(--black-2); color: var(--white); font-weight: 700; transition: background-color 200ms ease, color 200ms ease; }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.gal__covers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-bottom: clamp(3rem, 6vw, 5rem); }
.cover { display: grid; gap: 0.8rem; text-align: left; color: inherit; }
.cover__frame { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--black-2); outline: 3px solid transparent; outline-offset: 4px; transition: outline-color 250ms ease; }
.cover__blur { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(22px) brightness(0.55) saturate(1.2); }
.cover__img { position: relative; width: 90%; height: auto; max-height: 90%; object-fit: contain; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); transition: transform 500ms var(--ease-out); }
.cover:hover .cover__img { transform: translateY(-4px) scale(1.03); }
.cover[aria-pressed="true"] .cover__frame { outline-color: var(--yellow); }
.cover__meta { display: grid; gap: 0.15rem; }
.cover__meta strong { font-weight: 800; font-stretch: 72%; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.cover__meta span { font-size: var(--step-small); color: var(--on-dark-soft); }
.gal .album { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 5rem; }
.gal .album:first-of-type { padding-top: 0; }
.gal .album__head .head { color: var(--yellow); }
.gal .album__head p { color: var(--on-dark-soft); }
.album__n { display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--black-3); color: var(--white); font-size: 0.8125rem; font-weight: 700; }
.gal .album__grid { gap: 1.25rem 10px; }
.gal .album__grid button { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 10px; cursor: zoom-in; }
.gal .album__grid img { transition: transform 600ms var(--ease-out), filter 300ms ease; }
.gal .album__grid button:hover img { transform: scale(1.03); filter: brightness(1.08); } /* scale stays inside the photo's own frame */
.album__zoom { position: absolute; right: 0.6rem; bottom: 0.6rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--yellow); opacity: 0; transform: scale(0.8); transition: opacity 250ms ease, transform 250ms var(--ease-out); }
.album__zoom::before, .album__zoom::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1rem; height: 2px; margin: -1px 0 0 -0.5rem; background: var(--black); }
.album__zoom::after { transform: rotate(90deg); }
.gal .album__grid button:hover .album__zoom, .gal .album__grid button:focus-visible .album__zoom { opacity: 1; transform: none; }
.gal .album__grid figcaption { color: var(--on-dark-soft); }
@media (max-width: 1000px) { .gal__covers { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(11rem, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; } .cover { scroll-snap-align: start; } }
@media (max-width: 560px) { .gal__covers { grid-auto-columns: 62%; } }

/* The viewer */
.lb { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #010a0d; color: var(--white); overflow: hidden; }
.lb:not([open]) { display: none; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; animation: lb-in 300ms ease both; }
.lb.is-closing { animation: lb-out 380ms ease both; }
.lb::backdrop { background: rgba(1, 10, 13, 0.92); }
.lb__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.lb__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(0.35) saturate(1.3); transform: scale(1.2); transition: opacity 400ms ease; }
.lb > :not(.lb__bg, .lb__nav) { position: relative; z-index: 1; }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem var(--pad); }
.lb__count { font-variant-numeric: tabular-nums; color: var(--on-dark-soft); }
.lb__count strong { color: var(--white); font-size: 1.15rem; }
.lb__album { margin-left: 0.75rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 0.8125rem; font-weight: 600; }
.lb__close { position: relative; width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); transition: background-color 200ms ease, transform 200ms ease; }
.lb__close:hover { background: var(--yellow); transform: rotate(90deg); }
.lb__close span::before, .lb__close span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1.2rem; height: 2px; margin: -1px 0 0 -0.6rem; background: currentColor; transform: rotate(45deg); }
.lb__close span::after { transform: rotate(-45deg); }
.lb__close:hover span::before, .lb__close:hover span::after { background: var(--black); }
.lb__stage { display: grid; place-items: center; min-height: 0; padding: 0 clamp(1rem, 6vw, 6rem); touch-action: pan-y; user-select: none; }
.lb__stage img { max-width: 100%; max-height: calc(100dvh - 12.5rem); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); pointer-events: none; will-change: transform; }
.lb__nav { position: absolute; top: 50%; z-index: 2; width: 3.5rem; height: 3.5rem; margin-top: -1.75rem; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); font-size: 1.35rem; font-weight: 700; backdrop-filter: blur(8px); transition: background-color 200ms ease, color 200ms ease, transform 200ms ease; }
.lb__nav:hover { background: var(--yellow); color: var(--black); transform: scale(1.06); }
.lb__nav--prev { left: max(0.75rem, calc(var(--pad) - 1rem)); }
.lb__nav--next { right: max(0.75rem, calc(var(--pad) - 1rem)); }
.lb__cap { padding: 1rem var(--pad) 0.5rem; text-align: center; font-weight: 600; min-height: 2.75rem; }
.lb__strip { display: flex; gap: 8px; justify-content: safe center; overflow-x: auto; padding: 0.5rem var(--pad) 1rem; scrollbar-width: none; }
.lb__strip::-webkit-scrollbar { display: none; }
.lb__strip button { flex: none; height: 3.5rem; border-radius: 6px; overflow: hidden; opacity: 0.45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 200ms ease, outline-color 200ms ease; }
.lb__strip button:hover { opacity: 0.8; }
.lb__strip button[aria-current="true"] { opacity: 1; outline-color: var(--yellow); }
.lb__strip img { height: 100%; width: auto; }
@media (max-width: 640px) { .lb__nav { top: auto; bottom: 5.4rem; margin: 0; width: 3rem; height: 3rem; } .lb__stage { padding: 0 0.5rem; } .lb__strip button { height: 2.75rem; } }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lb[open], .lb.is-closing { animation: none; } .gal .album__grid button:hover img, .cover:hover .cover__img { transform: none; } }
@media (max-width: 640px) { .lb__stage img { max-height: calc(100dvh - 15rem); } }

/* ---------- Sala stampa: a club notice board ----------
   Billiard-cloth green board; releases as letterhead sheets with a pin,
   chronology as index cards with tape. Tilts only where there is room. */
.board { position: relative; padding: clamp(1.5rem, 4vw, 3.5rem); border-radius: 18px; background: var(--felt) radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.08), transparent 60%); box-shadow: inset 0 0 0 10px rgba(2, 18, 23, 0.35), inset 0 0 60px rgba(0, 0, 0, 0.35); }
.board > * { position: relative; background: var(--white); color: var(--ink); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), 0 14px 28px rgba(0, 0, 0, 0.28); transform: rotate(var(--tilt, 0deg)); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.board > *:hover { transform: translateY(-4px) rotate(0deg); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.14), 0 26px 48px rgba(0, 0, 0, 0.34); }
.board > :nth-child(2n) { --tilt: 0.8deg; }
.board > :nth-child(2n + 1) { --tilt: -0.7deg; }
.board > :nth-child(3n) { --tilt: 0.3deg; }

.pin { position: absolute; left: 50%; top: -0.6rem; z-index: 2; width: 1.5rem; height: 1.5rem; margin-left: -0.75rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, var(--yellow) 45%, #b98500); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35); }
.tape { position: absolute; left: 50%; top: -0.75rem; width: 6rem; height: 1.5rem; margin-left: -3rem; background: rgba(250, 185, 0, 0.85); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }

.board--sheets { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.sheet { max-width: 60rem; margin-inline: auto; width: 100%; padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.25rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); background: #fffdf7; }
.sheet__letterhead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 3px solid var(--yellow); }
.sheet__letterhead .badge { width: 3.75rem; height: auto; }
.sheet__letterhead strong { display: block; font-weight: 800; }
.sheet__letterhead span { font-size: var(--step-small); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.sheet__date { display: grid; justify-items: end; text-align: right; }
.sheet__date time { font-weight: 800; }
.sheet__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.1; font-weight: 800; }
.sheet__dek { margin-top: 1rem; font-size: var(--step-lead); line-height: 1.4; color: var(--ink); }
.sheet__body { margin-top: 1.5rem; }
.sheet__body.is-clamped { max-height: 14rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px dashed var(--paper-3); }
@media (max-width: 640px) { .sheet__letterhead { grid-template-columns: auto 1fr; } .sheet__date { grid-column: 1 / -1; justify-items: start; text-align: left; } }

.board--notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.board--notes > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; padding: 1.75rem 1.4rem 1.4rem; background: #fffdf7 repeating-linear-gradient(transparent 0 1.7rem, rgba(11, 107, 88, 0.12) 1.7rem calc(1.7rem + 1px)); background-position: 0 3.4rem; }
.board--notes time, .board--notes h3, .board--notes p, .board--notes .sources { grid-column: auto; grid-row: auto; }
.board--notes time { font-size: 1.25rem; color: var(--felt); }
.board--notes .chron__link { grid-column: auto; grid-row: auto; justify-self: start; }

.board--cards > div { border-radius: 4px; }
.board--cards { gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 640px) { .board > * { --tilt: 0deg !important; } .board { padding: 1.5rem 1rem; } }
@media (prefers-reduced-motion: reduce) { .board > * { transition: none; } }
.band::after { display: none; }
main > .contact:first-child { margin-top: 0; }
.strip::after { display: none; }

/* ---------- Review fixes ---------- */
/* News cards: blurred copy of the photo fills the frame, the whole photo sits on top */
.card__pic { position: relative; overflow: hidden; background: var(--black-2); }
.card__pic .pic__blur { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(18px) brightness(0.7) saturate(1.2); }
.card__pic img:not(.pic__blur) { position: relative; }
/* Info board: tape always sits on its own note, never left at a column bottom */
.wall > * { display: inline-block; width: 100%; margin-top: 0.9rem; }
/* Home "Il circolo": heading before the facts on small screens */
@media (max-width: 900px) { .about__body { order: -1; } .about { display: flex; flex-direction: column; } }
/* Home "La sala": two photos per row on phones */
@media (max-width: 760px) { .band { --rowh: 5.5rem; } }
/* Form groups (radio pills) labelled like every other field */
.field__group { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--ink); }
/* Results: undated first edition */
.year__n--word { font-size: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
/* Phones: the form comes first, the explanation after it */
@media (max-width: 1000px) { .formpage__side, .portal__intro { order: 2; } }
/* Phones: two gallery photos per row, the viewer shows them big */
@media (max-width: 760px) { .album__grid, .strip, .press-photos { --rowh: 6.5rem; } }
.field input:focus-within { outline: none; border-color: var(--black); background: var(--white); box-shadow: 0 0 0 3px var(--yellow); }
main > section[style*="padding-bottom"] + .strip, main > .section + .strip { padding-top: 0; }
.board--sheets { grid-template-columns: minmax(0, 1fr); } .sheet__letterhead > * { min-width: 0; } .sheet__letterhead strong { overflow-wrap: break-word; }
.note dl > div { border-top: 2px solid var(--paper-2); }
.cover__img { box-shadow: none; }
.gal .album { padding-top: clamp(4rem, 8vw, 6.5rem); }
@media (max-width: 480px) { .prose h2 { font-size: 1.35rem; line-height: 1.2; } }
.cards--lead .card:first-child .card__pic img:not(.pic__blur) { width: 100%; height: 100%; object-fit: contain; }
/* ---------- Social room: channel cards as small platform mock-ups ---------- */
.channels a.chan { display: flex; flex-direction: column; gap: 1rem; min-height: 0; padding: 0 0 1.25rem; border-radius: 14px; overflow: hidden; background: var(--white); color: var(--ink); border: 1px solid var(--paper-3); align-content: normal; transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) ease; }
.channels a.chan:hover { background: var(--white); color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); }
.chan > :not(.chan__bar) { margin: 0 1.25rem; }
.chan__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.25rem; font-weight: 800; font-size: 0.9375rem; letter-spacing: -0.01em; }
.chan__logo { position: relative; flex: none; width: 1.6rem; height: 1.15rem; border-radius: 0.3rem; }
.chan__id { display: flex; align-items: center; gap: 0.85rem; }
.chan__avatar { flex: none; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--black); }
.chan__avatar img { width: 80%; height: auto; }
.channels .chan strong { display: block; font-size: 1.25rem; line-height: 1.2; font-stretch: 100%; text-transform: none; font-weight: 800; }
.chan__handle { display: block; font-size: 0.875rem; color: var(--ink-soft); }
.chan__note { color: var(--ink-soft); }
.chan__cta { align-self: flex-start; margin-top: auto !important; padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.9375rem; }
.chan--youtube { background: #0f0f0f !important; color: #f1f1f1 !important; border-color: #0f0f0f; }
.chan--youtube .chan__bar { color: #fff; border-bottom: 1px solid #272727; }
.chan--youtube .chan__logo { background: #ff0033; }
.chan--youtube .chan__logo::after { content: ""; position: absolute; left: 0.62rem; top: 0.3rem; border-style: solid; border-width: 0.28rem 0 0.28rem 0.48rem; border-color: transparent transparent transparent #fff; }
.chan--youtube .chan__avatar { background: #272727; }
.chan--youtube .chan__handle, .chan--youtube .chan__note { color: #aaa; }
.chan--youtube .chan__cta { background: #f1f1f1; color: #0f0f0f; }
.chan--youtube:hover .chan__cta { background: #ff0033; color: #fff; }
.chan--facebook .chan__bar { background: #1877f2; color: #fff; }
.chan--facebook .chan__logo { width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; }
.chan--facebook .chan__logo::after { content: "f"; position: absolute; inset: 0; display: grid; place-items: center; padding-top: 0.15rem; font: 900 1.05rem/1 system-ui, sans-serif; color: #1877f2; }
.chan--facebook .chan__avatar { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px #1877f2; }
.chan--facebook .chan__cta { background: #1877f2; color: #fff; }
.chan--facebook:hover .chan__cta { background: #0f5fd0; }
@media (max-width: 900px) { .channels { gap: 1rem; } }
/* The blurred backdrop must always fill the whole frame, whatever older card rules say about img height */
.card__pic img.pic__blur { position: absolute; inset: 0; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; transform: scale(1.3) !important; }
.card__pic img, .cover__img, .lb__stage img { background: transparent; }
@media (max-width: 380px) { .chan__avatar { width: 2.75rem; height: 2.75rem; } .chan__handle { font-size: 0.8125rem; } .chan > :not(.chan__bar) { margin: 0 1rem; } }
/* A photo strip after a .section needs its own breathing room: .section has no bottom padding */
main > .section + .strip { padding-top: clamp(3rem, 6vw, 5rem); }
.channels a.chan:hover { transform: none; }
.channels { align-items: stretch; }
