/* FanChants brand foundation — locked tokens from brand SKILL */
:root {
  --fc-black: #000000;
  --fc-white: #FFFFFF;
  --fc-graphite: #1A1A1A;
  --fc-fog: #F4F2EC;
  --fc-grey-200: #B4B2A9;
  --fc-grey-600: #5F5E5A;
  --fc-electric: #5000FF;
  --fc-orange: #FF5A1F;
  --fc-volt: #E6FF1A;
  --fc-bubblegum: #FF6FB1;
  --fc-success: #1D9E75;
  --fc-warning: #BA7517;
  --fc-danger: #A32D2D;
  --fc-info: #185FA5;
  --fc-font-display: 'IBM Plex Sans Condensed', sans-serif;
  --fc-font-body: 'IBM Plex Sans', sans-serif;
  --fc-font-mono: 'IBM Plex Mono', monospace;
  --fc-ease-sharp: cubic-bezier(0.16, 1, 0.3, 1);
  --fc-t-instant: 80ms;
  --fc-t-fast: 150ms;
  --fc-t-base: 300ms;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--fc-font-body);
  background: var(--fc-black);
  color: var(--fc-white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss02' on, 'ss01' on;
  --fc-surface: var(--fc-black);
  --fc-surface-2: var(--fc-graphite);
  --fc-ink: var(--fc-white);
  --fc-ink-mute: rgba(255,255,255,.65);
  --fc-ink-faint: rgba(255,255,255,.45);
  --fc-rule: rgba(255,255,255,.08);
  --fc-rule-strong: rgba(255,255,255,.14);
  --fc-tile-bg: rgba(255,255,255,.02);
  --fc-stat: var(--fc-accent, var(--fc-volt));
  --fc-pill-bg: rgba(255,255,255,0.06);
  --fc-pill-bg-hover: rgba(255,255,255,.12);
}
body[data-theme="light"] {
  background: var(--fc-white);
  color: var(--fc-black);
  --fc-surface: var(--fc-white);
  --fc-surface-2: var(--fc-fog);
  --fc-ink: var(--fc-black);
  --fc-ink-mute: rgba(0,0,0,.7);
  --fc-ink-faint: rgba(0,0,0,.5);
  --fc-rule: rgba(0,0,0,.08);
  --fc-rule-strong: rgba(0,0,0,.16);
  --fc-tile-bg: rgba(0,0,0,.025);
  --fc-stat: var(--fc-accent, var(--fc-electric)); /* Volt fails on white — switch to Electric */
  --fc-pill-bg: rgba(0,0,0,.05);
  --fc-pill-bg-hover: rgba(0,0,0,.1);
}

/* Type scale */
.fc-display-xl { font-family: var(--fc-font-display); font-weight: 700; font-size: clamp(48px,8vw,128px); line-height: .9; letter-spacing: -0.02em; }
.fc-display-l  { font-family: var(--fc-font-display); font-weight: 700; font-size: clamp(32px,5vw,72px);  line-height: .95; letter-spacing: -0.015em; }
.fc-display-m  { font-family: var(--fc-font-display); font-weight: 700; font-size: clamp(24px,3.5vw,48px); line-height: 1; letter-spacing: -0.01em; }
.fc-body-l { font-size: 20px; line-height: 1.45; font-weight: 500; }
.fc-body   { font-size: 16px; line-height: 1.5; }
.fc-body-s { font-size: 14px; line-height: 1.45; }
.fc-mono    { font-family: var(--fc-font-mono); font-size: 14px; letter-spacing: 0.04em; }
.fc-mono-xs { font-family: var(--fc-font-mono); font-size: 12px; letter-spacing: 0.04em; }

/* Soundwave — rectilinear, height-animated only */
.sw {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.sw__bar {
  width: 3px;
  background: var(--fc-accent, var(--fc-electric));
  border-radius: 0;
  min-height: 4px;
  height: 50%;
  animation: sw-pulse 1200ms var(--fc-ease-sharp) infinite;
  animation-delay: calc(var(--i, 0) * 80ms);
  transform-origin: bottom;
}
.sw--paused .sw__bar { animation-play-state: paused; height: 30%; }
@keyframes sw-pulse {
  0%, 100% { height: 18%; }
  50%      { height: 100%; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fc-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  background: var(--fc-primary, var(--fc-accent));
  color: var(--fc-accent-on, var(--fc-white));
  text-decoration: none;
  transition: transform var(--fc-t-instant) var(--fc-ease-sharp),
              filter var(--fc-t-fast) var(--fc-ease-sharp);
}
.btn:hover { filter: brightness(.88); }
.btn:active { transform: scale(0.98); }
.btn--orange { background: var(--fc-orange); }
.btn--orange:hover { filter: brightness(.92); }
/* Volt primary needs black text for contrast */
.btn[data-on-volt="true"] { background: var(--fc-volt); color: var(--fc-black); }
.btn--ghost { background: transparent; color: var(--fc-ink); border: 1px solid var(--fc-rule-strong); }
.btn--ghost:hover { border-color: var(--fc-ink); background: transparent; }
.btn--volt { background: var(--fc-volt); color: var(--fc-black); }
.btn--volt:hover { background: #d0e600; }
.btn--white { background: var(--fc-white); color: var(--fc-black); }
.btn--white:hover { background: #eee; }

/* Badges */
.bdg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--fc-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--fc-volt);
  color: var(--fc-black);
}
.bdg--live { background: var(--fc-orange); color: var(--fc-white); }
.bdg--hot  { background: var(--fc-accent); color: var(--fc-accent-on); }
.bdg--ghost{ background: transparent; color: var(--fc-volt); border: 1px solid var(--fc-volt); }
.bdg--white-ghost { background: transparent; color: var(--fc-white); border: 1px solid rgba(255,255,255,.3); }

/* Layout */
.wrap { width: min(1320px, 100% - 64px); margin: 0 auto; }

/* Card hover */
.tile-hover { transition: transform var(--fc-t-fast) var(--fc-ease-sharp); }
.tile-hover:hover { transform: translateY(-2px); }

/* Reveal-on-scroll utility */
.fc-reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--fc-ease-sharp), transform 400ms var(--fc-ease-sharp); }
.fc-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .sw__bar { animation: none !important; height: 40%; }
}
