:root {
  --ink: #0b0b0c;
  --fog: #f2ede1;
  --mist: #b7b2a6;
  --signal: #d4af37;
  --signal-deep: #b8912b;
  --glow: rgba(212, 175, 55, 0.35);
  --type: "Figtree", sans-serif;
  --display: "Syne", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--type);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe {
  max-width: 100%;
}

iframe {
  border: 0;
}

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

/* Atmosphere */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 6vw;
  color: var(--fog);
  background: rgba(11, 11, 12, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

/* Blur only on fine-pointer desktops — backdrop-filter traps position:fixed
   children on Android Chrome and breaks the mobile drawer. */
@media (min-width: 1101px) and (hover: hover) and (pointer: fine) {
  .nav {
    background: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 102;
}

.nav-mark img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.nav-mark span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--signal);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 102;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  background: rgba(11, 11, 12, 0.55);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fog);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a.ghost,
.nav button.ghost {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.25s var(--ease), color 0.25s ease;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0.45rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a.ghost:hover,
.nav button.ghost:hover { opacity: 1; }

.nav a.ghost.active { color: var(--signal); opacity: 1; }

body.nav-locked,
html.nav-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

body.nav-locked {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* Hero — full-bleed visual plane */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--fog);
  isolation: isolate;
  --hero-mx: -40%;
  --hero-my: 55%;
  --hero-beam: clamp(9rem, 28vw, 18rem);
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero--beam-on .hero-particles {
  opacity: 0.85;
}

.hero-flashlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-flashlight-veil,
.hero-flashlight-beam {
  display: none;
}

.hero-brush {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero--brush .hero-particles {
  opacity: 0.45;
}

.hero--brush.hero--beam-on .hero-particles {
  opacity: 0.75;
}

.hero-media {
  position: absolute;
  inset: -2%;
  z-index: -2;
  background:
    linear-gradient(165deg, rgba(11, 11, 12, 0.45) 0%, rgba(11, 11, 12, 0.66) 45%, rgba(11, 11, 12, 0.94) 100%),
    url("../media/pit.jpg") center / cover no-repeat;
  transform: scale(1.02) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  will-change: transform;
  animation: heroDrift 22s var(--ease) infinite alternate;
  image-rendering: auto;
}

.hero--motion .hero-media {
  animation: none;
  transition: transform 0.45s var(--ease);
  transform: scale(1.045) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
}

.hero--flashlight .hero-media {
  filter: saturate(1.05) contrast(1.04);
}

/* Brush reveal: veil does the darkening; image underneath stays natural (no gold tint) */
.hero--brush .hero-media {
  filter: none;
}

.hero--brush .hero-media::after,
.hero--brush .hero-media--fighters::after,
.hero--brush .hero-media--rules::after {
  display: none;
}

.hero--brush .hero-media {
  background:
    url("../media/pit.jpg") center / cover no-repeat;
}

.hero--brush .hero-media--raptor {
  /* JPG first: Safari/iPad may drop image-set() and otherwise fall back to pit.jpg */
  background: url("../media/hero-v20260724ipad.jpg") center 28% / cover no-repeat;
  background:
    image-set(
      url("../media/hero-v20260724ipad.webp") type("image/webp"),
      url("../media/hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 28% / cover no-repeat;
}

.hero--brush .hero-media--cage {
  background: url("../media/in-the-cage-hero-v20260724ipad.jpg") center 42% / cover no-repeat;
  background:
    image-set(
      url("../media/in-the-cage-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/in-the-cage-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 42% / cover no-repeat;
  transform: scale(1.14) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
}

.hero--brush .hero-media--fighters {
  background:
    url("../media/fighters-hero-v20260724ipad.png") center 42% / cover no-repeat;
}

.hero--brush .hero-media--rules {
  background: url("../media/club-rules-hero-v20260724ipad.jpg") center 38% / cover no-repeat;
  background:
    image-set(
      url("../media/club-rules-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/club-rules-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 38% / cover no-repeat;
}

.hero--brush .hero-media--promo {
  background: url("../media/promo-team-hero-v20260724ipad.jpg") center 38% / cover no-repeat;
  background:
    image-set(
      url("../media/promo-team-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/promo-team-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 38% / cover no-repeat;
  transform: scale(1.1) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
}

.hero-media--raptor {
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.12) 0%, rgba(11, 11, 12, 0.2) 40%, rgba(11, 11, 12, 0.45) 100%),
    url("../media/hero-v20260724ipad.jpg") center 28% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.12) 0%, rgba(11, 11, 12, 0.2) 40%, rgba(11, 11, 12, 0.45) 100%),
    image-set(
      url("../media/hero-v20260724ipad.webp") type("image/webp"),
      url("../media/hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 28% / cover no-repeat;
}

.hero-media--cage {
  transform: scale(1.14) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.28) 0%, rgba(11, 11, 12, 0.08) 45%, rgba(11, 11, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.06) 0%, rgba(11, 11, 12, 0.32) 100%),
    url("../media/in-the-cage-hero-v20260724ipad.jpg") center 42% / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.28) 0%, rgba(11, 11, 12, 0.08) 45%, rgba(11, 11, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.06) 0%, rgba(11, 11, 12, 0.32) 100%),
    image-set(
      url("../media/in-the-cage-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/in-the-cage-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 42% / cover no-repeat;
}

.hero-media--fighters {
  transform: scale(1.03) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.1) 0%, rgba(11, 11, 12, 0.22) 50%, rgba(11, 11, 12, 0.4) 100%),
    url("../media/fighters-hero-v20260724ipad.png") center 42% / cover no-repeat;
}

.hero-media--fighters::after {
  background: radial-gradient(ellipse 55% 40% at 50% 35%, rgba(212, 175, 55, 0.08), transparent 60%);
}

.hero-media--rules {
  transform: scale(1.03) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.08) 0%, rgba(11, 11, 12, 0.18) 40%, rgba(11, 11, 12, 0.4) 100%),
    url("../media/club-rules-hero-v20260724ipad.jpg") center 38% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.08) 0%, rgba(11, 11, 12, 0.18) 40%, rgba(11, 11, 12, 0.4) 100%),
    image-set(
      url("../media/club-rules-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/club-rules-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 38% / cover no-repeat;
}

.hero-media--rules::after {
  background: radial-gradient(ellipse 55% 40% at 70% 25%, rgba(212, 175, 55, 0.1), transparent 60%);
}

.gallery-hero-bleed .brand--present .brand-name {
  max-width: none;
}

.gallery-hero-bleed .headline {
  max-width: 18ch;
  color: var(--fog);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(212, 175, 55, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(197, 207, 199, 0.06), transparent 50%);
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0); }
  to { transform: scale(1.04) translate3d(calc(var(--hero-px, 0px) - 0.8%), calc(var(--hero-py, 0px) - 0.5%), 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: 0 6vw 12vh;
  transform: translateY(30px);
}

.eyebrow {
  font-family: var(--type);
  font-weight: 600;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s var(--ease) 0.05s forwards;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 1.35rem;
  background: linear-gradient(180deg, #f6e6a8 0%, #d4af37 45%, #a9791f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

/* Presenter line: keep gold gradient, avoid descender clip from .brand line-height 0.88 */
.brand--present {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--signal);
  -webkit-text-fill-color: var(--signal);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: none;
  margin-bottom: 0.75rem;
  overflow: visible;
}

.brand--present .brand-name {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(2.6rem, 9vw, 5.25rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
  margin: 0 0 0.12em;
  padding: 0.12em 0.04em 0.28em;
  overflow: visible;
  vertical-align: top;
  background-image: linear-gradient(180deg, #f6e6a8 0%, #d4af37 45%, #a9791f 100%);
  background-repeat: no-repeat;
  background-size: 100% 130%;
  background-position: center top;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-logo-wrap {
  margin: 0.35rem 0 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.28s forwards;
}

.hero-logo-wrap .hero-logo,
h1.hero-logo-wrap {
  font-size: 0;
  line-height: 0;
}

/* House of de Lange presenter mark */
.hdl-present {
  margin: 0 0 0.85rem;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hdl-mark {
  margin: 0;
  line-height: 0;
  max-width: min(280px, 68vw);
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hdl-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../media/house-of-de-lange-logo.png") center / contain no-repeat;
  filter:
    drop-shadow(0 0 4px rgba(246, 230, 168, 0.7))
    drop-shadow(0 0 11px rgba(212, 175, 55, 0.6))
    drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
  animation: hdlNeonFlicker 5s ease-in-out 0.4s 1 both;
  z-index: -1;
}

.hdl-logo {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.hdl-presents {
  margin: 0.55rem 0 0;
  font-family: var(--type);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.hero-logo {
  display: block;
  width: min(840px, 96vw);
  height: auto;
}

.headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 0.85rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.pit-wordmark-wrap {
  max-width: none;
  margin-bottom: 1rem;
}

.pit-wordmark {
  display: block;
  width: min(420px, 78vw);
  height: auto;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--mist);
  max-width: 34ch;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.55rem;
  font-family: var(--type);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--signal);
  color: #1a1405;
  font-weight: 700;
}

.btn-primary:hover { background: var(--signal-deep); }

.btn-line {
  background: transparent;
  color: var(--fog);
  border: 1px solid rgba(232, 236, 230, 0.35);
  padding: 0.85rem 1.45rem;
}

.btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hdlNeonFlicker {
  0% {
    filter:
      drop-shadow(0 0 4px rgba(246, 230, 168, 0.7))
      drop-shadow(0 0 11px rgba(212, 175, 55, 0.6))
      drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
  }
  4% {
    filter:
      drop-shadow(0 0 2px rgba(246, 230, 168, 0.3))
      drop-shadow(0 0 5px rgba(212, 175, 55, 0.2))
      drop-shadow(0 0 10px rgba(212, 175, 55, 0.1));
  }
  6% {
    filter:
      drop-shadow(0 0 5px rgba(246, 230, 168, 0.85))
      drop-shadow(0 0 14px rgba(212, 175, 55, 0.75))
      drop-shadow(0 0 28px rgba(212, 175, 55, 0.45));
  }
  8% {
    filter:
      drop-shadow(0 0 3px rgba(246, 230, 168, 0.4))
      drop-shadow(0 0 7px rgba(212, 175, 55, 0.25))
      drop-shadow(0 0 12px rgba(212, 175, 55, 0.12));
  }
  10% {
    filter:
      drop-shadow(0 0 4px rgba(246, 230, 168, 0.7))
      drop-shadow(0 0 11px rgba(212, 175, 55, 0.6))
      drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
  }
  50% {
    filter:
      drop-shadow(0 0 6px rgba(246, 230, 168, 0.9))
      drop-shadow(0 0 16px rgba(212, 175, 55, 0.8))
      drop-shadow(0 0 32px rgba(212, 175, 55, 0.5))
      drop-shadow(0 0 48px rgba(169, 121, 31, 0.25));
  }
  52% {
    filter:
      drop-shadow(0 0 2px rgba(246, 230, 168, 0.35))
      drop-shadow(0 0 6px rgba(212, 175, 55, 0.2))
      drop-shadow(0 0 10px rgba(212, 175, 55, 0.1));
  }
  54% {
    filter:
      drop-shadow(0 0 5px rgba(246, 230, 168, 0.82))
      drop-shadow(0 0 14px rgba(212, 175, 55, 0.72))
      drop-shadow(0 0 26px rgba(212, 175, 55, 0.42));
  }
  85% {
    filter:
      drop-shadow(0 0 2px rgba(246, 230, 168, 0.3))
      drop-shadow(0 0 5px rgba(212, 175, 55, 0.15))
      drop-shadow(0 0 8px rgba(212, 175, 55, 0.08));
  }
  100% {
    filter:
      drop-shadow(0 0 0 rgba(246, 230, 168, 0))
      drop-shadow(0 0 0 rgba(212, 175, 55, 0))
      drop-shadow(0 0 0 rgba(212, 175, 55, 0));
  }
}

/* Purpose section */
.purpose {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
}

.purpose-inner {
  max-width: 720px;
}

.purpose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--signal);
}

.purpose p {
  font-size: 1.125rem;
  color: var(--mist);
  max-width: 42ch;
}

.purpose-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 44ch;
}

.purpose-copy p {
  margin: 0;
  max-width: none;
}

.purpose-rule {
  width: 3rem;
  height: 3px;
  background: var(--signal);
  margin: 2rem 0 0;
  transform-origin: left;
  transform: scaleX(0);
}

.purpose.in-view .purpose-rule {
  animation: draw 0.8s var(--ease) 0.15s forwards;
}

@keyframes draw {
  to { transform: scaleX(1); }
}

.purpose--stream {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
}

.purpose-stream {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.purpose--stream .purpose-inner {
  max-width: none;
}

.purpose--stream .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 0.85rem;
}

.purpose--stream .live-meta {
  margin-top: 1.5rem;
}

.purpose--stream .btn-line {
  margin-top: 0.25rem;
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.purpose--stream .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.purpose--stream .live-note {
  margin-top: 1.25rem;
}

/* Arena section */
.arena {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.9) 0%, rgba(11, 11, 12, 0.82) 100%),
    url("../media/pit.jpg") center / cover fixed no-repeat;
  color: var(--fog);
}

.arena-inner {
  max-width: 760px;
}

.arena-eyebrow {
  font-weight: 600;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.arena h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 1rem;
}

.arena-lede {
  font-size: 1.125rem;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

.arena-heritage {
  font-size: 1.05rem;
  color: var(--fog);
  max-width: 48ch;
  margin-bottom: 2.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--signal);
}

.arena-heritage strong {
  color: var(--signal);
  font-weight: 700;
}

.arena-marks {
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.arena-marks li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 11, 12, 0.72);
  font-size: 0.95rem;
  color: var(--mist);
}

.arena-marks li span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--signal);
  min-width: 8ch;
}

