/* =====================================================================
 * CKCC Global CSS
 * Design tokens, layout, components, navigation, footer
 * ===================================================================== */

/* === DESIGN TOKENS === */
/* Light only: stops phones' dark modes recolouring the site, its form fields and scrollbars */
:root { color-scheme: light only; }
:root {
  --maroon: #4f0101;
  --maroon-dark: #380000;
  --gold: #f5a21e;
  --gold-hover: #ffb232;
  --gold-shadow: #b7740c;
  --pitch-green: #1b4d3e;
  --pitch-green-light: #3aa47d;
  --cream: #f5f0e8;
  --bg: var(--cream);
  --surface: #ffffff;
  --surface-alt: #fbf8f2;
  --text: #241605;
  --text-muted: #5b5347;
  --border: #cdd9d2;
  --border-strong: var(--pitch-green);
  --shadow-color: 220 30% 10%;
  --radius: 7px;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --content-size: 100%;
  --wide-size: 100%;
  --section-gap: 2.75rem;
  --element-gap: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12100c;
    --surface: #1c1912;
    --surface-alt: #221e16;
    --text: #f3efe6;
    --text-muted: #b9b0a0;
    --border: #3a3528;
    --border-strong: var(--pitch-green-light);
    --shadow-color: 0 0% 0%;
  }
}

:root[data-theme="dark"] {
  --bg: #12100c;
  --surface: #1c1912;
  --surface-alt: #221e16;
  --text: #f3efe6;
  --text-muted: #b9b0a0;
  --border: #3a3528;
  --border-strong: var(--pitch-green-light);
  --shadow-color: 0 0% 0%;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  color: var(--text);
}

h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { text-wrap: pretty; margin: 0 0 1em; }
a { color: var(--maroon); }

[data-theme="dark"] a { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .heroex-bg { animation: none; }
  .heroex-crest, .heroex-eyebrow, .heroex-headline,
  .heroex-subheading, .heroex-rule-wrap, .heroex-actions {
    opacity: 1; transform: none; animation: none;
  }
}

