/* ==========================================================================
   APAPA KINGS FC — main stylesheet
   Mobile first. Colours and fonts are set once in :root below.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  /* brand */
  --orange: #ff5a1a;          /* kit orange */
  --orange-hot: #ff7a2e;
  --orange-ink: #c23c00;      /* orange that is readable as small text on paper */
  --white: #ffffff;
  --paper: #f3eee4;           /* warm off-white, like a poster on a wall */
  --paper-2: #e8e1d3;
  --ink: #141210;
  --ink-2: #221f1b;
  --ink-3: #35302a;
  --muted: #625b51;           /* small text on paper (5.9:1) */
  --muted-light: #b3aa9c;     /* small text on ink */
  --line: rgba(20, 18, 16, .14);

  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --radius: 2px;
  --header-h: 64px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14V7l4-3 5 4 6-6 4 5 7-4 3 3 6-5 5 6 4-2 6 4 5-6 3 3 6-2 4 5 5-6 6 4 3-3 5 5 4-4 7 3 3-5 5 4V14z'/%3E%3C/svg%3E");
}

@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul.plain, ol.plain { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 300;
  background: var(--ink); color: var(--white); padding: 10px 14px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }

/* grain texture on dark / orange surfaces */
.grit { position: relative; isolation: isolate; }
.grit::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .22;
}

/* ---------- type ---------- */
.display, .page-head__title, .hero__title, .article__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
}
.display { font-size: clamp(2.1rem, 8vw, 3.6rem); }
.display--xl { font-size: clamp(2.8rem, 12vw, 6rem); }
.display--light { color: var(--white); }

.outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.hero .outline, .site-footer .outline { -webkit-text-stroke-color: var(--white); }

