/* ==========================================================================
   Pondicherry Football Association — main stylesheet
   Structure: 1 tokens · 2 fonts · 3 base · 4 layout · 5 buttons & primitives
              6 header/nav · 7 home sections · 8 footer · 9 inner pages
              10 cards · 11 tables · 12 forms · 13 interactive · 14 dialogs
   WordPress: enqueue as the theme's main stylesheet; tokens map to theme.json.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --teal-900: #002e33;
  --teal-800: #003f46;
  --teal-700: #00535a;
  --teal-600: #0a6a70;
  --navy: #092a3b;
  --yellow: #ffc400;
  --yellow-600: #f0b400;
  --yellow-100: #fff3c4;
  --yellow-50: #fff9e3;
  --red: #e31b23;
  --red-700: #b8141b;
  --white: #ffffff;
  --cream: #f7f6f1;
  --cream-200: #efede4;
  --ink: #172b3a;
  --ink-2: #3b4c58;
  --muted: #5f6f7a;
  --line: #e2e3dc;
  --line-dark: rgba(255, 255, 255, 0.16);
  --success: #15803d;
  --danger: #c81e1e;

  --font-head: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 2px 8px rgba(9, 42, 59, 0.06);
  --shadow: 0 10px 30px rgba(9, 42, 59, 0.1);
  --shadow-lg: 0 22px 50px rgba(9, 42, 59, 0.16);

  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-y: clamp(48px, 6vw, 88px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* 2. Fonts (self-hosted, SIL OFL) ----------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-var.woff2?v=c940764593') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-var.woff2?v=6438d7b8ea') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic-latin-var.woff2?v=86589d0b59') format('woff2');
}

/* 3. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset, var(--header-h)) + 64px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
  font-weight: 800;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
abbr[title] {
  text-decoration: none;
}
kbd {
  font-family: var(--font-body);
  font-size: 0.8em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 6px;
  background: var(--white);
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
  outline-color: var(--yellow);
}
::selection {
  background: var(--yellow);
  color: var(--navy);
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 40, 45, 0.28);
  transform: translateY(calc(-100% - 20px));
  transition: transform 0.25s var(--ease);
}
/* only revealed for keyboard users */
.skip-link:focus-visible {
  transform: none;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.skip-link:focus:not(:focus-visible) {
  transform: translateY(calc(-100% - 20px));
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}

/* 4. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section--white {
  background: var(--white);
}
.section--tint {
  background: var(--cream-200);
}
.section--dark {
  background: var(--teal-800);
  color: #dfeaea;
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
.section--tight {
  padding-block: clamp(32px, 4vw, 56px);
}
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.layout-sidebar--left {
  grid-template-columns: 300px minmax(0, 1fr);
}
.sticky-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 24px;
}
.stack > * + * {
  margin-top: clamp(32px, 4vw, 56px);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-2);
}

/* 5. Buttons & primitives --------------------------------------------------- */
.btn {
  --btn-bg: var(--teal-800);
  --btn-fg: var(--white);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 22px;
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-101%) skewX(-18deg);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before {
  transform: translateX(0) skewX(0);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(9, 42, 59, 0.22);
}
.btn:active {
  transform: translateY(0);
}
.btn__arrow {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow,
.link-arrow:hover .icon,
.events-panel__more:hover .icon {
  transform: translateX(5px);
}
.btn__icon {
  width: 1.35em;
  height: 1.35em;
}
.btn--teal {
  --btn-bg: var(--teal-800);
}
.btn--yellow {
  --btn-bg: var(--yellow);
  --btn-fg: var(--navy);
}
.btn--yellow::before {
  background: rgba(255, 255, 255, 0.35);
}
.btn--red {
  --btn-bg: var(--red);
}
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.72);
  --btn-fg: var(--teal-800);
  --btn-bd: var(--teal-800);
  backdrop-filter: blur(4px);
}
.btn--ghost::before {
  background: var(--teal-800);
}
.btn--ghost:hover {
  --btn-fg: var(--white);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--teal-800);
  --btn-bd: var(--teal-800);
}
.btn--outline::before {
  background: var(--teal-800);
}
.btn--outline:hover {
  --btn-fg: var(--white);
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.7);
}
.btn--pill {
  border-radius: 999px;
}
.btn--sm {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 0.875rem;
}
.btn--lg {
  min-height: 56px;
  padding: 14px 30px;
  font-size: 1.05rem;
}
.btn--block {
  width: 100%;
}
.btn--slant {
  border-radius: 6px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-inline: 32px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.icon-btn .icon {
  width: 22px;
  height: 22px;
}
.icon-btn:hover {
  background: var(--cream-200);
}
.icon-btn--light {
  color: var(--white);
}
.icon-btn--light:hover {
  background: rgba(255, 255, 255, 0.14);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.link-arrow .icon {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover {
  text-decoration: underline;
}
.link-arrow--sm {
  font-size: 0.85rem;
}
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow--light {
  color: var(--yellow);
}
.eyebrow--bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  letter-spacing: 0.08em;
}
.eyebrow--bar::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--yellow);
  transform: skewX(-20deg);
}
.h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: -0.01em;
}
.h3 {
  font-size: 1.25rem;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.tag--outline {
  background: transparent;
  border: 1.5px solid var(--teal-700);
  color: var(--teal-700);
}
.tag--float {
  position: absolute;
  left: 14px;
  top: 14px;
}
.tag--red {
  background: var(--red);
  color: var(--white);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.meta .icon {
  width: 16px;
  height: 16px;
  color: var(--ink-2);
  margin-right: -6px;
}
.facts {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.facts .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--teal-700);
}
.facts--light {
  color: #d7e5e5;
}
.facts--light .icon {
  color: var(--yellow);
}
.facts--light a {
  color: var(--white);
}
.sample-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--yellow-50);
  border: 1px solid #f3dc8b;
  color: #7a5a00;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.sample-badge .icon {
  width: 12px;
  height: 12px;
  margin: 0;
  color: inherit;
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal-700);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.notice p {
  margin: 0;
}
.notice .icon {
  color: var(--teal-700);
  margin-top: 2px;
}
.notice--sample {
  background: var(--yellow-50);
  border-color: #f3dc8b;
  border-left-color: var(--yellow);
}
.notice--sample .icon {
  color: #946c00;
}
.prose {
  max-width: 72ch;
  color: var(--ink-2);
  font-size: 1.04rem;
}
.prose p {
  margin-bottom: 1.1em;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 1.6em;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin-bottom: 1.1em;
}
.prose li + li {
  margin-top: 0.35em;
}
.prose a {
  color: var(--teal-700);
  font-weight: 600;
}
.checklist {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow) url('../icons/check.svg?v=b8deb679e9') center / 14px no-repeat;
}

/* Section heading (reference: yellow slash + heavy italic uppercase) */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--navy);
}
.section-title__slash {
  flex: none;
  width: 14px;
  height: 1.05em;
  background: var(--yellow);
  transform: skewX(-24deg);
  border-radius: 2px;
}
.section-head--light .section-title,
.section-head--light .eyebrow {
  color: var(--white);
}
.section-head--light .link-arrow {
  color: var(--yellow);
}