/* === LAYOUT === */
.content-width {
  max-width: var(--content-size);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.wide-width {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.section-tight { padding-top: calc(var(--section-gap) * 0.55); padding-bottom: calc(var(--section-gap) * 0.55); }
.section--alt { background: var(--surface-alt); }
.section--pitch { background: var(--pitch-green); color: #fff; }
.section--pitch h2, .section--pitch h3 { color: #fff; }
.section--pitch .section-eyebrow { color: var(--gold); }
.section--pitch .lede { color: rgba(255,255,255,.78); }
.section--maroon { background: var(--maroon); color: #fff; }
.section--maroon h2, .section--maroon h3 { color: #fff; }
.section--maroon .section-eyebrow { color: var(--gold); }

/* === TYPOGRAPHY UTILITIES === */
.eyebrow {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch-green);
  margin: 0 0 0.6rem;
  display: block;
}

.section-label {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pitch-green);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-strong);
  opacity: 0.55;
}
[data-theme="dark"] .section-label { color: var(--pitch-green-light); }

.lede { color: var(--text-muted); font-size: 1.02rem; max-width: 62ch; }

/* === SITE HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border-strong);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}

/* Scrolled past hero — add shadow */
.site-header--scrolled {
  box-shadow: 0 2px 16px -4px hsl(var(--shadow-color)/.18);
}

/* Shrunk state — tighter padding, smaller logo */
.site-header--shrunk .site-header__inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.site-header--shrunk .site-brand img {
  width: 32px;
  height: 32px;
}
.site-header--shrunk .site-brand__text {
  font-size: 0.88rem;
}

/* Push page content below the fixed header */
body {
  padding-top: 64px;
}

/* When the WP admin bar is visible, drop the fixed header below it */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: padding 0.3s var(--ease);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}

.site-brand__text {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
}

.site-brand__text small {
  display: block;
  font-family: "Poppins", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* === NAVIGATION === */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__list a:not([class]) {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease);
}
.site-nav__list a:not([class]):hover { color: var(--maroon); }

/* "Contact" button nav item */
.site-nav__list li.btn {
  background: var(--maroon);
  border-radius: var(--radius);
  box-shadow: 0 2px 0 var(--maroon-dark);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-nav__list li.btn > a {
  color: var(--cream) !important;
  padding: 0.55rem 1rem;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.site-nav__list li.btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -6px hsl(var(--shadow-color) / 0.45);
}
/* The link carries the padding; .btn/.btn-sm on the <li> would double it */
.site-nav__list li.btn { padding: 0; }
.site-nav__list li.btn + li.btn { margin-left: -0.75rem; }

/* "Join the club" gold button */
.site-nav__list li.nav-join { background: var(--gold); box-shadow: 0 2px 0 var(--gold-shadow); }
.site-nav__list li.nav-join > a { color: #241605 !important; }
.site-nav__list li.nav-join:hover { background: var(--gold); filter: brightness(1.05); }

/* === FIXTURES & RESULTS (one row per team) === */
.fx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .75rem; }
.fx-team { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.fx-team__name { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.fx-team__group { font-family: "Outfit", Arial, sans-serif; font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pitch-green); }
.fx-team__title { font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 1.02rem; color: var(--text); }
.fx-team__links { display: flex; gap: .5rem; flex-shrink: 0; }
.fx-list--compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fx-list--compact .fx-team { padding: .7rem .9rem; }
.fx-note { margin: 1rem 0 0; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 380px) { .fx-team { flex-direction: column; align-items: flex-start; } }

/* === HAMBURGER BUTTON === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.nav-is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav header row — hidden above mobile breakpoint */
@media (min-width: 1150px) {
  .site-nav__mobile-header { display: none !important; }
  .nav-close { display: none !important; }
}
.site-nav__mobile-header { display: none; }
.nav-close { display: none; }

/* === MOBILE NAV === */
@media (max-width: 1149px) {
  .nav-toggle {
    display: inline-flex;
    z-index: 300;
    position: relative;
  }
  /* Ensure burger bars are always visible against the header */
  .nav-toggle span { background: var(--maroon); }

  /* The desktop menu hides on phones; the burger opens the overlay instead */
  .site-nav--desktop { display: none; }

  .site-nav--mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: #f5f0e8;
    z-index: 9999;
    padding: 0 0 2rem;
    overflow-y: auto;
    flex-direction: column;
  }
  .nav-is-open .site-nav--mobile { display: flex; }

  /* Logo + close row at top of overlay */
  .site-nav__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: #f5f0e8;
    position: sticky;
    top: 0;
    z-index: 1;
  }
  .site-nav__mobile-header .site-brand__text { font-size: .85rem; }
  .site-nav__mobile-header .site-brand img { width: 42px; height: 42px; border-radius: 50%; }

  /* Close (×) button */
  .nav-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--maroon);
    padding: .5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    width: 100%;
    padding: 0 1.25rem;
  }
  .site-nav__list li {
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .site-nav__list li:last-child { border-bottom: none; }
  .site-nav__list a:not([class]) {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
    width: 100%;
  }
  /* Contact button in mobile menu */
  .site-nav__list li.btn {
    border-bottom: none;
    margin-top: 1rem;
    width: auto;
    align-self: flex-start;
  }
  .site-nav__list li.btn > a {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
  .site-nav__list li.btn + li.btn { margin-left: 0; margin-top: .6rem; }
}

/* === BUTTONS === */
.btn {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 2px 0 var(--maroon-dark);
}
.btn-primary:hover {
  background: #650202;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -6px hsl(var(--shadow-color) / 0.45);
}
.btn-primary:active { transform: translateY(-1px); box-shadow: 0 3px 8px -3px hsl(var(--shadow-color) / 0.4); }

.btn-secondary {
  background: transparent;
  color: var(--pitch-green);
  border-color: var(--pitch-green);
}
.btn-secondary:hover {
  background: var(--pitch-green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -6px hsl(var(--shadow-color) / 0.35);
}
.btn-secondary:active { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px -8px hsl(var(--shadow-color) / 0.3);
}
/* === STAT CARD (intro section) === */
.stat-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--maroon); border-radius: var(--radius); padding: 1.25rem 1rem; }

/* Ghost button on dark section backgrounds needs light colours */
.section--pitch .btn-ghost,
.section--maroon .btn-ghost {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.45);
}
.section--pitch .btn-ghost:hover,
.section--maroon .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: #241605;
  box-shadow: 0 2px 0 var(--gold-shadow);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -6px hsl(var(--shadow-color) / 0.4);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-outline-cream:hover {
  background: var(--pitch-green);
  color: #fff;
  border-color: var(--pitch-green-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -6px hsl(0 0% 0% / 0.35);
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.76rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 0.95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }

[data-theme="dark"] .btn-secondary { color: var(--pitch-green-light); border-color: var(--pitch-green-light); }
[data-theme="dark"] .btn-secondary:hover { background: var(--pitch-green-light); color: #12100c; }

/* === INLINE LINKS === */
.inline-link {
  color: var(--maroon);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
.inline-link:hover { color: var(--maroon-dark); }
[data-theme="dark"] .inline-link { color: var(--gold); }
[data-theme="dark"] .inline-link:hover { color: #ffb733; }

/* === PILLS === */
.accred-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pitch-green);
  background: transparent;
  border: 1px solid var(--pitch-green);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}
.accred-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
[data-theme="dark"] .accred-pill { color: var(--pitch-green-light); border-color: var(--pitch-green-light); }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.team-pill {
  display: inline-flex;
  align-items: center;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--maroon);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  text-decoration: none;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}
.team-pill:hover {
  background: var(--pitch-green);
  color: #fff;
  border-color: var(--pitch-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px -6px hsl(var(--shadow-color) / 0.35);
}

/* === GRID === */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr !important; } }

/* === CARDS === */
.card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -16px hsl(var(--shadow-color) / 0.45); }

.card-top-rule {
  position: absolute;
  top: -1px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}

.card-kicker {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
}
[data-theme="dark"] .card-kicker { color: var(--gold); }

.card h3 { font-size: 1.15rem; margin: 0; }
.card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.card-divider { height: 1px; background: var(--border); margin: 0.1rem 0; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.card-price {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--pitch-green);
}
.card-price small {
  font-family: "Poppins", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}
[data-theme="dark"] .card-price { color: var(--pitch-green-light); }

/* === SPONSOR MARK === */
.sponsor-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-alt);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: center;
  padding: 0.5rem;
}