.swipe {
  display: inline;
  padding-inline: .12em;
  background: linear-gradient(176deg, transparent 52%, var(--orange) 52%, var(--orange) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.band--orange .swipe { background-image: linear-gradient(176deg, transparent 52%, var(--ink) 52%, var(--ink) 90%, transparent 90%); color: var(--white); }

.label {
  font-family: var(--font-body);
  font-stretch: 75%;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
}
.label--small { font-size: .7rem; }
.label--light { color: var(--muted-light); }
.label--tape {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  padding: .45em .8em .4em;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.tag {
  display: inline-block;
  font-stretch: 75%; font-weight: 800; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1.5px solid currentColor; padding: .2em .55em; line-height: 1.3; text-decoration: none;
}
.tag--orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.chip {
  display: inline-grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  font-family: var(--font-display); font-size: 1rem; line-height: 1;
  border: 2px solid var(--ink);
}
.chip--w { background: var(--orange); color: var(--ink); }
.chip--l { background: var(--ink); color: var(--white); }
.chip--d { background: var(--paper); color: var(--ink); }
.chip--lg { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; }
.chip--tbc { background: var(--white); color: var(--muted); border-style: dashed; }

.form-guide { display: flex; gap: 6px; list-style: none; padding: 0; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.3em .75em;
  font-family: var(--font-body); font-stretch: 80%; font-weight: 800; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  border: 2px solid var(--ink); border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--orange); }
.btn--dark:hover { box-shadow: 6px 6px 0 var(--orange); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--white); box-shadow: none; transform: none; }
.hero .btn--light, .page-head .btn--light { box-shadow: 4px 4px 0 var(--orange); border-color: var(--white); }
.btn .icon-arrow { transition: transform .15s ease; }
.btn:hover .icon-arrow, .more-link:hover .icon-arrow { transform: translateX(4px); }

.more-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-stretch: 80%; font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.site-header__bar {
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h);
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__crest { width: 44px; height: 44px; }
.brand__word {
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.45rem; line-height: 1; letter-spacing: .02em;
}
.brand__word b { font-weight: 400; color: var(--orange-ink); }

.nav { display: none; }
.btn--join { min-height: 40px; padding: .55em 1em .5em; font-size: .8rem; box-shadow: 3px 3px 0 var(--ink); background: var(--orange); }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 10px;
  background: none; border: 0; cursor: pointer;
  font-stretch: 75%; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.menu-toggle__bars { display: grid; gap: 6px; width: 26px; }
.menu-toggle__bars i { display: block; height: 3px; background: var(--ink); transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: var(--orange);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .25; pointer-events: none; }
.menu__list { list-style: none; padding: 0; }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); text-transform: uppercase; text-decoration: none;
  font-size: clamp(2.4rem, 12vw, 3.6rem); line-height: 1.08; color: var(--ink);
  border-bottom: 2px solid rgba(20,18,16,.18);
  padding: 4px 0;
}
.menu__list small { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.menu__list a[aria-current="page"] { color: var(--white); -webkit-text-stroke: 0; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 10px 22px; position: relative; z-index: 1; }
.menu__foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
body.menu-open { overflow: hidden; }

@media (min-width: 960px) {
  .menu-toggle, .menu { display: none !important; }
  .nav { display: block; }
  .nav__list { display: flex; gap: 4px; list-style: none; padding: 0; }
  .nav__list a {
    display: block; padding: 10px 12px; text-decoration: none;
    font-stretch: 80%; font-weight: 800; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase;
    position: relative;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  }
  .nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .btn--join { margin-left: 12px; }
}

/* ---------- bands (page sections) ---------- */
.band { padding-block: 56px; position: relative; }
@media (min-width: 720px) { .band { padding-block: 88px; } }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--ink { background: var(--ink); color: var(--white); }
.band--orange { background: var(--orange); color: var(--ink); }

/* ripped poster edge on top of dark/orange sections */
.band--ink::before, .band--orange::before, .site-footer::before, .ticker::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 14px;
  transform: translateY(-100%);
  background: inherit;
  -webkit-mask: var(--torn) repeat-x 0 0 / 120px 14px; mask: var(--torn) repeat-x 0 0 / 120px 14px;
}
.band--orange::before { background: var(--orange); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px;
  margin-bottom: 28px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  min-height: min(88svh, 760px);
  display: flex; align-items: flex-end;
  padding: 72px 0 56px;
}
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  filter: grayscale(1) contrast(1.25) brightness(.95);
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,16,.15) 0%, rgba(20,18,16,.55) 45%, rgba(20,18,16,.96) 100%),
    var(--orange);
  background-blend-mode: normal, normal;
  mix-blend-mode: multiply;
}
.hero__inner { position: relative; }
.hero__title {
  font-size: clamp(4.2rem, 23vw, 11rem);
  line-height: .86;
  margin: 18px 0 18px;
  display: flex; flex-direction: column;
}
.hero__title .outline { -webkit-text-stroke-width: 2.5px; }
.hero__last i { font-style: normal; color: var(--orange); }
.hero__lede { max-width: 32ch; font-size: 1.15rem; color: #efe8dc; margin-bottom: 28px; }
.hero__crest {
  position: absolute; z-index: -1; right: -18vw; top: 6%;
  width: 70vw; max-width: 520px; opacity: .2; transform: rotate(12deg);
  filter: grayscale(1) contrast(1.4);
}
@media (min-width: 720px) {
  .hero { padding: 96px 0 88px; }
  .hero__crest { right: 4%; top: 12%; width: 36vw; opacity: .9; filter: drop-shadow(10px 12px 0 rgba(0,0,0,.45)); }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative; background: var(--orange); color: var(--ink);
  border-block: 3px solid var(--ink); border-top: 0;
  overflow: hidden; white-space: nowrap;
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1;
  padding: 12px 0 10px;
}
.ticker::before { background: var(--orange); }
.ticker__track { display: inline-flex; gap: 22px; padding-left: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 32s linear infinite; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- matchday: next match + last result ---------- */
.matchday { display: grid; gap: 28px; }
@media (min-width: 960px) { .matchday { grid-template-columns: 1.15fr 1fr; align-items: start; gap: 36px; } }

.next-match, .last-result, .record-card {
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 22px 18px 24px;
  position: relative;
}
@media (min-width: 720px) { .next-match, .last-result, .record-card { padding: 28px 30px 30px; } }
.next-match__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }

.versus {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  text-align: center; margin-bottom: 20px;
}
.versus__team { display: grid; justify-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.1rem, 4.5vw, 1.5rem); line-height: 1; }
.versus__team img { width: 72px; height: 72px; }
.versus__crest { object-fit: contain; mix-blend-mode: multiply; }
.versus__badge {
  width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-size: 2.2rem;
}
.versus__team--empty .versus__badge {
  background: transparent; color: var(--orange-ink);
  border: 3px dashed var(--orange-ink);
  animation: none;
}
.versus__team--empty > span:last-child { color: var(--muted); }
.versus__vs { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); background: var(--ink); padding: 6px 8px 4px; transform: rotate(-4deg); }

