/* =====================================================
   CallScraper — Cinematic landing page
   Dark luxury, glassmorphism, scroll storytelling
   ===================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: #050309;
  color: var(--fg-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }
::selection { background: rgba(229,9,20,.35); color: white; }

/* ── Preloader ─────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: #050309;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity .8s var(--ease-out), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ff8a92, #E50914 38%, #6e0309 100%);
  box-shadow:
    0 0 40px rgba(229,9,20,.55),
    inset -6px -8px 18px rgba(0,0,0,.6),
    inset 4px 4px 14px rgba(255,200,200,.25);
  position: relative;
  animation: preBreath 2.4s ease-in-out infinite;
}
.pre-mark::after {
  content: ""; position: absolute; inset: 14% 22% auto 22%; height: 28%;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  border-radius: 50%; filter: blur(2px);
}
@keyframes preBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(229,9,20,.45), inset -6px -8px 18px rgba(0,0,0,.6), inset 4px 4px 14px rgba(255,200,200,.25); }
  50%      { transform: scale(1.06); box-shadow: 0 0 64px rgba(229,9,20,.7), inset -6px -8px 18px rgba(0,0,0,.6), inset 4px 4px 14px rgba(255,200,200,.25); }
}
.pre-line {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--fg-2);
  display: flex; align-items: center; gap: 12px;
}
.pre-line .dot { width: 5px; height: 5px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 10px #22D3EE; animation: pulse 1.4s ease-in-out infinite; }
.pre-bar { width: 240px; height: 2px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; position: relative; }
.pre-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, rgba(229,9,20,0), #E50914 50%, rgba(229,9,20,0));
  transition: width .3s linear;
}
.pre-pct {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--fg-3);
  letter-spacing: .15em;
}

/* ── Nav ───────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  z-index: 100;
  padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8, 4, 18, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(229,9,20,.4)); }
.nav-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  color: white;
}
.nav-brand-text span { color: var(--fg-2); font-weight: 400; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--fg-2); text-decoration: none;
  transition: color .14s var(--ease-out);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-links a:hover { color: white; }
.nav-links .live-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: #22D3EE;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.25);
}
.nav-links .live-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 10px #22D3EE; animation: pulse 1.4s ease-in-out infinite; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } .nav { padding: 0 20px; } }

.btn {
  font-family: inherit;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease-out);
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; white-space: nowrap;
}
.btn-ghost { background: rgba(255,255,255,.02); color: var(--fg-1); border-color: rgba(255,255,255,.10); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #ff2530 0%, #E50914 60%, #B30710 100%);
  color: white;
  box-shadow: 0 0 0 0 rgba(229,9,20,0), 0 4px 18px rgba(229,9,20,.35), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(229,9,20,.55), 0 4px 24px rgba(229,9,20,.5), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-lg { padding: 14px 28px; font-size: 14px; }

/* ── Stage (fixed phone canvas) ─────────────────── */
.stage {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.stage-bg {
  position: absolute; inset: 0;
  background:
    /* very muted static stars — three layered radial-gradient noise fields */
    radial-gradient(1px 1px at 17% 12%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(1px 1px at 83% 27%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(1px 1px at 42% 71%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(1px 1px at 9%  88%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(1px 1px at 67% 56%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(1px 1px at 91% 79%, rgba(255,255,255,.13), transparent 60%),
    radial-gradient(1px 1px at 31% 33%, rgba(255,255,255,.09), transparent 60%),
    radial-gradient(1px 1px at 55% 18%, rgba(255,255,255,.11), transparent 60%),
    radial-gradient(1px 1px at 76% 92%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(1px 1px at 23% 60%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(1px 1px at 48% 44%, rgba(255,255,255,.07), transparent 60%),
    radial-gradient(1px 1px at 4%  41%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, #050309 0%, #07051a 50%, #050309 100%);
}
.stage-matrix {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  /* keep the rain very faint — feels like atmosphere, not foreground */
  opacity: 0.55;
  mix-blend-mode: screen;
}
.stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  opacity: .5;
}
.stage-bloom { display: none; }
.stage-bloom.active { opacity: 1; }
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 110% 90% at 50% 50%, transparent 50%, rgba(5,3,9,.35) 80%, rgba(5,3,9,.85) 100%);
}
.stage-particles {
  position: absolute; inset: 0;
  overflow: hidden;
  display: none;
}
.stage-particles span {
  position: absolute;
  width: 2px; height: 2px; border-radius: 50%;
  background: white;
  opacity: 0;
  animation: drift 22s linear infinite;
  box-shadow: 0 0 6px rgba(255,255,255,.6);
}
@keyframes drift {
  0%   { opacity: 0; transform: translate3d(0, 100vh, 0); }
  10%  { opacity: .55; }
  90%  { opacity: .35; }
  100% { opacity: 0; transform: translate3d(0, -10vh, 0); }
}

/* phone wrap — full-bleed ambient backdrop at low opacity */
.canvas-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 2000px;
  pointer-events: none;
  opacity: 0.3;
}
.canvas-inner {
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
canvas#phone-stage {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: contrast(0.92) brightness(0.8);
  image-rendering: high-quality;
  -webkit-image-rendering: high-quality;
  transition: filter .4s var(--ease-out);
}

/* spec markers (drawn on stage when fully exploded) */
.specs {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  font-size: 9px;
}
.specs .marker .label b { font-size: 11px; }
.specs .marker .label { font-size: 9px; letter-spacing: .12em; }
.specs .marker .nub { width: 18px; }
.specs.show { opacity: 1; }
.specs .marker {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(8px);
  opacity: 0;
  animation: markerIn .6s .1s var(--ease-out) forwards;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-2);
}
.specs.show .marker:nth-child(1) { animation-delay: 0.05s; }
.specs.show .marker:nth-child(2) { animation-delay: 0.15s; }
.specs.show .marker:nth-child(3) { animation-delay: 0.25s; }
.specs.show .marker:nth-child(4) { animation-delay: 0.35s; }
.specs.show .marker:nth-child(5) { animation-delay: 0.45s; }
@keyframes markerIn { to { opacity: 1; transform: translateY(0); } }
.specs .marker .nub {
  width: 28px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.6), rgba(255,255,255,0));
  position: relative;
}
.specs .marker.right .nub { background: linear-gradient(270deg, rgba(255,255,255,.6), rgba(255,255,255,0)); }
.specs .marker .nub::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translate(-50%,-50%);
  width: 6px; height: 6px; border-radius: 50%; background: #22D3EE;
  box-shadow: 0 0 10px #22D3EE;
}
.specs .marker.right .nub::before { left: auto; right: 0; transform: translate(50%,-50%); }
.specs .marker .label { white-space: nowrap; }
.specs .marker .label b { display: block; color: white; font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: -.01em; text-transform: none; }

/* ── Scroll content ─────────────────────────────── */
.scroll-track {
  position: relative;
  z-index: 2;
}
.scene {
  min-height: 100vh;
  padding: 120px 6vw 64px;
  display: flex;
  position: relative;
  pointer-events: none;
}
.scene > * { pointer-events: auto; }
/* copy now anchors lower-left so it owns the visual hierarchy */
.scene-pos-tl { align-items: flex-end; justify-content: flex-start; padding-bottom: 100px; }
.scene-pos-tr { align-items: flex-end; justify-content: flex-start; padding-bottom: 100px; }
.scene-pos-bl { align-items: flex-end; justify-content: flex-start; padding-bottom: 100px; }
.scene-pos-br { align-items: flex-end; justify-content: flex-start; padding-bottom: 100px; }
.scene-pos-center { align-items: center; justify-content: flex-start; }
.scene-pos-bottom { align-items: flex-end; justify-content: flex-start; padding-bottom: 100px; }

.copy {
  max-width: 620px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.copy.in { opacity: 1; transform: translateY(0); }
.scene-pos-center .copy, .scene-pos-bottom .copy { max-width: 720px; }
@media (max-width: 980px) {
  .scene { padding-top: 56vh; }
  .copy { max-width: 100%; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 12px #22D3EE; animation: pulse 1.4s ease-in-out infinite; }
.eyebrow .num { color: var(--fg-3); font-size: 10px; }
.eyebrow.brand .dot { background: #E50914; box-shadow: 0 0 12px rgba(229,9,20,.6); }

h1.display, h2.display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600; line-height: 1.0;
  letter-spacing: -.035em;
  color: white;
  text-wrap: balance;
}
.scene h1.display { font-size: clamp(56px, 9vw, 144px); margin-bottom: 24px; }
.scene h2.display { font-size: clamp(44px, 6.5vw, 104px); margin-bottom: 22px; }
.scene h2.display em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 0%, #b9a7d8 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.scene h2.display .red { color: #ff3742; text-shadow: 0 0 24px rgba(229,9,20,.45); }
.scene p.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
  color: var(--fg-2);
  margin-bottom: 32px;
  text-wrap: pretty;
}
.scene .num-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .2em; color: var(--fg-3);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.scene .num-tag::before {
  content: ""; width: 32px; height: 1px; background: rgba(255,255,255,.18);
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.scene-pos-center .cta-row, .scene-pos-bottom .cta-row { justify-content: center; }

/* glass cards */
.glass {
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  box-shadow:
    0 12px 48px rgba(0,0,0,.4),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.metric-row {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px;
}
.metric {
  padding: 12px 16px;
  flex: 1 1 140px; min-width: 140px;
}
.metric .v {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 28px; letter-spacing: -.02em;
  color: white;
  display: flex; align-items: baseline; gap: 4px;
}
.metric .v small { font-size: 14px; color: var(--fg-2); font-weight: 500; }
.metric .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3); margin-top: 4px;
}

/* hero scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 36px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-3);
  opacity: 0; animation: fadeIn 1s 1.4s var(--ease-out) forwards;
}
.scroll-cue .track { width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); position: relative; overflow: hidden; }
.scroll-cue .track::after {
  content: ""; position: absolute; left: 0; right: 0; top: -50%; height: 50%;
  background: white;
  animation: cueDrop 1.8s var(--ease-out) infinite;
}
@keyframes cueDrop { 0% { top: -50%; } 100% { top: 100%; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Hero side rails */
.hero-rail {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--fg-3);
  opacity: 0; animation: fadeIn 1s 1.2s var(--ease-out) forwards;
}
.hero-rail.left { left: 28px; }
.hero-rail.right { right: 28px; align-items: flex-end; }
@media (max-width: 980px) { .hero-rail { display: none; } }
.hero-rail .row { display: flex; align-items: center; gap: 10px; }
.hero-rail .row .k { color: white; font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: -.01em; text-transform: none; }
.hero-rail .bar { width: 36px; height: 1px; background: rgba(255,255,255,.2); }

/* Section label (chapter index) — bottom-left of canvas viewport */
.chapter-tag {
  position: fixed; left: 36px; bottom: 28px; z-index: 50;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--fg-3);
  display: flex; align-items: center; gap: 12px;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.chapter-tag .num { color: white; }
.chapter-tag .bar { width: 28px; height: 1px; background: rgba(255,255,255,.18); }

.scroll-progress {
  position: fixed; right: 36px; bottom: 28px; z-index: 50;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .2em; color: var(--fg-3);
  display: flex; align-items: center; gap: 12px;
  pointer-events: none;
}
.scroll-progress .track { width: 80px; height: 1px; background: rgba(255,255,255,.12); position: relative; }
.scroll-progress .track::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--p, 0%);
  background: linear-gradient(90deg, transparent, #E50914);
  transition: width .15s linear;
}
.scroll-progress .pct { color: white; min-width: 30px; text-align: right; }

/* Card grid for "All in one" */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 28px; max-width: 460px;
}
.feature-card {
  padding: 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: all .2s var(--ease-out);
}
.feature-card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.feature-card .ico {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin-bottom: 12px;
}
.feature-card.cyan .ico { color: #22D3EE; border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.08); box-shadow: 0 0 12px rgba(34,211,238,.2); }
.feature-card.purple .ico { color: #A78BFA; border-color: rgba(167,139,250,.35); background: rgba(167,139,250,.08); }
.feature-card.green .ico { color: #22C55E; border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.08); }
.feature-card.orange .ico { color: #F97316; border-color: rgba(249,115,22,.35); background: rgba(249,115,22,.08); }
.feature-card .title {
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: white;
  letter-spacing: -.01em; margin-bottom: 4px;
}
.feature-card .desc {
  font-size: 12.5px; color: var(--fg-2); line-height: 1.45;
}

/* Logo strip / integrations */
.logo-strip {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 18px;
}
.logo-strip .item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
}
.logo-strip .dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.logo-strip .twilio .dot { background: #f22f46; box-shadow: 0 0 8px rgba(242,47,70,.5); }
.logo-strip .rc .dot { background: #ff7a00; box-shadow: 0 0 8px rgba(255,122,0,.5); }
.logo-strip .deepgram .dot { background: #00d8a4; box-shadow: 0 0 8px rgba(0,216,164,.5); }
.logo-strip .gemini .dot { background: #4285f4; box-shadow: 0 0 8px rgba(66,133,244,.5); }
.logo-strip .smartmoving .dot { background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,.5); }

/* Footer */
.footer {
  position: relative; z-index: 2;
  padding: 80px 5vw 60px;
  background: linear-gradient(180deg, transparent, #050309 30%);
  border-top: 1px solid rgba(255,255,255,.04);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px; margin: 0 auto;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand img { width: 32px; height: 32px; }
.footer-brand .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 18px; color: white; letter-spacing: -.01em; }
.footer-tag { color: var(--fg-2); font-size: 14px; max-width: 320px; line-height: 1.5; }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--fg-2); text-decoration: none; font-size: 13.5px; transition: color .14s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.04);
  max-width: 1280px; margin-left: auto; margin-right: auto;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--fg-3);
  letter-spacing: .12em; text-transform: uppercase;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }

/* ── Animations ────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* Smaller screens */
@media (max-width: 720px) {
  .scene { padding: 100px 6vw 40px; }
  .scene-pos-tl, .scene-pos-tr, .scene-pos-bl, .scene-pos-br { align-items: flex-start; justify-content: flex-start; padding-top: 100px; }
  .copy { max-width: 100%; }
  .hero-rail { display: none; }
  .chapter-tag { left: 18px; bottom: 18px; }
  .scroll-progress { right: 18px; bottom: 18px; }
  .scroll-progress .track { width: 50px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  html { scroll-behavior: auto; }
}