/* === DECISION CARDS === */
.decision-band { background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.decision-card { text-align: center; align-items: center; padding: 2.25rem 1.75rem; }
.decision-card__index {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.decision-card h3 { font-size: 1.35rem; }
.decision-card p { text-align: center; }
.decision-card .btn { margin-top: 0.4rem; }

/* === PHOTO FRAME === */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 30px -16px hsl(var(--shadow-color) / 0.35);
}
.photo-frame img { width: 100%; height: 240px; object-fit: cover; display: block; }

/* === STATS === */
.stat-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.stat-number {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--maroon);
  line-height: 1;
}
.stat-caption { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.stat-arrow { font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 2rem; color: var(--gold); }

/* === SPONSOR FEATURE === */
.sponsor-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.sponsor-feature .sponsor-mark { min-height: 60px; font-size: 1.05rem; }
@media (max-width: 700px) { .sponsor-feature { grid-template-columns: 1fr; } }

/* === FEATURE SPLIT === */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease);
}
.feature-split:hover { box-shadow: 0 16px 30px -16px hsl(var(--shadow-color) / 0.45); }
.feature-split__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; display: block; }
.feature-split__content { padding: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (max-width: 800px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split__media img { min-height: 220px; }
}

/* === FACILITY LIST === */
.facility-list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.facility-list li { display: flex; align-items: center; gap: 0.65rem; font-weight: 500; }
.facility-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* === EVENT CARDS === */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.event-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -16px hsl(var(--shadow-color) / 0.45); }
.event-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.event-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.event-card__date { font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.event-card__excerpt { font-size: 0.9rem; color: var(--text-muted); }
.event-card--featured { border: 2px solid var(--gold); }
.event-card__featured-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0;
}

/* === HERITAGE / BENEFACTORS PANELS === */
.heritage-panel {
  background: var(--maroon);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.heritage-panel h2 { color: var(--cream); }
.heritage-panel .eyebrow { color: var(--gold); }
.heritage-panel p { color: rgba(245,240,232,0.9); margin-bottom: 1em; }
.heritage-panel p:last-child { margin-bottom: 0; }
.heritage-panel .inline-link { color: var(--gold); }

.benefactors-panel {
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2.25rem;
}

/* === EOI SECTION === */
.eoi-card { border: 1px solid var(--pitch-green); border-radius: var(--radius); background: var(--surface); padding: 2.25rem; text-align: center; }
.eoi-card .btn-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }

