/* Newham Sports Club — site styles
   Colours, type and spacing follow the NSC Brand Book (October 2026).
   Display face: Made Outer Sans when installed, otherwise Archivo at its widest. */

:root {
  --claret: #4A061A;
  --claret-deep: #36040F;
  --navy: #001F4C;
  --ember: #B1662E;
  --ember-light: #E3A774;
  --white: #FFFFFF;
  --mist: #F1E9EC;
  --ink: #001F4C;
  --ink-soft: #3A4A66;
  --rule: #D9CDD1;
  --display: "Made Outer Sans", "Archivo", Arial, sans-serif;
  --body: "Montserrat", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  /* Left edge of the content column, so full-bleed rows line up with .wrap */
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --header: 136px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { max-width: 64ch; margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Moving district pattern ---------- */
/* The brand pattern drifts slowly wherever it appears. */
@keyframes drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 600px 300px; }
}
.pattern-claret {
  background: linear-gradient(rgba(74,6,26,0.55), rgba(74,6,26,0.55)), var(--claret) url("brand/nsc-pattern-claret.svg") 0 0 / 600px;
  animation: drift 120s linear infinite;
}
.pattern-navy {
  background: linear-gradient(rgba(0,31,76,0.45), rgba(0,31,76,0.45)), var(--navy) url("brand/nsc-pattern-navy.svg") 0 0 / 600px;
  animation: drift 120s linear infinite;
}

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(26px, 6.4vw, 96px); overflow-wrap: break-word; }
h2 { font-size: clamp(28px, 4.2vw, 60px); }
h3 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.kicker {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 32px; height: 3px; background: currentColor; flex: none; }
.dark .kicker { color: var(--ember-light); }
.lede { font-size: clamp(18px, 1.7vw, 22px); font-weight: 300; line-height: 1.5; }
.dark .lede, .dark p { color: rgba(255,255,255,0.92); }
.small { font-size: 14px; color: var(--ink-soft); }
.dark .small { color: rgba(255,255,255,0.75); }
.todo {
  background: #FBEFE4; color: var(--claret); font-weight: 600; padding: 0 4px;
  border-bottom: 1px dashed var(--ember);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.dark .todo { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 16px 24px; max-width: 100%;
  background: var(--claret); color: var(--white); border: 2px solid var(--claret);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn.ghost { background: transparent; color: var(--claret); }
.btn.ghost:hover { background: var(--claret); color: var(--white); }
.dark .btn { background: var(--white); color: var(--claret); border-color: var(--white); }
.dark .btn:hover { background: var(--ember); border-color: var(--ember); color: var(--white); }
.btn .arrow, .more .arrow { transition: transform .2s; }
.row .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 8px; }
.row .actions .more { margin: 0; }
.btn:hover .arrow, .more:hover .arrow { transform: translateX(4px); }
.more {
  display: inline-flex; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid var(--ember);
}
.platform {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor; color: var(--ink-soft);
}
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

/* ---------- Header: claret, sticky, shrinks once you scroll ---------- */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--white); border-bottom: 4px solid var(--ember); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); transition: height .3s ease; }
.site-header .logo { display: flex; align-items: center; gap: 18px; text-decoration: none; flex: none; }
.site-header .logo img { height: 108px; width: auto; transition: height .3s ease; }
.site-header .logo span { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 13px; letter-spacing: 0.16em; line-height: 1.35; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.site-header.compact { --header: 88px; }
.site-header.compact .logo img { height: 68px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav > a:not(.btn), .nav .top { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: 20px; line-height: 1; text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; color: var(--white); white-space: nowrap; }
.nav > a:hover, .nav .top:hover, .nav [aria-current="page"] { border-color: var(--ember-light); }
.nav .btn { background: var(--white); color: var(--claret); border: 0; padding: 20px 30px; font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: 0; font-size: 17px; white-space: nowrap; }
.nav .btn:hover { background: var(--ember); color: var(--white); }
.has-sub { position: relative; }
.has-sub .top::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 9px; }
.sub { display: none; position: absolute; left: -24px; top: 100%; padding-top: 18px; min-width: 250px; }
.sub-inner { background: var(--claret-deep); border-top: 4px solid var(--ember); padding: 10px 0; box-shadow: 0 18px 36px rgba(0,31,76,0.3); }
.sub a { display: block; padding: 11px 24px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--white); }
.sub a:hover, .sub a[aria-current="page"] { background: rgba(255,255,255,0.08); color: var(--ember-light); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.menu { display: none; }

/* ---------- Home: video banner ---------- */
.reel { background: var(--navy); }
.reel-panels { display: flex; height: min(calc(100vh - 140px), 820px); min-height: 560px; gap: 3px; background: var(--ember); }
.reel-panel { position: relative; flex: 1 1 0; overflow: hidden; text-decoration: none; color: var(--white); transition: flex-grow .5s cubic-bezier(.2,.7,.2,1); }
.reel-panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54,4,15,0) 38%, rgba(54,4,15,0.55) 62%, rgba(54,4,15,0.94) 100%); }
.reel-panel .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px clamp(16px, 1.8vw, 30px); z-index: 2; }
.reel-panel .name { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 30px); line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 12px; }
.reel-panel .line { font-size: 14px; line-height: 1.45; max-width: 26ch; opacity: 0.9; display: block; min-height: 3em; }
.reel-panel .go { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid var(--ember); padding-bottom: 3px; }
@media (hover: hover) and (min-width: 901px) {
  .reel-panels:hover .reel-panel { flex-grow: 0.8; }
  .reel-panels .reel-panel:hover { flex-grow: 1.7; }
}
.reel-mobile { display: none; }