/* 6. Announcement bar, top bar, header, navigation ------------------------ */
.announce {
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.88rem;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-block: 6px;
}
.announce__text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  font-weight: 600;
}
.announce__text > span {
  flex: 1 1 14em;
  min-width: 0;
}
.announce__text > .icon {
  flex: none;
  width: 18px;
  height: 18px;
}
.announce__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announce__link .icon {
  width: 14px;
  height: 14px;
  animation: announce-nudge 4s ease-in-out infinite;
}
.announce__link {
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 0.2s;
}
.announce__link:hover {
  text-decoration-thickness: 2px;
}
.announce__link:hover .icon {
  animation: none;
  transform: translateX(4px);
  transition: transform 0.2s var(--ease);
}
/* megaphone "rings" briefly every 4s; the arrow nudges in the same rhythm */
.announce__text > .icon {
  transform-origin: 70% 50%;
  animation: announce-ring 4s ease-in-out infinite;
}
@keyframes announce-ring {
  0%,
  70%,
  100% {
    transform: rotate(0) scale(1);
  }
  74% {
    transform: rotate(-14deg) scale(1.12);
  }
  78% {
    transform: rotate(12deg) scale(1.12);
  }
  82% {
    transform: rotate(-8deg) scale(1.08);
  }
  86% {
    transform: rotate(4deg) scale(1.04);
  }
  90% {
    transform: rotate(0) scale(1);
  }
}
@keyframes announce-nudge {
  0%,
  76%,
  100% {
    transform: translateX(0);
  }
  82% {
    transform: translateX(5px);
  }
  88% {
    transform: translateX(0);
  }
  92% {
    transform: translateX(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .announce__text > .icon,
  .announce__link .icon {
    animation: none;
  }
}
.announce__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.announce__close:hover {
  background: rgba(9, 42, 59, 0.1);
}
.announce__close .icon {
  width: 16px;
  height: 16px;
}
.announce :focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

/* Home: official notices */
.home-notices__more {
  margin: 18px 0 0;
  text-align: right;
}

.topbar {
  background: var(--teal-800);
  color: #e3eeee;
  font-size: 0.8rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}
.topbar__text {
  margin: 0;
  font-weight: 500;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__links,
.topbar__social {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}
.topbar__social {
  gap: 12px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.topbar a:hover {
  color: var(--yellow);
}
.topbar .icon {
  width: 15px;
  height: 15px;
}
.topbar__social .icon {
  width: 17px;
  height: 17px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), background-color 0.4s, border-color 0.4s;
}
.site-header.is-stuck {
  background: var(--white);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(9, 42, 59, 0.08);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  transition: min-height 0.4s var(--ease);
}
.site-header.is-stuck .site-header__inner {
  min-height: 70px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: auto;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}
.brand__mark {
  width: auto;
  height: 60px;
  object-fit: contain;
  transition: transform 0.5s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.is-stuck .brand__mark {
  width: auto;
  height: 48px;
}
.brand:hover .brand__mark {
  transform: scale(1.05);
}
.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__name span:first-child {
  font-size: 1.32rem;
}
.brand__name span:last-child {
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 3px;
}
.site-header__tagline {
  margin: 0;
  padding-left: 20px;
  border-left: 1.5px solid var(--line);
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--ink-2);
  white-space: nowrap;
}
.primary-nav__list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: clamp(6px, 1.4vw, 22px);
}
.primary-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 26px 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.005em;
}
.primary-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.primary-nav__item:hover > .primary-nav__link::after,
.primary-nav__item.is-active > .primary-nav__link::after,
.primary-nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.primary-nav__toggle {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 28px;
  padding: 0;
  margin-left: 2px;
  border: 0;
  background: none;
  color: var(--navy);
  border-radius: 4px;
}
.primary-nav__toggle .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}
.has-dropdown.is-open .primary-nav__toggle .icon {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: -24px;
  z-index: 50;
  display: flex;
  gap: 8px;
  min-width: 300px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--yellow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s;
}
.dropdown__group {
  min-width: 260px;
}
.dropdown__group + .dropdown__group {
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.dropdown__label {
  margin: 6px 12px 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.dropdown__list {
  list-style: none;
}
.dropdown__link {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.dropdown__link:hover,
.dropdown__link:focus-visible {
  background: var(--cream);
  transform: translateX(4px);
}
.dropdown__title {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.dropdown__desc {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header__cta {
  min-height: 46px;
  padding-inline: 24px;
}
.menu-toggle {
  display: none;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
}
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 34, 0.55);
  opacity: 0;
  transition: opacity 0.35s;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88vw);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--teal-800);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.drawer.is-open .drawer__backdrop {
  opacity: 1;
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer .brand {
  color: var(--white);
}
.drawer .brand__mark {
  width: auto;
  height: 42px;
  padding: 3px 5px;
  border-radius: 8px;
  background: #fff;
  box-sizing: content-box;
}
.drawer .brand__name span:first-child {
  font-size: 1.05rem;
}
.drawer .brand__name span:last-child {
  font-size: 0.72rem;
}
.drawer__nav {
  list-style: none;
}
.drawer__item {
  border-bottom: 1px solid var(--line-dark);
}
.drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__row a {
  flex: 1;
  padding: 14px 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
}
.drawer__row a[aria-current='page'] {
  color: var(--yellow);
}
.drawer__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.drawer__toggle .icon {
  transition: transform 0.3s var(--ease);
}
.drawer__toggle[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}
.drawer__sub {
  list-style: none;
  padding: 0 0 12px 12px;
}
.drawer__sub a {
  display: block;
  padding: 9px 0;
  color: #cfe0e0;
  text-decoration: none;
  font-size: 0.95rem;
}
.drawer__sub a:hover {
  color: var(--yellow);
}
.drawer__utility {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.88rem;
}
.drawer__utility a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfe0e0;
  text-decoration: none;
}
.drawer__utility .icon {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

/* 7. Home sections ---------------------------------------------------------- */
/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-800);
  /* visible photo = 28.3vw (design proportion); the bottom 96px sits behind the quick-links panel */
  height: min(calc(28.3vw + 124px), 700px);
  min-height: 500px;
}
.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}
.hero__slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 1s var(--ease-in-out), visibility 0s linear 1s;
}
.hero__slide.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 1s var(--ease-in-out), visibility 0s;
  z-index: 1;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 0%;
  transform: scale(1.06);
  transform-origin: 30% 20%;
  transition: transform 7s linear;
}
.hero__slide.is-active .hero__media img {
  transform: scale(1);
}
.hero__slide--promenade .hero__media img {
  object-position: 20% 60%;
}
.hero__slide--aerial .hero__media img {
  object-position: 40% 60%;
}
.hero__haze {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 64% at 66% 46%, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.45) 55%, rgba(255, 253, 248, 0) 78%);
}
.hero__slide--promenade .hero__haze,
.hero__slide--aerial .hero__haze {
  background: linear-gradient(90deg, rgba(0, 63, 70, 0) 18%, rgba(255, 253, 248, 0.55) 46%, rgba(255, 253, 248, 0.86) 66%, rgba(255, 253, 248, 0.6) 100%);
}
.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 104px;
  padding-top: 8px;
  will-change: transform, opacity;
}
.hero__content {
  margin-left: 47%;
  max-width: min(700px, 51vw);
  color: var(--navy);
}
.hero__eyebrow {
  margin: 0 0 clamp(6px, 1vw, 14px);
  font-size: clamp(0.66rem, 0.82vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--navy);
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 clamp(10px, 1.3vw, 20px);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero__line {
  display: block;
  white-space: nowrap;
  font-size: clamp(2.3rem, 4.3vw, 4.4rem);
}
.hero__line:nth-child(2) {
  font-size: clamp(1.8rem, 3.3vw, 3.4rem);
}
.hero__line--brush {
  position: relative;
  margin-top: 4px;
  padding: 2px 34px 6px 14px;
  margin-left: -10px;
}
.hero__line--brush::before {
  content: '';
  position: absolute;
  inset: 0 -12px -2px -14px;
  z-index: 0;
  background: url('../images/banners/brush-yellow.svg?v=7fb8f4b759') center / 100% 100% no-repeat;
  transform-origin: left center;
}
.hero__line--brush > span {
  position: relative;
  z-index: 1;
}
.hero__text {
  max-width: 31em;
  margin: 0 0 clamp(12px, 1.5vw, 24px);
  font-size: clamp(0.95rem, 1.2vw, 1.17rem);
  font-weight: 500;
  color: #1f3443;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__actions .btn {
  min-height: 50px;
  padding-inline: 24px;
}
.hero__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(12px, 1.4vw, 20px);
}
.hero__dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}
.hero__dot {
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(9, 42, 59, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  transition: width 0.45s var(--ease), background-color 0.3s;
}
.hero__dot::after {
  content: '';
  position: absolute;
  inset: -10px -4px;
}
.hero__dot.is-active {
  width: 32px;
  background: var(--teal-800);
}
.hero__pause {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1.5px solid rgba(9, 42, 59, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
}
.hero__pause {
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.hero__pause:hover {
  background: var(--teal-800);
  color: var(--white);
  transform: scale(1.08);
}
.hero__pause .icon {
  width: 12px;
  height: 12px;
}
.hero__pause-icon--play {
  margin-left: 2px;
}
.hero__pause[aria-pressed='true'] .hero__pause-icon--pause,
.hero__pause:not([aria-pressed='true']) .hero__pause-icon--play {
  display: none;
}
.hero__stripes {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 200px;
  background: url('../images/banners/diagonal-stripes.svg?v=ee6a28cf68') left bottom / contain no-repeat;
  pointer-events: none;
}

/* Quick links */
.quick-links {
  position: relative;
  z-index: 5;
  margin-top: -96px;
}
.quick-links__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 18px 10px;
}
.quick-links__list > li {
  position: relative;
}
.quick-links__list > li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1.5px;
  background: var(--line);
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 12px 8px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.quick-link:hover {
  transform: translateY(-4px);
  background: var(--cream);
}
.quick-link__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  color: var(--red);
  stroke-width: 1.6;
  transition: transform 0.45s var(--ease);
}
.quick-link:hover .quick-link__icon {
  transform: translateY(-3px) scale(1.12) rotate(-4deg);
}
.quick-link__title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.25;
}
.quick-link__sub {
  font-size: 0.84rem;
  color: var(--ink-2);
}

