/* ============================================================
   ORLANDO PIRATES FC — Shared styles
   Built to the locked "Ghost" direction. Tokens own all values.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--color-gold); color: var(--color-black); }

:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0; top: -100%;
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sub);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  z-index: var(--z-overlay);
  transition: top var(--duration-base) var(--ease-ghost);
}
.skip-link:focus { top: 0; }

/* ---- LAYOUT PRIMITIVES ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-gap); }

/* ---- TYPE ---- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: var(--text-hero); letter-spacing: var(--tracking-hero); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

.eyebrow {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(0.65rem, 1.4vw, 1.1rem);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--color-gold);
  flex: none;
}
.eyebrow--red::before { background: var(--color-red); }

.lead {
  font-size: var(--text-lead);
  color: var(--color-white-dim);
  max-width: 56ch;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.gold { color: var(--color-gold); }
.red { color: var(--color-red); }

/* ---- BUTTONS ---- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--color-white);
  --btn-bd: var(--color-border-strong);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-ghost),
              border-color var(--duration-base) var(--ease-ghost),
              color var(--duration-base) var(--ease-ghost),
              box-shadow var(--duration-base) var(--ease-ghost),
              transform var(--duration-base) var(--ease-ghost);
}
.btn__arrow { transition: transform var(--duration-base) var(--ease-ghost); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* RED reserved for the single primary "live" action */
.btn--live {
  --btn-bg: var(--color-red);
  --btn-fg: var(--color-white);
  --btn-bd: var(--color-red);
}
.btn--live:hover {
  --btn-bg: var(--color-red-deep);
  box-shadow: var(--shadow-red-glow);
  transform: translateY(-2px);
}
.btn--ghost:hover {
  --btn-bd: var(--color-white);
  background: var(--color-white-ghost);
}

/* ---- LIVE TAG (red, scarce) ---- */
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-red);
}
.live-tag__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  box-shadow: var(--shadow-red-glow);
  animation: livePulse 2s var(--ease-ghost) infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .live-tag__dot { animation: none; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.8rem, 0.6rem + 1.1vw, 1.05rem) var(--container-gutter);
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0));
  transition: background var(--duration-slow) var(--ease-ghost);
}
.nav.is-scrolled {
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* large crest, top-anchored and bled DOWNWARD only so it never clips at the bar top and
   does not grow the bar height (layout height = 92 - 44 = 48px; extra extends over the hero) */
.nav__brand-mark { width: 92px; height: 92px; display: block; object-fit: contain; align-self: start; margin-block: 0 -44px; }
.nav__brand b { font-weight: 400; }
.nav__brand span { color: var(--color-ink-dim); font-size: 0.7em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-white-dim);
  padding-block: 0.3rem;
  transition: color var(--duration-base) var(--ease-ghost);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-ghost);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--color-white); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-white); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ---- shared link button (dropdown trigger + store trigger) ---- */
.nav__trigger {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-white-dim);
  background: none;
  border: 0;
  padding: 0.3rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  transition: color var(--duration-base) var(--ease-ghost);
}
.nav__trigger::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-ghost);
}
.nav__trigger:hover, .nav__trigger:focus-visible { color: var(--color-white); }
.nav__trigger:hover::after, .nav__trigger:focus-visible::after { transform: scaleX(1); }
.nav__trigger.is-active { color: var(--color-white); }
.nav__trigger.is-active::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"] { color: var(--color-gold); background: var(--color-white-ghost); }
.nav__caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--duration-base) var(--ease-ghost);
  flex: none;
}

/* ---- DESKTOP STRUCTURED DROPDOWN ---- */
.nav__group { position: relative; }
.nav__menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  translate: -50% 0;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  /* visibility instant on open (focusable links), delayed on close */
  transition: opacity var(--duration-base) var(--ease-ghost),
              transform var(--duration-base) var(--ease-ghost),
              visibility 0s linear var(--duration-base);
  z-index: 1;
}
body.light .nav__menu { background: rgba(244, 241, 234, 0.97); }
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu,
.nav__group.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--duration-base) var(--ease-ghost),
              transform var(--duration-base) var(--ease-ghost),
              visibility 0s linear 0s;
}
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret { transform: rotate(-135deg) translateY(-1px); }
.nav__menu a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-white-dim);
  border-radius: 2px;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-ghost),
              color var(--duration-fast) var(--ease-ghost);
}
.nav__menu a:hover, .nav__menu a:focus-visible {
  background: var(--color-white-ghost);
  color: var(--color-white);
}

/* ---- THEME TOGGLE + STORE BUTTON (right cluster) ---- */
.nav__actions { display: flex; align-items: center; gap: clamp(0.6rem, 1.5vw, 1rem); }
.nav__theme {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  color: var(--color-white-dim);
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-ghost),
              border-color var(--duration-base) var(--ease-ghost),
              background var(--duration-base) var(--ease-ghost);
}
.nav__theme:hover { color: var(--color-white); border-color: var(--color-border-strong); background: var(--color-white-ghost); }
.nav__theme svg { width: 18px; height: 18px; display: block; }
.nav__theme .icon-sun { display: none; }
.nav__theme .icon-moon { display: block; }
body.light .nav__theme .icon-sun { display: block; }
body.light .nav__theme .icon-moon { display: none; }

