/* ============================================================
   Brighton & Hove ABC — Design System
   Palette: #D60004 / #000 / #FFF / #000321
   ============================================================ */

:root {
  --red: #D60004;
  --red-deep: #A40004;
  --red-glow: #ff1f24;
  --black: #000000;
  --ink: #0b0b0e;
  --night: #000321;
  --bone: #f4f1ec;
  --paper: #faf8f5;
  --line: rgba(255,255,255,0.10);
  --line-dark: rgba(0,0,0,0.12);
  --muted: rgba(255,255,255,0.62);
  --muted-dark: rgba(0,0,0,0.58);

  --font-display: "Anton", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
*, *::before, *::after { min-width: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #0e0e10;
  background: var(--paper);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(214,0,4,0.18);
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.display, h1, h2, h3 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-feature-settings: "kern" 1, "liga" 1;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--red); color: #fff; }

/* Typography */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--red);
  display: inline-block;
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
  margin: 0;
}
h1.display { font-size: clamp(40px, 7vw, 120px); }
h2.display { font-size: clamp(32px, 5vw, 72px); }
h3.display { font-size: clamp(22px, 3.2vw, 44px); }

.serif-italic { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Containers */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.section--dark { background: var(--black); color: #fff; }
.section--ink { background: var(--ink); color: #fff; }
.section--bone { background: var(--bone); }

/* ============================================================
   Top announcement bar
   ============================================================ */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px var(--gutter);
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .topbar { font-size: 10px; letter-spacing: 0.12em; }
  .topbar__inner { gap: 10px; padding: 6px var(--gutter); justify-content: center; text-align: center; }
}
.topbar__inner span { opacity: 0.78; }
.topbar__inner .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.topbar__inner .pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.28);
  animation: pulse 0.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(255,255,255,0.32); }
  50%      { opacity: 0.2;  box-shadow: 0 0 0 2px rgba(255,255,255,0.08); }
}
@media (max-width: 760px) { .topbar__inner span.hide-sm { display: none; } }

