/* ── Brand fonts ─────────────────────────────────────────────
   Brandon Grotesque - Coors brand font, used for the hero
   preview counter (number + label) so the live engagement
   readout reads as Coors-native instead of generic Outfit. */
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('/fonts/brandon-grotesque/brandon-grotesque-regular.woff2') format('woff2'),
       url('/fonts/brandon-grotesque/brandon-grotesque-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('/fonts/brandon-grotesque/brandon-grotesque-bold.woff2') format('woff2'),
       url('/fonts/brandon-grotesque/brandon-grotesque-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Theme tokens: dark (default) ───────────────────────────── */
:root {
  --theme-color-scheme:             dark;
  --theme-page-bg:                  var(--color-midnight-emerald);
  --theme-text-primary:             var(--color-ceramic-white);
  --theme-text-secondary:           var(--color-platinum-ghost);
  --theme-badge-bg:                 rgba(151, 252, 215, 0.1);
  --theme-badge-color:              var(--color-aura-mint);
  --theme-nav-logo:                 var(--color-ceramic-white);
  --theme-nav-scrolled-bg:          rgba(35, 82, 76, 0.94);
  --theme-nav-scrolled-shadow:      rgba(7, 39, 36, 0.5);
  --theme-nav-scrolled-sec-border:  rgba(151, 252, 215, 0.25);
  --theme-btn-primary-bg:           var(--color-ceramic-white);
  --theme-btn-primary-text:         var(--color-midnight-emerald);
  --theme-btn-secondary-text:       var(--color-ceramic-white);
  --theme-btn-secondary-border:     var(--color-ghost-jade);
  --theme-dot-inactive:             var(--color-ghost-jade);
  --theme-dot-active:               var(--color-aura-mint);
}

/* ── Theme tokens: light ─────────────────────────────────────── */
html[data-theme="light"] {
  --theme-color-scheme:             light;
  --theme-page-bg:                  var(--color-paper-white);
  --theme-text-primary:             var(--color-midnight-ink);
  --theme-text-secondary:           var(--color-dusty-ash);
  --theme-badge-bg:                 rgba(234, 199, 160, 0.25);
  --theme-badge-color:              var(--color-dusty-ash);
  --theme-nav-logo:                 var(--color-midnight-ink);
  --theme-nav-scrolled-bg:          rgba(35, 82, 76, 0.94);
  --theme-nav-scrolled-shadow:      rgba(7, 39, 36, 0.3);
  --theme-nav-scrolled-sec-border:  rgba(151, 252, 215, 0.35);
  --theme-btn-primary-bg:           var(--color-midnight-ink);
  --theme-btn-primary-text:         var(--color-paper-white);
  --theme-btn-secondary-text:       var(--color-midnight-ink);
  --theme-btn-secondary-border:     var(--color-pewter);
  --theme-dot-inactive:             var(--color-pewter);
  --theme-dot-active:               var(--color-midnight-ink);
}

:root {
  color-scheme: var(--theme-color-scheme);
  font-family: var(--font-body, ui-sans-serif, system-ui, sans-serif);
  font-weight: 400;
  line-height: 1.5;
  background: var(--theme-page-bg);
  color: var(--theme-text-primary);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--theme-page-bg);
  overflow-x: clip;
}

body {
  padding: 0;
  color: var(--theme-text-primary);
  font-size: var(--text-body, 16px);
  line-height: var(--leading-body, 1.4);
}

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

/* ── Navigation ───────────────────────────────────────────────── */
.navigation {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: transparent;
  padding: 8px 0;
}

.navigation-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--element-gap, 16px);
  padding: 10px 20px;
  border-radius: 16px;
  background: transparent;
  transition: background 250ms ease, box-shadow 250ms ease, padding 250ms ease, max-width 250ms ease, border-radius 250ms ease;
  width: min(1200px, calc(100% - 40px));
}

.navigation-container.scrolled {
  max-width: 1040px;
  padding: 10px 20px;
  background: var(--theme-nav-scrolled-bg);
  box-shadow: 0 28px 65px var(--theme-nav-scrolled-shadow);
  backdrop-filter: blur(14px);
}

.navigation-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 3.64px;
  line-height: 26px;
  height: 38px;
  color: var(--theme-nav-logo);
  -webkit-font-smoothing: antialiased;
  transition: color 250ms ease;
}

.navigation-logo-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 11px;
  text-transform: uppercase;
  color: #14694f;
  opacity: 1;
}

[data-theme="dark"] .navigation-logo-sub {
  color: #97fcd7;
}

.navigation-links { display: flex; align-items: center; gap: 24px; }
.navigation-logo  { flex: 1; }
.navigation-actions { flex: 1; justify-content: flex-end; }

.navigation-link {
  color: var(--theme-text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 250ms ease;
}

.navigation-container.scrolled .navigation-logo { color: var(--color-ceramic-white); }
.navigation-container.scrolled .navigation-link  { color: var(--color-ceramic-white); }
.navigation-container.scrolled .theme-toggle     { color: var(--color-ceramic-white); }
.navigation-container.scrolled .navigation-logo-sub { color: #97fcd7; }

.navigation-actions { display: flex; align-items: center; gap: 14px; }
.navigation-actions .button { white-space: nowrap; }
@media (max-width: 480px) {
  .navigation-actions .button { padding: 8px 14px; font-size: 13px; }
}

/* Mobile nav: collapse the section links (How It Works / Platform / FAQ) so
   only Book a Call shows. The case-study "Back" link (cs-nav-back) is kept.
   Give the button breathing room from the scrolled green bar's right edge. */
@media (max-width: 640px) {
  .navigation-link:not(.cs-nav-back) { display: none; }
  .navigation-actions { margin-right: 8px; }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-buttons, 10px);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  padding: 9px 20px;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background-color: var(--theme-btn-primary-bg);
  color: var(--theme-btn-primary-text);
  border-color: transparent;
}

.button-secondary {
  background: transparent;
  color: var(--theme-btn-secondary-text);
  border-color: var(--theme-btn-secondary-border);
}

.navigation-container.scrolled .button-primary {
  background-color: var(--theme-btn-primary-bg);
  color: var(--theme-btn-primary-text);
  border-color: transparent;
}

.navigation-container.scrolled .button-secondary {
  background: transparent;
  color: var(--color-ceramic-white);
  border-color: var(--theme-nav-scrolled-sec-border);
}

/* ── Page layout ──────────────────────────────────────────────── */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 120px;
}

/* ── Utilities: Visual slot (placeholder for imagery) ─────────── */
/* An intentional empty frame so the absence of imagery reads as
   design intent. Drop an <img> or <video> inside to fill. */
.visual-slot {
  position: relative;
  width: 100%;
  border-radius: var(--radius-cards, 24px);
  background-color: rgba(151, 252, 215, 0.03);
  border: 1px solid var(--color-ghost-jade);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.visual-slot--wide   { aspect-ratio: 16 / 9; }
.visual-slot--square { aspect-ratio: 1 / 1; }
.visual-slot--on-light {
  background-color: rgba(13, 13, 13, 0.02);
  border-color: var(--color-pewter);
}
.visual-slot > img,
.visual-slot > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Collapse empty visual-slot placeholders so a missing image doesn't
   leave a tall empty box in the layout. The moment an <img> or <video>
   is dropped inside, the slot (and its row) re-appears automatically. */
.visual-slot:not(:has(img, video)) { display: none; }
.manifesto-row:has(> .visual-slot:not(:has(img, video))) {
  display: none;
}
.visual-slot-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-aura-mint);
  opacity: 0.45;
  pointer-events: none;
}
.visual-slot--on-light .visual-slot-hint { color: var(--color-dusty-ash); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto 48px;
  transition: opacity 0.2s ease;
}

.hero-copy.switching { opacity: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--theme-badge-bg);
  color: var(--theme-badge-color);
  margin-bottom: 22px;
}

/* The badge is an inline-flex container, which strips the leading whitespace
   inside the tail span — restore the gap before the • bullet. */
.hero-badge-tail { margin-left: 0.3em; }

.hero-headline {
  margin: 0 0 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--theme-text-primary);
  text-wrap: balance;   /* even line lengths → no orphan words at any width */
}

@keyframes cta-in {
  0%   { opacity: 0; transform: scale(0.95); }
  55%  { opacity: 1; transform: scale(1.03); }
  75%  {             transform: scale(0.99); }
  100% {             transform: scale(1.00); }
}

