/* ===========================================================
   TALOUS · CINEMATIC v2
   Hybrid: Lando hero · BikeBear marquees · Igloo pinned scenes
   =========================================================== */

:root {
  --black: #000000;
  --black-2: #08070A;
  --ink: #131110;
  --ink-2: #1B1815;
  --line: rgba(201, 169, 97, 0.18);
  --line-2: rgba(201, 169, 97, 0.36);

  --gold: #C9A961;
  --gold-soft: #B89849;
  --gold-bright: #E6C98A;
  --gold-deep: #8A7340;
  --gold-blaze: #FFE7A6;

  --cream: #F5EFE0;
  --teal-bright: #1B89AB;
  --red: #C45A5A;
  --green: #6AAE7C;

  --text: #ECE6D4;
  --text-mute: #948A78;
  --text-faint: #5E574C;

  --serif: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --serif-edit: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;

  --max: 1440px;
  --pad: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body.bb {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body.bb.is-loading { overflow: hidden; }
html { scroll-behavior: smooth; }

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

::selection { background: var(--gold); color: #000; text-shadow: none; }

/* Page wrapper — native scroll, preserves position:sticky */
.page { position: relative; z-index: 5; }

/* ===========================================================
   LOADER
=========================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__inner {
  position: relative;
  width: min(560px, 90vw);
  display: grid;
  gap: 40px;
  text-align: center;
}
.loader__top, .loader__bottom {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
}
.loader__center {
  display: grid;
  gap: 24px;
  justify-items: center;
}
.loader__mark {
  width: 80px; height: 80px;
  position: relative;
}
.loader__mark img {
  width: 100%; height: 100%;
  border-radius: 12px;
  filter: drop-shadow(0 0 24px rgba(201, 169, 97, 0.4));
  animation: loaderPulse 2.2s var(--ease) infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.5; filter: drop-shadow(0 0 16px rgba(201,169,97,0.25)); transform: scale(0.97); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 30px rgba(201,169,97,0.55)); transform: scale(1.02); }
}
.loader__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
}
.loader__bar {
  width: 240px;
  height: 1px;
  background: rgba(201, 169, 97, 0.18);
  overflow: hidden;
  position: relative;
}
.loader__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  width: 0%;
  transition: width .15s linear;
  box-shadow: 0 0 12px var(--gold-bright);
}
.loader__pct {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--cream);
}
.loader__pct i { color: var(--gold); font-style: normal; margin-left: 2px; }

/* Reveal flash on loader exit */
.loader.is-done::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,231,166,0.6), transparent 60%);
  animation: revealFlash 0.8s var(--ease) forwards;
  pointer-events: none;
}
@keyframes revealFlash {
  0% { opacity: 0; transform: scale(0.5); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: scale(2); }
}

/* ===========================================================
   BACKGROUND LAYERS
=========================================================== */
.layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.layer--particles { z-index: 2; opacity: 0.7; }
.layer--cursor { z-index: 9999; mix-blend-mode: screen; }
.layer--grain {
  z-index: 3;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.72  0 0 0 0 0.42  0 0 0 0.95 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@media (hover: none), (max-width: 980px) {
  .layer--cursor { display: none !important; }
}

/* ===========================================================
   NAV
=========================================================== */
.bb-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), opacity .8s var(--ease);
  opacity: 0;
}
body.is-loaded .bb-nav { opacity: 1; transition-delay: .2s; }
.bb-nav.is-scrolled {
  padding: 12px 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.bb-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.bb-nav__brand { display: flex; align-items: center; gap: 12px; }
.bb-nav__mark {
  width: 34px; height: 34px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-2), 0 0 24px rgba(201,169,97,0.2);
}
.bb-nav__wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.36em;
  font-size: 13px;
  color: var(--cream);
}
.bb-nav__links {
  display: flex;
  gap: 30px;
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}
.bb-nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.bb-nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(201,169,97,0.6);
  transition: right .4s var(--ease);
}
.bb-nav__links a:hover { color: var(--cream); }
.bb-nav__links a:hover::after { right: 0; }

