/* Self-hosted fonts — no third-party requests, no cookies, instant paint. */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'Barlow Condensed'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
/* ==========================================================================
   Gornal DC — design system
   Brand: purple #7A00AA / charcoal / white. Sampled from the club crest.
   ========================================================================== */

:root {
  /* Brand */
  --purple:      #7A00AA;
  --purple-700:  #62008A;
  --purple-800:  #4B0069;
  --purple-300:  #C07BE0;
  --purple-100:  #F3E6FA;

  /* Neutrals — warmed very slightly toward the brand purple */
  --ink:         #0D0910;
  --ink-2:       #171020;
  --ink-3:       #241A30;
  --slate:       #4B4652;
  --grey:        #6F6A79;
  --grey-300:    #B9B4C1;
  --line:        #E4E0EA;
  --paper:       #FFFFFF;
  --paper-2:     #F7F5FA;
  --paper-3:     #EFEBF4;

  /* Support */
  --gold:        #E8B21E;
  --green:       #1E8E4B;
  --red:         #C42B2B;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space + shape */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(13,9,16,.06), 0 4px 14px rgba(13,9,16,.06);
  --shadow-2: 0 2px 6px rgba(13,9,16,.08), 0 18px 44px rgba(13,9,16,.12);
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--purple-700); text-underline-offset: .18em; }
a:hover { color: var(--purple); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
h4 { font-size: 1.15rem; letter-spacing: .01em; }
p + p { margin-top: 1.05em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: .75rem;
  display: block;
}
.eyebrow--light { color: var(--purple-300); }
.lede { font-size: clamp(1.075rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--slate); }
.muted { color: var(--grey); }
.tiny { font-size: .82rem; line-height: 1.55; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2rem); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(3.25rem, 7vw, 5.75rem); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); }
.section--dark { background: var(--ink); color: var(--grey-300); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--purple-300); }
.section--tint { background: var(--paper-2); }
.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head .lede { margin-top: .9rem; }
.center { text-align: center; margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--purple); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 650; font-size: .95rem;
  letter-spacing: .02em;
  padding: .82rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 6px 20px rgba(122,0,170,.28); }
