/* ================================================================
   DEALER OF AI — scroll-driven cinematic site (v2.0)
   ================================================================ */

:root {
  --bg:           #0A0A0A;
  --surface:      #141414;
  --text:         #F5F1EA;
  --muted:        #8A8580;
  --accent:       #E8733C;
  --hairline:     #1F1F1F;
  --hairline-2:   #2a2a2a;

  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --ease-in-out:  cubic-bezier(.65, 0, .35, 1);

  --vh: 1vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a, button { color: inherit; text-decoration: none; cursor: none; }
button { background: none; border: 0; font: inherit; cursor: none; }

::selection { background: var(--accent); color: var(--bg); }

/* ================================================================
   FILM GRAIN + VIGNETTE
   ================================================================ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.4 -0.4'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  animation: grainShift 1.2s steps(3) infinite;
}
@keyframes grainShift {
  0%   { transform: translate( 0,    0); }
  33%  { transform: translate(-7px,  4px); }
  66%  { transform: translate( 5px, -6px); }
  100% { transform: translate( 0,    0); }
}
.vignette {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 8500;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* ================================================================
   CUSTOM CURSOR
   ================================================================ */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}
@media (hover: none) {
  body, a, button { cursor: auto; }
  #cursor, #cursor-trail { display: none !important; }
}
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), background .25s ease;
  will-change: transform;
}
#cursor.is-hover {
  width: 28px; height: 28px;
  background: var(--accent);
  mix-blend-mode: normal;
}
#cursor.is-hover.is-text { background: transparent; border: 1px solid var(--accent); }
#cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 234, 0.18);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* ================================================================
   LOADER
   ================================================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 11000;
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
#loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { width: min(360px, 80vw); display: grid; gap: 22px; justify-items: stretch; text-align: left; }
.loader-mark {
  width: 96px;
  height: 96px;
  display: block;
  filter: brightness(1.05);
}
.loader-bar {
  height: 1px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.loader-bar > span {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--accent);
  transition: inset .15s linear;
}
.loader-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 8px;
}
.loader-dot { color: var(--hairline-2); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  opacity: .9;
  transition: opacity .3s ease, transform .4s var(--ease-out);
}
.brand-mark:hover { opacity: 1; transform: rotate(-4deg); }
.brand-glyph {
  width: 60px;
  height: 60px;
  display: block;
}
/* Two-layer swap: gray → color on hover */
.brand-glyph-color {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
}
.brand-mark:hover .brand-glyph-color { opacity: 1; }
.audio-widget {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  background: rgba(10,10,10,.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s, border-color .25s;
}
.audio-toggle:hover { color: var(--text); border-color: var(--text); }
.audio-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.audio-bars { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.audio-bars i {
  display: block; width: 2px; background: currentColor;
  height: 4px;
  border-radius: 1px;
  animation: barIdle 1.4s ease-in-out infinite;
}
.audio-bars i:nth-child(1) { animation-delay: .0s; height: 4px; }
.audio-bars i:nth-child(2) { animation-delay: .2s; height: 8px; }
.audio-bars i:nth-child(3) { animation-delay: .4s; height: 6px; }
.audio-bars i:nth-child(4) { animation-delay: .1s; height: 10px; }
@keyframes barIdle { 50% { opacity: .35; } }
.audio-toggle[aria-pressed="false"] .audio-bars i { animation: none; opacity: .55; }

/* =====================================================
   VINYL MINI-PLAYER CARD (hover-revealed)
   ===================================================== */
.audio-widget { position: relative; }

.vinyl-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  grid-template-columns: 136px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 20px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(22,22,22,0.96) 0%, rgba(10,10,10,0.94) 100%);
  border: 1px solid var(--hairline-2);
  box-shadow:
    0 24px 60px -12px rgba(0,0,0,0.75),
    0 2px 0 0 rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
  pointer-events: none;
  min-width: 400px;
}
/* Hover bridge — keep the card alive when the cursor crosses the gap */
.audio-widget::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  height: 14px;
  width: 100%;
  pointer-events: none;
}
.audio-widget:hover .vinyl-card,
.audio-widget:focus-within .vinyl-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ---- Vinyl record ---- */
.vinyl {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #b76400 0 22%, #a45b04 22.5%, #855010 100%);
  box-shadow:
    0 10px 24px -8px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  transform: rotate(0deg);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.audio-widget.is-scratching .vinyl { cursor: grabbing; }
.audio-widget.is-scratching .vinyl-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* concentric grooves */
.vinyl-grooves {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(0,0,0,0.18) 0 1px,
      transparent 1px 3px
    );
  pointer-events: none;
}
/* specular highlight sweep */
.vinyl-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,255,255,0.05) 35%,
      rgba(255,255,255,0) 65%,
      rgba(255,255,255,0.09) 100%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* center label */