/* ============================================================
   Header / nav
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--line);
  color: #fff;
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; transition: transform .25s var(--ease); }
.brand:hover { transform: scale(1.04); }
.brand img {
  height: 80px;
  width: auto;
  filter:
    drop-shadow(0 0 0 #fff)
    drop-shadow(0 4px 24px rgba(214,0,4,0.55))
    drop-shadow(0 0 40px rgba(214,0,4,0.25));
  transition: filter .25s var(--ease);
}
.brand:hover img {
  filter:
    drop-shadow(0 0 0 #fff)
    drop-shadow(0 6px 30px rgba(214,0,4,0.7))
    drop-shadow(0 0 50px rgba(214,0,4,0.4));
}
.brand__txt { display: none; }
@media (max-width: 1024px) {
  .header__inner { padding: 8px var(--gutter); }
  .brand img { height: 64px; }
}
@media (max-width: 480px) {
  .brand img { height: 52px; }
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.82;
  transition: opacity .2s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a.is-active { opacity: 1; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--red);
}
.nav .btn-cta {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-left: 8px;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 8px 30px rgba(214,0,4,0.35);
  opacity: 1;
}
.nav .btn-cta:hover { background: var(--red-glow); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .menu-toggle.is-open {
    position: fixed;
    top: 14px;
    right: var(--gutter);
    z-index: 100;
    background: rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .nav {
    position: fixed; inset: 0; top: 0;
    background: #000;
    flex-direction: column;
    align-items: stretch; justify-content: center;
    padding: 80px var(--gutter) 40px;
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    font-size: clamp(22px, 6vw, 32px);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    letter-spacing: 0.04em;
  }
  .nav a.is-active::after { display: none; }
  .nav .btn-cta {
    margin-top: 28px;
    align-self: flex-start;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 14px 26px;
    border-bottom: 0;
    box-shadow: 0 6px 18px rgba(214,0,4,0.3);
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
  min-height: 48px;
  cursor: pointer;
}
@media (max-width: 480px) {
  .btn { padding: 14px 22px; font-size: 12px; letter-spacing: 0.14em; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 auto; }
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 12px 40px rgba(214,0,4,0.35); }
.btn--red:hover { background: var(--red-glow); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn--ink { background: var(--black); color: #fff; }
.btn--ink:hover { background: #1a1a1f; }
.btn::after {
  content: "→";
  font-family: var(--font-body);
  font-weight: 400;
  transition: transform .25s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(72vh, 720px);
  min-height: min(72svh, 720px);
  color: #fff;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.05) 65%, transparent 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
  opacity: 0.35;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: min(72vh, 720px);
  min-height: min(72svh, 720px);
  padding: 96px var(--gutter) 44px;
  max-width: var(--maxw);
  margin: 0 auto;
}
@media (max-width: 760px) {
  .hero__inner {
    min-height: auto;
    grid-template-rows: auto;
    padding: 70px var(--gutter) 40px;
    gap: 28px;
  }
}
.hero__est {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
}
.hero__copy { align-self: end; max-width: 1100px; }
.hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.005em;
  margin: 14px 0 0;
  text-transform: uppercase;
  word-break: break-word;
  hyphens: auto;
}
@media (max-width: 760px) {
  .hero__copy h1 { font-size: clamp(28px, 7.5vw, 52px); line-height: 1.0; }
}
.hero__copy h1 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -0.01em;
}
.hero__lead {
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 600px;
  opacity: 0.78;
  margin: 32px 0 0;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__meta {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__meta > div {
  padding: 22px 26px 22px 0;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.hero__meta > div:last-child { border-right: 0; }
.hero__meta .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.55; }
.hero__meta .v { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); margin-top: 6px; line-height: 1; word-break: break-word; }
@media (max-width: 760px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .hero__meta > div { padding: 12px 14px 12px 0; }
  .hero__meta > div:nth-child(2) { border-right: 0; padding-left: 14px; padding-right: 0; }
  .hero__meta > div:nth-child(4) { padding-left: 14px; padding-right: 0; }
  .hero__meta > div:nth-child(1),
  .hero__meta > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hero__meta .v { font-size: 17px; }
  .hero__meta .k { font-size: 9px; }
  .hero__est { display: none; }
  .hero__lead { font-size: 14.5px; margin-top: 20px; }
  .hero .kicker { font-size: 10px; letter-spacing: 0.22em; }
  .hero__cta { margin-top: 24px; }
}

/* Ticker / marquee */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.18);
}
.ticker__track {
  display: flex;
  gap: clamp(28px, 5vw, 60px);
  padding: 16px 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: marquee 38s linear infinite;
  will-change: transform;
  width: max-content;
}
@media (max-width: 760px) { .ticker__track { animation-duration: 28s; } }
.ticker__track > span {
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: auto;
  min-width: max-content;
}
.ticker__track > span::after {
  content: "✦";
  font-size: 0.6em;
  opacity: 0.7;
  font-family: var(--font-body);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Coach grid — smaller portrait cards under the board
   ============================================================ */
.coaches-section {
  background: var(--paper);
  padding: clamp(64px, 9vw, 120px) 0;
}
.coaches-section--dark { background: var(--ink); color: #fff; }
.coaches-section--dark .coach__name { color: #fff; }
.coaches-section--dark .coach__role { color: rgba(255,255,255,0.55); }

.coaches-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 760px) {
  .coaches-head { grid-template-columns: 1fr; gap: 14px; }
}

.coach-grid {
  --coach-gap: clamp(24px, 3vw, 44px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--coach-gap);
}
.coach {
  flex: 0 0 calc((100% - var(--coach-gap) * 2) / 3);
  max-width: calc((100% - var(--coach-gap) * 2) / 3);
}
@media (max-width: 760px) {
  .coach {
    flex-basis: calc((100% - var(--coach-gap)) / 2);
    max-width: calc((100% - var(--coach-gap)) / 2);
  }
}
@media (max-width: 460px) {
  .coach { flex-basis: 100%; max-width: 100%; }
}

.coach {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.coach__img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center top;
  background-color: #111;
  position: relative;
  overflow: hidden;
  margin: 14px 0 0;
  transition: filter .35s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
  filter: grayscale(0.15);
  border: 3px solid var(--red);
  box-shadow: 0 12px 32px rgba(214,0,4,0.22);
}
.coach__img::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.45));
  opacity: 0.85;
  transition: opacity .25s var(--ease);
}
.coach:hover .coach__img {
  filter: grayscale(0);
  border-color: var(--red-glow);
  box-shadow: 0 18px 44px rgba(214,0,4,0.4);
  transform: translateY(-3px);
}
.coach:hover .coach__img::after { opacity: 0.45; }

