/* ============================================================
   afterbeatsmusic — Global Stylesheet
   Exact replica of 7clouds.org design system
   Font: Switzer | Animations: GSAP + Lenis
   ============================================================ */

/* ---------- CSS Variables (exact 7clouds palette) ---------- */
:root {
  --black:          #000000;
  --black-rich:     #0a0a0a;
  --black-subtle:   #1a1a1a;
  --black-soft:     #2a2a2a;
  --black-muted:    #252525;
  --black-elevated: #111111;

  --white:          #ffffff;
  --white-soft:     #fafafa;
  --white-muted:    #e5e5e5;
  --white-dim:      #a3a3a3;
  --white-faded:    #737373;

  --glass-light:   rgba(255,255,255,0.04);
  --glass-med:     rgba(255,255,255,0.06);
  --glass-strong:  rgba(255,255,255,0.10);
  --border-subtle: rgba(255,255,255,0.06);
  --border-med:    rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.16);
  --border-xtra:   rgba(255,255,255,0.22);

  --error:   #ea384c;
  --success: #0082f3;

  --font: 'Switzer', 'Inter', Arial, sans-serif;

  --ease-out: cubic-bezier(0.625, 0.05, 0, 1);
  --ease-std: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --ease-in:  cubic-bezier(0.55, 0.055, 0.675, 0.19);

  --nav-h: 72px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 100vw;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles this */
}

body {
  background: var(--black);
  color: var(--white-soft);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s var(--ease-out);
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  display: block;
  width: 180px;
  height: 86px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* ---------- Master Navigation (Liquid-Glass — flush top, rounded-bottom) ---------- */
.master-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0;
  pointer-events: none;           /* only the nav surface itself is interactive */
}
.nav-pill {
  pointer-events: auto;
  width: calc(100% - 48px);       /* side breathing room */
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  padding: 0 14px 0 28px;
  /* 3-column grid keeps the centre group at the true horizontal centre of the
     pill regardless of how wide the brand and right-side groups are. The
     previous flex + margin:auto setup gave the right side 2× the free space
     because two auto-margins competed against one. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  /* Flush to top, rounded only at bottom — matches reference */
  border-radius: 0 0 32px 32px;

  /* ── Liquid glass ──────────────────────────────────────────────
     The "lit from within" feel comes from THREE ingredients working
     together — most implementations only do the first two:
       1. Strong blur (28px) + high saturation (180%)
       2. Subtle white tint via a vertical gradient (lighter at top,
          slightly less light at the bottom — fakes light refraction
          through a pane held under overhead light)
       3. brightness(1.08) on the backdrop-filter — this is the
          ingredient that makes the glass appear to be glowing
          rather than merely frosted.
     Top-edge sheen (inset white 0.18) + faint bottom-edge inset
     suggest the 3-dimensional thickness of the pane.            */
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.025) 100%);
  backdrop-filter: blur(28px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.04);
  transition: background 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
}
.master-nav.scrolled .nav-pill {
  /* Scrolled state: darker base so the nav stays readable when the
     content behind it scrolls into bright/busy regions. Glass
     refraction effect (blur + saturate + brightness) is preserved. */
  background:
    linear-gradient(180deg,
      rgba(20, 20, 20, 0.55) 0%,
      rgba(10, 10, 10, 0.45) 100%);
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.03);
}

/* Brand */
.nav-brand {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white-soft);
  white-space: nowrap;
  justify-self: start;            /* anchor to the left edge of its grid cell */
  padding: 6px 4px 6px 0;
}
.nav-brand-logo {
  display: block;
  width: 116px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
/* Center + right link groups. Centering is now handled by the parent grid;
   we just align ourselves inside our own grid cell. */
.nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: center;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

/* Links */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-link-cta {
  background: var(--white-soft);
  color: var(--black) !important;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-left: 4px;
  box-shadow: 0 4px 14px rgba(255,255,255,0.12);
}
.nav-link-cta:hover {
  background: var(--white);
  color: var(--black) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255,255,255,0.22);
}

/* Channels Dropdown */
.nav-dd-wrap {
  position: relative;
}
.nav-dd-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(520px, 80vw);
  height: 18px;
  transform: translateX(-50%);
}
.nav-dd-btn {
  cursor: pointer;
}
.nav-dd-btn svg {
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.nav-dd-wrap:hover .nav-dd-btn,
.nav-dd-wrap:focus-within .nav-dd-btn {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-dd-wrap:hover .nav-dd-btn svg,
.nav-dd-wrap:focus-within .nav-dd-btn svg {
  transform: rotate(180deg);
}
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  min-width: 520px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  z-index: 2;
}
.nav-dd-wrap:hover .nav-dd-menu,
.nav-dd-wrap:focus-within .nav-dd-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-col-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faded);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-dd-item {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--white-dim);
  padding: 5px 0;
  transition: color 0.15s;
}
.nav-dd-item:hover { color: var(--white-soft); }

/* Nav chevron */
.nav-chevron {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
  border: none;
  background: none;
}
.ham-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white-soft);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
.nav-mobile-toggle.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-toggle.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  z-index: 999;
  padding: 96px 28px 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 28px;
}
.mobile-nav-link {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: var(--white-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--white-soft); }
.mobile-nav-cta {
  display: inline-block;
  background: var(--white-soft);
  color: var(--black) !important;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  margin-top: 12px;
  text-align: center;
}
.mobile-channels-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faded);
  margin-bottom: 16px;
}
.mobile-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.mobile-channels-grid a {
  font-size: 14px;
  color: var(--white-dim);
  padding: 6px 0;
  transition: color 0.15s;
}
.mobile-channels-grid a:hover { color: var(--white-soft); }

/* ---------- Page Wrapper ---------- */
.page-wrap {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ---------- Hero (Video Background + Liquid-Glass Pill Nav) ---------- */
.hero-video {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;            /* better on mobile w/ dynamic toolbars */
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: #000;
}

/* Video background layer */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  will-change: transform;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.12) translateY(-1.5%); }
}

/* Dark overlay — matches the reference: vignette + subtle warm tint */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 45%,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.48) 55%,
      rgba(0,0,0,0.82) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.05) 28%,
      rgba(0,0,0,0.25) 65%,
      rgba(0,0,0,0.9) 100%);
  pointer-events: none;
}