.stamp {
  font-family: var(--font-display); text-transform: uppercase; text-align: center;
  font-size: 1.05rem; line-height: 1; color: var(--orange-ink);
  border: 3px solid currentColor; padding: 7px 11px 5px;
  transform: rotate(8deg);
  box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 4px currentColor;
  opacity: .92;
}

.next-match__copy { color: var(--muted); margin-bottom: 22px; max-width: 46ch; }
.next-match--open .versus { padding: 18px 0; border-block: 2px dashed var(--line); }

.meta-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 20px; color: var(--muted); font-size: .95rem; }
.meta-list li { display: inline-flex; align-items: center; gap: 6px; }
.meta-list strong { color: var(--ink); }
.meta-list--light { color: var(--muted-light); justify-content: center; margin-top: 18px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.countdown div { background: var(--ink); color: var(--white); padding: 10px 4px 8px; }
.countdown b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 9vw, 2.6rem); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.countdown small { font-stretch: 75%; font-weight: 800; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.next-match__done { font-weight: 600; }

/* matchday squad (collapsible) */
.matchday-squad { margin-top: 18px; border: 2px solid var(--ink); background: var(--paper); }
.matchday-squad summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 8px 14px; cursor: pointer; list-style: none;
}
.matchday-squad summary::-webkit-details-marker { display: none; }
.matchday-squad summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; margin-left: auto; }
.matchday-squad[open] summary::after { content: "–"; }
.matchday-squad summary .tag { margin-left: 0; }
.matchday-squad__groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; padding: 6px 14px 16px; border-top: 2px solid var(--line); }
.matchday-squad__groups h3 { color: var(--orange-ink); margin: 8px 0 6px; }
.matchday-squad__groups ul { list-style: none; padding: 0; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.3; }
@media (min-width: 720px) { .matchday-squad__groups { grid-template-columns: repeat(4, 1fr); } }
.matchday-squad__body { padding: 12px 14px 16px; border-top: 2px solid var(--line); }
.matchday-squad__note { font-weight: 600; font-style: italic; line-height: 1.5; border-left: 4px solid var(--orange); padding-left: 10px; margin-bottom: 14px; }
.matchday-squad__xi { list-style: none; padding: 0; counter-reset: xi; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 18px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.35; }
.matchday-squad__xi li { counter-increment: xi; display: flex; align-items: baseline; gap: 8px; }
.matchday-squad__xi li::before { content: counter(xi); font-family: var(--font-body); font-weight: 800; font-size: .7rem; color: var(--orange-ink); min-width: 1.3em; text-align: right; }
.captain { text-decoration: none; font-family: var(--font-body); font-weight: 800; font-size: .65rem; background: var(--orange); color: var(--ink); padding: 1px 5px; border-radius: 50%; }
.matchday-squad__body h3 { color: var(--orange-ink); margin: 14px 0 4px; }
.matchday-squad__subs { color: var(--muted); font-weight: 600; font-size: .95rem; }
.prose .matchday-squad__xi { padding-left: 0; }
.prose .matchday-squad__note, .prose .matchday-squad__subs, .prose .matchday-squad__body > * + * { margin-top: 0; }
.prose .matchday-squad__body h3 { margin-top: 14px; }
.prose .matchday-squad h3 { font-family: var(--font-body); font-stretch: 75%; font-weight: 800; letter-spacing: .14em; font-size: .7rem; line-height: 1.2; margin: 8px 0 6px; }
.prose .matchday-squad ul { padding-left: 0; }
.prose .matchday-squad li + li { margin-top: 0; }
.prose .matchday-squad__groups > * + * { margin-top: 0; }

