/* =====================================================================
   SFSL rebrand variant "canon" (Классический клуб)
   FORM: Category standard, the owner's chosen standing exit, seed cf0514a6

   THESIS
     A well-run, welcoming family squash club, shown the way the best club
     and federation sites do it: clean, confident, photo-led and warm.
     Convention is the commitment. No irony, no smuggled quirks.

   OWN-WORLD
     Club navy #142b70 owns the header, the stats band and the footer
     (deeper navy #0e2057 for the language bar, letterboxes and the film band).
     Content sits on white and one very light cool neutral (#f3f6fa).
     Gold #eed97d is the action colour: primary buttons, the header button,
     the featured quicklink, current states, numerals. Always with navy text.
     Type: Archivo (OFL, Omnibus-Type) for headings, labels and numbers, set
     semi-expanded (wdth 104-114) and heavy for jersey-and-scoreboard
     confidence; Manrope (already self-hosted) for running text.
     8 px spacing rhythm, 10 px buttons, 14-16 px cards, layered navy-tinted
     shadows, one light source from above.

   STORY
     A family lands on a tall photograph of the club, sees three clear ways
     in (coaching, membership, news and events), reads that the club is big
     and active (10 / 60+ / 20+), meets the coaches, checks the schedule, sees
     club life, and finds "Contact Us" in gold at every moment of the visit.

   FIRST VIEWPORT
     Compact navy header (language bar, split navigation, centred crest,
     Contact Us as the gold header button) that condenses into a slim sticky
     bar on scroll. The slider full-bleed and tall, its controls on a clean
     white bar below the photograph. Directly below, three large photo cards,
     the middle one in gold. Then the stats as a confident navy band.

   MOTION
     Quiet and professional: header condenses, cards lift 3 px, photos scale
     1.03 on hover, the photo grids fade up 16 px once on first view (opacity and
     transform, 360-400 ms, strong ease-out). Nothing loops.
     prefers-reduced-motion: none of it.
   ===================================================================== */

@font-face {
  font-family: "Archivo Canon";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo Canon";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* brand pair, unchanged */
  --c-navy: #142b70;
  --c-gold: #eed97d;
  /* tints and shades of the pair */
  --c-navy-deep: #0e2057;
  --c-navy-hover: #1d3a8a;
  --c-navy-soft: #2c4a9a;
  --c-gold-hover: #e6cc5c;
  --c-gold-deep: #9a7414;      /* gold for rings and marks on white: 3:1+ */
  --c-gold-wash: #fbf5dc;
  /* neutrals, one cool family */
  --c-surface: #ffffff;
  --c-surface-2: #f3f6fa;
  --c-surface-3: #e8edf5;
  --c-line: #dfe5ef;
  --c-line-strong: #c7d0e1;
  --c-ink: #17223d;
  --c-muted: #56627b;
  --c-on-navy: #ffffff;
  --c-on-navy-muted: #c9d3eb;

  /* base theme variables, re-pointed so untouched base rules follow */
  --blue: var(--c-navy);
  --bright: var(--c-navy-hover);
  --gold: var(--c-gold);
  --orange: #db8658;
  --ink: var(--c-ink);
  --line: var(--c-line);
  --muted: var(--c-muted);
  --paper: var(--c-surface-2);

  --font-display: "Archivo Canon", Manrope, "Arial Narrow", Arial, sans-serif;
  --font-body: Manrope, Arial, sans-serif;

  --r-btn: 10px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;

  --shadow-1: 0 1px 2px rgb(14 32 87 / .06), 0 4px 12px -4px rgb(14 32 87 / .08), 0 18px 32px -20px rgb(14 32 87 / .22);
  --shadow-2: 0 2px 4px rgb(14 32 87 / .06), 0 12px 24px -8px rgb(14 32 87 / .14), 0 30px 52px -24px rgb(14 32 87 / .32);
  --shadow-btn: 0 1px 1px rgb(14 32 87 / .10), 0 8px 18px -10px rgb(14 32 87 / .45);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-fast: 160ms;
  --t-med: 240ms;
  --t-slow: 400ms;

  /* header geometry: the sticky bar keeps the bottom --canon-bar px visible */
  --canon-lang: 36px;
  --canon-inner: 96px;
  --canon-bar: 68px;
  --canon-shift: 14px;
  --canon-logo-scale: .62;
}

/* ---------- Base type and browser surfaces ---------- */
html { scroll-padding-top: 92px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.12;
  color: var(--c-navy);
  overflow-wrap: break-word;
}
h3, h4 { font-weight: 700; font-stretch: 100%; letter-spacing: -.005em; }
p { text-wrap: pretty; }
a { color: var(--c-navy); text-decoration-thickness: 1px; text-underline-offset: 4px; }

::selection { background: var(--c-gold); color: var(--c-navy); }
input, textarea, [contenteditable] { caret-color: var(--c-navy); }
::placeholder { color: #5f6a84; opacity: 1; }
.scroll-rail, .event-list, .testimonial-strip, .mobile-navigation { scrollbar-width: thin; scrollbar-color: #b3bfd6 transparent; }

/* Focus: navy ring on light surfaces, gold ring on navy surfaces. */
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, video:focus-visible {
  outline: 3px solid var(--c-navy);
  outline-offset: 3px;
}
/* Links inside clipped cards and the photo stage draw their ring inside. */
.card > a:focus-visible { outline-offset: -4px; border-radius: var(--r-lg); }
.hero .slide:focus-visible { outline: 3px solid var(--c-gold); outline-offset: -8px; }
.site-header :focus-visible, .stats :focus-visible, .footer :focus-visible, .film-section :focus-visible,
.campaign-copy :focus-visible, .lightbox :focus-visible, .mobile-navigation :focus-visible {
  outline-color: var(--c-gold);
}

.skip {
  background: var(--c-gold);
  color: var(--c-navy);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--r-btn);
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
}

/* ---------- Buttons and link-arrows ---------- */
.button {
  min-height: 48px;
  padding: 0 24px;
  gap: 10px;
  border-radius: var(--r-btn);
  background: var(--c-gold);
  color: var(--c-navy);
  border: 1px solid var(--c-gold);
  font-family: var(--font-display);
  font-stretch: 104%;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  box-shadow: var(--shadow-btn);
  transition: background-color var(--t-med) ease, border-color var(--t-med) ease, box-shadow var(--t-med) ease, transform var(--t-fast) var(--ease-out);
}
.button:hover { background: var(--c-gold-hover); border-color: var(--c-gold-hover); color: var(--c-navy); }
.button:active { transform: scale(.98); }
.button.subtle {
  background: var(--c-surface);
  color: var(--c-navy);
  border: 1.5px solid var(--c-line-strong);
  box-shadow: none;
}
.button.subtle:hover { background: var(--c-surface); border-color: var(--c-navy); }
.button .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }

/* Link-arrows: section links, "Read more", "Become a partner". */
.section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-stretch: 104%;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--c-navy);
  text-decoration: none;
}
.section-heading > a .icon { width: 18px; height: 18px; vertical-align: 0; transition: transform var(--t-med) var(--ease-out); }
.section-heading > a:hover { text-decoration: underline; text-decoration-color: var(--c-gold-deep); text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* The "external" glyph becomes the same right arrow wherever it means "go there" on this site. */
.text-link .icon, .quicklinks small .icon { transform: rotate(45deg); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(0) scale(.98); }
  .button:hover .icon, .section-heading > a:hover .icon { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--c-navy);
  transition: box-shadow var(--t-slow) var(--ease-out);
}
.language-bar { background: var(--c-navy-deep); border-bottom: 0; }
.language-inner {
  width: min(1376px, calc(100% - 64px));
  min-height: var(--canon-lang);
  height: var(--canon-lang);
}
.language-inner > span {
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--c-on-navy-muted);
}
.language-inner > div { align-items: center; height: 100%; gap: 2px; }
.language-inner a {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 100%;
  padding: 0 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-on-navy);
  background: transparent;
}
.language-inner a::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  z-index: -1;
  border-radius: 999px;
  background: transparent;
  transition: background-color var(--t-med) ease;
}
.language-inner a:hover::before { background: rgb(255 255 255 / .12); }
.language-inner a[aria-current] { color: var(--c-navy); background: transparent; }
.language-inner a[aria-current]::before { background: var(--c-gold); }

