/* ScholarVertex motion layer v3 (2026-10-07) — compositor-first
   Purely additive over landing.html v9. Every rule is scoped to html.svm, which the inline head
   guard adds only when motion is allowed (or forced with ?motion=on); the guard removes it again
   after 3 s if sv-motion.js never boots, so a failed load can never hide content.

   The page's own reduced-motion block clamps *every* animation/transition to 0.001ms with
   !important. Rules here that must still move under ?motion=on therefore carry their own
   !important timing on a class selector (higher specificity than the page's `*`). */

/* ================================================================ tokens */
@property --svm-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
html.svm {
  --svm-ease: cubic-bezier(.2,.7,.2,1);
  --svm-sq: 16px;            /* squircle radius fallback */
}
@supports (corner-shape: squircle) { html.svm { --svm-sq: 26px; } }

/* ================================================================ scrolling (native)
   smooth in-page jumps even under the page's reduced-motion clamp (which sets auto on *), and
   every anchor target clears the sticky strip + floating nav capsule */
html.svm { scroll-behavior: smooth !important; }
html.svm [id] { scroll-margin-top: 0; }  /* html already carries scroll-padding-top = strip + nav (set by the CFP strip script) */
html.svm-menu-open body { overflow: hidden; }

/* ================================================================ intro curtain */
html.svm-intro body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 50%, rgba(0,194,168,.18), transparent 70%), #101a3d;
  transform-origin: 50% 0%;
  transition: transform 1s cubic-bezier(.76,0,.24,1), opacity .3s 1s !important;
}
html.svm-intro body::before {
  content: "SV"; position: fixed; z-index: 10000; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center;
  font: 700 20px/1 "Fira Code", ui-monospace, monospace; color: #fff;
  background: #101a3d; border: 2px solid #ff4d5e; box-shadow: 7px 7px 0 #00c2a8;
  pointer-events: none; animation: svmMark .9s cubic-bezier(.2,.7,.2,1) both !important;
}
html.svm-intro.svm-go body::after { transform: scaleY(0); opacity: 0; }
html.svm-intro.svm-go body::before { animation: svmMarkOut .5s cubic-bezier(.76,0,.24,1) forwards !important; }
@keyframes svmMark { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes svmMarkOut { to { opacity: 0; transform: translateY(-30px) scale(.8); } }

/* page-leave curtain (internal navigation) */
.svm-leave {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; background: #101a3d;
  transform: scaleY(0); transform-origin: 50% 100%;
}

/* ================================================================ film grain */
.svm-grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes svmGrain {
  0% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); }
  60% { transform: translate(-6%,2%); } 80% { transform: translate(5%,4%); } 100% { transform: translate(0,0); }
}

/* ================================================================ reading progress: brighter, glowing */
html.svm .read-progress { height: 3px; background: transparent; z-index: 95; }
html.svm .read-progress-fill {
  background: linear-gradient(90deg, #ff4d5e, #ffd166 45%, #00c2a8) !important;
  box-shadow: 0 0 12px rgba(0,194,168,.55), 0 0 4px rgba(255,77,94,.5);
  border-radius: 0 3px 3px 0;
}

/* ================================================================ TOP BAR 1: topline */
html.svm .topline .status-dot { position: relative; }
html.svm .topline .status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,77,94,.6); animation: svmRing 2s ease-out infinite !important; }
@keyframes svmRing { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }

/* ================================================================ TOP BAR 2: CTA banner — squircle buttons */
html.svm .cta-banner {
  background:
    radial-gradient(700px 120px at 20% 0%, rgba(0,194,168,.16), transparent 70%),
    radial-gradient(700px 120px at 85% 100%, rgba(255,77,94,.14), transparent 70%),
    #101a3d;
}
html.svm .cta-banner-inner { gap: 12px 18px; padding: 14px 24px; }
html.svm .cta-banner-inner .cta-label { position: relative; display: inline-flex; align-items: center; gap: 10px; }
html.svm .cta-banner-inner .cta-label::after { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(255,209,102,.7); animation: svmRing 2s ease-out infinite !important; }
html.svm .cta-banner-inner .cta-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffd166;
}