.nav__store {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-white);
  background: none;
  border: none;
  border-radius: 2px;
  padding: 0.6rem 1.1rem;
  min-height: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--duration-base) var(--ease-ghost);
}
.nav__store:hover { background: var(--color-white-ghost); }
.nav__store-icon { width: 15px; height: 15px; flex: none; }
/* Social icon links in navbar — white, icon-only, no borders */
.nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  background: none;
  padding: .25rem;
  line-height: 0;
}
.nav__social:hover { opacity: .65; }
.nav__social-icon { width: 18px; height: 18px; fill: currentColor; }
/* Small navbar trophy crest icon */
.nav__trophy { height: 18px; width: auto; flex: none; opacity: .92; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
}
.nav__toggle span {
  width: 18px; height: 2px;
  background: var(--color-white);
  transition: transform var(--duration-base) var(--ease-ghost),
              opacity var(--duration-base) var(--ease-ghost);
}
.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); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; position: relative; z-index: 2; }

  /* Keep the logo + the close (X) above the open drawer, so the menu can be
     dismissed and the brand stays visible while the drawer is open. Without
     this the full-screen drawer paints over the nav bar's own controls. */
  .nav__brand { position: relative; z-index: 2; }

  /* Decorative crest watermarks bleed off the right edge on mobile and read
     as a stray, cheap half-badge floating off-screen — hide them here. The
     crisp branded crests (nav, footer) are unaffected. */
  .page-head__crest,
  .era-break__crest { display: none !important; }

  /* The drawer panel: holds the links list + the actions cluster */
  .nav__drawer {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    background: var(--color-pitch);
    padding: clamp(5.5rem, 16vw, 7rem) var(--container-gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--duration-slow) var(--ease-ghost),
                opacity var(--duration-slow) var(--ease-ghost);
  }
  .nav.is-open .nav__drawer {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
    border-top: 1px solid var(--color-border);
  }
  .nav__links > li { border-bottom: 1px solid var(--color-border); }
  .nav__link {
    font-size: 1.35rem;
    min-height: 56px;
    display: flex;
    align-items: center;
  }
  .nav__link::after { display: none; }

  /* trigger becomes a full-width accordion header */
  .nav__trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 56px;
    font-size: 1.35rem;
  }
  .nav__trigger::after { display: none; }
  .nav__group { position: static; }

  /* mobile accordion menu — collapsed by default, max-height transition */
  .nav__menu {
    position: static;
    translate: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    background: none;
    backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-ghost);
  }
  .nav__group.is-open .nav__menu { max-height: 360px; }
  .nav__group:hover .nav__menu,
  .nav__group:focus-within .nav__menu { /* no hover-open on touch */ max-height: 0; }
  .nav__group.is-open .nav__menu { max-height: 360px; }
  .nav__menu a {
    padding: 0.85rem 0.5rem 0.85rem 1.25rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    color: var(--color-ink-dim);
    border-left: 1px solid var(--color-border-gold);
    margin-left: 0.25rem;
    border-radius: 0;
  }
  .nav__group.is-open .nav__caret { transform: rotate(-135deg) translateY(-1px); }

  /* drawer actions cluster sits at the foot of the panel */
  .nav__actions {
    margin-top: auto;
    padding-top: 2rem;
    justify-content: flex-start;
    gap: 1rem;
  }
  .nav__store { flex: 1; justify-content: center; min-height: 52px; }
  .nav__theme { width: 52px; height: 52px; }
}

@media (min-width: 861px) {
  /* On desktop the drawer is just a flex passthrough — no panel chrome */
  .nav__drawer { display: contents; }
}

/* ============================================================
   HERO + SKULL MASK MOVE (the structural risk)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  padding-top: 7rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-black);
}

/* Full-bleed photographic ground: real OP supporters. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;   /* centre the title celebration */
  filter: contrast(1.06) saturate(1.06) brightness(0.98);
}