/* Subtle film grain */
.hero-video-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Centered content */
.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 36px;
  color: var(--white-soft);
}
.hero-logo-img {
  display: block;
  width: 180px;
  height: 86px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}
.hero-headline {
  font-size: clamp(2.4rem, 6.2vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 26px;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero-sublede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 44px;
}

.hero-ctas {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  white-space: nowrap;
  cursor: pointer;
}
.hero-cta.primary {
  background: var(--white);
  color: var(--black);
  padding: 15px 26px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-cta.primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.hero-cta.primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}
.hero-cta.primary:hover svg { transform: translateX(4px); }

.hero-cta.ghost {
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 8px;
  position: relative;
  transition: color 0.2s;
}
.hero-cta.ghost::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.hero-cta.ghost:hover { color: var(--white); }
.hero-cta.ghost:hover::after { transform: scaleX(1); }

/* Partner strip pinned to bottom of hero — centered to match nav */
.hero-partners {
  position: relative;
  z-index: 10;
  width: calc(100% - 48px);
  max-width: 800px;
  margin: 0 auto;
  padding: 28px 8px 44px;
}
.hero-partners-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 22px;
}
.hero-partners-scroller {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.hero-partners-track {
  display: flex;
  align-items: center;
  gap: 64px;                     /* wider gap suits image logos better than text */
  width: max-content;
  animation: hpScroll 32s linear infinite;
}
.hero-partners-track:hover { animation-play-state: paused; }

/* Logo images — uniform height, native aspect ratio, normalized to white.
   The `brightness(0) invert(1)` filter renders any source PNG (whatever its
   original colour is) as pure white, then opacity dims them uniformly so no
   single logo dominates regardless of its native rendering weight. */
.hp-logo {
  flex-shrink: 0;
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              filter 0.3s var(--ease-out);
  user-select: none;
  -webkit-user-drag: none;
}
.hp-logo:hover {
  opacity: 1;
  transform: scale(1.06);
}
@keyframes hpScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .hero-partners-track { gap: 44px; }
  .hp-logo { height: 28px; max-width: 140px; }
}

/* Scroll cue at bottom center */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  animation: heroCueFade 1s ease-out 1.8s forwards;
  display: none;                /* subtle, show only on larger screens */
}
@media (min-width: 992px) {
  .hero-scroll-cue { display: block; }
}
.hero-scroll-dot {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: heroCueBounce 1.8s ease-in-out infinite;
}
@keyframes heroCueFade {
  to { opacity: 1; }
}
@keyframes heroCueBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50%      { transform: translate(-50%, 12px); opacity: 0.3; }
}

/* Hero reveal-on-load initial state (JS flips these) */
[data-hero-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

/* ---------- Manifesto (bleeds from hero) ---------- */
.manifesto {
  position: relative;
  background: var(--black);
  padding: 160px 24px 120px;
  overflow: hidden;
  isolation: isolate;
}
/* Top "bleed" — a faint radial warm glow that echoes the hero video's highlight, */
/* plus a subtle upper gradient so the section doesn't start with a hard edge.    */
.manifesto-bleed {
  position: absolute;
  left: 50%;
  top: -40%;
  transform: translateX(-50%);
  width: 120vw;
  height: 80vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,
      rgba(255, 255, 255, 0.025) 0%,
      rgba(255, 255, 255, 0.01) 40%,
      transparent 70%);
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* Giant opening quote */
.manifesto-quote {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(140px, 18vw, 280px);
  font-weight: 700;
  line-height: 0.55;
  color: var(--white);
  user-select: none;
  margin-bottom: 72px;
  transform-origin: center bottom;
  /* Subtle breathing loop once revealed */
  animation: quoteBreathe 6s var(--ease-std) infinite;
}
@keyframes quoteBreathe {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%      { transform: scale(1.03); opacity: 0.94; }
}

/* Manifesto text — big, bold, centered */
.manifesto-text {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.32;
  color: var(--white);
  max-width: 920px;
  margin: 0 auto 64px;
  text-wrap: balance;
}
/* Per-word spans inserted by JS for the scroll-scrubbed reveal */
.mf-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* Hall of Fame CTA — text + arrow, animated underline */
.manifesto-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 6px;
  position: relative;
  transition: color 0.2s;
}
.manifesto-cta::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 40px;          /* underline ends before the arrow */
  bottom: 6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}
.manifesto-cta:hover::after { transform: scaleX(1); }
.manifesto-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.manifesto-cta:hover svg { transform: translateX(6px); }

/* Team strip — overlapping circular avatars + "+33" chip */
.manifesto-team {
  position: relative;
  z-index: 2;
  margin-top: 96px;
  display: flex;
  justify-content: center;
}
.mt-strip {
  display: inline-flex;
  align-items: center;
  padding: 4px;
}
.mt-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  border: 2px solid var(--black);
  margin-left: -12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
  cursor: default;
  will-change: transform;
}
.mt-avatar:first-child { margin-left: 0; }
.mt-avatar:hover {
  transform: translateY(-6px) scale(1.05);
  z-index: 10;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}
.mt-more {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: var(--white-dim);
  font-size: 11px;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-color: var(--black);
}

/* Reveal initial states (JS overrides these) */
[data-manifesto-reveal] {
  opacity: 0;
  transform: translateY(22px);
}

@media (max-width: 767px) {
  .manifesto { padding: 100px 20px 80px; }
  .manifesto-quote { margin-bottom: 48px; }
  .manifesto-text { margin-bottom: 44px; }
  .manifesto-team { margin-top: 64px; }
  .mt-avatar { width: 44px; height: 44px; font-size: 11px; margin-left: -10px; }
}

/* ---------- Showcase Strip (auto-scrolling mixed media) ---------- */
.showcase-strip {
  position: relative;
  background: var(--black);
  padding: 60px 0 140px;
  overflow: hidden;
  isolation: isolate;
}

/* Bleed from the manifesto team strip — fades the top into the section */
.showcase-top-fade {
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--black) 0%,
    rgba(0,0,0,0.85) 30%,
    rgba(0,0,0,0.4) 65%,
    transparent 100%
  );
}

.showcase-viewport {
  width: 100%;
  overflow: hidden;
  /* soft side fade so cards enter/exit without popping */
  mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.4) 2%,
    black 6%,
    black 94%,
    rgba(0,0,0,0.4) 98%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%,
    rgba(0,0,0,0.4) 2%,
    black 6%,
    black 94%,
    rgba(0,0,0,0.4) 98%,
    transparent 100%);
}