.eoi-band { border: 1px solid var(--pitch-green); border-radius: var(--radius); background: var(--surface); padding: 2.5rem; text-align: center; }
.eoi-band .btn-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.eoi-tabs { border: 1px solid var(--pitch-green); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.eoi-tablist { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border-strong); background: var(--surface-alt); }
.eoi-tab {
  flex: 1;
  min-width: 160px;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 1rem;
  text-align: center;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.eoi-tab:last-child { border-right: none; }
.eoi-tab:hover { background: var(--surface); color: var(--text); }
.eoi-tab[aria-selected="true"] { background: var(--surface); color: var(--maroon); box-shadow: inset 0 -3px 0 var(--gold); }
.eoi-panel { display: none; padding: 2rem; }
.eoi-panel.active { display: block; }
.eoi-panel iframe { border: 1px solid var(--border); border-radius: var(--radius); max-width: 100%; }
@media (max-width: 640px) {
  .eoi-tablist { flex-direction: column; }
  .eoi-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .eoi-panel { padding: 1.25rem 1rem; }
}

/* === LOCATION CARD === */
.location-card { background: var(--surface-alt); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.location-card address { font-style: normal; font-family: "Outfit", Arial, sans-serif; font-weight: 700; font-size: 1.15rem; margin: 0.75rem 0 1.5rem; color: var(--text); }

/* === PAGE TITLE BAND === */
.page-title-band { background: var(--surface-alt); border-bottom: 1px solid var(--border-strong); padding-top: 2.75rem; padding-bottom: 2.75rem; }
.page-title-band .eyebrow { margin-bottom: 0.5rem; }
.page-title-band h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 0.6rem; }
.page-title-band p { color: var(--text-muted); max-width: 62ch; margin: 0; }

/* === CONDENSED BAND === */
.condensed-band { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.condensed-band .pill-row { justify-content: center; margin: 1.25rem 0; }
.about-condensed { text-align: center; }
.about-condensed .content-width { max-width: 640px; }

/* === CLOSING CTA === */
.closing-cta { text-align: center; }
.closing-cta .btn-row { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* === TIER CARDS === */
.tier-card { border-top: 4px solid var(--pitch-green); }
.tier-card.tier-platinum { border-top-color: var(--maroon); }
.tier-card.tier-gold { border-top-color: var(--gold); }
.tier-card ul { list-style: none; padding: 0; margin: 0.25rem 0 0.5rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.88rem; color: var(--text-muted); }
.tier-card ul li { display: flex; gap: 0.5rem; align-items: flex-start; }
.tier-card ul li::before { content: "\2713"; color: var(--pitch-green); font-weight: 700; flex-shrink: 0; }
.tier-price { font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--maroon); }
.tier-price small { display: block; font-family: "Poppins", Helvetica, sans-serif; font-weight: 400; font-size: 0.72rem; color: var(--text-muted); }

/* === TEAM CARDS === */
/* Team photo: a rounded frame inset in the card, tall enough for a two-row team photo */
.team-card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; font: inherit; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; margin: 0 0 0.2rem; background: var(--cream); box-shadow: 0 0 0 1px var(--border-strong), 0 6px 18px -10px hsl(var(--shadow-color) / .35); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; transition: transform var(--dur-base) var(--ease); }
.team-card__media:hover img { transform: scale(1.03); }
.team-card__media:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.team-card__zoom { position: absolute; right: .5rem; bottom: .5rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(36,22,5,.65); color: #fff; font-size: 1rem; line-height: 1; opacity: .85; }
/* Smaller team cards: three across, tighter text */
.team-grid { gap: 1.25rem; }
.team-grid .card { padding: 1.1rem; gap: .6rem; }
.team-grid .card h3 { font-size: 1.15rem; margin: 0; }
.team-grid .card-kicker { margin: .2rem 0 0; }
.team-grid .team-card__excerpt { font-size: .86rem; line-height: 1.55; }
.team-grid .team-card__excerpt p { margin: 0; }
.team-grid .capacity-note { font-size: .8rem; padding: .6rem .8rem; margin: 0; }
.team-grid .card-footer .btn { flex: 1; justify-content: center; }
/* Cards in a row share one height; the sponsor slot and buttons line up along the bottom */
.team-grid > div { display: flex; }
.team-grid > div > .card { flex: 1; }
.team-grid > div[hidden] { display: none; }
.team-grid .team-card__sponsor { margin-top: auto; }
/* Sponsor slot: their logo, or an invitation to sponsor the team */
.team-card__sponsor { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 3.25rem; padding: .5rem .75rem; border-radius: var(--radius-sm); background: var(--cream); text-decoration: none; color: var(--text); }
.team-card__sponsor span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.team-card__sponsor img { max-height: 2.4rem; max-width: 55%; width: auto; height: auto; object-fit: contain; }
.team-card__sponsor strong { font-family: "Outfit", Arial, sans-serif; font-size: .85rem; }
.team-card__sponsor--open { border: 1px dashed var(--gold-shadow); background: transparent; }
.team-card__sponsor--open strong { color: var(--maroon); }
.team-card__sponsor--open:hover { background: var(--cream); border-style: solid; }
/* Filter tiles */
.team-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.5rem; }
.team-filter__tile { font: 700 .82rem "Outfit", Arial, sans-serif; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.team-filter__tile span { font-size: .72rem; min-width: 1.4rem; padding: .1rem .4rem; border-radius: 999px; background: var(--cream); color: var(--text-muted); text-align: center; }
.team-filter__tile:hover { border-color: var(--maroon); }
.team-filter__tile.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.team-filter__tile.is-active span { background: rgba(255,255,255,.18); color: #fff; }
.team-filter__tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
/* Photo lightbox */
.team-lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.team-lightbox::backdrop { background: rgba(20,10,0,.85); }
.team-lightbox img { display: block; max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.team-lightbox__caption { margin: .75rem 0 0; text-align: center; color: #fff; font: 700 1rem "Outfit", Arial, sans-serif; }
.team-lightbox__close { position: absolute; top: -.75rem; right: -.75rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: #fff; color: var(--maroon); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.team-lightbox__close:focus-visible { outline: 3px solid var(--gold); }
@media (max-width: 640px) { .team-lightbox__close { top: .25rem; right: .25rem; } }
.capacity-note { background: var(--surface-alt); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* === STATS BLOCK === */
.stats-block { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.stat-item { text-align: center; padding: 1.25rem; background: rgba(255,255,255,.08); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.12); }
.stat-number { display: block; font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 2rem; color: var(--gold); line-height: 1; }
.stat-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,.65); margin-top: 0.4rem; }
/* On light sections, adjust stat colours */
.section:not(.section--pitch):not(.section--maroon) .stat-item { background: var(--surface-alt); border-color: var(--border); }
.section:not(.section--pitch):not(.section--maroon) .stat-number { color: var(--maroon); }
.section:not(.section--pitch):not(.section--maroon) .stat-label { color: var(--text-muted); }

/* === PAGE SECTION EYEBROW (alias for .eyebrow used as .section-eyebrow in page HTML) === */
.section-eyebrow { font-family: "Outfit", Arial, sans-serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pitch-green); margin: 0 0 0.6rem; display: block; }
.section-header { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.section-header h2 { margin: 0 0 0.6rem; }
.section-header .lede { margin: 0; }

/* === PAGE TITLE BAND eyebrow fix === */
.page-title-band .section-eyebrow { margin-bottom: 0.5rem; }

/* === COLS LAYOUT === */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .cols-3 { grid-template-columns: 1fr 1fr; } .cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } .stats-block { grid-template-columns: repeat(2, 1fr); } }

/* === WHY SPONSOR STATS === */
.why-sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why-sponsor-stat { background: var(--surface-alt); border: 1px solid var(--border); border-top: 3px solid var(--maroon); border-radius: var(--radius); padding: 1.5rem 1.25rem; text-align: center; }
.why-sponsor-stat__number { display: block; font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--maroon); line-height: 1; }
.why-sponsor-stat__label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 800px) { .why-sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-sponsor-grid { grid-template-columns: 1fr 1fr; } }

/* === WHY SPONSOR CARDS === */
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.why-card__icon { font-size: 2rem; line-height: 1; margin-bottom: 0.75rem; display: block; }
.why-card h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.65; text-wrap: wrap; }
/* Six benefit cards sit 3 x 2 (not 4 + 2), with icons of one height so the headings line up. */
.why-sponsor-grid:has(> .why-card) { grid-template-columns: repeat(3, 1fr); }
.why-card__icon { height: 2rem; }
.why-card__icon img.emoji { width: 2rem !important; height: 2rem !important; margin: 0 !important; }
@media (max-width: 800px) { .why-sponsor-grid:has(> .why-card) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-sponsor-grid:has(> .why-card) { grid-template-columns: 1fr; } }

/* What all sponsors receive: three even columns, so the six items make two tidy rows. */
.sponsor-benefits-list { grid-template-columns: repeat(3, 1fr) !important; }
.sponsor-benefits-list li { text-wrap: wrap; }
@media (max-width: 900px) { .sponsor-benefits-list { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .sponsor-benefits-list { grid-template-columns: 1fr !important; } }

/* === DIGITAL STATS === */
.digital-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 800px) { .digital-stats-grid { grid-template-columns: 1fr; } }
.digital-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.digital-stat-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.digital-stat-icon { font-size: 1.4rem; line-height: 1; }
.digital-stat-header strong { font-size: 1rem; }
.digital-stat-list { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.digital-stat-row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.digital-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.digital-stat-row dt { font-size: 0.82rem; color: var(--text-muted); }
.digital-stat-row dd { font-size: 0.95rem; font-weight: 700; color: var(--maroon); margin: 0; }

/* === MEMBER JOIN PHOTO === */
.member-photo-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); }
.member-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-photo-placeholder { width: 100%; height: 100%; min-height: 280px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 0.85rem; border: 2px dashed rgba(255,255,255,0.2); border-radius: var(--radius); }