.arena-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin: 2.75rem 0;
  width: 100%;
}

@media (max-width: 640px) {
  .arena-gallery { grid-template-columns: 1fr; }
}

.arena-gallery .arena-figure {
  margin: 0;
  max-width: none;
}

.arena-figure {
  margin: 2.75rem 0 0;
  max-width: 960px;
}

.arena-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.arena-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.arena-subhead {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  letter-spacing: -0.02em;
  margin: 2.75rem 0 0.6rem;
}

.arena-note {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.arena-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem 1.5rem;
  max-width: 820px;
}

.arena-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--fog);
  font-size: 1rem;
  line-height: 1.4;
}

.arena-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  transform: rotate(45deg);
  background: var(--signal);
}

/* Page hero — compact banner for interior pages */
.page-hero {
  position: relative;
  padding: clamp(7rem, 16vw, 11rem) 6vw clamp(3rem, 7vw, 5rem);
  color: var(--fog);
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.72) 0%, rgba(11, 11, 12, 0.9) 100%),
    url("../media/pit.jpg") center / cover no-repeat;
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--mist);
  max-width: 52ch;
}

/* Federations grid */
.federations {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: linear-gradient(180deg, #141412 0%, #1b1a17 100%);
  color: var(--fog);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.section-head .eyebrow {
  animation: none;
  opacity: 1;
  transform: none;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 52ch;
}

.fed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.fed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: rgba(11, 11, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 6px;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.fed-card.is-active:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(20, 20, 18, 0.8);
}

.fed-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fed-abbr {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.fed-logo {
  height: 76px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}

.fed-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.fed-status.live {
  color: #0b0b0c;
  background: var(--signal);
}

.fed-status.soon {
  color: var(--mist);
  border: 1px solid rgba(183, 178, 166, 0.4);
}

.fed-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.fed-card p {
  font-size: 0.95rem;
  color: var(--mist);
  margin-bottom: 1.25rem;
}

.fed-members {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.fed-members span {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--fog);
  padding: 0.3rem 0.6rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
}

.fed-link {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--signal);
}

/* Rules page */
.rules {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.rules-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.rules-toc {
  position: sticky;
  top: 90px;
}

.rules-toc h2 {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}

.rules-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rules-toc a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  color: var(--mist);
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rules-toc a:hover {
  color: var(--fog);
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.08);
}

.rule-section {
  scroll-margin-top: 90px;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.rule-section:last-child { border-bottom: none; margin-bottom: 0; }

.rule-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.rule-section > h2 .num {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 4px;
  padding: 0.15em 0.55em;
  flex-shrink: 0;
  transform: translateY(-0.15em);
}

.rule-section h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--signal);
  margin: 1.5rem 0 0.75rem;
}

.rule-section p {
  color: var(--mist);
  max-width: 68ch;
  margin-bottom: 1rem;
}

.rule-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rule-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--fog);
  line-height: 1.45;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  transform: rotate(45deg);
  background: var(--signal);
}

.rule-list.cols {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.5rem 1.5rem;
}

/* Legal / illegal panels */
.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.rule-panel {
  padding: 1.25rem 1.4rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(11, 11, 12, 0.5);
}

.rule-panel h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rule-panel.legal { border-color: rgba(212, 175, 55, 0.4); }
.rule-panel.legal h4 { color: var(--signal); }
.rule-panel.legal h4::before { content: "\2713"; }

.rule-panel.illegal { border-color: rgba(190, 90, 70, 0.45); background: rgba(40, 16, 14, 0.35); }
.rule-panel.illegal h4 { color: #e08a76; }
.rule-panel.illegal h4::before { content: "\2717"; }

.rule-panel ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.rule-panel li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--fog);
}

.rule-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* Format table */
.format-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.98rem;
}

.format-table th,
.format-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.format-table th {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.format-table td:first-child {
  font-weight: 600;
  color: var(--fog);
}

.format-table td { color: var(--mist); }

.format-table tr:hover td { background: rgba(212, 175, 55, 0.05); }

/* Division strike cards */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.division-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.5);
}

.division-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fog);
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.division-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.4rem;
}

.division-card ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.division-card li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--mist);
}

.division-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--signal);
  opacity: 0.6;
}

.rule-principle {
  padding: 1.75rem;
  border-left: 3px solid var(--signal);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 6px 6px 0;
}

.rule-principle strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--signal);
  margin-bottom: 0.75rem;
}

.rule-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.5rem;
}

.rule-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.25rem;
  color: var(--fog);
  line-height: 1.5;
}

.rule-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .rules-layout { grid-template-columns: 1fr; }
  .rules-toc {
    position: static;
    top: auto;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  }
  .rules-toc ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .rules-toc a { border-left: none; border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 4px; }
}

/* Auth / portal login pages */
.auth-page {
  position: relative;
  min-height: calc(100svh - 61px);
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 6vw;
  isolation: isolate;
  color: var(--fog);
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.82) 0%, rgba(11, 11, 12, 0.94) 100%),
    url("../media/pit.jpg") center / cover no-repeat;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(11, 11, 12, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-logo {
  display: block;
  width: min(260px, 70%);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 1.1rem;
}

.auth-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.9rem;
}

.auth-badge.media {
  color: var(--signal);
  background: transparent;
  border: 1px solid var(--signal);
}

.auth-card h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.auth-sub {
  color: var(--mist);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-card .field { margin-bottom: 1.1rem; }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0 1.4rem;
  font-size: 0.85rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mist);
  cursor: pointer;
}

.auth-remember input { accent-color: var(--signal); }

.auth-link { color: var(--signal); font-weight: 600; }

.auth-card .btn { width: 100%; }

.auth-switch {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 0.88rem;
  color: var(--mist);
  text-align: center;
}

.auth-switch a { color: var(--signal); font-weight: 600; }

.auth-portals {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--mist);
  text-align: center;
}
.auth-portals a { color: var(--signal); font-weight: 600; }

.hero-login-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--mist);
}
.hero-login-note a { color: var(--signal); font-weight: 600; }

.auth-home {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--mist);
}

.footer-portals { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-portals a { color: var(--mist); transition: color 0.2s ease; }
.footer-portals a:hover { color: var(--signal); }

/* Championship Week page */
.champ {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.champ-inner { max-width: 1100px; margin: 0 auto; }

.champ-block { margin-bottom: clamp(3rem, 7vw, 5rem); }

.champ-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.champ-type {
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.champ-type .step {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.champ-type h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
}

.champ-type p { color: var(--mist); font-size: 0.95rem; }

.champ-advance {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--signal);
  background: rgba(212, 175, 55, 0.07);
  border-radius: 0 6px 6px 0;
  color: var(--fog);
}

/* Day schedule */
.day-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.day-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.day-card.rest { background: rgba(212, 175, 55, 0.05); }

.day-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.day-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 4px;
  padding: 0.2em 0.6em;
  white-space: nowrap;
}

.day-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.day-card > p { color: var(--mist); font-size: 0.92rem; margin-bottom: 0.75rem; }

.day-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.day-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--fog);
}

.day-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--signal);
}

.day-outcome {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--signal);
  font-weight: 600;
}

/* Prizes */
.belt-figure {
  margin: 0 0 1.75rem;
}

.belt-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.belt-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--mist);
  text-align: center;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1.1rem;
}

.prize-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.prize-ico { font-size: 2rem; display: block; margin-bottom: 0.6rem; }

.prize-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fog);
}

/* Athlete pathway */
.pathway {
  list-style: none;
  counter-reset: path;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.pathway li {
  text-align: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.5);
  font-weight: 600;
  color: var(--fog);
}

.pathway li:not(:last-child)::after {
  content: "\2193";
  display: block;
  margin: 0.5rem auto;
  color: var(--signal);
  font-size: 1.2rem;
  font-weight: 700;
}

.pathway li.peak {
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.12);
  color: var(--signal);
  font-family: var(--display);
  font-weight: 800;
}

/* Motto */
.champ-motto {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12) 0%, rgba(11, 11, 12, 0.5) 70%);
}

.champ-motto p {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--signal);
  line-height: 1.2;
}

/* Fighters page */
.fighters {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.fighters-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.fighters-block { margin-bottom: clamp(3rem, 7vw, 5rem); }

.division-table td:nth-child(2),
.division-table td:nth-child(3) { color: var(--mist); }

.champion-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12) 0%, rgba(11, 11, 12, 0.5) 60%);
}

.champion-medal {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border-radius: 50%;
  background: var(--signal);
  color: #0b0b0c;
}

.champion-belt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.2rem;
}

.champion-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -0.01em;
}

.champion-meta {
  font-size: 0.9rem;
  color: var(--mist);
  margin-top: 0.15rem;
}

.rank-table td .pos {
  font-family: var(--display);
  font-weight: 800;
  color: var(--signal);
}

.rank-table td:last-child { color: var(--mist); }

.rank-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--mist);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 6px;
}

/* Events page */
.events {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.events-inner { max-width: 1000px; margin: 0 auto; }

.events-block { margin-bottom: clamp(3rem, 7vw, 5rem); }

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.event-date {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--signal);
}

.event-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(183, 178, 166, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}

.event-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.event-card .event-org { font-size: 0.9rem; color: var(--mist); margin-bottom: 0.75rem; }

.event-card .event-meta {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--fog);
}

.events-empty {
  padding: 2rem;
  text-align: center;
  color: var(--mist);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 8px;
}

.event-form-wrap {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  background: rgba(11, 11, 12, 0.5);
}

.event-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.1) 0%, rgba(11, 11, 12, 0.5) 65%);
}

.event-cta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.5rem;
}

.event-cta p { color: var(--mist); max-width: 52ch; }
.event-cta .btn { flex-shrink: 0; }

.signed-in-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.5);
  font-size: 0.9rem;
  color: var(--mist);
}

.signed-in-bar strong { color: var(--fog); }

.linklike {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* Dashboards */
.dash {
  min-height: calc(100svh - 61px);
  padding: clamp(2.5rem, 6vw, 4.5rem) 6vw clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #10100f 0%, #171614 55%, #10100f 100%);
  color: var(--fog);
}

.dash-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.dash-top h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.4rem;
}

.dash-meta {
  color: var(--mist);
  font-size: 0.95rem;
}

.dash-meta strong { color: var(--fog); }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.dash-card {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  background: rgba(11, 11, 12, 0.45);
}

.dash-card h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--signal);
}

.dash-dl {
  display: grid;
  gap: 0.75rem;
}

.dash-dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.dash-dl dt {
  color: var(--mist);
  font-size: 0.88rem;
}

.dash-dl dd {
  font-weight: 600;
}

.dash-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-actions .btn {
  text-align: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  color: var(--fog);
  background: transparent;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* Registration page */
.register {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.reg-inner {
  max-width: 920px;
  margin: 0 auto;
}

.reg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.reg-tab {
  font-family: var(--type);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1.1rem;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.reg-tab:hover { color: var(--fog); }

.reg-tab.active {
  color: var(--signal);
  border-color: var(--signal);
}

.reg-form { display: none; }
.reg-form.active { display: block; animation: rise 0.4s var(--ease) forwards; }

.reg-form h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.reg-form > p {
  color: var(--mist);
  max-width: 60ch;
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.field label .req { color: var(--signal); }

.field input,
.field select,
.field textarea {
  font-family: var(--type);
  font-size: 1rem;
  color: var(--fog);
  background: rgba(11, 11, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 5px;
  padding: 0.75rem 0.85rem;
  min-height: 44px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(183, 178, 166, 0.55); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.field select option { background: #141412; color: var(--fog); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--mist);
  max-width: 42ch;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 5px;
  font-size: 0.95rem;
  display: none;
}

.form-status.show { display: block; }

.form-status.success {
  color: var(--signal);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.form-status.error {
  color: #e08a76;
  background: rgba(40, 16, 14, 0.4);
  border: 1px solid rgba(190, 90, 70, 0.45);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Live stream — same dark band language as .purpose */
.live-stream {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.live-stream .eyebrow {
  animation: none;
  opacity: 1;
  transform: none;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.live-stream h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--signal);
}

.live-inner {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.live-lede {
  color: var(--mist);
  font-size: 1.125rem;
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.stream-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mist);
}

.stream-badge[data-state="ready"] {
  color: var(--signal);
  border-color: rgba(212, 175, 55, 0.55);
}

.stream-badge[data-state="ready"]::before {
  background: #e23b3b;
  box-shadow: 0 0 0 3px rgba(226, 59, 59, 0.25);
}

.stream-channel {
  color: var(--mist);
  font-size: 0.9rem;
}

.live-note {
  margin-top: 1.25rem;
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.5;
}

.live-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  min-height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--fog);
  background: rgba(11, 11, 12, 0.45);
  font-family: var(--type);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.1);
  color: var(--signal);
}

.social-ico {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.live-player {
  min-width: 0;
}

.live-stream .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.stream-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.22);
  overflow: hidden;
}

.stream-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.stream-frame[data-state="live"] .stream-mount {
  opacity: 1;
  pointer-events: auto;
}

.stream-mount iframe,
.stream-mount > div {
  width: 100% !important;
  height: 100% !important;
}

.stream-offline {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  padding: 1.75rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(212, 175, 55, 0.14), transparent 68%),
    linear-gradient(180deg, #121210 0%, #0a0a0a 100%);
}

.stream-offline[hidden] {
  display: none !important;
}

.stream-offline-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

.stream-offline-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--fog);
}

.stream-offline-copy {
  color: var(--mist);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 0.25rem auto 0;
  line-height: 1.5;
}

.stream-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 175, 55, 0.12), transparent 70%),
    #0a0a0a;
}