.header-inner {
  max-width: 1440px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding: 0 32px;
  height: var(--canon-inner);
  min-height: 0;
}
.brand {
  display: block;
  background: #fff;
  padding: 8px;
  border-radius: var(--r-md);
  box-shadow: 0 1px 2px rgb(5 14 44 / .25), 0 6px 14px -10px rgb(5 14 44 / .7);
  transform-origin: 50% 50%;
  transition: transform var(--t-slow) var(--ease-out);
}
.brand img { width: 68px; height: 68px; }
.header-inner nav { transition: transform var(--t-slow) var(--ease-out); }
.header-inner nav > ul { gap: 12px; }
.header-inner nav > ul > li > a, .nav-parent > a {
  position: relative;
  font-family: var(--font-display);
  font-stretch: 106%;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.2;
  padding: 16px 0;
  color: var(--c-on-navy);
}
/* Hover and current-page underline: a gold bar drawn from the left. */
.header-inner nav > ul > li > a::after, .header-inner .nav-parent > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-med) var(--ease-out);
}
.header-inner nav > ul > li > a:hover::after, .header-inner .nav-parent > a:hover::after,
.header-inner nav > ul > li > a[aria-current=page]::after, .header-inner .nav-parent > a[aria-current=page]::after,
.header-inner li.open > .nav-parent > a::after { transform: scaleX(1); }
.site-header a[aria-current=page] { color: var(--c-gold); }
.nav-parent { gap: 2px; }
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
  color: var(--c-on-navy-muted);
}
.submenu-toggle .icon { width: 14px; height: 14px; transition: transform var(--t-med) var(--ease-out); }
li.open > .nav-parent .submenu-toggle .icon { transform: rotate(180deg); }
.submenu-toggle:hover { color: var(--c-gold); }

/* The header's one button: the existing "Contact Us" item. */
.header-inner .nav-right > ul > li:last-child > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  background: var(--c-gold);
  color: var(--c-navy);
  box-shadow: 0 8px 18px -12px rgb(5 14 44 / .6);
  transition: background-color var(--t-med) ease, transform var(--t-fast) var(--ease-out);
}
.header-inner .nav-right > ul > li:last-child > a::after { display: none; }
.header-inner .nav-right > ul > li:last-child > a:hover { background: var(--c-gold-hover); }
.header-inner .nav-right > ul > li:last-child > a[aria-current=page] { color: var(--c-navy); box-shadow: 0 0 0 2px var(--c-navy), 0 0 0 4px var(--c-gold); }
.header-inner .nav-right > ul > li:last-child > a:active { transform: scale(.98); }

/* Desktop dropdowns: same open/close state as before (li.open), now with a short fade. */
.header-inner .submenu {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transform-origin: 50% 0;
  min-width: 240px;
  padding: 8px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-surface);
  box-shadow: 0 2px 6px rgb(14 32 87 / .08), 0 24px 48px -16px rgb(14 32 87 / .35);
  transition: opacity 120ms ease, transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.header-inner li.open > .submenu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--t-fast) ease, transform var(--t-med) var(--ease-out), visibility 0s;
}
.submenu a {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.submenu a:hover { background: var(--c-surface-2); color: var(--c-navy); }
.site-header .submenu a[aria-current=page] { background: var(--c-gold-wash); color: var(--c-navy); }

/* Sticky, condensing bar. Only with JS (html.canon-ready); without JS the header is static.
   The header keeps its height: it sticks with only its lower --canon-bar px on screen and
   the crest and menu glide into that band (transform only, no layout shift). */
.canon-ready .site-header {
  position: sticky;
  top: calc(var(--canon-bar) - var(--canon-lang) - var(--canon-inner));
}
.canon-condensed .site-header { box-shadow: 0 12px 28px -18px rgb(5 14 44 / .75); }
.canon-condensed .header-inner nav { transform: translateY(var(--canon-shift)); }
.canon-condensed .brand { transform: translateY(var(--canon-shift)) scale(var(--canon-logo-scale)); }
.canon-condensed .mobile-toggle { transform: translateY(var(--canon-shift)); }

/* ---------- Hero slider ---------- */
.hero { background: var(--c-navy-deep); }
.slide { background: var(--c-navy-deep); }
/* The first slide is simply there; only a change made by the visitor animates. */
.hero.has-changed .slide.active { animation: canon-slide-in var(--t-med) var(--ease-out) both; }
.hero .slide.volunteer-campaign.active { animation-name: canon-fade-in; }
@keyframes canon-slide-in {
  from { opacity: .001; transform: scale(1.012); }
  to { opacity: 1; transform: none; }
}
@keyframes canon-fade-in {
  from { opacity: .001; }
  to { opacity: 1; }
}
@media (min-width: 651px) {
  .hero-stage { max-width: none; height: clamp(420px, min(44vw, calc(100svh - 250px)), 780px); }
}

/* Controls on a clean white bar under the photograph, never over it. */
.hero-controls {
  height: auto;
  min-height: 72px;
  justify-content: flex-start;
  gap: 8px;
  padding-inline: max(32px, calc((100% - 1160px) / 2));
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.slide-dots { order: 1; margin-right: auto; gap: 0; }
.slide-count { order: 2; margin-right: 16px; }
.slide-control.prev { order: 3; }
.slide-control.next { order: 4; }
.slide-dots button { width: 44px; height: 44px; padding: 0; border-radius: 8px; }
.slide-dots span {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--c-line-strong);
  transform: scaleX(.6);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med) ease;
}
.slide-dots button:hover span { background: #97a5c2; }
.slide-dots button[aria-pressed=true] span { background: var(--c-navy); box-shadow: none; transform: scaleX(1); }
.slide-count {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-muted);
  font-variant-numeric: tabular-nums;
}
.slide-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line-strong);
  background: var(--c-surface);
  color: var(--c-navy);
  transition: background-color var(--t-med) ease, border-color var(--t-med) ease, color var(--t-med) ease, transform var(--t-fast) var(--ease-out);
}
.slide-control .icon { width: 20px; height: 20px; }
.slide-control:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.slide-control:active { transform: scale(.96); }

/* ---------- Volunteer campaign slide (slide 4) ---------- */
.slide.volunteer-campaign { background: var(--c-navy); }
.campaign-intro h2 {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.campaign-subtitle { color: #e6ebf7; }
.campaign-benefits li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  font-size: 15px;
  border-top-color: rgb(255 255 255 / .18);
  color: #eef1fa;
}
.campaign-benefits li::before {
  content: "";
  margin-top: calc((1lh - 20px) / 2);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23142b70' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.campaign-signature { border-top-color: rgb(255 255 255 / .18); color: var(--c-on-navy-muted); }
.campaign-photo figcaption { font-size: 12px; font-weight: 600; }
.campaign-community { background: var(--c-gold); }
.campaign-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--font-display);
  font-stretch: 106%;
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(14 32 87 / .2), 0 14px 28px -14px rgb(14 32 87 / .7);
  transition: background-color var(--t-med) ease, transform var(--t-fast) var(--ease-out);
}
.campaign-action:hover { background: var(--c-navy-hover); text-decoration: none; }
.campaign-action .icon { width: 22px; height: 22px; }
.campaign-invite p { color: var(--c-navy); font-weight: 600; }
.campaign-domain { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-size: 16px; }
/* QR: never under 144 px of code, white quiet zone, no overlay. */
.campaign-qr {
  flex: 0 0 auto;
  width: clamp(164px, 13vw, 212px);
  padding: 10px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 1px 2px rgb(14 32 87 / .12), 0 16px 32px -20px rgb(14 32 87 / .6);
}
@media (min-width: 1101px) { .campaign-benefits li { font-size: 15px; } }
@media (max-width: 1100px) { .campaign-benefits li { font-size: 14px; } }
@media (min-width: 1600px) { .campaign-benefits li { font-size: 16px; } }

/* Tablet and desktop: the whole invitation fits one screen under the header,
   the same height as the photo slides. The photo flexes; the copy and QR do not. */