/* Dark gradient scrim for headline legibility: heaviest at the
   bottom-left where the type sits, lifting to reveal the photo top-right. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top,
      var(--color-black) 0%,
      rgba(0,0,0,0.74) 26%,
      rgba(0,0,0,0.12) 60%,
      rgba(0,0,0,0.28) 100%),
    linear-gradient(100deg,
      rgba(0,0,0,0.62) 0%,
      rgba(0,0,0,0.18) 50%,
      transparent 100%);
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 720px) {
  .hero__content { max-width: 42rem; }   /* px-based: ch resolves to body font and was far too narrow */
}
.hero h1 {
  font-size: clamp(2.6rem, 6.8vw, 5rem);  /* override --text-hero: 144px was clipping/overflowing */
  line-height: 0.96;
  margin-block: 0.7rem 1.2rem;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Champions tag — gold = prestige, scarce by rule */
.hero__champtag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-gold-bright);
  padding: 0.5em 0.95em;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-pill);
  background: rgba(212, 184, 74, 0.08);
  backdrop-filter: blur(4px);
}
.hero__champtag-dot {
  /* CSS-only gold trophy — mask over solid gold fill, no markup change */
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: middle;
  background: var(--color-gold-bright);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 3H7v2H5a2 2 0 0 0-2 2v1a4 4 0 0 0 4 4h.26A6 6 0 0 0 11 14.72V17H9v2h6v-2h-2v-2.28A6 6 0 0 0 16.74 12H17a4 4 0 0 0 4-4V7a2 2 0 0 0-2-2h-2V3zM5 8V7h2v3.9A2 2 0 0 1 5 8zm14 0a2 2 0 0 1-2 2.9V7h2v1z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 3H7v2H5a2 2 0 0 0-2 2v1a4 4 0 0 0 4 4h.26A6 6 0 0 0 11 14.72V17H9v2h6v-2h-2v-2.28A6 6 0 0 0 16.74 12H17a4 4 0 0 0 4-4V7a2 2 0 0 0-2-2h-2V3zM5 8V7h2v3.9A2 2 0 0 1 5 8zm14 0a2 2 0 0 1-2 2.9V7h2v1z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  border-radius: 0;
  box-shadow: none;
}

.hero__sub {
  font-family: var(--font-sub);
  font-size: var(--text-h3);
  font-weight: 300;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-white-dim);
  display: block;
  text-shadow: 0 1px 24px rgba(0,0,0,0.7);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ============================================================
   PHOTOGRAPHIC BAND — full-bleed real photo, editorial caption
   ============================================================ */
.photoband {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 82vh, 880px);
  padding-block: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--color-black);
}
.photoband__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: grayscale(0.25) contrast(1.05) brightness(0.78);
}
/* Parallax — scroll-linked vertical drift, progressive enhancement only */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .photoband__img {
      animation: photoband-parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes photoband-parallax {
      from { transform: translateY(-6%); }
      to   { transform: translateY(6%); }
    }
  }
}
/* Hard stop — honour user motion preference; static taller image is the fallback */
@media (prefers-reduced-motion: reduce) {
  .photoband__img { animation: none !important; transform: none !important; }
}
.photoband__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top,
    var(--color-black) 4%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.25) 100%);
}
.photoband__content { max-width: 46ch; }
.photoband__title {
  font-size: var(--text-display);
  color: var(--color-white);
  margin-block: 0.5rem 1rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.7);
}

/* ---- REVEAL-ON-SCROLL (IntersectionObserver) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-cinematic) var(--ease-ghost),
              transform var(--duration-cinematic) var(--ease-ghost);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { max-width: 18ch; }

/* ============================================================
   STAT STRIP (season highlight)
   ============================================================ */
.champ {
  position: relative;
  border-block: 1px solid var(--color-border-gold);
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(212,184,74,0.08), transparent 60%),
    var(--color-pitch);
}
.champ__inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.champ__headline h2 {
  font-size: var(--text-display);
  max-width: 16ch;
}
.champ__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.stat {
  background: var(--color-black);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-mono-num);
  line-height: 1;
  color: var(--color-gold);
}
.stat__label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
}

/* ============================================================
   FEATURE GRID (teasers)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.feature {
  position: relative;
  background: var(--color-pitch);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  overflow: hidden;
  transition: background var(--duration-base) var(--ease-ghost);
}
.feature::before {
  content: attr(data-index);
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  right: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--color-white-ghost);
  transition: color var(--duration-base) var(--ease-ghost);
}
.feature:hover { background: var(--color-surface-1); }
.feature:hover::before { color: var(--color-border-gold); }
.feature h3 { max-width: 14ch; }
.feature p { margin: 0; color: var(--color-ink-dim); max-width: 38ch; }
.feature__link {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-white);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.feature__link .btn__arrow { transition: transform var(--duration-base) var(--ease-ghost); }
.feature:hover .feature__link .btn__arrow { transform: translateX(4px); }
.feature__link::after {
  content: "";
  position: absolute; inset: 0;
}
.feature:focus-within { outline: 2px solid var(--color-gold-bright); outline-offset: -2px; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head {
  position: relative;
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.page-head__crest {
  position: absolute;
  right: -6%;
  top: 50%;
  translate: 0 -50%;
  width: min(52vw, 480px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1) brightness(1.4);
}
.page-head h1 {
  font-size: var(--text-display);
  max-width: 16ch;
  position: relative;
}
.page-head .lead { margin-top: 1.25rem; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--color-pitch);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__brand-mark { width: 40px; height: 40px; display: block; object-fit: contain; }
.footer__tag {
  margin-top: 1.1rem;
  color: var(--color-ink-dim);
  max-width: 34ch;
}
.footer__col h4 {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
  margin: 0 0 1.1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a {
  color: var(--color-white-dim);
  transition: color var(--duration-base) var(--ease-ghost);
}
.footer__col a:hover, .footer__col a:focus-visible { color: var(--color-gold); }
.footer__bar {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: var(--text-small);
  color: var(--color-ink-faint);
}
.footer__credit {
  margin-top: 1.1rem;
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--color-ink-faint);
  max-width: 92ch;
}
.footer__credit strong { color: var(--color-ink-dim); }
.footer__credit em { font-style: italic; color: var(--color-ink-dim); }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer__brand { font-size: 1.3rem; }
  .footer__tag { overflow-wrap: break-word; }
}

/* ============================================================
   HONOURS WALL
   ============================================================ */