.stream-placeholder-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--signal);
}

.stream-placeholder p {
  color: var(--mist);
  font-size: 0.95rem;
  max-width: 32ch;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .live-inner,
  .purpose-stream {
    grid-template-columns: 1fr;
  }
}

/* Sponsors — same dark band language as .purpose / .live-stream */
.sponsors {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.sponsors-inner {
  max-width: 760px;
}

.sponsors .eyebrow {
  margin-bottom: 0.85rem;
  animation: none;
  opacity: 1;
  transform: none;
  color: var(--signal);
}

.sponsors h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--signal);
}

.sponsors-lede {
  font-size: 1.125rem;
  color: var(--mist);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.sponsor-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.sponsor-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.sponsor-list a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.sponsor-list img {
  display: block;
  width: min(210px, 100%);
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.sponsor-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--signal);
  margin-bottom: 0.2rem;
}

.sponsor-list span {
  display: block;
  color: var(--mist);
  font-size: 0.95rem;
  max-width: 42ch;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .sponsor-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Membership pricing */
/* Weekly class schedule — matches dark membership band, left-aligned */
.class-schedule {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  color: var(--fog);
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
}

.class-schedule-inner {
  max-width: 1430px;
  margin: 0 auto;
}

.class-schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.class-schedule-copy {
  min-width: 0;
}

.class-schedule .eyebrow {
  color: var(--signal);
  opacity: 1;
  transform: none;
  animation: none;
}

.class-schedule h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.class-schedule-lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.class-schedule-board {
  max-width: 720px;
  border-top: 2px solid rgba(212, 175, 55, 0.45);
}

.class-schedule-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8.5rem) minmax(7.5rem, 11rem) minmax(0, 1fr);
  gap: 0.85rem 1.25rem;
  align-items: baseline;
  padding: 1.15rem 0 1.2rem;
  border-bottom: 1px solid rgba(242, 237, 225, 0.12);
  opacity: 0;
  transform: translateY(0.65rem);
  animation: class-schedule-in 0.7s var(--ease) forwards;
  animation-delay: calc(0.08s * var(--i, 0) + 0.12s);
}

.class-schedule-row--pt {
  border-bottom-style: dashed;
  border-bottom-color: rgba(242, 237, 225, 0.18);
}

.class-schedule-time {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--signal);
  line-height: 1.15;
}

.class-schedule-days {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fog);
  line-height: 1.35;
  opacity: 0.88;
}

.class-schedule-session {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.class-schedule-session strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fog);
}

.class-schedule-session span {
  font-size: 0.92rem;
  color: var(--mist);
  line-height: 1.4;
}

.class-schedule-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--mist);
  max-width: 48ch;
}

.class-schedule-cta {
  margin-top: 1.75rem;
}

.class-schedule-cta .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.class-schedule-cta .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.schedule-promo {
  position: sticky;
  top: 5.5rem;
  min-width: 0;
}

.schedule-promo .eyebrow {
  margin-bottom: 0.45rem;
}

.schedule-promo-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--fog);
  margin-bottom: 1rem;
}

.schedule-promo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: rgba(11, 11, 12, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.28);
  overflow: hidden;
  isolation: isolate;
}

.schedule-promo-frame video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0b0b0c;
  pointer-events: auto;
}

.schedule-promo-frame video[hidden] {
  display: none !important;
}

.schedule-promo-empty {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  padding: 1.5rem;
  text-align: center;
}

.schedule-promo-empty[hidden] {
  display: none !important;
  pointer-events: none;
}

.schedule-promo-empty .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
  min-height: 48px;
  padding-inline: 1.25rem;
}

.schedule-promo-empty .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.upload-preview--video {
  aspect-ratio: 16 / 9;
  max-height: none;
}

.upload-preview--video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0b0b0c;
}

@keyframes class-schedule-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .class-schedule-layout {
    grid-template-columns: 1fr;
  }

  .schedule-promo {
    position: static;
    max-width: 640px;
  }
}

@media (max-width: 700px) {
  .class-schedule-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 1.2rem 0 1.25rem;
  }

  .class-schedule-session {
    grid-column: auto;
    margin-top: 0.35rem;
  }

  .music-covers-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .music-covers-admin-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .schedule-promo {
    max-width: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .class-schedule-row {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.membership {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
}

.membership-lede a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.membership-layout {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.membership-inner {
  max-width: none;
}

.membership .eyebrow,
.upcoming-events .eyebrow {
  color: var(--signal);
  opacity: 1;
  transform: none;
  animation: none;
}

.membership h2,
.upcoming-events h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.membership-lede,
.upcoming-lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.upcoming-lede {
  margin-bottom: 1rem;
}

.upcoming-actions {
  margin-bottom: 1.5rem;
}

.upcoming-actions .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.upcoming-actions .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.event-posters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.event-poster {
  margin: 0;
  min-width: 0;
}

.event-poster a {
  display: block;
  line-height: 0;
}

.event-poster a[hidden],
.event-poster img[hidden],
.event-poster figcaption[hidden],
.event-poster .event-poster-slot[hidden] {
  display: none !important;
}

.event-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.event-poster figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--mist);
  line-height: 1.35;
}

.event-poster-slot {
  aspect-ratio: 4 / 5;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  color: var(--mist);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(11, 11, 12, 0.35);
}

.price-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  margin-bottom: 1.25rem;
}

@media (max-width: 960px) {
  .membership-layout {
    grid-template-columns: 1fr;
  }

  .event-posters {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .event-posters {
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .champion-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .event-posters {
    grid-template-columns: 1fr;
  }
}

.price-list li {
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  padding: 1.35rem 0;
}

.price-plan h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  color: var(--fog);
}

.price-amount {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--fog);
  margin-bottom: 0.25rem;
}

.price-amount span {
  color: var(--signal);
}

.price-note {
  font-size: 0.95rem;
  color: var(--mist);
  max-width: 42ch;
}

.price-list-pt {
  margin-top: 0.5rem;
}

.membership-terms {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 1.75rem;
}

.membership-cta {
  opacity: 1;
  transform: none;
  animation: none;
}

.membership-cta .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.membership-cta .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.gallery-cta {
  opacity: 1;
  transform: none;
  animation: none;
  margin-top: 1.75rem;
}

.gallery-stage {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
}

.gallery-stage-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.gallery-frame .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
}

.gallery-frame h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.gallery-frame p {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 40ch;
  margin-bottom: 1.5rem;
}

.gallery-link-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--mist);
  word-break: break-all;
}

.gallery-link-note a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.gallery-poster {
  position: relative;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.28);
  overflow: hidden;
  line-height: 0;
}

.gallery-poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-poster:hover img {
  transform: scale(1.04);
}

.gallery-poster-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.9rem;
  background: rgba(11, 11, 12, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--signal);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 860px) {
  .gallery-frame {
    grid-template-columns: 1fr;
  }
}

/* Poster upload admin */
.upload-page {
  align-items: start;
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

.upload-page .auth-card {
  margin: 0 auto;
}

.auth-error {
  color: #f0a0a0;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.upload-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  color: var(--fog);
}

.upload-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.upload-panel-head .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
}

.upload-panel-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 0.4rem;
}

.upload-hint {
  color: var(--mist);
  max-width: 42ch;
}

.upload-hint strong {
  color: var(--fog);
}

.upload-status {
  min-height: 1.4em;
  margin-bottom: 1rem;
  color: var(--mist);
  font-size: 0.95rem;
}

.upload-status[data-kind="ok"] { color: #9dcea8; }
.upload-status[data-kind="error"] { color: #f0a0a0; }

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.upload-card {
  padding: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(11, 11, 12, 0.55);
}

.upload-card h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--signal);
}

.upload-preview {
  margin-bottom: 1rem;
  position: relative;
}

.upload-preview img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.upload-preview img[hidden],
.upload-preview .event-poster-slot[hidden],
#upload-gate[hidden],
#upload-panel[hidden] {
  display: none !important;
}

.upload-preview .event-poster-slot {
  width: 100%;
}

.upload-card .field {
  margin-bottom: 0.9rem;
}

.upload-card .btn {
  width: 100%;
  margin-top: 0.35rem;
}

.upload-card .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.upload-card-note {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.4;
}

@media (max-width: 760px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }
}

/* Find us / map */
.find-us {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 197, 71, 0.06), transparent 55%),
    linear-gradient(180deg, #12110f 0%, #181714 50%, #12110f 100%);
  color: var(--fog);
}

.find-us-inner {
  max-width: 1430px;
  margin: 0 auto;
}

.find-us .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
}

.find-us h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.find-us-lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.find-us-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: #0c0c0a;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    0 18px 48px rgba(0, 0, 0, 0.35);
}

.find-us-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Turn the default light Google embed into a dark, warm map */
  filter:
    invert(92%)
    hue-rotate(180deg)
    brightness(0.78)
    contrast(1.12)
    saturate(0.35)
    sepia(0.28);
}

.find-us-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 65% at 50% 45%, transparent 35%, rgba(10, 9, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.07), transparent 28%, transparent 72%, rgba(10, 9, 8, 0.35) 100%);
}

.find-us-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Fight shirts */
.fight-shirts {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.fight-shirts-inner {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.fight-shirts-copy .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
}

.fight-shirts h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.fight-shirts-lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 40ch;
  margin-bottom: 1rem;
}

.fight-shirts-rules {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.42rem;
  max-width: 56ch;
}

.fight-shirts-rules li {
  color: var(--mist);
  line-height: 1.4;
}

.fight-shirts-rules strong {
  color: var(--fog);
}

.fight-shirts-or {
  margin: 0 0.35rem;
  color: var(--signal);
  font-weight: 700;
}

.fight-shirts-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--signal);
  margin-bottom: 0.55rem;
}

.fight-shirts-direct {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.fight-shirts-contact {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.fight-shirts-contact a {
  color: var(--fog);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.fight-shirts-contact a:hover {
  color: var(--signal);
}

.fight-shirts-cta {
  opacity: 1;
  transform: none;
  animation: none;
}

.fight-shirts-art {
  margin: 0;
  border: 0;
  background: transparent;
  justify-self: center;
  max-width: min(100%, 640px);
}

.fight-shirts-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  background: transparent;
}

.upload-preview--shirt {
  min-height: 0;
}

.upload-preview--shirt img,
.upload-preview--shirt .event-poster-slot {
  aspect-ratio: auto;
  object-fit: contain;
}

.upload-preview--shirt img {
  max-height: 78vh;
}

/* In the news */
.news {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
}

.news-inner {
  max-width: 1430px;
  margin: 0 auto;
}

.news .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
}

.news h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.news-lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.news-actions {
  margin-bottom: 1.75rem;
}

.press-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  max-width: 820px;
}

.press-gallery:not(:has(.press-photo:not([hidden]))) {
  display: none;
}

.press-photo img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.press-photo .event-poster-slot {
  aspect-ratio: 4 / 3;
}

.upload-section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--signal);
  margin: 2rem 0 1rem;
}

.upload-hint--section {
  margin: -0.35rem 0 1.25rem;
}

.upload-preview--press .event-poster-slot,
.upload-preview--press img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .fight-shirts-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .press-gallery {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

.news-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.news-list li {
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.news-list a {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0;
  transition: color 0.25s ease;
}

.news-list a:hover strong {
  color: var(--signal);
}

.news-list time {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

.news-list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.news-list span {
  font-size: 0.98rem;
  color: var(--mist);
  max-width: 56ch;
}

/* Club stats — live from Fighter Manager */
.club-stats {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background: linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.club-stats-inner {
  max-width: 1430px;
  margin: 0 auto;
}

.club-stats-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.club-stats-layout--solo {
  grid-template-columns: 1fr;
  max-width: 960px;
}

.club-stats-layout--protea {
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
  max-width: none;
}

.club-stats-layout--protea.club-stats-layout--with-ai {
  grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.7fr) minmax(0, 0.85fr);
}

.club-stats-main {
  min-width: 0;
}

/* National Protea Colors — right of Club performance */
.protea-colors-panel {
  min-width: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(165deg, rgba(18, 17, 14, 0.92) 0%, rgba(10, 9, 8, 0.98) 100%);
}

.protea-colors-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.protea-colors-logo {
  display: block;
  width: min(100%, 11.5rem);
  height: auto;
  background: transparent;
}

.protea-colors-panel .eyebrow {
  margin-bottom: 0.35rem;
}

.protea-colors-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--signal);
  margin: 0 0 0.45rem;
}

.protea-colors-lede {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--mist);
  margin: 0 0 1.25rem;
}

