/* ═══════════════════════════════════════════════════════════════════════
   FORJE — LUX LAYER v2
   Animated aurora, moving chromatic reflections, richer glass, depth.
   Layered on top of forje.css; no redefinitions, only extras.
   ═══════════════════════════════════════════════════════════════════════ */

/* Global noise grain overlay — top-most, subtle, non-interactive */
body::after {
  content: "";
  position: fixed; inset: -20%; z-index: 9998;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.8  0 0 0 0 0.85  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ═══ Rainbow light pillars — inspired by Mario Galaxy ═══ */
.pillars {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.55;
}
.pillar {
  position: absolute; top: -5%; bottom: -5%;
  width: 3px;
  filter: blur(1px) drop-shadow(0 0 10px currentColor);
  opacity: 0;
  animation: pillarFall 9s ease-in-out infinite;
}
.pillar::before {
  content: ""; position: absolute; inset: 0 -6px;
  background: linear-gradient(180deg,
    transparent 0%,
    currentColor 20%,
    currentColor 70%,
    rgba(255,255,255,0.8) 92%,
    transparent 100%);
  opacity: 0.5;
  filter: blur(8px);
}
.pillar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    currentColor 25%,
    #ffffff 88%,
    rgba(255,255,255,0.9) 95%,
    transparent 100%);
}
@keyframes pillarFall {
  0%   { opacity: 0; transform: translateY(-30%) scaleY(0.6); }
  10%  { opacity: 0.9; }
  55%  { opacity: 1; transform: translateY(0) scaleY(1); }
  80%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(20%) scaleY(1.1); }
}

/* Floor reflection mirror — subtle horizon line with chromatic glow */
.horizon {
  position: fixed; left: 0; right: 0; bottom: 0; height: 42vh; z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(40,80,200,0.12) 60%, rgba(80,140,255,0.22) 100%);
  mix-blend-mode: screen;
}
.horizon::before {
  /* bright horizon band */
  content: ""; position: absolute; left: 0; right: 0; bottom: 38%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(106,91,255,0.3) 15%,
    rgba(62,199,255,0.5) 30%,
    rgba(245,240,203,0.8) 50%,
    rgba(255,158,211,0.5) 70%,
    rgba(255,176,97,0.3) 85%,
    transparent 100%);
  filter: blur(1.5px);
  box-shadow: 0 0 40px rgba(200,220,255,0.25);
}
.horizon::after {
  /* reflective floor with subtle chromatic wash */
  content: ""; position: absolute; left: 0; right: 0; top: 38%; bottom: 0;
  background:
    radial-gradient(60% 100% at 50% 0%,
      rgba(62,199,255,0.12) 0%,
      rgba(106,91,255,0.08) 40%,
      transparent 70%),
    radial-gradient(40% 100% at 30% 0%, rgba(255,158,211,0.08), transparent 70%),
    radial-gradient(40% 100% at 70% 0%, rgba(255,176,97,0.06), transparent 70%);
  filter: blur(8px);
}

/* Slow vignette breathe */
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 50%, transparent 45%, rgba(2,5,18,0.55) 85%, rgba(2,5,18,0.9));
  animation: vignetteBreathe 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes vignetteBreathe {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1.0; }
}

/* Aurora — drifting chromatic mesh behind the starfield */
.page-bg { overflow: hidden; }
.aurora {
  position: absolute; inset: -10%; z-index: 0;
  filter: blur(90px) saturate(1.4);
  pointer-events: none; opacity: 0.9;
  mix-blend-mode: screen;
}
.aurora .blob {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.aurora .b1 {
  width: 780px; height: 780px; left: -8%; top: -6%;
  background: radial-gradient(closest-side, rgba(106,91,255,0.55), transparent 70%);
  animation: drift1 22s ease-in-out infinite;
}
.aurora .b2 {
  width: 620px; height: 620px; right: -4%; top: 6%;
  background: radial-gradient(closest-side, rgba(62,199,255,0.45), transparent 70%);
  animation: drift2 26s ease-in-out infinite;
}
.aurora .b3 {
  width: 560px; height: 560px; left: 26%; top: 28%;
  background: radial-gradient(closest-side, rgba(255,158,211,0.32), transparent 70%);
  animation: drift3 30s ease-in-out infinite;
}
.aurora .b4 {
  width: 500px; height: 500px; right: 18%; bottom: -8%;
  background: radial-gradient(closest-side, rgba(255,176,97,0.28), transparent 70%);
  animation: drift4 34s ease-in-out infinite;
}
.aurora .b5 {
  width: 700px; height: 700px; left: 40%; top: 60%;
  background: radial-gradient(closest-side, rgba(80,120,255,0.35), transparent 70%);
  animation: drift1 40s ease-in-out -10s infinite reverse;
}
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(120px,80px) scale(1.1)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-140px,60px) scale(0.9)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(80px,-100px) scale(1.15)} }
@keyframes drift4 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-100px,-60px) scale(1.05)} }