/* === HEROEX THREE CTAS === */
.heroex-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
@media (max-width: 600px) { .heroex-actions { flex-direction: column; align-items: center; } }

/* === VENUE HIRE PAGE === */
.feature-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.25rem; }
.feature-block h3 { font-size: 1rem; margin: 0 0 0.85rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.feature-list li { font-size: 0.875rem; line-height: 1.65; padding-left: 1.1rem; position: relative; }
.feature-list li::before { content: '\2022'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.info-callout { background: rgba(79,1,1,.05); border-left: 4px solid var(--maroon); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; }
.info-callout p { margin: 0 0 0.5rem; font-size: 0.875rem; }
.info-callout p:last-child { margin-bottom: 0; }

/* === HIRER ENQUIRY FORM === */
.hirer-form-wrap { max-width: 680px; }
.hirer-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .hirer-form-grid { grid-template-columns: 1fr; } }
.field-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
.field-label .req { color: var(--maroon); }
.field-input { width: 100%; padding: 0.6rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: inherit; background: var(--surface); color: var(--text); box-sizing: border-box; }
.field-input:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(79,1,1,.12); }

/* Newsletter "Suggest a story" form (same fields as the venue form) */
.nl-suggest h2 { margin-top: 0; }
.nl-suggest__form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
.nl-suggest__form label span { font-weight: 400; color: var(--text-muted); }
.nl-suggest__form input:not([type=hidden]), .nl-suggest__form textarea { width: 100%; padding: 0.6rem 0.85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: inherit; background: var(--surface); color: var(--text); box-sizing: border-box; }
.nl-suggest__form input:focus, .nl-suggest__form textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(79,1,1,.12); }
.nl-suggest__form p { margin: 0 0 1rem; }
.nl-suggest__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.nl-suggest__small { font-size: 0.82rem; color: var(--text-muted); }
.nl-suggest__done { font-weight: 600; color: var(--pitch-green); }
.nl-suggest__error { color: var(--maroon); font-weight: 600; }
@media (max-width: 600px) { .nl-suggest__row { grid-template-columns: 1fr; } }
.hirer-form-error { background: #fef2f2; border: 1px solid #fca5a5; border-radius: var(--radius-sm); padding: 0.65rem 1rem; color: #b91c1c; font-size: 0.875rem; margin-bottom: 1rem; }
.hirer-success-msg { font-size: 1rem; color: var(--pitch-green); font-weight: 600; padding: 1rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); }
.venue-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 700px) { .venue-gallery { grid-template-columns: repeat(2, 1fr); } }
.venue-gallery-placeholder { background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.8rem; }

/* === UPCOMING EVENTS === */
.upcoming-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.upcoming-tab { background: var(--surface); border: 1px solid var(--border); border-radius: 2rem; padding: 0.4rem 1rem; font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--text-muted); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.upcoming-tab:hover { border-color: var(--maroon); color: var(--maroon); }
.upcoming-tab.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.upcoming-events-list { display: flex; flex-direction: column; gap: 0.75rem; }
.upcoming-event-row { display: flex; align-items: center; gap: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1.25rem; }
.upcoming-event-date { display: flex; flex-direction: column; align-items: center; min-width: 3rem; text-align: center; }
.upcoming-dow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.upcoming-day { font-size: 1.6rem; font-weight: 800; line-height: 1.1; color: var(--maroon); }
.upcoming-mon { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.upcoming-event-info { display: flex; flex-direction: column; gap: 0.2rem; }
.upcoming-type-badge { display: inline-block; background: var(--gold); color: #222; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.1rem 0.5rem; border-radius: 2rem; width: fit-content; }
.upcoming-event-title { font-size: 0.95rem; font-weight: 600; }
.upcoming-time { font-size: 0.82rem; color: var(--text-muted); }
.upcoming-empty { color: var(--text-muted); font-style: italic; }

/* === REVEAL ANIMATION === */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.04s; }
.d2 { transition-delay: 0.08s; }
.d3 { transition-delay: 0.12s; }
.d4 { transition-delay: 0.16s; }

/* === HERO === */
.heroex-frame {
  position: relative;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--maroon);
}
.heroex-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1);
  animation: heroexDrift 22s ease-in-out infinite alternate;
}
@keyframes heroexDrift { 0% { transform: scale(1); } 100% { transform: scale(1.04); } }

.heroex-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(38,4,4,0.88) 0%,
    rgba(79,1,1,0.72) 16%,
    rgba(79,1,1,0.52) 38%,
    rgba(79,1,1,0.55) 62%,
    rgba(79,1,1,0.78) 84%,
    rgba(30,3,3,0.92) 100%
  );
}
.heroex-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.heroex-crest {
  width: 96px; height: 96px;
  display: block;
  margin: 0 0 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(245,162,30,0.35), 0 12px 30px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(24px);
  animation: heroexFadeRise 1s ease-out forwards;
  animation-delay: 0.2s;
}
.heroex-crest img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.heroex-eyebrow {
  font-family: "Poppins", Helvetica, sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroexFadeRise 1s ease-out forwards;
  animation-delay: 0.45s;
}
.heroex-headline {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0 0 1.3rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
  max-width: 16ch;
  opacity: 0;
  transform: translateY(28px);
  animation: heroexFadeRise 1.1s ease-out forwards;
  animation-delay: 0.7s;
}
.heroex-subheading {
  font-family: "Poppins", Helvetica, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--cream);
  max-width: 42ch;
  margin: 0 0 2.25rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroexFadeRise 1s ease-out forwards;
  animation-delay: 0.95s;
}
.heroex-rule-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroexFadeRise 1s ease-out forwards;
  animation-delay: 1.15s;
}
.heroex-rule { width: 64px; height: 1px; background: var(--gold); }
.heroex-established {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}
.heroex-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroexFadeRise 1s ease-out forwards;
  animation-delay: 1.4s;
}
@keyframes heroexFadeRise { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .heroex-frame { min-height: 560px; }
  .heroex-actions { flex-direction: column; width: 100%; }
  .heroex-actions .btn { width: 100%; justify-content: center; }
}