.last-result__venue { display: flex; align-items: center; gap: 6px; color: var(--muted); justify-content: center; margin: 14px 0 18px; font-size: .95rem; }
.last-result__form, .record-card__form { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }

/* scoreline: big printed scoreboard */
.scoreline {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 20px 14px 18px;
  overflow: hidden;
}
.scoreline__side { display: grid; justify-items: center; text-align: center; gap: 6px; }
.scoreline__side b { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 20vw, 6.5rem); line-height: .85; color: var(--orange); }
.scoreline__side.is-opp b { color: var(--white); }
.scoreline__team { font-stretch: 75%; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.15; max-width: 12ch; }
.scoreline__dash { font-family: var(--font-display); font-size: 2.6rem; color: var(--muted-light); }
.scoreline__stamp {
  position: absolute; right: -34px; top: 14px; transform: rotate(35deg);
  background: var(--orange); color: var(--ink);
  font-stretch: 75%; font-weight: 800; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 36px;
}
.scoreline--compact { height: 100%; padding: 16px 10px; }
.scoreline--compact .scoreline__side b { font-size: clamp(3.2rem, 15vw, 4.6rem); }

/* ---------- stats band ---------- */
.stats-band .label { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--ink-3); border: 2px solid var(--ink-3); }
.stats > div { background: var(--ink); padding: 18px 16px 16px; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { font-family: var(--font-display); font-size: clamp(3rem, 14vw, 5.2rem); line-height: .9; color: var(--orange); }
.stats dt { font-stretch: 75%; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div { padding: 26px 24px 22px; } }

/* ---------- news ---------- */
.news-grid { list-style: none; padding: 0; display: grid; gap: 22px; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.news-card[hidden] { display: none; }
.news-card__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 3px solid var(--ink); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.news-card__link:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--orange); }
.news-card__media { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; border-bottom: 3px solid var(--ink); }
.news-card__media > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.news-card__crest { height: 100%; display: grid; place-items: center; background: var(--orange); }
.news-card__crest img { width: 96px; }
.news-card__body { padding: 16px 16px 20px; display: grid; gap: 10px; align-content: start; }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.news-card__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.55rem; line-height: 1.02; }
.news-card__excerpt { color: var(--muted); font-size: .98rem; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter button {
  background: transparent; border: 2px solid var(--ink); padding: 8px 14px 7px; cursor: pointer; min-height: 44px;
  font-stretch: 80%; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

/* ---------- players ---------- */
.player-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .player-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 960px) { .player-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.player { position: relative; background: var(--ink); color: var(--white); border: 3px solid var(--ink); }
.player__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2); }
.player__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .35s ease, filter .35s ease; }
.player:hover .player__photo { transform: scale(1.04); }
.player__num {
  position: absolute; left: 8px; top: 2px;
  font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1;
  color: var(--white); text-shadow: 3px 3px 0 var(--ink);
  pointer-events: none;
}
.player__info { padding: 10px 10px 12px; border-top: 3px solid var(--orange); }
.player__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.25rem, 5vw, 1.6rem); line-height: 1; }
.player__pos { font-stretch: 75%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-top: 5px; }

/* placeholder: printed shirt back */
.player__shirt { width: 100%; height: 100%; background:
  repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 10px, transparent 10px 20px), var(--ink-2); }
.player__shirt .shirt-body { fill: var(--orange); }
.player__shirt .shirt-trim { fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; }
.player__shirt text { font-family: var(--font-display); fill: var(--white); text-anchor: middle; }
.player__shirt .shirt-name { letter-spacing: 1.5px; }
.player__shirt .shirt-num { font-size: 92px; }
.player__shirt .shirt-soon { font-family: var(--font-body); font-weight: 800; font-size: 8px; letter-spacing: 2px; fill: var(--muted-light); }
.player:has(.player__shirt) .player__num { display: none; }

