:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --surface-soft: #eaf0e8;
  --text: #17211b;
  --muted: #59635c;
  --line: #d6ded5;
  --green: #0b6b3a;
  --green-dark: #064527;
  --blue: #123f67;
  --gold: #d6a82f;
  --focus: #ffbf47;
  --radius: 8px;
  --font-scale: 1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(16px * var(--font-scale));
  line-height: 1.55;
}

body.high-contrast {
  --bg: #000000;
  --surface: #111111;
  --surface-soft: #1b1b1b;
  --text: #ffffff;
  --muted: #eeeeee;
  --line: #ffffff;
  --green: #ffff00;
  --green-dark: #ffffff;
  --blue: #ffffff;
  --gold: #ffff00;
}

body.highlight-links a {
  background: #fff3a3;
  color: #000;
  outline: 2px solid #000;
  outline-offset: 2px;
}

body.readable-spacing {
  letter-spacing: .04em;
  word-spacing: .12em;
  line-height: 1.85;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: .001ms !important;
}

a { color: var(--green-dark); }
a:hover { color: var(--blue); }
a:focus, button:focus, input:focus, select:focus, summary:focus {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

img, iframe { max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--focus);
  color: #000;
  padding: 10px 14px;
}

.skip-link:focus { top: 16px; }

.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;
}

.header-grid, .hero-actions, .split-heading {
  display: flex;
  align-items: center;
}

.accessibility-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
}

.accessibility-toggle {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  cursor: pointer;
}

.accessibility-toggle img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.accessibility-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(320px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.accessibility-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--green-dark);
  color: #fff;
}

.accessibility-panel header button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.accessibility-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
}

.accessibility-options button {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.accessibility-options button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header-grid {
  min-height: 88px;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  flex: 0 0 320px;
  min-width: 0;
  align-self: stretch;
}

.brand-logo {
  width: 116px;
  height: 126px;
  display: grid;
  place-items: center;
  flex: 0 0 116px;
  margin: 8px 0 -46px;
  border-radius: 0 0 14px 14px;
  background: #fff;
  border: 1px solid rgba(15, 29, 22, .1);
  box-shadow: 0 18px 30px rgba(15, 29, 22, .14);
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .78rem; max-width: 220px; }

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  min-width: 0;
}

.main-nav a,
.nav-dropdown summary {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 11px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible,
.nav-dropdown[open] summary {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(6, 69, 39, .18);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 190px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 22px 52px rgba(15, 29, 22, .18);
}

.nav-dropdown div a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
}

.header-search {
  display: flex;
  align-items: stretch;
  flex: 0 0 160px;
  min-width: 160px;
}

input, select, textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 42px;
}

.header-search input {
  width: 135px;
  border-radius: 6px 0 0 6px;
}

.header-search button {
  border: 0;
  border-radius: 0 6px 6px 0;
  background: var(--green);
  color: #fff;
  padding: 0 12px;
  font-weight: 700;
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(214,168,47,.34), transparent 34%),
    linear-gradient(90deg, rgba(6,69,39,.96), rgba(18,63,103,.78)),
    url("../images/gallery/IMG-20250505-WA0047.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: end;
}

.hero-copy h1, .page-hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.02;
  max-width: 900px;
}

.hero-copy p { max-width: 720px; font-size: 1.22rem; }

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hero-actions { gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  border: 1px solid var(--green);
  font-weight: 800;
  cursor: pointer;
}

.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { color: #fff; background: var(--green-dark); }
.button-ghost { background: var(--surface); color: var(--green-dark); }

.hero-panel {
  background: rgba(255,255,255,.94);
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}

.hero-panel strong, .hero-panel span, .hero-panel a { display: block; }
.hero-panel span { margin: 10px 0 14px; color: var(--muted); }

.section { padding: 76px 0; }
.section-muted { background: var(--surface-soft); }

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}

.section-heading, .split-heading { margin-bottom: 28px; }
.section-heading h2, .split-heading h2, .two-col h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.1; margin: 0; }
.split-heading { justify-content: space-between; gap: 24px; }