.showcase-track {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 20px 0;       /* room for hover lift + shadow */
  animation: scShift 75s linear infinite;
  will-change: transform;
}
.showcase-track:hover { animation-play-state: paused; }
/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .showcase-track { animation: none; }
}
@keyframes scShift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.sc-item {
  flex-shrink: 0;
  width: clamp(280px, 32vw, 500px);
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  cursor: pointer;
  /* Promote to its own compositor layer so the marquee transform doesn't
     repaint the underlying video frames every tick */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.sc-item:hover {
  transform: translate3d(0, -8px, 0);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  z-index: 5;
}
.sc-item img,
.sc-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Hint the compositor that videos will animate via the parent track */
.sc-item video {
  transform: translateZ(0);
  will-change: transform;
}

/* Subtle vignette on video cards so they sit with the image cards */
.sc-item.sc-video::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%),
    radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.25) 100%);
}

/* Optional tiny "LIVE" dot on video cards to signal they're moving */
.sc-item.sc-video::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 4px rgba(255, 59, 59, 0.25);
  z-index: 2;
  animation: scLiveBlink 1.6s ease-in-out infinite;
}
@keyframes scLiveBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

@media (max-width: 767px) {
  .showcase-strip { padding: 40px 0 90px; }
  .showcase-top-fade { height: 90px; }
  .showcase-track { gap: 14px; animation-duration: 55s; }
  .sc-item { width: 72vw; border-radius: 12px; }
}

/* ---------- Story (Sticky-pinned scrollytelling) ----------
   Uses CSS position:sticky for the pin instead of ScrollTrigger's pin
   feature. Native sticky is layout-engine-driven so it can't drift due
   to font swaps or image-decode layout shifts the way ScrollTrigger's
   pinSpacer can. ScrollTrigger only scrubs the timeline against scroll
   progress — it doesn't manage positioning at all.

   • .story         total scroll length = 500vh (100vh visible + 400vh scrub)
   • .story-stage   sticks to viewport top for the entire 400vh of scrub
*/
.story {
  position: relative;
  height: 500vh;
  background: var(--black);
}
.story-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

/* Phase 1 headline — centered, large, kept above the flurry but below the video */
/* NOTE: centering is owned by GSAP (xPercent/yPercent) so its transform tweens
   don't fight the CSS translate(-50%, -50%). Top/left set the anchor point. */
.story-h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  text-align: center;
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  will-change: transform, opacity;
  pointer-events: none;
}

/* Image flurry container — perspective parent for true 3D depth */
.story-flurry {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.sf-img {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  opacity: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  backface-visibility: hidden;
  /* z is animated by GSAP — no transform here so we don't fight it.
     will-change is added by JS only while the story timeline is active,
     so 15 permanent compositor layers don't sit idle off-screen. */
}

/* 15 scattered positions + sizes + tilts — designed around the centered headline */
.sf-1  { top:  6%; left:  3%; width: 18vw; max-width: 260px; aspect-ratio: 16/10; transform: rotate(-4deg); }
.sf-2  { top: 10%; right: 5%; width: 22vw; max-width: 320px; aspect-ratio: 16/10; transform: rotate(3deg); }
.sf-3  { top:  4%; left: 38%; width: 16vw; max-width: 230px; aspect-ratio: 16/10; transform: rotate(-2deg); }
.sf-4  { top: 28%; left:  1%; width: 14vw; max-width: 200px; aspect-ratio: 16/10; transform: rotate(5deg); }
.sf-5  { top: 24%; right: 1%; width: 20vw; max-width: 280px; aspect-ratio: 16/10; transform: rotate(-3deg); }
.sf-6  { top: 18%; left: 22%; width: 13vw; max-width: 180px; aspect-ratio: 16/10; transform: rotate(6deg); }
.sf-7  { top: 22%; right:24%; width: 14vw; max-width: 200px; aspect-ratio: 16/10; transform: rotate(-5deg); }
.sf-8  { top: 65%; left: 18%; width: 16vw; max-width: 230px; aspect-ratio: 16/10; transform: rotate(-3deg); }
.sf-9  { top: 60%; right:18%; width: 18vw; max-width: 260px; aspect-ratio: 16/10; transform: rotate(4deg); }
.sf-10 { top: 70%; left:  3%; width: 14vw; max-width: 200px; aspect-ratio: 16/10; transform: rotate(2deg); }
.sf-11 { top: 70%; right: 3%; width: 20vw; max-width: 280px; aspect-ratio: 16/10; transform: rotate(-4deg); }
.sf-12 { bottom:4%; left: 38%; width: 18vw; max-width: 250px; aspect-ratio: 16/10; transform: rotate(2deg); }
.sf-13 { top: 42%; left:  6%; width: 12vw; max-width: 170px; aspect-ratio: 16/10; transform: rotate(8deg); }
.sf-14 { top: 44%; right: 8%; width: 12vw; max-width: 170px; aspect-ratio: 16/10; transform: rotate(-7deg); }
.sf-15 { bottom:6%; right:36%; width: 14vw; max-width: 200px; aspect-ratio: 16/10; transform: rotate(-2deg); }

/* Video that zooms from tiny center card → fullscreen.
   Element fills the stage; GSAP handles scale + centering via transform-origin. */
.story-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  z-index: 6;
  overflow: hidden;
  opacity: 0;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  will-change: transform, opacity, border-radius;
}
.story-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.1) 25%,
      rgba(0,0,0,0.1) 65%,
      rgba(0,0,0,0.7) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.35) 100%);
}