/* About */
.home-about {
  padding-block: clamp(16px, 1.6vw, 24px) clamp(20px, 2.2vw, 30px);
}
.home-about__grid {
  display: grid;
  grid-template-columns: 41% minmax(0, 1fr) 19%;
  gap: clamp(18px, 2vw, 30px);
  align-items: center;
}
.home-about__media {
  margin: 0;
  aspect-ratio: 435 / 172;
  overflow: hidden;
  clip-path: polygon(13% 0, 100% 0, 89% 100%, 0 100%);
  border-radius: 18px;
}
.home-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.home-about__media:hover img {
  transform: scale(1.06);
}
.home-about__title {
  font-size: clamp(1.45rem, 2.02vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.home-about__text {
  color: var(--ink-2);
  font-size: 0.95rem;
  max-width: 40em;
  margin-bottom: 0;
}
.highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}
.highlights li + li {
  border-left: 1.5px solid var(--line);
}
.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--navy);
  text-decoration: none;
}
.highlight__icon {
  width: 40px;
  height: 40px;
  color: var(--yellow-600);
  stroke-width: 1.7;
  transition: transform 0.5s var(--ease);
}
.highlight:hover .highlight__icon {
  transform: rotate(-12deg) scale(1.1);
}
.highlight:hover {
  color: var(--teal-700);
}
.home-about__aside {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  border-left: 1.5px solid var(--line);
  padding-left: clamp(12px, 1.6vw, 24px);
}
/* Illustration (map + lighthouse) top-right, heading overlapping its empty lower-left corner — as in the design.
   Percentages are relative to .serving-block width, so the composition scales as one unit. */
.serving-block {
  position: relative;
  width: 100%;
  isolation: isolate;
}
.serving-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.serving-art .sa-beam {
  transform-box: view-box;
  transform-origin: 238px 66px;
  animation: saBeam 5s ease-in-out infinite alternate;
}
.serving-art .sa-light {
  animation: saGlow 2.6s ease-in-out infinite;
}
.serving-art .sa-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: saPing 2.4s ease-out infinite;
}
.serving-art .sa-wave {
  animation: saWave 4s linear infinite;
}
.serving-art .sa-wave--slow {
  animation-duration: 6.5s;
  animation-direction: reverse;
}
@keyframes saBeam {
  from { transform: rotate(-9deg); opacity: 0.55; }
  to { transform: rotate(7deg); opacity: 1; }
}
@keyframes saGlow {
  50% { opacity: 0.55; }
}
@keyframes saPing {
  from { transform: scale(0.6); opacity: 0.9; }
  to { transform: scale(2.4); opacity: 0; }
}
@keyframes saWave {
  to { transform: translateX(-40px); }
}
.serving {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: -27% 0 0;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(0.95rem, 1.2vw, 1.16rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--navy);
}
.serving__brush {
  position: relative;
  margin-top: 4px;
  padding: 2px 16px 4px 6px;
}
.serving__brush::before {
  content: '';
  position: absolute;
  inset: 0 -8px -2px -8px;
  z-index: -1;
  background: url('../images/banners/brush-yellow.svg?v=7fb8f4b759') center / 100% 100% no-repeat;
}