.player-rail {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 44vw);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
  max-width: calc(var(--max) + 0px); margin-inline: auto;
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
}
.player-rail > li { scroll-snap-align: start; }
@media (min-width: 720px) { .player-rail { grid-auto-columns: 220px; gap: 20px; } }

/* squad page */
.group-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--ink); border-bottom: 3px solid var(--orange); }
.group-nav ul { list-style: none; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.group-nav ul::-webkit-scrollbar { display: none; }
.group-nav a {
  display: flex; align-items: center; gap: 6px; white-space: nowrap; min-height: 48px; padding: 0 12px;
  color: var(--white); text-decoration: none;
  font-stretch: 80%; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}
.group-nav a:hover { color: var(--orange); }
.group-nav small { color: var(--ink); background: var(--orange); padding: 1px 6px; font-size: .72rem; }

.squad-group { scroll-margin-top: calc(var(--header-h) + 64px); }
.squad-group + .squad-group { margin-top: 56px; }
.squad-group__title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1;
}
.squad-group__title::after { content: ""; flex: 1; height: 3px; background: var(--ink); }
.squad-group__title span { order: 2; font-family: var(--font-body); font-stretch: 75%; font-weight: 800; font-size: .75rem; letter-spacing: .14em; background: var(--orange); padding: 4px 8px; }

.staff-grid { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.staff { display: flex; align-items: center; gap: 16px; background: var(--white); border: 3px solid var(--ink); padding: 16px; box-shadow: 5px 5px 0 var(--orange); }
.staff__avatar {
  width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; background: var(--ink); color: var(--orange);
  font-family: var(--font-display); font-size: 1.7rem;
}
.staff__role { font-stretch: 75%; font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); }
.staff__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1; }

/* ---------- join banner ---------- */
.join-banner__inner { display: grid; gap: 22px; }
.join-banner p { font-size: 1.1rem; max-width: 46ch; margin-bottom: 22px; font-weight: 500; }
@media (min-width: 900px) { .join-banner__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; } }

/* ---------- page header (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: 48px 0 44px;
  border-bottom: 3px solid var(--ink);
}
.page-head__photo { position: absolute; inset: 0; z-index: -2; }
.page-head__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.page-head__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.35), rgba(20,18,16,.92)), var(--orange); mix-blend-mode: multiply; }
.page-head__title { font-size: clamp(3.2rem, 16vw, 7.5rem); margin: 16px 0 12px; position: relative; }
.page-head__title span { color: var(--orange); }
.page-head__intro { max-width: 40ch; font-size: 1.12rem; color: #e8e0d3; position: relative; }
.page-head__ghost {
  position: absolute; right: -.08em; bottom: -.22em; z-index: -1;
  font-family: var(--font-display); text-transform: uppercase; line-height: 1; white-space: nowrap;
  font-size: clamp(7rem, 38vw, 20rem);
  color: transparent; -webkit-text-stroke: 2px rgba(255, 90, 26, .35);
  pointer-events: none;
}
.page-head .btn-row { margin-top: 26px; }
@media (min-width: 720px) { .page-head { padding: 72px 0 64px; } }
.page-head--404 { min-height: 70svh; display: flex; align-items: center; }

/* ---------- fixtures page ---------- */
.fixtures-layout { display: grid; gap: 40px; }
.fixtures-layout__side { display: grid; gap: 28px; align-content: start; }
.fixtures-layout__main { display: grid; gap: 48px; align-content: start; }
.fixtures-layout__main .display { margin-bottom: 20px; }
@media (min-width: 1000px) {
  .fixtures-layout { grid-template-columns: 420px 1fr; gap: 56px; }
  .fixtures-layout__side { position: sticky; top: calc(var(--header-h) + 24px); }
}

