/* ==========================================================================
   Al Fatah Cricket Club
   Design system and site styles
   Palette taken from the club crest: forest green, gold, leaf green, red.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (self hosted, no external requests)
   Anton for display, Inter variable for everything else.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand greens */
  --green-950: #04170B;
  --green-900: #062A12;
  --green-850: #08331A;
  --green-800: #0A3A1C;
  --green-700: #0C4A24;
  --green-600: #12602F;
  --green-500: #1F7A3D;
  --leaf: #62B84C;
  --leaf-light: #79C95C;

  /* Gold */
  --gold: #F4B923;
  --gold-light: #FFD34E;
  /* Text weight gold. Deep enough to clear WCAG AA on white for the small
     uppercase labels it is used on. Bright --gold is used on dark instead. */
  --gold-dark: #9A6A06;

  /* Accent */
  --red: #DF3B2C;

  /* Neutrals */
  --paper: #FFFFFF;
  --cream: #F6F4ED;
  --cream-deep: #EBE7DB;
  --ink: #11241A;
  --ink-soft: #3C4C42;
  --muted: #6B7A70;
  --line: rgba(17, 36, 26, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Anton", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.75rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.5rem + 5vw, 5.75rem);

  /* Space */
  --gap-xs: 0.5rem;
  --gap-sm: 0.875rem;
  --gap: 1.5rem;
  --gap-lg: 2.5rem;
  --gap-xl: 4rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Layout */
  --shell: 1200px;
  --shell-wide: 1440px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(4, 23, 11, 0.1), 0 4px 12px rgba(4, 23, 11, 0.06);
  --shadow: 0 8px 28px rgba(4, 23, 11, 0.14);
  --shadow-lg: 0 24px 60px rgba(4, 23, 11, 0.26);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gold); color: var(--green-900); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--gold);
  color: var(--green-900);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}
.shell-wide { width: min(100% - 2.5rem, var(--shell-wide)); margin-inline: auto; }

@media (max-width: 560px) {
  .shell, .shell-wide { width: min(100% - 2rem, var(--shell)); }
}

.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

.section-dark {
  background: var(--green-900);
  color: var(--cream);
}
.section-deep { background: var(--green-950); color: var(--cream); }
.section-paper { background: var(--paper); }

.section-dark p, .section-deep p, .page-hero p { color: rgba(246, 244, 237, 0.78); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.875rem;
}
.section-dark .eyebrow,
.section-deep .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: var(--gold); }

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}

.section-title { font-size: var(--fs-h2); max-width: 22ch; }
.section-title .accent { color: var(--gold); }
.section-paper .section-title .accent,
.section-cream .section-title .accent { color: var(--green-600); }

.section-head { margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head.center { text-align: center; }
.section-head.center .section-title { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

.section-head.split {
  display: grid;
  gap: var(--gap);
  align-items: end;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .section-head.split { grid-template-columns: 1.4fr 1fr; }
  .section-head.split .head-aside { text-align: right; }
}

.lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 60ch; }
.section-dark .lead,
.section-deep .lead,
.page-hero .lead,
.cta-band .lead { color: rgba(246, 244, 237, 0.82); }

.stack > * + * { margin-top: 1.1em; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Decorative pitch stripes */
.stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.028) 0 2px,
    transparent 2px 46px
  );
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--green-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(244, 185, 35, 0.32);
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn:active { transform: translateY(0); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  border-color: rgba(246, 244, 237, 0.45);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--green-900);
  border-color: var(--cream);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.btn-dark {
  --btn-bg: var(--green-700);
  --btn-fg: var(--cream);
  border-color: var(--green-700);
}
.btn-dark:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  box-shadow: 0 10px 26px rgba(12, 74, 36, 0.3);
}

.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.78rem; }

/* On very narrow phones a long button label with nowrap pushes the page
   sideways. Let it wrap rather than break the layout. */
@media (max-width: 400px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; border-bottom-color: currentColor; }
.section-dark .link-arrow, .section-deep .link-arrow, .hero .link-arrow { color: var(--gold); }