.rich-text p { color: var(--muted); font-size: 1.08rem; }

.legal-access-notice {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.legal-access-notice h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.legal-access-notice__text {
  max-width: 980px;
  color: var(--muted);
  font-size: .88rem;
}

.legal-access-notice__text p {
  margin: 0 0 10px;
}

.legal-access-notice__text p:last-child {
  margin-bottom: 0;
}

.org-chart-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, 1.15fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 34px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(15, 29, 22, .07);
}

.org-chart-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.org-chart-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.org-chart-figure {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.org-chart-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.cards-3, .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.event-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.event-card div {
  padding: 20px;
}

.event-card time {
  color: var(--green);
  font-weight: 800;
  font-size: .9rem;
}

.event-card h2,
.event-card h3 {
  margin: 8px 0;
  line-height: 1.18;
}

.event-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-card, .news-card, .document-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card, .news-card { padding: 24px; }
.news-card--media {
  padding: 0;
  overflow: hidden;
}

.news-card__image {
  display: block;
  background: #e8eee7;
}

.news-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card__image--placeholder {
  min-height: 236px;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(6,69,39,.94), rgba(18,63,103,.9)),
    var(--green-dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.news-card__image--placeholder img {
  width: min(126px, 42%);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

.news-card__image--placeholder span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.news-card__body {
  padding: 24px;
}

.feature-card h3, .news-card h2, .news-card h3 { margin-top: 0; line-height: 1.18; }
.news-card time { color: var(--green); font-weight: 800; font-size: .9rem; }
.news-card p { color: var(--muted); }

.document-list {
  display: grid;
  gap: 12px;
}

.document-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.document-row span { color: var(--muted); font-size: .9rem; }
.document-row h2, .document-row h3 { margin: 0; font-size: 1.08rem; }
.document-row p { grid-column: 2 / -1; margin: 0; color: var(--muted); }

.calendar-sections {
  display: grid;
  gap: 18px;
}

.calendar-panel {
  display: grid;
  gap: 18px;
}

.calendar-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-downloads p,
.calendar-event-list > p {
  margin: 0;
  color: var(--muted);
}

.calendar-event-list {
  display: grid;
  gap: 10px;
}

.calendar-event-list h3 {
  margin: 0;
}

.calendar-event {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.calendar-event time {
  color: var(--green);
  font-weight: 900;
}

.calendar-event h4 {
  margin: 0;
  line-height: 1.2;
}

.calendar-event p {
  margin: 6px 0 0;
  color: var(--muted);
}

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { color: var(--muted); }

.map-band iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.page-hero {
  padding: 86px 0;
  background: linear-gradient(120deg, var(--green-dark), var(--blue));
  color: #fff;
}

.page-hero p { max-width: 760px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255,255,255,.86);
  font-size: .92rem;
  font-weight: 800;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb span::before,
.breadcrumb strong::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255,255,255,.58);
}

.board-hero {
  background:
    linear-gradient(120deg, rgba(6,69,39,.95), rgba(18,63,103,.82)),
    url("../images/gallery/IMG-20250505-WA0054.jpg");
  background-size: cover;
  background-position: center;
}

.board-feature {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
}

.board-feature figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 22px 56px rgba(15, 29, 22, .1);
}

.board-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.board-feature h2 {
  margin: 6px 0 18px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
}

.board-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.board-social a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.board-social a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.board-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.board-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-soft);
}

.board-card div {
  padding: 18px;
}

.board-card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.board-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.board-social--small {
  margin-top: 14px;
}

.board-social--small a {
  min-height: 34px;
  padding: 6px 10px;
  font-size: .88rem;
}

.athletes-hero {
  padding: 86px 0;
  background:
    linear-gradient(120deg, rgba(6,69,39,.96), rgba(18,63,103,.84)),
    url("../images/gallery/IMG-20250505-WA0054.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.athletes-hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.04;
  max-width: 820px;
}

.athletes-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.15rem;
}