.bb-nav__actions { display: flex; align-items: center; gap: 14px; }
.bb-nav__signin {
  font-size: 12.5px; color: var(--text-mute); letter-spacing: 0.06em;
  transition: color .3s var(--ease);
}
.bb-nav__signin:hover { color: var(--cream); }

@media (max-width: 880px) { .bb-nav__links { display: none; } }
@media (max-width: 520px) { .bb-nav__signin { display: none; } }

/* ===========================================================
   BUTTONS
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 11px 20px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .35s var(--ease);
  text-transform: uppercase;
  cursor: pointer;
}
.btn__arr { display: inline-block; font-style: normal; transition: transform .35s var(--ease); font-weight: 400; }
.btn:hover .btn__arr { transform: translateX(6px); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-blaze), var(--gold-bright) 35%, var(--gold) 70%, var(--gold-soft));
  color: #1a1408;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 8px 24px -8px rgba(201,169,97,0.6);
}
.btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-150%);
  transition: transform 1s var(--ease);
  z-index: -1;
}
.btn--gold:hover::before { transform: translateX(150%); }
.btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 14px 32px -8px rgba(201,169,97,0.8); }

.btn--ghost {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-2);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(201,169,97,0.07);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn--lg { padding: 14px 24px; font-size: 13px; }
.btn--xl { padding: 18px 32px; font-size: 14px; letter-spacing: 0.1em; }

.btn--pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  border: 1px solid var(--gold-bright);
  opacity: 0;
  animation: pulseRing 2.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ===========================================================
   HERO — LOGO IS THE HERO (Lando-style cinematic)
=========================================================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero__pin {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__compo {
  position: relative;
  z-index: 3;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 90px var(--pad) 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 3.5vh, 32px);
}
@media (max-width: 900px) {
  .hero__compo {
    padding: 76px var(--pad) 30px;
    gap: clamp(14px, 2.5vh, 22px);
  }
}

/* corner readouts */
.hero__corner {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 14px 22px;
  opacity: 0;
  transition: opacity 1s var(--ease) 0.4s;
  z-index: 4;
}
body.is-loaded .hero__corner { opacity: 0.9; }
.hero__corner--tl { top: 86px; left: 0; }
.hero__corner--tr { top: 86px; right: 0; }
.hero__corner--bl { bottom: 24px; left: 0; }
.hero__corner--br { bottom: 24px; right: 0; cursor: pointer; }
.hero__corner-line {
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--gold);
}
.hero__corner-arrow {
  display: inline-block;
  animation: bounce 1.6s var(--ease) infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.dot--live {
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright);
  animation: dotPulse 1.4s var(--ease) infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 700px) {
  .hero__corner { font-size: 9.5px; padding: 10px 14px; }
}

/* =========== MEDALLION — big focal point =========== */
.medal {
  position: relative;
  /* sized to dominate visually but leave room for tagline below in one viewport */
  width: clamp(220px, 38vh, 420px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  transform: scale(0.5);
  opacity: 0;
  transition: transform 1.4s var(--ease) 0.4s, opacity 1s var(--ease) 0.4s;
}
body.is-loaded .medal {
  transform: scale(1);
  opacity: 1;
}
@media (max-width: 900px) {
  .medal { width: clamp(180px, 32vh, 280px); }
}
.medal__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.medal__halo--1 {
  background: radial-gradient(circle, rgba(201,169,97,0.45), transparent 55%);
  filter: blur(40px);
  animation: haloPulse 5s var(--ease) infinite;
}
.medal__halo--2 {
  background: radial-gradient(circle, rgba(230,201,138,0.3), transparent 45%);
  filter: blur(70px);
  transform: scale(1.4);
  animation: haloPulse 7s var(--ease) infinite -2s;
}
.medal__halo--3 {
  background: radial-gradient(circle, rgba(13,92,117,0.18), transparent 60%);
  filter: blur(100px);
  transform: scale(1.8);
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.medal__ring {
  position: absolute;
  inset: -10%;
  animation: ringSpin 60s linear infinite;
}
.medal__ring svg { width: 100%; height: 100%; overflow: visible; }
@keyframes ringSpin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.medal__arc-text { letter-spacing: 6px; }

.medal__img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.7)) drop-shadow(0 0 60px rgba(201,169,97,0.35));
  transition: transform .4s var(--ease);
}