/* --------------------------------------------------------------------------
   5. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    height 0.3s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 11, 0.88) 0%, rgba(4, 23, 11, 0.45) 60%, rgba(4, 23, 11, 0) 100%);
  /* Deliberately strong: the nav sits over a photo, and a future photo swap
     must not be able to make the links unreadable. */
  z-index: -1;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-stuck {
  background: var(--green-950);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35);
  height: 66px;
}
.site-header.is-stuck::after { opacity: 0; }

/* Pages without a hero image need the solid bar immediately */
.site-header.always-solid { background: var(--green-950); }
.site-header.always-solid::after { opacity: 0; }

.header-inner {
  width: min(100% - 2.5rem, var(--shell-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: var(--gap);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: var(--cream);
}
.brand img { width: 42px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav { display: none; }
@media (min-width: 1020px) { .nav { display: block; } }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 244, 237, 0.82);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav-list a:hover { color: var(--cream); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--gold); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: none; }
@media (min-width: 1020px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: rgba(246, 244, 237, 0.08);
  border: 1px solid rgba(246, 244, 237, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
@media (min-width: 1020px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--green-950);
  padding: calc(var(--header-h) + 2rem) 1.5rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
    visibility 0.28s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--cream);
}
.mobile-nav a[aria-current="page"] { color: var(--gold); }
.mobile-nav a span { font-family: var(--font-body); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em; }
.mobile-nav .btn { width: 100%; margin-top: 2rem; }
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
  background: var(--green-950);
  color: var(--cream);
  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 28%;
  filter: saturate(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 23, 11, 0.82) 0%, rgba(4, 23, 11, 0.35) 38%, rgba(4, 23, 11, 0.93) 88%),
    linear-gradient(90deg, rgba(6, 42, 18, 0.88) 0%, rgba(6, 42, 18, 0.15) 62%);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  right: -12%;
  top: -18%;
  background: radial-gradient(circle, rgba(98, 184, 76, 0.28), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-content { max-width: 46rem; }
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { margin-top: 1.5rem; max-width: 46ch; color: rgba(246, 244, 237, 0.86); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 237, 0.7);
}
.hero-badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-badges span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Compact hero for interior pages */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5rem));
  padding-bottom: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  background:
    radial-gradient(1000px 420px at 8% -30%, rgba(98, 184, 76, 0.2), transparent 70%),
    var(--green-950);
  color: var(--cream);
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); }
.page-hero .lead { margin-top: 1.1rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 237, 0.55);
  margin-bottom: 1.25rem;
}
.crumbs a:hover { color: var(--gold); }
.crumbs span[aria-hidden] { color: var(--gold); }

/* --------------------------------------------------------------------------
   7. Ticker
   -------------------------------------------------------------------------- */
.ticker {
  background: var(--gold);
  color: var(--green-900);
  padding: 0.85rem 0;
  overflow: hidden;
  border-block: 3px solid var(--green-900);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-group span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker-group span::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
  flex: none;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 840px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: var(--green-900);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 1.25rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  line-height: 1;
  color: var(--gold);
}
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(246, 244, 237, 0.72);
}

/* --------------------------------------------------------------------------
   9. Cards, media and grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
/* Grid and flex children default to min-width:auto, so anything with an
   intrinsic minimum (a wide table, a long word) refuses to shrink and pushes
   the whole page sideways. This is the fix. */
.grid > *,
.split-media > *,
.nextmatch > *,
.section-head.split > * { min-width: 0; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split-media {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split-media { grid-template-columns: 1.05fr 1fr; }
  .split-media.reverse .split-figure { order: -1; }
}

.split-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-figure img { width: 100%; }
.split-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.5rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(4, 23, 11, 0.9));
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

.section-dark .card, .section-deep .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  color: var(--cream);
  box-shadow: none;
}
.section-dark .card p, .section-deep .card p { color: rgba(246, 244, 237, 0.72); }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--green-700);
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.section-dark .card-icon, .section-deep .card-icon { background: var(--gold); color: var(--green-900); }