.coach__img--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(214,0,4,0.18), transparent 55%),
    linear-gradient(135deg, #1a1a1f 0%, #0c0c10 100%);
  display: flex; align-items: center; justify-content: center;
  filter: none;
}
.coach__img--placeholder::before {
  content: attr(data-initial);
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 120px);
  color: var(--red);
  opacity: 0.85;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 6px 30px rgba(214,0,4,0.35);
}

.coach__name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 6px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.005em;
}
.coach__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
}
.coaches-section--dark .coach__role { color: var(--red); }

/* Red Instagram icon under each card */
.coach__ig {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.coach__ig:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(214,0,4,0.4);
}
.coach__ig svg { width: 18px; height: 18px; display: block; }

/* ============================================================
   Section background (image with dark overlay)
   ============================================================ */
.section--bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000 !important;
}
.section__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.2) brightness(0.85);
  z-index: 0;
}
.section__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.92) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.section--bg > .container,
.section--bg > div:not(.section__photo) { position: relative; z-index: 1; }

/* ============================================================
   Contact CTA cards (sponsorship + general enquiries)
   ============================================================ */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 5vw, 60px);
}
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* CTA stack with photo panel on the right */
.cta-with-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(40px, 5vw, 60px);
  align-items: stretch;
}
.cta-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}
.cta-stack .cta-card { height: 100%; }
.cta-stack--row {
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 5vw, 60px);
}
@media (max-width: 760px) {
  .cta-stack--row { grid-template-columns: 1fr; }
}
.cta-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  min-height: 480px;
  position: relative;
  overflow: hidden;
  filter: grayscale(0.1);
  transition: filter .3s var(--ease);
}
.cta-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
  pointer-events: none;
}
.cta-photo:hover { filter: grayscale(0); }
@media (max-width: 880px) {
  .cta-with-photo { grid-template-columns: 1fr; }
  .cta-photo { min-height: 320px; order: -1; }
}

.cta-card {
  background: #111114;
  border: 1px solid var(--line);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(214,0,4,0.18), transparent 70%);
  pointer-events: none;
}
.cta-card:hover { border-color: var(--red); transform: translateY(-3px); }
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
  color: #fff;
}
.cta-card p {
  color: rgba(255,255,255,0.65);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}
.cta-card .btn { align-self: flex-start; margin-top: 8px; }

/* ============================================================
   Logo strip — spinning partner / supporter logos
   ============================================================ */
.logo-strip {
  background: var(--black);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  overflow: hidden;
  position: relative;
}
.logo-strip__head {
  text-align: center;
  margin-bottom: 24px;
}
.logo-strip__head .eyebrow { color: rgba(255,255,255,0.7); }
.logo-strip__head .eyebrow::before { background: rgba(255,255,255,0.4); }
.logo-strip__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logo-strip__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.logo-strip__item {
  flex: 0 0 auto;
  width: clamp(160px, 18vw, 220px);
  height: clamp(80px, 9vw, 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.logo-strip__item:first-child { border-left: 1px solid rgba(255,255,255,0.06); }
.logo-strip__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity .25s var(--ease);
}
.logo-strip__item:hover img { opacity: 1; }
@media (max-width: 760px) {
  .logo-strip { padding: 24px 0; }
  .logo-strip__track { animation-duration: 45s; }
  .logo-strip__item { padding: 10px 20px; }
}

/* ============================================================
   Heritage block (since 1946)
   ============================================================ */
.heritage {
  background: var(--paper);
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.heritage__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 880px) {
  .heritage__inner { grid-template-columns: 1fr; }
}
.heritage h2 { font-size: clamp(34px, 4.6vw, 64px); }
.heritage__lead { font-size: clamp(15px, 2vw, 19px); line-height: 1.6; max-width: 540px; margin: 28px 0 0; color: #2a2a30; }
.heritage__lead em { color: var(--red); font-style: normal; font-weight: 600; }

.heritage__year {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: clamp(36px, 6vw, 56px) clamp(28px, 5vw, 44px);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
}
.heritage__year::before {
  content: "1946";
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(220px, 30vw, 360px);
  line-height: 0.8;
  right: -20px;
  bottom: -36px;
  opacity: 0.08;
  letter-spacing: -0.02em;
  z-index: -1;
}
.heritage__year .kicker { color: var(--red); }
.heritage__year h3 { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px); margin: 14px 0 18px; line-height: 1.05; }
.heritage__year p { opacity: 0.74; line-height: 1.6; }
.heritage__year .stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.heritage__year .stats div { border-top: 1px solid var(--line); padding-top: 16px; }
.heritage__year .stats .n { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); color: var(--red); line-height: 1; }
.heritage__year .stats .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; margin-top: 6px; }