.hero-cta {
  animation: cta-in 0.55s ease-out both;
  animation-delay: 0.2s;
}

/* ── Reddit badge (corner) ────────────────────────────────────── */
.reddit-badge-corner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  z-index: 198;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 200ms ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.reddit-badge-corner:hover { opacity: 1; }
.reddit-badge-corner:hover .rb-snoo { transform: scale(1.06); }
.reddit-badge-corner:focus { outline: none; }

.rb-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.rb-snoo {
  transition: transform 220ms ease;
}

/* ── Reddit badge click animations ───────────────────────────── */
@keyframes rb-pop-snoo {
  0%   { transform: scale(1); }
  28%  { transform: scale(1.28); }
  55%  { transform: scale(0.93); }
  75%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes rb-pop-strip {
  0%   { transform: scale(1); }
  22%  { transform: scale(1.14); }
  52%  { transform: scale(0.96); }
  75%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes rb-pop-bg {
  0%   { transform: scale(1)    rotate(0deg); }
  30%  { transform: scale(1.05) rotate(-2deg); }
  60%  { transform: scale(0.98) rotate(1deg); }
  100% { transform: scale(1)    rotate(0deg); }
}

@keyframes rb-pop-circle {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.07); }
  60%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}

.reddit-badge-corner.popped .rb-bg     { animation: rb-pop-bg     0.48s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.reddit-badge-corner.popped .rb-circle { animation: rb-pop-circle  0.42s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.reddit-badge-corner.popped .rb-snoo   { animation: rb-pop-snoo    0.52s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.reddit-badge-corner.popped .rb-strip  { animation: rb-pop-strip   0.44s cubic-bezier(0.34, 1.56, 0.64, 1) 40ms forwards; }

/* ── Footer ───────────────────────────────────────────────────── */
.dark-end-wrap {
  position: relative;
}

.dark-end-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  z-index: 0;
}

.site-footer {
  background-color: #0D0D0D;
  color: rgba(255, 255, 255, 0.45);
  transition: color 200ms ease;
  padding: 0 40px;
}

.site-footer:hover { color: rgba(255, 255, 255, 0.75); }

.footer-inner {
  display: flex;
  align-items: center;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--font-bebas-neue);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}

.footer-logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-aura-mint);
}

.footer-center {
  flex: 1;
  text-align: center;
}

.reddit-badge-footer {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 600px) {
  .footer-inner { flex-wrap: wrap; gap: 24px; }
  .footer-legal { flex-direction: row; align-items: center; width: 100%; justify-content: center; gap: 20px; }
}

/* ── Hero entry animations ────────────────────────────────────── */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-hl1,
.hero-hl2 {
  display: inline-block;
  opacity: 0;
  animation: hero-fade-up 0.4s ease-out forwards;
}

.hero-hl1 { animation-delay: 0s; }
.hero-hl2 { animation-delay: 0.1s; }

.hero-copy p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--theme-text-secondary);
  text-wrap: balance;   /* keep the subheading off a one-word last line */
  opacity: 0;
  animation: hero-fade 0.55s ease-out forwards;
  animation-delay: 0.2s;
}

/* ── Card deck ────────────────────────────────────────────────── */
.deck-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Stage height = active card height (×1.1 scale) + dy of ±2 + shadow buffer */
.deck-stage {
  position: relative;
  width: 100%;
  height: 300px;
  touch-action: pan-y;
  perspective: 1000px;
}

/* Cards are 360×262 — same 700:510 ratio as assets (zero crop) */
.deck-card {
  position: absolute;
  left: 50%;
  top: 0;
  width: 360px;
  height: 262px;
  border-radius: 18px;
  overflow: visible;
  background: #111;
  user-select: none;
  -webkit-user-select: none;
  /* pan-y: vertical pans scroll the page (browser-handled); only horizontal
     gestures reach the carousel, so a thumb scroll no longer flips cards. */
  touch-action: pan-y;
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease,
    filter 0.5s ease,
    opacity 0.4s ease;
  will-change: transform;
  transform-style: preserve-3d;   /* lets overlay layers sit at their own depth */
}

/* While mouse-tilting, the centered card follows the cursor responsively
   (fast) instead of the 0.6s slide spring. Placed before .is-dragging so a
   drag still wins with transition: none. */
.deck-stage.is-tilting .deck-card {
  transition: transform 0.12s ease-out, box-shadow 0.5s ease, opacity 0.4s ease;
}
.deck-stage.is-dragging .deck-card { transition: none; }

.deck-card picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.deck-emblem {
  position: absolute;
  bottom: -10px;
  left: 18px;
  width: 47px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.07s;
  will-change: transform;
}

.deck-stage.is-dragging .deck-emblem {
  transition: none;
}

/* ── Poppi can overlay ────────────────────────────────────────── */
/* Velocity profile: quick burst → peak → exponential friction decay */
@keyframes poppi-can-spin-trigger {
  0%   { transform: rotate(0deg); }
  8%   { transform: rotate(80deg); }
  20%  { transform: rotate(260deg); }
  38%  { transform: rotate(460deg); }
  58%  { transform: rotate(610deg); }
  75%  { transform: rotate(680deg); }
  88%  { transform: rotate(710deg); }
  100% { transform: rotate(720deg); }
}

.poppi-can-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 57px;
  width: 82px;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
  transform: translateZ(34px);   /* floats above the card for parallax */
}

.poppi-can {
  width: 100%;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
  will-change: transform;
}

.poppi-can.spinning {
  animation: poppi-can-spin-trigger 0.64s linear forwards;
}

@media (max-width: 700px) {
  .poppi-can-wrapper { width: 66px; right: 50px; }
}

@media (max-width: 480px) {
  .poppi-can-wrapper { width: 54px; right: 35px; }
}

/* ── Tide pod overlay ─────────────────────────────────────────── */
@keyframes tide-pod-in {
  0%   { transform: scale(0.08) rotate(-53deg); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: scale(1)    rotate(0deg);   opacity: 1; }
}

@keyframes tide-pod-out {
  0%   { transform: scale(1)    rotate(0deg);   opacity: 1; }
  100% { transform: scale(0.08) rotate(-53deg); opacity: 0; }
}

.tide-pod-wrapper {
  position: absolute;
  top: 0;
  bottom: 32px;
  right: 94px;
  width: 78px;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
  transform: translateZ(34px);   /* floats above the card for parallax */
}

.tide-pod {
  width: 100%;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.32));
  transform: scale(0.08);
  opacity: 0;
  will-change: transform, opacity;
}

.tide-pod.pod-active {
  animation: tide-pod-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.09s forwards;
}

.tide-pod.pod-reset {
  animation: tide-pod-out 0.28s ease-in forwards;
}

.deck-stage.is-dragging .tide-pod {
  animation-play-state: paused;
}

@media (max-width: 700px) {
  .tide-pod-wrapper { width: 62px; right: 74px; }
}

@media (max-width: 480px) {
  .tide-pod-wrapper { width: 50px; right: 60px; }
}

.deck-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.deck-card-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

/* Live Coors Chant preview host - replaces the static card 0 image.
   Sized to fill the deck-card and rounded to match. The IIFE bundle
   inserts a <canvas> child that fills 100% width/height. Layered
   background = Coors Light sky gradient with the snowy mountain photo
   pinned to the bottom, mirroring the production demo's body bg. */