@media (min-width: 761px) {
  .slide.volunteer-campaign { min-height: clamp(420px, calc(100svh - 250px), 780px); }
  .campaign-copy {
    padding: clamp(18px, 3.4svh, 44px) clamp(28px, 3.4vw, 66px);
    gap: clamp(12px, 2.2svh, 28px);
  }
  .campaign-intro h2 { font-size: clamp(34px, min(4.2vw, 8.4svh), 76px); margin-bottom: clamp(8px, 1.6svh, 18px); }
  .campaign-subtitle { font-size: clamp(16px, min(1.4vw, 2.6svh), 22px); }
  .campaign-benefits li { padding: clamp(5px, 1svh, 11px) 0 clamp(6px, 1.1svh, 12px); line-height: 1.4; }
  .campaign-signature { padding-top: 10px; }
  .campaign-photo { flex: 1 1 0; min-height: 150px; display: flex; flex-direction: column; }
  .slide .campaign-photo img { flex: 1 1 0; min-height: 0; height: 0; aspect-ratio: auto; object-fit: cover; object-position: 50% 28%; }
  .campaign-photo figcaption { padding: 8px 26px; }
  .campaign-invite { flex: 0 0 auto; flex-wrap: nowrap; padding: clamp(10px, 1.8svh, 20px) clamp(24px, 3vw, 58px); }
  .campaign-invite p { margin: 8px 0 0; }
  .campaign-qr { width: 164px; }
}

/* ---------- Quicklinks: three large photo cards ---------- */
.quicklinks {
  position: relative;
  gap: 24px;
  padding-block: 28px 40px;
  border-image: linear-gradient(var(--c-surface-2), var(--c-surface-2)) fill 0 / 0 / 0 100vmax;
}
.quicklinks > a {
  height: auto;
  min-height: 0;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--c-surface);
  color: var(--c-navy);
  box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.quicklinks > a:hover { background: var(--c-surface); color: var(--c-navy); }
.quicklinks > a:nth-child(2), .quicklinks > a:nth-child(2):hover { background: var(--c-gold); color: var(--c-navy); }
.quicklinks img {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
/* Each photo framed on its faces. */
.quicklinks > a:nth-child(1) img { object-position: 50% 30%; }
.quicklinks > a:nth-child(2) img { object-position: 50% 52%; }
.quicklinks > a:nth-child(3) img { object-position: 50% 36%; }
.quicklinks > a > span {
  position: relative;
  padding: 22px 88px 24px 24px;
  justify-content: center;
  gap: 4px;
  background: inherit;
}
.quicklinks strong {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.15;
}
.quicklinks small {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-muted);
}
.quicklinks > a:nth-child(2) small { color: #3b4a7a; }
.quicklinks small .icon {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  padding: 12px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med) ease;
}

@media (hover: hover) and (pointer: fine) {
  .quicklinks > a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .quicklinks > a:hover img { transform: scale(1.03); }
  .quicklinks > a:hover small .icon { transform: rotate(45deg) translate(2px, -2px); background: var(--c-navy-hover); }
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--c-navy);
  padding: 40px 0;
}
.stats > .wrap > div { padding: 4px 16px; }
.stats > .wrap > div + div { border-left: 1px solid rgb(255 255 255 / .16); }
.stats strong {
  font-family: var(--font-display);
  font-stretch: 116%;
  font-size: clamp(44px, 5.2vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--c-gold);
  font-variant-numeric: tabular-nums lining-nums;
}
.stats span {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-on-navy-muted);
}

/* ---------- Home: intro ---------- */
/* The home h1 stays in the markup for search engines and screen readers, but is not shown. */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Press feature: one navy panel between the stats band and the news row. Gold only on the kicker, the figures and the action. */
.press-feature-wrap { padding-top: 56px; }
.press-feature { background: var(--c-navy); color: var(--c-on-navy); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.press-feature.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.press-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.press-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 20px; font-size: 14px; color: var(--c-on-navy-muted); }
.press-kicker { background: var(--c-gold); color: var(--c-navy); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.press-feature h2 { color: var(--c-on-navy); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 16px; text-wrap: balance; }
.press-summary { color: var(--c-on-navy-muted); font-size: 17px; line-height: 1.65; margin: 0 0 28px; max-width: 60ch; }
.press-facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 12px clamp(20px, 3vw, 44px); margin: 0 0 32px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .16); align-self: stretch; justify-content: start; }
.press-facts div { display: flex; flex-direction: column-reverse; }
.press-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--c-gold); font-variant-numeric: tabular-nums; }
.press-facts dt { font-size: 13px; color: var(--c-on-navy-muted); margin-top: 4px; }
.press-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: auto 0 0; }
.press-action small { font-size: 13px; color: var(--c-on-navy-muted); }
.press-feature :focus-visible { outline-color: var(--c-gold); }
/* The photo is always shown whole: framed on the navy panel at its natural ratio, never cropped. */
.press-media { display: flex; align-items: center; padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0; }
.press-media img { width: 100%; height: auto; display: block; border-radius: var(--r-lg); }
@media (max-width: 860px) {
  .press-feature.has-media { grid-template-columns: minmax(0, 1fr); }
  .press-media { order: -1; padding: 0; }
  .press-media img { border-radius: 0; }
}

/* ---------- Sections, headings, rails ---------- */
.section { padding-block: 56px; }
.section-heading { align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; color: var(--c-navy); }
.rail-controls { gap: 8px; margin-top: 24px; }
.rail-controls button {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--c-line-strong);
  background: var(--c-surface);
  color: var(--c-navy);
  transition: background-color var(--t-med) ease, border-color var(--t-med) ease, color var(--t-med) ease, transform var(--t-fast) var(--ease-out);
}
.rail-controls button:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.rail-controls button:active { transform: scale(.96); }

/* ---------- Cards (news, coaches, staff) ---------- */
.cards { gap: 32px; }
.card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.card-image { border-radius: 0; background: var(--c-surface-2); }
.cards:not(.coach-cards) .card-image { background: var(--c-navy-deep); }
.cards:not(.coach-cards) .card img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
/* A hairline keeps every card's edge, even when a photo's own white canvas meets the white page. */
.cards .card { box-shadow: 0 0 0 1px var(--c-line), var(--shadow-1); }
.card img { height: 220px; transition: transform var(--t-slow) var(--ease-out); }
.card-copy { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.card-copy h3 { order: -1; margin-top: 0; }
.card time {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-muted);
  display: block;
  margin-bottom: 10px;
}
.card h3 {
  font-family: var(--font-display);
  font-stretch: 102%;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 8px 0 12px;
  color: var(--c-navy);
}
.card p { font-size: 14.5px; line-height: 1.7; color: var(--c-muted); }
.text-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--c-navy);
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}
.text-link .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--c-gold-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .card:hover img { transform: scale(1.03); }
  .card:hover .text-link .icon { transform: rotate(45deg) translate(2px, -2px); }
}

.coach-cards { gap: 24px; }
.coach-cards .card-image { border-radius: 0; }
.coach-cards .card-copy { background: var(--c-surface); color: var(--c-ink); padding: 18px 20px 20px; border-radius: 0; }
.coach-cards h3 { font-size: 15px; margin: 0 0 18px; color: var(--c-navy); text-transform: uppercase; letter-spacing: .01em; }
.coach-cards .text-link { color: var(--c-navy); border-color: var(--c-line); font-size: 13px; padding-top: 14px; }
/* Rails keep room for the card shadows inside the scroller. */
.coach-cards.scroll-rail { padding: 8px 6px 28px; margin-inline: -6px; scroll-padding-inline: 6px; }