/* Mouse-follow chromatic halo (updated via JS setting --mx/--my on body) */
.cursor-halo {
  position: fixed; z-index: 1; pointer-events: none;
  width: 680px; height: 680px;
  left: calc(var(--mx, 70%) - 340px);
  top:  calc(var(--my, 40%) - 340px);
  background:
    radial-gradient(closest-side, rgba(120,150,255,0.12), transparent 70%);
  filter: blur(40px);
  transition: left 0.6s cubic-bezier(.2,.8,.2,1), top 0.6s cubic-bezier(.2,.8,.2,1);
}

/* Slow star twinkle */
.stars, .stars-2, .stars-sparkle { animation: twinkle 8s ease-in-out infinite; }
.stars-2 { animation-delay: -3s; animation-duration: 11s; }
.stars-sparkle { animation-delay: -5s; animation-duration: 6s; }
@keyframes twinkle {
  0%, 100% { opacity: var(--sf-op, 0.9); }
  50%      { opacity: calc(var(--sf-op, 0.9) * 0.6); }
}

/* Starfield slow parallax drift */
.stars   { animation: drift-stars 140s linear infinite, twinkle 8s ease-in-out infinite; }
.stars-2 { animation: drift-stars 220s linear infinite reverse, twinkle 11s ease-in-out infinite; }
@keyframes drift-stars {
  from { background-position: 0 0; }
  to   { background-position: 1440px 860px; }
}

/* ───── Nav — glassy on scroll ─────────────────────────────────────────── */
.nav {
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
}
.nav::before {
  content: ""; position: absolute; left: 72px; right: 72px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140,180,255,0.25) 30%, rgba(140,180,255,0.25) 70%, transparent);
  opacity: 0; transition: opacity 0.3s;
}
body.scrolled .nav {
  background: rgba(5, 13, 46, 0.6);
}
body.scrolled .nav::before { opacity: 1; }

.brand-glyph {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 0 22px rgba(120,160,255,0.35),
    0 8px 18px rgba(0,0,0,0.35);
}

/* ───── Buttons — refined ──────────────────────────────────────────────── */
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #dbe4ff 100%);
  color: #07122F;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(100,130,220,0.4),
    0 10px 30px rgba(120,150,255,0.35),
    0 0 0 1px rgba(255,255,255,0.1);
}
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.7) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.9s ease;
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  position: relative;
  background: linear-gradient(180deg, rgba(30,60,140,0.18), rgba(10,20,64,0.35));
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(200,220,255,0.14), 0 6px 18px rgba(0,0,0,0.2);
}

/* ───── Hero — richer depth ────────────────────────────────────────────── */
.eyebrow {
  background: linear-gradient(180deg, rgba(30,60,140,0.45), rgba(10,20,64,0.25));
  box-shadow: inset 0 1px 0 rgba(200,220,255,0.18);
}
.eyebrow-dot { animation: spin 14s linear infinite; }

.hero-title .accent {
  background-size: 200% 100%;
  animation: shimmerText 8s ease-in-out infinite;
}
@keyframes shimmerText {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Hero stage — add light god-rays + reflection floor */
.hero-stage::before {
  background: radial-gradient(closest-side, rgba(190,210,255,0.3) 0%, rgba(170,190,255,0.08) 40%, transparent 72%);
  animation: spotPulse 7s ease-in-out infinite;
}
@keyframes spotPulse {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1.0;  transform: translateX(-50%) scale(1.08); }
}
.hero-stage::after {
  animation: chromaRot 24s linear infinite;
}
@keyframes chromaRot { to { transform: translateX(-50%) rotate(360deg); } }


/* Slab — better iridescent prism edges & specular sweep */
.slab {
  background:
    linear-gradient(180deg, #1d1d25 0%, #0c0c14 55%, #050509 100%);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.10),
    inset 0 -2px 0 rgba(0,0,0,0.7),
    inset 0 0 80px rgba(0,0,0,0.4),
    0 50px 100px rgba(0,0,0,0.6),
    0 15px 40px rgba(0,0,0,0.55);
}
.slab::before {
  /* thicker, brighter, moving chromatic edge */
  inset: -10px;
  border-radius: 22px;
  filter: blur(14px) saturate(1.5);
  opacity: 1;
  animation: chromaRot 14s linear infinite;
}
.slab::after {
  /* Add moving specular highlight */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 35%),
    linear-gradient(100deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%),
    radial-gradient(130% 80% at 30% 0%, rgba(200,220,255,0.22), transparent 55%);
  background-size: 100% 100%, 400% 100%, 100% 100%;
  background-position: 0 0, var(--spec-x, 0%) 0, 0 0;
  animation: specSweep 18s ease-in-out infinite;
}
@keyframes specSweep {
  0%, 100% { background-position: 0 0, -20% 0, 0 0; }
  50%      { background-position: 0 0, 120% 0, 0 0; }
}