/* Fixture strip */
.fixture-strip {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(ellipse 60% 120% at 70% 0%, rgba(10, 106, 112, 0.55), transparent 60%),
    linear-gradient(100deg, var(--teal-900) 0%, var(--teal-800) 45%, #0b4a4f 100%);
}
.fixture-strip::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 60px, transparent 60px 120px);
  pointer-events: none;
}
.fixture-strip__ball {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  max-width: 34%;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  opacity: 0.95;
}
.fixture-strip__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: start;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  min-height: 116px;
  padding-block: 16px;
}
.fixture-strip__inner > * + * {
  position: relative;
}
.fixture-strip__teams::before,
.fixture-strip__facts::before {
  content: '';
  position: absolute;
  left: calc(clamp(20px, 3vw, 44px) / -2);
  top: 6%;
  bottom: 6%;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.28);
}
.fixture-strip__label {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fixture-strip__cal {
  width: 46px;
  height: 46px;
  color: var(--yellow);
  stroke-width: 1.8;
}
.fixture-strip__label h2 {
  margin: 0;
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.fixture-strip__teams {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
}
.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
  text-align: center;
}
.team__name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.crest {
  flex: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}
.fixture-strip__vs {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  padding: 6px 2px;
  border-block: 1.5px solid rgba(255, 255, 255, 0.4);
}
.fixture-strip__facts {
  list-style: none;
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
}
.fixture-strip__facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fixture-strip__facts .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #e3eeee;
}
.fixture-strip__facts span {
  max-width: 15em;
}
.fixture-strip__cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.fixture-strip__comp {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 12px;
}

/* Programmes */
.home-programmes {
  padding-block: clamp(28px, 3.4vw, 48px) 8px;
}
.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.programme-card__link {
  position: relative;
  display: block;
  aspect-ratio: 230 / 131;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.programme-card__link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.programme-card__media,
.programme-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.programme-card__media img {
  transition: transform 1s var(--ease);
}
.programme-card__link:hover .programme-card__media img {
  transform: scale(1.09);
}
.programme-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 63, 70, 0) 30%, rgba(0, 52, 58, 0.72) 68%, rgba(0, 46, 51, 0.94) 100%);
  transition: opacity 0.4s;
}
.programme-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px 16px;
}
.programme-card__icon {
  width: 40px;
  height: 40px;
  color: var(--yellow);
  stroke-width: 1.7;
}
.programme-card__title {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.2;
}
.programme-card__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.programme-card__arrow .icon {
  width: 18px;
  height: 18px;
}
.programme-card__link:hover .programme-card__arrow {
  background: var(--yellow);
  transform: rotate(-45deg);
}

/* News + events */
.home-news {
  padding-block: clamp(28px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px);
}
.home-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 31%;
  gap: clamp(20px, 2.6vw, 32px);
  align-items: start;
}
.home-news__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.news-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.news-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-feature__media {
  display: block;
  overflow: hidden;
}
.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 1s var(--ease);
}
.news-feature:hover .news-feature__media img {
  transform: scale(1.07);
}
.news-feature__body {
  position: relative;
  padding: 18px 18px 54px;
}
.news-feature__title {
  margin: 10px 0 8px;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  font-weight: 800;
  line-height: 1.15;
}
.news-feature__title a,
.news-compact__title a,
.news-card__title a,
.event-item__title a,
.image-card__title a,
.event-card__title a,
.course-card__title a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.25s;
}
.news-feature__title a:hover,
.news-compact__title a:hover,
.news-card__title a:hover,
.event-item__title a:hover,
.image-card__title a:hover,
.event-card__title a:hover,
.course-card__title a:hover {
  background-size: 100% 1.5px;
  color: var(--teal-700);
}
.news-feature__excerpt {
  font-size: 0.86rem;
  color: var(--ink-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-feature__more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal-800);
  color: var(--white);
  transition: background-color 0.3s, transform 0.35s var(--ease);
}
.news-feature__more:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateX(3px);
}
.news-feature__more .icon {
  width: 18px;
  height: 18px;
}
.home-news__list {
  display: grid;
  align-content: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 6px 14px;
}
.news-compact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  align-items: center;
}
.news-compact + .news-compact {
  border-top: 1px solid var(--line);
}
.news-compact__media {
  display: block;
  aspect-ratio: 78 / 44;
  border-radius: 6px;
  overflow: hidden;
}
.news-compact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-compact:hover .news-compact__media img {
  transform: scale(1.1);
}
.news-compact__title {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}
.news-compact .meta {
  margin: 0;
  font-size: 0.8rem;
}
.events-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 14px;
}
.events-panel__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 20px;
  background: linear-gradient(100deg, var(--teal-800), var(--teal-700));
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.events-panel__title .icon {
  width: 26px;
  height: 26px;
  color: var(--yellow);
}
.events-panel__list {
  list-style: none;
  padding: 6px 18px 0;
}
.event-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}
.event-item + .event-item {
  border-top: 1px solid var(--line);
}
.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.date-badge__m {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.date-badge__d {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--red);
  margin-top: 2px;
}
.date-badge--lg {
  width: 74px;
  height: 74px;
}
.date-badge--lg .date-badge__d {
  font-size: 2rem;
}
.event-item__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
}
.event-item__sub {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--ink-2);
}
.events-panel__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 18px 0;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--yellow-100);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.3s;
}
.events-panel__more .icon {
  color: var(--red);
  transition: transform 0.3s var(--ease);
}
.events-panel__more:hover {
  background: var(--yellow);
}