/* ---------- Calendar ---------- */
.calendar-section { background: var(--c-surface-2); border-block: 0; }
.calendar { border: 0; border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-1); }
.calendar-toolbar { padding: 20px 24px; border-bottom: 1px solid var(--c-line); gap: 16px; }
.calendar-toolbar .button { min-height: 44px; padding: 0 18px; font-size: 13px; }
.calendar-arrows { gap: 12px; }
.calendar-arrows h3 { font-size: 20px; font-weight: 800; font-stretch: 106%; color: var(--c-navy); text-transform: capitalize; }
.calendar-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line-strong);
  background: var(--c-surface);
  color: var(--c-navy);
  transition: background-color var(--t-med) ease, color var(--t-med) ease, border-color var(--t-med) ease;
}
.calendar-arrows button:hover { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.calendar-search input {
  width: 220px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--c-ink);
  background: var(--c-surface);
  transition: border-color var(--t-med) ease;
}
.calendar-search input:hover { border-color: #9aa8c4; }
.calendar-search input:focus-visible { border-color: var(--c-navy); outline-offset: 2px; }
.month-grid { padding: 24px; gap: 6px; border-right-color: var(--c-line); }
.weekday { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--c-muted); }
.cal-day {
  min-height: 44px;
  border-radius: var(--r-sm);
  background: var(--c-surface-2);
  color: var(--c-ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast) ease;
}
.cal-day.active { background: var(--c-navy); color: #fff; font-weight: 700; }
.cal-day.active:hover { background: var(--c-navy-hover); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--c-gold-deep); }
.cal-day[aria-pressed=true] { background: var(--c-navy-soft); }
.cal-day i { background: var(--c-gold); width: 5px; height: 5px; margin-left: -2.5px; }
.event-list { padding: 24px; }
.calendar-status { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--c-muted); }
.event-row { border-radius: var(--r-sm); padding: 14px 12px; margin-inline: -12px; transition: background-color var(--t-fast) ease; }
.event-row:hover { background: var(--c-surface-2); }
.event-row strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.event-row time, .event-row span { color: var(--c-muted); font-size: 13px; }
/* Calendar list cards: when, what, where, a line of description and a photo. */
.event-row { display: flex; align-items: flex-start; gap: 16px; }
.event-row .event-text { flex: 1; min-width: 0; display: block; }
.event-row time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c-navy); }
.event-row strong { margin-block: 3px 4px; line-height: 1.25; text-wrap: balance; }
.event-row .event-place, .event-row .event-excerpt { display: block; line-height: 1.45; }
.event-row .event-place b { font-weight: 600; color: var(--c-ink); }
.event-row .event-excerpt { margin-top: 6px; color: var(--c-ink); opacity: .82; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-row .event-photo { flex: none; width: 112px; height: 84px; object-fit: cover; border-radius: var(--r-sm); background: var(--c-surface-2); outline: 1px solid rgb(14 32 87 / .08); outline-offset: -1px; }
@media (max-width: 420px) { .event-row .event-photo { width: 84px; height: 64px; } }

/* ---------- Club life, highlights gallery, film ---------- */
.instagram-grid { gap: 24px; }
.instagram-grid a { transition: transform var(--t-med) var(--ease-out); }
.instagram-grid img { border-radius: var(--r-md); box-shadow: 0 1px 2px rgb(14 32 87 / .08); transition: box-shadow var(--t-med) var(--ease-out); }
.instagram-grid span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
}
@media (hover: hover) and (pointer: fine) {
  .instagram-grid a:hover { transform: translateY(-3px); }
  .instagram-grid a:hover img { box-shadow: var(--shadow-2); }
}
.home-gallery { display: block; columns: 3 260px; column-gap: 20px; }
.home-gallery a { display: block; break-inside: avoid; margin: 0 0 20px; border-radius: var(--r-lg); background: none; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.home-gallery img, .home-gallery a:last-child img { width: 100%; height: auto; object-fit: initial; transition: transform var(--t-slow) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .home-gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .home-gallery a:hover img { transform: scale(1.03); }
}

/* The film closes the page on a deep navy band, full-bleed. Kept compact: the player is capped
   so the band stays well under one screen. */
.film-section {
  margin-top: 16px;
  padding-block: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 48px;
  border-top: 0;
  color: #fff;
  border-image: linear-gradient(var(--c-navy-deep), var(--c-navy-deep)) fill 0 / 0 / 0 100vmax;
}
.film-section h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin: 0 0 8px; }
.film-section p { color: var(--c-on-navy-muted); font-size: 16px; margin: 0 0 16px; }
.film-section .button { margin-top: 0; }
/* YouTube poster link; brand.js swaps it for the player on click, without it the link opens YouTube. */
.film-embed {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #08143d;
  box-shadow: 0 1px 0 rgb(255 255 255 / .06) inset, 0 24px 48px -24px rgb(5 14 44 / .6);
}
.film-embed img, .film-embed iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.film-play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding-left: 3px;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-navy);
  box-shadow: 0 8px 24px -8px rgb(5 14 44 / .6);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .film-embed:hover .film-play { background: var(--c-gold-hover); transform: scale(1.06); }
}
.film-embed:active .film-play { transform: scale(.97); }

/* ---------- Partners and footer ---------- */
.partners { padding-block: 56px; border-top: 0; }
.partners h2 { font-size: clamp(28px, 2.8vw, 38px); }
.partner-grid { gap: 16px; border: 0; }
.partner-grid > a, .partner-grid > img {
  min-height: 128px;
  padding: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med) ease;
}
.partner-grid > a:hover { background: var(--c-surface); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .partner-grid > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
}

.footer { background: var(--c-navy); padding: 56px 0 28px; }
.footer-grid { gap: 40px; }
.footer h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--c-on-navy-muted);
  margin: 0 0 16px;
}
.footer a {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: 14px;
  color: #e3e9f6;
  text-underline-offset: 4px;
}
.footer a:hover { color: #fff; text-decoration-color: var(--c-gold); }
.footer p { font-size: 14px; color: #e3e9f6; line-height: 1.6; }
.footer a.footer-brand { flex-direction: column; align-items: flex-start; gap: 16px; text-decoration: none; }
.footer-brand img { width: 92px; padding: 8px; margin: 0; border-radius: var(--r-md); background: #fff; box-shadow: 0 10px 22px -14px rgb(5 14 44 / .7); }
.footer-brand strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.35; max-width: 220px; color: #fff; }
.social-links { gap: 8px 16px; margin-top: 8px; }
.social-links a { font-size: 14px; gap: 6px; }
.copyright { font-size: 12px; color: #b9c4de; margin-top: 40px; padding-top: 24px; border-top-color: rgb(255 255 255 / .12); }
.copyright { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.copyright a { min-height: 44px; font-size: 12px; color: #b9c4de; text-decoration: underline; }

/* Status label inside content ("Past event"): muted, never gold, because gold marks actions and current states. */
.prose p.status-past, p.status-past {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c-surface-3);
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Inner pages ---------- */
.page-heading {
  background: var(--c-surface-2);
  padding: 26px 0 30px;
  border-bottom: 0;
  color: var(--c-navy);
}
.page-heading a, .page-heading span { font-size: 14px; font-weight: 600; }
.page-heading .wrap > a { color: var(--c-navy); text-decoration: none; }
.page-heading .wrap > a:hover { text-decoration: underline; }
.page-heading .wrap > span { color: var(--c-muted); }
.page-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 30ch;
}
.page-heading time { margin-top: 12px; }
.page-heading time { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--c-muted); }
.page-content { padding-top: 48px; }

.prose { line-height: 1.75; }
.prose h2, .prose h3, .prose h4 { color: var(--c-navy); margin-top: 40px; margin-bottom: 16px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); }
.prose h3 { font-size: 21px; }
.prose a { text-decoration-color: rgb(20 43 112 / .45); }
.prose a:hover { text-decoration-color: var(--c-navy); }
.prose img { border-radius: var(--r-md); }
.prose table { border-radius: var(--r-sm); font-size: 14px; }
.prose th { background: var(--c-surface-2); font-family: var(--font-display); color: var(--c-navy); }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 1px solid var(--c-line-strong); color: var(--c-ink); }

.article-image { border-radius: var(--r-lg); }
.profile-body .article-image { border-radius: var(--r-lg); box-shadow: var(--shadow-1); max-height: 340px; }
.profile-credentials { border-left: 0; border-radius: var(--r-md); padding: 20px 22px; font-size: 13px; }
.source-note { border-radius: var(--r-sm); font-size: 13px; padding: 12px 16px; }
.event-meta { border-left: 0; border-radius: var(--r-md); padding: 24px 28px; font-size: 15px; }
.event-meta strong { font-family: var(--font-display); color: var(--c-navy); }

.contact-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 40px;
  gap: 40px;
  margin-bottom: 56px;
}
.contact-panel h2 { margin-top: 0; font-size: clamp(26px, 2.6vw, 34px); }
.contact-panel p { font-size: 15px; }
.contact-panel > div:last-child > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
}
.contact-panel > div:last-child > a:not(.button):hover { text-decoration: underline; }

.download-list, .directory { border-top: 0; display: grid; gap: 8px; }
.download-list a, .directory a {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-navy);
  background: var(--c-surface);
  transition: border-color var(--t-med) ease, box-shadow var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.download-list a:hover, .directory a:hover { background: var(--c-surface); border-color: transparent; box-shadow: var(--shadow-1); }
.download-list span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--c-surface-2);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-navy);
}
@media (hover: hover) and (pointer: fine) {
  .download-list a:hover, .directory a:hover { transform: translateY(-2px); }
}

.testimonials { border-top: 1px solid var(--c-line); margin-top: 48px; padding-top: 48px; }
.testimonial-strip { gap: 24px; padding: 4px 4px 24px; }
.testimonial-strip article { border-radius: var(--r-lg); background: var(--c-surface-2); padding: 32px; }
.testimonial-strip blockquote { font-size: 15px; line-height: 1.8; color: var(--c-ink); }
.testimonial-strip p { font-family: var(--font-display); font-size: 14px; color: var(--c-navy); }