.athletes-filter {
  grid-template-columns: 1.2fr .75fr .75fr auto;
}

.athlete-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.athlete-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(15, 29, 22, .06);
}

.athlete-card__body {
  padding: 20px;
}

.athlete-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.athlete-card__topline span,
.athlete-card__topline strong {
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.athlete-card__topline span { color: var(--green); }
.athlete-card__topline strong { color: var(--blue); }

.athlete-card h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.16;
}

.athlete-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.athlete-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.athlete-card dt {
  color: var(--muted);
  font-weight: 800;
}

.athlete-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.athlete-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.athlete-documents {
  margin-top: 48px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-bar label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.filter-bar input, .filter-bar select { width: 100%; }

nav[role="navigation"] {
  margin-top: 28px;
}

nav[role="navigation"] > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

nav[role="navigation"] p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

nav[role="navigation"] span[aria-current="page"] span,
nav[role="navigation"] a,
nav[role="navigation"] span[aria-disabled="true"] span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 800;
}

nav[role="navigation"] span[aria-current="page"] span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

nav[role="navigation"] span[aria-disabled="true"] span {
  opacity: .45;
}

nav[role="navigation"] svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-pagination {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.site-pagination__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-pagination__button.is-current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.site-pagination__button.is-disabled {
  color: var(--muted);
  opacity: .55;
}

.site-pagination__summary {
  margin: 0;
  color: var(--muted);
}

.article-page { padding: 70px 0; background: var(--surface); }
.article-container { max-width: 820px; }
.article-container h1 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.08; }
.article-container time { color: var(--muted); }
.article-featured-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 28px 0;
}

.article-attachment {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-attachment span {
  color: var(--muted);
  font-weight: 700;
}

.certification-band {
  padding: 42px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.certification-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 720px;
  text-align: center;
}

.certification-card::before,
.certification-card::after {
  content: "";
  width: 100%;
  height: 3px;
  background: var(--text);
}

.certification-card h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.25;
  font-weight: 900;
}

.certification-card p {
  margin: -6px 0 4px;
  color: var(--text);
  font-weight: 900;
}

.site-footer {
  background: #0f1d16;
  color: #fff;
  padding: 54px 0;
}

.site-footer a { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
}

.footer-brand img {
  width: 92px;
  height: auto;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--surface-soft), var(--bg));
}

.login-card {
  width: min(440px, 100%);
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.08);
}

.login-card h1 {
  margin: 0 0 8px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.field input {
  width: 100%;
}

.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.login-card .button {
  justify-self: start;
}

@media (max-width: 860px) {
  .header-grid { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .brand {
    flex-basis: auto;
    min-width: 0;
    align-self: auto;
  }
  .brand-logo {
    width: 86px;
    height: 94px;
    flex-basis: 86px;
    margin: 0;
    border-radius: 12px;
  }
  .main-nav { justify-content: flex-start; flex-wrap: wrap; }
  .nav-dropdown div {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  .header-search {
    flex-basis: auto;
    min-width: 190px;
  }
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .org-chart-card { grid-template-columns: 1fr; }
  .cards-3, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-feature { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .athlete-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-row { grid-template-columns: 1fr; }
  .calendar-event { grid-template-columns: 1fr; }
  .filter-bar, .athletes-filter { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .split-heading { align-items: flex-start; flex-direction: column; padding: 8px 0; }
  .accessibility-widget { right: 14px; bottom: 14px; }
  .accessibility-toggle { width: 56px; height: 56px; }
  .certification-band { padding: 32px 0; }
  .certification-card { gap: 10px; }
  .footer-brand {
    grid-template-columns: 76px 1fr;
  }
  .footer-brand img {
    width: 76px;
  }
  .hero { min-height: auto; padding: 80px 0; }
  .cards-3, .news-grid, .filter-bar, .athletes-filter, .gallery-grid, .event-grid, .athlete-grid, .board-grid { grid-template-columns: 1fr; }
  .header-search, .header-search input { width: 100%; }
}