/* ---------- Intro ---------- */
.intro .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(56px, 8vw, 112px); align-items: start; }
.intro .crest { width: 100%; max-width: 360px; }
.intro h1 { font-size: clamp(34px, 5.2vw, 76px); color: var(--claret); margin-bottom: 32px; }
.intro .lede { color: var(--navy); }
.intro .motto { font-style: italic; color: var(--ink-soft); margin-top: 24px; font-size: 15px; }

/* ---------- Full-bleed rows: text on the left, photo filling the right edge ---------- */
/* The photo touches the rule above, the rule below and the right edge of the screen. */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46vw); border-bottom: 1px solid var(--rule); min-height: 480px; text-decoration: none; color: inherit; }
.row .text { padding: clamp(44px, 5vw, 80px) clamp(28px, 4vw, 72px) clamp(44px, 5vw, 80px) var(--edge); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.row .media { position: relative; overflow: hidden; background-color: var(--navy); }
.row .media img, .row .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
/* Portrait photos side by side, for rows where one portrait would crop badly */
.row .media.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; background-color: var(--white); }
.row .media.poster img { object-position: center top; }
.row .media.photo-strip img, .row .media.photo-strip video { position: static; inset: auto; height: 100%; min-height: 0; }
a.row:hover .media img { transform: scale(1.03); }
.row h2 { color: var(--navy); margin-bottom: 18px; font-size: clamp(28px, 3.6vw, 52px); transition: color .15s; }
a.row:hover h2 { color: var(--claret); }
.row p { margin-bottom: 18px; }
.row .tag { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember); margin-bottom: 16px; }
.row.tall { min-height: 620px; }
.dark-rows .row { border-color: rgba(255,255,255,0.2); }
.rows.flush { border-top: 0; }