.vinyl-label {
  position: absolute;
  top: 50%; left: 50%;
  width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7a3f 0%, var(--accent) 55%, #c6501d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4) inset;
}
.vinyl-label-text {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  scale: 1.35;
}
.vinyl-label-text text {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: rgba(10,10,10,0.92);
  text-transform: uppercase;
}
.vinyl-hole {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.4);
  z-index: 3;
}

/* Brand logo printed on the sticker */
.vinyl-label-logo {
  position: absolute;
  top: 50%; left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
  scale: 1.05;
}

/* ---- Meta column ---- */
.vinyl-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vinyl-meta-kicker {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.vinyl-meta-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.05;
}
.vinyl-meta-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* ---- Volume knob ---- */
.vinyl-knob {
  position: relative;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.knob-dial {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #2a2a2a 0%, #141414 60%, #0a0a0a 100%);
  box-shadow:
    0 6px 14px -4px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 -2px 6px 0 rgba(255,255,255,0.04) inset;
  cursor: grab;
  transform: rotate(-135deg);
  transition: transform .15s var(--ease-out), box-shadow .25s;
}
.vinyl-knob:focus-visible .knob-dial,
.vinyl-knob:hover .knob-dial {
  box-shadow:
    0 6px 14px -4px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,107,43,0.45) inset,
    0 0 0 4px rgba(255,107,43,0.12);
}
.vinyl-knob.is-dragging .knob-dial { cursor: grabbing; }
/* tick mark pointing out from center */
.knob-tick {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(255,107,43,0.55);
}
.knob-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.vinyl-knob[aria-valuenow="0"] .knob-tick {
  background: var(--muted);
  box-shadow: none;
}

/* ================================================================
   HERO STANDALONE (100vh, sits above scroll-container)
   ================================================================ */
.hero-standalone {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: transparent;
  display: flex;
  align-items: flex-end;
  padding: 0 2vw 12vh;
  /* no overflow:hidden — hero-stage is translated during the swap and
     would otherwise be clipped once it crosses the section boundary */
  z-index: 5;
}
.hero-mask {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, .30) 0%, rgba(10, 10, 10, .55) 45%, rgba(10, 10, 10, .82) 100%),
    radial-gradient(ellipse at 50% 25%, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, .3) 75%);
  will-change: opacity;
}
.hero-stage { position: relative; z-index: 1; }
.hero-stage {
  width: 100%;
  display: grid;
  gap: 28px;
}
.hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 9vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--text);
  display: grid;
  grid-template-columns: 1fr;
  max-width: 100%;
  /* reserve height so the slot doesn't collapse when a line's opacity is 0 */
  min-height: 1.05em;
}
/* Both lines occupy the same grid cell so line 2 replaces line 1 in place */
.hero-line {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: .3em;
  white-space: nowrap;
  will-change: transform, opacity;
}
.hero-word { display: inline-flex; }
.hero-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  will-change: transform, opacity;
}
.hero-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 19px);
  letter-spacing: -0.005em;
  color: var(--muted);
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  justify-items: center;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.hero-scroll-cue.is-visible { opacity: 1; }
.cue-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--muted) 30%, transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { transform: scaleY(.3) translateY(-10px); opacity: 0; }
  50%  { transform: scaleY(1) translateY(0);     opacity: 1; }
  100% { transform: scaleY(.3) translateY(10px);  opacity: 0; }
}
.cue-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   CANVAS (scroll-driven)
   ================================================================ */