.gallery { column-gap: 20px; }
.gallery a { margin-bottom: 20px; border-radius: var(--r-md); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.gallery-video { border-radius: var(--r-lg); }
@media (hover: hover) and (pointer: fine) {
  .gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
}

/* ---------- Lightbox ---------- */
.lightbox { background: rgb(9 21 60 / .97); }
.lightbox::backdrop { background: #09153c; }
.lightbox img { border-radius: var(--r-sm); }
.lightbox figcaption { font-size: 13px; color: var(--c-on-navy-muted); font-variant-numeric: tabular-nums; }
.lightbox button {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: 1.5px solid rgb(255 255 255 / .3);
  background: var(--c-navy);
  transition: background-color var(--t-med) ease, border-color var(--t-med) ease;
}
.lightbox button:hover { background: var(--c-navy-hover); border-color: var(--c-gold); }

/* Coverflow: the opened photo faces the viewer, neighbours recede and tilt.
   Everything is derived from --cf-card, so the rake scales with the screen. */
.lightbox { padding-inline: 0; }
.lightbox button { z-index: 2; }
.lightbox figure { width: 100%; max-width: none; gap: 0; }
.lightbox-media {
  --cf-card: min(46vw, calc(100dvh - 200px), 720px);
  display: block;
  width: 100%;
  max-width: none;
  padding-block: 32px;
  overflow: hidden;
  perspective: calc(var(--cf-card) * 3);
  touch-action: pan-y;
  cursor: grab;
}
.lightbox-media.is-dragging { cursor: grabbing; }
.cf-track { position: relative; height: var(--cf-card); transform-style: preserve-3d; user-select: none; -webkit-user-select: none; }
.cf-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--cf-card);
  height: var(--cf-card);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
}
.cf-card img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 28px 56px -16px rgb(5 14 44 / .6);
  pointer-events: auto;
  -webkit-user-drag: none;
}
.cf-card:not([aria-current]) img { cursor: pointer; }
.cf-card[aria-current] img { cursor: zoom-in; }
/* Full-size view of the open photo, over the carousel. */
.cf-full {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #09153c;
  cursor: zoom-out;
}
.cf-full[hidden] { display: none; }
.cf-full img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); animation: cf-zoom 240ms var(--ease-out) both; }
@keyframes cf-zoom { from { opacity: 0; transform: scale(.94); } }
.lightbox .lightbox-close { z-index: 4; }
.lightbox.is-zoomed .lightbox-prev, .lightbox.is-zoomed .lightbox-next { display: none; }
@media (max-width: 650px) {
  .lightbox-media { --cf-card: min(82vw, calc(100dvh - 250px)); padding-block: 24px; }
  /* Phones swipe; the arrows move below the photo so they never cover it. */
  .lightbox .lightbox-prev, .lightbox .lightbox-next { top: auto; bottom: 20px; }
  .lightbox .lightbox-prev { left: 18px; }
  .lightbox .lightbox-next { right: 18px; }
  .lightbox { padding-bottom: 84px; }
}

/* ---------- Wide desktop ---------- */
@media (min-width: 1500px) {
  .header-inner nav > ul > li > a, .nav-parent > a { font-size: 13px; }
}