/* hero tagline — directly under medallion, centered */
.hero__tag {
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease) 0.7s, transform 1s var(--ease) 0.7s;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
body.is-loaded .hero__tag { opacity: 1; transform: translateY(0); }

.hero__tag-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero__tag-dash {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--cream);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero__title em {
  font-family: var(--serif-edit);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  text-transform: lowercase;
  letter-spacing: 0;
}
.hero__lede {
  max-width: 56ch;
  margin: 0 auto 22px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--text-mute);
}
.hero__cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (max-width: 900px) {
  .hero__title { font-size: clamp(22px, 6.5vw, 36px); }
  .hero__lede { font-size: 13.5px; max-width: 42ch; margin-bottom: 18px; }
}
@media (max-width: 480px) {
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
/* tiny / short viewports — hide lede so the buttons stay above the fold */
@media (max-height: 680px) {
  .hero__lede { display: none; }
}
@media (max-height: 560px) {
  .hero__tag-line { display: none; }
}

/* HERO MORPH — clean exit driven by JS via --p (0..1) */
.hero__pin {
  --p: 0;
}
/* Use higher multipliers + clamp so everything is fully gone before pin unsticks */
body.is-loaded .hero__compo {
  opacity: max(0, calc(1 - var(--p) * 1.8));
  transform: translateY(calc(var(--p) * -8vh)) scale(calc(1 - var(--p) * 0.05));
  transform-origin: center;
  pointer-events: auto;
}
body.is-loaded .hero__corner {
  opacity: max(0, calc(0.9 - var(--p) * 1.8));
}
body.is-loaded .showcase {
  opacity: max(0, calc(1 - var(--p) * 1.6));
}

@media (max-width: 700px) {
  .medal { width: 65vw; }
  .hero__title { font-size: clamp(24px, 7vw, 36px); }
}

/* ===========================================================
   HERO SHOWCASE — animated SVG chart + floating data cards
=========================================================== */
.showcase {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.showcase__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 80%, transparent 100%);
}

/* line draw-in animation, kicked off after loader */
.showcase__line {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
}
.showcase__area {
  opacity: 0;
}
.showcase__pred {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  opacity: 0;
}
.showcase__end, .showcase__dots, .showcase__labels {
  opacity: 0;
}
body.is-loaded .showcase__line {
  animation: drawLine 2.2s var(--ease-out) 0.4s forwards;
}
body.is-loaded .showcase__area {
  animation: fadeIn 1.4s var(--ease-out) 1.6s forwards;
}
body.is-loaded .showcase__pred {
  animation: drawPred 1.4s var(--ease-out) 2.2s forwards;
}
body.is-loaded .showcase__end {
  animation: popIn 0.8s var(--ease) 2.4s forwards;
}
body.is-loaded .showcase__dots {
  animation: fadeIn 0.8s var(--ease) 2.0s forwards;
}
body.is-loaded .showcase__labels {
  animation: fadeIn 1s var(--ease) 2.6s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes drawPred { to { stroke-dashoffset: 0; opacity: 0.7; } }
@keyframes fadeIn  { to { opacity: 1; } }
@keyframes popIn   { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* floating data cards */
.showcase__card {
  position: absolute;
  background: linear-gradient(180deg, rgba(27,24,21,0.92), rgba(8,7,10,0.92));
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 12px 14px;
  min-width: 180px;
  font-family: var(--sans);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7), 0 0 30px rgba(201,169,97,0.08);
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  z-index: 2;
}
.showcase__card--tl {
  top: 120px;
  left: clamp(20px, 5vw, 80px);
  transform: translate(-30px, -20px) rotate(-2deg);
  animation: floatA 8s var(--ease) infinite;
}
.showcase__card--br {
  bottom: 180px;
  right: clamp(20px, 5vw, 80px);
  transform: translate(30px, 20px) rotate(2deg);
  animation: floatB 9s var(--ease) infinite -3s;
}
body.is-loaded .showcase__card--tl {
  opacity: 1;
  transform: translate(0, 0) rotate(-2deg);
  transition-delay: 2.4s;
}
body.is-loaded .showcase__card--br {
  opacity: 1;
  transform: translate(0, 0) rotate(2deg);
  transition-delay: 2.7s;
}
@keyframes floatA {
  0%,100% { transform: translate(0, 0) rotate(-2deg); }
  50%     { transform: translate(0, -10px) rotate(-2deg); }
}
@keyframes floatB {
  0%,100% { transform: translate(0, 0) rotate(2deg); }
  50%     { transform: translate(0, -10px) rotate(2deg); }
}

.sc-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.sc-card__tag--gain { color: var(--green); }
.sc-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.sc-card__row strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.sc-card__bar {
  height: 3px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 1px;
}
.sc-card__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  animation: barGo 1.6s var(--ease) 3s forwards;
}
@keyframes barGo { to { width: var(--w, 80%); } }
.sc-card__spark {
  margin: 6px 0 8px;
}
.sc-card__spark svg { width: 100%; height: 20px; }
.sc-card__spark path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 1.4s var(--ease) 3.2s forwards;
}
.sc-card__foot {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  /* On mobile, hide BOTH floating cards — they overlap the tagline/buttons */
  .showcase__card { display: none; }

  /* Constrain the chart line to the upper area only so it doesn't fight the text */
  .showcase__svg {
    mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 50%, transparent 78%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 50%, transparent 78%);
    opacity: 0.55;
  }
}