.protea-colors-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.protea-colors-head .protea-colors-title {
  margin-bottom: 0;
}

.protea-colors-add {
  flex-shrink: 0;
  min-height: 2.4rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

.protea-colors-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.protea-colors-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: start;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.protea-colors-list li:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.protea-colors-row {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.protea-colors-year {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  line-height: 1.2;
}

.protea-colors-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fog);
  line-height: 1.25;
}

.protea-colors-detail {
  display: block;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--mist);
}

.protea-colors-remove {
  border: 0;
  background: transparent;
  color: rgba(197, 207, 199, 0.55);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.protea-colors-remove:hover {
  color: var(--signal);
}

.protea-colors-empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mist);
}

.protea-colors-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.protea-colors-dialog[hidden] {
  display: none !important;
}

.protea-colors-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 4, 0.72);
}

.protea-colors-dialog-card {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.5rem 1.35rem 1.35rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, #161513 0%, #0e0d0b 100%);
  color: var(--fog);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.protea-colors-dialog-x {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--mist);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.protea-colors-dialog-card .eyebrow {
  color: var(--signal);
  margin-bottom: 0.35rem;
}

.protea-colors-dialog-card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--signal);
  margin: 0 0 0.4rem;
}

.protea-colors-dialog-sub {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  color: var(--mist);
}

.protea-colors-form .field {
  margin-bottom: 0.85rem;
}

.protea-colors-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.35rem;
}

.protea-colors-form input,
.protea-colors-form select {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: var(--fog);
  font: inherit;
}

.protea-colors-form-status {
  min-height: 1.2rem;
  margin: 0.25rem 0 0.85rem;
  font-size: 0.88rem;
  color: var(--mist);
}

.protea-colors-form-status[data-kind="ok"] {
  color: #9fdfb0;
}

.protea-colors-form-status[data-kind="error"] {
  color: #f0a0a0;
}

.protea-colors-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

body.protea-dialog-open {
  overflow: hidden;
}

.club-stats .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.club-stats h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 1rem;
  color: var(--signal);
}

.club-stats-lede {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: 2.75rem;
}

.club-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.25rem 1.75rem;
  margin: 0 0 2.25rem;
  padding: 2.25rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.club-stats-layout--solo .club-stats-grid {
  gap: 2.5rem 2rem;
  padding: 2.75rem 0;
}

.club-stats-grid > div {
  min-width: 0;
  padding-right: 0.35rem;
}

.club-stats-grid dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.club-stats-grid dd {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fog);
}

.club-stat-medal--gold {
  color: #e8c547;
}

.club-stat-medal--silver {
  color: #c8ced8;
}

.club-stat-medal--bronze {
  color: #c48a52;
}

.club-stat-medal--total {
  color: var(--signal);
}

.club-stats-honours {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--mist);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.club-stats-cta {
  margin-top: 0.5rem;
  gap: 0.85rem;
}

.club-stats-cta .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.club-stats-cta .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.club-ai-review {
  position: sticky;
  top: 5.5rem;
  padding: 0 0 0 0;
  border-left: 1px solid rgba(212, 175, 55, 0.28);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  min-width: 0;
}

.club-ai-grade-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.club-ai-grade {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 7vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--signal);
}

.club-ai-tier {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fog);
}

.club-ai-score {
  margin: 0;
  font-size: 0.88rem;
  color: var(--mist);
}

.club-ai-verdict {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--mist);
}

.club-ai-peers-title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
}

.club-ai-peers {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.club-ai-peers li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.club-ai-peers li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.club-ai-peers strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--fog);
}

.club-ai-peers span {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.45;
}

.club-ai-peers em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--signal);
  line-height: 1.4;
}

.club-ai-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(197, 207, 199, 0.72);
}

@media (max-width: 980px) {
  .club-stats-layout,
  .club-stats-layout--protea,
  .club-stats-layout--protea.club-stats-layout--with-ai {
    grid-template-columns: 1fr;
  }

  .protea-colors-panel {
    order: 2;
  }

  .club-ai-review {
    position: static;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.28);
    padding-top: 1.75rem;
    order: 3;
  }
}

@media (max-width: 860px) {
  .club-stats-grid,
  .club-stats-layout--solo .club-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 420px) {
  .club-stats-grid,
  .club-stats-layout--solo .club-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
  }
}

/* Fighter rankings — Tapology + IMMAF */
.rankings {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: linear-gradient(180deg, #10100f 0%, #171613 50%, #10100f 100%);
  color: var(--fog);
}

.rankings-inner {
  max-width: 920px;
}

.rankings .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.rankings h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.rankings-lede {
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.rankings-updated {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: rgba(232, 236, 230, 0.55);
}

.rankings-block {
  margin-bottom: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.rankings-block h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fog);
  margin-bottom: 1rem;
}

.rankings-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.rankings-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 0.35rem 1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(232, 236, 230, 0.08);
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease, ease);
}

.rankings-link:hover .rankings-name,
.rankings-link:hover .rankings-highlight,
.rankings-link:hover .rankings-num {
  color: var(--signal);
}

.rankings-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: #e8c547;
  line-height: 1;
  min-width: 2.6rem;
}

.rankings-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.rankings-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--fog);
}

.rankings-meta {
  font-size: 0.85rem;
  color: var(--mist);
}

.rankings-highlight {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #e8c547;
  text-align: right;
}

.rankings-foot {
  margin-top: 1.15rem;
  font-size: 0.92rem;
  color: var(--mist);
}

.rankings-foot a {
  color: var(--signal);
}

.rankings-immaf-status {
  font-size: 1.02rem;
  color: var(--mist);
  max-width: 56ch;
  margin-bottom: 1.15rem;
}

.rankings-block--immaf .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

@media (max-width: 640px) {
  .rankings-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rankings-highlight {
    grid-column: 2;
    text-align: left;
    margin-top: 0.15rem;
  }

  .rankings-num {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 0.15rem;
  }
}

/* Roster teaser — same content gutter as schedule / membership */
.roster-teaser {
  --katana-void: #0a0908;
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 90% 60% at 50% 70%, rgba(40, 32, 18, 0.45), transparent 70%),
    linear-gradient(180deg, #0c0b0a 0%, var(--katana-void) 40%, #0c0b0a 100%);
  color: var(--fog);
  overflow: hidden;
}

.roster-teaser-head {
  max-width: 1430px;
  margin: 0 auto;
  padding: 0;
}

.roster-teaser-inner {
  max-width: 42rem;
  min-width: 0;
}

.roster-teaser .eyebrow {
  color: var(--signal);
  opacity: 1;
  transform: none;
  animation: none;
}

.roster-teaser h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 0.85rem;
  color: var(--signal);
}

.roster-teaser-lede {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.roster-teaser .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.roster-teaser .btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.katana-stage {
  position: relative;
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  width: 100%;
  max-width: 1430px;
  margin-left: auto;
  margin-right: auto;
}

.roster-teaser-art,
.katana-map {
  --katana-scale: 1;
  margin: 0;
  position: relative;
  width: min(100%, calc(100% * var(--katana-scale)));
  max-width: 100%;
  background: transparent;
  min-height: clamp(12rem, 32vw, 28rem);
}

.katana-map.is-loading {
  min-height: clamp(12rem, 32vw, 28rem);
}

.katana-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: transparent;
  /* Knock out the photo’s near-black plate so the section shows through */
  mix-blend-mode: lighten;
  opacity: 0;
}

.katana-map.is-ready img {
  opacity: 1;
  transition: opacity 0.35s ease;
}

.katana-map.is-ready {
  min-height: 0;
}

.katana-map::after {
  content: none;
}

.katana-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
}

.katana-hotspot-dot {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 0 rgba(212, 175, 55, 0.55),
    0 0 14px rgba(212, 175, 55, 0.9);
  animation: katana-pulse 2.2s ease-out infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.katana-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.85rem);
  transform: translateX(-50%) translateY(0.4rem);
  width: min(16.5rem, 58vw);
  padding: 0.75rem 0.85rem;
  text-align: left;
  background: rgba(10, 9, 8, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--fog);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 5;
}

.katana-tip strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.35rem;
}

.katana-tip span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--mist);
}

.katana-hotspot:hover .katana-hotspot-dot,
.katana-hotspot:focus-visible .katana-hotspot-dot,
.katana-hotspot.is-active .katana-hotspot-dot {
  transform: scale(1.4);
  box-shadow:
    0 0 0 7px rgba(212, 175, 55, 0.22),
    0 0 22px rgba(212, 175, 55, 0.95);
  animation: none;
}

.katana-hotspot:hover .katana-tip,
.katana-hotspot:focus-visible .katana-tip,
.katana-hotspot.is-active .katana-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.katana-hotspot:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 50%;
}

@keyframes katana-pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55), 0 0 10px rgba(212, 175, 55, 0.8); }
  70% { box-shadow: 0 0 0 14px rgba(212, 175, 55, 0), 0 0 10px rgba(212, 175, 55, 0.55); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0), 0 0 10px rgba(212, 175, 55, 0.55); }
}

@media (max-width: 900px) {
  .roster-teaser-inner {
    max-width: none;
  }

  .katana-hotspot {
    width: 3.15rem;
    height: 3.15rem;
  }

  .katana-tip {
    width: min(15rem, 72vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .katana-hotspot-dot {
    animation: none;
  }

  .katana-tip {
    transition: none;
  }
}

.katana-admin-link {
  margin: 1rem 0 0;
  padding: 0;
  text-align: left;
}

.katana-admin-link .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.28);
  min-height: 44px;
}

.katana-admin-layout {
  display: grid;
  gap: 1.25rem;
}

#katana-scale {
  width: 100%;
  accent-color: var(--signal);
}

.katana-editor {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0.75rem 0 0;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: #0a0908;
  touch-action: none;
  user-select: none;
}

.katana-editor img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Overlay must match the image box exactly so % coords survive reload / homepage. */
#katana-editor-spots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#katana-editor-spots .katana-hotspot--edit {
  pointer-events: auto;
}

.katana-hotspot--edit {
  width: 3.4rem;
  height: 3.4rem;
  cursor: grab;
  touch-action: none;
}

.katana-hotspot--edit.is-dragging {
  cursor: grabbing;
  z-index: 6;
}

.katana-edit-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.35rem);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
  pointer-events: none;
}

/* Club roster page */
.club-roster {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
}

.club-roster-inner {
  max-width: 920px;
}

.club-roster .section-head {
  margin-bottom: 1.5rem;
}

.club-roster .section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--signal);
}

.club-roster .section-head p:not(.eyebrow) {
  color: var(--mist);
  max-width: 52ch;
}

.club-roster .eyebrow {
  color: var(--signal);
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 0.5rem;
}

.roster-gap {
  margin-top: 3.5rem;
}

.roster-empty,
.roster-loading {
  color: var(--mist);
  font-size: 1rem;
  margin-top: 0.75rem;
}

.achievement-photo {
  margin: 0 0 1.25rem;
  max-width: 260px;
  width: fit-content;
}

.achievement-photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.ach-admin-panel {
  width: min(1100px, 100%);
}

.ach-admin-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ach-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.ach-admin-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.ach-admin-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  align-items: center;
}

.ach-admin-item strong {
  display: block;
  color: var(--fog);
  margin-bottom: 0.2rem;
}

.ach-admin-item span {
  color: var(--mist);
  font-size: 0.85rem;
}

.ach-admin-actions {
  display: flex;
  gap: 0.5rem;
}

.ach-admin-actions .btn {
  width: auto;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
}

.ach-image-preview-wrap {
  max-width: 280px;
}

.ach-image-preview-wrap .event-poster-slot {
  aspect-ratio: 4 / 3;
}

@media (max-width: 860px) {
  .ach-admin-layout {
    grid-template-columns: 1fr;
  }
}

.roster-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  padding-top: 1.25rem;
}

.roster-grid li {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 0.35rem 0;
  color: var(--fog);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

/* Club rules page */
.club-rules {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: var(--fog);
}

.club-rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.club-rules-inner {
  max-width: none;
  min-width: 0;
}

.club-gallery {
  position: sticky;
  top: 5.5rem;
  min-width: 0;
}

.club-gallery-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.club-gallery-head h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.club-gallery-head .btn {
  justify-self: start;
}

.club-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.club-gallery .event-poster img,
.club-gallery .event-poster-slot {
  border-color: rgba(11, 11, 12, 0.16);
}

.club-gallery .event-poster-slot {
  background: rgba(11, 11, 12, 0.06);
  color: #5c574c;
}

.club-gallery .event-poster figcaption {
  color: #5c574c;
}

@media (max-width: 960px) {
  .club-rules-layout {
    grid-template-columns: 1fr;
  }

  .club-gallery {
    position: static;
    order: -1;
  }

  .club-gallery-grid {
    max-width: 520px;
  }
}

@media (max-width: 520px) {
  .club-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

.club-rules-list {
  list-style: none;
  counter-reset: rule;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(11, 11, 12, 0.14);
}

.club-rules-list li {
  counter-increment: rule;
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0 1.35rem 3rem;
  border-bottom: 1px solid rgba(11, 11, 12, 0.14);
  position: relative;
}

.club-rules-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--signal-deep);
}