.honours-wall {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.honour {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-black);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
  transition: background var(--duration-base) var(--ease-ghost);
}
@media (max-width: 400px) {
  .honour { grid-template-columns: 1fr; gap: 0.75rem; }
  .honour__count span { text-align: left; }
}
.honour:hover { background: var(--color-surface-1); }
.honour__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-transform: uppercase;
  line-height: 1.05;
  overflow-wrap: break-word;
  min-width: 0;
}
.honour__meta {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-ink-dim);
  text-transform: none;
  letter-spacing: 0;
}
.honour__count {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  line-height: 1;
  color: var(--color-gold);
}
.honour__count span {
  display: block;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  color: var(--color-ink-dim);
  text-align: right;
}
.honour--star { background: linear-gradient(100deg, rgba(212,184,74,0.1), transparent 70%); }

/* ===== Trophy succession — physical roll-call with real imagery ===== */
.succession {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.succ {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  background: var(--color-black);
  padding: clamp(1.25rem, 3.5vw, 1.85rem) clamp(1.25rem, 4vw, 2.25rem);
  transition: background var(--duration-base) var(--ease-ghost);
}
.succ:hover { background: var(--color-surface-1); }
.succ__art {
  width: 64px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.succ__art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}
/* glyph fallback when no licensed trophy photo exists — clearly a crest, not a fake trophy */
.succ__art--glyph {
  border: 1px solid var(--color-border-strong);
  border-radius: 3px;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(212,184,74,0.16), transparent 60%),
    var(--color-surface-1);
}
.succ__art--glyph img { max-width: 60%; max-height: 60%; opacity: 0.85; filter: none; }
.succ__body { min-width: 0; }
.succ__name {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-transform: uppercase;
  line-height: 1.05;
  overflow-wrap: break-word;
}
.succ__years {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-ink-dim);
  text-transform: none;
  letter-spacing: 0;
}
.succ__count {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1;
  color: var(--color-gold);
  text-align: right;
  white-space: nowrap;
}
.succ__count span {
  display: block;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  color: var(--color-ink-dim);
}
@media (max-width: 460px) {
  .succ {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.9rem 1rem;
    row-gap: 0.4rem;
  }
  .succ__art { width: 48px; height: 60px; }
  .succ__count {
    grid-column: 2;
    text-align: left;
    font-size: 1.9rem;
  }
  .succ__count span { text-align: left; }
}