/* Mobile: make the tagline area sit on its own clean band */
@media (max-width: 760px) {
  .hero__tag {
    position: relative;
    z-index: 4;
  }
  .hero__tag::before {
    content: '';
    position: absolute;
    inset: -20px -100vw -40px;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.85), rgba(0,0,0,0.4) 60%, transparent);
    z-index: -1;
    pointer-events: none;
  }
  .hero__lede { color: var(--text); }
}

/* ===========================================================
   MARQUEE (BikeBear style — BIG)
=========================================================== */
.mq {
  position: relative;
  z-index: 4;
  background: var(--black);
  overflow: hidden;
  padding: 30px 0;
  border-block: 1px solid var(--line);
}
.mq--giant {
  padding: 50px 0;
  background:
    linear-gradient(180deg, transparent, rgba(201,169,97,0.04), transparent),
    var(--black);
}
.mq__track {
  display: flex;
  gap: 40px;
  align-items: center;
  width: max-content;
  animation: mqRoll 60s linear infinite;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cream);
  -webkit-text-stroke: 0;
}
.mq--giant .mq__track {
  font-size: clamp(60px, 12vw, 180px);
  line-height: 0.9;
  animation-duration: 40s;
}
.mq--giant .mq__track span:nth-child(4n+1) {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}
.mq--giant .mq__track span { transition: color .3s; }
.mq--giant .mq__track span:hover {
  color: var(--gold-bright);
  -webkit-text-stroke: 0;
}
.mq__track--reverse { animation-direction: reverse; }
.mq:not(.mq--giant) .mq__track {
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--text-mute);
}
.mq:not(.mq--giant) .mq__track i {
  color: var(--gold);
  font-style: normal;
  margin: 0 6px;
}
.mq__dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.mq--giant .mq__dot {
  width: clamp(20px, 3vw, 40px);
  height: clamp(20px, 3vw, 40px);
  background: var(--gold-bright);
  box-shadow: 0 0 20px var(--gold);
}
@keyframes mqRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   SECTION SHARED
=========================================================== */
.bb-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.bb-num--gold { color: var(--gold); border-color: var(--line-2); background: rgba(201,169,97,0.06); }

.bb-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--cream);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.bb-title em {
  font-family: var(--serif-edit);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  text-transform: lowercase;
  letter-spacing: 0;
}
.bb-lede {
  max-width: 56ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--text-mute);
}