.coors-preview-host {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  background:
    url('assets/images/coors-preview/mountain-photo.webp') center bottom / auto 250%
      no-repeat,
    linear-gradient(180deg, #6eb0d6 0%, #b8d4e8 50%, #c8d8e4 100%);
  position: relative;
}

.coors-preview-host canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Beer tap sprite - sits centered-foreground in front of the spiral
   chain, anchored to the bottom edge. Pulls down + releases in sync
   with the autonomous tap loop. transform-origin pinned to bottom
   center so the rotateX rotation pivots around the spout, matching
   how the production tap moves. */
.coors-preview-tap {
  position: absolute;
  left: 50%;
  bottom: 0%;
  z-index: 3;
  height: 36%;
  width: auto;
  transform: translateX(-50%) rotateX(0deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
  /* Single smooth ease-out from rest -> held-final, fired once on boot.
     No per-tick animation; once the tap reaches the held position it
     stays there for the rest of the preview's lifetime. */
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
}

.coors-preview-tap.held-final {
  transform: translateX(-50%) rotateX(-30deg);
}

@media (prefers-reduced-motion: reduce) {
  /* Snap straight to the held position with no animation - reads as a
     still, settled tap rather than a tap caught mid-rest. */
  .coors-preview-tap,
  .coors-preview-tap.held-final {
    transform: translateX(-50%) rotateX(-30deg);
    transition: none;
  }
}

/* ── Live counter (top-left) ───────────────────────────────────
   Ported from the production demo's .counter block. Sits ABOVE the
   canvas (z:4) but inside .coors-preview-host so the card's
   border-radius + overflow:hidden clip it. font-size uses clamp()
   so it scales gracefully across the 360 / 290 / 230 breakpoints. */
.coors-preview-counter {
  position: absolute;
  /* Top inset matches .coors-preview-live (10px) so both badges sit on the
     same horizontal line. LEFT inset is 0; both the number and the label
     each apply their own margin-left:-6px to pull their leading glyph's
     left side bearing optically flush with the card edge, so both visible
     left edges align (offset by each glyph's natural bearing). */
  top: 10px;
  left: -2px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.coors-preview-counter-num {
  font-family: 'Brandon Grotesque', 'Outfit', sans-serif;
  font-size: clamp(11px, 2.8vw, 16px);
  font-weight: 900;
  color: #d40026;
  line-height: 1;
  /* Pull the number ONLY (not the label) past the card edge by the
     visible left side bearing of Brandon Grotesque's "1" glyph, so the
     digit reads as flush-left while the label below stays at its own
     natural left edge — keeping the two visible left edges aligned. */
  margin-left: -6px;
  /* Brandon Grotesque's woff2 ships only `kern` + `liga` (no `tnum`), so
     `tabular-nums` and `font-feature-settings: "tnum"` are both no-ops
     here - digit glyphs are proportional (357..626 units in hmtx). To
     keep the box width stable across digit transitions (e.g. 9→0 jumps
     ~75% in advance width), reserve a fixed `min-width` sized for the
     widest 9-char "1,234,567" string the counter ever shows (range is
     1,000,000..1,500,000+, so always 9 chars). Keeping the declarations
     below in case a future font swap honors them. */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: inline-block;
  min-width: 9ch;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 140ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: left center;
  will-change: transform;
}

.coors-preview-counter-num.bump {
  /* Pulse intentionally removed - the textContent swap reads smoothly
     on its own, and the per-tick scale bump was distracting at the
     ~15-tick/burst cadence. Class still toggles from JS; rule kept as
     a no-op so future tweaks (color flash, opacity nudge, etc.) have
     an obvious hook. */
  transform: none;
}

.coors-preview-counter-label {
  font-family: 'Brandon Grotesque', 'Outfit', sans-serif;
  font-size: clamp(6px, 1.3vw, 8px);
  /* Brandon Grotesque @font-face ships 400 (regular) + 700 (bold). Drop
     to 400 so the label reads as a quieter caption under the heavy 900
     number above it. */
  font-weight: 400;
  letter-spacing: 1.2px;
  color: #1a2a3a;
  margin-top: 3px;
  /* Visually align "T" with the count's "1". The count digit "1" is
     narrow and sits centered in its tabular-nums slot, so its visible
     left edge lands a few px right of where the slot starts. The label
     uses proportional figures and its "T" has a small natural bearing.
     Push the label right so the two left edges line up. */
  margin-left: 10px;
}

/* ── LIVE pill (top-right) ─────────────────────────────────────
   Mirrors the production .live-badge: outlined red pill, uppercase
   label, pulsing red dot. Dot uses opacity keyframes so the pulse is
   compositor-cheap. Static word; only the dot animates. */
.coors-preview-live {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid #d40026;
  border-radius: 4px;
  padding: 4px 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #d40026;
  pointer-events: none;
}

.coors-preview-live-dot {
  width: 5px;
  height: 5px;
  background: #d40026;
  border-radius: 50%;
  animation: coorsPreviewLivePulse 1.5s ease-in-out infinite;
  will-change: opacity;
}

@keyframes coorsPreviewLivePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .coors-preview-live-dot { animation: none; }
  .coors-preview-counter-num,
  .coors-preview-counter-num.bump {
    transition: none;
    transform: none;
  }
}

/* ── Coors Light logo (top-center) ────────────────────────────────
   Ported from the production demo's .logo-area block. Absolutely
   centered above the canvas (z:4) and clipped by the card's
   border-radius + overflow:hidden. height uses clamp() so the
   mountain mark + "COOORS LIGHT" wordmark scale gracefully across
   the 360 / 290 / 230 card breakpoints. width auto preserves the
   588:370 native aspect. Production also shows a "VISIT
   COORSLIGHTSOCCER.COM" line below the logo; intentionally
   omitted here since the preview is non-interactive. */
.coors-preview-logo {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 4;
  height: clamp(34px, 9.5vw, 54px);
  width: auto;
  transform: translateX(-50%);
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Deck meta ────────────────────────────────────────────────── */
.deck-meta {
  padding-top: 0;
  text-align: center;
}

.deck-meta-inner { transition: opacity 0.22s ease; }
.deck-meta-inner.fading { opacity: 0; }

.deck-meta-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--theme-text-secondary);
}

.deck-meta-title {
  margin: 0 0 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: 3px;
  line-height: 1;
  color: var(--theme-text-primary);
}

.deck-meta-stat {
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--theme-text-secondary);
}

/* Stat above cards */
.deck-stat {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-text-secondary);
  margin-bottom: 18px;
  transition: opacity 0.22s ease;
}

.deck-stat.fading { opacity: 0; }
/* Concept cards (no real campaign data yet) show a light italic "Creative Concept"
   label — weight 400 so it reads soft, not the heavy bold-italic of the stat. */
.deck-stat.is-concept { font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0.04em; }

/* Tablet: 290×211 */
@media (max-width: 700px) {
  .deck-stage { height: 260px; }
  .deck-card  { width: 290px; height: 211px; border-radius: 14px; }
}

/* Mobile: 230×167 */
@media (max-width: 480px) {
  .deck-stage { height: 215px; }
  .deck-card  { width: 230px; height: 167px; border-radius: 12px; }
}

/* ── Pushable CTA button ──────────────────────────────────────── */
.pushable {
  position: relative;
  background: transparent;
  padding: 0px;
  border: none;
  cursor: pointer;
  outline-offset: 4px;
  outline-color: var(--color-aura-mint);
  transition: filter 250ms;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  touch-action: manipulation;
  font-family: inherit;
}

.pushable .shadow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: hsl(175, 40%, 12%);
  border-radius: 10px;
  filter: blur(2px);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.pushable .edge {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(
    to right,
    hsl(175, 40%, 16%) 0%,
    hsl(175, 40%, 22%) 8%,
    hsl(175, 40%, 16%) 92%,
    hsl(175, 40%, 9%)  100%
  );
}