.btn--primary:hover { background: var(--purple-700); color: #fff; box-shadow: 0 10px 28px rgba(122,0,170,.36); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--on-dark { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { padding: .58rem 1.1rem; font-size: .87rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,9,16,.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.brand__sub { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-300); margin-top: .22rem; font-weight: 600; white-space: nowrap; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; }
.nav a {
  display: block; padding: .55rem .78rem; border-radius: 999px;
  color: rgba(255,255,255,.82); text-decoration: none;
  font-size: .875rem; font-weight: 600; letter-spacing: .015em; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { color: #fff; background: var(--purple); }
.nav__group { position: relative; display: flex; align-items: center; flex-wrap: nowrap; flex-shrink: 0; }
.nav__parent {
  display: block; padding: .55rem .5rem .55rem .78rem; border-radius: 999px 0 0 999px;
  color: rgba(255,255,255,.82); text-decoration: none;
  font-size: .875rem; font-weight: 600; letter-spacing: .015em; white-space: nowrap;
}
.nav__parent:hover, .nav__group[data-open="true"] .nav__parent { color: #fff; background: rgba(255,255,255,.1); }
.nav__parent[aria-current="page"] { color: #fff; background: var(--purple); }
.nav__toggle {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  padding: .55rem .6rem .55rem .3rem; border-radius: 0 999px 999px 0; border: 0; background: transparent;
  color: rgba(255,255,255,.82); font-size: .875rem; font-weight: 600; cursor: pointer; line-height: 1;
}
.nav__toggle:hover, .nav__group[data-open="true"] .nav__toggle { color: #fff; background: rgba(255,255,255,.1); }
.nav__toggle svg { width: 11px; height: 11px; transition: transform .2s ease; }
.nav__group[data-open="true"] .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: 264px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-2);
  padding: .5rem; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  border: 1px solid var(--line);
}
.nav__group[data-open="true"] .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu a { color: var(--slate); font-weight: 550; padding: .55rem .75rem; border-radius: var(--radius-sm); font-size: .9rem; }
.nav__menu a:hover { background: var(--purple-100); color: var(--purple-800); }
.nav__menu a[aria-current="page"] { background: var(--purple-100); color: var(--purple-800); }
.header-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* NOTE: .site-header uses backdrop-filter, which makes it the containing
     block for position:fixed descendants. A fixed panel therefore collapsed to
     the height of the header itself. Absolute positioning against the header,
     with an explicit max-height, is both correct and predictable. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.1rem clamp(1.15rem, 4vw, 2rem) 2.5rem; overflow-y: auto;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 44px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .2s ease, transform .22s cubic-bezier(.4,0,.2,1), visibility .22s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a { width: 100%; text-align: left; justify-content: space-between; padding: .95rem .6rem; border-radius: 10px; font-size: 1.05rem; }
  .nav > a { border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .nav__group { width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
  .nav__parent { flex: 1; padding: .95rem .6rem; border-radius: 10px 0 0 10px; font-size: 1.05rem; }
  .nav__toggle { width: 56px; min-height: 52px; padding: .95rem .6rem; border-radius: 0 10px 10px 0; justify-content: flex-end; }
  .nav__toggle svg { width: 16px; height: 16px; }
  .nav__menu {
    position: static; transform: none; opacity: 1; visibility: visible; min-width: 0;
    background: transparent; box-shadow: none; border: 0; padding: 0 0 .6rem .6rem;
    display: none;
  }
  /* The desktop rule .nav__group[data-open] .nav__menu re-applies
     translateX(-50%) and out-ranks the plain .nav__menu reset above, which
     dragged the open submenu off the left edge on phones. Same specificity
     here, declared later, so mobile wins. */
  .nav__group[data-open="true"] .nav__menu {
    display: block; position: static; transform: none; opacity: 1; visibility: visible;
    width: 100%; flex-basis: 100%;
  }
  .nav__menu a { color: rgba(255,255,255,.75); font-size: .98rem; padding: .6rem; }
  .nav__menu a:hover, .nav__menu a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
  .nav__cta { margin-top: 1.25rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Kept dark enough for white text to pass contrast, light enough that the
     photograph actually reads on a wide screen. */
  background:
    linear-gradient(180deg, rgba(13,9,16,.58) 0%, rgba(13,9,16,.34) 45%, rgba(13,9,16,.88) 100%),
    linear-gradient(100deg, rgba(75,0,105,.52) 0%, rgba(13,9,16,.06) 58%);
}
.hero__inner { padding-block: clamp(4.5rem, 13vw, 8.5rem); position: relative; }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 26px rgba(0,0,0,.7), 0 1px 3px rgba(0,0,0,.5); }
.hero .lede { color: rgba(255,255,255,.94); max-width: 54ch; margin-top: 1.25rem; text-shadow: 0 1px 14px rgba(0,0,0,.65); }
.hero--compact .hero__inner { padding-block: clamp(3rem, 8vw, 5rem); }
.hero--compact h1 { max-width: 22ch; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.25rem); margin-top: clamp(2.25rem, 5vw, 3.5rem); padding-top: 1.85rem; border-top: 1px solid rgba(255,255,255,.18); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.9rem); color: #fff; line-height: 1; }
.stat__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-300); margin-top: .45rem; font-weight: 600; }

/* Breadcrumb bar on interior pages */
.crumbs { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.78); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { margin-inline: .45rem; opacity: .5; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 1.85rem); box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .96rem; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--purple-300); }
.card__more { margin-top: auto; padding-top: 1.1rem; font-weight: 650; font-size: .9rem; color: var(--purple); display: inline-flex; align-items: center; gap: .4rem; }
a.card:hover .card__more { gap: .65rem; }
.card__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--purple-100); color: var(--purple-800); display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 22px; height: 22px; }