/* Stats band */
.stats-band {
  position: relative;
  display: grid;
  grid-template-columns: 23% minmax(0, 1fr);
  min-height: 136px;
  background: linear-gradient(100deg, var(--teal-800), var(--teal-900));
  color: var(--white);
  overflow: hidden;
  margin-top: 8px;
}
.stats-band__media {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
}
.stats-band__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stats-band__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 20px clamp(16px, 3vw, 40px) 20px 0;
  max-width: 1160px;
}
.stats-band__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stats-band__slash {
  width: 12px;
  height: 52px;
  background: var(--yellow);
  transform: skewX(-24deg);
  border-radius: 2px;
}
.stats-band__head h2 {
  margin: 0;
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  text-transform: uppercase;
  line-height: 1.05;
}
.stats-band__note {
  margin: 2px 0 0;
  color: var(--yellow);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9rem;
}
.stats-band__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 6px;
  min-width: 0;
}
.stat + .stat {
  border-left: 1.5px solid rgba(255, 255, 255, 0.22);
}
.stat__icon {
  width: 36px;
  height: 36px;
  color: var(--yellow);
  stroke-width: 1.7;
  margin-bottom: 6px;
}
.stat__value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__value > span + * ,
.stat__value {
  color: var(--white);
}
.stat__label {
  font-size: 0.86rem;
  line-height: 1.3;
  color: #d9e6e6;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 14px;
  background: linear-gradient(90deg, #ffc61a 0%, #ffd84d 16%, #fff1c2 40%, #fff3cb 56%, #ffe27a 70%, #ffc400 82%);
}
.cta-band::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: 22%;
  top: 0;
  bottom: 0;
  width: 180px;
  background: linear-gradient(90deg, rgba(255, 196, 0, 0), var(--yellow));
  transform: skewX(-24deg);
}
.cta-band__player {
  position: absolute;
  left: 3%;
  bottom: 0;
  height: 100%;
  width: auto;
  mix-blend-mode: multiply;
  opacity: 0.85;
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 52% 56% at 50% 52%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 56% at 50% 52%, #000 58%, transparent 100%);
}
.cta-band__ball {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20%;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.cta-band__ball img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
  padding-block: 18px;
  padding-left: clamp(16px, 18vw, 270px);
  padding-right: clamp(16px, 17vw, 260px);
}
@media (min-width: 1181px) {
  .cta-band__text h2 {
    white-space: nowrap;
  }
}
.cta-band__text h2 {
  margin: 0 0 6px;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.35rem, 2.05vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--red-700);
  line-height: 1.02;
}
.cta-band__text p {
  margin: 0;
  max-width: 36em;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--navy);
}
.cta-band .btn {
  flex: none;
  min-width: 190px;
  background: var(--teal-900);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* 8. Footer ---------------------------------------------------------------- */
.site-footer {
  margin-top: 14px;
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(10, 106, 112, 0.35), transparent 70%), linear-gradient(180deg, #003a40, #002f34);
  color: #d4e3e3;
  font-size: 0.92rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, minmax(0, 1fr));
  gap: 28px clamp(16px, 2vw, 32px);
  padding-block: clamp(36px, 4vw, 52px) 28px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand .brand__mark {
  width: auto;
  height: 74px;
  padding: 6px 8px;
  border-radius: 12px;
  background: #fff;
  box-sizing: content-box;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.site-footer__about p {
  max-width: 24em;
  margin-bottom: 18px;
}
.social-list {
  list-style: none;
  display: flex;
  gap: 12px;
}
.social-list a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.social-list a:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-3px);
}
.social-list .icon {
  width: 20px;
  height: 20px;
}
.site-footer__title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--yellow);
}
.site-footer__col ul {
  list-style: none;
  display: grid;
  gap: 6px;
}
.site-footer__col a,
.site-footer__contact a,
.site-footer__legal a {
  color: #d4e3e3;
  text-decoration: none;
  transition: color 0.2s, padding 0.3s var(--ease);
}
.site-footer__col a:hover {
  color: var(--yellow);
  padding-left: 4px;
}
.site-footer__contact a:hover,
.site-footer__legal a:hover {
  color: var(--yellow);
}
.site-footer__bottom {
  display: grid;
  gap: 22px;
  padding-block: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__contact {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
}
.footer-contact {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: transform 0.35s var(--ease), border-color 0.3s, background-color 0.3s;
}
.footer-contact:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 196, 0, 0.45);
}
.footer-contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 196, 0, 0.12);
  color: var(--yellow);
  transition: background-color 0.3s, color 0.3s;
}
.footer-contact:hover .footer-contact__icon {
  background: var(--yellow);
  color: var(--navy);
}
.footer-contact__icon .icon {
  width: 21px;
  height: 21px;
}
.footer-contact__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.footer-contact__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fb0b0;
}
.site-footer__contact a.footer-contact__value {
  color: var(--white);
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.site-footer__contact a.footer-contact__value--alt {
  font-weight: 500;
  font-size: 0.85rem;
  color: #b9cfcf;
}
.site-footer__contact a.footer-contact__value:hover {
  color: var(--yellow);
}
/* Whole card is clickable via the first link */
.footer-contact__body > a:first-of-type::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.footer-contact__value--alt {
  position: relative;
  z-index: 1;
}
.site-footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 0.86rem;
}
.site-footer__legal li + li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--yellow);
  vertical-align: middle;
  opacity: 0.7;
}
.site-footer__note {
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  color: #a9c1c1;
}
.site-footer__note-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 14px;
}
.site-footer__note p {
  margin: 0;
}
.site-footer__note .site-footer__legal {
  font-size: inherit;
}
.site-footer__note .site-footer__legal a {
  color: #d4e3e3;
}
.site-footer__note .site-footer__legal a:hover {
  color: var(--yellow);
}

/* Footer: decorative layer, motion and micro-interactions ------------------ */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.site-footer > .container,
.site-footer__note {
  position: relative;
  z-index: 1;
}
/* animated brand stripe on the top edge */
.site-footer__stripe {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--red), var(--yellow), var(--teal-600), var(--yellow));
  background-size: 300% 100%;
  animation: footer-stripe 14s linear infinite;
}
@keyframes footer-stripe {
  to {
    background-position: 300% 0;
  }
}
/* decorative layer */
.site-footer__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* stadium floodlights: two soft beams from the top corners, swaying slowly */
.footer-beam {
  position: absolute;
  top: -10%;
  width: 46%;
  height: 130%;
  filter: blur(26px); /* on the parent, so the clipped beam edges stay soft */
  mix-blend-mode: screen;
  animation: footer-beam 12s ease-in-out infinite alternate;
}
.footer-beam::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 236, 170, 0.11), rgba(255, 236, 170, 0.03) 50%, transparent 80%);
}
.footer-beam--left {
  left: 2%;
  transform-origin: 15% 0;
}
.footer-beam--left::before {
  clip-path: polygon(10% 0, 20% 0, 95% 100%, 40% 100%);
}
.footer-beam--right {
  right: 2%;
  transform-origin: 85% 0;
}
.footer-beam--right::before {
  clip-path: polygon(80% 0, 90% 0, 60% 100%, 5% 100%);
}
.footer-beam--right {
  animation-delay: -6s;
  animation-direction: alternate-reverse;
}
@keyframes footer-beam {
  from {
    transform: rotate(-4deg);
  }
  to {
    transform: rotate(4deg);
  }
}
/* goal-net mesh fading in from the right */
.footer-net {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 100% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 90% 80% at 100% 40%, #000 10%, transparent 70%);
}

/* brand */
.footer-brand__crest {
  position: relative;
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s var(--ease);
}
.footer-brand__crest::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: crest-glint 7s ease-in-out infinite;
}
@keyframes crest-glint {
  0%,
  78% {
    transform: translateX(-120%);
  }
  92%,
  100% {
    transform: translateX(120%);
  }
}
.footer-brand:hover .footer-brand__crest {
  transform: rotate(-4deg) scale(1.04);
}
.footer-brand .brand__mark {
  display: block;
}
.footer-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 18px;
}
.footer-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 0, 0.35);
  background: rgba(255, 196, 0, 0.08);
  color: var(--yellow-100);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.footer-badges .icon {
  width: 14px;
  height: 14px;
  color: var(--yellow);
}

/* social: brand colours + ring on hover */
.social-list--footer a {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.social-list--footer a::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.3s, inset 0.3s var(--ease);
}
.social-list--footer .social-list__link--facebook:hover {
  background: #1877f2;
  color: var(--white);
}
.social-list--footer .social-list__link--instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: var(--white);
}
.social-list--footer a:hover::after {
  inset: -7px;
  border-color: rgba(255, 196, 0, 0.6);
}