.pushable .front {
  display: block;
  position: relative;
  border-radius: 10px;
  background: hsl(175, 50%, 40%);
  padding: 14px 32px;
  color: var(--color-ceramic-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.pushable:hover .shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

/* ── Theme toggle ─────────────────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--theme-btn-secondary-border);
  background: transparent;
  color: var(--theme-text-primary);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--theme-badge-bg);
}

/* ── Badge coin + counter easter egg ─────────────────────────── */
.reddit-badge-corner .mb-coin {
  position: absolute;
  background-color: #facc15;
  border: 2px solid #864C00;
  border-radius: 0.5625rem;
  pointer-events: none;
  z-index: -1;
  bottom: 0.375rem;
  top: auto;
  height: 2.75rem;
  left: 0;
  right: 0;
  width: 0.375rem;
  margin-inline: auto;
  box-shadow:
    5px 0 0 0 #864C00,
    inset 0 2px 0 0 #fde047,
    inset 0 -2px 0 0 #eab308;
}

.reddit-badge-corner .mb-coin-fly {
  animation: mb-coin-launch 0.72s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes mb-coin-launch {
  0%   { transform: translateY(0)     scaleX(1);   opacity: 1; }
  10%  { transform: translateY(-80%)  scaleX(0.1); opacity: 1; }
  22%  { transform: translateY(-185%) scaleX(1);   opacity: 1; }
  35%  { transform: translateY(-275%) scaleX(0.1); opacity: 1; }
  48%  { transform: translateY(-340%) scaleX(1);   opacity: 1; }
  60%  { transform: translateY(-390%) scaleX(0.1); opacity: 1; }
  70%  { transform: translateY(-415%) scaleX(1);   opacity: 0.8; }
  83%  { transform: translateY(-425%) scaleX(0.1); opacity: 0.3; }
  100% { transform: translateY(-430%) scaleX(1);   opacity: 0; }
}

.reddit-badge-corner .mb-counter {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: #facc15;
  text-shadow: 1px 1px 0 #864C00, -1px -1px 0 #864C00,
               1px -1px 0 #864C00, -1px 1px 0 #864C00;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  letter-spacing: 0.02em;
  z-index: 10;
}

.reddit-badge-corner .mb-counter.pop {
  animation: mb-counter-pop 0.75s ease-out forwards;
}

@keyframes mb-counter-pop {
  0%   { opacity: 0; transform: translateX(-50%) translateY(14px); }
  18%  { opacity: 1; transform: translateX(-50%) translateY(4px); }
  58%  { opacity: 1; transform: translateX(-50%) translateY(-2px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-14px); }
}

/* ── Duck Hunt dog easter egg ─────────────────────────────────── */
#dhDog {
  position: fixed;
  bottom: 0;
  left: 80px;
  z-index: 300;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(110%);
  transition: transform 0.3s ease-out;
  user-select: none;
}

#dhDog.dh-visible {
  transform: translateY(0);
}

.dh-bubble {
  background: #ffffff;
  border: 3px solid #1a1a1a;
  border-radius: 8px;
  padding: 4px 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  white-space: nowrap;
  box-shadow: 3px 3px 0 #1a1a1a;
  margin-bottom: 8px;
  opacity: 0;
  transform: scale(0.8) translateY(6px);
  position: relative;
}

.dh-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1a1a1a;
}

.dh-bubble::before {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #ffffff;
  z-index: 1;
}

.dh-sprite {
  display: block;
  width: 74px;
  height: 110px;
  background-image: url('assets/images/easter-eggs/duck-hunt-dog.png');
  background-size: 222px 110px;
  background-position: 0 0;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(1px 3px 0 rgba(0,0,0,0.25));
}

#dhDog.dh-laughing .dh-sprite {
  animation: dhLaughFrames 0.4s steps(3) infinite;
}

#dhDog.dh-laughing .dh-bubble {
  animation: dhBubblePop 0.25s ease-out forwards;
}

@keyframes dhLaughFrames {
  from { background-position: 0 0; }
  to   { background-position: -222px 0; }
}

@keyframes dhBubblePop {
  from { opacity: 0; transform: scale(0.7) translateY(6px); }
  60%  { opacity: 1; transform: scale(1.12) translateY(0);  }
  to   { opacity: 1; transform: scale(1)    translateY(0);  }
}

/* ── Donald Duck easter egg ───────────────────────────────────── */
#dhDonald {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  transform: translateX(calc(100vw + 200px));
}

.dh-donald-sprite {
  display: block;
  width: 150px;
  height: 117px;
  background-image: url('assets/images/easter-eggs/donald-duck-run.png');
  background-size: 1200px 117px;
  background-position: 0 0;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  transform: scaleX(-1);
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,0.3));
}

#dhDonald.dh-donald-run {
  animation: dhDonaldMove 3.5s linear forwards;
}

#dhDonald.dh-donald-run .dh-donald-sprite {
  animation: dhDonaldRun 0.6s steps(8) infinite;
}

@keyframes dhDonaldMove {
  from { transform: translateX(calc(100vw + 200px)); }
  to   { transform: translateX(-250px); }
}

@keyframes dhDonaldRun {
  from { background-position: 0 0; }
  to   { background-position: -1200px 0; }
}

/* ── Duck Hunt bird easter egg ────────────────────────────────── */
#dhBird {
  position: fixed;
  top: 22%;
  left: 0;
  z-index: 300;
  pointer-events: none;
  transform: translateX(-200px);
}

.dh-bird-sprite {
  display: block;
  width: 79px;
  height: 92px;
  background-image: url('assets/images/easter-eggs/duck-hunt-bird.png');
  background-size: 237px 92px;
  background-position: 0 0;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(1px 2px 0 rgba(0,0,0,0.3));
}

#dhBird.dh-bird-fly {
  animation: dhBirdMove 4s linear forwards;
}

#dhBird.dh-bird-fly .dh-bird-sprite {
  animation: dhBirdFlap 0.3s steps(3) infinite;
}

@keyframes dhBirdMove {
  from { transform: translateX(-150px); }
  to   { transform: translateX(calc(100vw + 150px)); }
}

@keyframes dhBirdFlap {
  from { background-position: 0 0; }
  to   { background-position: -237px 0; }
}

/* ── Indiana Jones easter egg ─────────────────────────────────── */
#dhIndy {
  position: fixed;
  bottom: calc(32% + 32px);
  left: 0;
  z-index: 300;
  pointer-events: none;
  transform: translateX(-200px);
}

.indy-sprite {
  display: block;
  background-repeat: no-repeat;
  background-position: 0 0;
  image-rendering: pixelated;
  filter: drop-shadow(1px 3px 0 rgba(0,0,0,0.35));
}

/* Walk loop: 4 frames × 40px cells → 160×63px native, shown at 2.2× */
#dhIndy.indy-walk .indy-sprite {
  width: 88px; height: 139px;
  background-image: url('assets/images/easter-eggs/indy-walkloop-strip.png');
  background-size: 352px 139px;
}

/* Whip strip: walk-strip frames 4–10, 10 frames × 80px cells → 800×79px native, shown at 2× */
#dhIndy.indy-whip .indy-sprite {
  width: 160px; height: 158px;
  background-image: url('assets/images/easter-eggs/indy-walk-strip.png');
  background-size: 1600px 158px;
}

/* Swing strip: 7 frames × 90px cells → 630×128px native, shown at 2× */
#dhIndy.indy-swing .indy-sprite {
  width: 180px; height: 256px;
  background-image: url('assets/images/easter-eggs/indy-swing-strip.png');
  background-size: 1260px 256px;
}

/* Land strip: 7 frames × 90px cells → 630×87px native, shown at 2× */
#dhIndy.indy-land .indy-sprite {
  width: 180px; height: 174px;
  background-image: url('assets/images/easter-eggs/indy-land-strip.png');
  background-size: 1260px 174px;
}

/* Walk loop: 4 frames (0 → −352px, 4 × 88px) */
@keyframes indyWalkLoopFrames {
  from { background-position:    0 0; }
  to   { background-position: -352px 0; }
}
/* Whip frames 4–10 of walk strip (−480px → −1600px at 2×, 7 × 160px) */
@keyframes indyWhipStart {
  from { background-position: -480px 0; }
  to   { background-position: -1600px 0; }
}
/* All 7 swing frames (0 → −1260px, 7 × 180px) */
@keyframes indySwingFrames {
  from { background-position:    0 0; }
  to   { background-position: -1260px 0; }
}
/* All 7 land frames */
@keyframes indyLandFrames {
  from { background-position:    0 0; }
  to   { background-position: -1260px 0; }
}
/* Container arc path */
@keyframes indySwingArc {
  0%   { transform: translate(12vw,    0px); }
  40%  { transform: translate(45vw, -100px); }
  70%  { transform: translate(65vw,  -80px); }
  100% { transform: translate(80vw,    0px); }
}

/* ── Trusted bar ──────────────────────────────────────────────── */
.trusted-bar {
  padding: 48px 0 56px;
  text-align: center;
}

.trusted-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-text-secondary);
  margin-bottom: 28px;
  opacity: 0.65;
}

.trusted-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.trusted-track {
  display: flex;
  align-items: center;
  justify-content: center;   /* desktop: the few logos sit centered, marquee paused */
  gap: 80px;
  width: 100%;
}
/* Logos not yet re-activated — hidden for now (re-enable by removing the class). */
.trusted-logo--soon { display: none; }
/* Desktop shows one static set; the duplicate (loop) set is mobile-only. */
.trusted-track .trusted-logo[aria-hidden="true"] { display: none; }

.trusted-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.45;
  flex-shrink: 0;
}

html[data-theme="dark"] .trusted-logo {
  filter: brightness(0) invert(1);
  opacity: 0.4;
}

.trusted-logo--wide {
  height: auto;
  max-height: 14px;
}

