@font-face {
  font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap;
  src: url("caratteri/Barlow-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Barlow; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("caratteri/Barlow-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("caratteri/BarlowCondensed-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap;
  src: url("caratteri/BarlowCondensed-ExtraBoldItalic.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --paper: #f4f4ee;
  --green: #073b2c;
  --deep: #082f24;
  --ink: #122e24;
  --gold: #f8d84b;
  --gutter: clamp(24px, 5vw, 88px);
  --space: clamp(68px, 8.5vw, 138px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1.125rem/1.5 Barlow, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .09em; text-underline-offset: .17em; }
button, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #ba4700; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) {
  clip: rect(0,0,0,0); clip-path: inset(50%); position: absolute;
  width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 12px 20px; color: var(--ink); background: white; }
.wrap { width: min(100%, 1720px); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.display {
  font: italic 800 clamp(3.35rem, 6vw, 6.35rem)/.87 "Barlow Condensed", Impact, sans-serif;
  letter-spacing: -.025em; text-transform: uppercase; text-wrap: balance;
}
.lead { font-size: clamp(1.35rem, 2.25vw, 2rem); line-height: 1.15; font-weight: 600; }
.fineprint { font-size: 1rem; }
.text-link, .button, .masthead a, .footer .wordmark, .fixture-strip, .sheet-link { text-decoration: none; }
.text-link { display: inline-flex; gap: .55em; align-items: baseline; font-weight: 700; }
.text-link:hover, .sheet-link:hover { text-decoration: underline; }
.text-link span, .button span, .strip-date b, .social-link span { display: inline-block; transition: transform .18s ease; }
.text-link:hover span, .button:hover span, .fixture-strip:hover .strip-date b { transform: translateX(4px); }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.75rem;
  min-height: 50px; padding: .8rem 1.25rem; font-weight: 700;
  transition: background-color .18s ease, transform .18s ease;
}
.button-gold { background: var(--gold); color: var(--deep); }
.button-gold:hover { background: #ffe66c; }
.button:active, .square-button:active { transform: translateY(2px); }
.masthead { background: var(--paper); }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.masthead-inner { min-height: 80px; }
.wordmark { display: inline-flex; gap: .7rem; align-items: center; color: var(--green); white-space: nowrap; text-decoration: none; }
.wordmark img { width: 44px; height: 44px; }
.wordmark span { font: italic 800 2.05rem/.9 "Barlow Condensed", Impact, sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.masthead nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.8vw, 3.4rem); }
.masthead nav a { display: inline-flex; gap: .4em; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 600; }
.masthead nav a:hover, .masthead nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.masthead nav a.social-link { margin-left: clamp(0px, 2.3vw, 40px); }
.social-link:hover span { transform: translate(2px,-2px); }
.cover { display: grid; grid-template-columns: 46% minmax(0, 1fr); isolation: isolate; background: var(--green); color: var(--paper); }
.cover-photo { position: relative; overflow: hidden; background: #314334; min-width: 0; }
.cover-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.cover-copy {
  padding: clamp(45px, 5.2vw, 88px) var(--gutter) clamp(42px, 4.7vw, 80px) clamp(36px, 5.7vw, 100px);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.cover h1 { font-size: clamp(7rem, 11.6vw, 13rem); line-height: .78; letter-spacing: -.032em; }
.cover h1 span { display: block; }
.cover-copy p { margin: clamp(25px, 2.6vw, 45px) 0 1.45rem; font-size: clamp(1.2rem, 1.65vw, 1.6rem); line-height: 1.24; }
.fixture-strip { display: block; background: var(--gold); color: var(--deep); }
.strip-inner { min-height: 99px; display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(240px, 2.45fr) auto; align-items: center; gap: 1.1rem; }
.strip-label { font-weight: 700; line-height: 1.1; }
.strip-label small { display: block; margin-top: .35rem; font-size: .95rem; font-weight: 400; }
.strip-inner > strong { font: 700 clamp(1.5rem, 2.45vw, 3rem)/1.04 "Barlow Condensed", sans-serif; }
.strip-date { display: inline-flex; align-items: center; gap: 1.3rem; font-weight: 600; }
.strip-date b { font-size: 1.6rem; }
.fixture-strip:hover .strip-inner > strong { text-decoration: underline; text-decoration-thickness: .075em; }
.chapter { padding-block: var(--space); }
.chapter-grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); gap: clamp(35px, 6vw, 110px); }
.chapter-intro p { margin-top: .8rem; max-width: 34ch; }
.chapter-intro .lead { margin-top: 1.7rem; }
.chapter-intro > .text-link { margin-top: 1.5rem; }
.results h3, .standings h2 { font-size: 1.15rem; line-height: 1.3; }
.result-list { margin: .85rem 0 0; padding: 0; list-style: none; }
.result-list a {
  color: inherit; text-decoration: none; padding: 1.05rem 1.2rem;
  display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center;
}
.result-list li:nth-child(odd) { background: #e8edde; }
.result-list a:hover .result-teams { text-decoration: underline; }
.result-meta { font-size: .98rem; grid-column: 1; }
.result-teams { font: 700 clamp(1.35rem, 1.9vw, 2rem)/1.13 "Barlow Condensed", sans-serif; }
.result-score { grid-column: 2; grid-row: 1/3; font: 700 clamp(2.1rem, 3.8vw, 3.6rem)/1 "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.club-chapter { background: #e2e8d8; }
.club-copy { max-width: 48ch; }
.club-copy p + p { margin-top: .85rem; }
.links { display: flex; flex-wrap: wrap; gap: .6rem 1.7rem; margin-top: 1.1rem; }
.club-photos { display: grid; grid-template-columns: 1.45fr .8fr 1fr; gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(30px, 3.3vw, 60px); align-items: start; }
.club-photos figure { min-width: 0; }
.club-photos img, .club-photos video { display: block; width: 100%; height: clamp(255px, 29vw, 445px); object-fit: cover; }
.club-photos video { background: var(--deep); }
.pitch-photo img { object-position: 50% 65%; }
.player-photo img { object-position: 50% 45%; }
.club-photos figcaption { margin-top: .5rem; font-size: .95rem; }
.balls-chapter { color: var(--paper); background: var(--green); padding-block: var(--space); }
.ball-grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); gap: clamp(35px, 6vw, 110px); align-items: center; }
.ball-copy p { margin-top: 1.5rem; max-width: 32ch; }
.ball-controls { margin-top: 2rem; }
.ball-controls label { display: block; margin-bottom: .4rem; font-weight: 600; }
.selection { width: min(100%, 355px); display: grid; grid-template-columns: minmax(110px, 1fr) 48px 48px; gap: .45rem; }
select { min-height: 48px; max-width: 100%; padding: .45rem 1.65rem .45rem .8rem; color: var(--ink); background: var(--paper); border: 0; border-radius: 0; }
.square-button { min-width: 44px; min-height: 48px; border: 0; color: var(--deep); background: var(--gold); font-size: 1.45rem; line-height: 1; }
.square-button:hover { background: #ffe887; }
.ball-stage { padding: clamp(20px, 3vw, 48px); background: #c5d6b7; color: var(--deep); }
.ball-stage img { width: 70%; height: auto; aspect-ratio: 1; margin: 0 auto; object-fit: contain; }
.ball-stage figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
#nome-pallone { font: italic 800 clamp(2rem,3.8vw,4rem)/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
#numero-pallone { white-space: nowrap; }
.plain-gallery { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .3rem 1rem; }
.footer { padding-block: 36px; background: var(--deep); color: var(--paper); }
.footer .wordmark { color: var(--paper); }
.footer-inner p { font-size: 1rem; }
.season-cover { padding: clamp(54px, 6vw, 108px) 0; background: var(--green); color: var(--paper); }
.season-cover .chapter-grid { align-items: center; }
.season-cover h1 { max-width: 8ch; font-size: clamp(5rem, 8.3vw, 9.5rem); }
.season-cover .lead { margin-top: 1.5rem; }
.season-cover p + p { margin-top: .55rem; }
.jump-game { margin-top: 1.3rem; }
.standings { background: #164b37; padding: clamp(22px, 3vw, 48px); }
.standings dl { display: flex; flex-wrap: wrap; gap: 1.2rem clamp(1.6rem, 3.6vw, 4.2rem); margin-block: 1rem; }
.standings dl div { display: flex; flex-direction: column-reverse; }
.standings dd { font: 700 clamp(2.5rem, 4.8vw, 5.3rem)/1 "Barlow Condensed", sans-serif; color: var(--gold); }
.standings dt { font-size: 1rem; }
.standings .text-link { margin-top: .8rem; }
.calendar-section { padding-block: var(--space); }
.calendar-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.filters { display: flex; gap: 1rem 1.4rem; align-items: end; flex-wrap: wrap; margin-top: 2.2rem; }
.filters label { display: grid; gap: .2rem; font-size: 1rem; font-weight: 600; }
.filters select { background: #e2e8d8; font-size: 1rem; }
.reset-button { border: 0; background: none; color: inherit; padding: .6rem .3rem; font-size: 1rem; text-decoration: underline; min-height: 44px; }
.reset-button:disabled { visibility: hidden; }
.filter-count { margin-inline-start: auto; align-self: end; padding-block: .6rem; }
.fixtures { width: 100%; margin-top: 2rem; border-collapse: collapse; }
.fixtures th, .fixtures td { text-align: left; vertical-align: middle; padding: .9rem clamp(.52rem, 1.45vw, 1.55rem); }
.fixtures thead { color: var(--paper); background: var(--green); }
.fixtures thead th { font-size: 1rem; font-weight: 600; }
.fixtures tbody tr:nth-child(odd) { background: #e9edde; }
.fixtures tbody tr:target { background: #fae999; }
.fixtures tbody th { width: 9%; font-size: 1.05rem; }
.fixtures .opponents span, .fixtures .game-time small { display: block; }
.game-time, .game-score, .game-link { font-size: 1rem; }
.game-time small { font-size: .96rem; }
.table-score { white-space: nowrap; font: 700 1.8rem/1 "Barlow Condensed", sans-serif; }
.link-gara { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.sheet-link { display: inline-flex; gap: .3em; align-items: center; font-weight: 600; min-height: 42px; }
.mobile-label { display: none; }
.empty-state { padding: 2rem .8rem; }

@media (min-width: 1720px) {
  .cover { grid-template-columns: calc((100% - 1720px)/2 + 791px) minmax(0, 1fr); }
}
@media (max-width: 850px) {
  :root { --gutter: 26px; }
  .masthead-inner { min-height: 72px; }
  .masthead nav { gap: 1.2rem; }
  .masthead nav a.social-link { margin: 0; }
  .cover { grid-template-columns: 44% 56%; }
  .cover-copy { padding: 46px 24px 44px 35px; }
  .cover h1 { font-size: clamp(6.7rem,14vw,8.5rem); }
  .strip-inner { grid-template-columns: 1fr auto; gap: .2rem 1.1rem; padding-block: .95rem; }
  .strip-label { grid-column: 1; font-size: 1rem; }
  .strip-label small { display: inline; margin: 0 0 0 .45rem; }
  .strip-label small::before { content: "· "; }
  .strip-inner > strong { grid-column: 1; }
  .strip-date { grid-column: 2; grid-row: 1/3; }
  .chapter-grid, .ball-grid { gap: 34px; }
  .selection { grid-template-columns: minmax(105px, 1fr) 44px 44px; }
}
@media (max-width: 650px) {
  :root { --gutter: 20px; --space: 62px; }
  body { font-size: 1.0625rem; }
  .masthead-inner { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 10px 4px; }
  .masthead .wordmark { width: max-content; }
  .wordmark img { width: 36px; height: 36px; }
  .wordmark span { font-size: 1.75rem; }
  .masthead nav { gap: .45rem; justify-content: space-between; }
  .masthead nav a { min-height: 39px; font-size: .98rem; }
  .cover { display: flex; flex-direction: column; }
  .cover-photo { height: clamp(196px, 50vw, 270px); }
  .cover-photo img { object-position: 50% 53%; }
  .cover-copy { padding: 26px var(--gutter) 29px; }
  .cover h1 { font-size: clamp(4.3rem, 14.8vw, 6.4rem); line-height: .92; white-space: nowrap; }
  .cover h1 span { display: inline; }
  .cover-copy p { margin: .75rem 0 1.15rem; font-size: 1.18rem; }
  .button { min-height: 46px; }
  .strip-inner { display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; padding-block: 16px; }
  .strip-inner > strong { margin-block: 4px; font-size: 1.55rem; }
  .strip-date { width: 100%; justify-content: space-between; }
  .strip-date b { font-size: 1.3rem; line-height: 1; }
  .chapter-grid, .ball-grid { grid-template-columns: 1fr; gap: 30px; }
  .chapter-intro .lead { margin-top: 1.1rem; }
  .chapter-intro > .text-link { margin-top: 1rem; }
  .result-list a { padding: .8rem .85rem; }
  .club-photos { grid-template-columns: 1.05fr 1fr; gap: .6rem; }
  .club-photos img { height: clamp(165px, 50vw, 260px); }
  .action-video { grid-column: 1/-1; }
  .club-photos video { max-height: 390px; height: auto; object-fit: contain; }
  .club-photos figcaption { font-size: .9rem; }
  .ball-stage { padding: 18px; }
  .ball-stage img { width: 70%; }
  .ball-controls { margin-top: 1.2rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: .9rem; }
  .footer-inner p { grid-column: 1/-1; grid-row: 2; }
  .footer-inner .text-link { font-size: 1rem; }
  .season-cover { padding-block: 38px; }
  .season-cover h1 { max-width: unset; }
  .standings { padding: 20px; }
  .standings dl { justify-content: space-between; gap: .7rem; }
  .calendar-heading { align-items: start; flex-direction: column; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: .4rem .65rem; margin-top: 1.4rem; }
  .filters label { min-width: 0; }
  .filters select { width: 100%; }
  .reset-button { justify-self: start; }
  .fixtures { margin-top: .7rem; display: block; }
  .fixtures thead { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; position: absolute; }
  .fixtures tbody { display: block; }
  .fixtures tbody tr { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: .45rem .8rem; padding: 16px 12px; }
  .fixtures th, .fixtures td { padding: 0; }
  .fixtures tbody th { grid-column: 1; width: auto; font-size: .96rem; }
  .mobile-label { display: inline; }
  .opponents { grid-column: 1; grid-row: 2; }
  .game-time { grid-column: 1; grid-row: 3; }
  .game-score { grid-column: 2; grid-row: 2; align-self: center; }
  .game-link { grid-column: 2; grid-row: 3; align-self: end; }
  .sheet-link { min-height: 38px; }
}
@media (max-width: 350px) {
  :root { --gutter: 14px; }
  .masthead nav a { font-size: .93rem; }
  .filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .cover-copy h1, .cover-copy p, .cover-copy .button { animation: rise .67s both; }
  .cover-copy p { animation-delay: .08s; }
  .cover-copy .button { animation-delay: .13s; }
  .cover-photo img { animation: photo-arrival 1.65s ease-out both; }
  .entered { animation: rise .5s ease-out both; }
  @keyframes rise { from { opacity: .75; transform: translateY(9px); } to { opacity: 1; transform: none; } }
  @keyframes photo-arrival { from { transform: scale(1.025); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; }
}