/* season story timeline */
.story {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.story__row {
  background: var(--color-pitch);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(90px, 140px) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: baseline;
}
.story__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-white-ghost);
  line-height: 1;
}
.story__row h3 { margin-bottom: 0.5rem; }
.story__row p { margin: 0; color: var(--color-ink-dim); max-width: 60ch; }
@media (max-width: 600px) {
  .story__row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ============================================================
   COACHES (editorial cards)
   ============================================================ */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.coach {
  position: relative;
  background: var(--color-pitch);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background var(--duration-base) var(--ease-ghost);
}
.coach:first-child { grid-column: 1 / -1; }
.coach:first-child .coach__role { color: var(--color-gold); }
.coach:hover { background: var(--color-surface-1); }
.coach__portrait {
  /* image slot — official club headshots; crest hatch shown only when no photo */
  aspect-ratio: 4 / 5;
  max-width: 220px;
  margin-bottom: auto;
  background:
    repeating-linear-gradient(135deg, var(--color-surface-2) 0 2px, transparent 2px 10px),
    var(--color-surface-1);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.coach__portrait::after {
  content: "";
  width: 56px; height: 56px;
  background: var(--crest-mark) center / contain no-repeat;
  opacity: 0.4;
}
/* a real headshot fills the slot; suppress hatch + crest mark */
.coach__portrait--photo {
  background: var(--color-black);
  border-color: var(--color-border);
}
.coach__portrait--photo::after { display: none; }
.coach__portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  /* match the squad card: bright, clear, light bottom scrim only */
  filter: grayscale(0.1) contrast(1.03) brightness(1.03);
  transition: filter var(--duration-slow) var(--ease-ghost),
              transform var(--duration-slow) var(--ease-ghost);
}
.coach:hover .coach__portrait-img {
  filter: grayscale(0) contrast(1.02) brightness(1.04);
  transform: scale(1.03);
}
/* light bottom scrim to anchor the white studio backdrop into the card */
.coach__portrait--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.12) 12%, rgba(11,11,11,0) 30%);
}
@media (prefers-reduced-motion: reduce) {
  .coach__portrait-img { transition: none; }
}
.coach__role {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
  margin-top: 1.75rem;
}
.coach__name {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-transform: uppercase;
  margin-top: 0.35rem;
  line-height: 1;
}
.coach__nat {
  margin-top: 0.6rem;
  font-size: var(--text-small);
  color: var(--color-white-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.coach__nat::before {
  content: "";
  width: 20px; height: 13px;
  border: 1px solid var(--color-border-strong);
  background-color: var(--color-surface-2);
  background-image: var(--flag, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: none;
}
.coach__nat[data-flag="za"]::before { --flag: url("assets/flags/za.svg"); }
.coach__nat[data-flag="ma"]::before { --flag: url("assets/flags/ma.svg"); }
.coach__nat[data-flag="tn"]::before { --flag: url("assets/flags/tn.svg"); }
.coach--lead-text { max-width: 46ch; }
@media (min-width: 760px) {
  .coach:first-child {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
  }
  .coach:first-child .coach__portrait { margin-bottom: 0; max-width: none; }
  .coach:first-child .coach__role { margin-top: 0; }
}

/* ============================================================
   DATA NOTE / FOOTNOTE
   ============================================================ */
.note {
  font-size: var(--text-small);
  color: var(--color-ink-faint);
  max-width: 70ch;
  border-left: 1px solid var(--color-border-gold);
  padding-left: 1rem;
  line-height: 1.5;
}
.note strong { color: var(--color-ink-dim); font-weight: 600; }

/* ============================================================
   VISUALLY HIDDEN (screen-reader only)
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.news-card {
  position: relative;
  background: var(--color-pitch);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  transition: background var(--duration-base) var(--ease-ghost);
  /* ensure tap target height is at least 44px even on short cards */
  min-height: 180px;
}
.news-card:hover { background: var(--color-surface-1); }
.news-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-gold) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-ghost);
}
.news-card:hover::before { transform: scaleX(1); }
.news-card--champion { background: linear-gradient(120deg, rgba(212,184,74,0.08), transparent 60%); }
.news-card--champion::before { background: var(--color-gold); transform: scaleX(1); }

.news-card__label {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
}
.news-card__label--red { color: var(--color-red); }
.news-card__label--gold { color: var(--color-gold); }

.news-card__headline {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-transform: uppercase;
  line-height: var(--leading-snug);
  max-width: 24ch;
  margin: 0;
}
.news-card__source {
  margin-top: auto;
  font-size: var(--text-small);
  color: var(--color-ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color var(--duration-base) var(--ease-ghost);
}
.news-card__source::after {
  content: "→";
  transition: transform var(--duration-base) var(--ease-ghost);
}
.news-card:hover .news-card__source { color: var(--color-white-dim); }
.news-card:hover .news-card__source::after { transform: translateX(4px); }
.news-card__link::after { content: ""; position: absolute; inset: 0; }
.news-card:focus-within { outline: 2px solid var(--color-gold-bright); outline-offset: -2px; }

/* ============================================================
   PARTNERS / SPONSORS RAIL
   ============================================================ */
.partners {
  border-block: 1px solid var(--color-border);
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--color-pitch);
}
/* ---- LOGO WALL: mono on black, full colour on hover. Hairline dividers. ---- */
.partner-wall {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.partner {
  position: relative;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem);
  min-height: clamp(130px, 18vw, 168px);
  transition: background var(--duration-base) var(--ease-ghost);
}
.partner::after {
  /* corner tick — quiet structural detail, brightens on hover */
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--color-ink-faint);
  border-left: 1px solid var(--color-ink-faint);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-ghost);
}
.partner__logo {
  display: block;
  width: auto;
  max-width: min(80%, 170px);
  height: clamp(34px, 7vw, 46px);
  object-fit: contain;
  /* render every logo as cohesive mono white on the black ground */
  filter: brightness(0) invert(1) opacity(0.72);
  transition: filter var(--duration-slow) var(--ease-ghost),
              transform var(--duration-slow) var(--ease-ghost);
  transform: translateZ(0) scale(1);
}
.partner:hover .partner__logo,
.partner:focus-within .partner__logo {
  /* restore the brand's own colour + a confident lift */
  filter: none;
  transform: scale(1.04);
}
.partner:hover { background: var(--color-surface-1); }
.partner:hover::after,
.partner:focus-within::after { opacity: 1; }
.partner__role {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  line-height: 1.3;
  max-width: 22ch;
  color: var(--color-ink-faint);
  text-transform: none;
  transition: color var(--duration-base) var(--ease-ghost);
}
.partner:hover .partner__role,
.partner:focus-within .partner__role { color: var(--color-ink-dim); }