.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--bg);
}
.canvas-wrap canvas {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  display: block;
}

/* ================================================================
   SCROLL PROGRESS BAR
   ================================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1001;
  pointer-events: none;
}
#scroll-progress-fill {
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  box-shadow: 0 0 8px rgba(255, 107, 43, 0.35);
}

/* ================================================================
   FRAME COUNTER (dev-only — hidden via [hidden] attr)
   ================================================================ */
#frame-counter[hidden] { display: none; }
#frame-counter {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  user-select: none;
}
#frame-counter .fc-label { opacity: 0.55; text-transform: uppercase; }
#frame-counter .fc-sep   { opacity: 0.4; }
#fc-index, #fc-total, #fc-progress { font-weight: 500; color: #fff; }

/* ================================================================
   DARK OVERLAY
   ================================================================ */
#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Gradient — darker at the bottom for text readability, fully transparent
     around the middle/top so the video isn't dimmed globally */
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.55) 22%,
    rgba(10, 10, 10, 0.20) 45%,
    rgba(10, 10, 10, 0.00) 65%
  );
  opacity: 0;
  will-change: opacity;
}

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0; right: 0;
  z-index: 5;
  pointer-events: none;
  transform: translateY(-50%);
  overflow-x: clip;
  opacity: 0;
  will-change: opacity;
}
.marquee-services {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.9em;
  row-gap: 0.3em;
  padding: 0 20px;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.marquee-services i {
  font-style: normal;
  color: var(--accent);
  opacity: .4;
}
.marquee-text {
  display: flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12vw;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  will-change: transform;
}
.marquee-text > span { padding: 0 .2em; }
.marquee-text > i {
  font-style: normal;
  color: var(--accent);
  font-family: var(--font-display);
  padding: 0 .1em;
}
.marquee-cta {
  display: block;
  width: fit-content;
  margin: 1.2rem auto 0;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  pointer-events: auto;
  transition: transform .25s var(--ease-out), background .25s ease;
}
.marquee-cta:hover { background: #d65f2a; transform: translateY(-2px); }
.marquee-cta span { display: inline-block; margin-left: .3em; transition: transform .25s var(--ease-out); }
.marquee-cta:hover span { transform: translateX(4px); }

/* ================================================================
   SCROLL CONTAINER
   ================================================================ */
#scroll-container {
  position: relative;
  height: 1300vh;
  z-index: 4;
}

/* ================================================================
   SECTION BASE
   ================================================================ */
.scroll-section {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  padding: 0 6vw;
  z-index: 4;
  pointer-events: none;
}
.scroll-section .section-inner > * { pointer-events: auto; }
.section-inner {
  display: grid;
  gap: 22px;
}

/* alignment zones — keep text in outer 40% per studio default */
.align-left .section-inner  { max-width: 40vw; margin-right: auto; }
.align-right .section-inner { max-width: 40vw; margin-left: auto; text-align: right; }
.align-center .section-inner { max-width: 880px; margin: 0 auto; text-align: center; }

/* common typography */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.section-body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 480px;
}
.align-right .section-body { margin-left: auto; }
.align-center .section-body { margin: 0 auto; }
.section-kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--text);
  max-width: 480px;
}
.align-right .section-kicker { margin-left: auto; }
.inline-cta {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 48px);
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
  width: fit-content;
  letter-spacing: -0.01em;
}
.inline-cta-underline {
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .5s var(--ease-out);
}
.inline-cta:hover .inline-cta-underline { width: 100%; }
.inline-cta-arrow {
  display: inline-block;
  margin-left: 0.35em;
  transition: transform .35s var(--ease-out);
}
.inline-cta:hover .inline-cta-arrow { transform: translateX(10px); }