/* ============================================================
   Programs grid
   ============================================================ */
.programs {
  background: var(--paper);
  color: #0e0e10;
}
.programs__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
.programs__head p { color: var(--muted-dark); max-width: 520px; margin: 16px 0 0; font-size: clamp(15px, 1.8vw, 17px); }
@media (max-width: 760px) {
  .programs__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.program {
  position: relative;
  background: #0f0f12;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: #fff;
  cursor: default;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.program__img {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center 28%;
  filter: grayscale(0.1) brightness(0.92);
  transition: transform .8s var(--ease), filter .6s var(--ease);
  flex-shrink: 0;
}
.program__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.program__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
}
.program h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 0.98;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.program p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.82;
  margin: 0;
}
.program p + p { margin-top: -2px; }
.program p a { color: var(--red); }
.program p a:hover { text-decoration: underline; }
.program .btn { align-self: flex-start; margin-top: 14px; }
.program:hover .program__img { transform: scale(1.04); filter: grayscale(0) brightness(1); }
.program:hover { border-color: var(--red); box-shadow: 0 30px 80px rgba(0,0,0,0.4); }

/* Image height variation reinforces the bento rhythm */
.program.span-6 .program__img { height: 440px; }
.program.span-4 .program__img { height: 340px; }
.program.span-8 .program__img { height: 400px; }
.program.span-12 .program__img { height: 500px; }
@media (max-width: 980px) {
  .program.span-6 .program__img,
  .program.span-8 .program__img,
  .program.span-12 .program__img { height: 380px; }
  .program.span-4 .program__img { height: 300px; }
}
@media (max-width: 640px) {
  .program.span-6 .program__img,
  .program.span-4 .program__img,
  .program.span-8 .program__img,
  .program.span-12 .program__img { height: 300px; }
}

/* Grid spans — bento layout */
.program.span-6 { grid-column: span 6; min-height: 440px; }
.program.span-4 { grid-column: span 4; }
.program.span-8 { grid-column: span 8; min-height: 380px; }
.program.span-12 { grid-column: span 12; min-height: 320px; }
@media (max-width: 980px) {
  .program.span-6, .program.span-8, .program.span-12 { grid-column: span 12; min-height: 320px; }
  .program.span-4 { grid-column: span 6; min-height: 300px; }
}
@media (max-width: 640px) {
  .program.span-6, .program.span-4, .program.span-8, .program.span-12 { grid-column: span 12; min-height: 280px; }
  .program { padding: 24px 20px; }
  .program__num, .program__tag { top: 18px; left: 20px; right: auto; }
  .program__tag { left: auto; right: 20px; }
}

/* ============================================================
   Champions strip
   ============================================================ */
.champs {
  background: var(--black);
  color: #fff;
  padding: clamp(72px, 10vw, 120px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.champs h2 { font-size: clamp(30px, 4vw, 56px); }
.champs__sub { font-family: Georgia, serif; font-style: italic; max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 17px; }
.champs__row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.champs__row div {
  padding: 22px 12px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 21px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.champs__row div:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 1000px) { .champs__row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .champs__row { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ============================================================
   Leadership / coaches
   ============================================================ */
.leaders { background: var(--ink); color: #fff; }
.leaders__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.leaders__head p { color: var(--muted); max-width: 480px; font-size: clamp(15px, 2vw, 17px); line-height: 1.6; }
@media (max-width: 800px) { .leaders__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; } }

.leaders__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 960px) {
  .leaders__grid { grid-template-columns: repeat(2, 1fr); }
  /* Below 3-across, the "middle" spot no longer exists —
     bring Scott (2nd in the markup) to the front */
  .leaders__grid .leader:nth-child(2) { order: -1; }
}
@media (max-width: 620px) { .leaders__grid { grid-template-columns: 1fr; } }
.leader {
  position: relative;
}
.leader__img {
  aspect-ratio: 4/5;
  background: #111;
  background-size: cover;
  background-position: center top;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--red);
  box-shadow: 0 12px 32px rgba(214,0,4,0.22);
  filter: grayscale(0.15);
  transition: filter .35s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease);
}
.leader__img::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.6));
}
.leader:hover .leader__img {
  filter: grayscale(0);
  border-color: var(--red-glow);
  box-shadow: 0 18px 44px rgba(214,0,4,0.4);
  transform: translateY(-3px);
}
.leader__role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.leader__name { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; margin: 0 0 14px; text-transform: uppercase; color: #fff; }
.leader__bio { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,0.78); max-width: 42ch; }
.leader__credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.leader__credentials span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   Mission strip
   ============================================================ */