.value-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.9rem;
  display: block;
}
.section-dark .value-num, .section-deep .value-num { color: var(--gold); }

/* --------------------------------------------------------------------------
   10. People cards
   -------------------------------------------------------------------------- */
.person {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-800);
  isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.person-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--green-700), var(--green-950));
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.6s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.05); }
.person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 23, 11, 0) 22%,
    rgba(4, 23, 11, 0.55) 48%,
    rgba(4, 23, 11, 0.93) 72%,
    rgba(4, 23, 11, 0.99) 100%
  );
}

/* Monogram fallback when there is no photo yet */
.person-monogram {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(244, 185, 35, 0.9);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--green-700), var(--green-950));
  letter-spacing: 0.04em;
}

.person-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.375rem 1.5rem;
  color: var(--cream);
  z-index: 2;
}
.person-role {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--gold);
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.7rem;
}
.person-role.alt { background: var(--cream); }
.person-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}
.person-meta {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: rgba(246, 244, 237, 0.75);
  line-height: 1.5;
}
.person-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}
.tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(246, 244, 237, 0.32);
  border-radius: 999px;
  color: rgba(246, 244, 237, 0.85);
}

/* Squad roster rows */
.roster {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.roster-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.roster-row:last-child { border-bottom: 0; }
.roster-row:hover { background: var(--cream); }
.roster-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--green-600);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  text-align: center;
}
.roster-name { font-weight: 700; }
.roster-name .cap { color: var(--green-600); font-weight: 800; font-size: 0.78rem; }
.roster-sub { font-size: 0.8rem; color: var(--muted); }
.roster-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  background: rgba(98, 184, 76, 0.16);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.chip {
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--green-500); color: var(--green-700); }
.chip[aria-pressed="true"] {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   11. Fixtures and results
   -------------------------------------------------------------------------- */
.fixture {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--paper);
  /* Explicit ink colour: these light cards also sit inside dark sections,
     where they would otherwise inherit cream text and become unreadable. */
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fixture:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.fixture.is-win { border-left-color: var(--leaf); }
.fixture.is-loss { border-left-color: var(--red); }
.fixture.is-upcoming { border-left-color: var(--gold); }
@media (min-width: 780px) {
  .fixture { grid-template-columns: 150px 1fr auto; gap: 1.75rem; }
}

.fixture-date {
  font-family: var(--font-display);
  line-height: 1;
}
.fixture-day { font-size: 2.1rem; color: var(--green-700); display: block; }
.fixture-month {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
  display: block;
}
.fixture-comp {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}
.fixture-teams { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.fixture-venue {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.fixture-result { text-align: left; }
@media (min-width: 780px) { .fixture-result { text-align: right; } }
.fixture-score { font-family: var(--font-display); font-size: 1.35rem; }
.badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-top: 0.4rem;
  /* Neutral default so a badge with no modifier still reads clearly */
  background: rgba(17, 36, 26, 0.08);
  color: var(--ink-soft);
}
.badge-win { background: rgba(98, 184, 76, 0.2); color: var(--green-600); }
.badge-loss { background: rgba(223, 59, 44, 0.14); color: #B02718; }
.badge-next { background: var(--gold); color: var(--green-900); }

/* Light cards sitting inside a dark section: the section's paragraph colour
   (cream) has higher specificity than the component's own colour, which made
   this text render cream on white. Reassert it here. */
.section-dark .fixture p,
.section-deep .fixture p,
.section-dark .fixture,
.section-deep .fixture { color: var(--ink); }
.fixture p.fixture-comp { color: var(--gold-dark); }
.fixture p.fixture-venue { color: var(--muted); }
.section-dark .table-wrap, .section-deep .table-wrap,
.section-dark .roster, .section-deep .roster,
.section-dark .sponsor, .section-deep .sponsor { color: var(--ink); }
.section-dark .table-wrap p, .section-deep .table-wrap p,
.section-dark .roster p, .section-deep .roster p,
.section-dark .sponsor p, .section-deep .sponsor p { color: var(--ink); }

/* Next match feature card
   -------------------------------------------------------------------------- */
.nextmatch {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(98, 184, 76, 0.16), transparent 70%),
    var(--green-900);
  color: var(--cream);
}
@media (min-width: 900px) { .nextmatch { grid-template-columns: 0.85fr 1fr; } }

.nextmatch-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-dark);
}
.nextmatch-figure img { width: 100%; }

