:root {
  color-scheme: dark;
  --ink: #140d0c;
  --panel: #211311;
  --paper: #f4e6cd;
  --muted: #c6ae96;
  --gold: #efc780;
  --border: #614332;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.06; }
p { margin: 0; }
.wrap { width: min(1140px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: .73rem; font-weight: 650; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 46px; padding: .65rem 1.25rem; border: 1px solid var(--gold);
  border-radius: 3px; font: 650 .9rem/1.35 var(--sans); text-decoration: none; cursor: pointer;
}
.primary { background: var(--gold); color: #261306; }
.primary:hover { background: #ffe0a2; }
.secondary { background: transparent; color: var(--gold); border-color: #a2794e; }
.secondary:hover { background: #45261c; }
.age-screen {
  min-height: 100svh; display: grid; place-items: center; padding: 28px;
  background: radial-gradient(ellipse at 50% 30%, #481c17, #1d100e 55%, #110b0a 100%);
}
.age-panel {
  width: min(100%, 570px); padding: clamp(32px, 7vw, 68px) clamp(20px, 5vw, 52px);
  border: 1px solid #a2794e; outline: 1px solid #614332; outline-offset: -8px;
  text-align: center; background: linear-gradient(145deg, #2c1712, #1a100f);
  box-shadow: 0 24px 80px #0007;
}
.age-brand { font: clamp(1.5rem, 5vw, 2.35rem)/1.1 var(--serif); color: var(--gold); margin-bottom: .55rem; }
.age-panel h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); margin-bottom: 1.75rem; }
.age-actions { display: flex; gap: .85rem; justify-content: center; }
.age-actions .button { min-width: 100px; }
.rule { width: 68px; height: 1px; margin: 1.9rem auto; background: var(--gold); }
.skip { position: absolute; top: .75rem; left: .75rem; z-index: 3; background: var(--ink); padding: .65rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--border); background: #190e0d; }
.navigation { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 1rem; }
.wordmark { font: 1.6rem var(--serif); color: var(--gold); letter-spacing: .14em; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.6rem; font-size: .88rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .text-link:hover { color: #fff0d6; text-decoration: underline; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 75% 45%, #471c16, #231311 60%, #170e0d);
}
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: 0 auto 0 0; width: min(30vw, 345px);
  background: url('/immagini/calendario-2027.png') left top / 1160px auto no-repeat;
  opacity: .36; mask-image: linear-gradient(90deg, #000 15%, transparent), linear-gradient(#000 54%, transparent 82%);
  mask-composite: intersect;
}
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); letter-spacing: -.045em; line-height: .93; color: var(--gold); margin: .6rem 0 1rem; }
.hero-subtitle { font: clamp(1rem, 2.35vw, 1.55rem)/1.3 var(--serif); text-transform: uppercase; letter-spacing: .11em; }
.hero .button { margin-top: 1.7rem; }
.club-logo { border: 1px solid #936841; border-radius: 4px; box-shadow: 0 16px 60px #0009; }
.section { padding-block: clamp(2.4rem, 6vw, 5rem); scroll-margin-top: 1.25rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.4rem; }
h2 { font-size: clamp(2.15rem, 5vw, 3.65rem); color: var(--gold); }
h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
.text-link { font-size: .9rem; color: var(--gold); text-underline-offset: .25em; }
.calendar-image { display: block; border: 1px solid #936841; border-radius: 4px; overflow: hidden; }
.events-title { margin: 2rem 0 .45rem; }
.section-note { color: var(--muted); margin-bottom: 1.1rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .78rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; overflow-wrap: anywhere; }
thead { background: #341816; color: var(--gold); }
tbody tr:nth-child(odd) { background: var(--panel); }
tbody th { font-weight: 600; width: 36%; }
td:last-child { width: 21%; }
.event-details { display: block; color: var(--muted); margin-top: .2rem; white-space: pre-line; }
.documents { border-top: 1px solid var(--border); }
.document-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.document { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem; padding: 1.3rem; border: 1px solid var(--border); background: var(--panel); border-radius: 4px; }
.document h3 { margin-top: .35rem; }
.pending { font-size: .86rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.3rem; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .navigation { min-height: 64px; }
  .nav-links { gap: .4rem 1rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero::before { width: 42vw; }
  .club-logo { width: min(100%, 510px); }
  .document-list { grid-template-columns: 1fr; }
  th, td { padding: .62rem .5rem; }
  table { font-size: .86rem; }
  td:last-child { width: 24%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