.mission {
  background: var(--red);
  color: #fff;
  padding: clamp(56px, 9vw, 120px) 0;
  text-align: center;
}
.mission q {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  quotes: none;
  word-break: break-word;
}
.mission q::before, .mission q::after { content: ""; }
.mission cite {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-style: normal;
  opacity: 0.85;
}

/* ============================================================
   Contact / Info strip
   ============================================================ */
.info {
  background: var(--black);
  color: #fff;
}
.info__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .info__grid { grid-template-columns: 1fr; } }

.hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.hours__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hours__row:nth-child(2n) { padding-left: 24px; }
.hours__row:nth-child(2n-1) { padding-right: 24px; }
.hours__row .day { opacity: 0.7; }
.hours__row .t { color: #fff; }
.hours__row.closed .t { color: var(--red); }
@media (max-width: 600px) { .hours { grid-template-columns: 1fr; } .hours__row:nth-child(n) { padding: 16px 0; } }

.info__card { background: #111114; border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 32px); }
.info__card h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.info__card a, .info__card p { color: #fff; font-size: clamp(16px, 2vw, 18px); line-height: 1.5; margin: 0 0 8px; opacity: 0.92; word-break: break-word; }
.info__card a:hover { color: var(--red-glow); }
.info__card .info__section { padding: 20px 0; border-top: 1px solid var(--line); }
.info__card .info__section:first-child { padding-top: 0; border-top: 0; }
.info__card .info__section:last-child { padding-bottom: 0; }
.info__card .info__section a:last-child,
.info__card .info__section p:last-child { margin-bottom: 0; }
.info__card .info__link {
  display: inline-block;
  margin-top: 4px;
  color: var(--red-glow);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--black);
  color: #fff;
  padding: clamp(64px, 10vw, 100px) 0 36px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 64px; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); max-width: 320px; line-height: 1.6; font-size: 14.5px; }
.footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin: 0 0 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: rgba(255,255,255,0.78); font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
  color: #fff;
}
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 16px; height: 16px; }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.pageheader {
  background-color: var(--black);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.92) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 65%, transparent 100%),
    url('hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pageheader::before {
  content: attr(data-bignum);
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(120px, 26vw, 360px);
  line-height: 0.8;
  right: -20px; bottom: -40px;
  opacity: 0.06;
  letter-spacing: -0.02em;
  z-index: -1;
  color: #fff;
  pointer-events: none;
}
.pageheader h1 { font-family: var(--font-display); font-size: clamp(38px, 7vw, 96px); line-height: 0.95; text-transform: uppercase; margin: 18px 0 0; word-break: break-word; }
.pageheader p { color: var(--muted); max-width: 660px; font-size: clamp(15px, 2vw, 18px); line-height: 1.6; margin-top: 26px; }
.crumbs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
@media (max-width: 600px) {
  .pageheader { padding: clamp(100px, 22vw, 140px) 0 clamp(40px, 8vw, 70px); }
}

/* ============================================================
   Detailed class list (classes page)
   ============================================================ */
/* The ClubManager embed is cross-origin with no resize messaging, so the
   parent page cannot know the timetable's true height (it varies weekly).
   Heights below are tuned per breakpoint; scrolling="auto" on the iframe
   is the safety net so classes can never be clipped on a busy week. */
.timetable-iframe {
  width: 100%;
  display: block;
  background: #fff;
  border: 4px solid var(--red);
  margin-top: 12px;
  height: 1680px;
  box-shadow:
    0 0 0 1px rgba(214,0,4,0.15),
    0 18px 50px rgba(214,0,4,0.28),
    0 0 60px rgba(214,0,4,0.18);
  transition: box-shadow .35s var(--ease), border-color .25s var(--ease);
}
@media (max-width: 900px) {
  .timetable-iframe { height: 4200px; }
}
@media (max-width: 600px) {
  .timetable-iframe { height: 6950px; }
}
.timetable-iframe:hover {
  border-color: var(--red-glow);
  box-shadow:
    0 0 0 1px rgba(214,0,4,0.2),
    0 22px 60px rgba(214,0,4,0.4),
    0 0 90px rgba(214,0,4,0.28);
}