/* column titles: football-style underline that grows on hover */
.site-footer__title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.site-footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow) 70%, var(--red) 70%);
  transition: width 0.45s var(--ease);
}
.site-footer__col:hover .site-footer__title::after,
.site-footer__col:focus-within .site-footer__title::after {
  width: 100%;
}
/* links: a dash slides in beside the text; transforms only, so nothing re-wraps */
.site-footer__col a {
  position: relative;
  display: inline-block;
  transition: color 0.2s, transform 0.3s var(--ease);
}
.site-footer__col a::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 0.7em;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  padding-left: 0;
  transform: translateX(6px);
}
.site-footer__col a:hover::before,
.site-footer__col a:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

/* contact cards: light sweep on hover */
.footer-contact {
  overflow: hidden;
}
.footer-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.footer-contact:hover::before {
  transform: translateX(100%);
}
.footer-contact__icon {
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.footer-contact:hover .footer-contact__icon {
  transform: rotate(-8deg) scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__stripe,
  .footer-beam,
  .footer-brand__crest::after {
    animation: none;
  }
}

/* 9. Inner pages ------------------------------------------------------------ */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: linear-gradient(110deg, var(--teal-900), var(--teal-800) 55%, var(--teal-700));
}
.page-hero__media {
  position: absolute;
  inset: -6% 0 0;
  z-index: -2;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(0, 40, 45, 0.94) 0%, rgba(0, 52, 58, 0.82) 45%, rgba(0, 63, 70, 0.35) 100%);
}
.page-hero--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 26px);
}
.page-hero__stripe {
  position: absolute;
  z-index: -1;
  background: var(--yellow);
  transform: skewX(-28deg);
}
.page-hero__stripe--a {
  right: 6%;
  bottom: -10px;
  width: 22px;
  height: 120px;
}
.page-hero__stripe--b {
  right: calc(6% + 36px);
  bottom: -10px;
  width: 8px;
  height: 80px;
  opacity: 0.7;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: clamp(280px, 26vw, 380px);
  padding-block: clamp(36px, 5vw, 64px);
}
.page-hero--split .page-hero__inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.page-hero__title {
  margin: 0 0 12px;
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: 18ch;
}
.page-hero__intro {
  max-width: 48em;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: #d9e8e8;
  margin: 0;
}
.page-hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-hero__panel {
  position: relative;
  align-self: stretch;
  min-height: 240px;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  border-radius: 18px;
  overflow: hidden;
}
.page-hero__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__aside {
  min-width: 260px;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: #bcd3d3;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--yellow);
}
.breadcrumbs a {
  color: #e7f1f1;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--yellow);
  text-decoration: underline;
}
.hero-stat-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-stat {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--yellow);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 0.85rem;
  color: #d9e8e8;
}

/* Sub-navigation (section tabs under hero) */
.subnav {
  position: sticky;
  /* --header-offset is the live height of the sticky header (set by navigation.js) */
  top: var(--header-offset, 70px);
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.subnav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar {
  display: none;
}
.subnav a {
  position: relative;
  display: block;
  padding: 16px 14px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: none;
}
.subnav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.subnav a:hover,
.subnav a[aria-current='page'] {
  color: var(--navy);
}
.subnav a:hover::after,
.subnav a[aria-current='page']::after {
  transform: scaleX(1);
}

.side-nav {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.side-nav__title {
  margin: 0;
  padding: 16px 20px;
  background: var(--teal-800);
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
}
.side-nav ul {
  list-style: none;
  padding: 8px;
}
.side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.side-nav a .icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: transform 0.3s var(--ease);
}
.side-nav a:hover,
.side-nav a.is-current {
  background: var(--cream);
  color: var(--navy);
}
.side-nav a.is-current {
  box-shadow: inset 3px 0 0 var(--yellow);
}
.side-nav a:hover .icon {
  transform: translateX(3px);
  opacity: 1;
}
.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--teal-800), var(--teal-900));
  color: #d9e8e8;
}
.contact-card__title {
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.15rem;
}

/* split media */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split__media:hover img {
  transform: scale(1.05);
}
.split__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: s;
}
.step {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--yellow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step__num {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--red);
}
.step__title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

/* 10. Cards ------------------------------------------------------------------ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2vw, 28px);
}
.feature-card {
  display: block;
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.feature-card--link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--yellow);
}
.feature-card__icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--yellow-100);
  color: var(--red);
  box-sizing: content-box;
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.feature-card--link:hover .feature-card__icon {
  transform: rotate(-8deg) scale(1.06);
  background: var(--yellow);
}
.feature-card__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.section--dark .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.section--dark .feature-card p {
  color: #cfe0e0;
}
.section--dark .feature-card__icon {
  background: rgba(255, 196, 0, 0.14);
  color: var(--yellow);
}

.news-card,
.image-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.news-card:hover,
.image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.news-card__media,
.image-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-card__media img,
.image-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.news-card:hover img,
.image-card:hover img {
  transform: scale(1.08);
}
.news-card__body,
.image-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.news-card__title,
.image-card__title {
  font-size: 1.12rem;
  margin: 4px 0 8px;
}
.news-card__excerpt,
.image-card p {
  color: var(--ink-2);
  font-size: 0.93rem;
  flex: 1;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.event-card__title {
  font-size: 1.2rem;
  margin: 8px 0 10px;
}
.event-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.93rem;
}
.event-card .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 10px;
}
.event-card__go {
  align-self: center;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  transition: background-color 0.3s, transform 0.35s var(--ease);
}
.event-card:hover .event-card__go {
  background: var(--yellow);
  transform: rotate(-45deg);
}

.match-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.match-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.match-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}
.match-card__comp {
  color: var(--yellow);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.match-card__comp:hover {
  text-decoration: underline;
}
.match-card__round {
  color: #cfe0e0;
}
.match-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 20px 14px 14px;
}
.match-card .team {
  min-width: 0;
}
.match-card .team__name {
  font-size: 0.9rem;
  color: var(--navy);
}
.match-card__score,
.match-card__ko {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  min-width: 96px;
  text-align: center;
}
.match-card__score span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--navy);
}
.match-card__dash {
  color: var(--muted) !important;
  font-size: 1.4rem !important;
}
.match-card__ko span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--teal-700);
}
.match-card__score small,
.match-card__ko small {
  flex-basis: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.match-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: auto;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-2);
}
.match-card__foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.match-card__foot .icon {
  width: 15px;
  height: 15px;
  color: var(--teal-700);
}
.match-card__more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}
.match-card__more .icon {
  color: inherit;
  transition: transform 0.3s var(--ease);
}
.match-card__more:hover .icon {
  transform: translateX(4px);
}

.club-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 26px 20px;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.club-card__link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.club-card__link .crest {
  transition: transform 0.6s var(--ease);
}
.club-card__link:hover .crest {
  transform: rotate(-6deg) scale(1.08);
}
.club-card__name {
  margin: 14px 0 4px;
  font-size: 1.1rem;
}
.club-card__meta {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.club-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.club-card__tags li {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-2);
}
.club-card .link-arrow {
  margin-top: auto;
}

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal-700);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.course-card[data-category='referee'] {
  border-left-color: var(--yellow);
}
.course-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.course-card__level {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.course-card__title {
  font-size: 1.2rem;
}
.course-card > p {
  color: var(--ink-2);
  font-size: 0.93rem;
}
.course-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}
.status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.status--open {
  background: #e6f5ec;
  color: var(--success);
}
.status--upcoming {
  background: var(--yellow-50);
  color: #8a6400;
}
.status--closed {
  background: #f1f1ef;
  color: var(--muted);
}

/* Documents */
.doc-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.doc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.doc-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.doc-row__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #fde8e8;
  color: var(--red);
}
.doc-row__title {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}
.doc-row .meta {
  margin: 0;
  gap: 4px 12px;
}
.doc-row .meta > * + *::before {
  content: '•';
  margin-right: 12px;
  color: var(--line);
}
.doc-row__summary {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.doc-row__pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: var(--cream);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.doc-row__pending .icon {
  width: 14px;
  height: 14px;
}
.doc-row__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
/* Important notices: pinned, highlighted, with a direct link */
.doc-row--important {
  position: relative;
  border: 1px solid rgba(255, 196, 0, 0.6);
  border-left: 5px solid var(--yellow);
  background: linear-gradient(100deg, var(--yellow-50), var(--white) 55%);
  box-shadow: 0 10px 28px rgba(240, 180, 0, 0.18);
}
.doc-row--important .doc-row__icon {
  background: var(--yellow);
  color: var(--navy);
  animation: important-ring 2.4s ease-out infinite;
}
@keyframes important-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(255, 196, 0, 0);
  }
}
.doc-row--important .doc-row__title {
  font-size: 1.08rem;
}
.important-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 3px;
}
.important-badge .icon {
  width: 12px;
  height: 12px;
}
@media (prefers-reduced-motion: reduce) {
  .doc-row--important .doc-row__icon {
    animation: none;
  }
}