/* Marriott is a tall mark — give it a touch less height so it sits in rhythm */
.partner__logo--marriott { height: clamp(44px, 9vw, 60px); }
.partner__logo--adidas,
.partner__logo--suzuki { height: clamp(40px, 8vw, 54px); }

/* Primary partner (Vodacom) — the gold edge of prestige + always slightly forward */
.partner--primary { border-bottom: 2px solid var(--color-gold); }
.partner--primary .partner__logo { filter: brightness(0) invert(1) opacity(0.9); }
.partner--primary .partner__role { color: var(--color-gold); opacity: 0.85; }

/* ============================================================
   IDENTITY PILLARS (home page)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pillar {
  background: var(--color-pitch);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: attr(data-glyph);
  position: absolute;
  bottom: -0.15em;
  right: 0.2em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 1;
  color: var(--color-white-ghost);
  pointer-events: none;
  transition: color var(--duration-slow) var(--ease-ghost);
}
.pillar:hover::before { color: rgba(212,184,74,0.09); }
.pillar__eyebrow {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
}
.pillar__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-transform: uppercase;
  line-height: var(--leading-snug);
  max-width: 18ch;
}
.pillar__body {
  font-size: var(--text-body);
  color: var(--color-white-dim);
  max-width: 38ch;
  line-height: 1.5;
}
.pillar--gold .pillar__title { color: var(--color-gold); }

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.social-item {
  position: relative;
  flex: 1 1 160px;
  background: var(--color-black);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background var(--duration-base) var(--ease-ghost);
  min-height: 44px;
}
.social-item:hover { background: var(--color-surface-1); }
.social-item__platform {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
}
.social-item__handle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  text-transform: uppercase;
}
.social-item__count {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-ink-faint);
}
.social-item__link::after { content: ""; position: absolute; inset: 0; }
.social-item:focus-within { outline: 2px solid var(--color-gold-bright); outline-offset: -2px; }

/* ============================================================
   COUNTER ANIMATION (JS-driven)
   ============================================================ */
.stat__num[data-count] { transition: none; }

/* ============================================================
   SECTION BREAK RULE (decorative line with skull centred)
   ============================================================ */
.section-rule {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-block: clamp(1rem, 2.5vw, 1.75rem);
  color: var(--color-border);
}
.section-rule::before,
.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}


/* ============================================================
   FOUNDING STRIP
   ============================================================ */
.founding-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.founding-item {
  background: var(--color-black);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.founding-item__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--color-gold);
}
.founding-item__label {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-ink-dim);
}

/* ============================================================
   NICKNAMES MARQUEE STRIP
   ============================================================ */