.club-rules-list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.club-rules-list span {
  color: #5c574c;
  font-size: 0.98rem;
  max-width: 52ch;
}

/* Closing CTA */
.close {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 6vw;
  background: var(--ink);
  color: var(--fog);
  overflow: hidden;
}

.close::before {
  content: "";
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  right: -18%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.close-layout {
  position: relative;
  z-index: 1;
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.close-inner {
  position: relative;
  max-width: none;
}

.close-cert {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  justify-items: stretch;
}

.close-cert .trading-cert {
  width: 100%;
  max-width: none;
  margin: 0;
}

.close-cert .trading-cert img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: transparent;
}

.close-cert-upload {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  justify-self: start;
}

@media (max-width: 900px) {
  .close-layout {
    grid-template-columns: 1fr;
  }

  .close-cert {
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .close-cert {
    max-width: none;
  }
}

.close h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.close p {
  color: var(--mist);
  font-size: 1.1rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.close-cta {
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 1.25rem;
}

.close-contact {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.close-contact a {
  color: var(--signal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.close-contact a:hover {
  color: var(--fog);
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 6vw;
  background: #0a0e0c;
  color: var(--mist);
  font-size: 0.85rem;
}

footer strong {
  font-family: var(--display);
  letter-spacing: 0.14em;
  color: var(--fog);
  font-weight: 700;
}

@media (max-width: 1100px), ((hover: none) and (pointer: coarse)) {
  .nav-toggle { display: inline-flex; }

  /* Full-screen shell while open — avoids sticky/fixed trapping on Android */
  .nav.nav-open {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    align-items: flex-start;
    background: rgba(11, 11, 12, 0.98);
    border-bottom: none;
    overflow: hidden;
  }

  .nav-links {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)) max(7vw, env(safe-area-inset-right, 0px)) max(2.5rem, env(safe-area-inset-bottom, 0px)) max(7vw, env(safe-area-inset-left, 0px));
    background: rgba(11, 11, 12, 0.98);
    border: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s ease, visibility 0.25s;
  }

  .nav-open .nav-links {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a.ghost,
  .nav-links button.ghost {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 1rem 0;
    min-height: 48px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    opacity: 1;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-mark span { font-size: 0.92rem; }
  .nav-mark img { height: 38px; }

  .live-inner,
  .purpose-stream {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .arena-gallery {
    grid-template-columns: 1fr;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3.5rem 5vw 2.75rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .format-table,
  .division-table,
  .rank-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-portals {
    width: 100%;
  }

  .close-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .close-cta .btn {
    width: 100%;
  }

  .sponsor-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-page {
    padding: 3rem 5vw;
    min-height: calc(100svh - 61px);
  }

  .auth-card {
    width: min(100%, 440px);
    padding: 1.75rem 1.35rem;
  }

  .reg-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .reg-tab {
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-inner p {
    max-width: none;
  }

  .dash-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-top .btn {
    width: 100%;
  }

  .event-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .event-cta .btn {
    width: 100%;
  }

  .dash-dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .live-inner,
  .purpose-stream,
  .sponsors-inner,
  .events-inner,
  .champ-inner,
  .reg-inner {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.65rem max(4.5vw, env(safe-area-inset-right, 0px)) 0.65rem max(4.5vw, env(safe-area-inset-left, 0px));
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-media--raptor {
    background-position: center 18%;
  }

  .hero-content {
    padding: 0 max(5vw, env(safe-area-inset-left, 0px)) max(8vh, env(safe-area-inset-bottom, 0px));
  }

  .eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.66rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .brand { font-size: clamp(2.8rem, 15vw, 4.8rem); }

  .brand--present {
    font-size: clamp(1.15rem, 3.8vw, 1.4rem);
    max-width: 100%;
  }

  .brand--present .brand-name {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
    line-height: 1.35;
    padding: 0.12em 0.04em 0.3em;
  }

  .headline {
    max-width: none;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .hero-logo {
    width: min(100%, 92vw);
  }

  .pit-wordmark { width: min(300px, 88vw); }

  .cta-row,
  .upcoming-actions,
  .news-actions,
  .membership-cta,
  .club-stats-cta,
  .find-us-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .cta-row .btn,
  .upcoming-actions .btn,
  .news-actions .btn,
  .membership-cta .btn,
  .club-stats-cta .btn,
  .find-us .btn,
  .roster-teaser .btn,
  .close-cert-upload {
    width: 100%;
    min-height: 48px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .purpose,
  .arena,
  .membership,
  .class-schedule,
  .news,
  .find-us,
  .roster-teaser,
  .club-roster,
  .club-rules,
  .club-stats,
  .close,
  .sponsors,
  .live-stream,
  .federations,
  .champ,
  .register,
  .events,
  .rules,
  .fighters,
  .rankings-page,
  .dash,
  .media-intro,
  .media-software,
  .character-ip,
  .universe,
  .music-covers,
  .music-rockstar,
  .music-watch,
  .music-catalogue,
  .promo-team,
  .gallery-stage,
  .auth-page {
    padding-left: max(5vw, env(safe-area-inset-left, 0px));
    padding-right: max(5vw, env(safe-area-inset-right, 0px));
  }

  .arena { background-attachment: scroll; }

  .live-lede,
  .purpose p,
  .arena-lede,
  .membership-lede,
  .upcoming-lede,
  .news-lede,
  .find-us-lede,
  .roster-teaser-lede,
  .club-stats-lede,
  .sponsors-lede {
    max-width: none;
  }

  .event-posters {
    max-width: none;
    width: 100%;
  }

  .find-us-inner {
    max-width: none;
  }

  .find-us-map {
    aspect-ratio: 1 / 1;
    width: 100%;
  }

  .close {
    padding-top: clamp(3.25rem, 10vw, 5rem);
    padding-bottom: clamp(3.25rem, 10vw, 5rem);
  }

  .close h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .close p {
    max-width: none;
  }

  .close-cert {
    max-width: none;
    width: 100%;
  }

  .close-cert .trading-cert {
    max-width: none;
  }

  .press-gallery {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .club-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.85rem;
  }

  .club-stats-grid dd {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .rankings-name {
    font-size: 1.05rem;
  }

  .rankings-highlight {
    font-size: 0.92rem;
    word-break: break-word;
  }

  .rankings-foot {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }

  .stream-frame {
    border-radius: 0;
  }

  .belt-figure img {
    width: 100%;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  footer {
    padding-left: max(5vw, env(safe-area-inset-left, 0px));
    padding-right: max(5vw, env(safe-area-inset-right, 0px));
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .ach-admin-head-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ach-admin-head-actions .btn {
    width: 100%;
  }

  .upload-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .class-schedule-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .class-schedule-cta .btn {
    width: 100%;
  }

  .music-cover-grid {
    grid-template-columns: 1fr;
  }

  .club-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-char-visual {
    max-width: none;
    width: 100%;
  }

  .music-rockstar-portrait {
    max-width: none;
    width: 100%;
  }
}

/* Promo Team */
.hero-media--promo {
  transform: scale(1.1) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.1) 0%, rgba(11, 11, 12, 0.18) 45%, rgba(11, 11, 12, 0.38) 100%),
    url("../media/promo-team-hero-v20260724ipad.jpg") center 38% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.1) 0%, rgba(11, 11, 12, 0.18) 45%, rgba(11, 11, 12, 0.38) 100%),
    image-set(
      url("../media/promo-team-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/promo-team-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 38% / cover no-repeat;
}

.promo-intro {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.promo-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  max-width: 1430px;
  margin: 0 auto;
}

.promo-intro-inner {
  max-width: 640px;
  min-width: 0;
}

.promo-intro-video {
  position: sticky;
  top: 5.5rem;
  min-width: 0;
}

.promo-intro-video .schedule-promo-title {
  color: var(--ink);
}

.promo-intro-video .eyebrow {
  color: var(--signal-deep);
  opacity: 1;
  transform: none;
  animation: none;
}

.promo-intro-video .schedule-promo-empty .btn-line {
  color: var(--fog);
}

@media (max-width: 960px) {
  .promo-intro-layout {
    grid-template-columns: 1fr;
  }

  .promo-intro-video {
    position: static;
    max-width: 640px;
  }
}

.promo-intro .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.promo-intro h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.promo-intro p {
  color: #5c574c;
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 0.85rem;
}

.promo-characters {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.promo-characters-head {
  max-width: 560px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.promo-characters-head .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.promo-characters-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--signal);
}

.promo-characters-head p {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 42ch;
}

.promo-char {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.promo-char:last-child {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.promo-char--flip .promo-char-visual {
  order: 2;
}

.promo-char--flip .promo-char-copy {
  order: 1;
}

.promo-char-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212, 175, 55, 0.16), transparent 65%),
    linear-gradient(165deg, #1c1b18 0%, #0f0f10 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  overflow: hidden;
}

.promo-char-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--signal);
  opacity: 0.9;
}

.promo-char-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.promo-char--has-art .promo-char-mark {
  display: none;
}

.promo-char-copy .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.promo-char-copy h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.promo-char-role {
  font-weight: 600;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.promo-char-summary {
  color: var(--mist);
  font-size: 1.02rem;
  max-width: 42ch;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.promo-char-symbol {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--signal);
  margin-bottom: 1rem;
}

.promo-char-note {
  color: rgba(232, 228, 218, 0.72);
  font-size: 0.95rem;
  max-width: 40ch;
  line-height: 1.45;
  font-style: italic;
}

.promo-personas {
  margin-top: 0.35rem;
}

.promo-personas-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
  margin-bottom: 0.75rem;
}

.promo-personas-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.promo-personas-list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(212, 175, 55, 0.45);
}

.promo-personas-list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--fog);
}

.promo-personas-list span {
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 42ch;
}

.promo-personas-list a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.promo-uses-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-top: 0.15rem;
}

.promo-uses-list li {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(232, 228, 218, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 0.28rem 0.55rem;
}

.promo-how {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.promo-how-inner {
  max-width: 720px;
}

.promo-how .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.promo-how h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.promo-how-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.promo-how-list li {
  display: grid;
  gap: 0.3rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(11, 11, 12, 0.12);
}

.promo-how-list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}

.promo-how-list span {
  color: #5c574c;
  max-width: 48ch;
}

.promo-how .btn-line {
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.28);
}

/* RaptorocK Music */
.hero-media--music {
  transform: scale(1.03) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.35) 48%, rgba(11, 11, 12, 0.72) 100%),
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(212, 175, 55, 0.14), transparent 55%),
    url("../media/hero-v20260724ipad.jpg") center 30% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.35) 48%, rgba(11, 11, 12, 0.72) 100%),
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(212, 175, 55, 0.14), transparent 55%),
    image-set(
      url("../media/hero-v20260724ipad.webp") type("image/webp"),
      url("../media/hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 30% / cover no-repeat;
}

.hero-media--music-cover {
  transform: scale(1.03) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.35) 50%, rgba(11, 11, 12, 0.82) 100%),
    url("../media/music/music-hero-v20260724ipad.png") center 40% / cover no-repeat;
}

.hero--brush .hero-media--music-cover {
  background:
    url("../media/music/music-hero-v20260724ipad.png") center 40% / cover no-repeat;
}

.music-intro {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.music-intro-inner {
  max-width: 640px;
}

.music-intro .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.music-intro h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.music-intro p,
.music-production {
  color: #5c574c;
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 0.85rem;
}

.music-youtube-cta {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
  max-width: 540px;
}

.music-youtube-cta .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.music-youtube-cta h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.music-youtube-cta p {
  color: #5c574c;
  margin-bottom: 1.15rem;
}

.music-youtube-cta .btn-line {
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.28);
}

.music-playlists {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: 720px;
}

.music-playlist-head h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.music-playlist-head p {
  color: #5c574c;
  margin-bottom: 0.85rem;
  max-width: 42ch;
}

.music-playlist-head .btn {
  margin-bottom: 1rem;
}

.music-embed--playlist {
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.music-covers {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background:
    linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.music-covers--lead {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.music-covers-head {
  max-width: 1100px;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.music-covers-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.music-covers-admin-btn {
  flex-shrink: 0;
}

.music-covers-head .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.music-covers-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 0;
}

.music-covers-manage {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted, rgba(255, 255, 255, 0.72));
  max-width: 36rem;
}

.music-covers-manage a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.music-cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.15rem;
  max-width: 1100px;
}

.music-rockstar--compact {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.music-rockstar--compact .music-rockstar-lead {
  margin-bottom: 1.25rem;
}

.music-rockstar--compact .btn-line {
  color: var(--fog);
  border-color: rgba(232, 228, 218, 0.35);
}

.music-watch {
  padding: clamp(3rem, 6vw, 4.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.music-watch-inner {
  max-width: 720px;
}

.music-watch .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.music-watch h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.music-watch .music-embed--playlist {
  max-width: 100%;
}

.music-cover-card {
  display: grid;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.music-cover-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: #0a0a0b;
}

.music-cover-card-meta {
  display: grid;
  gap: 0.15rem;
}

.music-cover-card-meta strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.music-cover-card-meta span {
  color: var(--mist);
  font-size: 0.9rem;
}

.music-cover-card:hover img {
  border-color: var(--signal);
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--mist);
}

.upload-panel .field-hint {
  color: rgba(197, 207, 199, 0.7);
}

.music-cover-admin-thumb {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  background: #141310;
  flex-shrink: 0;
}

.music-cover-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-rockstar {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background:
    linear-gradient(165deg, #141310 0%, #1c1a16 45%, #10100f 100%);
  color: var(--fog);
}

.music-rockstar-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  max-width: 1100px;
}

.music-rockstar-portrait {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: #0a0a0b;
}

.music-rockstar-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.music-rockstar-inner {
  max-width: 720px;
}

.music-rockstar .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.music-rockstar h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.music-rockstar-lead {
  color: var(--mist);
  font-size: 1.08rem;
  max-width: 48ch;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.music-identity-path {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  counter-reset: maximus-path;
}

.music-identity-path li {
  counter-increment: maximus-path;
  display: grid;
  gap: 0.2rem;
  padding-left: 2.75rem;
  position: relative;
}

.music-identity-path li::before {
  content: counter(maximus-path);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--signal);
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.music-identity-path strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}

.music-identity-path span {
  color: var(--mist);
  font-size: 0.98rem;
}

.music-cast-note {
  color: rgba(232, 228, 218, 0.75);
  font-size: 0.98rem;
  max-width: 48ch;
  line-height: 1.5;
}

.music-cast-note a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.music-catalogue {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.music-catalogue-head {
  max-width: 560px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.music-catalogue-head .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.music-catalogue-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.music-catalogue-head p {
  color: #5c574c;
  max-width: 42ch;
}

.music-albums {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  max-width: 1100px;
}

.music-album-hero {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  margin-bottom: 2rem;
}

.music-cover {
  aspect-ratio: 1;
  background: #141310;
  border: 1px solid rgba(11, 11, 12, 0.14);
  overflow: hidden;
}

.music-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(212, 175, 55, 0.22), transparent 65%),
    linear-gradient(165deg, #1c1b18 0%, #0f0f10 100%);
}

.music-cover-placeholder span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
  color: var(--signal);
}

.music-album-copy .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.music-album-copy h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.music-release {
  font-weight: 600;
  color: var(--signal-deep);
  margin-bottom: 0.65rem;
}

.music-release-note,
.music-album-desc {
  color: #5c574c;
  max-width: 48ch;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.music-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.music-links-pending {
  color: #7a7468;
  font-size: 0.95rem;
  font-style: italic;
  margin: 0.85rem 0 1.15rem;
  max-width: 42ch;
}

.music-platform {
  color: var(--ink);
  border-color: rgba(11, 11, 12, 0.28);
}

.music-embed {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin: 0.5rem 0 1.25rem;
  background: #111;
  overflow: hidden;
}

.music-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.music-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.5rem;
}

.music-share-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7468;
  margin-right: 0.25rem;
}

.music-share-btn {
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(11, 11, 12, 0.22);
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.music-share-btn:hover {
  border-color: var(--signal-deep);
  color: var(--signal-deep);
}

.music-tracklist-heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.music-tracklist {
  display: grid;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
}

.music-track {
  border-bottom: 1px solid rgba(11, 11, 12, 0.12);
  padding: 0.85rem 0;
}

.music-track-main {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.music-track-visual {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: #141310;
  color: var(--signal);
  overflow: hidden;
}

.music-track-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-track-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
}

.music-track-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.music-track-duration,
.music-track-info {
  color: #5c574c;
  font-size: 0.92rem;
  margin: 0.15rem 0 0;
}

.music-track-toggle {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--signal-deep);
  background: transparent;
  border: 1px solid rgba(184, 148, 32, 0.45);
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.music-track-detail {
  margin-top: 0.85rem;
  padding: 0.85rem 0 0.25rem 3.85rem;
}

.music-lyrics-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7468;
  margin-bottom: 0.45rem;
}

.music-lyrics pre {
  font-family: var(--body);
  white-space: pre-wrap;
  color: #3d3a34;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

.music-empty {
  color: #5c574c;
}

.music-album-copy a[href].btn {
  text-decoration: none;
}

/* Brand universe */
.hero-universe-line {
  margin: 0.35rem 0 0;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 228, 218, 0.72);
  max-width: 36ch;
}

.universe {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background:
    linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.universe-inner {
  max-width: 720px;
}

.universe .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.universe h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.universe-lede {
  color: var(--mist);
  font-size: 1.08rem;
  max-width: 48ch;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.universe-pillars {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
}

.universe-pillars li {
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.universe-pillars a {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}

.universe-pillars a:hover strong,
.universe-pillars a[aria-current="page"] strong {
  color: var(--signal);
}

.universe-pillars strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--fog);
}

.universe-pillars span {
  color: var(--mist);
  font-size: 1rem;
  max-width: 42ch;
}

.universe--page {
  background: var(--fog);
  color: var(--ink);
}

.universe--page .universe-inner {
  max-width: 1430px;
  width: 100%;
  margin: 0 auto;
}

.universe--page .eyebrow {
  color: var(--signal-deep);
}

.universe--page h2 {
  color: var(--ink);
}

.universe--page .universe-lede {
  color: #5c574c;
}

.universe--page .universe-pillars {
  border-top-color: rgba(11, 11, 12, 0.14);
}

.universe--page .universe-pillars li {
  border-bottom-color: rgba(11, 11, 12, 0.14);
}

.universe--page .universe-pillars strong {
  color: var(--ink);
}

.universe--page .universe-pillars span {
  color: #5c574c;
}

.universe--page .universe-pillars a:hover strong,
.universe--page .universe-pillars a[aria-current="page"] strong {
  color: var(--signal-deep);
}

/* Media & Software */
.hero-media--media {
  transform: scale(1.03) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.22) 0%, rgba(11, 11, 12, 0.38) 48%, rgba(11, 11, 12, 0.78) 100%),
    url("../media/media-software-hero-v20260724ipad.jpg") center 42% / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.22) 0%, rgba(11, 11, 12, 0.38) 48%, rgba(11, 11, 12, 0.78) 100%),
    image-set(
      url("../media/media-software-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/media-software-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 42% / cover no-repeat;
}

.hero--brush .hero-media--media {
  background: url("../media/media-software-hero-v20260724ipad.jpg") center 42% / cover no-repeat;
  background:
    image-set(
      url("../media/media-software-hero-v20260724ipad.webp") type("image/webp"),
      url("../media/media-software-hero-v20260724ipad.jpg") type("image/jpeg")
    ) center 42% / cover no-repeat;
}

.media-intro {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.media-intro-inner {
  max-width: 1430px;
  width: 100%;
  margin: 0 auto;
}

.media-intro .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal-deep);
}

.media-intro h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.media-intro p {
  color: #5c574c;
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 0.85rem;
}

.media-software {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.media-software-inner {
  max-width: 1430px;
  width: 100%;
  margin: 0 auto;
}

.media-software .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.media-software h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 1rem;
}

.media-software p,
.media-software-lede {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 0.85rem;
}

.media-software-lede {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.software-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.software-item-btn {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.software-item-btn:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.float-product {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--signal);
  margin-bottom: 0.55rem;
}

.software-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(212, 175, 55, 0.45);
}

.software-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem 0.95rem;
  align-items: start;
  padding: 0.35rem 0 1.15rem;
  border-bottom: 1px solid rgba(242, 237, 225, 0.1);
  min-width: 0;
}