.nextmatch-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--green-900);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.nextmatch-teams {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
}
.nextmatch-teams .vs { color: var(--gold); display: block; font-size: 0.5em; margin: 0.35rem 0; }
.nextmatch-meta {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.9rem;
}
.nextmatch-meta li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
  color: rgba(246, 244, 237, 0.85);
}
.nextmatch-meta svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.nextmatch-meta strong { color: var(--cream); font-weight: 700; }

.squadlist {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.4rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 0.88rem;
}
@media (min-width: 620px) { .squadlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.squadlist li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: rgba(246, 244, 237, 0.85);
}
.squadlist .num {
  font-family: var(--font-display);
  color: var(--gold);
  min-width: 1.4em;
  font-size: 0.95rem;
}
.squadlist .cap { color: var(--gold); font-weight: 700; font-size: 0.72rem; }

/* Competition badge row */
.comp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.comp-meta span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  color: rgba(246, 244, 237, 0.8);
}
.section-paper .comp-meta span { border-color: var(--line); color: var(--ink-soft); }

/* Placeholder notice */
.notice {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(244, 185, 35, 0.14);
  border: 1px solid rgba(201, 138, 12, 0.35);
  font-size: 0.9rem;
  color: #6b5008;
  margin-bottom: 2rem;
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.notice strong { color: #5a4206; }

/* On dark sections the same notice needs light text to stay readable */
.section-dark .notice,
.section-deep .notice,
.cta-band .notice {
  background: rgba(244, 185, 35, 0.1);
  border-color: rgba(244, 185, 35, 0.4);
  color: rgba(246, 244, 237, 0.86);
}
.section-dark .notice strong,
.section-deep .notice strong,
.cta-band .notice strong { color: var(--gold); }
.section-dark .notice svg,
.section-deep .notice svg { color: var(--gold); }

/* Ladder table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
table.ladder { width: 100%; border-collapse: collapse; min-width: 620px; }
.ladder th, .ladder td { padding: 0.9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.ladder th {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--green-700);
  border-bottom: 0;
  white-space: nowrap;
}
.ladder td { font-size: 0.9rem; }
.ladder tbody tr:last-child td { border-bottom: 0; }
.ladder tbody tr.is-us { background: rgba(98, 184, 76, 0.14); font-weight: 700; }
.ladder tbody tr:hover { background: var(--cream); }
.ladder tbody tr.is-us:hover { background: rgba(98, 184, 76, 0.2); }
.ladder td:first-child { font-family: var(--font-display); font-size: 1.05rem; width: 56px; }

/* --------------------------------------------------------------------------
   12. Honours
   -------------------------------------------------------------------------- */
.honours { list-style: none; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.honour {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  background: var(--green-900);
}
.honour-icon { color: var(--gold); width: 32px; }
.honour-title { font-family: var(--font-display); font-size: 1.2rem; text-transform: uppercase; color: var(--cream); }
.honour-sub { font-size: 0.82rem; color: rgba(246, 244, 237, 0.65); }
.honour-year { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); }

/* --------------------------------------------------------------------------
   13. Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: 0.875rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 780px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
@media (min-width: 1100px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-800);
  aspect-ratio: 1;
  cursor: zoom-in;
  border: 0;
  padding: 0;
}
.gallery-item.tall { aspect-ratio: 3 / 4; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.35s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 23, 11, 0.85));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 23, 11, 0.95);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: rgba(246, 244, 237, 0.85);
  font-size: 0.9rem;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(246, 244, 237, 0.28);
  background: rgba(246, 244, 237, 0.08);
  color: var(--cream);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--green-900); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-nav.prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   14. Sponsors
   -------------------------------------------------------------------------- */
.sponsor-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }

.sponsor {
  display: grid;
  place-items: center;
  gap: 0.6rem;
  min-height: 140px;
  padding: 1.75rem 1.25rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sponsor:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.sponsor-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-700); text-transform: uppercase; }