/* ===========================================================
   HALVES — full-bleed split
=========================================================== */
.halves {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0;
  z-index: 4;
  background: var(--black);
}
.halves__intro {
  max-width: var(--max);
  margin: 0 auto clamp(50px, 8vw, 80px);
  padding: 0 var(--pad);
  text-align: center;
}
.halves__intro .bb-title { text-align: center; max-width: 14ch; margin: 0 auto 0; }
.halves__intro .bb-num { margin-bottom: 22px; }

.halves__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(60px, 10vh, 120px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.half {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.half--alt {
  grid-template-columns: 1fr 1.1fr;
}
.half--alt .half__media { order: 2; }
.half--alt .half__copy { order: 1; }
@media (max-width: 900px) {
  .half, .half--alt { grid-template-columns: 1fr; }
  .half--alt .half__media { order: 0; }
}

.half__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(201,169,97,0.12), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--black));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 50px);
}
.half__media::before {
  /* grid texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.half__scene { position: relative; width: 100%; max-width: 480px; z-index: 1; }

/* ad performance card */
.hs {
  background: linear-gradient(180deg, var(--ink-2), var(--black-2));
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 18px 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.hs__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.hs__tag {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}
.hs__id {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.hs__chart {
  position: relative;
  padding: 16px 0;
}
.hs__chart svg { width: 100%; height: 110px; }
.hs__chart path { animation: dash 2.5s var(--ease) forwards; stroke-dasharray: 600; stroke-dashoffset: 600; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.hs__pred {
  position: absolute;
  top: 4px; right: 0;
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
.hs__pred strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin-top: 4px;
}
.hs__metrics {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.hs__metrics strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--cream);
  margin-top: 2px;
}

/* jarvis scene */
.ws {
  background: linear-gradient(180deg, var(--ink-2), var(--black-2));
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 18px 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.ws__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.ws__tag {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
}
.ws__id {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.ws__chat { display: grid; gap: 10px; }
.ws__msg {
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 4px;
  max-width: 85%;
}
.ws__msg--me {
  background: rgba(201, 169, 97, 0.1);
  color: var(--cream);
  border: 1px solid var(--line-2);
  align-self: flex-end;
  justify-self: end;
  font-family: var(--mono);
  font-size: 12px;
}
.ws__msg--ai {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--line);
}
.ws__msg--ok { color: var(--green); border-color: rgba(106,174,124,0.35); }

.half__copy {
  padding: 10px 0;
}
.half__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gold);
}
.half__copy h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.half__copy p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 22px;
  max-width: 48ch;
}
.half__copy ul { display: grid; gap: 10px; }
.half__copy li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mute);
  padding-left: 18px;
  position: relative;
}
.half__copy li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ===========================================================
   LOOP — pinned scrollytelling
=========================================================== */
.loop {
  position: relative;
  background: var(--black);
  z-index: 4;
}
.loop__spacer { height: 0; }
.loop__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.loop__stage {
  max-width: var(--max);
  width: 100%;
  padding: 100px var(--pad) 40px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  height: 100%;
}
.loop__head { text-align: center; }
.loop__head .bb-num { margin-bottom: 18px; }
.loop__head .bb-title { font-size: clamp(28px, 4vw, 48px); margin-bottom: 8px; }
.loop__sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.loop__diagram {
  align-self: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.loop__diagram svg { width: 100%; height: auto; overflow: visible; }
.loop__nodes circle {
  fill: var(--black-2);
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.3;
  transition: opacity .4s var(--ease), fill .4s var(--ease);
}
.loop__nodes circle.is-active {
  opacity: 1;
  fill: var(--gold-bright);
  filter: drop-shadow(0 0 12px var(--gold));
}
.loop__labels text {
  opacity: 0.5;
  transition: opacity .4s var(--ease), fill .4s var(--ease);
}
.loop__labels text.is-active {
  opacity: 1;
  fill: var(--gold-bright);
}

.loop__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .loop__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .loop__steps { grid-template-columns: 1fr; } }