@media (max-width: 1100px) {
  .software-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .software-list {
    grid-template-columns: 1fr;
  }
}

.software-list-icon {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.55rem;
  background: rgba(11, 11, 12, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.22);
  flex-shrink: 0;
}

.software-list-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.software-list-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.software-list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fog);
}

.software-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.software-status-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.software-status-light.is-on {
  background: radial-gradient(circle at 35% 30%, #9dffb0 0%, #2f9a4a 55%, #1a6b30 100%);
  border-color: rgba(120, 220, 140, 0.55);
}

.software-status-light.is-off {
  background: radial-gradient(circle at 35% 30%, #6a6560 0%, #3a3836 70%, #2a2826 100%);
  border-color: rgba(242, 237, 225, 0.18);
  opacity: 0.85;
}

.software-status-tag {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(8, 10, 8, 0.9);
  line-height: 1;
  pointer-events: none;
}

.software-status-light.is-off .software-status-tag {
  color: rgba(242, 237, 225, 0.55);
}

.software-status-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.15rem;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--mist);
}

.software-status-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.software-status-legend .software-status-light {
  width: 0.85rem;
  height: 0.85rem;
}

.software-status-legend .software-status-tag {
  display: none;
}

.software-status-legend-note {
  color: rgba(242, 237, 225, 0.55);
}

.software-item-btn.is-documented {
  border-color: rgba(72, 160, 90, 0.55);
  color: #b8e6c0;
}

.software-list-copy > span {
  font-size: 0.9rem;
  color: var(--mist);
  line-height: 1.4;
  max-width: none;
}

.software-list-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.software-list-link:hover {
  color: #e8c65a;
}

.software-portfolio-value {
  margin-top: clamp(2.5rem, 6vw, 3.75rem);
  padding-top: clamp(2rem, 5vw, 2.75rem);
  border-top: 2px solid rgba(212, 175, 55, 0.45);
}

.software-portfolio-value .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.software-portfolio-value h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.software-portfolio-lede {
  color: var(--mist);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: none;
  width: 100%;
  margin-bottom: 1.5rem;
}

.software-portfolio-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.software-portfolio-stat {
  padding: 1.15rem 1.2rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.software-portfolio-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.45rem;
}

.software-portfolio-stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--fog);
  line-height: 1.1;
}

.software-portfolio-stat-sub {
  margin-top: 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--signal);
}

.software-portfolio-stat-range {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--mist);
}

.software-portfolio-fx {
  font-size: 0.88rem;
  color: var(--mist);
  margin-bottom: 0;
}

.software-portfolio-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  margin-bottom: 0.5rem;
  width: 100%;
}

.software-portfolio-main {
  min-width: 0;
  width: 100%;
}

.share-panel {
  position: sticky;
  top: 1rem;
  padding: 1.15rem 1.35rem 1.35rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(11, 11, 12, 0.45);
  border-radius: 0.35rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.share-tape-price {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--fog);
  line-height: 1.05;
}

.share-tape-unit {
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--signal);
  margin-left: 0.2rem;
}

.share-tape-sub {
  margin: 0.3rem 0 0;
  color: var(--signal);
  font-weight: 600;
  font-size: 1rem;
}

.share-tape-delta {
  margin: 0.55rem 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.share-tape-delta span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mist);
}

.share-tape-delta.is-up {
  color: #6ecf8a;
}

.share-tape-delta.is-down {
  color: #e08a7a;
}

.share-tape-quote-line {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--fog);
  line-height: 1.4;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.share-tape-quote-line strong {
  color: var(--signal);
}

.share-tape-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--mist);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: pretty;
}

.media-software .software-portfolio-gaap-note,
.software-portfolio-gaap-note {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0.85rem 0 1.1rem;
  padding: 0;
  font-size: 0.62rem;
  line-height: 1.4;
  color: var(--mist);
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.media-software .software-portfolio-gaap-note strong {
  color: var(--fog);
  font-weight: 700;
}

.media-portfolio-disclaimer {
  padding: 1.75rem 6vw 2.5rem;
  background: #0f0f10;
  color: var(--mist);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.media-portfolio-disclaimer-inner {
  max-width: 1430px;
  margin: 0 auto;
}

.media-portfolio-disclaimer p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  max-width: 72ch;
}

.media-portfolio-disclaimer strong {
  display: block;
  color: var(--fog);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.media-disclaimer-cta {
  margin-top: 0.85rem;
}

.media-disclaimer-cta .btn-line {
  display: inline-flex;
  color: var(--fog);
  border-color: rgba(242, 237, 225, 0.35);
}

.share-tape-chart--panel {
  min-height: 18rem;
  margin-top: 0.35rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.share-chart-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.share-chart-svg--wide {
  min-height: 18rem;
}

.share-chart-axis {
  fill: rgba(242, 237, 225, 0.5);
  font-size: 11px;
  font-family: system-ui, sans-serif;
}

.share-chart-empty {
  margin: 2rem 0;
  color: var(--mist);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .software-portfolio-split {
    grid-template-columns: 1fr;
  }

  .share-panel {
    position: static;
  }
}

.software-portfolio-fx-card {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(11, 11, 12, 0.45);
  border-radius: 0.35rem;
}

.software-portfolio-fx-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 600;
}

.software-portfolio-fx-rate {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--fog);
  letter-spacing: -0.02em;
}

.software-portfolio-fx-rate strong {
  color: var(--signal);
  font-weight: 800;
}

.software-portfolio-ccy {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
  border: 1px solid rgba(212, 175, 55, 0.4);
  vertical-align: middle;
}

.software-portfolio-music {
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 2px solid rgba(212, 175, 55, 0.35);
}

.software-portfolio-music .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.software-portfolio-music-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin: 0 0 0.75rem;
}

.software-portfolio-music-combined {
  margin: 0.25rem 0 0;
  color: var(--fog);
  font-size: 1.02rem;
  line-height: 1.45;
}

.software-portfolio-music-combined strong {
  color: var(--signal);
  font-weight: 800;
}