html.svm .cta-banner-inner a {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 44px; padding: 10px 22px;
  border-radius: var(--svm-sq); corner-shape: squircle;
  font-size: 13px; letter-spacing: .06em;
  transition: transform .45s var(--svm-ease), box-shadow .45s var(--svm-ease), background-color .3s, color .3s !important;
}
/* primary: coral gradient + travelling shimmer + soft glow */
html.svm .cta-banner-inner a:not(.ghost) {
  background: linear-gradient(135deg, #ff6b78 0%, #ff4d5e 45%, #e23a52 100%);
  box-shadow: 0 10px 28px -10px rgba(255,77,94,.75), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12);
}
html.svm .cta-banner-inner a:not(.ghost)::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; width: 45%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(0) skewX(-18deg); will-change: transform; animation: svmShimmer 3.4s ease-in-out infinite !important;
}
@keyframes svmShimmer { 0%, 55% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(425%) skewX(-18deg); } }
html.svm .cta-banner-inner a:not(.ghost):hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 36px -12px rgba(255,77,94,.9), inset 0 1px 0 rgba(255,255,255,.4);
  background: linear-gradient(135deg, #ff7a86, #ff4d5e 45%, #d7354a);
}
/* ghost: glass with a rotating light beam on its border */
html.svm .cta-banner-inner a.ghost { border: 1.5px solid rgba(255,255,255,.26); background: rgba(16,26,61,.92); }
html.svm .cta-banner-inner a.ghost:hover { transform: translateY(-3px) scale(1.03); color: #fff; background: rgba(23,43,103,.95); box-shadow: 0 16px 34px -14px rgba(0,194,168,.7); }
/* the ghost button must not clip its own border light: it was inheriting overflow:hidden from the
   shared button rule, which sliced off the rotating beam and the hover glow. The beam itself clips
   its rotating gradient, so nothing leaks. */
html.svm .cta-banner-inner a.ghost { overflow: visible; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 20px -4px rgba(0,194,168,.6), 0 10px 26px -14px rgba(0,194,168,.7); }
html.svm .cta-banner-inner a.ghost .svm-beam { inset: -1.5px; padding: 1.5px; z-index: 3; corner-shape: inherit; border-radius: inherit; }
@keyframes svmSpin { to { --svm-a: 360deg; } }
html.svm .cta-banner-inner a .svm-arr { display: inline-block; transition: transform .4s var(--svm-ease) !important; }
html.svm .cta-banner-inner a:hover .svm-arr { transform: translateX(4px); }

/* The CFP strip (#sv-cfp-strip) is deliberately left exactly as on the live site. */

/* ================================================================ TOP BAR 3: the nav — squircle chip buttons */
html.svm .nav { transition: background-color .5s var(--svm-ease), border-color .5s !important; }
html.svm .nav-inner {
  max-width: 1340px; gap: 18px;
  transition: max-width .7s var(--svm-ease), margin .7s var(--svm-ease), padding .7s var(--svm-ease), border-radius .7s var(--svm-ease), background-color .5s, box-shadow .6s var(--svm-ease) !important;
}
html.svm .nav-links {
  position: relative; flex-wrap: nowrap !important; gap: 7px !important; padding: 5px 0;
  font-size: 12.5px !important; letter-spacing: .025em; font-weight: 800;
}
/* every link is a chip: the resting glass fill lives on ::before so the gliding navy pill
   (behind the links) shows through when the fill fades out */
html.svm .nav-links a {
  position: relative; z-index: 1; isolation: isolate; display: inline-flex; align-items: center;
  height: 40px; padding: 0 13px !important; white-space: nowrap; color: #101a3d;
  border-radius: 12px; corner-shape: squircle;
  transition: color .35s, transform .45s var(--svm-ease) !important;
}
html.svm .nav-links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; corner-shape: squircle;
  background: linear-gradient(180deg, #f1f5ff 0%, #dce5fb 100%);
  box-shadow: inset 0 0 0 1.5px rgba(16,26,61,.26), inset 0 1px 0 rgba(255,255,255,.9), 2px 2px 0 rgba(0,194,168,.75), 0 6px 14px -8px rgba(16,26,61,.45);
  transition: opacity .35s, box-shadow .35s !important;
}
html.svm .nav-links a:hover { transform: translateY(-2px); }
html.svm .nav-links a:focus-visible { outline: 2px solid #00c2a8; outline-offset: 3px; }
html.svm .nav-links a:active { transform: translateY(0) scale(.97); }
html.svm .nav-links a.svm-pilled { color: #fff; }
html.svm .nav-links a.svm-pilled::before { opacity: 0; }
/* the page's red underline becomes the "you are here" dot */
html.svm .nav-links a::after {
  display: block !important; content: ""; position: absolute; left: 50%; right: auto; bottom: 5px;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #ffd166;
  transform: scale(0) !important; transition: transform .4s var(--svm-ease) !important;
}
html.svm .nav-links a.svm-active::after { transform: scale(1) !important; }
html.svm .nav-links a.svm-active:not(.svm-pilled)::after { background: #ff4d5e; }
/* the gliding navy pill */
.svm-pill {
  position: absolute; z-index: 0; left: 0; top: 50%; height: 40px; width: 60px; margin-top: -20px;
  border-radius: 12px; corner-shape: squircle; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, #23397a, #101a3d);
  box-shadow: 3px 3px 0 #00c2a8, 0 10px 22px -10px rgba(16,26,61,.7), inset 0 1px 0 rgba(255,255,255,.18);
}
/* Submit = the one coral call to action */
html.svm .nav-links a.svm-nav-cta {
  margin-left: 8px; color: #fff !important; padding: 0 20px !important; font-weight: 800;
  transition: transform .45s var(--svm-ease), color .3s !important;
}
html.svm .nav-links a.svm-nav-cta::before {
  opacity: 1 !important;
  background: linear-gradient(135deg, #ff6b78, #ff4d5e 50%, #e23a52);
  box-shadow: 3px 3px 0 #101a3d, 0 10px 22px -10px rgba(255,77,94,.85), inset 0 1px 0 rgba(255,255,255,.35);
}
html.svm .nav-links a.svm-nav-cta:hover { transform: translate(-2px,-2px); }
html.svm .nav-links a.svm-nav-cta:hover::before { box-shadow: 5px 5px 0 #101a3d, 0 16px 28px -12px rgba(255,77,94,.95), inset 0 1px 0 rgba(255,255,255,.4); }
html.svm .nav-links a.svm-nav-cta::after { display: none !important; }
@supports (corner-shape: squircle) {
  html.svm .nav-links a, .svm-pill { border-radius: 18px; }
}
/* brand mark: playful lift */
html.svm .brand-mark { transition: transform .6s var(--svm-ease), box-shadow .6s var(--svm-ease), width .6s, height .6s !important; }
html.svm .brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); box-shadow: 7px 7px 0 #00c2a8, -3px -3px 0 #ffd166; }
html.svm .brand { transition: font-size .6s var(--svm-ease) !important; }

/* floating capsule once the top banners have scrolled away */
html.svm.svm-float .nav { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.svm.svm-float .nav-inner {
  max-width: 1340px; margin: 10px auto 0; padding: 8px 10px 8px 18px;
  border-radius: 24px; corner-shape: squircle;
  background: rgba(251,248,239,.96);
  box-shadow: 0 18px 50px -22px rgba(16,26,61,.45), inset 0 0 0 1px rgba(16,26,61,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
@supports (corner-shape: squircle) { html.svm.svm-float .nav-inner { border-radius: 40px; } }
html.svm.svm-float .brand { font-size: 23px; }
html.svm.svm-float .brand-mark { width: 30px; height: 30px; }
@media (max-width: 1380px) { html.svm.svm-float .nav-inner { margin-left: 12px; margin-right: 12px; } }

/* ---- menu button (compact widths) ---- */
.svm-menu-btn {
  display: none; position: relative; flex: none; width: 48px; height: 48px; margin-left: auto;
  border: 0; cursor: pointer; border-radius: 16px; corner-shape: squircle; background: #101a3d; color: #fff;
  box-shadow: 4px 4px 0 #00c2a8, 0 10px 24px -10px rgba(16,26,61,.6);
  transition: transform .45s var(--svm-ease), box-shadow .45s var(--svm-ease) !important;
}
.svm-menu-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #ff4d5e, 0 14px 26px -12px rgba(16,26,61,.7); }
.svm-menu-btn i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--svm-ease), top .5s var(--svm-ease), right .4s !important; }
.svm-menu-btn i:nth-child(1) { top: 19px; }
.svm-menu-btn i:nth-child(2) { top: 27px; right: 21px; }
.svm-menu-btn:hover i:nth-child(2) { right: 14px; }
html.svm.svm-compact .nav-links { display: none !important; }
html.svm.svm-compact .svm-menu-btn { display: block; }
@supports (corner-shape: squircle) { .svm-menu-btn { border-radius: 26px; } }

/* ---- full-screen menu ---- */
.svm-menu {
  position: fixed; inset: 0; z-index: 9985; display: none; overflow-y: auto;
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(0,194,168,.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(255,77,94,.20), transparent 60%),
    #0d1533;
  color: #fff; padding: 96px clamp(24px, 6vw, 72px) 48px;
}
html.svm-menu-open .svm-menu { display: block; }
.svm-menu-close {
  position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border: 0; cursor: pointer;
  border-radius: 18px; corner-shape: squircle; background: rgba(255,255,255,.08); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: background-color .3s, transform .45s var(--svm-ease) !important;
}
.svm-menu-close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }
.svm-menu-close::before, .svm-menu-close::after { content: ""; position: absolute; left: 15px; right: 15px; top: 25px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(45deg); }
.svm-menu-close::after { transform: rotate(-45deg); }
.svm-menu-kicker { font: 600 12px/1 "Fira Code", monospace; letter-spacing: .16em; text-transform: uppercase; color: #ffd166; margin: 0 0 22px; }
.svm-menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.svm-menu li { overflow: clip; }
.svm-menu ol a {
  display: flex; align-items: baseline; gap: 18px; padding: 8px 0; color: #fff; text-decoration: none;
  font: 650 clamp(30px, 6.4vw, 56px)/1.08 "Newsreader", Georgia, serif; letter-spacing: -.01em;
  transition: color .3s, transform .45s var(--svm-ease) !important;
}
.svm-menu ol a small { font: 500 12px/1 "Fira Code", monospace; color: #00c2a8; letter-spacing: .1em; min-width: 26px; }
.svm-menu ol a:hover, .svm-menu ol a:focus-visible { color: #ffd166; transform: translateX(10px); }
.svm-menu-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.svm-menu-ctas a {
  display: inline-flex; align-items: center; min-height: 50px; padding: 12px 24px; text-decoration: none;
  border-radius: 18px; corner-shape: squircle; font: 800 13px/1 "Atkinson Hyperlegible", sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: #ff4d5e; color: #fff; box-shadow: 0 12px 30px -12px rgba(255,77,94,.8);
}
.svm-menu-ctas a + a { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
@supports (corner-shape: squircle) { .svm-menu-ctas a, .svm-menu-close { border-radius: 30px; } }

/* ================================================================ WebGL aurora behind the hero */
html.svm .hero { position: relative; isolation: isolate; }
.svm-aurora {
  position: absolute; z-index: -1; pointer-events: none;
  top: -40px; bottom: -120px; left: 50%; width: 100vw; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  opacity: 0; transition: opacity 1.6s ease !important;
}
.svm-aurora.on { opacity: 1; }

/* ================================================================ hero headline */
html.svm .hero h1 .word { animation: none !important; opacity: 1 !important; transform: none !important; }
html.svm .hero h1 .accent path { animation: none !important; }
html.svm .hero h1 { perspective: 900px; }
html.svm .hero h1 .svm-ch { display: inline-block; transform-origin: 50% 100%; }
html.svm:not(.svm-ready) .hero h1 { visibility: hidden; }

/* ================================================================ cursor follower with labels */
.svm-cursor {
  position: fixed; left: 0; top: 0; z-index: 9995; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid rgba(16,26,61,.55); display: grid; place-items: center;
  transition: width .45s var(--svm-ease), height .45s var(--svm-ease), margin .45s var(--svm-ease), background-color .35s, border-color .35s, opacity .3s !important;
  opacity: 0;
}
.svm-cursor span { font: 600 10px/1 "Fira Code", monospace; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s !important; }
.svm-cursor.on { opacity: 1; }
.svm-cursor.hot { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(255,77,94,.12); border-color: rgba(255,77,94,.7); }
.svm-cursor.lbl { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: #101a3d; border-color: #101a3d; }
.svm-cursor.lbl span { opacity: 1; }
.svm-cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 9996; pointer-events: none;
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #ff4d5e; opacity: 0; transition: opacity .3s !important;
}
.svm-cursor-dot.on { opacity: 1; }
.svm-cursor.lbl + .svm-cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .svm-cursor, .svm-cursor-dot { display: none; } }

/* ================================================================ body buttons: liquid fill */
html.svm .btn { position: relative; overflow: hidden; isolation: isolate; }
html.svm .btn::after {
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; top: 100%; height: 220%;
  border-radius: 45% 45% 0 0; background: rgba(255,255,255,.18);
  transition: transform .6s cubic-bezier(.2,.7,.2,1) !important; transform: translateY(0);
}
html.svm .btn:hover::after { transform: translateY(-62%); }
html.svm .btn.light::after { background: rgba(16,26,61,.08); }

/* ================================================================ pointer sheen on cards */
html.svm .quick-card, html.svm .trust-tile, html.svm .journal-card, html.svm .ia-tile { position: relative; }
html.svm .svm-sheen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 42%);
  opacity: 0; transition: opacity .35s !important;
}
html.svm .svm-sheen:hover::before { opacity: 1; }

/* ================================================================ border beams (Magic UI style) */
/* the ring is a static mask; only the child rotates, which the compositor does without repainting */
.svm-beam {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; padding: 2px; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.svm-beam i {
  position: absolute; left: 50%; top: 50%; width: var(--svm-d, 1000px); height: var(--svm-d, 1000px);
  margin: calc(var(--svm-d, 1000px) / -2) 0 0 calc(var(--svm-d, 1000px) / -2);
  background: conic-gradient(transparent 0 68%, #00c2a8 78%, #ffd166 87%, #ff4d5e 94%, transparent 100%);
  will-change: transform; animation: svmRot 6s linear infinite !important;
}
.svm-beam.slow i { animation-duration: 9s !important; }
.svm-beam.fast i { animation-duration: 4s !important; }
@keyframes svmRot { to { transform: rotate(360deg); } }

/* ================================================================ split / ink */
html.svm .svm-w { display: inline; }

/* ================================================================ velocity word band */
.svm-band {
  position: relative; overflow: hidden; padding: 22px 0; margin: 10px 0 46px; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.svm-band-row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.svm-band-row span { font: 700 clamp(40px, 7vw, 104px)/1.08 "Newsreader", Georgia, serif; letter-spacing: -.02em; color: #101a3d; padding-right: .5em; }
.svm-band-row span em { font-style: italic; font-weight: 500; color: #ff4d5e; }
.svm-band-row span b { font-weight: 400; color: #00c2a8; margin: 0 .35em; font-size: .5em; vertical-align: .35em; }
.svm-band-row.outline span { color: transparent; -webkit-text-stroke: 1.4px rgba(16,26,61,.32); }
.svm-band-row.outline span em { color: transparent; -webkit-text-stroke: 1.4px rgba(255,77,94,.55); }
.svm-band-row.outline span b { color: rgba(0,194,168,.6); }

/* ================================================================ citation network in the indexing band */
html.svm .ia-band { position: relative; isolation: isolate; overflow: hidden; }
.svm-net { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.2s !important; }
.svm-net.on { opacity: 1; }

/* ================================================================ timeline spine */
html.svm .timeline { position: relative; }
.svm-spine { position: absolute; left: -18px; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: rgba(16,26,61,.10); overflow: hidden; }
.svm-spine i { position: absolute; left: 0; right: 0; top: 0; height: 100%; transform-origin: 50% 0; transform: scaleY(0); background: linear-gradient(#00c2a8, #ffd166, #ff4d5e); box-shadow: 0 0 10px rgba(0,194,168,.6); }
html.svm .timeline-step { transition: border-color .4s, box-shadow .4s, background-color .4s !important; }
html.svm .timeline-step.svm-on { border-color: rgba(0,194,168,.55); box-shadow: 0 18px 40px -26px rgba(16,26,61,.45); }
@media (max-width: 760px) { .svm-spine { left: -10px; } }

/* ================================================================ stat band sweep */
html.svm .stat-row { position: relative; overflow: hidden; }
.svm-sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255,209,102,.18) 50%, transparent 70%); transform: translateX(-100%); }


html.svm .ia-wall { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html:not(.svm-force) .svm-grain, html:not(.svm-force) .svm-aurora, html:not(.svm-force) .svm-cursor,
  html:not(.svm-force) .svm-cursor-dot, html:not(.svm-force) .svm-net { display: none !important; }
}
@media print { .svm-grain, .svm-cursor, .svm-cursor-dot, .svm-band, .svm-wordmark, .svm-menu, .svm-menu-btn { display: none !important; } }

/* ================================================================ lite mode (set by the frame-rate governor) */
html.svm-lite .svm-aurora, html.svm-lite .svm-net { opacity: 0 !important; transition: opacity .8s !important; }
html.svm-lite .svm-beam { display: none !important; }
html.svm-lite .cta-banner-inner a:not(.ghost)::before { animation: none !important; opacity: 0; }

/* ================================================================ v3: compositor-driven scroll motion
   Everything below animates only transform/opacity via CSS transitions, CSS scroll-driven
   animations or Web Animations, so it keeps running smoothly even when the main thread is busy. */
:root { --svm-out: cubic-bezier(.16,1,.3,1); --svm-spring: cubic-bezier(.34,1.56,.64,1); }

/* ---- reveal kinds (data-svm set by JS; .svm-rv added by IntersectionObserver) ---- */
html.svm [data-svm] {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform 1.15s var(--svm-out) var(--d, 0s) !important;
}
html.svm [data-svm="rise"]  { transform: translateY(56px); }
html.svm [data-svm="scale"] { transform: translateY(40px) scale(.9); }
html.svm [data-svm="side"]  { transform: translateX(-32px); }
html.svm [data-svm="slide"] { transform: translateX(60px); }
html.svm [data-svm="tilt"]  { transform: perspective(900px) translateY(80px) rotateX(-32deg); transform-origin: 50% 100%; }
html.svm [data-svm="flip"]  { transform: perspective(1000px) translateY(36px) rotateX(-68deg); transform-origin: 50% 0%; }
html.svm [data-svm="swing"] { transform: perspective(1000px) translateY(60px) rotateY(-18deg); }
html.svm [data-svm="pop"]   { transform: translateY(26px) scale(.62);
  transition: opacity .6s ease var(--d, 0s), transform 1.1s var(--svm-spring) var(--d, 0s) !important; }
html.svm [data-svm].svm-rv  { opacity: var(--svm-op, 1); transform: none; }

/* ---- headings rise line by line out of a mask ---- */
html.svm .svm-hd .svm-line { transform: translateY(112%) rotate(2.5deg); transform-origin: 0 100%;
  transition: transform 1.2s var(--svm-out) var(--d, 0s) !important; }
html.svm .svm-hd.svm-in .svm-line { transform: none; }

/* ---- intro paragraphs ink in line by line ---- */
html.svm .svm-ink .svm-iline { opacity: .14; transition: opacity 1s ease var(--d, 0s) !important; }
html.svm .svm-ink.svm-in .svm-iline { opacity: 1; }

/* ---- word band entrance (the rows themselves are Web Animations) ---- */
.svm-band { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1.2s var(--svm-out) !important; }
.svm-band.svm-in { opacity: 1; transform: none; }

/* ---- stat sweep, countdown ring, footer wordmark ---- */
.svm-swept .svm-sweep { transform: translateX(100%); transition: transform 2.2s cubic-bezier(.65,0,.35,1) !important; }
html.svm .svm-ring { stroke-dashoffset: 628 !important; transition: stroke-dashoffset 2s cubic-bezier(.65,0,.35,1) !important; }
html.svm .svm-ring.svm-in { stroke-dashoffset: var(--svm-ring) !important; }

/* ---- scroll-driven (Chrome/Edge 115+, Safari 26+): run on the compositor, tied to scroll position ---- */
@keyframes svmHeroOut   { to { transform: translateY(-12%); opacity: .35; } }
@keyframes svmDrift     { to { transform: translateY(-6%); } }
@keyframes svmAuroraPar { from { transform: translateX(-50%); } to { transform: translateX(-50%) translateY(18%); } }
@keyframes svmCoverPar  { from { transform: translateY(-6%) scale(1.12); } to { transform: translateY(6%) scale(1.12); } }
@keyframes svmSpine     { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@supports (animation-timeline: scroll()) {
  html.svm-scrollfx .hero .hero-copy {
    animation: svmHeroOut linear both !important; animation-duration: auto !important;
    animation-timeline: scroll(root) !important; animation-range: 0px 90vh !important; }
  html.svm-scrollfx .journey-card {
    animation: svmDrift linear both !important; animation-duration: auto !important;
    animation-timeline: scroll(root) !important; animation-range: 0px 100vh !important; }
  html.svm .svm-aurora {
    animation: svmAuroraPar linear both !important; animation-duration: auto !important;
    animation-timeline: scroll(root) !important; animation-range: 0px 100vh !important; }
  html.svm .journal-card .cover-3d img {
    animation: svmCoverPar linear both !important; animation-duration: auto !important;
    animation-timeline: view() !important; }
  html.svm .svm-spine i {
    animation: svmSpine linear both !important; animation-duration: auto !important;
    animation-timeline: view() !important; animation-range: cover 12% cover 78% !important; }
}
@supports not (animation-timeline: scroll()) {
  .svm-spine-in .svm-spine i { transform: scaleY(1); transition: transform 2.6s cubic-bezier(.65,0,.35,1) !important; }
}

/* ================================================================ v4: footer wordmark marquee */
.svm-wordmark {
  position: relative; display: block; min-width: 0; max-width: 100%; overflow: clip; margin: 22px 0 0; padding: 6px 0 2px;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  opacity: 0; transform: translateY(60px); transition: opacity 1.2s ease, transform 1.4s var(--svm-out) !important;
}
.svm-wordmark.svm-in { opacity: 1; transform: none; }
.svm-wm-track { display: flex; width: max-content; will-change: transform; }
.svm-wm-half { display: flex; flex: none; }
.svm-wm-unit {
  flex: none; white-space: nowrap; padding-right: .3em;
  font: 750 clamp(64px, 12.5vw, 190px)/.92 "Newsreader", Georgia, serif; letter-spacing: -.035em;
  color: rgba(255,255,255,.085);
}
.svm-wm-unit em { font-style: italic; font-weight: 500; color: rgba(255,77,94,.42); }
.svm-wm-unit b { display: inline-block; margin-left: .3em; font-weight: 400; font-size: .32em; vertical-align: .9em; color: rgba(255,209,102,.55); }

/* ================================================================ v4: motion on/off switch (shown whether motion is on or off) */
.svm-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 9970;
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 12px 0 14px;
  border: 0; cursor: pointer; color: #fff; font: 700 12px/1 "Atkinson Hyperlegible", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(16,26,61,.94); border-radius: 16px; corner-shape: squircle;
  box-shadow: 3px 3px 0 #00c2a8, 0 14px 30px -12px rgba(16,26,61,.6), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1) !important;
}
@supports (corner-shape: squircle) { .svm-toggle { border-radius: 24px; } }
.svm-toggle:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #ff4d5e, 0 18px 34px -14px rgba(16,26,61,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.svm-toggle:focus-visible { outline: 2px solid #ffd166; outline-offset: 3px; }
.svm-toggle-ic { color: #ffd166; font-size: 13px; }
.svm-toggle-sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background-color .25s !important; }
.svm-toggle-sw i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .26s cubic-bezier(.2,.7,.2,1) !important; }
.svm-toggle.is-on .svm-toggle-sw { background: #00c2a8; }
.svm-toggle.is-on .svm-toggle-sw i { transform: translateX(16px); }
.svm-toggle-st { min-width: 24px; color: #c6d0f2; font-size: 11px; }
.svm-toggle.is-on .svm-toggle-st { color: #00c2a8; }
@media (max-width: 620px) { .svm-toggle { right: 12px; bottom: 12px; height: 40px; } .svm-toggle-lb { display: none; } }
@media print { .svm-toggle { display: none !important; } }

/* sv-visit-black 2026-10-08: landing "Visit the Journal" button text = bold black (always on, with or without motion) */
.cta-banner-inner a:not(.ghost), .cta-banner-inner a:not(.ghost):hover, html.svm .cta-banner-inner a:not(.ghost), html.svm .cta-banner-inner a:not(.ghost):hover,
.cta-banner-inner a:not(.ghost) .svm-arr { color: #000 !important; font-weight: 900 !important; text-shadow: none !important; }
html.svm .nav-links a.svm-nav-cta, html.svm .nav-links a.svm-nav-cta:hover, html.svm .nav-links a.svm-nav-cta:focus-visible { color: #000 !important; font-weight: 900 !important; }