/* Phase 2 overlay — top-left title */
.story-p2-title {
  position: absolute;
  top: 130px;
  left: 56px;
  z-index: 10;
  max-width: min(640px, 50vw);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.story-p2-title h3 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.p2-title-strong { display: block; color: var(--white); }
.p2-title-soft   { display: block; color: rgba(255, 255, 255, 0.45); }

/* Phase 2 overlay — bottom-row stats */
.story-stats {
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 56px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.story-stat { display: flex; flex-direction: column; }
.story-stat .ss-num {
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}
.story-stat .ss-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

/* Phase 3 — closing headline. Centering handled by GSAP, same reasoning as h1. */
.story-h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 11;
  text-align: center;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

@media (max-width: 991px) {
  .story-h1 { font-size: clamp(1.8rem, 7vw, 3rem); white-space: normal; max-width: 80vw; }
  .story-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; bottom: 32px; left: 24px; right: 24px; }
  .story-p2-title { top: 96px; left: 24px; max-width: 70vw; }
  .sf-img { border-radius: 10px; }
}
@media (max-width: 600px) {
  .story-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .story-stat .ss-num { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .story-stat .ss-label { font-size: 11px; }
}

/* ---------- Section Utilities ---------- */
.section {
  padding: 100px 0;
}
.section-sm {
  padding: 64px 0;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faded);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white-soft);
  margin-bottom: 20px;
}
.section-body {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.7;
  max-width: 520px;
}

/* ---------- Channels Grid ---------- */
.channels-section {
  background: var(--black-rich);
  border-top: 1px solid var(--border-subtle);
}
.channels-section .section-heading { margin-bottom: 8px; }
.channels-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.channels-intro-text { flex: 1; min-width: 260px; }
.channels-intro p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.65;
  max-width: 500px;
}
.channels-group {
  margin-bottom: 40px;
}
.channels-group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faded);
  margin-bottom: 16px;
  display: block;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.channel-card:hover {
  background: var(--glass-med);
  border-color: var(--border-med);
  transform: translateY(-1px);
}
.channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.channel-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Submit Demo Section ---------- */
.demo-section {
  background: var(--black);
  padding: 80px 24px 160px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Top bleed — warm red/pink radial glow at the section's top so the story
   section's neon-red video atmosphere visually continues down into here
   instead of cutting hard to black. Two stacked gradients: a wide ellipse
   for the diffuse atmosphere + a narrower hot-spot in the centre. */
.demo-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 160vw;
  height: 90vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 45% at 50% 0%,
      rgba(220, 50, 90, 0.28) 0%,
      rgba(140, 30, 70, 0.18) 25%,
      rgba(70, 20, 50, 0.08) 50%,
      transparent 80%),
    radial-gradient(ellipse 90% 70% at 50% 0%,
      rgba(120, 30, 70, 0.18) 0%,
      rgba(60, 20, 45, 0.08) 35%,
      transparent 70%);
}

/* Header (centered: brand mark → title → lede) */
.demo-header {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.demo-brand-mark {
  display: block;
  width: 184px;
  height: 88px;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  /* Slow breath so it feels alive */
  animation: demoMarkBreath 5.5s var(--ease-std) infinite;
}
@keyframes demoMarkBreath {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%      { transform: scale(1.04); opacity: 0.92; }
}

.demo-section-title {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 28px;
}
.demo-section-lede {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: balance;
}

/* Submission portal card */
.demo-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 56px 52px 52px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.demo-card-head {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-card-head-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.demo-card-mark {
  display: block;
  width: 58px;
  height: 28px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
.demo-card-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}
.demo-card-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Form fields ---------- */
.demo-form { display: flex; flex-direction: column; gap: 22px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.form-field.full { grid-column: 1 / -1; }

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--white-soft);
  outline: none;
  width: 100%;
  transition: border-color 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.14);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

/* Selects: native chevron stripped, custom one drawn via ::after */
.form-select { appearance: none; cursor: pointer; padding-right: 44px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.6px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1.6px solid rgba(255, 255, 255, 0.55);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s;
}
.form-select-wrap:hover::after { border-color: rgba(255, 255, 255, 0.85); }
.form-select option { background: #0a0a0a; color: var(--white-soft); }

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Single combined checkbox with custom circular indicator */
.form-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 4px;
}
.form-check-input {
  /* Hide native; the visual is .form-check-box */
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}
.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}
.form-check-label a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-check-box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  margin-top: 1px;
  position: relative;
}
.form-check-input:hover ~ .form-check-label .form-check-box,
.form-check-label:hover .form-check-box {
  border-color: rgba(255, 255, 255, 0.6);
}
.form-check-input:checked ~ .form-check-label .form-check-box,
.form-check-input:checked + .form-check-label .form-check-box {
  background: var(--white);
  border-color: var(--white);
}
.form-check-input:checked ~ .form-check-label .form-check-box::after,
.form-check-input:checked + .form-check-label .form-check-box::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 11px;
  height: 6px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.form-check-input:focus-visible ~ .form-check-label .form-check-box,
.form-check-input:focus-visible + .form-check-label .form-check-box {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

/* Submit button — white pill with arrow */
.form-submit {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  margin-top: 12px;
  background: var(--white);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              background 0.25s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.form-submit:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}
.form-submit:hover .form-submit-arrow { transform: translateX(4px); }
.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.form-submit-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

/* Success + error states */
.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(0, 130, 243, 0.08);
  border: 1px solid rgba(0, 130, 243, 0.2);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 8px;
  font-size: 14px;
  color: var(--white-dim);
}
.form-success.show { display: flex; }

/* Submission error (provider/network failure). Same shape as .form-success
   but red-tinted. Shown by JS only when fetch fails or Web3Forms returns
   success: false. */
.form-error {
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(234, 56, 76, 0.08);
  border: 1px solid rgba(234, 56, 76, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.form-error.show { display: flex; }
.form-error svg { flex-shrink: 0; }

/* Honeypot — visually hidden from real users without using display:none
   (some bots skip display:none fields). Off-screen and unfocusable. */
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-error-msg {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--error);
  margin-top: -2px;
}
.form-field.has-error .form-error-msg { display: block; }
.form-field.has-error .form-input,
.form-field.has-error .form-select,
.form-field.has-error .form-textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(234, 56, 76, 0.08);
  animation: demoFieldShake 0.4s var(--ease-std);
}
@keyframes demoFieldShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-4px); }
  40%      { transform: translateX(4px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px); }
}

@media (max-width: 767px) {
  .demo-section { padding: 90px 16px 110px; }
  .demo-header { margin-bottom: 48px; }
  .demo-brand-mark { width: 150px; height: 72px; margin-bottom: 22px; }
  .demo-card { padding: 36px 24px 32px; border-radius: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 22px; }
  .demo-form { gap: 20px; }
  .form-submit { width: 100%; justify-content: center; }
}