.lstep {
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(10,10,10,0.5);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
  opacity: 0.4;
}
.lstep.is-active {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201,169,97,0.06);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(201,169,97,0.4);
}
.lstep span {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
}
.lstep h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.lstep p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-mute);
}

/* ===========================================================
   TRACK RECORD
=========================================================== */
.track {
  position: relative;
  padding: clamp(100px, 14vh, 160px) 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(201,169,97,0.10), transparent 65%),
    radial-gradient(ellipse 80% 60% at 85% 80%, rgba(13,92,117,0.10), transparent 65%),
    var(--black);
  border-block: 1px solid var(--line);
  overflow: hidden;
  z-index: 4;
}
.track::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 7) 100%;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}
.track__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 980px) { .track__inner { grid-template-columns: 1fr; } }

.track__quote {
  margin-top: 28px;
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 22px;
  font-family: var(--serif-edit);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
}
.track__quote p { color: var(--gold-bright); min-height: 2.5em; }
.track__quote .caret {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  background: var(--gold-bright);
  margin-left: 2px;
  vertical-align: -0.15em;
  animation: caret 0.9s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.track__quote cite {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 14px;
}

.track__charts {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  border-radius: 4px;
  backdrop-filter: blur(10px);
}
.chart { display: grid; gap: 8px; }
.chart__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.chart__head span:first-child {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--cream);
}
.chart__hit {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--green);
}
.chart__hit--miss { color: var(--red); }

.chart__bar {
  height: 5px;
  background: rgba(255,255,255,0.04);
  border-radius: 1px;
  overflow: hidden;
}
.chart__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transition: width 2s var(--ease);
}
.chart__bar.is-in i { width: var(--w, 50%); }
.chart__bar--miss i { background: linear-gradient(90deg, #5F2222, var(--red)); }

.chart__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.chart__legend {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.chart__sig { color: var(--gold); }

/* ===========================================================
   CAPABILITIES
=========================================================== */
.caps {
  padding: clamp(100px, 14vh, 160px) 0;
  background: var(--black);
  z-index: 4;
  position: relative;
}
.caps__head {
  max-width: var(--max);
  margin: 0 auto clamp(50px, 8vw, 80px);
  padding: 0 var(--pad);
  text-align: center;
}
.caps__head .bb-title { font-size: clamp(34px, 5vw, 60px); }
.caps__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .caps__grid { grid-template-columns: 1fr; } }

.cap {
  position: relative;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, var(--ink-2), var(--black-2));
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .35s var(--ease), transform .25s var(--ease);
  will-change: transform;
}
.cap__glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.4), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
  left: var(--mx, 50%); top: var(--my, 50%);
  transform: translate(-50%, -50%);
}
.cap:hover { border-color: var(--gold); }
.cap:hover .cap__glow { opacity: 1; }
.cap > * { position: relative; z-index: 1; transform: translateZ(0); }
.cap__num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  z-index: 2;
}
.cap__icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--gold);
  margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(201,169,97,0.08), transparent);
  transform: translateZ(40px);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.cap__icon svg { width: 26px; height: 26px; transition: transform .6s var(--ease); }
.cap:hover .cap__icon { color: var(--gold-bright); border-color: var(--gold); }
.cap:hover .cap__icon svg { transform: rotate(360deg) scale(1.1); }
.cap h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 10px;
  transform: translateZ(35px);
  text-transform: uppercase;
}
.cap p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-mute);
  transform: translateZ(30px);
}

/* ===========================================================
   AGENCIES
=========================================================== */
.agencies {
  padding: clamp(100px, 14vh, 160px) 0;
  background: var(--black);
  z-index: 4;
  position: relative;
}
.agencies__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 980px) { .agencies__inner { grid-template-columns: 1fr; } }

.agencies__list {
  margin-top: 28px;
  display: grid;
  border-top: 1px solid var(--line);
}
.agencies__list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.agencies__list dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.agencies__list dd {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}