.record-table { width: 100%; border-collapse: collapse; text-align: center; margin: 14px 0 18px; }
.record-table th { font-stretch: 75%; font-weight: 800; font-size: .75rem; letter-spacing: .12em; color: var(--muted); padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.record-table td { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.2; padding-top: 6px; }
.record-table td:nth-child(2) { color: var(--orange-ink); }
.record-card__form { margin-bottom: 0; }

.result-list, .fixture-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.result, .fixture {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start;
  background: var(--white); border: 3px solid var(--ink); padding: 14px;
}
.result--w { box-shadow: 6px 6px 0 var(--orange); }
.result--l { box-shadow: 6px 6px 0 var(--ink); }
.result--d { box-shadow: 6px 6px 0 var(--paper-2); }
.result--tbc { border-style: dashed; box-shadow: 6px 6px 0 var(--paper-2); }
.result__pending { margin-top: 8px; font-stretch: 80%; font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.result__date {
  width: 56px; text-align: center; background: var(--ink); color: var(--white); padding: 8px 0 6px;
}
.result__date b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.result__date span { font-stretch: 75%; font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.result__meta { display: flex; align-items: center; gap: 8px; font-stretch: 80%; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.result__teams { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; }
.result__team { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; }
.result__team.is-kings { color: var(--orange-ink); }
.result__score { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; text-align: right; }
.result__venue { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: .9rem; margin-top: 10px; }
.result__venue .icon { margin-top: .15em; }
.result__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-stretch: 80%; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--orange); }
.fixture { grid-template-columns: auto 1fr; box-shadow: 6px 6px 0 var(--paper-2); border-style: dashed; }
.fixture__teams { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }
.fixture__teams small { font-size: .9rem; color: var(--muted); }
@media (min-width: 720px) {
  .result, .fixture { padding: 18px 20px; gap: 20px; }
  .result__date { width: 68px; }
  .result__team { font-size: 1.55rem; }
  .result__score { font-size: 1.9rem; }
}
.empty-note { font-size: 1.1rem; color: var(--muted); border: 2px dashed var(--line); padding: 24px; text-align: center; }

/* ---------- article ---------- */
.article__head { background: var(--ink); color: var(--white); padding: 40px 0 44px; }
.article__meta { display: flex; align-items: center; gap: 12px; color: var(--muted-light); font-size: .9rem; margin-bottom: 16px; }
.article__title { font-size: clamp(2.4rem, 10vw, 4.6rem); margin-bottom: 26px; }
.article__head .scoreline { background: var(--ink-2); border: 2px solid var(--ink-3); }
.article__figure { margin-top: 32px; }
.article__figure img { width: 100%; border: 3px solid var(--ink); }
.article__figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.article__body { padding-block: 36px 8px; }
.article__foot { padding-top: 28px; padding-bottom: 64px; }
.article__foot .label { margin-bottom: 12px; }
.article__pager { display: grid; gap: 12px; margin-top: 36px; border-top: 3px solid var(--ink); padding-top: 20px; }
@media (min-width: 640px) { .article__pager { grid-template-columns: 1fr 1fr; } }
.article__pager a { text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; display: grid; gap: 4px; }
.article__pager a:hover { color: var(--orange-ink); }
.article__pager .is-next { text-align: right; grid-column: -2; }
.article__pager small { font-family: var(--font-body); font-stretch: 75%; font-weight: 800; font-size: .72rem; letter-spacing: .14em; color: var(--muted); }

.prose { font-size: 1.12rem; line-height: 1.65; }
.prose > * + * { margin-top: 1.05em; }
.prose a { color: var(--orange-ink); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { font-weight: 800; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange-ink); }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 1; margin-top: 1.6em; }
.prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.5rem; }
.prose blockquote { border-left: 6px solid var(--orange); padding: 4px 0 4px 18px; font-weight: 600; font-size: 1.2rem; }
.prose img { border: 3px solid var(--ink); }

/* ---------- about ---------- */
.about-intro { display: grid; gap: 24px; }
.about-intro__lead { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 7.5vw, 3.2rem); line-height: 1; }
.about-intro__lead strong { font-weight: 400; color: var(--orange-ink); }
@media (min-width: 900px) { .about-intro { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }

.values { list-style: none; padding: 0; display: grid; gap: 2px; margin-top: 32px; counter-reset: v; background: var(--ink-3); border: 2px solid var(--ink-3); }
.values li { counter-increment: v; background: var(--ink); padding: 22px 18px 24px; position: relative; }
.values li::before { content: "0" counter(v); font-family: var(--font-display); font-size: 1rem; color: var(--orange); display: block; margin-bottom: 6px; }
.values h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin-bottom: 8px; }
.values p { color: var(--muted-light); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); } .values li { padding: 30px 28px; } }