/* ---------- Team Section ---------- */
/* Team section — fully merges with the demo above (pure black, no border) */
.team-section {
  background: var(--black);
  padding: 40px 24px 120px;
  text-align: center;
  position: relative;
}
.team-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-head {
  max-width: 640px;
  margin: 0 auto;
}
.team-head .section-eyebrow {
  display: inline-block;
}
.team-heading {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
}
.team-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.team-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black-soft);
  border: 1px solid var(--border-med);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--white-dim);
  flex-shrink: 0;
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
  overflow: hidden;
}
.team-avatar:hover {
  transform: scale(1.1) translateY(-3px);
  border-color: var(--border-strong);
}
.team-avatar-more {
  background: var(--glass-light);
  font-size: 13px;
}
/* Team avatars — photo on top, original gradient kept as fallback under it
   so a 404 / decoding error degrades to the previous colored circle rather
   than a broken-image icon. background-size: cover + 50% radius (from the
   parent .team-avatar / .mt-avatar rules) crops every
   source square to a circle from its centre regardless of aspect ratio. */
.ta-1, .ta-2, .ta-3, .ta-4, .ta-5,
.ta-6, .ta-7, .ta-8, .ta-9 {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* The placeholder initials live as direct text children of each avatar
     (e.g. <div class="team-avatar ta-1">AR</div>). Once a real photo is
     present we hide them visually but keep them in the DOM — screen readers
     still read the `title="…"` attribute, and the gradient fallback shows
     a clean circle if the image fails. */
  color: transparent;
  text-shadow: none;
}
.ta-1 { background-image: url('../assets/team/1.jpg'); background-color: #0d1a3d; }
.ta-2 { background-image: url('../assets/team/2.jpg'); background-color: #1a0a2e; }
.ta-3 { background-image: url('../assets/team/3.jpg'); background-color: #0a1a0d; }
.ta-4 { background-image: url('../assets/team/4.avif'); background-color: #1a0d00; }
.ta-5 { background-image: url('../assets/team/5.jpg'); background-color: #0d1a1a; }
.ta-6 { background-image: url('../assets/team/6.jpg'); background-color: #1a001a; }
.ta-7 { background-image: url('../assets/team/7.jpg'); background-color: #00141a; }
.ta-8 { background-image: url('../assets/team/8.jpg'); background-color: #0d0d1a; }
.ta-9 { background-image: url('../assets/team/9.jpg'); background-color: #1a0a0a; }

/* Sound wave — sits centered below the avatars */
.sound-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  margin: 32px auto 0;
}
.sound-wave .bar {
  width: 3px;
  border-radius: 2px;
  background: var(--white-soft);
  animation: soundWave 0.8s ease-in-out infinite alternate;
}
.sound-wave .bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.sound-wave .bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.sound-wave .bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.sound-wave .bar:nth-child(4) { height: 90%; animation-delay: 0.15s; }
.sound-wave .bar:nth-child(5) { height: 40%; animation-delay: 0.05s; }
@keyframes soundWave {
  from { transform: scaleY(1); }
  to   { transform: scaleY(0.25); }
}

/* ---------- Master Footer (Elevated card) ---------- */
.master-footer {
  background: var(--black);
  padding: 0 16px 16px;
}
.footer-card {
  max-width: 1600px;
  margin: 0 auto;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 64px 64px 48px;
  position: relative;
  overflow: hidden;
}

/* Top region: brand block + 3-column nav */
.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 60px;
  align-items: start;
}

/* Brand block (left) */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}
.footer-logo-img {
  display: block;
  width: 150px;
  height: 72px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}
.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-soft);
}
.footer-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.footer-line-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
.footer-link-strong {
  color: var(--white);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
  align-self: flex-start;
}
.footer-link-strong:hover { color: rgba(255, 255, 255, 0.8); }
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.footer-social-link {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, transform 0.2s;
}
.footer-social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* 3-column nav (right) */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, auto));
  gap: 80px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  padding: 7px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: rgba(255, 255, 255, 0.65);
  transform: translateX(3px);
}

/* Bottom region: copyright | decorative mark | spacer */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  margin-top: 80px;
  gap: 24px;
}
.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  align-self: end;
  justify-self: start;
}
.footer-decor-mark {
  width: clamp(120px, 18vw, 220px);
  height: clamp(120px, 18vw, 220px);
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  opacity: 0.95;
  display: block;
  animation: footerMarkBreath 6s var(--ease-std) infinite;
}
@keyframes footerMarkBreath {
  0%, 100% { transform: scale(1);    opacity: 0.92; }
  50%      { transform: scale(1.04); opacity: 0.78; }
}
.footer-bottom-spacer {
  /* Holds the right-side grid column open so the mark stays centered */
  display: block;
}

@media (max-width: 991px) {
  .master-footer { padding: 0 12px 12px; }
  .footer-card { padding: 48px 32px 32px; border-radius: 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-col a { font-size: 14px; }
  .footer-bottom { margin-top: 56px; grid-template-columns: 1fr; justify-items: center; gap: 28px; text-align: center; }
  .footer-copyright { justify-self: center; }
  .footer-bottom-spacer { display: none; }
}
@media (max-width: 600px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- Contact Page ---------- */
.contact-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.contact-video-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}
.contact-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  /* Slow ken-burns so a paused/looping clip still feels alive */
  animation: contactHeroZoom 26s ease-in-out infinite alternate;
}
@keyframes contactHeroZoom {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.10) translateY(-1%); }
}
/* CSS video simulation (animated gradient) */
.contact-video-sim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d0a18 30%, #0a0d18 60%, #080808 100%);
  overflow: hidden;
}
.contact-video-sim::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 40% 40% at 30% 40%, rgba(60,30,90,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(20,40,80,0.2) 0%, transparent 60%);
  animation: vidBgPan 12s ease-in-out infinite alternate;
}
.contact-video-sim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  opacity: 0.5;
}
@keyframes vidBgPan {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-5%, 5%) scale(1.1); }
}
.contact-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top,
      var(--black) 0%,
      rgba(0,0,0,0.55) 35%,
      rgba(0,0,0,0.25) 65%,
      rgba(0,0,0,0.4) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}