@keyframes trusted-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile: run the marquee (with the duplicate set) until more logos are re-activated. */
@media (max-width: 768px) {
  .trusted-track {
    justify-content: flex-start;
    width: max-content;
    animation: trusted-scroll 32s linear infinite;
  }
  /* re-show only the active duplicates — keep the --soon logos hidden */
  .trusted-track .trusted-logo[aria-hidden="true"]:not(.trusted-logo--soon) { display: block; }
}

/* Reduced motion: keep it static & centered everywhere. */
@media (prefers-reduced-motion: reduce) {
  .trusted-track { animation: none; justify-content: center; width: 100%; }
  .trusted-track .trusted-logo[aria-hidden="true"] { display: none; }
}

/* ── Manifesto ────────────────────────────────────────────────── */
.manifesto {
  background-color: var(--color-midnight-emerald);
  padding: 160px 40px;
}

.manifesto-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.manifesto-row {
  will-change: transform;
}

.manifesto-animate {
  opacity: 0;
  transform: translateY(64px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.manifesto-animate.in-view {
  transform: translateY(0);
}

.manifesto-headline {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  margin: 0 0 0.3em;
  color: var(--color-aura-mint);
  max-width: 18ch;
}

.manifesto-headline.in-view {
  opacity: 1;
}

.manifesto-body {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: var(--leading-body);
  max-width: 56ch;
  margin: 0 0 1.8em;
  color: var(--color-platinum-ghost);
}

.manifesto-body.in-view {
  opacity: 0.85;
}

.manifesto-tagline {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-section);
  line-height: var(--leading-section);
  letter-spacing: var(--tracking-display);
  margin: 0;
  color: var(--color-ceramic-white);
}

.manifesto-tagline.in-view {
  opacity: 1;
}

@media (max-width: 600px) {
  .manifesto { padding: 60px 24px; }
}

/* Manifesto visual-slot row breathing room */
.manifesto-row > .visual-slot {
  margin: 1.0em 0 1.4em;
  max-width: 100%;
}
@media (max-width: 600px) {
  .manifesto-row > .visual-slot { margin: 0.6em 0 0.8em; }
}

/* ── Manifesto Campaign Cards ─────────────────────────────────── */
.manifesto-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.6em 0 2.4em;
}

.manifesto-card {
  background: var(--color-fossil);
  padding: 28px 32px 24px;
  border-radius: var(--radius-cards);
}

.manifesto-card.in-view {
  opacity: 1;
}

.mc-brand {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-deep-teal);
  margin: 0 0 0.6em;
}

.mc-title {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  letter-spacing: var(--tracking-display);
  color: var(--color-midnight-ink);
  margin: 0 0 0.6em;
}

.mc-desc {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 400;
  line-height: var(--leading-body);
  color: var(--color-dusty-ash);
  margin: 0 0 1.4em;
}

.mc-metrics {
  display: flex;
  gap: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--color-pewter);
}

.mc-metric-value {
  display: block;
  font-family: var(--font-bebas-neue);
  font-size: var(--text-subheading);
  line-height: 1;
  color: var(--color-midnight-ink);
}

.mc-unit {
  font-size: 0.65em;
  vertical-align: baseline;
}

.mc-metric-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-dusty-ash);
  margin-top: 0.3em;
}

@media (max-width: 768px) {
  .manifesto-cards { grid-template-columns: 1fr; }
}

/* ── Data Band ────────────────────────────────────────────────── */
.data-band {
  background: var(--color-fossil);
  padding: 80px 40px;
}

.data-band-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.data-stat {
  padding: 0 48px;
  border-left: 1px solid var(--color-pewter);
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.data-stat:first-child {
  border-left: none;
}

.data-stat.in-view {
  opacity: 1;
  transform: translateY(0);
}

.data-stat-value {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-stat);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--color-midnight-ink);
  margin: 0 0 0.2em;
  white-space: nowrap;
}

/* Prefix (e.g. "~") and suffix (e.g. "Min", "%") share the same small,
   baseline-anchored treatment so the giant number stays the hero and the
   ornaments hug it consistently across all three stats. */
.data-stat-prefix,
.data-stat-suffix {
  font-size: 0.5em;
  letter-spacing: 0.02em;
  color: var(--color-midnight-ink);
  vertical-align: baseline;
}

.data-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-dusty-ash);
  margin: 0;
}

.data-stat-source {
  display: block;
  font-size: 0.85em;
  opacity: 0.6;
  letter-spacing: 0.06em;
  margin-top: 0.2em;
}

@media (max-width: 600px) {
  .data-band { padding: 60px 24px; }
  .data-band-inner { grid-template-columns: 1fr; gap: 0; }
  .data-stat {
    padding: 32px 0;
    border-left: none;
    border-top: 1px solid var(--color-pewter);
  }
  .data-stat:first-child { padding-top: 0; border-top: none; }
}

/* ── Reddit Origin ────────────────────────────────────────────── */
.reddit-origin {
  background-color: var(--color-midnight-emerald);
  padding: 120px 40px;
  overflow: hidden;
}

.reddit-origin-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.ro-headline {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-ceramic-white);
  margin: 0 0 0.4em;
}

.ro-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--color-ghost-jade);
}

.ro-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-aura-mint);
  margin-bottom: 1.2em;
}

.ro-body {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: var(--leading-body);
  color: var(--color-platinum-ghost);
  margin: 0 0 1em;
  max-width: 50ch;
}

.ro-footer-row {
  margin-top: 2em;
  padding-top: 1.4em;
  border-top: 1px solid var(--color-ghost-jade);
}

.ro-platform-tag {
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-aura-mint);
  opacity: 0.7;
}

/* Right column: visual slot + stat caption stacked */
.ro-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.ro-stat-caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  justify-content: center;
  text-align: center;
}

.ro-arrow {
  display: none; /* removed — arrow was decorative for the old 272px stat */
}

.ro-big-number {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-stat);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--color-aura-mint);
  margin: 0;
}

.ro-big-unit {
  font-size: 0.6em;
  vertical-align: baseline;
  display: inline-block;
}

.ro-stat-label {
  font-family: var(--font-body);
  font-size: var(--text-meta);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-platinum-ghost);
  margin: 0;
  opacity: 0.7;
}

.ro-animate {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ro-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .reddit-origin { padding: 80px 24px; }
  .ro-body-grid { grid-template-columns: 1fr; gap: 48px; }
  .ro-right { justify-content: flex-start; }
}

/* ── Feature Block ───────────────────────────────────────────────────
   Dark section with: headline, subtitle, a wide dark backdrop card
   containing an image, then a 3-column grid of 6 feature items below. */
.feature-block {
  position: relative;
  isolation: isolate;
  background: var(--color-midnight-ink);
  padding: 140px 0;
  overflow: hidden; /* clip the section canvas to section edges */
}

/* Section-wide canvas — painted by initFeatureBlockCanvas() in main.js.
   Renders the dot field + irregular orbiting blobs ('lighter' composite).
   Orbs orbit the card center at a radius that straddles the card edges,
   so they're visible breaking OUT of the card silhouette into the
   surrounding section. Sits below all content (z 0). */
.fb-section-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  /* Soft fade at the bottom so the orb/dot cluster doesn't end in a
     visible horizontal cutoff against the empty section below. Mask
     stays fully opaque through the orb cores (~45% down) and only
     starts fading after, so the mint/terra hot cores aren't dimmed. */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 78%);
          mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 78%);
}

/* Text blocks (headline, subtitle, features grid) stay capped at the
   standard page max-width. Positioned above the canvas. */
.fb-text {
  position: relative;
  z-index: 2;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.fb-headline {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-ceramic-white);
  margin: 0 0 0.4em;
  max-width: 24ch;
}

.fb-vision {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-section);
  line-height: var(--leading-section);
  letter-spacing: var(--tracking-display);
  color: var(--color-aura-mint);
  margin: 0 0 0.5em;
}

.fv-tag {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.72em;
  border: 1.5px solid var(--color-aura-mint);
  border-radius: 4px;
  padding: 2px 10px 0;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.fb-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: var(--leading-body);
  color: var(--color-platinum-ghost);
  margin: 0 0 96px;
  max-width: 65ch;
}

/* Card wrap — keeps the card centered in the standard container, above
   the section canvas. */
.fb-card-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 36px 40px;
  box-sizing: border-box;
}