/* Subtle Forje-etched "F" badge on spine */
.slab.spine::before { opacity: 1; }
.slab.spine .etch {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 92px;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.04));
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 2px 0 rgba(0,0,0,0.6);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,0.6));
  pointer-events: none;
}

/* Floor reflection stronger */
.forge-floor {
  width: 500px; height: 80px; bottom: -6px;
  background:
    radial-gradient(closest-side, rgba(160,190,255,0.4), transparent 70%),
    radial-gradient(closest-side, rgba(255,180,220,0.18) 30%, transparent 70%);
  filter: blur(10px);
  animation: floorGlow 7s ease-in-out infinite;
}
@keyframes floorGlow {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 1.0; transform: translateX(-50%) scaleX(1.06); }
}

/* Orbiters — chromatic comets */
.orbiter {
  box-shadow: 0 0 20px rgba(180,200,255,0.8);
  animation: orbit 9s ease-in-out infinite !important;
}
@keyframes orbit {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(-18px, 14px); }
}

/* ───── Social proof ───────────────────────────────────────────────────── */
.proof {
  background: linear-gradient(90deg, transparent 0%, rgba(10,25,80,0.35) 50%, transparent 100%);
}
.proof-logos .mark {
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
  filter: saturate(0) brightness(1);
}
.proof-logos:hover .mark { opacity: 0.35; }
.proof-logos .mark:hover { opacity: 1 !important; filter: saturate(1) brightness(1.2); transform: translateY(-2px); }

/* ───── Glass cards — client / feature / pricing ───────────────────────── */
.client-card, .feature, .price-card {
  background:
    linear-gradient(180deg, rgba(20,40,110,0.35) 0%, rgba(8,18,56,0.55) 100%);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(200,220,255,0.08),
    inset 0 0 40px rgba(80,120,255,0.04),
    0 40px 80px rgba(0,0,0,0.4),
    0 10px 30px rgba(0,0,0,0.25);
}

/* Light sweep that scans slowly across cards */
.client-card > .sweep,
.feature > .sweep,
.price-card > .sweep {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; overflow: hidden;
  z-index: 0;
}
.client-card > .sweep::before,
.feature > .sweep::before,
.price-card > .sweep::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(100deg, transparent 47%, rgba(170,200,255,0.04) 50%, transparent 53%);
  transform: translateX(-60%);
  opacity: 0;
  animation: sweepX 22s ease-in-out infinite;
}
.feature > .sweep::before { animation-duration: 28s; animation-delay: -9s; }
.price-card > .sweep::before { animation-duration: 34s; animation-delay: -17s; }
@keyframes sweepX {
  0%   { transform: translateX(-60%); opacity: 0; }
  12%  { opacity: 0.7; }
  28%  { transform: translateX(60%); opacity: 0; }
  100% { transform: translateX(60%); opacity: 0; }
}
.client-card > *:not(.sweep),
.feature > *:not(.sweep),
.price-card > *:not(.sweep) { position: relative; z-index: 1; }

/* Chromatic top line — thicker + breathing on featured price */
.price-card.featured::before {
  height: 1.5px;
  animation: chromaShift 10s ease-in-out infinite;
  background-size: 200% 100%;
}
@keyframes chromaShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Client card right panel — stronger glass + animated inner aurora */
.client-right {
  background:
    radial-gradient(90% 70% at 50% 10%, rgba(80,120,255,0.32), transparent 70%),
    radial-gradient(60% 50% at 80% 80%, rgba(255,158,211,0.14), transparent 70%),
    linear-gradient(180deg, rgba(10,20,64,0.55), rgba(5,13,46,0.85));
  box-shadow: inset 0 1px 0 rgba(200,220,255,0.1);
  overflow: hidden;
}
.client-right::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(40% 30% at 20% 30%, rgba(106,91,255,0.35), transparent 70%),
    radial-gradient(40% 30% at 80% 70%, rgba(62,199,255,0.3), transparent 70%);
  filter: blur(40px);
  animation: innerAurora 16s ease-in-out infinite;
  pointer-events: none;
}
@keyframes innerAurora {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(-40px, 20px); }
}

/* Thumbnails on client card — more 3D, subtle hover */
.thumb {
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 10px 20px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.thumb::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.12) 0%, transparent 40%);
  pointer-events: none; z-index: 2;
}
.client-card:hover .thumb.t1 { transform: rotate(-12deg) translate(-8px, -4px); }
.client-card:hover .thumb.t3 { transform: rotate(10deg)  translate(8px, -4px); }
.client-card:hover .thumb.t2 { transform: rotate(-2deg) translateY(-8px) scale(1.03); }