/* ---------- Bands ---------- */
.stats .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding-top: 80px; padding-bottom: 80px; align-items: center; color: var(--white); }
.big { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(84px, 12vw, 168px); line-height: 0.82; letter-spacing: -0.045em; }
.big sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.1em; color: var(--ember-light); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,0.25); }
.stat-grid div { padding: 22px 24px 22px 0; border-bottom: 1px solid rgba(255,255,255,0.25); }
.stat-grid div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.25); }
.stat-grid div:nth-child(even) { padding-left: 24px; }
.stat-grid b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px; }
.stat-grid span { font-size: 14px; line-height: 1.45; display: block; color: rgba(255,255,255,0.86); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: var(--white); background: var(--claret); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54,4,15,0.1) 10%, rgba(54,4,15,0.72) 50%, rgba(54,4,15,0.96) 100%); }
.page-hero .wrap { position: relative; z-index: 2; min-height: min(70vh, 620px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 13em; margin-bottom: 20px; }
.page-hero .lede { max-width: 38em; margin: 0; color: rgba(255,255,255,0.92); }
.crumbs { font-size: 13px; margin-bottom: 20px; color: rgba(255,255,255,0.8); }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* Sub-section tabs under a page hero */
.subnav { background: var(--white); border-bottom: 1px solid var(--rule); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.subnav a { padding: 20px 0 17px; font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid transparent; color: var(--ink-soft); }
.subnav a:hover { color: var(--claret); }
.subnav a[aria-current="page"] { color: var(--claret); border-color: var(--ember); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section.tight { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.mist { background: var(--mist); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { color: var(--claret); }
.dark .head h2 { color: var(--white); }
.head p { margin: 0; color: var(--ink-soft); }
.dark .head p { color: rgba(255,255,255,0.86); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.dark figcaption { color: rgba(255,255,255,0.75); }
.prose h2 { color: var(--claret); margin-bottom: 28px; }
.prose h3 { margin-top: 36px; color: var(--navy); }
.prose .lede { color: var(--navy); font-weight: 400; }

/* Pathway */
.pathway { display: flex; align-items: center; flex-wrap: wrap; row-gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.pathway li { display: flex; align-items: center; }
.pathway li:not(:last-child)::after { content: ""; width: clamp(10px, 1.6vw, 26px); height: 3px; background: var(--ember); }
.pathway .age { width: clamp(48px, 5vw, 64px); height: clamp(48px, 5vw, 64px); border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(13px, 1.3vw, 16px); }
.pathway .team { padding: 12px 16px; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 13px; text-transform: uppercase; line-height: 1.1; color: var(--white); background: var(--claret); }
.pathway .team small { display: block; font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; margin-top: 4px; opacity: 0.85; }
.pathway .team.first { background: var(--ember); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; padding: 0 16px 10px 0; border-bottom: 2px solid var(--navy); }
.table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table td:first-child { font-family: var(--display); font-stretch: 125%; font-weight: 800; color: var(--claret); white-space: nowrap; }
.table .n { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Booking panel */
.book-panel { background: var(--navy); color: var(--white); padding: clamp(28px, 3vw, 40px); }
.book-panel .price { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; margin: 20px 0 28px; }
.book-panel .price b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 36px; line-height: 1; color: var(--ember-light); }
.book-panel .price span { font-size: 14px; color: rgba(255,255,255,0.86); }
.book-panel h3 { color: var(--white); }

/* Steps: a real sequence, labelled in words */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.steps li { padding: 22px 24px 0 0; font-size: 15px; }
.steps .when { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember); margin-bottom: 8px; }
.steps b { display: block; font-size: 16px; margin-bottom: 4px; }

/* Facts list */
.facts { display: grid; grid-template-columns: 136px 1fr; gap: 8px 16px; margin: 18px 0 24px; font-size: 15px; line-height: 1.45; }
.facts dt { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.facts dd { margin: 0; }
.dark .facts dt { color: rgba(255,255,255,0.7); }

/* Placeholder panel where no photo exists yet */
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; text-align: center; padding: 24px; }

/* Teams and players */
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 24px; }
.player .photo { aspect-ratio: 4 / 5; background: var(--white) url("brand/nsc-flame.svg") center 42% / 34% no-repeat; position: relative; overflow: hidden; }
.player .photo img { width: 100%; height: 100%; object-fit: cover; }
.player h3 { margin: 14px 0 4px; color: var(--navy); font-size: 18px; }
.player .pos { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember); }
.opponents { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0; font-size: 15px; }
.opponents li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.22); break-inside: avoid; }

/* League data from FA Full-Time (first team page) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.next-match .next-date { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: 0.06em; color: var(--ember-light); margin: 18px 0 6px; }
.next-match h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 10px; }
.next-match .btn { margin-top: 18px; }

.season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.league-table { overflow-x: auto; }
.league-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.league-table th, .league-table td { padding: 13px 8px; text-align: center; border-bottom: 1px solid var(--rule); }
.league-table thead th { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.1em; color: var(--claret); border-bottom: 2px solid var(--claret); padding-top: 0; }
.league-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.league-table thead th:nth-child(2) { text-align: left; }
.league-table .pos { width: 2.6em; color: var(--ink-soft); }
.league-table .pts { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 18px; }
.league-table thead .pts { font-size: 12px; }
.league-table sup { color: var(--ember); font-size: 0.7em; }
.league-table tr.us { background: var(--claret); }
.league-table tr.us th, .league-table tr.us td { background: var(--claret); color: var(--white); border-bottom-color: var(--claret); }
.league-table tr.us sup { color: var(--ember-light); }

.scorers { list-style: none; padding: 0; margin: 14px 0 18px; border-top: 2px solid var(--claret); counter-reset: s; }
.scorers li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.scorers .name { font-weight: 600; }
.scorers .apps { font-size: 13px; color: var(--ink-soft); }
.scorers b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 22px; line-height: 1; color: var(--claret); min-width: 1.4em; text-align: right; }
.scorers li:first-child b { font-size: 34px; }

.games { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--claret); }
.game { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.game time { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1.1; color: var(--navy); }
.game time span { display: block; font-size: 15px; letter-spacing: 0.06em; color: var(--ember); margin-bottom: 4px; }
.game h3 { font-family: var(--body); font-stretch: normal; text-transform: none; letter-spacing: 0; font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0; color: var(--navy); }
.game .ha { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-right: 10px; vertical-align: 2px; }
.game .venue { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }
.game .goals { font-size: 14px; margin: 8px 0 0; color: var(--navy); }
.game .goals::before { content: "Goals: "; font-weight: 700; }
.game .score { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.game .res { display: inline-grid; place-items: center; width: 34px; height: 34px; font-size: 15px; border: 2px solid var(--navy); color: var(--navy); }
.game .won .res { background: var(--claret); border-color: var(--claret); color: var(--white); }
.game .drew .res { background: var(--mist); border-color: var(--mist); }
.game .kick { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 18px; color: var(--ink-soft); }
.game.fixture time { color: var(--ink-soft); }
.game.result + .game.fixture { border-top: 2px solid var(--ember); }

/* Timeline, to scale */
.timeline { position: relative; height: 250px; margin-top: 24px; color: var(--white); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 126px; height: 2px; background: var(--ember); }
.event { position: absolute; top: 0; width: 150px; transform: translateX(-8px); font-size: 13px; line-height: 1.4; }
.event::before { content: ""; position: absolute; left: 1px; top: 120px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); }
.event b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.event.down { top: 150px; }
.event.down::before { top: -30px; }
.event.end { transform: translateX(-100%); text-align: right; }
.event.end::before { left: auto; right: -7px; }

/* Curriculum */
.blocks { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.blocks li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; align-items: baseline; }
.blocks .grp { font-family: var(--display); font-stretch: 125%; font-weight: 800; color: var(--white); background: var(--claret); text-align: center; padding: 4px 0; font-size: 13px; }
.blocks .theme { font-weight: 700; }
.blocks .learn { color: var(--ink-soft); }
.hour { display: grid; grid-template-columns: 10fr 35fr 15fr; gap: 3px; margin-top: 16px; }
.hour div { background: var(--navy); color: var(--white); padding: 16px; font-size: 14px; line-height: 1.4; }
.hour div:nth-child(2) { background: var(--claret); }
.hour div:nth-child(3) { background: var(--ember); }
.hour b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 22px; }
.slides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--white); }
.quotes blockquote { margin: 0; padding: 24px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; font-weight: 500; }
.dark .quotes { border-top-color: var(--ember); }
.dark .quotes blockquote { color: var(--white); }
.quotes cite { display: block; font-style: normal; font-size: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember-light); margin-top: 14px; }
.story-quote { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 3vw, 42px); line-height: 1; letter-spacing: -0.02em; color: var(--claret); margin: 0; max-width: 18em; }
.story-quote cite { display: block; font-family: var(--body); font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink-soft); margin-top: 18px; }