/* Card — rounded frame with fixed aspect ratio (1.732851).
   Body is TRANSPARENT in placeholder mode so the section canvas behind
   shows through (orbs/dots visible inside the card area). When an <img>
   is added inside .fb-card-image it becomes the opaque card content,
   covering the canvas; orbs then only appear AROUND the card. A
   gradient stroke ::before sits above for a top-bright rim highlight. */
.fb-card {
  position: relative;
  z-index: 1;
  max-width: 75%;       /* scaled down 25% from the wrap container */
  margin: 0 auto;
  border-radius: 16px;
  aspect-ratio: 1.732 / 1;
  background: transparent;
  overflow: hidden;
}

/* Gradient stroke border — 11px wide ring at the card edge. The image
   inside is inset by 12px so the canvas (with its orbs) is visible
   THROUGH the ring zone. plus-lighter blend mode makes the border add
   to whatever's behind it — when an orb passes by, the border lights
   up hot. The static gradient (bright top, dim bottom) gives the card
   definition even when no orb is near. */
.fb-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 11px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.28) 35%,
    rgba(255, 255, 255, 0.16) 70%,
    rgba(255, 255, 255, 0.12) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  mix-blend-mode: plus-lighter;
  pointer-events: none;
  z-index: 2;
}

/* Image inset by 12px so the canvas/orbs are visible in the border
   ring zone. Inner radius (4px) = card radius (16px) − inset (12px). */
.fb-card-image {
  position: absolute;
  inset: 12px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.fb-card-image > span {
  font-family: var(--font-body);
  font-size: var(--text-meta);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.fb-card-image > img,
.fb-card-image > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fb-card-image:has(> img) > span,
.fb-card-image:has(> video) > span {
  display: none;
}

/* 3-column grid of features below the card */
.fb-features {
  list-style: none;
  padding: 0;
  margin: 96px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  row-gap: 56px;
}

.fb-feature {
  position: relative;
}

/* Icon — mint stroke SVG sitting on the per-feature soft glow. */
.fb-feature-icon {
  position: relative;
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  isolation: isolate;
  color: var(--color-aura-mint);
}

.fb-feature-icon > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 4px rgba(151, 252, 215, 0.35));
}

/* Soft mint glow under each icon. */
.fb-feature-icon::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-aura-mint) 60%, rgba(151, 252, 215, 0) 100%);
  opacity: 0.6;
  mix-blend-mode: plus-lighter;
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.fb-feature-title {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-card-title, 28px);
  line-height: 1.1;
  letter-spacing: var(--tracking-display);
  color: var(--color-ceramic-white);
  margin: 0 0 12px;
}

.fb-feature-desc {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--color-platinum-ghost);
  margin: 0;
  max-width: 38ch;
}

@media (max-width: 1024px) {
  .fb-features { grid-template-columns: repeat(2, 1fr); column-gap: 48px; row-gap: 48px; }
  .fb-card-wrap { padding: 30px 32px; }
}
@media (max-width: 640px) {
  .feature-block { padding: 96px 0; }
  .fb-text { padding: 0 24px; }
  .fb-subtitle { margin-bottom: 64px; }
  .fb-card { aspect-ratio: 4 / 3; }
  .fb-card-wrap { padding: 48px 24px; }
  .fb-features { grid-template-columns: 1fr; margin-top: 64px; row-gap: 40px; }
}

/* Select-campaigns tier — sits below the core features grid */
.fb-select-tier {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--color-slate-border);
}

.fb-select-label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-deep-teal);
  margin: 0 0 28px;
}

.fb-select-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
}

.fb-select-item .fb-feature-title {
  font-size: var(--text-subheading);
}

.fb-select-item .fb-feature-desc {
  opacity: 0.65;
}

@media (max-width: 640px) {
  .fb-select-items { grid-template-columns: 1fr; row-gap: 40px; }
}

/* Live on Reddit callout — shoots from card surface up-right */
.fb-live-callout {
  position: absolute;
  right: 40px;
  top: -120px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  z-index: 10;
}

.flc-box {
  text-align: right;
  opacity: 0;
  transform: translateY(6px);
}

.flc-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-deep-teal);
  margin: 0 0 4px;
}

.flc-stat {
  font-family: var(--font-bebas-neue);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.9;
  letter-spacing: var(--tracking-display);
  color: var(--color-aura-mint);
  margin: 0;
}

.flc-unit {
  font-size: 0.5em;
  vertical-align: super;
  opacity: 0.7;
}

.flc-label {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  color: var(--color-platinum-ghost);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 6px 0 0;
}

.flc-line {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  margin-top: 2px;
}