.contact-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 32px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.contact-hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white-soft);
}
.contact-tiles-section {
  background: var(--black);
  padding: 0 0 100px;
}
.contact-tiles-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: translateY(-56px);
}
.contact-tile {
  display: block;
  text-decoration: none;
  background: var(--glass-light);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s, transform 0.3s var(--ease-out);
}
.contact-tile:hover {
  background: var(--glass-med);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.contact-tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-tile-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-faded);
  margin-bottom: 6px;
}
.contact-tile-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white-soft);
}
.contact-tile-icon {
  width: 40px;
  height: 40px;
  background: var(--glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white-dim);
}
.contact-tile-desc {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.6;
}
.contact-team-avatars {
  display: flex;
  align-items: center;
  gap: -8px;
}
.contact-team-avatars .team-avatar {
  width: 32px;
  height: 32px;
  margin-left: -8px;
  font-size: 11px;
  border: 2px solid var(--black-subtle);
}
.contact-team-avatars .team-avatar:first-child { margin-left: 0; }

/* ---------- Hall of Fame Page ---------- */
/* (Top stats bar removed — its info now lives in .hof-stats-pill at the bottom) */
.hof-gallery {
  padding: 48px 0 80px;
  background: var(--black);
  position: relative;
  min-height: 60vh;
}
.hof-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}
.hof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.hof-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--glass-light);
  transition: border-color 0.2s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: pointer;
}
.hof-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.hof-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.hof-card-thumb-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease-out);
}
.hof-card:hover .hof-card-thumb-bg {
  transform: scale(1.08);
}
.hof-card-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white-soft);
  border: 1px solid var(--border-subtle);
}
.hof-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(0,0,0,0.3);
}
.hof-card:hover .hof-card-play { opacity: 1; }
.hof-card-play svg {
  width: 44px;
  height: 44px;
  color: var(--white-soft);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.8));
}
.hof-card-info {
  padding: 14px 16px;
}
.hof-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.hof-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hof-card-artist {
  font-size: 12px;
  color: var(--white-faded);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hof-card-views {
  font-size: 12px;
  color: var(--white-faded);
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* HOF thumb colors */
.hof-c1  { background: linear-gradient(145deg,#0d1a3d,#2240a0); }
.hof-c2  { background: linear-gradient(145deg,#1a0a0a,#8a2020); }
.hof-c3  { background: linear-gradient(145deg,#0a150a,#1a6020); }
.hof-c4  { background: linear-gradient(145deg,#0d0d2b,#28289f); }
.hof-c5  { background: linear-gradient(145deg,#150015,#6b006b); }
.hof-c6  { background: linear-gradient(145deg,#150a00,#8a4a00); }
.hof-c7  { background: linear-gradient(145deg,#001a1a,#00757f); }
.hof-c8  { background: linear-gradient(145deg,#150015,#880088); }
.hof-c9  { background: linear-gradient(145deg,#0a150d,#1f7a30); }
.hof-c10 { background: linear-gradient(145deg,#0d0a18,#4a2d88); }
.hof-c11 { background: linear-gradient(145deg,#180808,#7a2828); }
.hof-c12 { background: linear-gradient(145deg,#000f14,#004d66); }
.hof-c13 { background: linear-gradient(145deg,#0d1508,#3d6e1a); }
.hof-c14 { background: linear-gradient(145deg,#1a0808,#882222); }
.hof-c15 { background: linear-gradient(145deg,#050514,#15157a); }
.hof-c16 { background: linear-gradient(145deg,#140015,#5e007a); }
.hof-c17 { background: linear-gradient(145deg,#150d00,#7a4800); }
.hof-c18 { background: linear-gradient(145deg,#001515,#006a6a); }
.hof-c19 { background: linear-gradient(145deg,#0a0d14,#202856); }
.hof-c20 { background: linear-gradient(145deg,#150500,#7a2800); }
.hof-c21 { background: linear-gradient(145deg,#080f14,#1e4e70); }
.hof-c22 { background: linear-gradient(145deg,#0d1a0d,#2a702a); }
.hof-c23 { background: linear-gradient(145deg,#14000a,#7a0048); }
.hof-c24 { background: linear-gradient(145deg,#050d14,#1a4070); }
.hof-c25 { background: linear-gradient(145deg,#0a0a14,#363696); }

/* ---------- Articles Page ---------- */
.articles-hero {
  padding: 80px 0 56px;
  background: var(--black);
  border-bottom: 1px solid var(--border-subtle);
}
.articles-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.articles-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.articles-sort-label {
  font-size: 13px;
  color: var(--white-faded);
  margin-right: 4px;
}
.sort-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--white-dim);
  background: var(--glass-light);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sort-btn:hover,
.sort-btn.active {
  background: var(--white-soft);
  color: var(--black);
  border-color: var(--white-soft);
}
.articles-body {
  background: var(--black);
  padding: 56px 0 80px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.article-card {
  background: var(--glass-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.article-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.article-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-out);
}
.article-card:hover .article-thumb-img { transform: scale(1.05); }
.article-thumb-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white-soft);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.article-body {
  padding: 20px;
}
.article-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-faded);
  margin-bottom: 8px;
}
.article-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--white-soft);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-author-logo {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--black-soft);
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
.article-author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--white-dim);
}
.article-date {
  font-size: 12px;
  color: var(--white-faded);
  margin-left: auto;
  white-space: nowrap;
}
/* Pagination */
.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  padding: 0 32px;
}
.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--white-dim);
  background: var(--glass-light);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover { background: var(--glass-med); color: var(--white-soft); border-color: var(--border-med); }
.page-btn.active { background: var(--white-soft); color: var(--black); border-color: var(--white-soft); }

/* ---------- Scroll-Reveal Animations ----------
   NOTE: opacity/transform initial states are set ONLY via GSAP inline styles
   (immediateRender:false). CSS must NOT set opacity:0 here or elements will
   be invisible before JS loads. The .gsap-hidden class is added by JS only.
   ---------------------------------------------------------------- */

/* Page transition overlay (Barba) */
.barba-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .demo-grid { grid-template-columns: 1fr; gap: 48px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-tiles-grid { grid-template-columns: 1fr 1fr; }
  .contact-tiles-grid .contact-tile:last-child { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
  .nav-center,
  .nav-right { display: none; }
  .nav-pill { display: flex; padding: 0 14px 0 20px; justify-content: space-between; height: 62px; border-radius: 0 0 24px 24px; width: calc(100% - 32px); }
  .nav-mobile-toggle { display: flex; }
  .mobile-menu { display: block; }
  .hero-partners { width: calc(100% - 32px); }
  .demo-form-wrap { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hof-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-content { padding: 120px 20px 24px; }
  .hero-logo { margin-bottom: 26px; }
  .hero-headline { max-width: 14ch; margin-bottom: 22px; }
  .hero-sublede { margin-bottom: 36px; font-size: 0.98rem; }
  .hero-partners { padding: 20px 16px 32px; }
  .hero-partners-track { gap: 32px; }
  .hp-logo { font-size: 13px; }
}

@media (max-width: 767px) {
  :root { --nav-h: 56px; }
  .master-nav { top: 0; padding: 0; }
  .nav-pill { height: 56px; border-radius: 0 0 20px 20px; padding: 0 12px 0 16px; width: calc(100% - 20px); }
  .hero-partners { width: calc(100% - 20px); padding: 18px 4px 28px; }
  .nav-brand-logo { width: 104px; height: 40px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; max-width: 480px; }
  .contact-tiles-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .contact-hero-content { padding: 0 20px; }
  .hof-grid { padding: 0 20px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .articles-header { padding: 0 20px; flex-direction: column; align-items: flex-start; }

  .hero-content { padding: 100px 18px 16px; }
  .hero-ctas { gap: 18px; flex-direction: column; }
  .hero-cta.primary,
  .hero-cta.ghost { padding: 14px 22px; }
  .hero-cta.ghost { padding: 8px; }
}

@media (max-width: 479px) {
  .hof-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(2rem, 10vw, 3rem); }
}

/* ---------- Brand Intro ---------- */
.brand-intro {
  background: var(--black);
  padding: 120px 0 80px;
  text-align: center;
}
.brand-intro-wrap {
  max-width: 820px;
}
.brand-intro-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--white-soft);
  margin: 14px 0 28px;
  line-height: 1;
}
.brand-intro-lede {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--white-dim);
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- Artist Gallery ---------- */
.artist-gallery {
  background: var(--black-rich);
  border-top: 1px solid var(--border-subtle);
}
.artist-gallery-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.artist-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ag-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.ag-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.ag-tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.ag-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white-soft);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.ag-1  { background: linear-gradient(145deg,#0d0d2b,#2a2a7a); }
.ag-2  { background: linear-gradient(145deg,#150a00,#8a4a00); }
.ag-3  { background: linear-gradient(145deg,#0a1510,#1a5c3a); }
.ag-4  { background: linear-gradient(145deg,#150015,#8a008a); }
.ag-5  { background: linear-gradient(145deg,#1a0505,#7a1010); }
.ag-6  { background: linear-gradient(145deg,#1a0f00,#6b3a00); }
.ag-7  { background: linear-gradient(145deg,#001a1f,#004a5a); }
.ag-8  { background: linear-gradient(145deg,#0a0015,#40006b); }
.ag-9  { background: linear-gradient(145deg,#050d1a,#153a7a); }
.ag-10 { background: linear-gradient(145deg,#1a050a,#7a1030); }
.ag-11 { background: linear-gradient(145deg,#1a1500,#8a7000); }
.ag-12 { background: linear-gradient(145deg,#0d0a1a,#4a2a7a); }
.ag-13 { background: linear-gradient(145deg,#001510,#00554a); }
.ag-14 { background: linear-gradient(145deg,#10000a,#5a0030); }
.ag-15 { background: linear-gradient(145deg,#151000,#6b5000); }
.ag-16 { background: linear-gradient(145deg,#0a1520,#1f4a80); }
.ag-17 { background: linear-gradient(145deg,#0a0020,#2a006b); }
.ag-18 { background: linear-gradient(145deg,#10000f,#5a0052); }
.ag-19 { background: linear-gradient(145deg,#1a1208,#8a5a20); }
.ag-20 { background: linear-gradient(145deg,#0d0015,#6b00a0); }

/* ---------- Growth Timeline ---------- */
.growth-timeline {
  background: var(--black);
  border-top: 1px solid var(--border-subtle);
  padding: 120px 0;
  text-align: center;
}
.growth-wrap {
  max-width: 1000px;
}
.growth-line {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--white-faded);
  transition: color 0.6s var(--ease-out);
}
.growth-line-1 { margin-bottom: 14px; }
.growth-line-2 {
  background: linear-gradient(90deg, #fff 0%, #e5e5e5 50%, #a3a3a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Final CTA ---------- */
/* ---------- Final CTA (Video Background) ---------- */
.final-cta {
  position: relative;
  min-height: 80vh;
  padding: 140px 24px 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.final-cta-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Slow ken-burns so the still-shot feels alive even when paused */
  animation: finalCtaZoom 28s ease-in-out infinite alternate;
}
@keyframes finalCtaZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10); }
}
.final-cta-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.55) 45%,
      rgba(0,0,0,0.75) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
}

.final-cta-wrap {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.final-cta-sublede {
  font-size: clamp(1rem, 1.15vw, 1.05rem);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 40px;
}
.final-cta-btns {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.final-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out),
              color 0.25s var(--ease-out);
}
.final-cta-btn.primary {
  background: var(--white);
  color: var(--black);
  padding: 15px 26px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.final-cta-btn.primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.final-cta-btn.primary svg {
  width: 16px; height: 16px;
  transition: transform 0.25s var(--ease-out);
}
.final-cta-btn.primary:hover svg { transform: translateX(4px); }

.final-cta-btn.ghost {
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 8px;
  position: relative;
}
.final-cta-btn.ghost::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px;
  bottom: 10px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.final-cta-btn.ghost:hover { color: var(--white); }
.final-cta-btn.ghost:hover::after { transform: scaleX(1); }

/* Responsive for new sections */
@media (max-width: 991px) {
  .artist-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .artist-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brand-intro { padding: 80px 0 60px; }
  .final-cta { padding: 100px 20px 120px; min-height: 70vh; }
  .final-cta-btns { gap: 16px; flex-direction: column; }
  .final-cta-btn.primary { padding: 14px 22px; }
  .team-section { padding: 30px 20px 90px; }
  .team-grid { gap: 8px; }
}
@media (max-width: 479px) {
  .artist-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Hall of Fame — 3D Interior Sphere Viewer ---------- */
.hof-sphere-section {
  position: relative;
  background: #000;
}
.hof-sphere-viewer {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h));   /* full viewport below the floating nav */
  min-height: 560px;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, #0d0d18 0%, #06060c 55%, #000 100%);
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.hof-sphere-viewer.dragging { cursor: grabbing; }
.hof-sphere-viewer::before {
  /* soft edge vignette */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at center, transparent 40%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
  z-index: 3;
}
.hof-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 13% 24%, rgba(255,255,255,0.8), transparent 50%),
    radial-gradient(1px 1px at 27% 67%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 41% 12%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 58% 48%, rgba(255,255,255,0.5), transparent 50%),
    radial-gradient(1px 1px at 72% 81%, rgba(255,255,255,0.7), transparent 50%),
    radial-gradient(1px 1px at 84% 19%, rgba(255,255,255,0.6), transparent 50%),
    radial-gradient(1px 1px at 92% 55%, rgba(255,255,255,0.5), transparent 50%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 1;
}
.hof-camera {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  will-change: transform;
  z-index: 2;
}
.hof3d-card {
  position: absolute;
  width: 240px;
  height: 140px;
  left: -120px;
  top: -70px;
  border-radius: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  transform:
    rotateY(var(--ry, 0deg))
    rotateX(var(--rx, 0deg))
    translateZ(-520px);
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow:
    0 18px 50px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.08) inset;
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: filter 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  /* will-change intentionally omitted — promoting 30 cards permanently uses
     ~30 GPU layers' worth of memory for no win. The camera parent
     (.hof-camera) is the only element that actually transforms; promoting
     the parent is enough for the children to ride along in 3D. */
}
.hof3d-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.78) 100%);
  z-index: 1;
  pointer-events: none;
}
.hof3d-card > * {
  position: relative;
  z-index: 2;
}
.hof3d-card:hover {
  filter: brightness(1.25);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.28) inset,
    0 0 40px rgba(120,140,220,0.2);
}
.hof3d-rank {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  padding: 5px 10px;
  /* Slightly more opaque flat fill replaces backdrop-filter: blur(6px) which
     ran 30 times — once per sphere card — every frame the sphere rotates. */
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
}
.hof3d-meta { margin-top: auto; }
.hof3d-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 4px;
  color: #fff;
}
.hof3d-artist {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  letter-spacing: -0.01em;
}
.hof-vignette-soft {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 15%, transparent 85%, rgba(0,0,0,0.5) 100%);
  z-index: 4;
}
/* Floating stats pill — sits at the bottom of the sphere viewer.
   Replaces the old top stats bar AND the old drag/click hint. */
.hof-stats-pill {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px 14px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  white-space: nowrap;
  /* Slide up + fade in once the page has settled */
  opacity: 0;
  animation: hofPillReveal 0.8s var(--ease-out) 0.45s forwards;
}
.hsp-mark {
  width: 62px;
  height: 28px;
  display: block;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
.hsp-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.hsp-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.82);
}
.hsp-views {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--white);
}
@keyframes hofPillReveal {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 600px) {
  .hof-stats-pill { gap: 12px; padding: 12px 18px 12px 14px; bottom: 24px; }
  .hsp-mark { width: 50px; height: 24px; }
  .hsp-divider { height: 18px; }
  .hsp-title, .hsp-views { font-size: 12.5px; }
}

/* Legacy keyframe kept for any other consumer (none on this page now) */
@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.95; }
}
@media (max-width: 767px) {
  .hof3d-card { width: 200px; height: 120px; left: -100px; top: -60px; padding: 14px; }
  .hof3d-title { font-size: 15px; }
}

/* ---------- Hall of Fame — Video Modal ---------- */
.hof-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.hof-video-modal.open {
  display: flex;
  opacity: 1;
}
.hof-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.hof-video-inner {
  position: relative;
  width: min(92vw, 1000px);
  aspect-ratio: 16 / 9;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}
.hof-video-modal.open .hof-video-inner { transform: scale(1); }
.hof-video-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hof-video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.hof-video-close:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}
.hof-video-fallback {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out);
}
.hof-video-fallback:hover { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 767px) {
  .hof-video-close { top: 8px; right: 8px; width: 32px; height: 32px; }
  .hof-video-fallback { font-size: 10px; bottom: -28px; }
}

/* ---------- Contact hero — centered content + richer bg ---------- */
.contact-hero {
  height: 100vh;
  min-height: 640px;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  text-align: center;
}
.contact-hero-content {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero-title {
  text-align: center;
  margin: 0 auto;
}
.contact-video-sim {
  background:
    radial-gradient(ellipse 55% 50% at 25% 35%, rgba(90,50,140,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 75% 65%, rgba(40,70,140,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 30%, rgba(180,90,60,0.22) 0%, transparent 60%),
    linear-gradient(135deg, #0a0a14 0%, #0d0a1c 30%, #0a0d1c 60%, #06060c 100%);
}
.contact-video-sim::before {
  inset: -30%;
  animation: vidBgPan 14s ease-in-out infinite alternate;
}
.contact-video-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.7) 100%);
}

/* Spin utility */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.is-spinning { animation: spin 0.8s linear infinite; }

/* ---------- Reduced-motion + off-screen pause ----------
   Perpetual keyframe animations (Ken Burns on hero, contact, final-CTA;
   marquees; soundwave; pulse loops) are pure decoration. When the user
   prefers reduced motion OR a video element is .is-offscreen (toggled
   by the JS IntersectionObservers), we freeze them so the GPU isn't
   compositing animation frames that nobody can see.
*/
@media (prefers-reduced-motion: reduce) {
  .hero-video-bg video,
  .contact-hero-video,
  .final-cta-bg video,
  .contact-video-sim::before,
  .demo-brand-mark,
  .footer-decor-mark,
  .manifesto-quote,
  .hp-logo,
  .showcase-track,
  .hero-partners-track,
  .loader-logo,
  .sc-item.sc-video::before,
  .sound-wave .bar,
  .hero-scroll-dot {
    animation: none !important;
  }
}

/* JS adds .is-offscreen to a parent wrapper when the section leaves the
   viewport, so its perpetual decorative animation freezes. */
.is-offscreen .hero-partners-track,
.is-offscreen.hero-video .hero-video-bg video,
.is-offscreen .showcase-track,
.is-offscreen .sc-item.sc-video::before,
.is-offscreen .contact-hero-video,
.is-offscreen .final-cta-bg video {
  animation-play-state: paused !important;
}