/* People */
.person-card {
  text-align: center;
  padding: 24px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.person-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.person-card__avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--teal-700), var(--teal-900));
  color: var(--yellow);
  border: 4px solid var(--yellow-100);
}
.person-card__avatar .icon {
  width: 40px;
  height: 40px;
}
.person-card__role {
  margin: 0 0 4px;
  font-size: 1.02rem;
}
.person-card__name {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  list-style: none;
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 36px !important;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--yellow), var(--teal-700));
  border-radius: 2px;
}
.timeline__item {
  position: relative;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 4px var(--cream);
}
.timeline__year {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--red);
}
.timeline__item h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.timeline__item p {
  margin: 0;
  color: var(--ink-2);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal-800);
}
.gallery-item--wide {
  grid-column: span 2;
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.4s;
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 40px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 40, 45, 0.9));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(30%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s;
  pointer-events: none;
}
.gallery-item figcaption .icon {
  color: var(--yellow);
}
.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.08);
}
.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
  transform: none;
  opacity: 1;
}

.video-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--teal-900);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
}
.video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.9s var(--ease), opacity 0.4s;
}
.video-card:hover .video-card__media img {
  transform: scale(1.06);
  opacity: 1;
}
.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 0 0 10px rgba(255, 196, 0, 0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.video-card:hover .video-card__play {
  transform: scale(1.1);
  box-shadow: 0 0 0 16px rgba(255, 196, 0, 0.18);
}
.video-card__play .icon {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}
.video-card__body {
  display: block;
  padding: 14px 18px 18px;
}
.video-card__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.25;
}
.video-card__meta {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #bcd3d3;
}
.video-card__duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
}

/* 11. Tables ------------------------------------------------------------------ */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.table th,
.table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table thead th {
  position: sticky;
  top: 0;
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table tbody tr {
  transition: background-color 0.2s;
}
.table tbody tr:hover {
  background: var(--cream);
}
.table tbody tr:last-child > * {
  border-bottom: 0;
}
.standings td,
.standings th {
  text-align: center;
}
.standings .standings__club {
  text-align: left;
  width: 40%;
}
.standings__club a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.standings__club a:hover span {
  text-decoration: underline;
}
.standings__club .crest {
  filter: none;
}
.standings__pts {
  font-weight: 900;
  color: var(--navy);
}
.standings tr.is-qualify td:first-child {
  box-shadow: inset 4px 0 0 var(--yellow);
  font-weight: 800;
}
.form-pills {
  display: inline-flex;
  gap: 4px;
}
.form-pill {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--white);
}
.form-pill--w {
  background: var(--success);
}
.form-pill--d {
  background: #8a97a0;
}
.form-pill--l {
  background: var(--red);
}

/* 12. Forms -------------------------------------------------------------------- */
.form-card {
  padding: clamp(20px, 3vw, 40px);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.form-card__title {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}
.form-card__intro {
  color: var(--ink-2);
}
.form-section {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}
.form-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
}
.form-section__title::before {
  content: '';
  width: 10px;
  height: 18px;
  background: var(--yellow);
  transform: skewX(-20deg);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field--full {
  grid-column: 1 / -1;
}
.field__label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 0;
}
.req {
  color: var(--red);
  margin-left: 3px;
}
.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #cdd3d1;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea.input {
  min-height: 110px;
  resize: vertical;
}
select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.input:hover {
  border-color: #9fb0ae;
}
.input:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgba(0, 83, 90, 0.15);
}
.input--file {
  padding: 10px;
}
.field__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.field__error {
  margin: 0;
  min-height: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--danger);
}
.field__error:empty {
  display: none;
}
.field.is-invalid .input {
  border-color: var(--danger);
  background: #fff8f8;
}
.field.is-valid .input {
  border-color: #6fb38a;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.choice {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  cursor: pointer;
}
.choice input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--teal-700);
  flex: none;
}
.choice a {
  color: var(--teal-700);
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}
.form-card__req {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-card__summary {
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff1f1;
  border: 1px solid #f5c2c2;
  color: #8a1414;
  font-size: 0.92rem;
}
.form-card__summary ul {
  margin: 6px 0 0 18px;
}
.form-card__summary a {
  color: inherit;
  font-weight: 700;
}
.form-card__success {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: #ecf8f0;
  border: 1px solid #b7e2c6;
}
.form-card__success .icon {
  width: 36px;
  height: 36px;
  color: var(--success);
}
.form-card__success h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: #11532d;
}
.form-card__success p {
  margin: 0;
  color: #1d4430;
}