/* ---------- Desktop nav fitting: the longest labels are French ---------- */
@media (max-width: 1280px) {
  .header-inner { padding-inline: 24px; gap: 20px; }
  .header-inner nav > ul { gap: 10px; }
  .header-inner nav > ul > li > a, .nav-parent > a { font-size: 12px; font-stretch: 100%; letter-spacing: .045em; }
  .header-inner .nav-right > ul > li:last-child > a { padding: 0 14px; }
}
@media (max-width: 1220px) {
  .header-inner nav > ul > li > a, .nav-parent > a { font-size: 11.5px; letter-spacing: .04em; }
}
@media (max-width: 1150px) {
  :root { --canon-inner: 88px; --canon-bar: 64px; --canon-shift: 12px; --canon-logo-scale: .66; }
  .header-inner { gap: 16px; padding-inline: 20px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .header-inner nav > ul { gap: 6px; }
  .header-inner nav > ul > li > a, .nav-parent > a { font-size: 11px; letter-spacing: .035em; }
  .header-inner .nav-right > ul > li:last-child > a { padding: 0 12px; }
  .submenu-toggle { width: 22px; }
  .brand img { width: 60px; height: 60px; }
  .quicklinks strong { font-size: 20px; }
  .quicklinks > a > span { padding: 18px 76px 20px 20px; }
  .quicklinks small .icon { right: 20px; }
  .coach-cards.scroll-rail { grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; }
}
@media (max-width: 1050px) {
  .header-inner { gap: 12px; padding-inline: 16px; }
  .header-inner nav > ul > li > a, .nav-parent > a { font-size: 10.5px; letter-spacing: .025em; }
  .header-inner .nav-right > ul > li:last-child > a { padding: 0 10px; }
  .submenu-toggle { width: 20px; }
}
@media (max-width: 1000px) {
  .header-inner { gap: 10px; padding-inline: 12px; }
  .header-inner nav > ul > li > a, .nav-parent > a { font-size: 10px; letter-spacing: .02em; }
  .header-inner .nav-right > ul > li:last-child > a { padding: 0 8px; }
}

/* ---------- Compact header: phones, small tablets, and touch tablets up to 1366px ----------
   Touch screens get the Menu button instead of the split navigation, so every target is 44px+.
   The structural lines repeat what site.css does at 950px, so the same markup works wider. */
@media (max-width: 950px), (pointer: coarse) and (max-width: 1366px) {
  .header-inner { justify-content: space-between; align-items: center; }
  .header-inner .nav-left, .header-inner .nav-right { display: none; }
  .mobile-toggle { display: flex; align-items: center; }
  .mobile-navigation { display: block; position: absolute; left: 0; right: 0; top: 100%; overflow: auto; }
  .mobile-navigation > ul { list-style: none; padding: 0; }
  .mobile-navigation > ul > li { border-bottom: 1px solid rgb(255 255 255 / .12); }
  .mobile-navigation .nav-parent { display: flex; justify-content: space-between; align-items: center; }
  .mobile-navigation .submenu { position: static; display: none; width: 100%; max-width: none; list-style: none; box-shadow: none; border: 0; }
  .mobile-navigation li.open > .submenu { display: block; }
  .mobile-navigation a { text-decoration: none; }
  .mobile-navigation .submenu-toggle .icon { width: 18px; height: 18px; }
  :root { --canon-lang: 44px; --canon-inner: 72px; --canon-bar: 60px; --canon-shift: 6px; --canon-logo-scale: .8; }
  html { scroll-padding-top: 76px; }
  .language-inner { width: calc(100% - 36px); }
  .header-inner { display: flex; height: var(--canon-inner); min-height: 0; padding: 0 18px; }
  .brand { padding: 6px; border-radius: 12px; }
  .brand img { width: 48px; height: 48px; }
  .mobile-toggle {
    gap: 10px;
    min-height: 44px;
    padding: 0 16px 0 14px;
    border: 1.5px solid rgb(255 255 255 / .4);
    border-radius: var(--r-btn);
    background: transparent;
    color: #fff;
    font-family: var(--font-display);
    font-stretch: 104%;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background-color var(--t-med) ease, color var(--t-med) ease, border-color var(--t-med) ease, transform var(--t-slow) var(--ease-out);
  }
  .mobile-toggle[aria-expanded=true] { background: #fff; color: var(--c-navy); border-color: #fff; }
  .mobile-navigation {
    max-height: calc(100dvh - var(--canon-lang) - var(--canon-inner));
    overscroll-behavior: contain;
    padding: 8px 18px 24px;
    background: var(--c-navy);
    border-top: 1px solid rgb(255 255 255 / .1);
    box-shadow: 0 24px 40px -20px rgb(5 14 44 / .7);
  }
  .mobile-navigation > ul { margin: 0; }
  .mobile-navigation > ul > li { border-bottom-color: rgb(255 255 255 / .12); }
  .mobile-navigation > ul > li > a, .mobile-navigation .nav-parent > a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0;
    font-family: var(--font-display);
    font-stretch: 104%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
  }
  .mobile-navigation .nav-parent > a { flex: 1; }
  .mobile-navigation .submenu-toggle { width: 48px; min-width: 48px; min-height: 48px; height: 48px; color: #fff; }
  .mobile-navigation .submenu {
    padding: 6px;
    margin: 0 0 12px;
    border-radius: 12px;
    background: var(--c-navy-deep);
  }
  .mobile-navigation .submenu a { display: flex; align-items: center; min-height: 48px; padding: 8px 14px; color: #e3e9f6; font-size: 15px; font-weight: 600; }
  .mobile-navigation .submenu a:hover { background: rgb(255 255 255 / .08); color: #fff; }
  .mobile-navigation .submenu a[aria-current=page], .mobile-navigation a[aria-current=page] { color: var(--c-gold); background: transparent; }
  /* The last item, Contact Us, is the menu's button. */
  .mobile-navigation > ul > li:last-child { border-bottom: 0; padding-top: 16px; }
  .mobile-navigation > ul > li:last-child > a {
    justify-content: center;
    border-radius: var(--r-btn);
    background: var(--c-gold);
    color: var(--c-navy);
  }
  .mobile-navigation > ul > li:last-child > a[aria-current=page] { color: var(--c-navy); }
}

/* ---------- Tablet and phone layout ---------- */
@media (max-width: 950px) {
  .film-section { grid-template-columns: 1fr; gap: 28px; }
  .quicklinks { gap: 16px; padding-block: 32px 40px; }
  .quicklinks > a { min-height: 0; }
  .quicklinks strong { font-size: 17px; }
  .quicklinks small { font-size: 11px; }
  .quicklinks > a > span { padding: 16px 60px 18px 16px; }
  .quicklinks small .icon { right: 14px; width: 36px; height: 36px; margin-top: -18px; padding: 9px; }
  .section { padding-block: 48px; }
  .press-feature-wrap { padding-top: 48px; }
  .coach-cards.scroll-rail { grid-auto-columns: calc((100% - 48px) / 3); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 650px) {
  body { font-size: 16px; }
  .language-inner { justify-content: flex-end; }
  .language-inner a { padding-block: 0; }
  .hero-controls { min-height: 64px; gap: 4px; padding-inline: 14px; }
  .slide-dots button { width: 44px; }
  .slide-dots span { width: 28px; }
  /* The counter stays announced (aria-live) but gives its room to 44px dots. */
  .slide-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
  .slide-control { width: 44px; height: 44px; }

  .quicklinks {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0 28px;
    border-block: 0;
  }
  .quicklinks > a { flex-direction: row; height: auto; min-height: 112px; border-radius: var(--r-md); }
  .quicklinks img { display: block; width: 116px; flex: 0 0 116px; height: auto; aspect-ratio: 1; align-self: stretch; }
  .quicklinks > a > span { padding: 16px 68px 16px 18px; align-items: flex-start; justify-content: center; }
  .quicklinks strong { font-size: 20px; letter-spacing: .01em; }
  .quicklinks small { font-size: 12px; }
  .quicklinks small .icon { display: block; right: 16px; width: 40px; height: 40px; margin-top: -20px; padding: 11px; }

  .stats { padding: 36px 0; }
  .stats > .wrap > div { padding: 4px 6px; }
  .stats strong { font-size: 40px; font-stretch: 108%; }
  .stats span { font-size: 12px; letter-spacing: .08em; margin-top: 8px; }

  h1, h2 { font-stretch: 100%; }
  .section { padding-block: 40px; }
  .press-feature-wrap { padding-top: 40px; }
  .section-heading { align-items: flex-end; margin-bottom: 20px; gap: 16px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > a { font-size: 13px; max-width: 130px; text-align: right; line-height: 1.25; }

  .cards { gap: 24px; }
  .card img { height: 220px; }
  .card h3 { font-size: 20px; }
  .coach-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .coach-cards .card-copy { padding: 14px 14px 16px; }
  .coach-cards h3 { font-size: 15px; margin-bottom: 14px; }
  .coach-cards .text-link { font-size: 12px; }
  .coach-cards.scroll-rail { grid-auto-columns: 74%; gap: 16px; }

  .calendar-toolbar { padding: 16px; }
  .calendar-arrows h3 { min-width: 140px; font-size: 18px; }
  .calendar-search, .calendar-search input { width: 100%; }
  .month-grid { padding: 14px; gap: 4px; }
  .cal-day { min-height: 44px; padding: 6px 0; font-size: 13px; }
  .event-list { padding: 18px; }

  .instagram-grid { gap: 20px 14px; }
  .home-gallery { columns: 2 140px; column-gap: 12px; }
  .home-gallery a { margin-bottom: 12px; }
  .film-section { padding-block: 40px; gap: 24px; }

  .page-heading { padding: 22px 0 24px; }
  .page-heading h1 { font-size: 27px; font-stretch: 100%; }
  .page-content { padding-top: 32px; }
  .prose { font-size: 16px; }
  .profile-body .article-visual { max-width: 300px; }
  .contact-panel { padding: 24px; gap: 16px; }
  .download-list a { padding: 16px; font-size: 14px; }
  .testimonial-strip article { padding: 24px; }

  .partners { padding-block: 64px; }
  .partner-grid { gap: 12px; }
  .partner-grid > a, .partner-grid > img { min-height: 104px; padding: 16px; }
  .footer { padding-top: 56px; }
  .footer-grid { gap: 32px 20px; }
  .footer h3 { font-size: 12px; }
  .footer a { font-size: 14px; min-height: 44px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-brand strong { font-size: 15px; }
  .lightbox button { width: 44px; min-width: 44px; height: 44px; }

  /* Volunteer slide on phones: QR keeps 144 px of code, the action sits above it. */
  .campaign-invite { flex-direction: column; align-items: flex-start; }
  .campaign-action { font-size: 20px; min-height: 52px; padding: 10px 20px; }
}

@media (max-width: 480px) {
  .campaign-invite { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 20px; }
  .campaign-invite > div { flex: none; }
  .campaign-qr { flex: 0 0 auto; width: 168px; }
  .campaign-benefits li { font-size: 15px; }
}

/* ---------- Motion: reveal on first view (only after canon.js sets html.canon-motion) ---------- */
.canon-motion .canon-reveal {
  opacity: 0;
  transform: translateY(16px);
}
.canon-motion .canon-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 360ms var(--ease-out) var(--canon-delay, 0ms), transform var(--t-slow) var(--ease-out) var(--canon-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .canon-motion .canon-reveal { opacity: 1; transform: none; }
  .canon-condensed .header-inner nav, .canon-condensed .brand, .canon-condensed .mobile-toggle { transition: none; }
  .hero .slide.active { animation: none; }
  .card, .card img, .quicklinks > a, .quicklinks img, .home-gallery a, .home-gallery img, .gallery a, .instagram-grid a, .partner-grid a { transform: none !important; }
  .cf-full img { animation: none; }
}

@media print {
  .canon-ready .site-header { position: static; }
  .film-section, .quicklinks { border-image: none; }
}

/* ---------- Training sessions slide (slide 5) ----------
   Coach and junior stand on the court at the left, the timetable sits on
   the dark side of the hall, the invitation and QR on the gold panel. */
.hero-stage:has(.training-campaign.active) { height: auto; max-height: none; max-width: none; aspect-ratio: auto; overflow: visible; }
.hero-stage:has(.training-campaign.active) .slides { position: relative; }
.slide.training-campaign {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 33%) minmax(0, 1fr) clamp(248px, 23vw, 340px);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-navy-deep);
  color: #fff;
}
.slide.training-campaign[hidden] { display: none; }
.hero .slide.training-campaign.active { animation-name: canon-fade-in; }
.training-visual { position: absolute; inset: 0; z-index: -1; }
.slide .training-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 66%; }
.training-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(14 32 87 / 0) 22%, rgb(14 32 87 / .8) 36%, rgb(14 32 87 / .95) 58%);
}
.training-figure {
  position: absolute;
  z-index: 1;
  left: clamp(8px, 5.5%, 120px);
  bottom: 0;
  height: 95%;
  aspect-ratio: 875 / 1600;
  margin: 0;
}
.training-figure::before {
  content: "";
  position: absolute;
  left: 2%;
  right: -4%;
  bottom: -2%;
  height: 8%;
  background: radial-gradient(closest-side, rgb(5 14 44 / .6), rgb(5 14 44 / 0));
}
.slide .training-figure img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 14px 18px rgb(5 14 44 / .4));
}
.training-copy {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2.4svh, 26px);
  min-width: 0;
  padding: clamp(18px, 3.4svh, 44px) clamp(20px, 2.8vw, 52px) clamp(18px, 3.4svh, 44px) 0;
}
.training-eyebrow {
  margin: 0;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.training-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-size: clamp(34px, min(4.2vw, 8.4svh), 76px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.training-copy h2 span { display: block; color: var(--c-gold); }
.training-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 580px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.training-days li {
  display: grid;
  gap: 2px;
  padding: clamp(8px, 1.5svh, 14px) 16px;
  border: 1px solid rgb(238 217 125 / .6);
  border-radius: 12px;
  background: rgb(255 255 255 / .08);
}
.training-days span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-gold); }
.training-days strong {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.75vw, 27px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap;
}
.training-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 660px; margin: 0; }
.training-points div { padding-top: clamp(6px, 1.2svh, 12px); border-top: 1px solid rgb(255 255 255 / .22); }
.training-points dt { font-size: 15px; font-weight: 700; color: #fff; }
.training-points dd { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: #e6ebf7; text-wrap: pretty; }
.training-invite {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 1.9svh, 20px);
  min-width: 0;
  padding: clamp(16px, 3svh, 36px) clamp(20px, 2vw, 32px);
  background: var(--c-gold);
  color: var(--c-navy);
}
.training-qr {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-navy);
}
.slide .training-qr img {
  flex: 0 0 auto;
  width: clamp(136px, min(10.5vw, 24svh), 176px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(14 32 87 / .12), 0 16px 32px -20px rgb(14 32 87 / .6);
}
.training-cta p { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--c-navy); }
.training-contact { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; color: var(--c-navy); }
.training-contact span { display: block; }
.training-contact a {
  display: block;
  padding: 2px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  color: var(--c-navy);
}
.training-contact a:hover { text-decoration: underline; }
.training-hashtag { margin: 0; font-size: 13px; font-weight: 700; color: var(--c-navy); }
.training-campaign a:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 4px; }
.training-copy a:focus-visible { outline-color: var(--c-gold); }