/* === SITE FOOTER === */
.site-footer { background: var(--maroon-dark); color: var(--cream); }

.footer-sponsor-strip { border-top: 1px solid rgba(245,240,232,0.15); padding: 1.75rem 0; }
.footer-sponsor-strip p { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,240,232,0.6); margin: 0 0 1rem; }
.footer-sponsor-strip .grid { gap: 1rem; grid-template-columns: repeat(4,1fr); }
.footer-sponsor-strip .sponsor-mark { background: rgba(245,240,232,0.06); border-color: rgba(245,240,232,0.2); color: var(--cream); }
.footer-sponsor-strip a.sponsor-mark { text-decoration: none; color: var(--cream); transition: color 0.2s; }
.footer-sponsor-strip a.sponsor-mark:hover { color: var(--gold); }

.footer-sponsor-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(245,240,232,0.6); margin: 0 0 1rem; white-space: nowrap; }

.footer-top { padding-top: var(--section-gap); padding-bottom: 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 0.85rem; }
.footer-col p, .footer-col a { color: rgba(245,240,232,0.78); font-size: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); }

.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand span { font-family: "Outfit", Arial, sans-serif; font-weight: 800; color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.15);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.65);
}
.footer-bottom p { margin: 0; color: rgba(245,240,232,0.65); font-size: 0.8rem; }

.footer-credit { border-top: 1px solid rgba(245,240,232,0.1); padding-top: 0.85rem; padding-bottom: 0.85rem; text-align: center; }
.footer-credit p { margin: 0; font-size: 0.72rem; color: rgba(245,240,232,0.5); }
.footer-credit a { color: rgba(245,240,232,0.5); text-decoration: underline; }
.footer-credit a:hover { color: var(--gold); }