.nick-strip {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  padding-block: 0.75rem;
  background: var(--color-surface-1);
  position: relative;
}
.nick-strip::before,
.nick-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(2rem, 6vw, 4rem);
  z-index: 2;
  pointer-events: none;
}
.nick-strip::before { left: 0; background: linear-gradient(to right, var(--color-surface-1), transparent); }
.nick-strip::after  { right: 0; background: linear-gradient(to left, var(--color-surface-1), transparent); }
.nick-strip__track {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: max-content;
  animation: marquee 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .nick-strip__track { animation: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.nick-strip__item {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
/* Faded Pirates crest between each nickname; omit on the last item so the
   looping duplicate doesn't produce a crest immediately before the first real item */
.nick-strip__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin: 0 .9em;
  vertical-align: middle;
  background: url(assets/crest.svg) center / contain no-repeat;
  opacity: .18;
}

/* ============================================================
   360px MOBILE GUARDS
   ============================================================ */
@media (max-width: 480px) {
  /* hide the page-head crest watermark on very narrow screens — prevents right overflow */
  .page-head__crest { display: none; }

  /* treble banner headline wraps gracefully */
  .treble-banner__headline { font-size: clamp(1.9rem, 9vw, 3rem); }

  /* pillar ghost glyph too large on mobile */
  .pillar::before { font-size: clamp(4rem, 22vw, 7rem); }

  /* partner wall: 2-up on narrow screens */
  .partner-wall { grid-template-columns: 1fr 1fr; }

  /* founding strip: 2-up on narrow */
  .founding-strip { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FULL HONOURS WALL ADDITIONS
   ============================================================ */
.honour--treble { background: linear-gradient(100deg, rgba(238,54,47,0.07), transparent 65%); }
.honour--treble .honour__title { color: var(--color-red); }
.honour--africa { background: linear-gradient(100deg, rgba(212,184,74,0.12), transparent 60%); }
.honour--africa .honour__title { color: var(--color-gold); }
.honour__years {
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: var(--color-ink-faint);
  margin-top: 0.5rem;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

/* ============================================================
   TREBLE BANNER (honours page call-out)
   ============================================================ */
.treble-banner {
  border: 1px solid var(--color-border-gold);
  background: radial-gradient(130% 120% at 80% 0%, rgba(212,184,74,0.1), transparent 60%);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
}
.treble-banner__eyebrow {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-gold);
}
.treble-banner__headline {
  font-family: var(--font-display);
  font-size: var(--text-display);
  text-transform: uppercase;
  line-height: var(--leading-tight);
  max-width: 14ch;
}
.treble-banner__trophies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.treble-banner__trophies li {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  border: 1px solid var(--color-border-gold);
  padding: 0.45rem 0.85rem;
  color: var(--color-white-dim);
}
.treble-banner__note {
  font-size: var(--text-small);
  color: var(--color-ink-faint);
  max-width: 60ch;
  line-height: 1.5;
}

/* ============================================================
   POLISH LAYER — depth, rhythm, micro-interactions
   All on existing tokens. Transitions only (no keyframes).
   ============================================================ */

/* ---- Reveal: lead the eye in with a faint scale, not just a slide ---- */
.reveal {
  transform: translateY(28px) scale(0.992);
}
.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; } }

/* ---- Eyebrow: the leading tick grows on section entry ---- */
.section-head .eyebrow::before {
  transform-origin: left;
  transform: scaleX(0.4);
  transition: transform var(--duration-slow) var(--ease-ghost) 120ms;
}
.section-head.is-visible .eyebrow::before { transform: scaleX(1); }

/* ---- Stat cells: gold base-rule that draws in; number lifts on hover ---- */
.stat { position: relative; transition: background var(--duration-base) var(--ease-ghost); }
.stat::after {
  content: "";
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--color-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-cinematic) var(--ease-ghost);
}
.champ__stats.is-visible .stat::after { transform: scaleX(1); }
.stat:hover { background: var(--color-surface-1); }
.stat__num { transition: transform var(--duration-base) var(--ease-ghost), text-shadow var(--duration-base) var(--ease-ghost); }
.stat:hover .stat__num { transform: translateY(-3px); text-shadow: var(--shadow-gold-glow); }

/* ---- Founding strip: same prestige rule, plus number lift ---- */
.founding-item { position: relative; transition: background var(--duration-base) var(--ease-ghost); }
.founding-item:hover { background: var(--color-surface-1); }
.founding-item__num { transition: transform var(--duration-base) var(--ease-ghost); }
.founding-item:hover .founding-item__num { transform: translateY(-3px); }

/* ---- Cards (news + feature + partner): real depth on lift ---- */
.news-card, .feature {
  transition: background var(--duration-base) var(--ease-ghost),
              transform var(--duration-base) var(--ease-ghost),
              box-shadow var(--duration-base) var(--ease-ghost);
}
.news-card:hover, .feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  z-index: 1;
}
.partner {
  transition: background var(--duration-base) var(--ease-ghost),
              transform var(--duration-base) var(--ease-ghost),
              box-shadow var(--duration-base) var(--ease-ghost);
}
.partner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  z-index: 1;
}

/* ---- Pillars: gold corner-rule on the founding pillar, lift on all ---- */
.pillar { transition: background var(--duration-base) var(--ease-ghost), transform var(--duration-base) var(--ease-ghost); }
.pillar:hover { transform: translateY(-4px); }

/* ---- Photoband: slow ken-burns drift on the still, anchored, no overflow ---- */
.photoband { overflow: hidden; }
.photoband__img {
  transition: transform var(--duration-cinematic) var(--ease-ghost), filter var(--duration-cinematic) var(--ease-ghost);
  will-change: transform;
}
.photoband:hover .photoband__img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .photoband:hover .photoband__img { transform: none; } }

/* ---- Section rhythm: consistent vertical breathing on the home flow ---- */
.section { padding-block: var(--section-gap); }

/* ---- Buttons: arrow advances, ghost button gains a hairline fill ---- */
.btn .btn__arrow { transition: transform var(--duration-base) var(--ease-ghost); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ============================================================
   STORE MODAL (accessible dialog — focus-trapped via JS)
   Opens from the Store nav button. Pirates shop teaser:
   real partner context only, one clear "Visit the store" CTA.
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  /* hidden state — no pointer events, faded out.
     visibility flips instantly on open (so the dialog is immediately
     focusable) but is delayed until the fade-out finishes on close. */
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-ghost),
              visibility 0s linear var(--duration-base);
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--duration-base) var(--ease-ghost),
              visibility 0s linear 0s;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}