@media (min-width: 761px) {
  .slide.training-campaign { min-height: clamp(420px, min(44vw, calc(100svh - 250px)), 780px); }
}
@media (min-width: 761px) and (max-width: 1040px) {
  .slide.training-campaign { grid-template-columns: minmax(0, 30%) minmax(0, 1fr) 232px; }
  .training-figure { left: 0; height: 88%; }
  .training-points { grid-template-columns: 1fr; gap: 8px; }
  .training-days { gap: 8px; }
  .training-days li { padding-inline: 10px; }
  .training-days strong { font-size: 17px; }
  .training-days span { font-size: 11px; }
  .slide .training-qr img { width: 120px; }
  .training-qr { font-size: 14px; gap: 10px; }
}
@media (max-width: 760px) {
  .slide.training-campaign { display: flex; flex-direction: column; }
  .training-copy { display: contents; }
  .training-eyebrow { order: 1; padding: 28px 22px 0; font-size: 12px; }
  .training-copy h2 { order: 1; padding: 10px 22px 24px; font-size: clamp(40px, 11.5vw, 60px); }
  .training-visual { position: relative; order: 2; z-index: 0; height: min(92vw, 440px); }
  .slide .training-bg { object-position: 16% 70%; }
  .training-visual::after { background: linear-gradient(180deg, rgb(14 32 87 / .9) 0%, rgb(14 32 87 / 0) 26%); }
  .training-figure { left: 50%; height: 94%; transform: translateX(-50%); }
  .training-days { order: 3; max-width: none; padding: 24px 22px 8px; }
  .training-days strong { font-size: clamp(17px, 4.9vw, 24px); }
  .training-days li { padding-inline: 12px; }
  .training-points { order: 4; grid-template-columns: 1fr; max-width: none; padding: 12px 22px 28px; }
  .training-points dt { font-size: 16px; }
  .training-points dd { font-size: 15px; }
  .training-invite { order: 5; padding: 26px 22px 28px; gap: 18px; }
  .slide .training-qr img { width: 168px; }
  .training-contact a { min-height: 44px; padding: 8px 0; font-size: 19px; }
}
.training-cta .campaign-action { white-space: nowrap; font-size: clamp(18px, 1.5vw, 24px); }

/* ---------- Play and practice venues ---------- */
/* One block per venue: name across the top, photo with the facts under it on one side,
   the description on the other. Sides swap on every other venue, like the home highlights. */
.venues { display: grid; gap: 48px; }
.venue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "head head" "media body" "facts body";
  column-gap: 56px;
}
.venue:nth-child(even) { grid-template-areas: "head head" "body media" "body facts"; }
.venue + .venue { padding-top: 48px; border-top: 1px solid var(--c-line); }
.venue > h2 {
  grid-area: head;
  margin: 0 0 28px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--c-navy);
}
.venue-media { grid-area: media; margin: 0; }
.venue-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--c-line);
}
.venue-body { grid-area: body; max-width: none; margin: 0; }
.venue-body > :first-child { margin-top: 0; }
.venue-body > :last-child { margin-bottom: 0; }
.venue-body p { margin: 0 0 16px; max-width: 62ch; }
.venue-body ul {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--c-line);
  font-size: 15px;
  line-height: 1.4;
}
.venue-body li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}
.venue-body li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-navy);
  transform: translateY(-2px);
}
.venue-facts {
  grid-area: facts;
  align-self: start;
  margin: 24px 0 0;
  padding: 4px 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
}
.venue-facts > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}
.venue-facts > div + div { border-top: 1px solid var(--c-line); }
.venue-facts dt {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  min-height: 24px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.venue-facts dt .icon { flex: none; width: 20px; height: 20px; color: var(--c-navy); }
.venue-facts dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-ink); overflow-wrap: anywhere; }
.venue-facts a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: underline;
  text-decoration-color: rgb(20 43 112 / .45);
  text-underline-offset: 3px;
}
.venue-facts a:hover { text-decoration-color: var(--c-navy); }
@media (max-width: 950px) {
  .venues { gap: 40px; }
  .venue, .venue:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "head" "media" "body" "facts";
  }
  .venue + .venue { padding-top: 40px; }
  .venue > h2 { margin-bottom: 20px; }
  .venue-body { margin-top: 24px; }
}
@media (max-width: 650px) {
  .venues { gap: 32px; }
  .venue + .venue { padding-top: 32px; }
  .venue-media img { border-radius: var(--r-md); }
  .venue-facts { padding: 4px 18px; }
  .venue-facts > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
  .venue-body ul { grid-template-columns: minmax(0, 1fr); }
}

/* Inner pages: the content section already ends with its own bottom padding, so the partners
   band that follows starts closer instead of stacking two full paddings. */
main:has(> .page-content:last-child) + .partners { padding-top: 16px; }

/* Profile pages: the text column starts level with the top of the portrait. */
.profile-body > .prose > :first-child { margin-top: 0; }
.profile-credentials > :first-child { margin-top: 0; }
.profile-credentials > :last-child { margin-bottom: 0; }
/* Members page: the people cards sit under the intro. */
/* Text and cards share one 760px column, so their left and right edges line up. */
.article-body:has(+ .team-cards) { max-width: 760px; }
.article-body:has(+ .team-cards) > .prose { max-width: none; }
.team-cards { max-width: 760px; margin: 40px auto 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 650px) {
  .team-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
}

/* Get Involved pages: the lead photo starts at the text's left edge instead of floating in the middle,
   and the first block sits right under the page heading. */
.involve-body > .prose > img { margin-inline: 0; }
.involve-body > .prose > :first-child { margin-top: 0; }

/* Article pages: the text starts flush under the page heading, and a leading sub-heading
   (History) reads as a heading rather than as a bold line of body text. */
.article-body > .prose > :first-child { margin-top: 0; }
.article-body > .prose > h4:first-child { font-size: 21px; line-height: 1.3; margin-bottom: 20px; }