.sponsor-tier {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.section-dark .sponsor-tier,
.section-deep .sponsor-tier { color: var(--gold); }
.sponsor-note { font-size: 0.82rem; color: var(--muted); }

.tier-card {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
}
.tier-card.featured { border-color: var(--gold); background: rgba(244, 185, 35, 0.08); }
.tier-price { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); line-height: 1; margin: 0.75rem 0 1.25rem; }
.tier-price small { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: rgba(246,244,237,0.6); display: block; margin-top: 0.4rem; text-transform: uppercase; }
.tick-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; font-size: 0.92rem; }
.tick-list li { display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; align-items: start; color: rgba(246, 244, 237, 0.82); }
.tick-list svg { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .full { grid-column: 1 / -1; } }

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field .req { color: #C42A1C; }
.section-dark .field .req,
.section-deep .field .req { color: #FF8A7A; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  /* Explicit ink colour. Inputs inherit `color` from their parent, so inside a
     dark section they would render white text on a white field. */
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field select { appearance: none; background-image: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(31, 122, 61, 0.14);
}
.field-hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }

/* Forms also appear inside cards on dark sections, where the default ink
   label colour is unreadable. */
.section-dark .field label,
.section-deep .field label { color: rgba(246, 244, 237, 0.82); }
.section-dark .field-hint,
.section-deep .field-hint { color: rgba(246, 244, 237, 0.6); }
.section-dark .card h3,
.section-deep .card h3 { color: var(--cream); }
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(98, 184, 76, 0.16); color: var(--green-600); }
.form-status.err { background: rgba(223, 59, 44, 0.12); color: var(--red); }

.info-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.info-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--green-900);
}
.info-icon svg { width: 20px; height: 20px; }
.info-label { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,244,237,0.6); margin-bottom: 0.2rem; }
.info-value { font-weight: 600; }
.info-value a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   16. CTA band and footer
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
  background: linear-gradient(135deg, var(--green-700), var(--green-950) 70%);
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-band .accent { color: var(--gold); }
.cta-band p { max-width: 52ch; margin-inline: auto; color: rgba(246, 244, 237, 0.82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 2rem; }

.site-footer {
  background: var(--green-950);
  color: rgba(246, 244, 237, 0.7);
  padding-top: clamp(3rem, 2rem + 4vw, 4.5rem);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1020px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }

.footer-brand { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 54px; }
.footer-brand .brand-name { color: var(--cream); font-size: 1.3rem; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  transition: all 0.2s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--green-900); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(246, 244, 237, 0.5);
}
.footer-bottom a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   16b. Touch targets
   Small text links are fine with a mouse but hard to hit with a thumb.
   On touch devices give them room without changing how they look.
   -------------------------------------------------------------------------- */
@media (hover: none), (max-width: 900px) {
  .footer-col a,
  .crumbs a,
  .info-value a,
  .link-arrow,
  .nav-list a,
  .mobile-nav a,
  .socials a,
  .roster-row a,
  .lightbox-close,
  .lightbox-nav {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-col ul { gap: 0.25rem; }
  .info-value a { padding-block: 0.35rem; }
  .chip { min-height: 44px; }
  /* Keep the two links on one contact row from colliding */
  .info-value a + a { margin-left: 0.15rem; }
}

/* --------------------------------------------------------------------------
   17. Motion
   -------------------------------------------------------------------------- */
/* Only hide content up front when JavaScript is available to bring it back.
   Without the "js" class the page renders fully visible, so a script failure
   can never leave a section blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.09s; }
.js .reveal[data-delay="2"] { transition-delay: 0.18s; }
.js .reveal[data-delay="3"] { transition-delay: 0.27s; }
.js .reveal[data-delay="4"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .ticker, .cta-band, .lightbox, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section-dark, .section-deep, .hero, .page-hero { background: #fff !important; color: #000 !important; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