/* Photo cards (sections/teams) */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; display: block; background: var(--ink-2); min-height: 300px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.tile:hover img { transform: scale(1.055); }
.tile__body { position: relative; z-index: 1; padding: clamp(1.25rem, 2.4vw, 1.7rem); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(13,9,16,.05) 30%, rgba(13,9,16,.55) 62%, rgba(13,9,16,.93) 100%); }
.tile h3 { color: #fff; }
.tile p { color: rgba(255,255,255,.84); font-size: .93rem; margin-top: .4rem; }
.tile__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .34rem .68rem; border-radius: 999px; }

/* Split feature */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 1fr; } }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); width: 100%; }
.split--reverse .split__media { order: 2; }
@media (max-width: 899px) { .split--reverse .split__media { order: 0; } }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 72ch; font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.4em; padding-top: .2em; }
.prose h3 { font-size: clamp(1.2rem, 1.9vw, 1.4rem); margin-top: 1.9em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--purple); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { font-weight: 550; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose blockquote { border-left: 4px solid var(--purple); padding: .35em 0 .35em 1.25em; color: var(--ink); font-size: 1.1em; }
.callout { background: var(--purple-100); border: 1px solid #E2CDEF; border-left: 4px solid var(--purple); border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; }
.callout--warn { background: #FFF6E5; border-color: #F2DFB4; border-left-color: var(--gold); }
.callout h4 { margin-bottom: .4rem; }
.callout p { font-size: .96rem; }

/* Policy page layout with sidebar */
.doc { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 1000px) { .doc { grid-template-columns: 250px 1fr; } }
.doc__aside { align-self: start; }
@media (min-width: 1000px) { .doc__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.doc__nav-title { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--grey); font-weight: 700; margin-bottom: .9rem; }
.doc__nav { display: flex; flex-direction: column; gap: .1rem; border-left: 2px solid var(--line); }
.doc__nav a { padding: .5rem .85rem; font-size: .9rem; text-decoration: none; color: var(--slate); border-left: 2px solid transparent; margin-left: -2px; line-height: 1.4; }
.doc__nav a:hover { color: var(--purple-800); background: var(--paper-2); }
.doc__nav a[aria-current="page"] { color: var(--purple-800); border-left-color: var(--purple); font-weight: 650; }

/* ---------- Badge strip (leagues / affiliations) ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3rem); }
.badges img { height: clamp(48px, 7vw, 72px); width: auto; object-fit: contain; }
.badge-item { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.badge-item span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; color: var(--grey); text-align: center; max-width: 15ch; line-height: 1.35; }
.badge-item:hover span { color: var(--purple); }
.section--dark .badge-item span { color: var(--grey-300); }
.badges--mono img { filter: grayscale(1) brightness(1.6); opacity: .8; transition: filter .2s ease, opacity .2s ease; }
.badge-item:hover img { filter: none; opacity: 1; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
th, td { padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--paper-2); }
td strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .42rem; }
.field label { font-weight: 650; font-size: .9rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--grey); }
.req { color: var(--red); margin-left: .15rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236F6A79' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(122,0,170,.14); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); }
.field .error { font-size: .84rem; color: var(--red); font-weight: 600; display: none; }
.field[data-invalid="true"] .error { display: block; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }

.check { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; padding: 1.15rem 1.25rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); cursor: pointer; }
.check:hover { border-color: var(--purple-300); }
.check input[type="checkbox"] { width: 22px; height: 22px; margin-top: .12rem; accent-color: var(--purple); cursor: pointer; flex-shrink: 0; }
.check span { font-size: .93rem; line-height: 1.55; }
.check[data-invalid="true"] { border-color: var(--red); background: #FEF2F2; }

/* Signature pad */
.sigpad { border: 1.5px dashed var(--grey-300); border-radius: var(--radius-sm); background: #fff; position: relative; overflow: hidden; }
.sigpad canvas { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; }
.sigpad__hint { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: var(--grey-300); font-size: .95rem; font-style: italic; }
.sigpad[data-signed="true"] .sigpad__hint { display: none; }
.sigpad[data-invalid="true"] { border-color: var(--red); border-style: solid; }
.sigpad__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .55rem; }

.form-status { padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status[data-state="ok"] { display: block; background: #E9F7EF; border: 1px solid #B6E2C6; color: #145C33; }
.form-status[data-state="err"] { display: block; background: #FEF2F2; border: 1px solid #F5C7C7; color: #8E1F1F; }
.form-status[data-state="busy"] { display: block; background: var(--paper-2); border: 1px solid var(--line); color: var(--slate); }

/* ---------- Fixtures / embeds ---------- */
.embed-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
.embed-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.embed-card__head img { height: 38px; width: auto; }
.embed-card__head h3 { font-size: 1.25rem; }
.embed-card__head .tiny { margin-left: auto; }
.embed-card__body { padding: 1.1rem 1.35rem 1.4rem; }
.embed-card__body iframe { width: 100%; border: 0; min-height: 480px; }
.embed-placeholder { padding: 2.25rem 1.35rem; text-align: center; color: var(--grey); background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 12px, #fff 12px, #fff 24px); border-radius: var(--radius-sm); }

.fixture-list { display: flex; flex-direction: column; }
.fixture {
  display: grid; gap: .35rem 1.1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line);
  grid-template-columns: auto 1fr auto; align-items: center;
}
.fixture:last-child { border-bottom: 0; }
.fixture__date { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--purple); text-align: center; line-height: 1.1; min-width: 62px; }
.fixture__date small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.fixture__teams { font-weight: 650; color: var(--ink); }
.fixture__meta { font-size: .82rem; color: var(--grey); margin-top: .15rem; }
.fixture__result { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.pill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .26rem .6rem; border-radius: 999px; background: var(--purple-100); color: var(--purple-800); }
.pill--w { background: #E9F7EF; color: #145C33; }
.pill--l { background: #FEF2F2; color: #8E1F1F; }
.pill--d { background: var(--paper-3); color: var(--slate); }

/* ---------- Social feed ---------- */
.social-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.social-embed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.social-embed__head { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.15rem; border-bottom: 1px solid var(--line); }
.social-embed__head svg { width: 22px; height: 22px; flex-shrink: 0; }
.social-embed__head strong { font-size: .95rem; color: var(--ink); }
.social-embed__head a { margin-left: auto; font-size: .84rem; font-weight: 650; text-decoration: none; }
.social-embed__body { min-height: 480px; }
.social-embed__body iframe { width: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--grey-300); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .15em; margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.site-footer a { color: var(--grey-300); text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-brand { max-width: 34ch; }
.footer-brand img { width: 70px; height: 70px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .92rem; color: var(--grey); }
.socials { display: flex; gap: .6rem; margin-top: 1.35rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.09); display: grid; place-items: center; transition: background-color .18s ease, transform .18s ease; }
.socials a:hover { background: var(--purple); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: #fff; }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; font-size: .84rem; color: var(--grey); }
.footer-bottom .spacer { margin-left: auto; }

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0 !important; }
.stack > * + * { margin-top: 1.1rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin-block: clamp(2rem, 4vw, 3rem); }
.pt-0 { padding-top: 0 !important; }

@media print {
  .site-header, .site-footer, .doc__aside, .btn, .nav-toggle { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero { background: #fff; color: #000; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero .lede { color: #000; text-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ---------- Additions: badge plaques + wide dropdown ---------- */
.badge-plaque {
  display: grid; place-items: center;
  min-width: 96px; height: clamp(48px, 7vw, 68px); padding: 0 1.1rem;
  border: 2px solid var(--line); border-radius: 10px;
  background: linear-gradient(180deg, #fff, var(--paper-2));
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: .04em; color: var(--purple-800);
  box-shadow: var(--shadow-1);
  transition: border-color .18s ease, transform .18s ease;
}
.badge-item:hover .badge-plaque { border-color: var(--purple); transform: translateY(-2px); }
.section--dark .badge-plaque { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; }

@media (min-width: 1041px) {
  .nav__menu--wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 .25rem; }
  .nav__menu--wide > a:first-child { grid-column: 1 / -1; font-weight: 700; color: var(--purple-800); border-bottom: 1px solid var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: .35rem; }
}

/* Tiles need the picture element to fill */
.tile picture { position: absolute; inset: 0; display: block; }
.tile picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fix pass ---------- */
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.card__more svg { width: 14px; height: 14px; transition: transform .2s ease; }

/* Only one Club Shop button per breakpoint */
@media (min-width: 1041px) { .nav__cta { display: none !important; } }

/* White vendor logos sit on a dark plaque rather than being colour-filtered */
.logo-plaque {
  display: grid; place-items: center;
  background: var(--ink); border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
  min-height: 104px; min-width: 150px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.logo-plaque img { height: clamp(46px, 6vw, 64px); width: auto; object-fit: contain; }
a:hover > .logo-plaque, a.badge-item:hover .logo-plaque { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.logo-plaque--lg { min-height: 150px; min-width: 190px; }
.logo-plaque--lg img { height: clamp(70px, 9vw, 100px); }

/* Slightly stronger league plaques */
.badge-plaque { min-width: 108px; }

/* ---------- Club shop grid ---------- */
.kit-grid { display: grid; gap: clamp(.9rem, 2vw, 1.4rem); grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kit-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.kit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--purple-300); }
.kit-card__img { display: block; aspect-ratio: 4 / 5; background: var(--paper-3); overflow: hidden; }
.kit-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.6,.2,1); }
.kit-card:hover .kit-card__img img { transform: scale(1.05); }
.kit-card__body { display: flex; flex-direction: column; gap: .2rem; padding: .85rem 1rem 1.05rem; }
.kit-card__body strong { font-family: var(--font-display); font-size: 1.12rem; text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }

.logo-plaque--light { background: #fff; border: 1px solid var(--line); }

/* ---------- Social follow cards ---------- */
.follow-card {
  position: relative; display: flex; flex-direction: column; gap: .3rem;
  padding: clamp(1.6rem, 3vw, 2.25rem); border-radius: var(--radius);
  text-decoration: none; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.follow-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  transition: opacity .25s ease;
}
.follow-card--fb::after { background: radial-gradient(120% 120% at 0% 0%, #1877F2 0%, #10305e 45%, var(--ink) 100%); }
.follow-card--ig::after { background: radial-gradient(120% 120% at 0% 0%, #F58529 0%, #DD2A7B 38%, #6A1B9A 70%, var(--ink) 100%); }
.follow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: #fff; }
.follow-card:hover::after { opacity: 1; }
.follow-card__icon { display: block; width: 40px; height: 40px; margin-bottom: .9rem; }
.follow-card__icon svg { width: 40px; height: 40px; fill: #fff; }
.follow-card strong { font-family: var(--font-display); font-size: clamp(1.5rem,2.6vw,1.9rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
.follow-card__meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.7); }
.follow-card p { margin-top: .9rem; font-size: .95rem; color: rgba(255,255,255,.85); max-width: 38ch; }
.follow-card__cta { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; font-size: .93rem; }
.follow-card:hover .follow-card__cta { gap: .7rem; }

tbody tr.is-us { background: var(--purple-100) !important; }
tbody tr.is-us td { color: var(--purple-800); }
tbody tr.is-us td strong { color: var(--purple-800); }

.venue-map { width: 100%; height: 200px; border: 0; display: block; filter: saturate(.9); }

/* Coaching credential marks */
.creds { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem; }
.cred { display: flex; flex-direction: column; gap: .1rem; background: #fff; border: 1.5px solid var(--purple-300); border-radius: 10px; padding: .55rem .85rem; min-width: 92px; }
.cred strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .03em; color: var(--purple-800); line-height: 1; text-transform: uppercase; }
.cred > span { font-size: .68rem; letter-spacing: .04em; color: var(--grey); line-height: 1.3; }
.cred__logo { height: 26px; width: auto; object-fit: contain; object-position: left center; margin-bottom: .15rem; align-self: flex-start; }

/* "A note on joining" bar — sits flush under the hero */
.joinbar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.joinbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(1rem, 3vw, 2.5rem); padding-block: clamp(1.4rem, 3vw, 2rem); }
.joinbar__inner > div { flex: 1 1 min(100%, 640px); min-width: 0; }
.joinbar p { font-size: .98rem; color: var(--slate); max-width: 62ch; }
.joinbar .btn { flex: 0 0 auto; }

/* Pack note — quiet, inline, not a floating box */
.packnote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 1.15rem; }
.packnote strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; color: var(--ink); letter-spacing: .02em; }
.packnote p { margin-top: .2rem; max-width: 60ch; }
.packnote--plain { display: block; max-width: 74ch; padding-block: 1.1rem; }

/* Joining bar — force the button inline on desktop */
@media (min-width: 860px) {
  .joinbar__inner { flex-wrap: nowrap; }
  .joinbar__inner > div { flex: 1 1 auto; }
  .joinbar p { max-width: 70ch; }
}

/* ---- Live social posts ---------------------------------------------- */
.social-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; margin-bottom: 2.25rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(24,10,32,.13); border-color: var(--purple-300); }
.post-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__net { position: absolute; top: .6rem; left: .6rem; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1877F2; }
.post-card__net svg { width: 15px; height: 15px; }
.post-card--ig .post-card__net { background: linear-gradient(45deg, #f09433, #dc2743 45%, #bc1888); }
.post-card__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,8,28,.22); color: #fff; font-size: 2rem; }
.post-card__body { padding: .85rem 1rem 1.05rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.post-card__body p { font-size: .88rem; line-height: 1.45; margin: 0; }
.post-card__date { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-top: auto; }

/* ---- Home snapshot cards (live from FA Full-Time) -------------------- */
.mini-card {
  display: flex; flex-direction: column; gap: .85rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.45rem 1.25rem; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--purple-300); }
.mini-card__head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.mini-card__head h3 { font-size: 1.15rem; margin: 0; }
.mini-card__body { display: flex; flex-direction: column; gap: .55rem; }
.mini-stat { display: flex; align-items: baseline; gap: .6rem; }
.mini-stat__pos { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--purple-800); }
.mini-stat__meta { font-size: .82rem; color: var(--grey); line-height: 1.35; }
.mini-line { display: flex; gap: .6rem; align-items: baseline; font-size: .88rem; border-top: 1px solid var(--line); padding-top: .55rem; }
.mini-line__label { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); min-width: 58px; flex-shrink: 0; }
.mini-line__value { font-weight: 550; }
.mini-card .card__more { margin-top: auto; }

/* ---- Home standings cards ------------------------------------------- */
.standings {
  display: flex; flex-direction: column; gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.45rem 1.25rem;
}
.standings__head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.standings__head h3 { font-size: 1.15rem; margin: 0; }
.standings .table-wrap { margin: 0; }
.standings .table-wrap { overflow: visible; }
.table--mini { font-size: .84rem; table-layout: fixed; width: 100%; }
.table--mini th, .table--mini td { padding: .5rem .35rem; }
.table--mini th:first-child, .table--mini td:first-child { width: 34px; padding-left: .6rem; }
.table--mini th:nth-child(2), .table--mini td:nth-child(2) {
  width: auto; max-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.table--mini th:nth-child(n+3), .table--mini td:nth-child(n+3) { text-align: right; width: 38px; }
.table--mini th:last-child, .table--mini td:last-child { width: 44px; padding-right: .6rem; }
.standings .card__more { margin-top: auto; }