.software-portfolio-table-wrap {
  overflow: visible;
  max-width: 100%;
}

.software-portfolio-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: auto;
}

.software-portfolio-col-name,
.software-portfolio-col-band,
.software-portfolio-col-mid {
  width: auto;
}

.software-portfolio-table th,
.software-portfolio-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.9rem 0.75rem 0;
  border-bottom: 1px solid rgba(242, 237, 225, 0.1);
  line-height: 1.45;
}

.software-portfolio-table thead th {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-right: 0.75rem;
}

.software-portfolio-table tbody th {
  color: var(--fog);
  font-weight: 600;
  padding-right: 1.1rem;
  overflow-wrap: break-word;
  word-break: normal;
  max-width: 16rem;
}

.software-portfolio-table td,
.software-portfolio-money {
  color: var(--mist);
  white-space: normal;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
  padding-right: 0.85rem;
}

.software-portfolio-table tfoot th,
.software-portfolio-table tfoot td {
  border-bottom: 0;
  border-top: 2px solid rgba(212, 175, 55, 0.35);
  color: var(--fog);
  font-weight: 700;
  padding-top: 0.9rem;
}

@media (max-width: 700px) {
  .software-portfolio-totals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .software-list-icon {
    width: 2.85rem;
    height: 2.85rem;
  }
}

.character-ip {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background:
    linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.character-ip-inner {
  max-width: 640px;
}

.character-ip .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.character-ip h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  margin-bottom: 1rem;
}

.character-ip p {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.character-ip-notice {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 0.95rem !important;
  color: rgba(232, 228, 218, 0.78) !important;
}

.footer-character-ip {
  width: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(197, 207, 199, 0.55);
  max-width: 52ch;
}

.close-inner code {
  font-size: 0.9em;
  color: var(--signal);
}

@media (max-width: 800px) {
  .music-rockstar-layout {
    grid-template-columns: 1fr;
  }

  .music-rockstar-portrait {
    max-width: 360px;
  }

  .music-album-hero {
    grid-template-columns: 1fr;
  }

  .music-cover {
    max-width: 280px;
  }

  .music-track-main {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .music-track-toggle {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.35rem;
  }

  .music-track-detail {
    padding-left: 0;
  }
}

@media (max-width: 800px) {
  .promo-char,
  .promo-char--flip {
    grid-template-columns: 1fr;
  }

  .promo-char--flip .promo-char-visual,
  .promo-char--flip .promo-char-copy {
    order: initial;
  }

  .promo-char-visual {
    max-width: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .eyebrow, .brand, .hero-logo-wrap, .headline, .lede, .cta-row {
    opacity: 1;
    transform: none;
  }
  .purpose-rule { transform: scaleX(1); }
  .hero-media { transform: none; }
  .hero--motion .hero-media,
  .hero-media--fighters,
  .hero-media--rules,
  .hero-media--promo,
  .hero-media--music,
  .hero-media--music-cover,
  .hero-media--media,
  .hero-media--history {
    transform: none !important;
  }
  .hero-flashlight,
  .hero-brush {
    display: none !important;
  }
  .hero-particles {
    display: none !important;
  }
}

/* Floating info panels (Media & Software) */
body.float-open {
  overflow: hidden;
}

.float-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}

.float-layer[hidden] {
  display: none !important;
}

.float-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(6px);
  border: 0;
  cursor: pointer;
}

.float-panel {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
  max-height: min(82vh, 40rem);
  overflow: auto;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #1a1916 0%, #12110f 100%);
  color: var(--fog);
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.float-panel[hidden] {
  display: none !important;
}

.float-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.float-panel-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  letter-spacing: -0.03em;
  color: var(--signal);
  line-height: 1.1;
}

.float-close {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  font-family: var(--type);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fog);
  background: transparent;
  border: 1px solid rgba(232, 236, 230, 0.35);
  cursor: pointer;
}

.float-close:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

.float-lede {
  color: var(--mist);
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.float-section {
  margin-bottom: 1.15rem;
}

.float-section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--signal);
  margin-bottom: 0.55rem;
}

.float-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.float-list li {
  padding: 0.75rem 0.9rem;
  border-left: 2px solid rgba(212, 175, 55, 0.55);
  background: rgba(0, 0, 0, 0.22);
  color: var(--fog);
  font-size: 0.98rem;
  line-height: 1.45;
}

.float-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.float-table th,
.float-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(242, 237, 225, 0.1);
  line-height: 1.4;
}

.float-table th {
  width: 34%;
  color: var(--signal);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
}

.float-table td {
  color: var(--fog);
}

.float-note {
  font-size: 0.9rem;
  color: var(--mist);
  opacity: 0.9;
  line-height: 1.45;
  margin-top: 0.35rem;
}

/* ============================================================
   Our History / Founder Track Record
   ============================================================ */

.hero-media--history {
  transform: scale(1.02) translate3d(var(--hero-px, 0), var(--hero-py, 0), 0);
  animation: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.42) 0%, rgba(11, 11, 12, 0.62) 48%, rgba(11, 11, 12, 0.9) 100%),
    url("../media/pit.jpg") center 45% / cover no-repeat;
}

.hero--brush .hero-media--history {
  background: url("../media/pit.jpg") center 45% / cover no-repeat;
}

.hero-media--history-crowd {
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.52) 40%, rgba(11, 11, 12, 0.93) 100%),
    url("../media/our-history-hero.jpg?v=20260725c") center 36% / cover no-repeat;
}

.hero--brush .hero-media--history-crowd {
  background: url("../media/our-history-hero.jpg?v=20260725c") center 36% / cover no-repeat;
}

.hist-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hist-lead {
  padding: clamp(3.5rem, 8vw, 5.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.hist-quote {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 28ch;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hist-lead-copy {
  color: #5c574c;
  font-size: 1.08rem;
  max-width: 54ch;
  margin-bottom: 1.5rem;
}

.hist-principles {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 36ch;
  margin: 0;
  padding: 0;
}

.hist-principles li {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--signal-deep);
  border-left: 3px solid var(--signal);
  padding-left: 0.85rem;
  line-height: 1.25;
}

.hist-principles--dark li {
  color: var(--signal);
  border-left-color: rgba(212, 175, 55, 0.7);
}

.hist-section {
  padding: clamp(3.75rem, 9vw, 6rem) 6vw;
}

.hist-section--fog {
  background: var(--fog);
  color: var(--ink);
}

.hist-section--dark {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(180deg, #121210 0%, #1a1916 55%, #121210 100%);
  color: var(--fog);
}

.hist-section--raptor {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.78) 0%, rgba(11, 11, 12, 0.9) 100%),
    url("../media/in-the-cage-hero-v20260724ipad.jpg") center 42% / cover no-repeat;
  color: var(--fog);
}

.hist-section .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 0.65rem;
}

.hist-section--fog .eyebrow { color: var(--signal-deep); }
.hist-section--dark .eyebrow,
.hist-section--raptor .eyebrow { color: var(--signal); }

.hist-section h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hist-section--fog h2 { color: var(--ink); }
.hist-section--dark h2,
.hist-section--raptor h2 { color: var(--signal); }

.hist-section-lede {
  color: var(--mist);
  margin-bottom: 1.75rem;
  max-width: 48ch;
}

.hist-prose {
  display: grid;
  gap: 0.85rem;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hist-prose p {
  color: #5c574c;
  font-size: 1.05rem;
  margin: 0;
}

.hist-prose--light p,
.hist-section--dark .hist-prose p {
  color: var(--mist);
}

.hist-milestone {
  margin-top: 0.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
  max-width: 28rem;
}

.hist-milestone-year {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--signal-deep);
  margin-bottom: 0.35rem;
}

.hist-milestone-value,
.hist-stat-xl-value,
.hist-featured-value {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.hist-milestone-value {
  font-size: clamp(2.6rem, 7vw, 4rem);
  margin-bottom: 0.35rem;
}

.hist-milestone-label,
.hist-stat-xl-label,
.hist-featured-label {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.hist-caption {
  font-size: 0.88rem;
  color: #7a7468;
  max-width: 36ch;
  margin: 0.35rem 0 0.75rem;
}

.hist-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-deep);
  border: 1px solid rgba(184, 145, 43, 0.45);
  padding: 0.28rem 0.55rem;
}

.hist-tag--inline { margin: 0.75rem 0 1.75rem; }
.hist-tag--on-dark {
  color: var(--signal);
  border-color: rgba(212, 175, 55, 0.4);
  margin: 1.25rem 0;
}

.hist-section--dark .hist-tag {
  color: var(--signal);
  border-color: rgba(212, 175, 55, 0.4);
}

.hist-revenue {
  margin-bottom: 1rem;
}

.hist-revenue-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
  min-height: 220px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.25rem;
}

.hist-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  height: 100%;
}

.hist-bar-fill {
  width: 100%;
  max-width: 2.4rem;
  height: var(--bar, 40%);
  background: linear-gradient(180deg, #f0d778 0%, var(--signal) 55%, var(--signal-deep) 100%);
  border: 1px solid rgba(242, 237, 225, 0.12);
  transform-origin: bottom;
  transform: scaleY(0.15);
  transition: transform 1s var(--ease);
}

.hist-reveal.is-in .hist-bar-fill {
  transform: scaleY(1);
}

.hist-bar-year {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--mist);
  writing-mode: horizontal-tb;
}

.hist-bar-amt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hist-revenue-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin: 0 0 0.5rem;
  padding: 0;
}

.hist-revenue-list li,
.hist-ip-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(242, 237, 225, 0.12);
  font-size: 0.92rem;
}

.hist-section--fog .hist-revenue-list li {
  border-bottom-color: rgba(11, 11, 12, 0.1);
}

.hist-revenue-list span,
.hist-ip-list span {
  color: var(--mist);
  letter-spacing: 0.04em;
}

.hist-section--fog .hist-revenue-list span { color: #7a7468; }

.hist-revenue-list strong,
.hist-ip-list strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hist-stat-xl {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(242, 237, 225, 0.14);
}

.hist-stat-xl-value {
  font-size: clamp(3rem, 9vw, 5.2rem);
  color: var(--signal);
  margin-bottom: 0.35rem;
}

.hist-stat-xl-label {
  color: var(--fog);
}

.hist-ip-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-width: 28rem;
}

.hist-disclaimer {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8a8478;
  max-width: 58ch;
  margin: 0.75rem 0 0.5rem;
}

.hist-section--dark .hist-disclaimer {
  color: rgba(183, 178, 166, 0.88);
}

.hist-projects {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  padding: 0;
  max-width: 36rem;
}

.hist-projects li {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding: 0.55rem 0 0.55rem 0.85rem;
  border-left: 2px solid rgba(212, 175, 55, 0.55);
  color: var(--fog);
}

.hist-shift {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 2rem;
  max-width: 28rem;
}

.hist-shift span {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--signal);
  line-height: 1.3;
}

.hist-featured {
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(242, 237, 225, 0.14);
  max-width: 34rem;
}

.hist-featured-eyebrow {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--signal);
  margin-bottom: 0.45rem;
}

.hist-featured-value {
  font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  color: var(--signal);
  margin-bottom: 0.35rem;
}

.hist-featured-label {
  color: var(--fog);
}

.hist-featured-sub {
  margin: 1rem 0 0.75rem;
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.45;
}

.hist-featured-sub strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--fog);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.hist-ecosystem {
  margin: 0.5rem 0 2rem;
}

.hist-eco-root {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
  text-align: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(184, 145, 43, 0.55);
  background: rgba(212, 175, 55, 0.08);
  margin-bottom: 1.25rem;
}

.hist-eco-branches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  position: relative;
}

.hist-eco-branches::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(184, 145, 43, 0.45);
}

.hist-eco-node {
  padding: 0.95rem 0.85rem;
  border: 1px solid rgba(11, 11, 12, 0.12);
  background: rgba(255, 255, 255, 0.35);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
}

.hist-eco-node--focus {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(184, 145, 43, 0.45);
  text-align: left;
}

.hist-eco-node--focus strong {
  display: block;
  margin-bottom: 0.55rem;
  text-align: center;
}

.hist-eco-node--focus ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.hist-eco-node--focus li {
  font-family: var(--type);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c574c;
  text-align: center;
}

.hist-rr-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--fog);
  margin: 0.25rem 0 0.35rem;
}

.hist-rr-est {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1.5rem;
}

.hist-model-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 0.5rem;
  padding: 0;
}

.hist-model-grid li {
  padding: 0.85rem 0.75rem;
  border-top: 2px solid rgba(212, 175, 55, 0.55);
  background: rgba(0, 0, 0, 0.28);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.hist-constraint {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--signal);
  margin: 0 0 1.5rem;
  max-width: 22ch;
  line-height: 1.25;
}

.hist-ladder {
  list-style: none;
  margin: 1.5rem 0 1.25rem;
  padding: 0;
  max-width: 22rem;
  display: grid;
  gap: 0;
}

.hist-ladder li {
  position: relative;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  padding: 0.85rem 0 0.85rem 1.15rem;
  border-left: 2px solid rgba(212, 175, 55, 0.55);
  color: var(--fog);
}

.hist-ladder li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -0.28rem;
  bottom: -0.15rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(212, 175, 55, 0.55);
  border-bottom: 2px solid rgba(212, 175, 55, 0.55);
  transform: rotate(45deg);
  background: #121210;
}