/* WAR ROOM */
.warroom {
  position: relative;
  background:
    linear-gradient(180deg, rgba(201,169,97,0.04), transparent 30%),
    linear-gradient(180deg, var(--ink-2), var(--black-2));
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
}
.warroom__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cream);
}
.warroom__live { color: var(--gold); }
.warroom__live::before {
  content: '●';
  margin-right: 6px;
  color: var(--gold-bright);
  animation: dotPulse 1.4s var(--ease) infinite;
}
.warroom__rows li {
  display: grid;
  grid-template-columns: 70px 110px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  position: relative;
}
.warroom__rows li:last-child { border-bottom: 0; }
.warroom__rows li::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s var(--ease);
}
.warroom__rows li:hover::before { transform: scaleY(1); }
.wr__act {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 4px 8px;
  border-radius: 2px;
  border: 1px solid;
}
.wr__act--pause { color: var(--gold-bright); border-color: rgba(230,201,138,0.4); background: rgba(230,201,138,0.07); }
.wr__act--boost { color: var(--green);       border-color: rgba(106,174,124,0.4); background: rgba(106,174,124,0.07); }
.wr__act--kill  { color: var(--red);         border-color: rgba(196,90,90,0.4);   background: rgba(196,90,90,0.07); }
.wr__act--dup   { color: var(--teal-bright); border-color: rgba(27,137,171,0.4);  background: rgba(27,137,171,0.07); }
.wr__id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.wr__why { color: var(--text); }
.wr__status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.wr__status--pend { color: var(--gold); }
.warroom__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(0,0,0,0.4);
}
.warroom__sig { color: var(--gold); }
.warroom__scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(201,169,97,0.16), transparent);
  animation: warroomScan 5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes warroomScan {
  0%   { transform: translateY(-80px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(540px); opacity: 0; }
}
@media (max-width: 560px) {
  .warroom__rows li {
    grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 4px;
  }
  .warroom__rows li .wr__id { grid-column: 2; grid-row: 1; }
  .warroom__rows li .wr__why { grid-column: 2; grid-row: 2; }
  .warroom__rows li .wr__status { grid-column: 2; grid-row: 3; justify-self: start; }
  .warroom__rows li .wr__act { grid-column: 1; grid-row: 1 / span 3; align-self: center; }
}

/* ===========================================================
   CTA
=========================================================== */
.bb-cta {
  position: relative;
  padding: clamp(120px, 16vh, 200px) 0;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--black);
  z-index: 4;
}
.bb-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,169,97,0.18), transparent 60%);
}
.bb-cta__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  margin-top: -300px; margin-left: -300px;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: ringExpand 5s var(--ease) infinite;
  opacity: 0;
}
.bb-cta__ring--1 { animation-delay: 0s; }
.bb-cta__ring--2 { animation-delay: 1.6s; }
.bb-cta__ring--3 { animation-delay: 3.2s; }
@keyframes ringExpand {
  0%   { opacity: 0; transform: scale(0.3); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: scale(1.4); }
}
.bb-cta__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.bb-cta__inner .bb-num { margin-bottom: 26px; }
.bb-cta__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 140px);  /* still big but not screen-blocking */
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 26px;
  text-transform: uppercase;
  text-shadow: 0 0 80px rgba(201,169,97,0.4);
}
.bb-cta__title em {
  font-family: var(--serif-edit);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  text-transform: lowercase;
  letter-spacing: 0;
}
.bb-cta__lede {
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--text-mute);
}
.bb-cta__sub {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.bb-cta__sub a {
  color: var(--gold);
  border-bottom: 1px solid var(--line-2);
}
.bb-cta__sub a:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ===========================================================
   FOOTER
=========================================================== */
.bb-footer {
  position: relative;
  background: var(--black);
  padding: 60px 0 32px;
  z-index: 4;
  overflow: hidden;
}
.bb-footer__giant {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(120px, 26vw, 380px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-2);
  text-align: center;
  user-select: none;
  margin-bottom: 30px;
  background: linear-gradient(180deg, transparent, rgba(201,169,97,0.08));
  -webkit-background-clip: text;
  background-clip: text;
}
.bb-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .bb-footer__inner { grid-template-columns: 1fr; } }
.bb-footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.bb-footer__brand img {
  width: 44px; height: 44px; border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line-2), 0 0 30px rgba(201,169,97,0.2);
}
.bb-footer__word {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.36em;
  color: var(--cream);
  font-size: 14px;
}
.bb-footer__tag {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-mute);
  max-width: 30ch;
  line-height: 1.5;
}
.bb-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 560px) { .bb-footer__cols { grid-template-columns: repeat(2, 1fr); } }
.bb-footer__cols h5 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}
.bb-footer__cols a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-mute);
  transition: color .25s var(--ease);
}
.bb-footer__cols a:hover { color: var(--cream); }
.bb-footer__base {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 24px var(--pad) 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.bb-footer__motto { color: var(--gold); }

/* ===========================================================
   FADE REVEAL
=========================================================== */
[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
[data-fade].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   MOBILE POLISH — focused overrides
=========================================================== */
@media (max-width: 760px) {
  :root { --pad: 20px; }

  /* loader text smaller */
  .loader__top, .loader__bottom { font-size: 9.5px; letter-spacing: 0.22em; }

  /* hero corners — keep just SYSTEM ONLINE + SCROLL cue */
  .hero__corner--tr, .hero__corner--bl { display: none; }
  .hero__corner { padding: 10px 16px; font-size: 9.5px; }
  .hero__corner--tl { top: 76px; }

  /* tighten section padding */
  .halves, .caps, .agencies, .track, .bb-cta { padding-block: 70px; }

  /* halves — kill aspect ratio, let media size to content */
  .half__media { aspect-ratio: auto; min-height: 280px; padding: 24px; }
  .half__copy { padding: 0; }
  .half__copy h3 { font-size: clamp(24px, 7vw, 32px); }

  /* loop — much shorter spacer on mobile (5 × 60vh) */
  .loop__sub { font-size: 11px; }
  .loop__head .bb-title { font-size: clamp(24px, 7vw, 34px); }
  .loop__diagram { max-width: 100%; }
  .loop__diagram svg text { font-size: 14px; }

  /* track */
  .track__quote { font-size: clamp(16px, 4.5vw, 20px); padding-left: 16px; }
  .track__charts { padding: 20px; }

  /* caps */
  .cap { padding: 22px 20px 20px; }
  .cap h3 { font-size: 17px; }

  /* war room — make it scroll its own row content rather than squish */
  .warroom__chrome { font-size: 10px; padding: 12px 16px; }
  .warroom__foot { font-size: 9.5px; padding: 10px 16px; }

  /* CTA title scaled down */
  .bb-cta__title { font-size: clamp(40px, 12vw, 80px); }

  /* footer giant TALOUS smaller */
  .bb-footer__giant { font-size: clamp(80px, 24vw, 200px); }
  .bb-footer { padding: 40px 0 24px; }

  /* giant marquee — slightly more controlled */
  .mq--giant { padding: 30px 0; }
  .mq--giant .mq__track { font-size: clamp(48px, 14vw, 90px); animation-duration: 30s; }
}

@media (max-width: 480px) {
  /* loop — single column step list */
  .loop__sticky { height: auto; min-height: 100vh; }
  .loop__stage { padding: 84px var(--pad) 30px; gap: 16px; }
  .loop__diagram { display: none; }  /* simplify on tiny screens */
  .lstep { padding: 14px; }

  /* hero — tighter buttons */
  .btn--lg { padding: 12px 18px; font-size: 12.5px; }
}

/* Loop spacer height responsive (driven via JS, but overridden here as fallback) */
@media (max-width: 760px) {
  .loop__spacer { height: 200vh !important; }
}
@media (max-width: 480px) {
  .loop__spacer { height: 0 !important; }
  .loop__sticky { position: relative; }  /* unpin on phones — just stack normally */
}

/* ===========================================================
   REDUCED MOTION
=========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .layer--particles, .layer--cursor { display: none !important; }
  [data-fade] { opacity: 1 !important; transform: none !important; }
}