/* App download row */
.app-download {
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  background: var(--black);
  color: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.app-download::before {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(214,0,4,0.22), transparent 65%);
  pointer-events: none;
}
.app-download__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
@media (max-width: 760px) {
  .app-download__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
}
.app-download .eyebrow { color: var(--red); }
.app-download h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  margin: 14px 0 14px;
  text-transform: uppercase;
}
.app-download p {
  color: rgba(255,255,255,0.78);
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  margin: 0;
  max-width: 52ch;
}
.app-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 760px) {
  .app-badges { justify-content: center; }
}
.app-badges a {
  display: inline-block;
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.app-badges a:hover { transform: translateY(-3px); filter: drop-shadow(0 10px 20px rgba(214,0,4,0.4)); }
.app-badges img {
  height: clamp(48px, 6vw, 64px);
  width: auto;
  display: block;
}

.classes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  margin-top: 24px;
}
@media (max-width: 880px) {
  .classes-grid { grid-template-columns: 1fr; gap: 32px; }
}
/* If there's an odd card at the end, centre it at single-card width */
.classes-grid > .class-item:nth-child(odd):last-child {
  grid-column: 1 / -1;
  max-width: calc((100% - clamp(40px, 5vw, 72px)) / 2);
  justify-self: center;
  width: 100%;
}
@media (max-width: 880px) {
  .classes-grid > .class-item:nth-child(odd):last-child {
    max-width: none;
  }
}
.class-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line-dark);
  align-items: stretch;
}
.class-item__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; color: var(--red); }
.class-item h3 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 44px); line-height: 0.95; margin: 0; text-transform: uppercase; }
.class-item__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.class-item__meta span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line-dark); border-radius: 999px;
}
.class-item__body { font-size: 15.5px; line-height: 1.7; color: #2c2c33; }
.class-item__body img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 18px;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 960px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing__grid { grid-template-columns: 1fr; gap: 18px; } }
.plan {
  background: #fff;
  border: 1px solid var(--line-dark);
  padding: 40px 32px;
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.plan:hover { border-color: var(--red); transform: translateY(-4px); }
.plan--featured { background: var(--black); color: #fff; border-color: var(--black); }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__feat svg { color: var(--red); }
.plan__tag {
  position: absolute; top: -12px; left: 32px;
  background: var(--red); color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 6px 12px;
}
.plan__name { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); }
.plan__price { font-family: var(--font-display); font-size: clamp(48px, 5vw, 64px); line-height: 1; margin: 14px 0 0; }
.plan__price small { font-family: var(--font-body); font-size: 14px; opacity: 0.6; letter-spacing: 0; }
.plan__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.plan__list li::before { content: "✓"; color: var(--red); font-weight: 700; }
.plan__desc { margin: 22px 0 28px; font-size: 14.5px; line-height: 1.6; color: #444; min-height: 88px; }
.plan--featured .plan__desc { color: rgba(255,255,255,0.78); }
.plan__price small.unit {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.65;
  margin-top: 4px;
}

/* Pricing category header */
.cat-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  margin: 96px 0 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.cat-head:first-of-type { margin-top: 0; }
.cat-head__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--red);
}
.cat-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}
.cat-head p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0;
  text-align: right;
}
@media (max-width: 700px) {
  .cat-head { grid-template-columns: 1fr; gap: 8px; }
  .cat-head p { text-align: left; }
}

/* ============================================================
   Map embed (contact page)
   ============================================================ */
.map { width: 100%; height: 460px; border: 0; filter: grayscale(0.6) contrast(1.05); display: block; }
@media (max-width: 760px) { .map { height: 360px; } }
@media (max-width: 480px) { .map { height: 300px; } }

/* ============================================================
   Contact form
   ============================================================ */
.contactform { display: grid; gap: 18px; }
.form-status {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  min-height: 1em;
}
.form-status:empty { display: none; }
.form-status.is-pending { color: rgba(255,255,255,0.6); }
.form-status.is-success { color: #4ade80; }
.form-status.is-error   { color: var(--red-glow); }
#contactSubmit:disabled { opacity: 0.6; cursor: wait; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  font: inherit;
  font-size: 16px;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 22px) center, calc(100% - 16px) center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: #111; color: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--red); }