/* Link lists */
.links-list { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--rule); }
.links-list li { border-bottom: 1px solid var(--rule); }
.links-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; text-decoration: none; font-weight: 600; align-items: center; }
.links-list a:hover { color: var(--claret); }
.links-list .row-text { display: block; padding: 14px 0; font-weight: 600; }
.dark .prose .lede { color: rgba(255,255,255,0.92); }
.dark .links-list a, .dark .links-list .row-text { color: var(--white); }
.dark .links-list a:hover { color: var(--ember-light); }
.dark .links-list, .dark .links-list li { border-color: rgba(255,255,255,0.3); }
.links-list .meta { font-weight: 400; font-size: 14px; color: var(--ink-soft); display: block; }
.links-list .go { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--claret); white-space: nowrap; }

/* Youth hubs */
.sports { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.sports li { border: 1px solid currentColor; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.when-big { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); color: var(--ember); text-transform: uppercase; margin: 0 0 20px; line-height: 1.05; }
.dark .when-big { color: var(--ember-light); }
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.cycle div { background: var(--navy); color: var(--white); padding: 24px 22px 28px 34px; font-size: 14px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); }
.cycle div:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-left: 22px; }
.cycle div:nth-child(even) { background: var(--claret); }
.cycle b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 17px; text-transform: uppercase; margin-bottom: 6px; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.partners div { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--rule); }
.partners b { display: block; font-size: 16px; }
.partners b a { text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.partners b a:hover { color: var(--claret); }
.partners span { font-size: 14px; color: var(--ink-soft); }

/* Policies */
.policy-list { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.policy-list li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.policy-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; text-decoration: none; font-weight: 600; }
.policy-list a span { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--claret); }
.policy-list a:hover { color: var(--claret); }