/* SVG elements — hidden until triggered */
.flc-path {
  stroke: var(--color-aura-mint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
}

.flc-origin,
.flc-origin-ring,
.flc-terminus {
  fill: var(--color-aura-mint);
  opacity: 0;
}

.flc-origin-ring {
  fill: none;
  stroke: var(--color-aura-mint);
  stroke-width: 1;
}

/* Animate when AXE overlay activates (via :has cascade — no JS needed) */
.fb-card-wrap:has(.axe-overlay.is-active) .flc-path {
  animation: flcLineDraw 0.55s 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fb-card-wrap:has(.axe-overlay.is-active) .flc-origin {
  animation: flcFadeIn 0.25s 0.4s ease-out forwards;
}

.fb-card-wrap:has(.axe-overlay.is-active) .flc-origin-ring {
  animation: flcRingPulse 1.4s 0.4s ease-out forwards;
}

.fb-card-wrap:has(.axe-overlay.is-active) .flc-terminus {
  animation: flcFadeIn 0.2s 0.88s ease-out forwards;
}

.fb-card-wrap:has(.axe-overlay.is-active) .flc-box {
  animation: flcBoxReveal 0.45s 0.82s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes flcLineDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes flcFadeIn {
  to { opacity: 1; }
}

@keyframes flcRingPulse {
  0%   { opacity: 0;   r: 9; }
  20%  { opacity: 0.5; r: 9; }
  100% { opacity: 0;   r: 20; }
}

@keyframes flcBoxReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reposition callout at narrower viewports — shift left so it stays inside the wrap */
@media (max-width: 1100px) {
  .fb-live-callout {
    right: 16px;
    top: -50px;
    width: 180px;
    transform: scale(0.88);
    transform-origin: top right;
  }
}
@media (max-width: 480px) {
  .fb-live-callout {
    right: 12px;
    top: -42px;
    width: 160px;
    transform: scale(0.78);
    transform-origin: top right;
  }
}

/* ── Process ──────────────────────────────────────────────────── */
.process {
  background: var(--color-fossil);
  padding: 120px 40px;
}

.process-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.process-header {
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.process-header.in-view {
  opacity: 1;
  transform: translateY(0);
}

.process-title {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-midnight-ink);
  margin: 0;
}

.process-subtitle {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  color: var(--color-deep-teal);
  margin: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.process-step {
  position: relative;
  padding-top: 36px;
  border-top: 1px solid var(--color-pewter);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.process-step.in-view {
  opacity: 1;
  transform: translateY(0);
}

.ps-ghost-num {
  display: block;
  font-family: var(--font-bebas-neue);
  font-size: var(--text-ghost);
  line-height: 0.85;
  color: var(--color-midnight-ink);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  margin-bottom: -0.15em;
  letter-spacing: -0.02em;
}

.ps-content { position: relative; }

.ps-step-label {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  letter-spacing: var(--tracking-display);
  color: var(--color-midnight-ink);
  margin: 0 0 0.6em;
}

.ps-body {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--color-dusty-ash);
  margin: 0;
}

@media (max-width: 768px) {
  .process { padding: 80px 24px; }
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-step {
    padding: 28px 0 40px;
    border-top: none;
    border-bottom: 1px solid var(--color-pewter);
    overflow: visible;
  }
  .process-step:last-child { border-bottom: none; }
}

/* ── Closing CTA ──────────────────────────────────────────────── */
.closing-cta {
  position: relative;
  background-color: var(--color-midnight-ink);
  padding: 140px 40px;
}


.closing-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.cc-headline {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  margin: 0 auto 0.6em;
  max-width: 20ch;
  text-wrap: balance;
}

.cc-hl-main { color: var(--color-ceramic-white); }
.cc-hl-accent { color: var(--color-aura-mint); }

.cc-sub {
  font-family: var(--font-bebas-neue);
  font-size: var(--text-section);
  line-height: var(--leading-section);
  letter-spacing: var(--tracking-display);
  color: var(--color-aura-mint);
  margin: 0 0 48px;
}

.cc-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
  max-width: 880px;
}

.cc-body {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: var(--leading-body);
  color: var(--color-platinum-ghost);
  margin: 0;
}

.cc-cta-wrap { display: flex; justify-content: center; }

.cc-animate {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cc-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .closing-cta { padding: 100px 24px; }
  .cc-body-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ════════════════════════════════════════════════════════════════
   AXE Backend Architecture Overlay
   ────────────────────────────────────────────────────────────────
   Drops into .fb-card-image. Replaces the static AXE marketing image
   with an HTML/SVG composition: brand baseline card + code/flow
   overlay layers. All animations gate on .axe-overlay.is-active —
   the .feature-block IntersectionObserver toggles that class.
   ════════════════════════════════════════════════════════════════ */

/* When used inside the feature-block card, the overlay's natural 1.373:1 ratio is preserved. */
.fb-card--axe {
  aspect-ratio: 1.373 / 1;
  border-radius: 26px;
}
.fb-card--axe::before { padding: 7px; }
.fb-card--axe .fb-card-image { inset: 8px; border-radius: 18px; }

/* Mobile: the card shrinks, so halve the corner radius (26→13 / 18→9). */
@media (max-width: 768px) {
  .fb-card--axe { border-radius: 13px; }
  .fb-card--axe .fb-card-image { border-radius: 9px; }
}

.axe-overlay {
  --c-cyan: #3DF3FF;
  --c-pink: #E8003C;
  --c-amber: #FFB400;
  --c-green: #4ADE80;
  --c-purple: #C084FC;
  --glow-cyan: 0 0 12px rgba(61, 243, 255, 0.55), 0 0 32px rgba(61, 243, 255, 0.25);
  --code-bg: rgba(8, 10, 14, 0.82);
  --code-border: rgba(61, 243, 255, 0.18);
  --node-bg: rgba(12, 14, 20, 0.85);
  --node-border: rgba(61, 243, 255, 0.30);
  --line: rgba(61, 243, 255, 0.38);

  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  container-name: axe;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  border-radius: inherit;
}

/* ─── Base brand card (HTML, scales crisply) ───────────────────── */
.axe-overlay .brand-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #000;
  transform-origin: center;
}
.axe-overlay.is-active .brand-card {
  animation: axBreath 6s ease-in-out infinite, axBaseDim 1100ms 500ms ease-out forwards;
}
@keyframes axBreath {
  0%, 100% { transform: scale(1.0); }
  50%      { transform: scale(1.008); }
}
@keyframes axBaseDim {
  to { opacity: 0.5; filter: saturate(0.9); }
}

.axe-overlay .bc-nav {
  height: 6.5%;
  background: #000;
  display: flex;
  align-items: center;
  padding: 0 2.6cqw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 1.5cqw;
}
.axe-overlay .bc-logo {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.1cqw;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.axe-overlay .bc-hud {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
}
.axe-overlay .bc-hud-live {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.9cqw;
  font-weight: 700;
  color: var(--c-cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(61, 243, 255, 0.32);
  border-radius: 20px;
  padding: 0.35cqw 0.95cqw;
  white-space: nowrap;
}
.axe-overlay .bc-flame { font-size: 0.95em; }
.axe-overlay .bc-hud-score {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.9cqw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.axe-overlay .bc-hero {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #c30033;
}
.axe-overlay .bc-cans {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.axe-overlay .bc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.78) 38%,
    rgba(0, 0, 0, 0.30) 68%,
    rgba(0, 0, 0, 0.05) 100%
  );
}
.axe-overlay .bc-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 3.5cqw;
  max-width: 56%;
}
.axe-overlay .bc-eyebrow {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.05cqw;
  font-weight: 900;
  color: var(--c-cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 1.4cqw;
}
.axe-overlay .bc-headline {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 6.6cqw;
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 2cqw;
}
.axe-overlay .bc-scent {
  font-style: normal;
  color: var(--c-pink);
}
.axe-overlay .bc-stats {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  margin-bottom: 1.8cqw;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1cqw;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}
.axe-overlay .bc-trending {
  color: var(--c-cyan);
  font-weight: 700;
}
.axe-overlay .bc-dot { color: rgba(255, 255, 255, 0.25); }
.axe-overlay .bc-cta {
  align-self: flex-start;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1cqw;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 2.4cqw;
  padding: 0.9cqw 2.2cqw;
  cursor: pointer;
}
.axe-overlay .bc-share {
  margin-top: 1.1cqw;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1cqw;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.04em;
}
.axe-overlay .bc-share span { color: rgba(255, 255, 255, 0.6); }
.axe-overlay .bc-footer {
  height: 4.4%;
  background: #000;
  display: flex;
  align-items: center;
  padding: 0 2.2cqw;
}
.axe-overlay .bc-footer p {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 0.78cqw;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

/* ─── Atmospheric layers ───────────────────────────────────────── */
.axe-overlay .grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0.8px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0;
}
.axe-overlay.is-active .grid { animation: axGridIn 1200ms 600ms ease-out forwards; }
@keyframes axGridIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1.0); }
}

.axe-overlay .vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0;
}
.axe-overlay.is-active .vignette { animation: axFadeIn 900ms 600ms ease-out forwards; }
@keyframes axFadeIn { to { opacity: 1; } }

.axe-overlay .scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(61, 243, 255, 0.65) 30%, rgba(61, 243, 255, 0.75) 50%, rgba(61, 243, 255, 0.65) 70%, transparent 95%);
  filter: blur(0.5px) drop-shadow(0 0 5px rgba(61, 243, 255, 0.7)) drop-shadow(0 0 12px rgba(61, 243, 255, 0.4));
  box-shadow: 0 0 8px 2px rgba(61, 243, 255, 0.35), 0 0 22px 3px rgba(61, 243, 255, 0.18);
  opacity: 0;
}
.axe-overlay.is-active .scan {
  animation: axScanMove 700ms 0ms ease-out forwards;
}
@keyframes axScanMove {
  0%   { top: 0%;   opacity: 0.0; }
  10%  { opacity: 0.8; }
  85%  { opacity: 0.8; }
  100% { top: 100%; opacity: 0.0; }
}

/* ─── SVG flow layer ──────────────────────────────────────────── */
.axe-overlay .flows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.axe-overlay .flows .node-rect {
  fill: var(--node-bg);
  stroke: var(--node-border);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 4px rgba(61, 243, 255, 0.14));
}
.axe-overlay .flows .node-rect.pink {
  stroke: rgba(232, 0, 60, 0.7);
  filter: drop-shadow(0 0 6px rgba(232, 0, 60, 0.45));
}
.axe-overlay .flows .node-rect.amber {
  stroke: rgba(255, 180, 0, 0.7);
  filter: drop-shadow(0 0 6px rgba(255, 180, 0, 0.45));
}
.axe-overlay .flows .node-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  fill: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.axe-overlay .flows .node-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  fill: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}
.axe-overlay .flows .node-accent {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  fill: var(--c-cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.axe-overlay .flows .connector {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 1.5px rgba(61, 243, 255, 0.28));
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.axe-overlay .flows .arrow {
  fill: var(--c-cyan);
  filter: drop-shadow(0 0 1.5px rgba(61, 243, 255, 0.32));
  opacity: 0;
}
.axe-overlay .flow-group { opacity: 0; }

.axe-overlay.is-active .flow-group { animation: axGroupIn 700ms ease-out forwards; }
.axe-overlay.is-active .connector  { animation: axDrawLine 1400ms ease-out forwards; }
.axe-overlay.is-active .arrow      { animation: axFadeIn 400ms forwards; }

@keyframes axGroupIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes axDrawLine { to { stroke-dashoffset: 0; } }

.axe-overlay.is-active .flow-a { animation-delay: 2000ms; }
.axe-overlay.is-active .flow-b { animation-delay: 2300ms; }
.axe-overlay.is-active .flow-c { animation-delay: 2600ms; }
.axe-overlay.is-active .flow-a .connector { animation-delay: 2300ms; }
.axe-overlay.is-active .flow-a .arrow     { animation-delay: 3500ms; }
.axe-overlay.is-active .flow-b .connector { animation-delay: 2600ms; }
.axe-overlay.is-active .flow-b .arrow     { animation-delay: 3800ms; }
.axe-overlay.is-active .flow-c .connector { animation-delay: 2900ms; }
.axe-overlay.is-active .flow-c .arrow     { animation-delay: 4100ms; }

@keyframes axNodePulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(61, 243, 255, 0.14)); }
  50%      { filter: drop-shadow(0 0 6px rgba(61, 243, 255, 0.35)); }
}
.axe-overlay.is-active .flows .pulse  { animation: axNodePulse 2.2s 4200ms ease-in-out infinite; }
.axe-overlay.is-active .flows .pulse2 { animation: axNodePulse 2.6s 4400ms ease-in-out infinite; }
.axe-overlay.is-active .flows .pulse3 { animation: axNodePulse 2.8s 4600ms ease-in-out infinite; }

