:root {
  --gold: #ffdc00;
  --gold-hover: #e8c600;
  --ink: #101010;
  --panel: #1c1c1c;
  --ivory: #f5f3ec;
  --line: #d8d5cb;
  --muted: #625f59;
  --light-mute: #c4c1b9;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, Arial, sans-serif;
  --edge: clamp(20px, 3.05vw, 46px);
  --section-gap: clamp(28px, 4vw, 58px);
  --head-height: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--ivory); font: 400 1rem/1.55 var(--body); font-variant-numeric: tabular-nums; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
picture { display: contents; }
button, select, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
a:not([class]) { text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #3c6ef4; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, dl, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 900; line-height: .95; text-transform: uppercase; letter-spacing: -.018em; }
h1 { font-size: clamp(3.5rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2.35rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.65rem, 2.5vw, 2.55rem); }
h4 { font: 800 1.15rem/1.1 var(--display); text-transform: uppercase; }
small { font-size: .84em; }

.wrap { width: 100%; max-width: 1532px; padding-inline: var(--edge); margin-inline: auto; }
.section { padding-block: var(--section-gap); }
.section + .section { border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: baseline; gap: .26em; margin-bottom: .38em; }
.section-title::before { content: ""; flex: 0 0 .13em; height: .72em; background: var(--gold); transform: skewX(-21deg); margin-inline: .08em .13em; }
.eyebrow { font: 800 1rem/1.15 var(--display); letter-spacing: .09em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 46px; padding: .7rem 1.25rem; border: 0; color: var(--ink); background: var(--gold); text-align: center; text-decoration: none; text-transform: uppercase; font: italic 900 1.13rem/1 var(--display); }
.button:hover { background: var(--gold-hover); }
.button-dark { background: var(--ink); color: var(--ivory); }
.button-dark:hover { background: #353535; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.text-link, .back-link { font-weight: 700; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .6rem 1rem; background: var(--gold); color: var(--ink); }
.crest { object-fit: contain; width: 2.25rem; height: 2.25rem; flex: 0 0 auto; }

.ribbon { background: var(--gold); color: var(--ink); font: 800 .88rem/1.1 var(--display); letter-spacing: .19em; }
.ribbon .wrap { display: flex; align-items: center; min-height: 26px; gap: clamp(.5rem, 1.9vw, 2rem); }
.site-header { position: sticky; z-index: 9; top: 0; background: var(--ink); color: var(--ivory); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-height); gap: clamp(.75rem, 2vw, 1.8rem); }
.wordmark { display: inline-flex; align-items: center; flex: 0 0 auto; gap: .55rem; color: inherit; text-decoration: none; font: 800 clamp(1.8rem, 2.7vw, 2.8rem)/.9 var(--display); white-space: nowrap; }
.wordmark .crest { width: 3.55rem; height: 3.55rem; }
.desktop-nav { align-self: stretch; flex: 1; }
.desktop-nav ul { display: flex; list-style: none; padding: 0; }
.desktop-nav > ul { height: 100%; align-items: stretch; justify-content: center; gap: clamp(.25rem, 1.55vw, 1.5rem); }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-item > a { display: flex; align-items: center; padding-inline: .25rem; font: 800 1.07rem/1 var(--display); white-space: nowrap; text-transform: uppercase; text-decoration: none; }
.nav-item > a:hover, .nav-item.current > a, .nav-item:focus-within > a { color: var(--gold); }
.desktop-nav .dropdown { display: none; position: absolute; top: 100%; left: -.8rem; z-index: 11; min-width: 15rem; padding: .4rem; border-top: 3px solid var(--gold); background: var(--panel); box-shadow: 0 7px 20px #0005; }
.desktop-nav .nav-item:not(.force-closed):is(:hover,:focus-within) > .dropdown { display: block; }
.dropdown a { display: grid; align-items: center; min-height: 44px; padding: .55rem .75rem; text-decoration: none; font-size: .94rem; }
.dropdown a:hover, .dropdown a:focus-visible { background: #363636; color: var(--gold); }
.header-actions, .socials { display: flex; align-items: center; gap: .15rem; }
.header-actions { gap: .85rem; }
.socials a { display: inline-grid; place-items: center; width: 38px; height: 44px; text-decoration: none; }
.socials a:hover { color: var(--gold); }
.socials svg { width: 19px; height: 19px; }
.menu-button { display: none; }
.drawer, .lightbox { padding: 0; background: var(--ink); color: var(--ivory); border: 0; }
.drawer::backdrop, .lightbox::backdrop { background: #000b; }
.drawer { inset: 0 0 0 auto; height: 100dvh; width: min(100%, 420px); max-height: none; max-width: 100%; margin: 0; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 3px solid var(--gold); }
.drawer-top button, .menu-button, .lightbox button { background: transparent; color: var(--ivory); border: 1px solid #777; min-height: 44px; padding: .4rem .65rem; }
.drawer nav { display: grid; padding: .75rem 1rem 2rem; }
.drawer nav > a:not(.button), .drawer summary { min-height: 48px; padding: .55rem .25rem; text-transform: uppercase; font: 800 1.35rem/1.2 var(--display); border-bottom: 1px solid #555; text-decoration: none; }
.drawer details a { display: block; min-height: 44px; padding: .6rem .75rem; text-decoration: none; }
.drawer details a:is(:hover,:focus-visible), .drawer summary:is(:hover,:focus-visible) { color: var(--gold); }
.drawer .button { margin-top: 1rem; }

.home-hero { position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--ivory); min-height: clamp(460px, 39vw, 620px); }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 37% 0 0; background: linear-gradient(100deg,#101010f2,#101010ab 53%,#1010103b), var(--campus-backdrop, none) 52% 41% / cover no-repeat; }
.hero-content { position: relative; pointer-events: none; }
.hero-type { max-width: 52%; padding-block: 2rem; }
.hero-type h1 { font-size: clamp(5.375rem, 11.1vw, 11rem); color: var(--ivory); line-height: .76; text-shadow: 0 2px 12px #0006; }
.hero-type h1 strong { font-weight: inherit; color: var(--gold); font-size: 1.12em; }
.hero-type p { margin-top: .7rem; font: italic 700 clamp(1.1rem, 2.25vw, 1.9rem)/1.15 var(--display); }
.hero-type p::after { display: block; content: ""; width: 2.7rem; height: .31rem; margin: .8rem 0 .35rem .2rem; background: var(--gold); transform: skew(-23deg); }
.hero-links { display: flex; gap: 1.05rem; flex-wrap: wrap; }
.hero-links a { pointer-events: auto; display: inline-grid; align-items: center; min-height: 44px; font: 800 1.05rem/1.1 var(--display); text-transform: uppercase; }
.hero-links a:hover { color: var(--gold); }
.hero-visual { position: absolute; inset: 0 0 0 39%; }
.split-panel { position: absolute; inset: 0; background: var(--gold); clip-path: polygon(23% 0, 65% 0, 44% 100%, 0 100%); overflow: hidden; }
.split-panel::before { content: ""; position: absolute; inset: 0 0 0 6px; background: linear-gradient(145deg, #31312b, #181818 63%); clip-path: inherit; }
.split-women::before { background: repeating-linear-gradient(132deg, #28261a 0 1px, transparent 1px 63px), linear-gradient(135deg,#332d17,#1b1a15 64%,#24221a); }
.split-men { clip-path: polygon(64% 0, 100% 0, 100% 100%, 43% 100%); }
.split-men::before { background: repeating-linear-gradient(132deg, #3d3a25 0 1px, transparent 1px 63px), linear-gradient(135deg,#181818,#25241c); }
.split-panel img { position: absolute; inset: 0 auto 0 0; height: 100%; object-fit: cover; }
.split-women img { width: 65%; object-position: 50% 39%; }
.split-men img { left: 43%; width: 57%; object-position: 50% 40%; }
.split-panel.split-photo::after { content: ""; position: absolute; inset: 0; background: var(--gold); clip-path: polygon(23% 0, 23.55% 0, .55% 100%, 0 100%); }
.split-men.split-photo::after { clip-path: polygon(64% 0, 64.55% 0, 43.55% 100%, 43% 100%); }
.split-panel.split-photo span { background: #101010e0; padding: .4em .55em; }
.split-panel span { position: absolute; z-index: 1; bottom: 1rem; text-transform: uppercase; color: var(--ivory); font: italic 900 clamp(1rem, 1.65vw, 1.75rem)/1 var(--display); }
.split-women span { left: 7%; }
.split-men span { left: 52%; }
.split-panel:is(:hover,:focus-visible) span { color: var(--gold); text-decoration: underline; }
.hero-badge { position: absolute; top: 1.1rem; right: var(--edge); background: var(--ink); padding: .35rem .75rem; border-right: 5px solid var(--gold); font: italic 900 1.25rem/1 var(--display); text-transform: uppercase; }

.home-matches { display: grid; grid-template-columns: minmax(210px, 1.07fr) minmax(250px, 1.42fr) minmax(170px, 1fr) minmax(72px, .39fr); gap: 1rem; align-items: center; padding-block: 1.15rem; }
.match-label { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.match-label h2 { font-size: clamp(2.25rem, 3.7vw, 3.65rem); position: relative; padding-right: .45em; }
.match-label h2::after { content: ""; position: absolute; right: .02em; bottom: 0; height: 57%; width: .09em; transform: skewX(-22deg); background: var(--gold); }
.tab-list { display: flex; gap: .1rem; }
.tab-list button { min-height: 44px; min-width: 55px; padding: .35rem .65rem; border: 1px solid #afada6; background: transparent; color: var(--ink); font: 800 .98rem/1 var(--display); text-transform: uppercase; }
.tab-list button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.match-card { display: block; border: 1px solid #c9c6bc; background: #faf8f1; color: var(--ink); text-decoration: none; padding: .64rem .75rem .58rem; }
.match-card:hover { border-color: var(--ink); background: #fffdf7; }
.match-card-meta, .match-card-foot { display: flex; justify-content: space-between; align-items: baseline; gap: .55rem; font-size: .74rem; font-weight: 600; }
.match-card-foot { margin-top: .32rem; border-top: 1px solid var(--line); padding-top: .3rem; }
.match-card-foot span:last-child { text-align: right; }
.scoreboard { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(.65rem, 4vw, 3.3rem); align-items: center; }
.score-team { display: grid; justify-items: center; gap: .55rem; text-align: center; }
.score-team span { font: 800 clamp(1rem, 2.3vw, 2rem)/1.05 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.score-team .crest { width: clamp(2.9rem, 8vw, 7rem); height: clamp(2.9rem, 8vw, 7rem); }
.score-number { display: grid; text-align: center; }
.score-number strong { font: italic 900 clamp(3.25rem, 8vw, 7rem)/.9 var(--display); white-space: nowrap; }
.penalties { margin-top: .3rem; font-size: .8rem; white-space: nowrap; }
.scoreboard.compact { gap: .4rem; margin-block: .45rem; }
.compact .score-team { gap: .16rem; }
.compact .score-team .crest { height: 1.64rem; width: 1.64rem; }
.compact .score-team span { font: 800 1.02rem/1.05 var(--display); }
.compact .score-number strong { font-size: 2.5rem; }
.compact .penalties { margin: .12rem 0 0; font-size: .65rem; }
.home-fixtures { position: relative; display: flex; gap: .65rem; align-self: stretch; align-items: center; justify-content: space-between; min-height: 102px; padding: .75rem; border: 1px solid #c9c6bc; border-left: 6px solid var(--gold); background: #efede4; text-decoration: none; }
.home-fixtures:hover { border-color: var(--ink); }
.home-fixtures h3 { font-size: clamp(1.25rem, 2.1vw, 2rem); }
.home-fixtures p { font-size: .77rem; margin-top: .2rem; }
.fixture-jump { display: grid; gap: .25rem; border-left: 1px solid var(--ink); padding-left: .7rem; font: italic 900 1.15rem/1.05 var(--display); text-transform: uppercase; }
.fixture-jump a { display: flex; align-items: center; min-height: 34px; text-decoration: none; }
.recap-photo { width: 30px; height: 30px; margin-right: .35rem; object-fit: cover; }
.fixture-jump a:hover { text-decoration: underline; }

.home-news { padding-block: .7rem 1.2rem; position: relative; }
.home-news::before { content: ""; position: absolute; top: 0; left: var(--edge); right: var(--edge); height: 1px; background: #c9c6bc; }
.home-news .section-title { font-size: clamp(2.15rem, 3.45vw, 3.45rem); margin-bottom: .25em; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.37fr) minmax(0, 1fr); gap: .9rem; }
.editorial-grid > div { display: grid; gap: .75rem; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.story-tile { display: flex; position: relative; min-height: 15rem; isolation: isolate; overflow: hidden; align-items: end; height: 100%; background: linear-gradient(115deg,#282519,#171717 63%,#101010); color: var(--ivory); text-decoration: none; }
.story-tile::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(transparent 15%, #000d 100%); }
.story-tile:not(.with-photo)::after { content: ""; position: absolute; z-index: -2; height: 160%; width: 14%; top: -30%; right: 17%; background: var(--gold); opacity: .13; transform: skewX(-24deg); }
.story-tile:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.tile-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .18s ease-out; }
.story-tile:hover .tile-photo { transform: scale(1.035); }
.story-copy { width: 100%; padding: clamp(.85rem, 2.1vw, 1.6rem); }
.story-copy .eyebrow { color: var(--gold); font-size: .84rem; margin-bottom: .35rem; }
.story-copy .eyebrow time { margin-left: .4rem; color: var(--light-mute); font-weight: 700; }
.story-copy h3 { max-width: 20ch; }
.story-copy > p:not(.eyebrow) { margin-top: .32rem; max-width: 33rem; font-size: .9rem; }
.story-tile.feature { min-height: clamp(265px, 26vw, 410px); }
.story-tile.feature h3 { font-size: clamp(2.65rem, 5.6vw, 5.8rem); max-width: 11ch; }
.story-tile.feature .story-copy > p:not(.eyebrow) { display: none; }
.story-tile.minor { min-height: 0; }
.story-tile.minor.with-photo { align-items: center; justify-content: end; background: var(--ink); }
.story-tile.minor.with-photo::before { content: none; }
.story-tile.minor.with-photo .tile-photo { width: 51%; }
.story-tile.minor.with-photo .story-copy { width: 52%; background: var(--ink); }
.story-tile.minor .story-copy { padding: .65rem .95rem; }
.story-tile.minor .story-copy p:not(.eyebrow) { font-size: .78rem; }
.tag { display: inline-block; margin-top: .5rem; padding: .34rem .75rem; color: var(--ink); background: var(--gold); font: italic 900 1.1rem/1.05 var(--display); text-transform: uppercase; }
.read-more { display: block; font-size: 1.1rem; text-align: right; line-height: 1; }

.season-band { padding-block: 1.3rem 1.6rem; background: var(--ink); color: var(--ivory); }
.season-band .section-title { color: var(--gold); margin-bottom: .25em; font-size: clamp(2.35rem, 3.7vw, 3.65rem); }
.season-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(140px, .58fr); }
.season-team { display: block; width: fit-content; max-width: 100%; padding: .35rem 1rem .35rem 0; text-decoration: none; }
.season-team:hover h3 { text-decoration: underline; }
.season-grid > * + * { border-left: 1px solid #707070; padding-left: clamp(.65rem, 2.15vw, 2rem); }
.season-team h3 { font-size: clamp(1.18rem, 2vw, 1.65rem); margin-bottom: .22rem; }
.season-team h3 span { color: var(--light-mute); }
.season-numbers { display: flex; gap: clamp(.6rem, 1.4vw, 1.4rem); align-items: flex-start; }
.rank { color: var(--gold); font: italic 900 clamp(3.4rem, 6.2vw, 6.2rem)/.86 var(--display); }
.numbers { display: grid; grid-template-columns: repeat(5, minmax(28px, 1fr)); border-block-end: 1px solid #707070; padding: .2rem 0 .42rem; font-family: var(--display); text-align: center; }
.numbers > div { padding-inline: .14rem; }
.numbers dt, .goals-line { color: var(--light-mute); font-size: .8rem; }
.numbers dd { font-weight: 800; line-height: 1.1; font-size: 1.4rem; margin: 0; }
.goals-line { padding-top: .3rem; text-transform: uppercase; }
.goals-line b { margin-left: .4rem; color: var(--ivory); }
.season-links h3 { margin: .35rem 0 .5rem; color: var(--gold); font-size: 1.6rem; }
.season-links a { display: block; padding-block: .2rem; font-size: .9rem; }
.home-venue { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(230px, 22vw, 370px); overflow: hidden; background: #24241d; color: var(--ivory); border-top: 4px solid var(--ivory); }
.venue-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.home-venue::after { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(95deg,#000b,#0007 35%,#0000 70%); }
.home-venue .wrap { padding-block: 1.6rem; }
.home-venue h2 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); margin-bottom: .65rem; }
.home-venue em, .social-band em { color: var(--gold); }
.social-band { display: flex; align-items: center; min-height: 122px; gap: clamp(.8rem, 2.2vw, 2rem); padding-block: .85rem; }
.social-band h2 { font-size: clamp(2.25rem, 3.5vw, 3.75rem); white-space: nowrap; }
.social-band > div > a { font: italic 900 1.45rem/1.1 var(--display); text-decoration: none; text-transform: uppercase; }
.social-band > p { max-width: 34rem; }
.social-band .gallery-strip { flex: 1; }
.gallery-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .38rem; }
.gallery-thumb { display: block; overflow: hidden; background: var(--panel); }
.gallery-thumb img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; }
.gallery-thumb:hover img { filter: brightness(.85); }
.gallery-grid:not(.gallery-strip) { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.gallery-grid.gallery-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.academy-band { background: var(--gold); }
.academy-band .wrap { display: flex; flex-wrap: wrap; min-height: 80px; align-items: center; justify-content: space-between; padding-block: .65rem; gap: .65rem 1.5rem; }
.academy-band h2 { font-size: clamp(2.25rem, 4.35vw, 4.55rem); }
.academy-band .wrap > div { display: flex; gap: .7rem; }
.video-band { background: var(--panel); color: var(--ivory); padding-block: var(--section-gap); }
.video-band .text-link { display: inline-block; margin-top: .9rem; }
.film-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.film-frame { aspect-ratio: 16 / 9; background: repeating-linear-gradient(120deg,#36331c 0 1px,transparent 1px 37px),#1a1910; }
.film-frame iframe, .film-play { width: 100%; height: 100%; border: 0; }
.film-play { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .65rem; background: transparent; color: var(--ivory); font: 800 1.08rem/1 var(--display); text-transform: uppercase; }
.play-symbol { display: grid; place-items: center; padding-left: .17rem; width: 3.4rem; height: 2.65rem; color: var(--ink); background: var(--gold); font: 900 1.1rem/1 var(--body); }
.film-play:hover .play-symbol { background: var(--gold-hover); }
.film h3 { margin-top: .55rem; font-size: clamp(1.3rem, 2vw, 2rem); }
.film p { margin-top: .3rem; font-size: .83rem; }

.site-footer { background: var(--ink); color: var(--ivory); padding: 1.8rem 0 .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .8fr .8fr .8fr 1fr 1.3fr; gap: 1.2rem; }
.footer-grid h2 { font: 800 1.2rem/1.05 var(--display); margin-bottom: .35rem; }
.footer-grid p, .footer-grid address, .footer-grid a:not(.wordmark) { font-size: .84rem; }
.footer-grid address { font-style: normal; margin-bottom: .4rem; }
.footer-grid > div > a:not(.wordmark) { display: block; min-height: 25px; line-height: 1.45; padding-block: .13rem; text-decoration: none; }
.footer-grid > div > a:hover, .footer-base a:hover { text-decoration: underline; color: var(--gold); }
.footer-brand p { margin-top: .35rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-base { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: 1.1rem; border-top: 1px solid #555; padding-top: .6rem; color: var(--light-mute); font-size: .82rem; }

.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--ivory); }
.page-head::after { position: absolute; z-index: -1; content: ""; top: -7rem; bottom: -5rem; right: 13%; width: 8%; transform: skewX(-23deg); background: linear-gradient(160deg,#ffdc00b5,#ffdc001f); }
.page-head-photo::before { position: absolute; z-index: -1; content: ""; inset: 0; background: linear-gradient(90deg,#101010 15%,#101010eb 40%,#10101030); }
.page-photo { position: absolute; z-index: -2; right: 0; width: min(68%, 1100px); height: 100%; object-fit: cover; object-position: center 38%; }
.page-photo-men { object-position: center 8%; }
.page-heading { padding-block: clamp(2.7rem, 6.4vw, 6rem); }
.page-heading .eyebrow, .match-hero .eyebrow { color: var(--gold); margin-bottom: .65rem; }
.page-heading h1 { max-width: 15ch; padding-right: .15em; }
.deck { max-width: 42rem; margin-top: .9rem; color: var(--light-mute); font-size: clamp(1.02rem, 1.5vw, 1.32rem); }
.sub-nav { background: #e8e5db; border-bottom: 1px solid #cfcbbd; }
.sub-nav .wrap { display: flex; gap: .15rem .85rem; flex-wrap: wrap; align-items: center; }
.sub-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: .35rem .45rem; text-transform: uppercase; text-decoration: none; font: 800 1.14rem/1 var(--display); border-bottom: 3px solid transparent; }
.sub-nav a:is(:hover,[aria-current="page"]) { border-color: var(--ink); }
.cards-grid, .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; }
.news-grid .story-tile { min-height: 230px; }
.players-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; }
.player-card { display: block; border: 1px solid #ccc9bd; text-decoration: none; background: #faf8f1; }
.player-card:hover h2 { text-decoration: underline; }
.player-card > div { position: relative; padding: .7rem; }
.player-card h2 { margin-top: .26rem; font-size: clamp(1.22rem, 2vw, 1.85rem); }
.player-card > div > span { display: block; min-height: 1.3em; font-size: .75rem; color: var(--muted); }
.player-card > div > b { position: absolute; padding: .26rem .4rem; top: -1.8rem; right: .4rem; background: var(--gold); font: 800 1.35rem/1 var(--display); }
.silhouette { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 3 / 4; background: linear-gradient(125deg,#2a2719,#181818 67%); }
.silhouette::after { position: absolute; content: ""; background: var(--gold); width: 5%; height: 130%; top: -10%; right: 19%; transform: skewX(-24deg); opacity: .24; }
.silhouette-head { position: absolute; display: block; z-index: 1; top: 22%; left: 37%; width: 26%; height: 28%; border-radius: 49% 49% 43% 43%; background: #0e0e0e; border: 1px solid #4b4531; border-bottom: none; }
.silhouette-jersey { position: absolute; display: block; z-index: 1; inset: 44% 12% 0; background: linear-gradient(114deg,#111 34%,#5c4f1c 35% 37%,#171717 38%); clip-path: polygon(37% 0,63% 0,69% 12%,92% 22%,100% 60%,83% 66%,83% 100%,17% 100%,17% 66%,0 60%,8% 22%,31% 12%); }
.profile-grid { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(0,1.35fr); gap: var(--section-gap); }
.profile-grid .silhouette { max-width: 320px; }
.fact-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; max-width: 46rem; border-bottom: 1px solid var(--line); padding-block: .65rem; }
.fact-list dd { margin: 0; font-weight: 700; }
.source-note { margin-block: .8rem; color: var(--muted); }
.squad-controls { margin-bottom: 1rem; display: grid; justify-items: start; gap: .3rem; }
.squad-controls label, .filters label, .topic-picker { display: grid; gap: .29rem; font-weight: 700; }
.topic-picker { max-width: 18rem; }
select, input { min-height: 44px; border: 1px solid #969387; border-radius: 0; padding: .42rem .6rem; background: #fffdf7; color: var(--ink); min-width: 0; }
select { appearance: none; padding-right: 1.9rem; background: #fffdf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23101010' stroke-width='1.7'/%3E%3C/svg%3E") right .5rem center / 1.05rem no-repeat; }
.filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 145px), 1fr)); gap: .65rem; align-items: end; }
.filter-count { min-height: 1.4rem; color: var(--muted); font-size: .9rem; padding-block: .5rem; }
.fixtures-results { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: .85rem; }
.filter-results .match-card { height: 100%; }
.empty-state { border-top: 4px solid var(--gold); padding: 1.4rem 1rem; background: #eeebe1; }
.empty-state p { margin-top: .5rem; }
.table-wrap { overflow: auto; border: 1px solid var(--line); background: #fffdf7; margin-bottom: .8rem; }
table { border-collapse: collapse; text-align: start; width: 100%; min-width: 590px; }
caption { text-align: start; padding: .65rem .6rem; font-weight: 700; }
thead { background: var(--ink); color: var(--ivory); }
th, td { padding: .52rem .62rem; text-align: right; }
thead th:first-child, thead th:nth-child(2), tbody th { text-align: left; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #f5f1e5; }
tbody tr.is-unsw { background: var(--gold); font-weight: 800; }
.table-team { display: flex; align-items: center; gap: .55rem; }
.table-team .crest { width: 1.7rem; height: 1.7rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: .85rem; gap: .3rem; }
.stat-grid > div { background: var(--ink); color: var(--ivory); padding: .65rem .75rem; }
.stat-grid dt { color: var(--light-mute); font-weight: 600; }
.stat-grid dd { color: var(--gold); margin: 0; font: italic 900 3rem/1 var(--display); }

.match-hero { background: var(--ink); color: var(--ivory); text-align: center; padding-block: clamp(1.5rem, 4.2vw, 3.9rem); }
.match-hero .back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; margin-bottom: .45rem; }
.match-hero h1 { font-size: clamp(2.1rem, 4.55vw, 4.4rem); margin-bottom: .47rem; }
.match-hero .scoreboard { max-width: 62rem; margin: 1.3rem auto 0; padding: 1.35rem max(.5rem, 2vw); border-block: 1px solid #777; }
.match-hero .score-number { color: var(--gold); }
.match-status { margin-top: .65rem; font: 800 1.15rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.match-detail .film { max-width: 48rem; }
.report-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .4rem; }
.event-list, .lineup-list, .detail-list, .history-list { margin: .75rem 0 0; padding: 0; list-style: none; }
.event-list li, .lineup-list li, .detail-list li { border-bottom: 1px solid var(--line); padding-block: .55rem; }
.event-list { max-width: 52rem; }
.event-list li { display: grid; grid-template-columns: 3.8rem minmax(0, 1fr); gap: .75rem; }
.event-minute, .shirt-number { font-family: var(--display); font-weight: 800; font-size: 1.24rem; }
.event-list strong { margin-right: .4rem; }
.event-list small { display: block; color: var(--muted); }
.lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: .75rem; }
.lineup-side { padding: .8rem; border: 1px solid var(--line); background: #fffdf7; }
.lineup-side h3 { display: flex; align-items: center; gap: .5rem; }
.lineup-side h4 { margin-top: 1rem; }
.lineup-list { margin-top: .25rem; }
.lineup-list li { display: grid; grid-template-columns: 2.25rem minmax(0,1fr); }

.article { max-width: min(100%, 1120px); }
.article-meta { margin-bottom: 1rem; color: var(--muted); }
.article-body { max-width: 48rem; font-size: 1.12rem; }
.article-body p + p, .prose p + p { margin-top: 1em; }
.article-body .photo-figure { margin-top: 1.35rem; }
.photo-figure { margin-bottom: 1.3rem; align-self: start; }
.photo-figure img { width: 100%; height: auto; }
.photo-figure figcaption { padding-block: .5rem; color: var(--muted); font-size: .84rem; }
.content-layout.with-figure { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: var(--section-gap); }
.prose { max-width: 49rem; }
.prose > section + section { margin-top: 1.6rem; }
.prose p { max-width: 67ch; }
.prose .section-title { font-size: clamp(2rem, 3.5vw, 3.3rem); }
.history-list { max-width: 58rem; }
.history-list li { display: grid; grid-template-columns: clamp(4rem, 10vw, 9rem) 1fr; gap: .75rem; align-items: baseline; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.history-list li > strong { font: italic 900 clamp(2rem, 4.7vw, 4rem)/1 var(--display); }
.history-list p { margin-top: .32rem; }
.lightbox { max-height: 95dvh; width: min(95vw, 1000px); overflow: auto; }
.lightbox-controls { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem; }
.lightbox img { width: 100%; max-height: 75dvh; object-fit: contain; }
.lightbox figcaption { padding: .65rem; }
.lightbox figcaption a { margin-left: .65rem; color: var(--gold); }
.season-editorial.with-team-photo, .milestone-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.season-editorial .photo-figure, .milestone-photos .photo-figure { margin: 0; }
.history-list .photo-figure { margin-top: .8rem; max-width: 550px; }
.archive-videos summary { min-height: 44px; padding: .6rem; cursor: pointer; background: var(--ink); color: var(--ivory); font-weight: 700; }
.archive-videos .film-grid { margin-top: 1rem; }

@media (max-width: 1250px) {
  .header-actions .socials { display: none; }
  .home-matches { grid-template-columns: minmax(174px, .85fr) minmax(220px, 1.35fr) minmax(157px, .97fr) minmax(64px, .35fr); gap: .65rem; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --head-height: 66px; }
  .desktop-nav, .header-actions { display: none; }
  .menu-button { display: flex; align-items: center; gap: .4rem; font: 800 1.12rem/1 var(--display); text-transform: uppercase; }
  .wordmark .crest { width: 3rem; height: 3rem; }
  .home-hero { min-height: 420px; }
  .hero-type h1 { font-size: clamp(5rem, 12.5vw, 8rem); }
  .home-matches { grid-template-columns: 1fr 1fr; }
  .match-label { grid-column: 1 / -1; justify-content: space-between; }
  .match-label h2 br { display: none; }
  .match-label h2::after { bottom: .02em; height: 69%; }
  .match-label h2 { word-spacing: .1em; }
  .fixture-jump { grid-column: 1 / -1; display: flex; border: 0; padding: 0; gap: 1rem; }
  .fixture-jump a { min-height: 44px; }
  .season-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1rem; }
  .season-links { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding-left: 0; border: 0; border-top: 1px solid #707070; padding-top: .5rem; }
  .players-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .cards-grid, .news-grid, .fixtures-results { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 639px) {
  :root { --edge: 17px; --head-height: 62px; }
  body { font-size: .97rem; }
  h1 { font-size: clamp(2.6rem, 11.5vw, 3.55rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .ribbon { font-size: .69rem; letter-spacing: .12em; }
  .ribbon .wrap { min-height: 23px; justify-content: center; }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .home-hero::before { inset: 0; background: linear-gradient(130deg,#222118,#101010 64%); }
  .hero-content { order: -1; min-height: clamp(237px, 67.45vw, 288px); }
  .hero-type { padding-block: 1.65rem .65rem; max-width: 100%; }
  .hero-type h1 { font-size: clamp(4.35rem, 19.6vw, 6.25rem); }
  .hero-type p { font-size: 1.26rem; }
  .hero-visual { position: relative; inset: auto; min-height: clamp(185px, 55vw, 290px); }
  .hero-badge { top: auto; right: .55rem; bottom: 3.2rem; font-size: .8rem; border-right-width: 3px; }
  .split-women { clip-path: polygon(0 0,64% 0,51% 100%,0 100%); }
  .split-men { clip-path: polygon(63% 0,100% 0,100% 100%,50% 100%); }
  .split-women img { width: 64%; object-position: 45% 44%; }
  .split-men img { left: 50%; width: 50%; object-position: 47% 37%; }
  .split-women.split-photo::after { clip-path: polygon(0 0, 1% 0, 1% 100%, 0 100%); }
  .split-men.split-photo::after { clip-path: polygon(63% 0, 64% 0, 51% 100%, 50% 100%); }
  .split-panel span { font-size: .93rem; bottom: .5rem; }
  .split-women span { left: var(--edge); }
  .split-men span { left: 61%; }
  .home-matches { grid-template-columns: 1fr; padding-block: .8rem; gap: .46rem; }
  .home-fixtures { padding-block: .65rem; min-height: 0; }
  .home-fixtures h3 br { display: none; }
  .home-fixtures h3 { font-size: 1.45rem; word-spacing: .14em; }
  .match-label h2 { font-size: 2.05rem; }
  .tab-list button { min-width: 50px; padding-inline: .4rem; }
  .editorial-grid { grid-template-columns: 1fr; gap: .6rem; }
  .editorial-grid > div { gap: .6rem; }
  .story-tile.feature { min-height: 250px; }
  .story-tile.feature h3 { font-size: clamp(2.7rem, 13vw, 5rem); }
  .story-tile.minor { min-height: 132px; }
  .story-tile.minor h3 { font-size: 1.7rem; }
  .season-grid { grid-template-columns: 1fr; gap: 0; }
  .season-grid > * { padding-block: .8rem; }
  .season-grid > * + * { border-left: 0; border-top: 1px solid #707070; padding-left: 0; }
  .season-numbers { gap: 1rem; flex-wrap: wrap; }
  .rank { font-size: 4.3rem; }
  .numbers { grid-template-columns: repeat(5,minmax(30px,1fr)); }
  .home-venue { min-height: 252px; }
  .home-venue h2 { font-size: clamp(2.35rem, 11vw, 3.75rem); }
  .venue-photo { object-position: 61% center; }
  .home-venue::after { background: linear-gradient(91deg,#000c,#0005 73%,#0002); }
  .social-band { align-items: start; flex-direction: column; gap: .65rem; }
  .social-band h2 br { display: none; }
  .social-band h2 { word-spacing: .11em; font-size: 2.35rem; }
  .gallery-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-grid.gallery-mosaic { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .academy-band .wrap { padding-block: 1rem; }
  .academy-band h2 { font-size: 2.6rem; }
  .film-grid, .cards-grid, .news-grid, .fixtures-results, .content-layout.with-figure { grid-template-columns: 1fr; }
  .season-editorial.with-team-photo, .milestone-photos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1/-1; }
  .footer-grid > div > a:not(.wordmark) { padding-block: .25rem; }
  .page-heading { padding-block: 2.45rem; }
  .page-head::after { right: 17%; }
  .page-head-photo::before { background: linear-gradient(90deg,#101010f7,#10101068); }
  .page-photo { width: 100%; }
  .sub-nav .wrap { gap: .15rem .35rem; }
  .sub-nav a { font-size: .95rem; }
  .players-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-grid .silhouette { max-width: 170px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-hero .scoreboard { gap: .5rem; }
  .score-team span { font-size: 1rem; }
  .lineup-grid { grid-template-columns: 1fr; }
  .story-tile.minor.with-photo .story-copy { width: 61%; }
  .story-tile.minor.with-photo .tile-photo { width: 42%; }
}

@media (max-width: 359px) {
  .hero-type p { font-size: 1.12rem; }
  .match-label { flex-wrap: nowrap; }
  .match-label h2 { font-size: 1.8rem; }
  .tab-list button { min-width: 46px; }
  .filters { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .story-tile:hover .tile-photo { transform: none; }
}


/* FC12 R02 - real thumbnails on video cards, click-to-play retained */
.film-frame { position: relative; overflow: hidden; }
.film-frame .film-play { position: relative; display: block; overflow: hidden; padding: 0; }
.film-frame .film-poster, .film-frame .film-play picture {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover;
}
.film-frame .film-play picture img { width: 100%; height: 100%; object-fit: cover; }
.film-frame .film-play::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.22); pointer-events: none; }
.film-play-overlay { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; }
.film-frame .film-play:hover .film-poster { transform: scale(1.04); }
.film-frame .film-poster { transition: transform .25s ease; }
.film-frame iframe { position: absolute; inset: 0; z-index: 3; }
@media (prefers-reduced-motion: reduce) { .film-frame .film-poster { transition: none; } }