/* ================================================================
   SECTION 1 — PROOF (counter + phrase beats)
   ================================================================ */
.section-proof .section-inner {
  gap: 18px;
  align-items: center;
  justify-items: center;
}
.proof-counter-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.proof-counter {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(110px, 18vw, 300px);
  line-height: 0.88;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.proof-counter-suffix {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 9vw, 150px);
  line-height: 0.88;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-left: -0.05em;
}
.proof-counter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.1vw, 16px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 6px;
}
.proof-beats-slot {
  position: relative;
  width: 100%;
  min-height: 1.3em;
  margin-top: 10px;
}
.proof-beat {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0;
  will-change: opacity, transform;
}
.proof-beat-punch {
  color: var(--accent);
}

/* ================================================================
   SECTION 2 — YOUR CHARACTER / SECTION 3 — YOUR CAMPAIGN
   (shared .section-content base)
   ================================================================ */

/* ================================================================
   SECTION 4 — PRODUCT PLACEMENT
   ================================================================ */
.section-placement .section-heading {
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1.04;
}

/* Campaign beats — bigger display type for read-at-a-glance */
.campaign-beat {
  font-size: clamp(40px, 5.5vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
/* Placement beats — huge display type; Section 4 is the punch-line moment */
.section-placement .placement-beat {
  font-size: clamp(68px, 10vw, 190px);
  line-height: 0.97;
  letter-spacing: -0.028em;
}

/* Beats-slot — lets multiple beats occupy the SAME vertical position so the
   second sentence replaces the first rather than appearing below it. */
.beats-slot {
  display: grid;
  grid-template-columns: 1fr;
}
.beats-slot > .campaign-beat,
.beats-slot > .placement-beat {
  grid-column: 1;
  grid-row: 1;
}

/* Widen text columns so longer phrases fit in 2 rows at heading size. */
section[aria-label="Your character"] .section-inner { max-width: 75vw; }
section[aria-label="Your character"] .section-heading {
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.04;
}
section[aria-label="Your campaign"]    .section-inner { max-width: 58vw; }
section[aria-label="Product placement"] .section-inner { max-width: 85vw; }

/* ================================================================
   SECTION 5 — CTA
   ================================================================ */
.section-cta {
  pointer-events: auto;
}
.section-cta .section-inner {
  display: grid;
  gap: 20px;
  max-width: 680px;
  margin-right: auto; /* form sits on the LEFT; bear remains on right in the canvas */
}
.section-cta .section-heading {
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.0;
}

.contact-form { display: grid; gap: 16px; margin-top: 8px; }
.field {
  display: grid;
  gap: 6px;
}
.field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-label em {
  font-style: normal;
  color: var(--accent);
  margin-left: 4px;
  font-size: 9px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(20, 20, 20, .65);
  border: 1px solid var(--hairline-2);
  border-radius: 4px;
  padding: 14px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color .25s, background .25s;
  resize: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(20, 20, 20, .85);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--hairline-2); }
.cta-button {
  display: inline-block;
  width: fit-content;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 6px;
  margin-top: 6px;
  transition: transform .25s var(--ease-out), background .25s ease;
}
.cta-button:hover { background: #d65f2a; transform: translateY(-1px); }
.cta-button.is-sent { background: var(--text); color: var(--bg); }
.form-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 8px;
}
.email-link {
  color: var(--text);
  border-bottom: 1px solid var(--hairline-2);
  transition: color .25s, border-color .25s;
}
.email-link:hover { color: var(--accent); border-color: var(--accent); }
.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  min-height: 18px;
  margin-top: 4px;
}
.form-status.is-error { color: var(--accent); }
.form-status.is-success { color: var(--text); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  position: relative;
  z-index: 6;
  background: var(--bg);
  border-top: 1px solid var(--hairline);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}