.field textarea { min-height: 140px; resize: vertical; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .fields-2 { grid-template-columns: 1fr; } }

/* ============================================================
   Utility: reveal on scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   Misc
   ============================================================ */
.divider {
  display: flex; align-items: center; gap: 18px;
  margin: 28px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   Intro paragraph (verbatim source intro)
   ============================================================ */
.intro {
  background: var(--paper);
  padding: clamp(72px, 10vw, 140px) 0;
}
.intro__lead {
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.5;
  max-width: 1100px;
  color: #131318;
  margin: 28px 0 0;
}
.intro__lead .accent { color: var(--red); }

/* ============================================================
   Board — alternating long-form rows
   ============================================================ */
.board { background: var(--ink); color: #fff; }
.board__row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.board__row:last-child { border-bottom: 0; }
.board__row--reverse { grid-template-columns: 7fr 5fr; }
.board__row--reverse .board__img { order: 2; }
.board__row--reverse .board__body { order: 1; }
.board__img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center top;
  background-color: #111;
  position: relative;
}
.board__img::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
}
.board__role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.board__name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.board__body p {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0 0 18px;
}
.board__body p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .board__row, .board__row--reverse { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .board__row--reverse .board__img { order: 0; }
  .board__row--reverse .board__body { order: 0; }
  .board__img { aspect-ratio: 3/4; }
}

/* ============================================================
   Program cards — full text version
   ============================================================ */
.progs {
  background: var(--paper);
  padding: clamp(72px, 10vw, 140px) 0;
}
.progs__head { margin-bottom: clamp(48px, 7vw, 80px); }
.progs__head h2 { margin-top: 12px; }
.progs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 880px) { .progs-grid { grid-template-columns: 1fr; } }

.prog-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.prog-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,0.06); }
.prog-card__img {
  aspect-ratio: 16/10;
  background-size: cover; background-position: center;
}
.prog-card__body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.prog-card__tagline {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
}
.prog-card__num { color: var(--red); }
.prog-card__tag { color: rgba(0,0,0,0.55); font-weight: 500; }
.prog-card__name {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}
.prog-card__body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #2a2a30;
  margin: 0;
}
.prog-card__body p + p { margin-top: -4px; }
.prog-card__body a.btn { align-self: flex-start; margin-top: 12px; }
.prog-card__body a.outlink {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.prog-card__body a.outlink:hover { text-decoration: underline; }

/* ============================================================
   Support Us strip
   ============================================================ */
.support-strip {
  background: var(--red);
  color: #fff;
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
}
.support-strip .eyebrow { color: #fff; opacity: 0.85; }
.support-strip .eyebrow::before { background: #fff; }
.support-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 0.95;
  margin: 16px 0 0;
  text-transform: uppercase;
}
.support-strip p {
  max-width: 640px; margin: 28px auto 36px;
  font-size: clamp(15px, 2vw, 18px); line-height: 1.6;
  opacity: 0.92;
}
.support-strip .btn { background: #000; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
.support-strip .btn:hover { background: #1a1a1f; }

/* ============================================================
   Mobile safety net — image overflow, iframes, very narrow screens
   ============================================================ */
img, video, iframe { max-width: 100%; height: auto; }
iframe.map { height: 460px; }
.container, .header__inner, .topbar__inner, .footer__top { max-width: 100%; }

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .programs__grid { gap: 14px; }
  .pricing__grid { gap: 14px; }
  .footer__bottom { font-size: 10px; }
}

/* Prevent layout shift while web fonts load */
.brand__txt, h1, h2, h3, .display, .hero__copy h1 { font-display: swap; }

/* Better touch hit areas */
.nav a, .footer ul a, .crumbs a { min-height: 36px; display: inline-flex; align-items: center; }
@media (max-width: 1120px) { .nav a { min-height: 44px; } }

/* Make sure long emails/URLs in info cards never push the layout */
.info__card a[href^="mailto:"], .info__card a[href^="tel:"], .info__card p { overflow-wrap: anywhere; }

/* Plan cards: make sure the price never overflows */
.plan__price { word-break: break-word; }
.plan { display: flex; flex-direction: column; }
.plan .btn { align-self: flex-start; margin-top: auto; }