body.light .modal__backdrop { background: rgba(40, 34, 14, 0.55); }
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  background: var(--color-pitch);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-lift);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  transform: translateY(14px) scale(0.985);
  transition: transform var(--duration-base) var(--ease-ghost);
}
.modal.is-open .modal__dialog { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal__dialog { transition: none; }
}
.modal__close {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-white-dim);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--duration-base) var(--ease-ghost),
              border-color var(--duration-base) var(--ease-ghost),
              background var(--duration-base) var(--ease-ghost);
}
.modal__close:hover { color: var(--color-white); background: var(--color-white-ghost); border-color: var(--color-border-strong); }
.modal__eyebrow {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.modal__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--color-gold); }
.modal__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  text-transform: uppercase;
  line-height: var(--leading-tight);
  margin: 0.85rem 0 0;
  max-width: 16ch;
}
.modal__body {
  margin-top: 1rem;
  color: var(--color-white-dim);
  max-width: 46ch;
  line-height: 1.5;
}
.modal__kits {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.modal__kits li {
  background: var(--color-black);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}
.modal__kit-name {
  font-family: var(--font-sub);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  flex: none;
}
.modal__kit-note { font-size: var(--text-small); color: var(--color-ink-dim); }
.modal__cta { margin-top: 1.75rem; }
.modal__partners {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-small);
  color: var(--color-ink-faint);
  line-height: 1.5;
}
.modal__partners strong { color: var(--color-ink-dim); font-weight: 600; }

/* ============================================================
   FOOTER — multi-column rebuild (mirrors the IA)
   Adds: partners row, four-platform socials, address + legal.
   Builds on the existing .footer / .footer__col primitives.
   ============================================================ */
.footer__grid--ia {
  grid-template-columns: 1.5fr repeat(3, 1fr);
}
@media (max-width: 980px) {
  .footer__grid--ia { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid--ia { grid-template-columns: 1fr; }
}
.footer__motto {
  margin-top: 0.9rem;
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--tracking-sub);
  text-transform: uppercase;
  color: var(--color-gold);
}
.footer__address {
  margin-top: 1.1rem;
  font-style: normal;
  font-size: var(--text-small);
  color: var(--color-ink-dim);
  line-height: 1.55;
}

/* socials — four platforms, count under each */
.footer__socials { display: grid; gap: 0.7rem; }
.footer__social {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--color-white-dim);
  min-height: 28px;
  transition: color var(--duration-base) var(--ease-ghost);
}
.footer__social:hover, .footer__social:focus-visible { color: var(--color-gold); }
.footer__social-name {
  font-family: var(--font-sub);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__social-count { font-size: var(--text-small); color: var(--color-ink-faint); }

/* partners row — quiet mono lockup spanning the footer */
.footer__partners {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--color-border);
}
.footer__partners-label {
  font-family: var(--font-sub);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-ink-faint);
  margin: 0 0 1.25rem;
}
.footer__partner-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3rem);
}
.footer__partner-wall li { display: flex; align-items: center; }
.footer__partner-logo {
  height: clamp(22px, 4vw, 30px);
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter var(--duration-base) var(--ease-ghost);
}
body.light .footer__partner-logo { filter: brightness(0) opacity(0.5); }
.footer__partner-wall li:hover .footer__partner-logo { filter: none; }

/* ============================================================
   LIGHT-MODE SURFACE CORRECTIONS
   The image-led surfaces (hero, photoband) keep a dark scrim so
   white headline text stays legible over photography in BOTH
   themes — paper-light text would vanish on the photo. The
   crest watermark + logo-wall treatments flip for paper.
   ============================================================ */
body.light .hero h1,
body.light .photoband__title,
body.light .hero__sub { color: #FFFFFF; }
body.light .hero__champtag { color: var(--color-gold-bright); }

/* logo wall: on paper, render marks dark mono, colour on hover */
body.light .partner__logo { filter: brightness(0) opacity(0.62); }
body.light .partner--primary .partner__logo { filter: brightness(0) opacity(0.85); }
body.light .partner:hover .partner__logo,
body.light .partner:focus-within .partner__logo { filter: none; }

/* coach hatch backdrop reads better slightly stronger on paper */
body.light .coach__portrait--photo::before {
  background: linear-gradient(to top, rgba(20,18,12,0.5) 0%, rgba(20,18,12,0.1) 14%, rgba(20,18,12,0) 32%);
}

/* selection + skip-link keep red/white legible on paper */
body.light ::selection { background: var(--color-gold); color: #FFFFFF; }
body.light .skip-link { color: #FFFFFF; }
body.light .btn--live, body.light .btn--live:hover { --btn-fg: #FFFFFF; }

/* nav scrolled state: the backdrop is a hardcoded dark glass (rgba(0,0,0,0.92)) that is
   NOT overridden by the token swap. On light paper the token-swapped text colours
   (--color-white = #15140F, --color-white-dim = #2C2A22) become near-black-on-black.
   Pin nav text back to explicit white whenever the dark glass is active. */
body.light .nav.is-scrolled {
  background: rgba(15, 14, 10, 0.92);
}
body.light .nav.is-scrolled .nav__link,
body.light .nav.is-scrolled .nav__trigger,
body.light .nav.is-scrolled .nav__store {
  color: #E8E8E8;
}
body.light .nav.is-scrolled .nav__brand {
  color: #FFFFFF;
}
body.light .nav.is-scrolled .nav__brand span { color: rgba(255,255,255,0.5); }
body.light .nav.is-scrolled .nav__theme {
  color: #E8E8E8;
  border-color: rgba(255, 255, 255, 0.22);
}