.hist-timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  position: relative;
}

.hist-timeline::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(184, 145, 43, 0.4);
}

.hist-timeline li {
  position: relative;
  padding-top: 1.75rem;
}

.hist-timeline li::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

.hist-timeline time {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--signal-deep);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.hist-timeline p {
  margin: 0;
  color: #5c574c;
  font-size: 0.98rem;
  line-height: 1.4;
  max-width: 22ch;
}

.hist-cta {
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hist-section--dark .btn-line,
.hist-section--raptor .btn-line {
  color: var(--fog);
  border-color: rgba(242, 237, 225, 0.35);
}

.hist-section--dark .btn-line:hover,
.hist-section--raptor .btn-line:hover {
  border-color: rgba(242, 237, 225, 0.7);
  background: rgba(242, 237, 225, 0.06);
}

.hist-records {
  padding: clamp(3rem, 7vw, 4.5rem) 6vw;
  background: #0f0f10;
  color: var(--mist);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.hist-records .eyebrow {
  opacity: 1;
  transform: none;
  animation: none;
  color: var(--signal);
}

.hist-records h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--fog);
  margin: 0.5rem 0 1rem;
}

.hist-records p {
  max-width: 62ch;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
}

.hist-records .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  margin: 0.75rem 0 0.5rem;
}

.hist-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.hist-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Investor page link strip */
.investor-history-link {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.investor-history-link p {
  margin: 0;
  max-width: 42ch;
  color: var(--mist);
  font-size: 0.95rem;
}

.investor-history-link strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 960px) {
  .hist-revenue-bars {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-height: 200px;
  }

  .hist-revenue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hist-eco-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hist-eco-branches::before {
    display: none;
  }

  .hist-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hist-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hist-timeline::before {
    top: 0;
    bottom: 0;
    left: 0.2rem;
    right: auto;
    width: 1px;
    height: auto;
  }

  .hist-timeline li {
    padding: 0 0 1.5rem 1.5rem;
  }

  .hist-timeline li::before {
    top: 0.35rem;
    left: 0;
  }
}

@media (max-width: 640px) {
  .hist-revenue-bars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hist-revenue-list,
  .hist-eco-branches,
  .hist-model-grid {
    grid-template-columns: 1fr;
  }

  .hist-quote {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hist-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hist-bar-fill {
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media--history {
    transform: none !important;
  }
}

/* Our History � Life's work enhancements */
.hist-lifes-work-title,
.hist-roles-title,
.hist-name-young-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  max-width: 14ch;
  line-height: 1.02;
}

.hist-career-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  margin: 2.25rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(242, 237, 225, 0.14);
}

.hist-career-stat {
  min-width: 0;
}

.hist-career-stat-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--signal);
  margin-bottom: 0.4rem;
}

.hist-career-stat-label {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--fog);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

.hist-career-stat-note {
  font-size: 0.78rem;
  color: var(--mist);
  line-height: 1.35;
  margin: 0;
}

.hist-pullquote {
  margin: 2rem 0 1rem;
  padding: 1.25rem 0 1.25rem 1.15rem;
  border-left: 3px solid var(--signal);
  max-width: 34rem;
}

.hist-pullquote p {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fog);
  margin: 0 0 0.85rem;
}

.hist-pullquote cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--signal);
  letter-spacing: 0.04em;
}

.hist-roles-list,
.hist-inherit-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.hist-roles-list li,
.hist-inherit-grid li {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(11, 11, 12, 0.12);
}

.hist-section--dark .hist-inherit-grid li {
  border-bottom-color: rgba(242, 237, 225, 0.12);
  color: var(--fog);
}

.hist-timeline-tag {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--type);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal-deep);
  border: 1px solid rgba(184, 145, 43, 0.4);
  padding: 0.12rem 0.35rem;
  vertical-align: middle;
}

.hist-closing {
  padding: clamp(4rem, 10vw, 6.5rem) 6vw;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(212, 175, 55, 0.14), transparent 60%),
    #0b0b0c;
  color: var(--fog);
  text-align: center;
}

.hist-closing-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hist-closing-title span {
  display: block;
}

.hist-closing-accent {
  color: var(--signal);
}

.hist-closing-sub {
  color: var(--mist);
  font-size: 1.08rem;
  margin: 0.2rem 0;
}

.hist-closing-stack {
  list-style: none;
  margin: 2rem auto 1.5rem;
  padding: 0;
  max-width: 28rem;
  display: grid;
  gap: 0.45rem;
}

.hist-closing-stack li {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  color: var(--signal);
}

.hist-closing-end {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 1.25rem 0 0.35rem;
}

.hist-closing-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--fog);
  margin-bottom: 1rem;
}

.hist-closing-note {
  margin: 1rem auto 0;
  color: rgba(183, 178, 166, 0.85);
  max-width: 48ch;
}

.hist-advantage {
  margin: 2rem 0 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(242, 237, 225, 0.14);
}

.hist-advantage-formula {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: -0.01em;
  line-height: 1.55;
  color: var(--fog);
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

.hist-advantage-formula span {
  display: inline-block;
  color: var(--signal);
  margin: 0 0.2rem;
  font-weight: 800;
}

.hist-advantage-formula strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--signal);
  font-size: 1.05em;
}

.hist-investor-line {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--mist);
  max-width: 58ch;
  margin: 0;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(212, 175, 55, 0.55);
}

@media (max-width: 900px) {
  .hist-career-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hist-roles-list,
  .hist-inherit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hist-career-stats,
  .hist-roles-list,
  .hist-inherit-grid {
    grid-template-columns: 1fr;
  }

  .hist-lifes-work-title,
  .hist-roles-title,
  .hist-name-young-title {
    max-width: none;
  }
}

/* ============================================================
   Promotion Exposure / Brand Reach
   ============================================================ */

.pe-intro {
  padding: clamp(3rem, 7vw, 4.5rem) 6vw;
  background: var(--fog);
  color: var(--ink);
}

.pe-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.pe-intro h2,
.pe-dashboard h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.pe-intro p {
  color: #5c574c;
  font-size: 1.05rem;
  max-width: 58ch;
  margin-bottom: 0.75rem;
}

.pe-formula {
  margin-top: 1.25rem !important;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--signal-deep) !important;
  border-left: 3px solid var(--signal);
  padding-left: 0.85rem;
}

.pe-loading {
  color: var(--mist);
  margin: 1rem 0 1.5rem;
}

.pe-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.pe-total-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.28);
}

.pe-total-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.45rem;
}

.pe-total-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  color: var(--signal);
  line-height: 1;
}

.pe-bucket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.pe-bucket {
  padding: 1rem 1.1rem;
  border-top: 2px solid rgba(212, 175, 55, 0.5);
  background: rgba(0, 0, 0, 0.22);
}

.pe-bucket h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
  color: var(--fog);
}

.pe-bucket-life {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--signal);
  margin-bottom: 0.2rem;
}

.pe-bucket-life span,
.pe-bucket-roll span {
  font-family: var(--type);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  margin-left: 0.35rem;
}

.pe-bucket-roll {
  font-size: 0.95rem;
  color: var(--mist);
}

.pe-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.25rem;
}

.pe-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 720px;
}

.pe-history-table th,
.pe-history-table td {
  text-align: left;
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid rgba(11, 11, 12, 0.1);
  vertical-align: top;
}

.pe-history-table th {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--signal-deep);
}

.pe-scheduled-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.pe-scheduled-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(242, 237, 225, 0.12);
  color: var(--mist);
}

.pe-scheduled-list strong {
  color: var(--fog);
}

.pe-admin-panel {
  width: min(1200px, 100%);
}

.pe-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.pe-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pe-fieldset {
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
}

.pe-fieldset legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--signal);
  padding: 0 0.35rem;
}

.pe-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--fog);
  margin: 0.35rem 0;
}

.pe-preview {
  font-size: 0.88rem;
  color: var(--mist);
  margin: 0.5rem 0 1rem;
  line-height: 1.45;
}

.pe-list-heading {
  margin-top: 1.75rem;
}

.pe-promo-form {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .pe-admin-layout,
  .pe-totals,
  .pe-bucket-grid,
  .pe-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Shareholders portal */
.sh-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.sh-portal-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sh-portal-card:hover {
  border-color: var(--signal);
  background: rgba(0, 0, 0, 0.4);
}
.sh-portal-card strong {
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.sh-portal-card span {
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ============================================================
   The Venue — masonry photo gallery on the homepage
   ============================================================ */

.venue {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background: linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
  /* Gallery bleeds to the viewport edges; clip any scrollbar-width overflow */
  overflow-x: clip;
}

.venue-inner {
  max-width: 1430px;
  margin: 0 auto;
}

.venue h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.venue-lede {
  color: var(--mist);
  max-width: 56ch;
  margin-bottom: 2rem;
}

/* Editorial mosaic: dense grid, tiles sized by photo orientation.
   Bleeds edge-to-edge across the full page width. */
.venue-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 18vw, 240px);
  grid-auto-flow: dense;
  gap: 0.75rem;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.venue-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 6px;
  background: #101010;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
}

.venue-photo--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.venue-photo--wide {
  grid-column: span 2;
}

.venue-photo--tall {
  grid-row: span 2;
}

.venue-photo--in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.venue-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s ease;
}

/* Gold frame that lights up on hover */
.venue-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 6px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  pointer-events: none;
}

.venue-photo:hover::after,
.venue-photo:focus-visible::after {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.5);
}

.venue-photo:hover img,
.venue-photo:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.venue-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.8rem 0.9rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fog);
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 0%, rgba(11, 11, 12, 0.9) 100%);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}

.venue-photo:hover figcaption,
.venue-photo:focus-visible figcaption {
  transform: translateY(0);
}

.venue-empty {
  color: var(--mist);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.venue-admin-link {
  margin-top: 1.5rem;
}

/* Lightbox */
.venue-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 94vh;
  overflow: visible;
}

.venue-lightbox::backdrop {
  background: rgba(8, 8, 9, 0.9);
  backdrop-filter: blur(5px);
}

.venue-lightbox-stage {
  margin: 0;
}

.venue-lightbox-stage img {
  display: block;
  max-width: min(88vw, 1100px);
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}

.venue-lightbox-caption {
  margin: 0.7rem auto 0;
  text-align: center;
  color: var(--fog);
  font-size: 0.95rem;
}

.venue-lightbox-counter {
  margin: 0.35rem auto 0;
  text-align: center;
  color: rgba(212, 175, 55, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.venue-lightbox-close {
  position: absolute;
  top: -2.9rem;
  right: 0;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(11, 11, 12, 0.72);
  color: var(--signal);
  font-size: 1.35rem;
  line-height: 1;
}

.venue-lightbox-close:hover {
  background: rgba(212, 175, 55, 0.25);
}

.venue-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(11, 11, 12, 0.72);
  color: var(--signal);
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.venue-lightbox-nav:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.7);
}

.venue-lightbox-prev { left: -3.6rem; }
.venue-lightbox-next { right: -3.6rem; }

@media (max-width: 900px) {
  .venue-lightbox-prev { left: 0.5rem; }
  .venue-lightbox-next { right: 0.5rem; }
}

@media (max-width: 640px) {
  .venue-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(130px, 32vw, 180px);
    gap: 0.55rem;
  }

  /* On phones the feature tile spans full width, one row deep */
  .venue-photo--feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .venue-photo--wide {
    grid-column: span 2;
  }
}

/* Admin preview for venue photos keeps natural image shape */
.upload-preview--venue img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.upload-preview--venue .event-poster-slot {
  aspect-ratio: 4 / 3;
}

/* ============================================================
   Site FX — scroll reveals, staggered cards, hover polish
   (classes are added by js/site-fx.js, so content stays visible
   without JavaScript)
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .fx-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease);
    transition-delay: calc(var(--fx-i, 0) * 90ms);
    will-change: opacity, transform;
  }

  .fx-reveal.fx-in {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  /* Gold underline that draws itself under section headings */
  main > section.fx-reveal h2:first-of-type {
    position: relative;
    padding-bottom: 0.55rem;
  }

  main > section.fx-reveal h2:first-of-type::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 64px;
    background: linear-gradient(90deg, var(--signal), rgba(212, 175, 55, 0));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s var(--ease) 0.35s;
  }

  main > section.fx-reveal.fx-in h2:first-of-type::after {
    transform: scaleX(1);
  }
}

/* Hover micro-interactions (cheap, no JS needed) */
.event-poster {
  transition: transform 0.35s var(--ease), filter 0.35s ease;
}

.event-poster:has(a:not([hidden])):hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
}

.event-poster a {
  overflow: hidden;
}

.event-poster a img {
  transition: transform 0.55s var(--ease);
}

.event-poster a:hover img {
  transform: scale(1.04);
}

.price-list li {
  transition: border-color 0.3s ease;
}

.price-list li:hover {
  border-bottom-color: rgba(212, 175, 55, 0.6);
}

.news-list a {
  transition: color 0.25s ease, transform 0.35s var(--ease);
}

.news-list a:hover {
  transform: translateX(6px);
}

/* Gold sheen sweep on buttons */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 250, 230, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0s;
}

.btn:hover::after {
  left: 130%;
  transition: left 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .btn::after {
    display: none;
  }
}