/* Cookie consent (shown only when a Google Analytics / Ads ID is set in the editor). Both choices weigh the same. */
.legal-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.consent-banner { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 16px 20px; background: #fff; color: #142b70; border: 1px solid rgb(20 43 112 / .16); border-radius: 14px; box-shadow: 0 12px 40px rgb(20 43 112 / .22); font-size: 14px; line-height: 1.5; }
.consent-banner p { flex: 1 1 320px; margin: 0; }
.consent-banner a { color: inherit; text-decoration: underline; }
.consent-banner div { display: flex; gap: 8px; margin-left: auto; }
.consent-banner button { min-height: 44px; padding: 0 20px; border: 1.5px solid #142b70; border-radius: 999px; background: #fff; color: #142b70; font: inherit; font-weight: 700; cursor: pointer; }
.consent-banner button:hover { background: #142b70; color: #fff; }
.consent-banner button:focus-visible { outline: 3px solid #eed97d; outline-offset: 2px; }
@media (max-width: 480px) { .consent-banner div { width: 100%; } .consent-banner button { flex: 1; } }

/* ---------- Review fixes, November 2026 ---------- */
/* Reading measure: a text column of about 85 characters instead of 97, with its pictures at the same width. */
.article-body:not(.profile-body) > .prose { max-width: 680px; margin-inline: auto; padding-inline: 0; }
@media (min-width: 651px) { .prose { font-size: 17px; } }

/* "In the press" is a plain label in the meta line, not a gold pill above the heading. */
.press-kicker { background: none; padding: 0; border-radius: 0; color: var(--c-gold); }

/* Mobile menu button says what it will do; the page behind an open menu does not scroll. */
.mobile-toggle .when-closed, .mobile-toggle .when-open { display: inline-flex; align-items: center; gap: 10px; }
.mobile-toggle .when-open, .mobile-toggle[aria-expanded=true] .when-closed { display: none; }
.mobile-toggle[aria-expanded=true] .when-open { display: inline-flex; }
html.menu-open { overflow: hidden; }

/* Every pressable control answers a press. */
.mobile-toggle:active, .calendar-arrows button:active, .submenu-toggle:active { scale: .97; }

/* ---------- First screen: message and one action under the photograph ---------- */
.hero-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 20px max(32px, calc((100% - 1160px) / 2));
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}
.hero-welcome-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; min-width: 0; }
.hero-welcome-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-stretch: 106%; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.01em; color: var(--c-navy); }
.hero-welcome-days { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--c-muted); }
.hero-welcome-days strong { color: var(--c-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-welcome .button { flex: none; }
@media (max-width: 760px) {
  .hero-welcome { flex-direction: column; align-items: stretch; padding: 20px 18px 22px; }
  .hero-welcome-copy { flex-direction: column; gap: 8px; }
  .hero-welcome .button { justify-content: center; }
}

/* The contact card closing a page (venues, Get Involved) rather than opening it. */
.contact-panel-end { max-width: 820px; margin: 56px auto 0; }
@media (max-width: 650px) { .contact-panel-end { margin-top: 40px; } }
.article-body + .contact-panel-end { max-width: 680px; padding: 32px; gap: 28px; }

/* A picture that is still loading shows as a quiet panel, not as a hole in the page. */
/* Not on the article lead picture: it is fitted inside its frame, and a tint would show as bars beside it. */
.prose img, .venue img { background-color: var(--c-surface-2); }

/* Downloads is the first item right of the crest: its menu opens under its own label, clear of the logo. */
.header-inner .nav-right > ul > li:first-child > .submenu { left: -15px; right: auto; }
.download-list span:last-child { white-space: nowrap; }
@media (max-width: 650px) { .download-list a { gap: 10px; } .download-list span:last-child { font-size: 11px; letter-spacing: .03em; padding-inline: 8px; } }

/* ---------- Downloads: one row per document, one button per language ---------- */
.doc-list { list-style: none; margin: 0 auto; padding: 0; max-width: 850px; display: grid; gap: 8px; }
.doc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 16px 14px 20px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.doc-name { font-weight: 700; color: var(--c-navy); }
.doc-files { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.doc-files a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn); background: var(--c-surface-2); color: var(--c-navy); text-decoration: none; font-family: var(--font-display); font-size: 13px; letter-spacing: .04em; white-space: nowrap; transition: background-color var(--t-med) ease, transform var(--t-fast) var(--ease-out); }
.doc-files a .icon { width: 16px; height: 16px; }
.doc-files a b { font-weight: 700; }
.doc-files a small { font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--c-muted); }
.doc-files a.is-current { background: var(--c-gold); }
.doc-files a.is-current small { color: var(--c-navy); }
.doc-files a:hover { background: #e3e9f6; }
.doc-files a.is-current:hover { background: var(--c-gold-hover); }
.doc-files a:active { transform: scale(.97); }
@media (max-width: 650px) {
  .doc-list li { flex-direction: column; align-items: stretch; padding: 16px; }
  .doc-files { justify-content: flex-start; }
}
/* The same grouping in the Downloads menu. */
.submenu .submenu-doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.submenu .submenu-doc > span:first-child { padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--c-ink); }
.submenu .submenu-langs { display: flex; gap: 2px; }
.submenu .submenu-langs a { min-width: 40px; padding-inline: 8px; justify-content: center; text-align: center; font-weight: 700; }
@media (max-width: 950px), (pointer: coarse) and (max-width: 1366px) {
  .mobile-navigation .submenu .submenu-doc > span:first-child { color: #e3e9f6; font-size: 15px; }
}

/* "In the press" on the light surface: it no longer stacks a navy panel under the navy stats band. */
.press-feature { background: var(--c-surface-2); color: var(--c-ink); }
.press-feature h2, .press-kicker, .press-facts dd { color: var(--c-navy); }
.press-summary { color: var(--c-ink); }
.press-meta, .press-facts dt, .press-action small { color: var(--c-muted); }
.press-facts { border-top-color: var(--c-line-strong); }
.press-feature :focus-visible { outline-color: var(--c-navy); }

/* Where to get the Spond app, under the calendar. */
.calendar-app { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 20px 0 0; font-size: 15px; color: var(--c-muted); }
.calendar-app span { margin-right: 6px; }
.calendar-app .button { min-height: 44px; padding: 0 16px; font-size: 13px; }
.calendar-app .button .icon { width: 16px; height: 16px; }
/* Page not found: the club photo, one line of help and the four places people usually want. */
.not-found .article-visual { max-width: 680px; margin-inline: auto; }
.not-found .directory { max-width: 680px; margin: 28px auto 0; }

/* ---------- Contact form (Contact page) ---------- */
.contact-panel-form { align-items: start; }
.contact-lines > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
}
.contact-lines > a:hover { text-decoration: underline; }
.contact-lines > p:last-child { margin-top: 12px; }
.contact-form { display: grid; gap: 16px; scroll-margin-top: calc(var(--canon-bar) + 32px); }
.contact-form p { margin: 0; }
.cf-field { display: grid; gap: 6px; }
.cf-field label { font-size: 14px; font-weight: 700; color: var(--c-ink); }
.cf-field input,
.cf-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.cf-field textarea { min-height: 150px; resize: vertical; }
.cf-field input:hover,
.cf-field textarea:hover { border-color: var(--c-navy-soft); }
.cf-field input:focus-visible,
.cf-field textarea:focus-visible { outline: 0; border-color: var(--c-navy); box-shadow: 0 0 0 3px rgb(20 43 112 / .18); }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .cf-note { font-size: 13px; color: var(--c-muted); }
.cf-note a { color: var(--c-navy); }
.cf-actions .button { margin: 0; cursor: pointer; }
.cf-actions .button:disabled { opacity: .6; cursor: progress; }
.contact-form .cf-status { font-size: 15px; font-weight: 700; color: var(--c-navy); }
.cf-status:empty { display: none; }
.cf-status[data-state="ok"] { padding: 12px 16px; border-radius: var(--r-sm); background: var(--c-gold-wash); }
.cf-status[data-state="error"] { padding: 12px 16px; border-radius: var(--r-sm); background: #fdecec; color: #8f1d1d; }

/* ---------- Event pages: photo beside the description (November 2026) ---------- */
/* From tablet width up the picture sits to the left of the text, as on the old event pages; on a phone it stays on top. */
@media (min-width: 900px) {
  .event-meta:has(+ .event-body) { max-width: 1040px; }
  .article-body.event-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; max-width: 1040px; }
  .event-body > .article-visual { margin: 0; position: sticky; top: 24px; }
  .event-body .article-image { width: 100%; max-width: none; max-height: 560px; }
  .article-body.event-body > .prose { max-width: none; margin-inline: 0; }
}

/* Contact Us: bank details inside the contact card, under the address lines. */
.contact-bank { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.contact-bank h3 { margin: 0 0 12px; font-size: 18px; color: var(--c-navy); }
.contact-bank p { margin: 0 0 6px; font-size: 15px; color: var(--c-ink); overflow-wrap: anywhere; }
.contact-bank p:last-child { margin-bottom: 0; }