/* Lock CTA — brighter glow, pulsing ring */
.lock-cta {
  background: linear-gradient(180deg, #ffffff 0%, #e8ecff 100%);
  box-shadow:
    0 16px 48px rgba(120,150,255,0.55),
    0 0 0 1px rgba(255,255,255,0.5),
    0 0 0 8px rgba(255,255,255,0.05);
  animation: ctaPulse 3.2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 16px 48px rgba(120,150,255,0.55), 0 0 0 1px rgba(255,255,255,0.5), 0 0 0 8px rgba(255,255,255,0.05); }
  50%      { box-shadow: 0 18px 64px rgba(160,180,255,0.7),   0 0 0 1px rgba(255,255,255,0.6), 0 0 0 14px rgba(255,255,255,0.08); }
}

/* ───── Steps — connecting rail with moving light pulse ────────────────── */
.steps::before {
  background: linear-gradient(90deg,
    transparent,
    rgba(140,180,255,0.45) 15%,
    rgba(255,158,211,0.45) 50%,
    rgba(255,176,97,0.45) 85%,
    transparent);
  background-size: 200% 100%;
  animation: railFlow 8s linear infinite;
  height: 1.5px;
  filter: drop-shadow(0 0 6px rgba(140,180,255,0.35));
}
@keyframes railFlow { from { background-position: 200% 0; } to { background-position: 0% 0; } }

.step-node {
  animation: nodePulse 3.4s ease-in-out infinite;
}
.step:nth-child(2) .step-node { animation-delay: 1.1s; }
.step:nth-child(3) .step-node { animation-delay: 2.2s; }
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(5,13,46,1), 0 0 24px rgba(120,160,255,0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(5,13,46,1), 0 0 40px rgba(160,200,255,0.6); }
}
.step-node .inner { animation: spin 12s linear infinite; }

.step-icon {
  box-shadow: inset 0 1px 0 rgba(200,220,255,0.14), 0 10px 30px rgba(0,0,0,0.3);
}
.step-icon::after {
  /* subtle chromatic edge that pulses */
  content: ""; position: absolute; inset: -1px; border-radius: 15px; padding: 1px;
  background: linear-gradient(135deg, rgba(106,91,255,0.5), rgba(62,199,255,0.5), rgba(255,176,97,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}

/* ───── Feature art — richer ───────────────────────────────────────────── */
.feature-art {
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(200,220,255,0.08);
}
.feature-art::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(40% 40% at 50% 30%, rgba(106,91,255,0.4), transparent 60%);
  filter: blur(40px);
  animation: innerAurora 14s ease-in-out infinite;
  pointer-events: none;
}

/* feed rows — scoring badge glow */
.score-pill.hot {
  animation: hotPulse 2s ease-in-out infinite;
}
@keyframes hotPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(255,158,211,0.3); }
  50%      { box-shadow: 0 0 28px rgba(255,158,211,0.55); }
}

/* Gen tiles — shimmer on hover */
.gen-tile {
  transition: transform 0.35s ease;
  position: relative;
}
.gen-tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(130deg, rgba(255,255,255,0.2), transparent 40%);
  pointer-events: none; z-index: 1;
}
.gen-tile:hover { transform: translateY(-3px) scale(1.04); z-index: 2; }

/* ───── Pricing — featured glow halo ──────────────────────────────────── */
.price-card.featured {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(106,91,255,0.2), transparent 70%),
    linear-gradient(180deg, rgba(20,40,110,0.4) 0%, rgba(8,18,56,0.65) 100%);
  box-shadow:
    inset 0 1px 0 rgba(200,220,255,0.12),
    0 50px 100px rgba(90,80,200,0.35),
    0 10px 40px rgba(120,150,255,0.2);
}
.price-card.featured::after {
  content: ""; position: absolute; inset: -40px;
  background: radial-gradient(50% 50% at 50% 0%, rgba(106,91,255,0.22), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.price-amount .num {
  background: linear-gradient(180deg, #ffffff 0%, #b0c4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───── Closing — extra dramatic ──────────────────────────────────────── */
.closing::before {
  animation: closingGlow 10s ease-in-out infinite;
}
@keyframes closingGlow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1.0; transform: translateX(-50%) scale(1.1); }
}
.closing::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 30% at 20% 80%, rgba(106,91,255,0.2), transparent 70%),
    radial-gradient(50% 30% at 80% 20%, rgba(62,199,255,0.18), transparent 70%);
  filter: blur(40px);
}
.closing h2 .accent {
  background-size: 200% 100%;
  animation: shimmerText 10s ease-in-out infinite;
}

/* ───── Nav link hover underline ──────────────────────────────────────── */
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--chromatic-line);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ───── Entrance fade for sections (progressive) ──────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.on { opacity: 1; transform: translateY(0); }