/* 13. Interactive --------------------------------------------------------------- */
.accordion {
  display: grid;
  gap: 12px;
}
.accordion__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-left: 4px solid transparent;
  transition: border-color 0.3s;
}
.accordion__item.is-open {
  border-left-color: var(--yellow);
}
.accordion__heading {
  margin: 0;
  font-size: 1rem;
}
.accordion__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.accordion__trigger:hover {
  color: var(--teal-700);
}
.accordion__icon {
  flex: none;
  padding: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.accordion__item.is-open .accordion__icon {
  transform: rotate(135deg);
  background: var(--yellow);
}
.accordion__panel {
  overflow: hidden;
}
.accordion__content {
  padding: 0 20px 20px;
  color: var(--ink-2);
}
.accordion__content > :last-child {
  margin-bottom: 0;
}

.tabs__list {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
  width: fit-content;
  max-width: 100%;
}
.tabs__list::-webkit-scrollbar {
  display: none;
}
.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.tabs__tab .icon {
  width: 18px;
  height: 18px;
}
.tabs__tab:hover {
  color: var(--navy);
  background: var(--cream);
}
.tabs__tab[aria-selected='true'] {
  background: var(--teal-800);
  color: var(--white);
}
.tabs__panel:focus-visible {
  outline-offset: 6px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.chip:hover {
  border-color: var(--teal-700);
  color: var(--navy);
  transform: translateY(-1px);
}
.chip.is-active {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: var(--white);
}
[data-filter-item].is-filtered-out {
  display: none !important;
}
.filter-empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

/* Carousel (news slider etc.) */
.carousel {
  position: relative;
}
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 24px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 2px 18px;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__track > * {
  scroll-snap-align: start;
}
.carousel__controls {
  display: flex;
  gap: 10px;
}
.carousel__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.carousel__btn:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--yellow);
}
.carousel__btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.section--dark .carousel__btn {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.carousel__progress {
  height: 3px;
  margin-top: 8px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.carousel__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--yellow);
  transition: width 0.3s;
}

/* Testimonials */
.quote-card {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e0eded;
}
.quote-card blockquote {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.55;
}
.quote-card blockquote::before {
  content: '“';
  display: block;
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--yellow);
}
.quote-card figcaption strong {
  display: block;
  color: var(--white);
}
.quote-card figcaption span {
  font-size: 0.85rem;
  color: #a9c1c1;
}

/* 14. Dialogs ------------------------------------------------------------------- */
dialog {
  border: 0;
  padding: 0;
}
dialog::backdrop {
  background: rgba(0, 30, 34, 0.7);
  backdrop-filter: blur(3px);
}
.search-dialog {
  width: min(720px, calc(100vw - 32px));
  margin-top: 12vh;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.search-dialog__form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 22px;
  border-bottom: 1px solid var(--line);
}
.search-dialog__icon {
  width: 24px;
  height: 24px;
  color: var(--teal-700);
}
.search-dialog__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  font-size: 1.15rem;
  padding: 10px 0;
  background: none;
}
.search-dialog__form input:focus {
  outline: none;
}
.search-dialog__results {
  max-height: 50vh;
  overflow-y: auto;
  padding: 8px;
}
.search-dialog__results:empty {
  display: none;
}
.search-result {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color 0.2s;
}
.search-result:hover,
.search-result:focus-visible,
.search-result.is-active {
  background: var(--cream);
}
.search-result__type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}
.search-result__title {
  display: block;
  font-weight: 700;
  color: var(--navy);
}
.search-result__desc {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
}
.search-result mark {
  background: var(--yellow-100);
  color: inherit;
  border-radius: 2px;
}
.search-dialog__hint {
  margin: 0;
  padding: 10px 22px 14px;
  font-size: 0.8rem;
  color: var(--muted);
}
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(0, 20, 24, 0.94);
  color: var(--white);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox__figure {
  margin: 0;
  max-width: min(1200px, 88vw);
  text-align: center;
}
.lightbox__img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
  margin-top: 14px;
  color: #d4e3e3;
  font-size: 0.95rem;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
}
.lightbox__nav--prev {
  left: 16px;
}
.lightbox__nav--next {
  right: 16px;
}
.video-dialog {
  width: min(1000px, calc(100vw - 32px));
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-dialog__frame {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #d4e3e3;
  text-align: center;
  background: linear-gradient(140deg, var(--teal-800), var(--teal-900));
}
.video-dialog__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-dialog__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 18px;
  background: var(--teal-900);
  color: var(--white);
  font-weight: 700;
}

/* Misc page bits */
.info-list {
  list-style: none;
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.info-list li {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.info-list li:last-child {
  border-bottom: 0;
}
.info-list strong {
  color: var(--navy);
}
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-list li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.article-figure {
  margin: 0 0 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}
.share-row a,
.share-row button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s;
}
.share-row a:hover,
.share-row button:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}
.share-row .icon {
  width: 18px;
  height: 18px;
}
.empty-state {
  padding: 48px 24px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.calendar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--teal-800);
  color: var(--white);
}
.calendar__head h2,
.calendar__head h3 {
  margin: 0;
  color: var(--white);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.15rem;
}
.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar__dow {
  padding: 10px 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.calendar__day {
  min-height: 96px;
  padding: 6px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}
.calendar__day:nth-child(7n) {
  border-right: 0;
}
.calendar__day--empty {
  background: #fafaf7;
}
.calendar__num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 700;
  color: var(--ink-2);
}
.calendar__day--today .calendar__num {
  background: var(--yellow);
  color: var(--navy);
}
.calendar__event {
  display: block;
  margin-top: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--teal-800);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar__event:hover {
  background: var(--red);
}
.calendar__event--match {
  background: var(--red);
}
.calendar__event--course {
  background: var(--teal-600);
}
.calendar__event--fixture {
  background: #e9eef0;
  color: var(--navy);
}
.map-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, #dfe9e6, #cfdcd8);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map-card .icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin: 0 auto 10px;
}

/* ---------------------------------------------------------------- line-art background players
 * Decorative line illustrations supplied by PFA (assets/images/decor/, artwork has 10% opacity built in). Light sections alternate a
 * celebrating player (left) and a juggling player (right) behind the content. */
main > .section:not(.section--dark) {
  position: relative;
  isolation: isolate;
  /* clip sideways only: a figure taller than a short section continues into the next
     (transparent) section instead of being cropped or shrunk */
  overflow-x: clip;
}
main > .section:not(.section--dark)::before {
  content: '';
  position: absolute;
  z-index: -1;
  /* one consistent size on every page */
  top: clamp(16px, 2.5vw, 40px);
  width: clamp(240px, 24vw, 360px);
  background: no-repeat center / contain;
  pointer-events: none;
}
main > .section:not(.section--dark):nth-of-type(odd)::before {
  left: max(-40px, calc((100vw - var(--container)) / 2 - 300px));
  aspect-ratio: 333 / 519;
  background-image: url('../images/decor/player-celebrate.svg?v=531620f7a2');
}
main > .section:not(.section--dark):nth-of-type(even)::before {
  right: max(-40px, calc((100vw - var(--container)) / 2 - 290px));
  aspect-ratio: 359 / 512;
  background-image: url('../images/decor/player-juggle.svg?v=b8b9f9f5b5');
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  main > .section:not(.section--dark)::before {
    animation: decorFloat 9s ease-in-out infinite alternate;
  }
}
@keyframes decorFloat {
  to {
    translate: 0 -14px;
    rotate: -1.5deg;
  }
}
@media (max-width: 767px) {
  main > .section:not(.section--dark)::before {
    display: none;
  }
}