.facts { display: grid; grid-template-columns: 1fr; border-top: 3px solid var(--ink); margin-top: 28px; }
.facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 2px solid var(--line); align-items: baseline; }
.facts dt { font-stretch: 75%; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--font-display); text-transform: uppercase; font-size: 1.45rem; line-height: 1.1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.swatch { width: 1.1em; height: 1.1em; border: 2px solid var(--ink); display: inline-block; }
.swatch--orange { background: var(--orange); }
.swatch--white { background: var(--white); margin-left: 8px; }
.about-venues__title { margin: 40px 0 14px; }
.venue-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.venue-list li { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 2px solid var(--ink); padding: 8px 12px; font-weight: 600; }
.venue-list .icon { color: var(--orange-ink); }

/* ---------- join page ---------- */
.join-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .join-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } .join-card--direct { grid-column: 1 / -1; } }
.join-card { background: var(--white); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 22px 18px 26px; position: relative; scroll-margin-top: calc(var(--header-h) + 20px); }
@media (min-width: 720px) { .join-card { padding: 30px 32px 34px; } }
.join-card:target { box-shadow: 8px 8px 0 var(--orange); }
.join-card__num { position: absolute; right: 16px; top: 8px; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--orange); }
.join-card > p { color: var(--muted); margin: 10px 0 20px; max-width: 48ch; }
.join-card > .display { padding-right: 64px; }
.join-card > .display + p { padding-right: 40px; }
.join-card--direct { background: var(--ink); color: var(--white); box-shadow: 8px 8px 0 var(--orange); }
.join-card--direct > p { color: var(--muted-light); }

.wa-form { display: grid; gap: 14px; }
.wa-form label { display: grid; gap: 6px; font-stretch: 80%; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.wa-form .optional { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.wa-form input, .wa-form select, .wa-form textarea {
  width: 100%; min-height: 50px; padding: 12px 12px;
  font-size: 1rem; font-stretch: 100%; letter-spacing: 0; text-transform: none; font-weight: 500;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
}
.wa-form textarea { resize: vertical; min-height: 90px; }
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,90,26,.35); background: var(--white); }
.wa-form .btn { justify-self: start; margin-top: 6px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 2fr; } }

.direct-list { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .direct-list { grid-template-columns: repeat(3, 1fr); } }
.direct-list a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  border: 2px solid var(--ink-3); background: var(--ink-2); padding: 14px 16px; min-height: 64px;
  transition: border-color .15s ease;
  word-break: break-word;
}
.direct-list a:hover { border-color: var(--orange); }
.direct-list .icon { width: 1.6em; height: 1.6em; color: var(--orange); }
.direct-list span { display: grid; font-weight: 700; }
.direct-list small { font-stretch: 75%; font-weight: 800; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.small-print { font-size: .9rem; margin-top: 16px !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 56px 0 28px; margin-top: 14px; }
.site-footer__top { display: flex; align-items: center; gap: 18px; padding-bottom: 32px; border-bottom: 2px solid var(--ink-3); }
.site-footer__crest { width: 84px; height: 84px; }
.site-footer__motto { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 11vw, 4.4rem); line-height: .9; }
.site-footer__cols { display: grid; gap: 32px; padding: 32px 0; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: 1fr 1.4fr; } }
.site-footer .label { color: var(--orange); margin-bottom: 12px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 0; font-weight: 600; }
.site-footer ul a:hover { color: var(--orange); }
.contact-list .icon { color: var(--orange); }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 22px; border-top: 2px solid var(--ink-3); color: var(--muted-light); font-size: .85rem; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .ticker, .menu, .btn-row, .group-nav { display: none !important; }
  body { background: #fff; }
}