.footer-admin-login { border-top: 1px solid rgba(245,240,232,0.15); padding: 0.85rem 0; text-align: center; }
.footer-admin-login a {
  font-size: 0.75rem;
  color: var(--cream);
  background: rgba(245,240,232,0.1);
  border: 1px solid rgba(245,240,232,0.3);
  border-radius: 4px;
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.footer-admin-login a:hover { background: rgba(245,240,232,0.18); border-color: var(--gold); color: var(--gold); }

/* Homepage sponsor strip section */
.sponsor-strip-section .sponsor-mark { font-weight: 700; font-size: 1rem; margin: 0; }
.sponsor-strip-section a.sponsor-mark { text-decoration: none; transition: color 0.2s; }
.sponsor-strip-section a.sponsor-mark:hover { color: var(--gold); }

/* === WP BLOCK BUTTON PASSTHROUGH ===
   Prevents a nested "pill inside a pill" when WP applies btn classes
   to both the outer div and inner anchor of a wp:button block. */
.wp-block-button.btn > .wp-block-button__link {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: inherit !important;
  box-shadow: none !important;
  font: inherit !important;
  line-height: inherit !important;
  display: inline;
}

/* =====================================================================
   FRONT DESK (RJE Creative)
   Front Desk output in the club's own look. Brand colours from the Hub
   arrive as --fd-primary / --fd-accent; the theme tokens win here so
   everything matches the rest of the site.
   ===================================================================== */

/* A Front Desk section with nothing in it hides, heading and all. */
.ckcc-fd:not(:has(.fd-out)) { display: none; }
/* Front Desk prints a "no vacancies" note when the list is empty; treat that as empty too */
.ckcc-fd:has(.fd-out--vacancies > .fd-note:only-child) { display: none; }
.ckcc-fd .section-header { margin-bottom: 2rem; }
.ckcc-fd__body { max-width: 860px; margin: 0 auto; }
.ckcc-fd__body--wide { max-width: none; }
.ckcc-fd .fd-out { margin: 0; }

/* Buttons: Front Desk uses core button markup, styled like .btn-primary */
.fd-out .wp-block-button__link,
.fd-contact__form .wp-element-button,
.fd-cookie .wp-element-button {
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 2px 0 var(--maroon-dark);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.fd-out .wp-block-button__link:hover,
.fd-contact__form .wp-element-button:hover,
.fd-cookie .wp-element-button:hover { background: #650202; transform: translateY(-2px); }

/* Announcement bar */
.fd-announce {
  background: var(--maroon);
  color: #fff;
  font-size: 0.9rem;
  border-bottom: 3px solid var(--gold);
}
.fd-announce__link { color: var(--gold); }
.fd-announce__link:hover { color: #fff; }

/* Cookie banner */
.fd-cookie {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.fd-cookie a { color: var(--maroon); }
.fd-cookie__reject { border-radius: var(--radius); font-family: "Outfit", Arial, sans-serif; font-size: 0.86rem; color: var(--maroon); border-color: var(--maroon); }
.fd-embed-wait { border-color: var(--border-strong); border-radius: var(--radius); background: var(--surface-alt); color: var(--text-muted); padding: 2rem 1.25rem; }
.fd-cookie-link { color: inherit; }

/* FAQs and volunteer roles */
.fd-faqs, .fd-jobs { border-top: 1px solid var(--border); }
.fd-faq, .fd-job { border-bottom: 1px solid var(--border); }
.fd-faq summary, .fd-job summary { font-family: "Outfit", Arial, sans-serif; font-weight: 700; color: var(--text); padding-block: 1.1rem; }
.fd-faq summary::after, .fd-job summary::after { color: var(--maroon); }
.fd-faq summary:hover, .fd-job summary:hover { color: var(--maroon); }
.fd-faq__a, .fd-job__body { color: var(--text-muted); }
.fd-group-title { font-family: "Outfit", Arial, sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pitch-green); }
.fd-out--vacancies .fd-note { text-align: center; color: var(--text-muted); }

/* Downloads */
.fd-downloads { border-top: 1px solid var(--border); }
.fd-downloads li { border-bottom: 1px solid var(--border); padding: 0.9rem 0; }
.fd-downloads a { color: var(--maroon); text-decoration: none; font-family: "Outfit", Arial, sans-serif; }
.fd-downloads a:hover .fd-downloads__name { text-decoration: underline; }
.fd-downloads__meta { color: var(--text-muted); font-family: "Poppins", Arial, sans-serif; }
.fd-downloads__desc { color: var(--text-muted); margin-top: 0.2rem; }

/* Committee */
.fd-team { gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 260px)); justify-content: center; }
.fd-person { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.fd-person__photo img { width: 120px; height: 120px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 1rem; border: 3px solid var(--gold); }
.fd-person__name { font-size: 1.05rem; }
.fd-person__role { font-family: "Outfit", Arial, sans-serif; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); opacity: 1; }
.fd-person p { color: var(--text-muted); font-size: 0.9rem; }
.fd-tags { justify-content: center; }

/* Gallery */
.fd-gallery { gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.fd-gallery img { border-radius: var(--radius); }
.fd-gallery figcaption { color: var(--text-muted); }

/* Contact details and form */
.fd-contact-list { gap: 1rem; }
.fd-contact-list__label { color: var(--pitch-green); opacity: 1; font-family: "Outfit", Arial, sans-serif; }
.fd-contact-list a { color: var(--maroon); }
.fd-contact__form input, .fd-contact__form textarea { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.fd-contact__form input:focus, .fd-contact__form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.fd-contact__form label { font-family: "Outfit", Arial, sans-serif; }
.fd-contact__small a { color: var(--maroon); }
.fd-contact__done { background: color-mix(in srgb, var(--pitch-green) 12%, var(--surface)); color: var(--pitch-green); border-radius: var(--radius); }
.fd-contact__error { border-radius: var(--radius); }

/* Contact page card: socials as small pills, and no gap where a detail is blank */
.card p.lede:empty { display: none; }
.card .fd-socials { justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.card .fd-socials a { display: inline-block; padding: 0.3rem 0.8rem; border: 1px solid var(--maroon); border-radius: 20px; color: var(--maroon); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.card .fd-socials a:hover { background: var(--maroon); color: #fff; }

/* Footer: socials, policy links, legal line */
.footer-bottom .fd-out { margin: 0; }
.footer-bottom .fd-socials, .footer-bottom .fd-policy-links { gap: 0.4rem 1rem; }
.footer-bottom .fd-socials a, .footer-bottom .fd-policy-links a, .footer-bottom .fd-cookie-link { color: rgba(245,240,232,0.75); font-size: 0.8rem; text-decoration: none; }
.footer-bottom .fd-socials a:hover, .footer-bottom .fd-policy-links a:hover, .footer-bottom .fd-cookie-link:hover { color: var(--gold); }
.footer-col p a { color: inherit; }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fd-person { padding: 1.25rem; }
  .fd-downloads a { flex-wrap: wrap; }
}

/* =====================================================================
   SPONSORSHIP BROCHURE [ckcc_brochure_form]
   ===================================================================== */
.ckcc-brochure { max-width: 640px; }
.ckcc-brochure__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.ckcc-brochure__wide { grid-column: 1 / -1; }
.ckcc-brochure__form p { margin: 0 0 1rem; }
.ckcc-brochure__form label { display: block; margin-bottom: 4px; font-family: "Outfit", Arial, sans-serif; font-weight: 700; font-size: 0.9rem; }
.ckcc-brochure__form label span { font-weight: 400; color: var(--text-muted); }
.ckcc-brochure__form input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.ckcc-brochure__form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.ckcc-brochure__small { font-size: 0.85rem; color: var(--text-muted); }
.ckcc-brochure__small a { color: var(--maroon); }
.ckcc-brochure__done { padding: 1.75rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); }
.ckcc-brochure__done p { margin: 0 0 0.75rem; }
.ckcc-brochure__error { padding: 12px 16px; border-radius: var(--radius); background: #fdecea; color: #b42318; }
.ckcc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.brochure-cta { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: center; }
/* Until the brochure is published the whole section hides */
.section:has(.brochure-cta):not(:has(.ckcc-brochure)) { display: none; }
.brochure-cta__cover { width: 100%; max-width: 300px; aspect-ratio: 210 / 297; justify-self: center; border-radius: 4px; background: #2a0000 url(../brochure/aerial-ground-2.jpg) center 30% / cover; box-shadow: 0 30px 60px -25px rgba(42,0,0,.55), 0 0 0 1px rgba(0,0,0,.05); position: relative; overflow: hidden; transform: rotate(-2deg); }
.brochure-cta__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,0,0,.1) 30%, #2a0000 80%); }
.brochure-cta__cover span { position: absolute; left: 10%; right: 10%; bottom: 10%; z-index: 1; font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 0.95; color: #fff; }
.brochure-cta__cover span em { font-style: normal; color: var(--gold); display: block; }
@media (max-width: 760px) {
  .brochure-cta { grid-template-columns: 1fr; gap: 2rem; }
  .brochure-cta__cover { max-width: 190px; }
  .ckcc-brochure__grid { grid-template-columns: 1fr; }
}

/* News card without a photo: category colour, crest watermark, name in the heading font */
.ckcc-news-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; height: 180px; padding: 1.1rem 1.25rem; overflow: hidden; text-decoration: none; color: #fff; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tile, var(--maroon)) 70%, #fff) 0%, var(--tile, var(--maroon)) 55%, color-mix(in srgb, var(--tile, var(--maroon)) 75%, #000) 100%); }
.ckcc-news-tile::before { content: ""; position: absolute; right: -28px; top: -28px; width: 150px; height: 150px; border-radius: 50%; background: url(../images/ckcc-logo.png) center / cover; opacity: .14; filter: grayscale(1) brightness(2); }
.ckcc-news-tile::after { content: ""; position: absolute; left: 1.25rem; top: 1.1rem; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.ckcc-news-tile__cat { position: relative; font-family: "Outfit", Arial, sans-serif; font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.ckcc-news-tile__name { position: relative; font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; color: #fff; }

/* What's coming up: off-season note and "coming up next" label */
.upcoming-offseason { max-width: 640px; margin: 0 auto; padding: 1.75rem 2rem; text-align: center; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); }
.upcoming-offseason__title { font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--maroon); margin: 0 0 .5rem; }
.upcoming-offseason p { margin: 0; color: var(--text-muted); }
.upcoming-offseason a, .upcoming-later-label a { color: var(--maroon); }
.upcoming-later-label { margin: 0 0 1rem; color: var(--text-muted); font-size: .92rem; }

/* A section whose content is empty for visitors hides, heading and all */
.section:has(.ckcc-empty-section) { display: none; }

/* =====================================================================
   PAGES WRITTEN IN FRONT DESK (simple pages and policies)
   A readable column in the club's style.
   ===================================================================== */
.ckcc-simple { max-width: 760px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; color: var(--text); }
.ckcc-simple > .fd-page-intro { display: none; } /* shown in the title band instead */
.ckcc-simple > * + * { margin-top: 1.1rem; }
.ckcc-simple h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2.4rem 0 .6rem; color: var(--maroon); }
.ckcc-simple h3 { font-size: 1.15rem; margin: 1.8rem 0 .4rem; }
.ckcc-simple p { margin: 0 0 1rem; }
.ckcc-simple ul, .ckcc-simple ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.ckcc-simple li { margin-bottom: .4rem; }
.ckcc-simple li::marker { color: var(--gold-shadow); }
.ckcc-simple a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.ckcc-simple a:hover { color: var(--maroon-dark); }
.ckcc-simple blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.25rem; border-left: 4px solid var(--gold); font-size: 1.1rem; color: var(--text-muted); }
.ckcc-simple .wp-block-image { margin: 2rem 0; }
.ckcc-simple .wp-block-image img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px -24px hsl(var(--shadow-color) / .5); }
.ckcc-simple .wp-block-image figcaption { margin-top: .5rem; font-size: .85rem; color: var(--text-muted); text-align: center; }
.ckcc-simple .wp-block-buttons { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.ckcc-simple .wp-block-button__link { display: inline-flex; align-items: center; font-family: "Outfit", Arial, sans-serif; font-weight: 700; font-size: .9rem; padding: .85rem 1.6rem; border-radius: var(--radius); background: var(--maroon); color: #fff; text-decoration: none; box-shadow: 0 2px 0 var(--maroon-dark); }
.ckcc-simple .wp-block-button__link:hover { background: #650202; color: #fff; }
.ckcc-simple table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ckcc-simple th, .ckcc-simple td { padding: .55rem .7rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.ckcc-simple th { background: var(--surface-alt); font-family: "Outfit", Arial, sans-serif; }
.ckcc-simple--policy { font-size: .97rem; }
.page-title-band .ckcc-simple__updated { margin-top: .75rem; font-size: .82rem; letter-spacing: .04em; }
@media (max-width: 640px) { .ckcc-simple { font-size: 1rem; } }

/* === HOME: OUR STORY === */
.home-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.home-story__photo { position: relative; margin: 0; }
.home-story__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 12px; box-shadow: 0 18px 40px -18px hsl(var(--shadow-color) / .45); }
.home-story__badge { position: absolute; left: -1rem; bottom: -1.25rem; background: var(--maroon); color: #fff; border-radius: 10px; padding: .85rem 1.15rem; box-shadow: 0 10px 24px -10px hsl(var(--shadow-color) / .5); line-height: 1.1; }
.home-story__badge strong { display: block; font-family: "Outfit", Arial, sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--gold); }
.home-story__badge span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.home-story__steps { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .9rem; }
.home-story__steps li { display: grid; grid-template-columns: 5.25rem 1fr; gap: 1rem; align-items: baseline; padding-left: 1rem; border-left: 3px solid var(--gold); }
.home-story__steps b { font-family: "Outfit", Arial, sans-serif; font-weight: 800; color: var(--maroon); font-size: 1.05rem; }
.home-story__steps span { color: var(--text-muted); font-size: .95rem; line-height: 1.55; text-wrap: wrap; }
@media (max-width: 860px) {
  .home-story { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-story__badge { left: .75rem; }
}
@media (max-width: 480px) { .home-story__steps li { grid-template-columns: 1fr; gap: .15rem; } }