/* ---------- Footer ---------- */
.stripe { height: 6px; background: var(--ember); }
.site-footer { color: var(--white); border-top: 4px solid var(--ember); }
.site-footer .wrap { padding-top: 80px; padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.footer-top img { width: clamp(170px, 19vw, 240px); }
.footer-top p { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 50px); line-height: 0.95; letter-spacing: -0.02em; margin: 0; max-width: 13em; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 32px; }
.footer-grid .footer-h { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; color: var(--ember-light); margin: 0 0 14px; line-height: 1.4; }
.footer-grid p, .footer-grid li { font-size: 15px; margin: 0 0 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.footer-grid a:hover { border-color: var(--white); }
.legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: rgba(255,255,255,0.75); }
.legal p { margin: 0; max-width: 70ch; color: rgba(255,255,255,0.75); }
.legal p:last-child { max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .site-header .logo span { display: none; }
  .nav { gap: 22px; }
  .nav > a:not(.btn), .nav .top { font-size: 17px; }
  .nav .btn { padding: 18px 22px; font-size: 15px; }
}
@media (max-width: 1240px) {
  :root { --header: 108px; }
  .site-header .wrap { gap: 16px; }
  .site-header .logo img { height: 84px; }
  .site-header.compact .logo img { height: 60px; }
  .nav { gap: 16px; }
  .nav > a:not(.btn), .nav .top { font-size: 15px; }
  .has-sub .top::after { width: 6px; height: 6px; margin-left: 6px; }
  .nav .btn { padding: 14px 16px; font-size: 13px; }
}
@media (max-width: 1060px) {
  .site-header .logo img { height: 72px; }
  .nav { gap: 12px; }
  .nav > a:not(.btn), .nav .top { font-size: 13px; }
  .nav .btn { padding: 12px 12px; font-size: 12px; }
}
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header: 92px; }
  .site-header .logo img { height: 72px; }
  .site-header.compact { --header: 76px; }
  .site-header.compact .logo img { height: 60px; }
  .site-header .nav { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; padding: 14px 18px; border: 2px solid rgba(255,255,255,0.6); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--white); color: var(--claret); border-color: var(--white); }
  .menu[open] .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--claret-deep); border-bottom: 4px solid var(--ember); padding: 8px var(--gutter) 24px; max-height: calc(100vh - 90px); overflow-y: auto; }
  .menu[open] .nav > a:not(.btn), .menu[open] .nav .top { display: block; font-size: 22px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .menu[open] .has-sub .top::after { display: none; }
  .menu[open] .sub { display: block; position: static; padding: 0; min-width: 0; }
  .menu[open] .sub-inner { background: none; border: 0; box-shadow: none; padding: 0 0 6px 16px; }
  .menu[open] .sub a { padding: 10px 0; font-size: 16px; color: rgba(255,255,255,0.82); }
  .menu[open] .nav .btn { margin-top: 18px; justify-content: center; }
}
@media (max-width: 980px) {
  .row .media.poster { aspect-ratio: 1 / 1; }
  .season { grid-template-columns: minmax(0, 1fr); }

  .reel-panels { display: none; }
  .reel-mobile { display: block; position: relative; height: calc(100svh - 92px); min-height: 520px; max-height: 760px; overflow: hidden; }
  .reel-mobile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .reel-mobile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54,4,15,0) 34%, rgba(54,4,15,0.6) 58%, rgba(54,4,15,0.95) 100%); pointer-events: none; }
  .reel-mobile .labels { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 var(--gutter) 22px; }
  .reel-mobile .labels a { display: flex; justify-content: space-between; align-items: baseline; color: var(--white); text-decoration: none; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.25); font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 19px; line-height: 1.1; opacity: 0.55; transition: opacity .3s; }
  .reel-mobile .labels a.on { opacity: 1; }

  .intro .wrap, .stats .wrap, .head, .split, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .intro .crest { max-width: 180px; }
  .row, .row.tall { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .row .media { order: -1; aspect-ratio: 16 / 10; }
  .row .text { padding: 32px var(--gutter) 40px; }
  .partners { grid-template-columns: 1fr 1fr; }
  .cycle { grid-template-columns: 1fr 1fr; }
  .cycle div, .cycle div:first-child { clip-path: none; padding-left: 22px; }
  .policy-list { columns: 1; }
  .timeline { height: auto; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .event, .event.down, .event.end { position: relative; left: auto !important; top: auto; width: auto; transform: none; text-align: left; padding: 0 0 22px 40px; }
  .event::before, .event.down::before, .event.end::before { left: 1px; right: auto; top: 3px; }
}
@media (max-width: 560px) {
  .league-table .wide { display: none; }
  .league-table th, .league-table td { padding: 11px 4px; font-size: 15px; }
  .league-table tbody th { white-space: normal; }
  .game { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
  .league-table .pos { width: 2em; }
  .game time { font-size: 15px; }
  .game h3 { font-size: 17px; }
  .game .ha { display: block; margin: 0 0 2px; }
  .game .score { font-size: 22px; gap: 8px; }
  .game .res { width: 26px; height: 26px; font-size: 12px; }
  .game .kick { font-size: 14px; text-align: right; }
  body { font-size: 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid div:nth-child(odd) { border-right: 0; }
  .stat-grid div:nth-child(even) { padding-left: 0; }
  .partners, .footer-grid, .steps, .cycle { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 112px 1fr; }
  .blocks li { grid-template-columns: 56px minmax(0, 1fr); }
  .blocks .learn { grid-column: 2; }
  .table { font-size: 14px; }
  .table .n { white-space: normal; }
  .table th, .table td { padding-right: 10px; }
  .squad { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .opponents { columns: 1; }
  .hour { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pattern-claret, .pattern-navy { animation: none; }
  .reel-panel, .btn .arrow, .row .media img, .site-header .wrap, .site-header .logo img { transition: none; }
}

/* Privacy notice */
.privacy h2 { font-size: clamp(22px, 2.2vw, 28px); color: var(--claret); margin: 40px 0 12px; }
.privacy h2:first-child { margin-top: 0; }
.privacy ul { padding-left: 1.1em; margin: 0 0 1em; max-width: 64ch; }
.privacy li { margin-bottom: 6px; }

.book-group { font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); margin: 56px 0 14px; }

/* Pause button for autoplaying video (WCAG 2.2.2) */
.video-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.85); background: rgba(74,6,26,0.82); color: var(--white); cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0; }
.video-toggle.show { display: flex; }
.video-toggle::before { content: ""; width: 14px; height: 16px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: border-box; }
.video-toggle.is-paused::before { width: 0; height: 0; border-left: 15px solid currentColor; border-right: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video-toggle:hover { background: var(--claret); }
.video-toggle:focus-visible { outline: 3px solid var(--ember-light); outline-offset: 3px; }

/* Two equal panels side by side, stacked on phones */
.split.two-up { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .split.two-up { grid-template-columns: 1fr; } }