/* ─── Code window blocks ──────────────────────────────────────── */
.axe-overlay .code-window {
  position: absolute;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.75),
    0 16px 48px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(61, 243, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 0.85cqw, 13px);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}
@keyframes axCodeIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.axe-overlay .cw-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(61, 243, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
}
.axe-overlay .cw-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.axe-overlay .cw-dot.r { background: #ff5f57; box-shadow: 0 0 4px rgba(255, 95, 87, 0.7); }
.axe-overlay .cw-dot.y { background: #ffbd2e; box-shadow: 0 0 4px rgba(255, 189, 46, 0.7); }
.axe-overlay .cw-dot.g { background: #28c840; box-shadow: 0 0 4px rgba(40, 200, 64, 0.7); }
.axe-overlay .cw-title {
  margin-left: 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.axe-overlay .cw-tag {
  margin-left: auto;
  font-size: 8.5px;
  color: var(--c-cyan);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.axe-overlay .cw-tag.live::before {
  content: '●';
  margin-right: 4px;
  animation: axBlink 1.4s ease-in-out infinite;
}
@keyframes axBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
.axe-overlay .cw-body {
  padding: 10px 14px 12px;
  white-space: pre;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.axe-overlay .cw-body .kw  { color: #ff79c6; }
.axe-overlay .cw-body .fn  { color: var(--c-cyan); }
.axe-overlay .cw-body .str { color: var(--c-green); }
.axe-overlay .cw-body .var { color: var(--c-amber); }
.axe-overlay .cw-body .cmt { color: rgba(255, 255, 255, 0.35); font-style: italic; }
.axe-overlay .cw-body .num { color: var(--c-purple); }

.axe-overlay .cw-live { top: 8%;  right: 3%; width: 30%; }
.axe-overlay .cw-pipe { top: 29%; right: 3%; width: 30%; }

@keyframes axGlowPulse {
  0%, 100% {
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.5),
      0 0 14px rgba(61, 243, 255, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.5),
      0 0 20px rgba(61, 243, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}
.axe-overlay.is-active .code-window.cw-live {
  animation: axCodeIn 500ms 1100ms ease-out forwards, axGlowPulse 4.8s 2600ms ease-in-out infinite;
}
.axe-overlay.is-active .code-window.cw-pipe {
  animation: axCodeIn 500ms 1350ms ease-out forwards, axGlowPulse 5.4s 2850ms ease-in-out infinite;
}

/* ─── Floating SCENT callout ─────────────────────────────────── */
.axe-overlay .label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--c-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
}
.axe-overlay .label.callout {
  padding: 8px 12px;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 8px rgba(61, 243, 255, 0.05);
  width: max-content;
  max-width: 95%;
}
.axe-overlay .label .lk   { color: rgba(255, 255, 255, 0.55); }
.axe-overlay .label .lv   { color: var(--c-cyan); }
.axe-overlay .label .pink { color: var(--c-pink); }

.axe-overlay .scent-callout {
  top: 36%;
  left: 22%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.axe-overlay.is-active .scent-callout { animation: axFadeIn 500ms 3000ms ease-out forwards; }

.axe-overlay .scent-leader {
  position: absolute;
  top: 36%;
  left: 17%;
  width: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan));
  filter: drop-shadow(0 0 1.5px rgba(61, 243, 255, 0.28));
  opacity: 0;
  transform-origin: right center;
}
.axe-overlay.is-active .scent-leader { animation: axLeaderIn 400ms 2900ms forwards; }
@keyframes axLeaderIn {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}
.axe-overlay .scent-leader::before {
  content: '';
  position: absolute;
  left: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-pink);
  box-shadow: 0 0 8px var(--c-pink);
}

/* ─── Footer bracket title ───────────────────────────────────── */
.axe-overlay .footer-bracket {
  position: absolute;
  bottom: 1.1%;
  right: 2%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(61, 243, 255, 0.45);
  text-shadow: 0 0 4px rgba(61, 243, 255, 0.12);
  opacity: 0;
}
.axe-overlay.is-active .footer-bracket { animation: axFadeIn 600ms 3600ms forwards; }

/* ─── Responsive sizing — keep readable + non-overlapping on mobile ── */
@container axe (max-width: 700px) {
  /* Code windows: wider and slightly bigger text so the snippets stay legible */
  .axe-overlay .cw-live { width: 42%; top: 8%; }
  .axe-overlay .cw-pipe { width: 42%; top: 38%; }
  .axe-overlay .cw-title { font-size: clamp(6px, 1.4cqw, 9px); }
  .axe-overlay .cw-tag   { font-size: clamp(5.5px, 1.2cqw, 8.5px); }
  .axe-overlay .cw-body  { padding: 6px 8px 8px; }

  /* SCENT callout & footer bracket */
  .axe-overlay .scent-callout { font-size: clamp(6px, 1.5cqw, 10px); left: 20%; top: 38%; }
  .axe-overlay .label.callout { padding: 5px 8px; }
  .axe-overlay .footer-bracket { font-size: clamp(5.5px, 1.4cqw, 10px); letter-spacing: 0.12em; }

  /* SVG text: user-units must be larger because SVG scale shrinks them */
  .axe-overlay .flows .node-text   { font-size: 26px; }
  .axe-overlay .flows .node-sub    { font-size: 22px; }
  .axe-overlay .flows .node-accent { font-size: 22px; }
}

/* Very narrow — composition is too dense, simplify to brand card + one code window */
@container axe (max-width: 460px) {
  /* Hide the dense overlay elements that can't fit cleanly at this size */
  .axe-overlay .cw-pipe,
  .axe-overlay .scent-callout,
  .axe-overlay .scent-leader,
  .axe-overlay .flow-a,
  .axe-overlay .flow-b,
  .axe-overlay .flow-c { display: none; }

  /* Live code window stays — pinned top-right, wider for legibility, capped height */
  .axe-overlay .cw-live {
    width: 54%;
    top: 11%;
    right: 4%;
    max-height: 58%;
    overflow: hidden;
  }

  /* Let code wrap so long lines don't get clipped at the window edge */
  .axe-overlay .cw-body {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 5px 7px 6px;
    line-height: 1.4;
  }

  /* Footer bracket: tighter letterspacing so it fits */
  .axe-overlay .footer-bracket { font-size: clamp(5px, 1.6cqw, 9px); letter-spacing: 0.08em; }
}

/* ── Calendly popup — Awesomic-style chrome with Adexy palette ───── */
/* Iframe internals are served by Calendly and only honor the 3 color URL
   params (background_color, text_color, primary_color). What we style here
   is the outer modal Calendly's widget.js injects into the page. */
.calendly-overlay {
  background: rgba(13, 13, 13, 0.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.calendly-overlay .calendly-popup {
  border-radius: var(--radius-cards) !important;
  overflow: hidden !important;
  background: var(--color-fossil) !important;
  box-shadow:
    0 30px 80px rgba(13, 13, 13, 0.35),
    0 8px 24px rgba(13, 13, 13, 0.18) !important;
  max-width: min(1080px, 92vw) !important;
}

.calendly-overlay .calendly-popup-content {
  border-radius: var(--radius-cards) !important;
  overflow: hidden;
}

.calendly-overlay .calendly-popup-close {
  width: 36px !important;
  height: 36px !important;
  top: 18px !important;
  right: 18px !important;
  background-color: var(--color-fossil) !important;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath stroke='%230d0d0d' stroke-width='2' stroke-linecap='round' d='M1 1l12 12M13 1L1 13'/%3E%3C/svg%3E") !important;
  background-size: 12px 12px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(13, 13, 13, 0.12);
  opacity: 1;
  transition: transform 160ms ease, background-color 160ms ease;
}

.calendly-overlay .calendly-popup-close:hover {
  background-color: var(--color-paper-white) !important;
  transform: scale(1.05);
}