.site-footer a { color: var(--muted); transition: color .25s; position: relative; }
.site-footer a:hover { color: var(--accent); }
.site-footer .footer-social a::after,
.site-footer .footer-email a::after,
.site-footer .footer-copy a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--ease-out);
}
.site-footer .footer-social a:hover::after,
.site-footer .footer-email a:hover::after,
.site-footer .footer-copy a:hover::after { width: 100%; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  body { font-size: 16px; cursor: auto; }
  #cursor, #cursor-trail { display: none; }
  a, button { cursor: pointer; }

  .site-header { padding: 16px 20px; }
  .brand-glyph { width: 48px; height: 48px; }
  .audio-toggle { padding: 6px 10px; font-size: 10px; }

  /* Mobile mini-player — compact, revealed when audio is playing (no hover on touch) */
  .vinyl-card {
    min-width: 0;
    grid-template-columns: auto auto;
    gap: 14px;
    padding: 12px 14px;
    top: calc(100% + 8px);
  }
  .vinyl-meta { display: none; }
  .vinyl { width: 96px; height: 96px; }
  .vinyl-label { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .vinyl-hole { width: 5px; height: 5px; }
  .vinyl-label-text text { font-size: 8.5px; }
  .knob-dial { width: 50px; height: 50px; }
  .knob-label { font-size: 9px; }
  .knob-tick { top: 5px; height: 12px; }

  .audio-widget[data-playing="true"] .vinyl-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .hero-standalone { padding: 0 6vw 8vh; }
  .hero-heading {
    font-size: clamp(56px, 13vw, 96px);
    line-height: 0.95;
    min-height: auto;
  }
  .hero-line {
    white-space: normal;
    flex-wrap: wrap;
    gap: .15em .3em;
  }
  .hero-tagline { font-size: 15px; max-width: 86vw; }

  #scroll-container { height: 900vh; }

  .scroll-section { padding: 0 6vw; }
  .align-left .section-inner,
  .align-right .section-inner,
  .align-center .section-inner {
    max-width: 86vw;
    margin: 0 auto;
    text-align: center;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
  }
  /* Center only the inline CTA; let form/inputs stretch full column width */
  .align-left .inline-cta,
  .align-right .inline-cta,
  .align-center .inline-cta {
    justify-self: center;
  }
  .align-right .section-body,
  .align-right .section-kicker { margin-left: auto; margin-right: auto; }

  /* Without the section plate, text sits directly on the canvas.
     Strengthen the bottom gradient so copy stays legible over bright frames. */
  #dark-overlay {
    background: linear-gradient(
      to top,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.72) 25%,
      rgba(10, 10, 10, 0.30) 50%,
      rgba(10, 10, 10, 0.00) 70%
    );
  }

  .section-heading { font-size: clamp(36px, 10vw, 60px); }
  .section-body,
  .section-kicker,
  .hero-tagline,
  .proof-counter-label,
  .section-label,
  .field-label {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
  }
  .field-label { color: var(--text); }
  .section-body    { font-size: 16px; max-width: 100%; }
  .section-kicker  { font-size: 16px; max-width: 100%; }

  .proof-counter { font-size: clamp(120px, 32vw, 200px); }
  .proof-counter-suffix { font-size: clamp(60px, 18vw, 104px); }
  .proof-beat { font-size: clamp(20px, 5vw, 28px); }

  .section-cta .section-inner { max-width: 100%; margin: 0 auto; }
  .section-cta .cta-button {
    width: 100%;
    padding: 18px 24px;
    font-size: 15px;
    text-align: center;
  }

  .section-placement .placement-beat {
    font-size: clamp(40px, 5.5vw, 92px);
    line-height: 1.04;
    letter-spacing: -0.02em;
  }
  .section-placement .section-inner { max-width: 92vw; }

  .marquee-text { font-size: 20vw; }

  .site-footer { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 20px; font-size: 11px; }
  .footer-site-by { display: block; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .grain { animation: none !important; }
}
