/* ================================
   Variables
================================ */
:root {
  --black: #030303;
  --midnight: #0a1128;
  --midnight-2: #111936;
  --neon: #7b2cbf;
  --violet-hot: #b45cff;
  --cyan: #62f6ff;
  --silver: #f5f2ff;
  --muted: rgba(245, 242, 255, 0.68);
  --soft: rgba(245, 242, 255, 0.12);
  --hairline: rgba(245, 242, 255, 0.16);
  --glass: rgba(8, 10, 19, 0.58);
  --glass-strong: rgba(8, 10, 19, 0.82);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 1.15, 0.2, 1);
  --ease-drift: cubic-bezier(0.33, 1, 0.68, 1);
  --motion-distance: 34px;
  --motion-blur: 10px;
  --motion-glow: rgba(180, 92, 255, 0.36);
  --header-h: 82px;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* ================================
   Reset / Core
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--black);
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(10, 17, 40, 0.42), transparent 44%),
    linear-gradient(180deg, var(--black) 0%, #07070b 42%, #020203 100%);
  color: var(--silver);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button {
  cursor: none;
}

body.deep-active {
  overflow: hidden;
}

body.presentation-active {
  overflow: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

::selection {
  background: rgba(123, 44, 191, 0.72);
  color: #fff;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.fluid-canvas,
.rift-canvas,
.grain,
.ambient-field,
.spectral-vignette,
.route-progress,
.route-curtain,
.custom-cursor {
  pointer-events: none;
  position: fixed;
}

.fluid-canvas {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  opacity: 0.84;
}

.rift-canvas {
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  opacity: 0.82;
  mix-blend-mode: screen;
}

.ambient-field {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.035), transparent),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0 1px,
      transparent 1px 108px
    );
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.spectral-vignette {
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(
      circle at var(--cursor-x) var(--cursor-y),
      rgba(98, 246, 255, 0.12),
      rgba(123, 44, 191, 0.075) 18%,
      transparent 42%
    ),
    linear-gradient(90deg, rgba(3, 3, 3, 0.86), transparent 18%, transparent 82%, rgba(3, 3, 3, 0.9)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.76), transparent 28%, transparent 68%, rgba(3, 3, 3, 0.92));
  mix-blend-mode: screen;
  opacity: 0.58;
}

.grain {
  inset: -24%;
  z-index: 30;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 12% 18%, #fff 0 1px, transparent 1.35px),
    radial-gradient(circle at 68% 42%, #fff 0 1px, transparent 1.2px),
    radial-gradient(circle at 38% 78%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 82% 12%, #fff 0 1px, transparent 1.25px);
  background-size: 110px 110px, 150px 150px, 130px 130px, 90px 90px;
  animation: grainDrift 820ms steps(2, end) infinite;
}

.route-progress {
  top: 0;
  left: 0;
  z-index: 45;
  width: 100%;
  height: 2px;
  background: rgba(245, 242, 255, 0.05);
}

.route-progress span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--cyan), #fff);
  box-shadow: 0 0 24px rgba(98, 246, 255, 0.72);
  transform-origin: left;
  transition: width 720ms var(--ease-out-expo);
}

.click-burst {
  position: fixed;
  z-index: 79;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(98, 246, 255, 0.88);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: clickBurst 640ms var(--ease-out-expo) forwards;
  mix-blend-mode: screen;
}

.conversion-dock {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  width: min(360px, calc(100vw - 28px));
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 520ms var(--ease-out-expo),
    transform 720ms var(--ease-out-expo);
  pointer-events: none;
}

body.is-loaded .conversion-dock {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.presentation-active .conversion-dock,
body.deep-active .conversion-dock {
  opacity: 0;
  pointer-events: none;
}

.conversion-dock a {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(98, 246, 255, 0.1), transparent 54%),
    rgba(5, 7, 13, 0.68);
  color: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.conversion-dock a::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(110deg, transparent 34%, rgba(245, 242, 255, 0.16), transparent 62%);
  opacity: 0;
  transform: translateX(-60%);
  transition:
    opacity 260ms ease,
    transform 760ms var(--ease-out-expo);
}

.conversion-dock a:hover::before,
.conversion-dock a:focus-visible::before {
  opacity: 1;
  transform: translateX(60%);
}

.conversion-dock span,
.conversion-dock strong {
  position: relative;
  z-index: 1;
  display: block;
}

.conversion-dock span {
  color: rgba(98, 246, 255, 0.76);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.conversion-dock strong {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.site-shell {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  opacity: 0;
  transform: scale(0.94);
  transform-origin: center;
  transition:
    opacity 1100ms var(--ease-out-expo),
    transform 1400ms var(--ease-out-expo),
    filter 1400ms var(--ease-out-expo);
  filter: blur(16px);
}

body.is-loaded .site-shell {
  opacity: 1;
  transform: none;
  filter: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  width: 100%;
  min-height: var(--header-h);
  padding: 18px clamp(18px, 4vw, 56px);
  color: rgba(245, 242, 255, 0.88);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.72), rgba(3, 3, 3, 0));
  backdrop-filter: blur(18px);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

.brand {
  justify-self: start;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: inline-flex;
  gap: 6px;
  justify-self: center;
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.58);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
}

.nav-link,
.sound-toggle,
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 42px;
  border-radius: 999px;
  transition:
    transform 260ms var(--ease-fluid),
    border-color 260ms ease,
    background 260ms ease,
    color 260ms ease;
}

.nav-link::before,
.sound-toggle::before,
.button::before,
.vault-filter::before,
.terminal-quick-actions button::before,
.deep-dive__controls button::before,
.deep-dive__close::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(112deg, transparent 24%, rgba(245, 242, 255, 0.28), transparent 48%),
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(98, 246, 255, 0.16), transparent 28%);
  opacity: 0;
  transform: translateX(-120%) skewX(-10deg);
  transition:
    opacity 260ms ease,
    transform 720ms var(--ease-out-expo);
  pointer-events: none;
}

.nav-link:hover::before,
.nav-link:focus-visible::before,
.sound-toggle:hover::before,
.sound-toggle:focus-visible::before,
.button:hover::before,
.button:focus-visible::before,
.vault-filter:hover::before,
.vault-filter:focus-visible::before,
.terminal-quick-actions button:hover::before,
.terminal-quick-actions button:focus-visible::before,
.deep-dive__controls button:hover::before,
.deep-dive__controls button:focus-visible::before,
.deep-dive__close:hover::before,
.deep-dive__close:focus-visible::before {
  opacity: 0.74;
  transform: translateX(120%) skewX(-10deg);
}

.nav-link > *,
.sound-toggle > *,
.button > *,
.vault-filter > *,
.terminal-quick-actions button > *,
.deep-dive__controls button > *,
.deep-dive__close > * {
  position: relative;
  z-index: 1;
}

.nav-link {
  display: inline-grid;
  place-items: center;
  padding: 0 17px;
  color: rgba(245, 242, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 760;
}

.nav-link.active {
  background: rgba(245, 242, 255, 0.11);
  color: #fff;
  box-shadow: inset 0 0 28px rgba(123, 44, 191, 0.18);
}

.sound-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  background: rgba(5, 7, 13, 0.56);
  color: rgba(245, 242, 255, 0.7);
  backdrop-filter: blur(20px);
}

.sound-toggle__glyph {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.42);
  box-shadow: 0 0 0 0 rgba(123, 44, 191, 0);
}

.sound-toggle[aria-pressed="true"] .sound-toggle__glyph {
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(98, 246, 255, 0.88);
}

.nav-link:hover,
.sound-toggle:hover,
.button:hover {
  transform: translateY(-2px) scale(1.01);
}

.nav-link:active,
.sound-toggle:active,
.button:active,
.vault-filter:active,
.terminal-quick-actions button:active,
.deep-dive__controls button:active {
  transform: translateY(0) scale(0.985);
}

.route-stage {
  position: relative;
  min-height: 100vh;
}

.route-view {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  padding: calc(var(--header-h) + 28px) clamp(18px, 5vw, 76px) 54px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.988);
  transition:
    opacity 620ms var(--ease-out-expo),
    transform 780ms var(--ease-out-expo),
    visibility 0ms linear 780ms;
}

.route-view:not(.active) {
  position: absolute;
  inset: 0;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.988);
  pointer-events: none;
}

.route-view.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 150ms, 150ms, 0ms;
}

body.is-loaded .route-view.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-delay: 0ms;
}

.route-view.is-route-entering {
  animation: routeSceneIn 960ms var(--ease-out-expo) both;
}

.route-view.is-route-entering .hero__kicker,
.route-view.is-route-entering .hero__title,
.route-view.is-route-entering .hero__signal-strip,
.route-view.is-route-entering .hero__copy,
.route-view.is-route-entering .hero__actions,
.route-view.is-route-entering .hero__telemetry,
.route-view.is-route-entering .signal-panel,
.route-view.is-route-entering .home-system__intro,
.route-view.is-route-entering .service-matrix,
.route-view.is-route-entering .brand-manifesto,
.route-view.is-route-entering .closing-portal,
.route-view.is-route-entering .vault-hero,
.route-view.is-route-entering .vault-intel,
.route-view.is-route-entering .vault-toolbar,
.route-view.is-route-entering .vault-showcase,
.route-view.is-route-entering .terminal-window,
.route-view.is-route-entering .capability-stack,
.route-view.is-route-entering .route-seal {
  animation: routeElementIn 980ms var(--ease-out-expo) both;
}

.route-view.is-route-entering .hero__title {
  animation-delay: 80ms;
}

.route-view.is-route-entering .hero__signal-strip,
.route-view.is-route-entering .hero__copy,
.route-view.is-route-entering .vault-intel,
.route-view.is-route-entering .terminal-window {
  animation-delay: 150ms;
}

.route-view.is-route-entering .hero__actions,
.route-view.is-route-entering .vault-toolbar,
.route-view.is-route-entering .capability-stack {
  animation-delay: 240ms;
}

.route-view.is-route-entering .hero__telemetry,
.route-view.is-route-entering .signal-panel,
.route-view.is-route-entering .brand-manifesto,
.route-view.is-route-entering .closing-portal,
.route-view.is-route-entering .vault-showcase,
.route-view.is-route-entering .route-seal {
  animation-delay: 320ms;
}

/* ================================
   Preloader / Transitions
================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(123, 44, 191, 0.18), transparent 28%),
    radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.035), transparent 22%),
    linear-gradient(180deg, #000 0%, #030304 44%, #000 100%);
  transition:
    opacity 820ms var(--ease-out-expo),
    visibility 0ms linear 820ms,
    transform 980ms var(--ease-out-expo);
  --boot-progress: 0;
  --logo-scale: 0.88;
  --spiral-offset: 720;
  --particle-opacity: 0.9;
  --field-opacity: 0.18;
  --core-aura-opacity: 0.14;
  --core-aura-scale: 0.86;
  --ring-aura-opacity: 0;
  --aura-rotate: 0deg;
  --deep-aura-opacity: 0.16;
  --deep-aura-scale: 0.86;
  --white-aura-opacity: 0.08;
  --white-aura-scale: 0.72;
  --smoke-opacity: 0.08;
  --smoke-scale: 0.82;
  --smoke-rotate: 0deg;
  --logo-bloom-opacity: 0.18;
  --logo-bloom-lock-opacity: 0.36;
  --shock-opacity: 0;
  --shock-white-opacity: 0;
  --shock-purple-opacity: 0;
  --shock-scale: 0.48;
  --veil-opacity: 0.12;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 210deg at 50% 50%, transparent 0 11%, rgba(123, 44, 191, 0.16) 17%, transparent 27%, rgba(255, 255, 255, 0.045) 33%, transparent 42%, rgba(123, 44, 191, 0.18) 52%, transparent 63%),
    radial-gradient(ellipse at 50% 52%, rgba(123, 44, 191, 0.12), transparent 31%);
  opacity: var(--field-opacity);
  filter: blur(12px);
  transform: rotate(0deg) scale(1.02);
  animation: signatureField 7600ms linear infinite;
  pointer-events: none;
}

.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 13%, rgba(255, 255, 255, var(--shock-white-opacity)) 14%, transparent 19%),
    radial-gradient(circle at 50% 50%, transparent 0 21%, rgba(123, 44, 191, var(--shock-purple-opacity)) 23%, transparent 32%),
    radial-gradient(ellipse at 50% 52%, transparent 0 21%, rgba(0, 0, 0, 0.72) 48%, #000 82%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.96));
  opacity: 0.92;
  transform: scale(var(--shock-scale));
  mix-blend-mode: screen;
  pointer-events: none;
}

.preloader__mist {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: var(--veil-opacity);
  mix-blend-mode: screen;
  pointer-events: none;
}

.preloader__stage {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(88vw, 440px);
  will-change: opacity, transform;
  animation: markStageIn 960ms var(--ease-out-expo) both;
}

.preloader__mark-box {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(230px, 31vw, 340px);
  aspect-ratio: 1;
  overflow: visible;
  transform: scale(var(--logo-scale));
  will-change: transform, filter;
  transition:
    filter 620ms ease,
    transform 860ms var(--ease-out-expo);
}

.preloader__mark-box::before,
.preloader__mark-box::after {
  content: "";
  position: absolute;
  inset: -36%;
  border-radius: 50%;
  pointer-events: none;
}

.preloader__mark-box::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.24), rgba(123, 44, 191, 0.16) 18%, transparent 48%);
  opacity: var(--core-aura-opacity);
  filter: blur(16px);
  transform: scale(var(--core-aura-scale));
  animation: auraBreath 2600ms ease-in-out infinite alternate;
}

.preloader__mark-box::after {
  background:
    conic-gradient(from 120deg, transparent, rgba(255, 255, 255, 0.18), rgba(123, 44, 191, 0.18), transparent 42%, rgba(255, 255, 255, 0.12), transparent);
  opacity: var(--ring-aura-opacity);
  filter: blur(22px);
  mix-blend-mode: screen;
  transform: rotate(var(--aura-rotate)) scale(1.08);
}

.preloader__particles {
  position: absolute;
  top: -44%;
  left: -44%;
  z-index: 2;
  width: 188%;
  height: 188%;
  opacity: var(--particle-opacity);
  mix-blend-mode: screen;
}

.preloader__aura {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  transition:
    opacity 720ms ease,
    transform 920ms var(--ease-out-expo);
}

.preloader__aura--deep {
  inset: 8%;
  background:
    radial-gradient(circle, rgba(123, 44, 191, 0.32), rgba(123, 44, 191, 0.12) 24%, transparent 63%);
  filter: blur(13px);
  opacity: var(--deep-aura-opacity);
  transform: scale(var(--deep-aura-scale));
  animation: vaporPulse 2200ms ease-in-out infinite alternate;
}

.preloader__aura--white {
  inset: 18%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.11) 28%, transparent 62%);
  filter: blur(10px);
  opacity: var(--white-aura-opacity);
  transform: scale(var(--white-aura-scale));
  animation: auraBreath 1800ms ease-in-out infinite alternate-reverse;
}

.preloader__aura--smoke {
  inset: -22%;
  background:
    conic-gradient(from 260deg, transparent 0 18%, rgba(123, 44, 191, 0.2) 24%, transparent 34%, rgba(255, 255, 255, 0.1) 48%, transparent 58%, rgba(123, 44, 191, 0.16) 74%, transparent 86%);
  filter: blur(18px);
  opacity: var(--smoke-opacity);
  transform: rotate(var(--smoke-rotate)) scale(var(--smoke-scale));
  animation: smokeCurl 5200ms linear infinite;
}

.preloader__mark {
  position: relative;
  z-index: 4;
  width: 68%;
  height: 68%;
  overflow: visible;
}

.preloader__spiral {
  fill: none;
  stroke: #fff;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  stroke-width: 10;
  stroke-dasharray: 720;
  stroke-dashoffset: var(--spiral-offset);
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 36px rgba(123, 44, 191, 0.24));
  transition:
    stroke-dashoffset 180ms linear,
    filter 480ms ease,
    stroke-width 520ms ease;
}

.preloader__spiral--ghost {
  stroke: rgba(255, 255, 255, 0.075);
  stroke-dashoffset: 0;
  filter: none;
}

.preloader__spiral--bloom {
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 19;
  opacity: var(--logo-bloom-opacity);
  filter:
    blur(5px)
    drop-shadow(0 0 26px rgba(255, 255, 255, 0.56))
    drop-shadow(0 0 72px rgba(123, 44, 191, 0.52));
}

.preloader__spiral--core {
  stroke: #fff;
}

.preloader__signature {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 11%;
  color: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition:
    opacity 520ms ease,
    transform 720ms var(--ease-out-expo);
}

.preloader__reveal {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 50%, rgba(3, 3, 3, 0) 0 18%, rgba(123, 44, 191, 0.18) 26%, rgba(3, 3, 3, 0.64) 48%, rgba(3, 3, 3, 0.92) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 16%);
  opacity: 0;
  transform: scale(0.62);
  will-change: opacity, transform;
  mix-blend-mode: normal;
  pointer-events: none;
}

.preloader.is-locking .preloader__mark-box {
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.18));
  transform: scale(1);
}

.preloader.is-locking .preloader__mark-box::before {
  animation: preloaderAuraLock 860ms var(--ease-out-expo) both;
}

.preloader.is-locking .preloader__mark-box::after {
  animation: preloaderCoronaLock 1120ms var(--ease-out-expo) both;
}

.preloader.is-locking .preloader__signature {
  opacity: 1;
  transform: translate(-50%, 0);
}

.preloader.is-locking .preloader__spiral--core {
  stroke-width: 11;
  filter:
    drop-shadow(0 0 13px rgba(255, 255, 255, 0.58))
    drop-shadow(0 0 34px rgba(123, 44, 191, 0.34));
}

.preloader.is-locking .preloader__spiral--bloom {
  opacity: var(--logo-bloom-lock-opacity);
  filter:
    blur(5px)
    drop-shadow(0 0 26px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 70px rgba(123, 44, 191, 0.42));
}

.preloader.is-revealing .preloader__stage {
  animation: markExit 940ms var(--ease-out-expo) forwards;
}

.preloader.is-revealing .preloader__reveal {
  animation: markReveal 980ms var(--ease-out-expo) forwards;
}

.preloader.is-revealing::after {
  animation: preloaderFinalBloom 980ms var(--ease-out-expo) forwards;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scale(1.08);
}

.preloader[hidden] {
  display: none;
}

.route-curtain {
  inset: 0;
  z-index: 40;
  background:
    linear-gradient(90deg, rgba(245, 242, 255, 0.03), rgba(123, 44, 191, 0.26)),
    rgba(7, 8, 15, 0.54);
  backdrop-filter: blur(50px);
  transform: translateX(-110%) skewX(-7deg);
  box-shadow: 32px 0 100px rgba(123, 44, 191, 0.28);
  overflow: hidden;
}

.route-curtain::before,
.route-curtain::after {
  content: "";
  position: absolute;
  inset: -18% 18%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.16), rgba(180, 92, 255, 0.2), transparent);
  opacity: 0;
  transform: translateX(-70%) rotate(8deg);
}

.route-curtain::after {
  inset: 0 36%;
  background: linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.18), transparent);
  transform: translateX(70%) rotate(-8deg);
}

.route-curtain.is-sweeping {
  animation: glassCurtain 1080ms var(--ease-out-expo) forwards;
}

.route-curtain.is-sweeping::before {
  animation: curtainSignalOne 1080ms var(--ease-out-expo) forwards;
}

.route-curtain.is-sweeping::after {
  animation: curtainSignalTwo 1080ms var(--ease-out-expo) forwards;
}

/* ================================
   Cursor / Magnetic Text
================================ */
.custom-cursor {
  top: 0;
  left: 0;
  z-index: 80;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(0.7);
  transition:
    opacity 220ms ease,
    width 260ms var(--ease-fluid),
    height 260ms var(--ease-fluid),
    margin 260ms var(--ease-fluid),
    border-color 260ms ease;
  will-change: transform, width, height;
}

.custom-cursor__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.7),
    0 0 26px rgba(180, 92, 255, 0.44);
  transform: translate(-50%, -50%);
  animation: cursorCorePulse 1800ms ease-in-out infinite alternate;
}

body.has-custom-cursor .custom-cursor {
  opacity: 1;
}

.custom-cursor.is-active {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-color: rgba(98, 246, 255, 0.9);
  box-shadow:
    0 0 18px rgba(98, 246, 255, 0.28),
    inset 0 0 18px rgba(180, 92, 255, 0.16);
}

.custom-cursor.is-active .custom-cursor__core {
  transform: translate(-50%, -50%) scale(1.45);
}

.magnetic-text {
  display: inline-block;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

/* ================================
   Home / Hero
================================ */
.route-view--home {
  --home-x: 50%;
  --home-y: 44%;
  --home-drift: 0px;
  --home-tilt: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  align-items: end;
  gap: clamp(24px, 6vw, 84px);
  isolation: isolate;
  overflow: hidden;
  perspective: 1200px;
}

.route-view--home::before {
  content: "";
  position: absolute;
  inset: calc(var(--header-h) + 10px) clamp(18px, 5vw, 76px) auto;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.28), transparent),
    linear-gradient(90deg, transparent 8%, rgba(98, 246, 255, 0.52), rgba(180, 92, 255, 0.72), transparent 92%);
  box-shadow: 0 0 36px rgba(123, 44, 191, 0.22);
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(calc(var(--home-drift) * 0.16));
  animation: homeHorizonPulse 4.8s ease-in-out infinite alternate;
}

.route-view--home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--home-x) var(--home-y), rgba(245, 242, 255, 0.075), transparent 9%),
    radial-gradient(ellipse at var(--home-x) var(--home-y), rgba(180, 92, 255, 0.16), transparent 29%),
    linear-gradient(115deg, transparent 0 28%, rgba(98, 246, 255, 0.045) 39%, transparent 48% 100%);
  mix-blend-mode: screen;
  opacity: 0.72;
  pointer-events: none;
  transform: translate3d(calc(var(--home-drift) * -0.04), 0, 0);
}

.home-portal-canvas,
.home-chroma-field {
  position: absolute;
  pointer-events: none;
}

.home-portal-canvas {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.86;
  filter: saturate(1.18) contrast(1.08);
  mix-blend-mode: screen;
}

.home-chroma-field {
  inset: calc(var(--header-h) + 14px) 0 auto;
  z-index: 0;
  height: min(64vh, 680px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.home-chroma-field span {
  position: absolute;
  inset: auto 7% 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.55), rgba(245, 242, 255, 0.2), transparent);
  opacity: 0.42;
  transform: translateY(calc(var(--index, 0) * -92px)) rotate(calc(var(--index, 0) * -2deg));
  animation: homeSpectralSweep 8.2s ease-in-out infinite alternate;
}

.home-chroma-field span:nth-child(2) {
  --index: 1;
  inset-inline: 16% 4%;
  background: linear-gradient(90deg, transparent, rgba(180, 92, 255, 0.58), transparent);
  animation-duration: 9.6s;
}

.home-chroma-field span:nth-child(3) {
  --index: 2;
  inset-inline: 4% 18%;
  background: linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.34), rgba(123, 44, 191, 0.48), transparent);
  animation-duration: 11s;
}

.hero {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 1120px);
  padding-top: 8vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 4% auto auto -5%;
  z-index: -1;
  width: min(54vw, 620px);
  height: min(54vw, 620px);
  border: 1px solid rgba(245, 242, 255, 0.045);
  background:
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(98, 246, 255, 0.035) 24px 25px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(180, 92, 255, 0.035) 24px 25px);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 18% 100%, 0 82%);
  opacity: 0.62;
  transform:
    translate3d(calc(var(--home-drift) * -0.05), 0, -120px)
    rotateX(58deg)
    rotateZ(-16deg);
  transform-origin: 50% 62%;
  animation: homeBlueprintDrift 9s ease-in-out infinite alternate;
}

.hero__kicker,
.eyebrow {
  margin: 0 0 22px;
  color: rgba(98, 246, 255, 0.74);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__title {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shadow-x: 10px;
  --shadow-y: 10px;
  position: relative;
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(4.4rem, 11.8rem, 16.8rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
  text-shadow:
    calc(var(--shadow-x) * 0.14) calc(var(--shadow-y) * 0.14) 0 rgba(98, 246, 255, 0.7),
    calc(var(--shadow-x) * 0.28) calc(var(--shadow-y) * 0.28) 0 rgba(123, 44, 191, 0.72),
    calc(var(--shadow-x) * 0.44) calc(var(--shadow-y) * 0.44) 0 rgba(10, 17, 40, 0.88),
    calc(var(--shadow-x) * 0.72) calc(var(--shadow-y) * 0.72) 44px rgba(123, 44, 191, 0.5);
  transform-style: preserve-3d;
  animation: heroTitleGlow 6800ms ease-in-out infinite alternate;
  will-change: transform, text-shadow;
}

.hero__title span {
  position: relative;
  z-index: 2;
  display: inline-block;
}

.hero__title span::after {
  content: "VYNNY.DEV";
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background:
    linear-gradient(
      108deg,
      transparent 0 35%,
      rgba(255, 255, 255, 0.98) 44%,
      rgba(180, 92, 255, 0.82) 48%,
      rgba(98, 246, 255, 0.7) 52%,
      transparent 62% 100%
    );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  clip-path: polygon(0 18%, 100% 4%, 100% 28%, 0 42%, 0 58%, 100% 46%, 100% 62%, 0 78%);
  opacity: 0;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.28))
    drop-shadow(0 0 26px rgba(180, 92, 255, 0.22));
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translate3d(0, 0, 36px);
  animation: heroSignatureSweep 6200ms var(--ease-drift) infinite;
}

.hero__title::before,
.hero__title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__title::before {
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(98, 246, 255, 0.26);
  clip-path: polygon(0 7%, 100% 0, 100% 22%, 0 30%, 0 42%, 100% 36%, 100% 50%, 0 57%, 0 76%, 100% 68%, 100% 83%, 0 92%);
  filter: drop-shadow(0 0 18px rgba(98, 246, 255, 0.2));
  opacity: 0.32;
  transform: translate3d(calc(var(--home-drift) * 0.08), -0.018em, 24px);
  animation: heroSpectralSlice 7600ms ease-in-out infinite;
}

.hero__title::after {
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 242, 255, 0.12);
  transform: translate3d(0.04em, 0.06em, -80px) skewX(var(--home-tilt));
  filter:
    blur(1px)
    drop-shadow(calc(var(--home-drift) * -0.08) 0 28px rgba(180, 92, 255, 0.38));
}

.hero__signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100%, 680px);
  margin-top: 24px;
}

.hero__signal-strip span {
  position: relative;
  overflow: hidden;
  min-height: 30px;
  padding: 8px 11px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(98, 246, 255, 0.08), transparent 45%, rgba(180, 92, 255, 0.08)),
    rgba(4, 6, 13, 0.42);
  color: rgba(245, 242, 255, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
  font-weight: 880;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 24px rgba(123, 44, 191, 0.08);
}

.hero__signal-strip span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(245, 242, 255, 0.28), transparent);
  opacity: 0;
  transform: translateX(-100%);
  animation: homeChipSheen 4.6s ease-in-out infinite;
  animation-delay: calc(var(--chip-delay, 0) * 600ms);
}

.hero__signal-strip span:nth-child(2) {
  --chip-delay: 1;
}

.hero__signal-strip span:nth-child(3) {
  --chip-delay: 2;
}

.hero__copy,
.section-copy {
  max-width: 670px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.72;
}

.hero__copy {
  position: relative;
  padding-left: 18px;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(98, 246, 255, 0.76), rgba(180, 92, 255, 0.5), transparent);
  box-shadow: 0 0 20px rgba(98, 246, 255, 0.28);
  transform: scaleY(0.78);
  transform-origin: center;
  animation: homeCopyNeedle 3.8s ease-in-out infinite alternate;
}

.vault-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.vault-stats div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.48);
  backdrop-filter: blur(18px);
}

.vault-stats strong {
  display: block;
  color: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.38rem;
  line-height: 1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-grid;
  place-items: center;
  padding: 0 22px;
  font-weight: 850;
}

.button--primary {
  background:
    linear-gradient(135deg, rgba(123, 44, 191, 1), rgba(98, 246, 255, 0.22)),
    #7528b8;
  color: #fff;
  box-shadow:
    0 20px 70px rgba(123, 44, 191, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button--ghost {
  border: 1px solid var(--hairline);
  background: rgba(245, 242, 255, 0.055);
  color: rgba(245, 242, 255, 0.78);
  backdrop-filter: blur(18px);
}

.signal-panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  align-self: end;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.56);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px);
  animation: panelHoverDrift 7.8s ease-in-out infinite alternate;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(180, 92, 255, 0.12), transparent 38%),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 31px);
  opacity: 0.58;
  pointer-events: none;
  transform: translateX(calc(var(--home-drift) * -0.08));
}

.signal-panel::after {
  content: "";
  position: absolute;
  inset: -42%;
  background:
    conic-gradient(from 90deg, transparent 0 18%, rgba(98, 246, 255, 0.12), transparent 32% 100%),
    conic-gradient(from 270deg, transparent 0 62%, rgba(180, 92, 255, 0.16), transparent 77% 100%);
  opacity: 0.42;
  pointer-events: none;
  transform: rotate(0deg);
  animation: signalPanelScan 12s linear infinite;
}

.signal-panel > * {
  position: relative;
  z-index: 1;
}

.signal-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(245, 242, 255, 0.1);
  color: rgba(245, 242, 255, 0.54);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.signal-panel__header strong {
  color: rgba(98, 246, 255, 0.86);
  font-weight: 850;
}

.signal-panel__reactor {
  position: relative;
  display: grid;
  place-items: center;
  height: 126px;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 242, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at center, rgba(245, 242, 255, 0.06), transparent 18%),
    linear-gradient(180deg, rgba(98, 246, 255, 0.055), rgba(123, 44, 191, 0.075)),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 18px),
    rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 0 36px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(123, 44, 191, 0.08);
}

.signal-panel__reactor span,
.signal-panel__reactor i,
.signal-panel__reactor b {
  position: absolute;
  display: block;
  border: 1px solid rgba(245, 242, 255, 0.14);
  transform-style: preserve-3d;
}

.signal-panel__reactor span {
  width: 84px;
  height: 84px;
  border-color: rgba(180, 92, 255, 0.42);
  box-shadow:
    0 0 22px rgba(180, 92, 255, 0.22),
    inset 0 0 22px rgba(98, 246, 255, 0.08);
  transform: rotate(45deg);
  animation: reactorCube 5.5s linear infinite;
}

.signal-panel__reactor i {
  width: 116px;
  height: 24px;
  border-radius: 999px;
  border-color: rgba(98, 246, 255, 0.34);
  opacity: 0.74;
  animation: reactorBand 4.8s ease-in-out infinite alternate;
}

.signal-panel__reactor b {
  width: 5px;
  height: 5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.82),
    0 0 30px rgba(180, 92, 255, 0.7);
  animation: reactorSpark 2.1s ease-in-out infinite;
}

.signal-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(245, 242, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-panel__row strong {
  color: #fff;
}

.signal-panel__bar {
  height: 4px;
  margin: 11px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.1);
}

.signal-panel__bar span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  background-size: 190% 100%;
  box-shadow: 0 0 24px rgba(98, 246, 255, 0.42);
  animation: meterCurrent 3400ms ease-in-out infinite alternate;
}

.waveform {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 5px;
  height: 58px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 242, 255, 0.1);
}

.waveform span {
  display: block;
  height: var(--h);
  min-height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(98, 246, 255, 0.86), rgba(123, 44, 191, 0.34));
  box-shadow: 0 0 20px rgba(98, 246, 255, 0.22);
  transform-origin: bottom;
  animation: waveformLift 1.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--h) * -0.018);
}

.hero__telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 10px;
  width: min(100%, 560px);
  margin-top: 34px;
}

.hero__telemetry div {
  position: relative;
  overflow: hidden;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 242, 255, 0.075), rgba(245, 242, 255, 0.018)),
    rgba(5, 7, 13, 0.48);
  backdrop-filter: blur(18px);
  transform: translateY(0);
  transform-style: preserve-3d;
  transition:
    transform 460ms var(--ease-out-expo),
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.hero__telemetry div:hover {
  border-color: rgba(98, 246, 255, 0.34);
  box-shadow: 0 0 42px rgba(123, 44, 191, 0.18);
  transform: translateY(-5px) rotateX(3deg);
}

.hero__telemetry div::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(98, 246, 255, 0.75), transparent);
  opacity: 0.64;
}

.hero__telemetry div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(245, 242, 255, 0.12), transparent);
  opacity: 0;
  transform: translateX(-100%);
  animation: telemetrySweep 4.9s ease-in-out infinite;
}

.hero__telemetry span,
.vault-stats span,
.service-tile span {
  color: rgba(98, 246, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__telemetry strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.42rem;
}

.home-system {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
  margin-top: clamp(50px, 10vh, 120px);
  padding: clamp(26px, 5vw, 54px) 0 4px;
  border-top: 1px solid rgba(245, 242, 255, 0.1);
}

.home-system::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(64%, 740px);
  height: 1px;
  background: linear-gradient(90deg, rgba(98, 246, 255, 0.72), rgba(180, 92, 255, 0.52), transparent);
  box-shadow: 0 0 30px rgba(98, 246, 255, 0.18);
  transform: translateX(calc(var(--home-drift) * 0.06));
}

.home-system__title {
  margin: 0;
  max-width: 540px;
  color: #fff;
  font-size: clamp(2.1rem, 4.1rem, 5.4rem);
  font-weight: 940;
  line-height: 0.96;
  letter-spacing: 0;
}

.home-system__readout {
  display: grid;
  gap: 8px;
  width: min(100%, 360px);
  margin-top: 28px;
}

.home-system__readout span {
  position: relative;
  min-height: 28px;
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid rgba(245, 242, 255, 0.09);
  color: rgba(245, 242, 255, 0.54);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-system__readout span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(98, 246, 255, 0.88);
  box-shadow:
    0 0 12px rgba(98, 246, 255, 0.58),
    0 0 24px rgba(180, 92, 255, 0.32);
  transform: translateY(-50%) scale(0.72);
  animation: readoutPulse 2.7s ease-in-out infinite alternate;
  animation-delay: calc(var(--readout-delay, 0) * 220ms);
}

.home-system__readout span:nth-child(2) {
  --readout-delay: 1;
}

.home-system__readout span:nth-child(3) {
  --readout-delay: 2;
}

.home-system__readout span:nth-child(4) {
  --readout-delay: 3;
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-tile {
  position: relative;
  overflow: hidden;
  min-height: 198px;
  padding: 20px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.018)),
    rgba(6, 8, 16, 0.54);
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translate3d(0, 24px, 0) rotateX(7deg);
  transform-style: preserve-3d;
  transition:
    opacity 740ms var(--ease-out-expo),
    transform 820ms var(--ease-out-expo),
    border-color 320ms ease,
    box-shadow 320ms ease;
  transition-delay: calc(var(--tile-index, 0) * 90ms);
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(98, 246, 255, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 42px);
  opacity: 0.18;
  transform: translateX(-24%);
  animation: tileInternalDrift 7600ms ease-in-out infinite alternate;
  transition:
    opacity 360ms ease,
    transform 700ms var(--ease-out-expo);
}

.service-tile::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(98, 246, 255, 0.36);
  border-bottom: 1px solid rgba(180, 92, 255, 0.32);
  opacity: 0.42;
  transform: translate3d(8px, 8px, 24px);
  transition:
    opacity 360ms ease,
    transform 600ms var(--ease-out-expo);
}

.service-tile:hover::before {
  opacity: 0.94;
  transform: translateX(20%);
}

.service-tile:hover::after {
  opacity: 0.92;
  transform: translate3d(0, 0, 34px);
}

.service-tile.is-seen {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(0deg);
}

.service-tile:hover {
  border-color: rgba(180, 92, 255, 0.32);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    0 0 54px rgba(123, 44, 191, 0.15),
    inset 0 0 44px rgba(98, 246, 255, 0.035);
  transform: translate3d(var(--tile-pull-x, 0), var(--tile-pull-y, -5px), 0) rotateX(var(--tile-tilt-y, 0deg)) rotateY(var(--tile-tilt-x, 0deg));
}

.service-tile h3 {
  position: relative;
  margin: 26px 0 12px;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.08;
}

.service-tile p {
  position: relative;
  margin: 0;
  color: rgba(245, 242, 255, 0.62);
  line-height: 1.58;
}

.brand-manifesto,
.closing-portal {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(98, 246, 255, 0.07), transparent 40%, rgba(123, 44, 191, 0.11)),
    rgba(5, 7, 13, 0.56);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px);
}

.brand-manifesto {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 54px);
  margin-top: clamp(30px, 7vh, 72px);
  padding: clamp(24px, 5vw, 48px);
}

.brand-manifesto::before,
.closing-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.028) 0 1px, transparent 1px 46px),
    linear-gradient(120deg, transparent, rgba(245, 242, 255, 0.08), transparent);
  opacity: 0.58;
  pointer-events: none;
  transform: translateX(-18%);
  animation: tileInternalDrift 11s ease-in-out infinite alternate;
}

.brand-manifesto > *,
.closing-portal > * {
  position: relative;
  z-index: 1;
}

.brand-manifesto__title,
.closing-portal__title {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 4.3rem, 5.8rem);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.manifesto-grid article {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.28);
  transition:
    transform 360ms var(--ease-out-expo),
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.manifesto-grid article:hover {
  border-color: rgba(98, 246, 255, 0.28);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), 0 0 34px rgba(123, 44, 191, 0.12);
  transform: translateY(-4px);
}

.manifesto-grid span {
  color: rgba(98, 246, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto-grid p,
.closing-portal p {
  margin: 12px 0 0;
  color: rgba(245, 242, 255, 0.68);
  line-height: 1.58;
}

.closing-portal {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  margin: clamp(40px, 8vh, 86px) auto 0;
  padding: clamp(22px, 4vw, 40px);
}

.route-view--vault .closing-portal,
.route-view--terminal .closing-portal {
  max-width: 1180px;
}

.closing-portal__signal {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(245, 242, 255, 0.12), transparent 48%),
    rgba(3, 3, 3, 0.28);
}

.closing-portal__signal span,
.closing-portal__signal i,
.closing-portal__signal b {
  position: absolute;
  display: block;
}

.closing-portal__signal span {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(98, 246, 255, 0.34);
  transform: rotate(45deg);
  animation: terminalMarkTurn 7s linear infinite;
}

.closing-portal__signal i {
  width: 78px;
  height: 22px;
  border: 1px solid rgba(180, 92, 255, 0.26);
  border-radius: 999px;
  animation: reactorBand 4.6s ease-in-out infinite alternate;
}

.closing-portal__signal b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.84),
    0 0 34px rgba(180, 92, 255, 0.68);
  animation: reactorSpark 2.8s ease-in-out infinite;
}

.closing-portal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 220px;
}

/* ================================
   Vault
================================ */
.route-view--vault {
  min-height: 100vh;
}

.vault-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
  align-items: start;
}

.vault-intro {
  position: sticky;
  top: calc(var(--header-h) + 42px);
}

.section-title {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.6rem, 5.8rem, 7.2rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: 0;
}

.project-columns {
  display: grid;
  gap: 18px;
  padding-bottom: 16vh;
}

.project-category {
  padding: 22px 0 26px;
  border-top: 1px solid var(--hairline);
}

.project-category__label {
  margin: 0 0 18px;
  color: rgba(98, 246, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 13px 0 16px;
  background: transparent;
  color: rgba(245, 242, 255, 0.86);
  font-size: clamp(2rem, 4.8rem, 6.5rem);
  font-weight: 920;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 44, 191, 0.82), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 460ms var(--ease-fluid);
}

.project-link:hover::after,
.project-link:focus-visible::after {
  transform: scaleX(1);
}

.project-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11;
  --preview-x: calc(50vw - 260px);
  --preview-y: calc(50vh - 170px);
  width: clamp(300px, 34vw, 520px);
  aspect-ratio: 1.5;
  opacity: 0;
  translate: var(--preview-x) var(--preview-y);
  scale: 0.76;
  rotate: -1.6deg;
  transition:
    opacity 260ms ease,
    scale 520ms var(--ease-out-expo),
    rotate 520ms var(--ease-out-expo),
    filter 420ms ease;
  filter: drop-shadow(0 32px 90px rgba(0, 0, 0, 0.62));
  isolation: isolate;
  pointer-events: none;
  will-change: translate, scale, rotate, opacity;
}

.project-preview.is-visible {
  opacity: 1;
  scale: 1;
  rotate: 0deg;
}

.project-preview canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(245, 242, 255, 0.18);
  border-radius: 8px;
  background: #07080d;
  filter: url("#liquid-shatter");
  transition: opacity 320ms ease, mix-blend-mode 320ms ease;
}

.project-preview__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(245, 242, 255, 0.2);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: url("#liquid-shatter") saturate(1.08) contrast(1.05) brightness(0.94);
  transform: scale(1.026);
  transition:
    opacity 300ms ease,
    transform 620ms var(--ease-out-expo),
    filter 420ms ease;
}

.project-preview.has-real-media canvas {
  opacity: 0.24;
  mix-blend-mode: screen;
}

.project-preview.has-real-media .project-preview__image {
  opacity: 1;
  transform: scale(1);
}

.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(98, 246, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.18), transparent 28%, transparent 64%, rgba(123, 44, 191, 0.16)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 40px);
  mix-blend-mode: screen;
  opacity: 0.58;
}

.project-preview__meta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.78), rgba(3, 3, 3, 0.46)),
    rgba(5, 7, 13, 0.72);
  color: #fff;
  backdrop-filter: blur(18px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.project-preview__meta span {
  color: rgba(245, 242, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-preview__meta strong {
  min-width: 0;
  max-width: 34ch;
  overflow: hidden;
  color: #fff;
  font-size: clamp(1rem, 1.24rem, 1.44rem);
  font-weight: 950;
  line-height: 1;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ================================
   Vault 2.0 / Case Command Room
================================ */
.route-view--vault {
  overflow: visible;
  padding-bottom: 32px;
}

.vault-command {
  position: relative;
  z-index: 2;
  --vault-a: var(--neon);
  --vault-b: var(--cyan);
  --vault-c: #101735;
}

.vault-command::before {
  content: "";
  position: absolute;
  inset: -6vh -5vw auto;
  height: 44vh;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(123, 44, 191, 0.16), transparent 36%, rgba(98, 246, 255, 0.08)),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 86px);
  mask-image: linear-gradient(180deg, #000, transparent);
  animation: commandGridDrift 10s ease-in-out infinite alternate;
}

.vault-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  margin-bottom: 26px;
}

.vault-hero .section-title {
  max-width: 980px;
}

.vault-intel {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(280px, 1.4fr) minmax(190px, 0.8fr);
  gap: 10px;
  margin: 0 0 18px;
}

.vault-intel__card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--vault-a) 10%, transparent), transparent 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(5, 7, 13, 0.6);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  transition:
    transform 420ms var(--ease-out-expo),
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.vault-intel__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--vault-b) 18%, transparent), transparent 26%),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 38px);
  opacity: 0.62;
  pointer-events: none;
}

.vault-intel__card::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vault-b), rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.32;
  transform: scaleX(0.3);
  transform-origin: left;
  animation: intelSignalTrace 4200ms ease-in-out infinite;
}

.vault-intel__card:hover {
  border-color: color-mix(in srgb, var(--vault-b) 34%, rgba(245, 242, 255, 0.12));
  box-shadow:
    0 32px 110px rgba(0, 0, 0, 0.32),
    0 0 48px color-mix(in srgb, var(--vault-a) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.vault-intel__card span,
.vault-proof > span,
.vault-atmosphere span {
  position: relative;
  color: rgba(98, 246, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vault-intel__card strong {
  position: relative;
  display: block;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(1.06rem, 1.8rem, 2.35rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.vault-intel__card p {
  position: relative;
  max-width: 38ch;
  margin: 12px 0 0;
  color: rgba(245, 242, 255, 0.64);
  font-size: 0.9rem;
  line-height: 1.48;
}

.vault-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  min-height: 18px;
}

.vault-timeline i,
.vault-timeline::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  height: 1px;
  background: rgba(245, 242, 255, 0.12);
  transform: translateY(-50%);
}

.vault-timeline i {
  right: auto;
  width: var(--timeline, 52%);
  background: linear-gradient(90deg, var(--vault-a), var(--vault-b));
  background-size: 180% 100%;
  box-shadow: 0 0 22px color-mix(in srgb, var(--vault-b) 58%, transparent);
  animation: meterCurrent 3200ms ease-in-out infinite alternate;
}

.vault-timeline b {
  position: relative;
  z-index: 1;
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid color-mix(in srgb, var(--vault-b) 62%, rgba(255, 255, 255, 0.2));
  border-radius: 999px;
  background: #05070d;
  box-shadow:
    0 0 0 5px rgba(245, 242, 255, 0.035),
    0 0 22px color-mix(in srgb, var(--vault-a) 34%, transparent);
}

.vault-toolbar {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  margin-bottom: 24px;
  padding: 7px;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(24px);
}

.vault-filter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: transparent;
  color: rgba(245, 242, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  transition:
    transform 260ms var(--ease-fluid),
    background 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease;
}

.vault-filter:hover,
.vault-filter.active {
  color: #fff;
  background: rgba(245, 242, 255, 0.1);
  box-shadow:
    inset 0 0 26px rgba(123, 44, 191, 0.2),
    0 0 0 1px rgba(98, 246, 255, 0.08);
}

.vault-filter:hover {
  transform: translateY(-1px);
}

.vault-filter-readout {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-left: 1px solid rgba(245, 242, 255, 0.12);
  color: rgba(98, 246, 255, 0.78);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.vault-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
  min-width: 0;
}

.project-deck {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 640px;
}

.route-view--vault.is-route-entering .project-deck .project-link:not(.is-hidden),
.project-deck.is-filtering .project-link:not(.is-hidden) {
  animation: vaultCardArrive 760ms var(--ease-out-expo) both;
  animation-delay: calc(var(--visible-index, var(--project-index, 0)) * 54ms + 120ms);
}

.project-deck .project-link {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(54px, 76px);
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
  min-height: 112px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(245, 242, 255, 0.07), transparent 50%),
    rgba(5, 7, 13, 0.52);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  text-transform: none;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
  transform-origin: 42% 50%;
  transition:
    opacity 360ms ease,
    transform 420ms var(--ease-out-expo),
    border-color 260ms ease,
    background 260ms ease;
}

.project-deck .project-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(98, 246, 255, 0.14), transparent 34%),
    linear-gradient(90deg, color-mix(in srgb, var(--case-a, var(--neon)) 22%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 320ms ease;
}

.project-deck .project-link::after {
  content: attr(data-codename);
  position: absolute;
  top: 12px;
  right: 14px;
  bottom: auto;
  left: auto;
  display: block;
  width: auto;
  height: auto;
  background: none;
  color: color-mix(in srgb, var(--case-b, var(--cyan)) 72%, rgba(245, 242, 255, 0.4));
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.62rem;
  font-weight: 860;
  letter-spacing: 0.12em;
  opacity: 0.72;
  transform: none;
  transition: opacity 260ms ease;
}

.project-deck .project-link:hover,
.project-deck .project-link.active {
  transform: translateX(10px) rotateY(-2deg);
  border-color: color-mix(in srgb, var(--case-b, var(--cyan)) 42%, rgba(255, 255, 255, 0.08));
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--case-b, var(--cyan)) 14%, transparent), color-mix(in srgb, var(--case-a, var(--neon)) 11%, transparent)),
    rgba(7, 9, 18, 0.72);
}

.project-deck .project-link:hover::before,
.project-deck .project-link.active::before {
  opacity: 1;
}

.project-deck .project-link.is-hidden {
  display: none;
}

.project-link__index {
  position: relative;
  color: rgba(98, 246, 255, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  font-weight: 900;
}

.project-link__body {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.project-link__category {
  min-width: 0;
  color: rgba(98, 246, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-link__body strong {
  min-width: 0;
  max-width: 100%;
  color: #fff;
  font-size: clamp(1.24rem, 1.75vw, 2.25rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-link__body small {
  min-width: 0;
  max-width: 100%;
  color: rgba(245, 242, 255, 0.56);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.project-link__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.project-link__badges span {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(245, 242, 255, 0.1);
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.045);
  color: rgba(245, 242, 255, 0.66);
  font-size: 0.62rem;
  font-weight: 830;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-link__signal {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.1);
}

.project-link__signal i {
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--neon), var(--cyan));
  background-size: 180% 100%;
  box-shadow: 0 0 18px rgba(98, 246, 255, 0.5);
  animation: signalBarPulse 2400ms ease-in-out infinite alternate;
}

.vault-case-panel {
  position: sticky;
  top: calc(var(--header-h) + 86px);
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  isolation: isolate;
}

.vault-case-panel::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(245, 242, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 242, 255, 0.055), transparent 32%),
    linear-gradient(120deg, color-mix(in srgb, var(--vault-b) 8%, transparent), transparent 54%),
    rgba(3, 3, 3, 0.28);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
  animation: vaultCaseAura 6200ms ease-in-out infinite alternate;
}

.vault-case-panel.is-switching {
  animation: casePanelSwitch 780ms var(--ease-out-expo) both;
}

.vault-panel-top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
}

.vault-panel-top > div,
.case-score {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(98, 246, 255, 0.075), transparent 54%),
    rgba(5, 7, 13, 0.62);
  backdrop-filter: blur(20px);
}

.vault-panel-top > div:first-child {
  flex: 1;
}

.vault-panel-top span,
.case-score span {
  color: rgba(98, 246, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vault-panel-top strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  line-height: 1;
}

.case-score {
  display: grid;
  place-items: center;
  min-width: 96px;
  text-align: center;
}

.case-score strong {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.76rem;
  font-weight: 950;
  text-shadow: 0 0 22px rgba(98, 246, 255, 0.44);
}

.vault-stage {
  --stage-a: #7b2cbf;
  --stage-b: #62f6ff;
  --stage-c: #101735;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 24%, color-mix(in srgb, var(--stage-b) 28%, transparent), transparent 28%),
    radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--stage-a) 32%, transparent), transparent 32%),
    linear-gradient(135deg, var(--stage-c), #030303 64%);
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.42),
    inset 0 0 70px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
}

.vault-stage.is-switching {
  animation: vaultStageIgnite 780ms var(--ease-out-expo) both;
}

.vault-stage canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: opacity 420ms ease, mix-blend-mode 420ms ease;
}

.vault-stage__asset {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(1.08) contrast(1.05) brightness(0.78);
  transform: scale(1.055);
  transition:
    opacity 520ms ease,
    transform 900ms var(--ease-out-expo),
    filter 520ms ease;
}

.vault-stage.has-real-media {
  background:
    radial-gradient(circle at 72% 24%, color-mix(in srgb, var(--stage-b) 16%, transparent), transparent 28%),
    radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--stage-a) 22%, transparent), transparent 32%),
    #030303;
}

.vault-stage.has-real-media .vault-stage__asset {
  opacity: 0.82;
  transform: scale(1.015);
}

.vault-stage.has-real-media canvas {
  opacity: 0.26;
  mix-blend-mode: screen;
}

.vault-stage::before,
.vault-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(245, 242, 255, 0.13);
  transform: rotate(-12deg);
}

.vault-stage::before {
  top: 13%;
  left: 12%;
  width: 54%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  animation: stagePaneFloat 5400ms ease-in-out infinite alternate;
}

.vault-stage::after {
  right: 11%;
  bottom: 14%;
  width: 28%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(98, 246, 255, 0.18), transparent),
    rgba(3, 3, 3, 0.38);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
  animation: stagePaneFloat 6200ms ease-in-out infinite alternate-reverse;
}

.vault-stage.has-real-media::before,
.vault-stage.has-real-media::after {
  opacity: 0.48;
  mix-blend-mode: screen;
}

.vault-stage__glass {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.48);
  backdrop-filter: blur(20px);
}

.vault-stage__glass span,
.vault-case-copy span,
.vault-readouts span {
  color: rgba(98, 246, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vault-stage__glass strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.7rem, 2.8rem, 3.6rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.vault-case-copy,
.vault-readouts,
.vault-proof,
.vault-atmosphere {
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.56);
  backdrop-filter: blur(20px);
}

.vault-case-copy {
  padding: 16px;
}

.vault-case-copy p {
  margin: 10px 0 14px;
  color: rgba(245, 242, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.5;
}

.vault-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vault-tags span {
  min-height: 30px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.055);
  color: rgba(245, 242, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
}

.vault-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 242, 255, 0.09);
}

.vault-deliverables span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  color: rgba(245, 242, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

.vault-deliverables i {
  color: rgba(98, 246, 255, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-style: normal;
  font-size: 0.68rem;
}

.vault-proof {
  position: relative;
  overflow: hidden;
  padding: 14px;
}

.vault-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--vault-a) 12%, transparent), transparent 58%),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 34px);
  opacity: 0.72;
  pointer-events: none;
}

.vault-proof ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: proof-step;
  list-style: none;
}

.vault-proof li {
  counter-increment: proof-step;
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(245, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.26);
  color: rgba(245, 242, 255, 0.76);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.34;
}

.vault-proof li::before {
  content: "0" counter(proof-step);
  display: block;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--vault-b) 72%, rgba(255, 255, 255, 0.4));
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.66rem;
  font-weight: 900;
}

.vault-atmosphere {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.vault-atmosphere div {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 12px;
}

.vault-atmosphere i {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.08);
}

.vault-atmosphere i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--vault-a), var(--vault-b));
  background-size: 180% 100%;
  box-shadow: 0 0 18px color-mix(in srgb, var(--vault-b) 42%, transparent);
  animation: meterCurrent 3000ms ease-in-out infinite alternate;
}

.vault-readouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vault-readouts div {
  min-height: 76px;
  padding: 12px;
  border-right: 1px solid rgba(245, 242, 255, 0.1);
}

.vault-readouts div:last-child {
  border-right: 0;
}

.vault-readouts strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.22;
}

.vault-open-case {
  width: 100%;
  min-height: 50px;
}

.vault-present-case {
  width: 100%;
  min-height: 48px;
}

.case-presentation {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 58px);
  background:
    radial-gradient(ellipse at 50% 46%, color-mix(in srgb, var(--vault-b, var(--cyan)) 18%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.88), rgba(3, 3, 3, 0.96));
  opacity: 0;
  pointer-events: none;
}

.case-presentation.is-open {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  animation: presentationFadeIn 540ms var(--ease-out-expo) both;
}

.case-presentation__shell {
  position: relative;
  overflow: hidden;
  width: min(100%, 1040px);
  min-height: min(76vh, 680px);
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--vault-b, var(--cyan)) 10%, transparent), transparent 38%, color-mix(in srgb, var(--vault-a, var(--neon)) 18%, transparent)),
    rgba(5, 7, 13, 0.78);
  box-shadow:
    0 50px 160px rgba(0, 0, 0, 0.56),
    0 0 90px color-mix(in srgb, var(--vault-a, var(--neon)) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px);
  animation: presentationShellIn 760ms var(--ease-out-expo) both;
}

.case-presentation__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.026) 0 1px, transparent 1px 42px);
  opacity: 0.55;
  pointer-events: none;
}

.case-presentation__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 242, 255, 0.16);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.44);
  color: #fff;
  font-size: 1.38rem;
  backdrop-filter: blur(18px);
}

.case-presentation__progress {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background: rgba(245, 242, 255, 0.08);
}

.case-presentation__progress span {
  display: block;
  width: var(--presentation-progress, 20%);
  height: 100%;
  background: linear-gradient(90deg, var(--vault-a, var(--neon)), var(--vault-b, var(--cyan)), #fff);
  background-size: 200% 100%;
  box-shadow: 0 0 24px color-mix(in srgb, var(--vault-b, var(--cyan)) 60%, transparent);
  transition: width 520ms var(--ease-out-expo);
  animation: meterCurrent 2200ms ease-in-out infinite alternate;
}

.case-presentation__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(22px, 4vw, 46px) 0;
  color: rgba(98, 246, 255, 0.72);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-presentation__meta strong {
  color: #fff;
}

.case-presentation__stage {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.46fr);
  column-gap: clamp(18px, 4vw, 54px);
  min-height: 460px;
  padding: clamp(34px, 6vw, 70px) clamp(22px, 5vw, 66px);
}

.case-presentation__stage > p,
.case-presentation__stage > h2,
.case-presentation__chips {
  grid-column: 1;
}

.case-presentation__visual {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: stretch;
  position: relative;
  min-height: 360px;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--vault-b, var(--cyan)) 24%, transparent), transparent 28%),
    linear-gradient(150deg, color-mix(in srgb, var(--vault-a, var(--neon)) 18%, transparent), transparent 48%),
    rgba(3, 3, 3, 0.32);
  box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.035),
    0 40px 120px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.case-presentation__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(1.08) contrast(1.04) brightness(0.78);
  transform: scale(1.045);
  transition:
    opacity 520ms ease,
    transform 820ms var(--ease-out-expo),
    filter 520ms ease;
}

.case-presentation__visual.has-real-media .case-presentation__image {
  opacity: 0.78;
  transform: scale(1.01);
}

.case-presentation__visual::before {
  content: "";
  position: absolute;
  inset: 14%;
  z-index: 1;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.04) 0 1px, transparent 1px 30px);
  transform: rotate(-8deg);
  animation: stagePaneFloat 6200ms ease-in-out infinite alternate;
}

.case-presentation__visual.has-real-media::before {
  inset: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.05), rgba(3, 3, 3, 0.62)),
    linear-gradient(110deg, color-mix(in srgb, var(--vault-a, var(--neon)) 24%, transparent), transparent 52%),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 34px);
  opacity: 0.9;
  transform: none;
  mix-blend-mode: normal;
}

.case-presentation__visual span,
.case-presentation__visual i,
.case-presentation__visual b {
  position: absolute;
  z-index: 2;
  display: block;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 242, 255, 0.13), transparent),
    rgba(5, 7, 13, 0.36);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.case-presentation__visual.has-real-media span,
.case-presentation__visual.has-real-media i,
.case-presentation__visual.has-real-media b {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.24),
    0 0 34px color-mix(in srgb, var(--vault-b, var(--cyan)) 14%, transparent);
  opacity: 0.34;
  mix-blend-mode: screen;
  backdrop-filter: none;
}

.case-presentation__visual span {
  left: 10%;
  top: 16%;
  width: 54%;
  aspect-ratio: 16 / 10;
  transform: rotate(-10deg);
}

.case-presentation__visual i {
  right: 11%;
  top: 22%;
  width: 28%;
  aspect-ratio: 9 / 16;
  transform: rotate(8deg);
}

.case-presentation__visual b {
  left: 22%;
  bottom: 16%;
  width: 64%;
  height: 18%;
  transform: rotate(3deg);
}

.case-presentation__stage.is-switching {
  animation: presentationSlideIn 520ms var(--ease-out-expo) both;
}

.case-presentation__stage p:first-child {
  margin: 0 0 18px;
  color: rgba(98, 246, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.case-presentation__stage h2 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 7.4rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-presentation__stage p:not(:first-child) {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(245, 242, 255, 0.72);
  font-size: 1.04rem;
  line-height: 1.58;
}

.case-presentation__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.case-presentation__chips span {
  min-height: 30px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.055);
  color: rgba(245, 242, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 840;
  text-transform: uppercase;
}

.case-presentation__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 clamp(22px, 4vw, 46px) 30px;
}

.project-preview {
  width: clamp(300px, 34vw, 520px);
  mix-blend-mode: normal;
  pointer-events: none;
}

/* ================================
   Deep Dive
================================ */
.deep-dive {
  --case-a: #7b2cbf;
  --case-b: #62f6ff;
  --case-c: #101735;
  position: fixed;
  inset: 0;
  z-index: 25;
  overflow: hidden;
  visibility: hidden;
  background:
    linear-gradient(110deg, color-mix(in srgb, var(--case-a) 24%, transparent), transparent 46%),
    linear-gradient(180deg, color-mix(in srgb, var(--case-c) 82%, #030303), rgba(3, 3, 3, 0.98));
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 650ms var(--ease-out-expo),
    visibility 0ms linear 850ms;
}

.deep-dive:not(.is-open) {
  display: none;
}

.deep-dive.is-open {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0ms;
}

.deep-dive.is-entering .deep-cover-copy,
.deep-dive.is-entering .deep-brief-grid article,
.deep-dive.is-entering .case-hero-frame,
.deep-dive.is-entering .deep-device,
.deep-dive.is-entering .story-beat,
.deep-dive.is-entering .metric-block,
.deep-dive.is-entering .deep-panel--end p,
.deep-dive.is-entering .deep-end-actions {
  animation: deepElementMaterialize 880ms var(--ease-out-expo) both;
}

.deep-dive.is-entering .case-hero-frame--tall,
.deep-dive.is-entering .deep-device--phone,
.deep-dive.is-entering .story-beat:nth-child(2),
.deep-dive.is-entering .metric-block:nth-child(2) {
  animation-delay: 120ms;
}

.deep-dive.is-entering .case-hero-frame--wide,
.deep-dive.is-entering .deep-device--poster,
.deep-dive.is-entering .story-beat:nth-child(3),
.deep-dive.is-entering .metric-block:nth-child(3),
.deep-dive.is-entering .deep-end-actions {
  animation-delay: 220ms;
}

.deep-dive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(245, 242, 255, 0.045) 0 1px,
      transparent 1px 13vw
    );
  opacity: 0.4;
}

.deep-dive::after {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 18%, color-mix(in srgb, var(--case-b) 14%, transparent) 38%, transparent 58%),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(245, 242, 255, 0.026) 42px 43px);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: deepAtmosphere 9200ms ease-in-out infinite alternate;
}

.deep-dive__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.68);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  backdrop-filter: blur(20px);
  overflow: hidden;
  isolation: isolate;
}

.deep-dive__hud,
.deep-dive__controls {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deep-dive__hud {
  top: 24px;
  left: 24px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.64);
  color: rgba(245, 242, 255, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  backdrop-filter: blur(20px);
}

.deep-dive__hud span:first-child {
  color: rgba(98, 246, 255, 0.86);
}

.deep-dive__controls {
  right: 86px;
  top: 24px;
}

.deep-dive__controls button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.64);
  color: rgba(245, 242, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  backdrop-filter: blur(20px);
  transition:
    transform 220ms var(--ease-fluid),
    color 220ms ease,
    border-color 220ms ease;
}

.deep-dive__controls button:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(98, 246, 255, 0.36);
}

.deep-dive__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  background: rgba(245, 242, 255, 0.08);
}

.deep-dive__progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--cyan), #fff);
  background-size: 200% 100%;
  box-shadow: 0 0 26px rgba(98, 246, 255, 0.76);
  animation: meterCurrent 2200ms ease-in-out infinite alternate;
}

.deep-dive__track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.deep-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: clamp(28px, 5vw, 64px);
}

.deep-dive [data-depth] {
  transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) var(--depth-transform, none);
}

.deep-panel--cover {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: center;
  justify-items: stretch;
  place-items: center stretch;
  overflow: hidden;
}

.deep-cover-copy {
  position: relative;
  z-index: 2;
  align-self: end;
}

.deep-panel--cover h2 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 7.8rem, 10rem);
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.deep-cover-copy > #deepCopy {
  max-width: 580px;
  margin: 14px 0 0;
  color: rgba(245, 242, 255, 0.7);
  font-size: 1.04rem;
  line-height: 1.55;
}

.deep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.deep-meta span {
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 242, 255, 0.12);
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.055);
  color: rgba(245, 242, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 820;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.deep-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin-top: 16px;
}

.deep-brief-grid article {
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(245, 242, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--case-b) 10%, transparent), transparent 56%),
    rgba(5, 7, 13, 0.58);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 360ms var(--ease-out-expo);
}

.deep-brief-grid article:hover {
  border-color: color-mix(in srgb, var(--case-b) 34%, rgba(245, 242, 255, 0.14));
  box-shadow:
    0 30px 96px rgba(0, 0, 0, 0.32),
    0 0 44px color-mix(in srgb, var(--case-a) 20%, transparent);
  transform: translateY(-4px);
}

.deep-brief-grid span {
  color: rgba(98, 246, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.deep-brief-grid p {
  margin: 12px 0 0;
  color: rgba(245, 242, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.42;
}

.deep-cover-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(60vh, 540px);
  min-height: 360px;
  align-self: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.deep-cover-visual::before {
  content: "";
  position: absolute;
  inset: 10% -4% 8% 2%;
  border: 1px solid rgba(245, 242, 255, 0.09);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.055) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.038) 0 1px, transparent 1px 48px);
  opacity: 0.6;
  transform: rotateY(-18deg) rotateX(8deg);
  animation: deepBlueprintDrift 6400ms ease-in-out infinite alternate;
}

.case-hero-frame {
  position: absolute;
  display: grid;
  place-items: end start;
  --media-image: none;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(245, 242, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--case-b) 18%, transparent), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    color-mix(in srgb, var(--case-c) 78%, #030303);
  box-shadow:
    0 46px 120px rgba(0, 0, 0, 0.46),
    0 0 70px color-mix(in srgb, var(--case-a) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform-style: preserve-3d;
  will-change: transform;
  animation: caseFrameFloat 6200ms ease-in-out infinite alternate;
}

.case-hero-frame.has-real-media {
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.02), rgba(3, 3, 3, 0.68)),
    linear-gradient(125deg, color-mix(in srgb, var(--case-a) 24%, transparent), transparent 48%),
    var(--media-image),
    color-mix(in srgb, var(--case-c) 78%, #030303);
  background-position: center;
  background-size: cover;
}

.case-hero-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 6px;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--case-a) 30%, transparent), transparent 48%),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.08) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.045) 0 1px, transparent 1px 42px);
}

.case-hero-frame.has-real-media::before {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.1), transparent 34%, rgba(123, 44, 191, 0.16)),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.055) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.032) 0 1px, transparent 1px 44px);
  opacity: 0.74;
  mix-blend-mode: screen;
}

.case-hero-frame::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, 0.24), transparent 58%);
  transform: translateX(-42%) rotate(8deg);
  animation: frameSheen 5200ms ease-in-out infinite;
}

.case-hero-frame span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 24px color-mix(in srgb, var(--case-b) 52%, transparent);
}

.case-hero-frame.has-real-media span {
  padding: 9px 11px;
  border: 1px solid rgba(245, 242, 255, 0.16);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.54);
  backdrop-filter: blur(14px);
}

.case-hero-frame--main {
  top: 20%;
  left: 2%;
  width: min(74%, 690px);
  aspect-ratio: 16 / 10;
  --depth-transform: rotateY(-13deg) rotateX(4deg) rotateZ(-3deg);
}

.case-hero-frame--tall {
  top: 6%;
  right: 11%;
  width: min(25%, 190px);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  --depth-transform: translateZ(82px) rotateY(-15deg) rotateZ(4deg);
  animation-delay: -1600ms;
}

.case-hero-frame--wide {
  left: 19%;
  bottom: 8%;
  width: min(59%, 500px);
  aspect-ratio: 16 / 7;
  --depth-transform: translateZ(60px) rotateY(-9deg) rotateZ(4deg);
  animation-delay: -2800ms;
}

.deep-panel--visual {
  overflow: hidden;
}

.deep-device {
  position: absolute;
  display: grid;
  place-items: end start;
  --media-image: none;
  padding: 18px;
  border: 1px solid rgba(245, 242, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(7, 8, 16, 0.72);
  box-shadow:
    0 46px 130px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  will-change: transform;
}

.deep-device.has-real-media {
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.04), rgba(3, 3, 3, 0.62)),
    linear-gradient(135deg, color-mix(in srgb, var(--case-b) 18%, transparent), transparent 48%),
    var(--media-image),
    rgba(7, 8, 16, 0.72);
  background-position: center;
  background-size: cover;
}

.deep-device::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 6px;
  background:
    linear-gradient(120deg, rgba(98, 246, 255, 0.16), transparent 48%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px 32px);
  opacity: 0.78;
}

.deep-device.has-real-media::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), transparent 38%, color-mix(in srgb, var(--case-a) 20%, transparent)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 30px);
  opacity: 0.82;
  mix-blend-mode: screen;
}

.deep-device span {
  position: relative;
  z-index: 1;
  color: rgba(245, 242, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.deep-device.has-real-media span {
  padding: 9px 11px;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.58);
  color: #fff;
  backdrop-filter: blur(14px);
}

.deep-device--browser {
  top: 15%;
  left: 7%;
  z-index: 1;
  width: min(54vw, 660px);
  aspect-ratio: 16 / 10;
}

.deep-device--phone {
  top: 18%;
  right: 14%;
  z-index: 3;
  width: min(16vw, 170px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
}

.deep-device--poster {
  right: 34%;
  bottom: 6%;
  z-index: 2;
  width: min(23vw, 290px);
  aspect-ratio: 4 / 5;
  --depth-transform: rotate(-7deg);
}

.deep-panel--story {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  align-items: center;
}

.story-beat {
  position: relative;
  min-height: 46vh;
  padding: 24px;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(98, 246, 255, 0.09), transparent 42%),
    rgba(6, 8, 16, 0.64);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(24px);
  transition:
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.story-beat:hover {
  border-color: color-mix(in srgb, var(--case-b) 32%, rgba(245, 242, 255, 0.16));
  box-shadow:
    0 48px 140px rgba(0, 0, 0, 0.4),
    0 0 56px color-mix(in srgb, var(--case-a) 18%, transparent);
}

.story-beat::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 44, 191, 0.8), transparent);
}

.story-beat span {
  color: rgba(98, 246, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-beat p {
  margin: 32px 0 0;
  color: #fff;
  font-size: 1.34rem;
  font-weight: 760;
  line-height: 1.38;
}

.floating-card,
.metric-block {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 242, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03)),
    rgba(7, 8, 16, 0.72);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  will-change: transform;
}

.floating-card span,
.metric-block span {
  position: relative;
  z-index: 1;
  color: rgba(245, 242, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-card--screen {
  top: 16%;
  left: 16%;
  width: min(56vw, 560px);
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(120deg, rgba(98, 246, 255, 0.14), transparent 46%),
    repeating-linear-gradient(
      0deg,
      rgba(245, 242, 255, 0.08) 0 1px,
      transparent 1px 34px
    ),
    rgba(7, 8, 16, 0.84);
}

.floating-card--logo {
  top: 50%;
  right: 18%;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.floating-card--video {
  right: 34%;
  bottom: 12%;
  width: min(42vw, 430px);
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(90deg, rgba(123, 44, 191, 0.32), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent),
    rgba(7, 8, 16, 0.84);
}

.deep-panel--metrics {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 24px;
}

.metric-block {
  position: relative;
  align-content: center;
  justify-items: center;
  gap: 18px;
  min-height: 44vh;
  width: min(26vw, 340px);
  min-width: 0;
  padding: clamp(18px, 2.4vw, 32px);
  overflow: hidden;
  text-align: center;
}

.metric-block::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--case-b) 16%, transparent), transparent 32%);
  opacity: 0.5;
  animation: signalPanelScan 8400ms linear infinite;
  pointer-events: none;
}

.metric-block strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  min-width: 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 7.4rem);
  font-weight: 950;
  line-height: 0.9;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.metric-block.is-text-metric strong {
  font-size: clamp(1.65rem, 4vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.metric-block.is-long-metric strong {
  font-size: clamp(1.34rem, 3.3vw, 2.8rem);
  line-height: 1.02;
}

.deep-panel--end {
  gap: 28px;
}

.deep-panel--end p {
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 6.2rem, 8.5rem);
  font-weight: 950;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.deep-end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(100%, 520px);
}

.deep-end-actions .button {
  flex: 1 1 220px;
}

/* ================================
   Terminal
================================ */
.route-view--terminal {
  --terminal-x: 50%;
  --terminal-y: 50%;
  --terminal-drift: 0px;
  --terminal-glow: 0.38;
  position: relative;
  display: grid;
  align-items: start;
  align-content: start;
  padding-top: calc(var(--header-h) + clamp(18px, 4vh, 34px));
  overflow: hidden;
  isolation: isolate;
  perspective: 1300px;
}

.route-view--terminal::before,
.route-view--terminal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.route-view--terminal::before {
  inset: calc(var(--header-h) + 14px) clamp(18px, 5vw, 72px) auto;
  z-index: 0;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.4), rgba(245, 242, 255, 0.24), rgba(180, 92, 255, 0.56), transparent),
    linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.18), transparent);
  box-shadow:
    0 0 28px rgba(98, 246, 255, 0.18),
    0 0 54px rgba(123, 44, 191, 0.2);
  opacity: 0.72;
  transform: translateX(calc(var(--terminal-drift) * 0.1));
  animation: terminalHorizon 4.8s ease-in-out infinite alternate;
}

.route-view--terminal::after {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--terminal-x) var(--terminal-y), rgba(245, 242, 255, 0.09), transparent 8%),
    radial-gradient(ellipse at var(--terminal-x) var(--terminal-y), rgba(123, 44, 191, 0.18), transparent 32%),
    linear-gradient(128deg, transparent 0 32%, rgba(98, 246, 255, 0.045), transparent 48% 100%);
  mix-blend-mode: screen;
  opacity: var(--terminal-glow);
}

.terminal-field-canvas,
.terminal-depth-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.terminal-field-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.68;
  filter: saturate(1.15) contrast(1.08);
  mix-blend-mode: screen;
}

.terminal-depth-lines {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent);
}

.terminal-depth-lines span {
  position: absolute;
  right: 4%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.34), rgba(245, 242, 255, 0.16), transparent);
  opacity: 0.34;
  transform: translateY(calc(var(--line-index, 0) * 150px + 22vh)) rotate(calc(var(--line-index, 0) * -3deg));
  animation: terminalDepthSweep 9s ease-in-out infinite alternate;
}

.terminal-depth-lines span:nth-child(2) {
  --line-index: 1;
  left: 0;
  right: 14%;
  background: linear-gradient(90deg, transparent, rgba(180, 92, 255, 0.42), transparent);
  animation-duration: 10.6s;
}

.terminal-depth-lines span:nth-child(3) {
  --line-index: 2;
  left: 16%;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.22), rgba(123, 44, 191, 0.32), transparent);
  animation-duration: 12s;
}

.terminal-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
}

.terminal-window {
  position: relative;
  overflow: hidden;
  min-height: min(64vh, 680px);
  border: 1px solid rgba(98, 246, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 16% 12%, rgba(98, 246, 255, 0.13), transparent 25%),
    radial-gradient(ellipse at 88% 80%, rgba(123, 44, 191, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(245, 242, 255, 0.08), transparent 18%),
    rgba(1, 2, 5, 0.82);
  box-shadow:
    0 40px 130px rgba(0, 0, 0, 0.48),
    0 0 90px rgba(123, 44, 191, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px);
  transform-style: preserve-3d;
  transition:
    border-color 360ms ease,
    box-shadow 360ms ease,
    transform 620ms var(--ease-out-expo);
}

.route-view--terminal.is-route-entering .terminal-window {
  animation: terminalWindowArrival 1080ms var(--ease-out-expo) both;
}

.terminal-window::before,
.terminal-window::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.terminal-window::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, transparent 0 48%, rgba(98, 246, 255, 0.08), transparent 52%),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.026) 0 1px, transparent 1px 52px);
  opacity: 0.26;
  transform: translateY(-100%);
  animation: terminalSurfaceScan 13s linear infinite;
}

.terminal-window::after {
  inset: -28% -36%;
  z-index: 0;
  background: linear-gradient(112deg, transparent 38%, rgba(245, 242, 255, 0.12), transparent 58%);
  opacity: 0.34;
  transform: translateX(-70%) rotate(8deg);
  animation: terminalGlassPass 11s ease-in-out infinite;
}

.terminal-window:focus-within {
  border-color: rgba(98, 246, 255, 0.42);
  box-shadow:
    0 46px 140px rgba(0, 0, 0, 0.5),
    0 0 72px rgba(98, 246, 255, 0.14),
    0 0 110px rgba(123, 44, 191, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translate3d(calc(var(--terminal-drift) * -0.02), -2px, 0) rotateY(calc(var(--terminal-drift) * -0.015deg));
}

.terminal-window__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(245, 242, 255, 0.11);
  background:
    linear-gradient(90deg, rgba(98, 246, 255, 0.075), transparent 52%, rgba(123, 44, 191, 0.11)),
    rgba(255, 255, 255, 0.04);
}

.terminal-window__top::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: -1px;
  left: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.74), rgba(255, 255, 255, 0.5), rgba(180, 92, 255, 0.72), transparent);
  opacity: 0.46;
  transform: scaleX(0.42);
  transform-origin: left;
  animation: terminalTopSignal 3600ms ease-in-out infinite;
}

.terminal-window__controls {
  display: flex;
  gap: 8px;
  margin-right: 8px;
}

.terminal-window__controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 242, 255, 0.32);
}

.terminal-window__controls span:nth-child(2) {
  background: rgba(123, 44, 191, 0.76);
}

.terminal-window__controls span:nth-child(3) {
  background: rgba(98, 246, 255, 0.76);
  box-shadow: 0 0 18px rgba(98, 246, 255, 0.58);
}

.terminal-window__top strong {
  color: rgba(245, 242, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 920;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal-window__top em {
  margin-left: auto;
  color: rgba(98, 246, 255, 0.54);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.terminal-window__body {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 4vw, 42px);
  color: rgba(245, 242, 255, 0.78);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 1.02rem;
  line-height: 1.9;
}

.terminal-brief-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(98, 246, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(98, 246, 255, 0.08), transparent),
    rgba(245, 242, 255, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 0 36px rgba(98, 246, 255, 0.05);
}

.terminal-brief-status span {
  color: rgba(245, 242, 255, 0.72);
}

.terminal-brief-status strong {
  color: rgba(98, 246, 255, 0.9);
}

.terminal-progress {
  position: relative;
  height: 6px;
  margin: -7px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.075);
}

.terminal-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(255, 255, 255, 0.08) 28px 29px);
  opacity: 0.52;
}

.terminal-progress span {
  position: relative;
  display: block;
  width: var(--brief-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(98, 246, 255, 0.9), rgba(245, 242, 255, 0.86), rgba(180, 92, 255, 0.92));
  background-size: 220% 100%;
  box-shadow:
    0 0 22px rgba(98, 246, 255, 0.34),
    0 0 34px rgba(180, 92, 255, 0.26);
  transition: width 680ms var(--ease-out-expo);
  animation: meterCurrent 2600ms ease-in-out infinite alternate;
}

#terminalLog {
  min-height: 360px;
  max-height: 48vh;
  overflow: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(98, 246, 255, 0.32) transparent;
}

.terminal-window__body p {
  position: relative;
  margin: 0 0 12px;
}

#terminalLog p {
  animation: terminalLineIn 420ms var(--ease-out-expo) both;
}

.terminal-prompt {
  color: var(--cyan);
}

.terminal-live {
  color: #fff;
}

.terminal-live span::after {
  content: "_";
  color: var(--violet-hot);
  animation: blink 600ms steps(1, end) infinite;
}

.terminal-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(98, 246, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(98, 246, 255, 0.055), transparent 52%, rgba(123, 44, 191, 0.08)),
    rgba(245, 242, 255, 0.045);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.14);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease,
    transform 360ms var(--ease-out-expo);
}

.terminal-input:focus-within {
  border-color: rgba(98, 246, 255, 0.46);
  box-shadow:
    0 0 34px rgba(98, 246, 255, 0.12),
    inset 0 0 28px rgba(98, 246, 255, 0.035);
  transform: translateY(-2px);
}

.terminal-input label {
  color: rgba(98, 246, 255, 0.86);
  font-weight: 850;
}

.terminal-input label::after {
  content: ">";
  margin-left: 8px;
  color: rgba(245, 242, 255, 0.46);
}

.terminal-input input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.terminal-input input::placeholder {
  color: rgba(245, 242, 255, 0.34);
}

.terminal-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.terminal-quick-actions button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(245, 242, 255, 0.1);
  border-radius: 999px;
  background: rgba(245, 242, 255, 0.045);
  color: rgba(245, 242, 255, 0.62);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    border-color 240ms ease,
    color 240ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.terminal-quick-actions button:hover,
.terminal-quick-actions button:focus-visible {
  border-color: rgba(98, 246, 255, 0.34);
  color: #fff;
  box-shadow: 0 0 24px rgba(98, 246, 255, 0.1);
  transform: translateY(-2px);
}

.terminal-output {
  color: rgba(245, 242, 255, 0.62);
}

.terminal-output.is-system {
  color: rgba(98, 246, 255, 0.78);
}

.terminal-output.is-result {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(123, 44, 191, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(98, 246, 255, 0.08), transparent 42%, rgba(123, 44, 191, 0.12)),
    rgba(123, 44, 191, 0.08);
  color: rgba(245, 242, 255, 0.74);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.terminal-output strong {
  color: #fff;
}

.capability-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.brief-summary,
.capability-stack > div,
.terminal-signal-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.54);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate3d(18px, 18px, 0);
  animation: terminalStackIn 760ms var(--ease-out-expo) forwards;
  animation-delay: calc(var(--stack-index, 0) * 90ms + 260ms);
}

.capability-stack > div::before,
.terminal-signal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(98, 246, 255, 0.07), transparent 36%),
    repeating-linear-gradient(90deg, rgba(245, 242, 255, 0.028) 0 1px, transparent 1px 34px);
  opacity: 0.45;
  pointer-events: none;
}

.capability-stack > div > *,
.terminal-signal-card > * {
  position: relative;
  z-index: 1;
}

.capability-stack > div {
  transition:
    transform 360ms var(--ease-out-expo),
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.capability-stack > div:hover {
  border-color: rgba(180, 92, 255, 0.28);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.28), 0 0 44px rgba(123, 44, 191, 0.12);
  transform: translateY(-3px);
}

.brief-summary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(98, 246, 255, 0.12), transparent 35%),
    linear-gradient(320deg, rgba(123, 44, 191, 0.2), transparent 42%),
    rgba(5, 7, 13, 0.66);
}

.brief-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(245, 242, 255, 0.035) 0 1px,
    transparent 1px 30px
  );
  opacity: 0.45;
  pointer-events: none;
}

.brief-summary::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -18%;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(98, 246, 255, 0.16);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(98, 246, 255, 0.18) 0 4deg, transparent 4deg 13deg),
    radial-gradient(circle, transparent 0 56%, rgba(123, 44, 191, 0.16) 57%, transparent 70%);
  opacity: 0.48;
  animation: briefDial 18s linear infinite;
}

.capability-stack .brief-panel {
  background:
    linear-gradient(140deg, rgba(123, 44, 191, 0.2), transparent 42%),
    rgba(5, 7, 13, 0.58);
}

.brief-summary > * {
  position: relative;
  z-index: 1;
}

.brief-summary span,
.capability-stack span {
  color: rgba(98, 246, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 900;
}

.brief-summary strong,
.capability-stack strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.02rem;
}

.brief-summary p,
.capability-stack p {
  margin: 8px 0 0;
  color: rgba(245, 242, 255, 0.62);
  line-height: 1.55;
}

.brief-summary b {
  color: #fff;
  font-weight: 850;
}

.brief-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.brief-sequence span {
  position: relative;
  overflow: hidden;
  min-height: 38px;
  padding: 11px 8px 8px;
  border: 1px solid rgba(245, 242, 255, 0.09);
  border-radius: 8px;
  background: rgba(245, 242, 255, 0.035);
  color: rgba(245, 242, 255, 0.36);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.58rem;
  font-weight: 880;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  transition:
    border-color 320ms ease,
    color 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

.brief-sequence span.is-active,
.brief-sequence span.is-complete {
  border-color: rgba(98, 246, 255, 0.28);
  color: #fff;
  background: rgba(98, 246, 255, 0.065);
  box-shadow: 0 0 28px rgba(98, 246, 255, 0.08);
}

.brief-sequence span.is-active::after {
  content: "";
  position: absolute;
  inset: auto 8px 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 246, 255, 0.9), #fff, transparent);
  animation: stepSignal 1150ms ease-in-out infinite alternate;
}

.brief-sequence span.is-complete::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 22px rgba(180, 92, 255, 0.62);
}

.brief-sequence span.is-complete {
  border-color: rgba(180, 92, 255, 0.34);
  background: rgba(123, 44, 191, 0.1);
}

.brief-readout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.brief-readout div {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(245, 242, 255, 0.1);
  border-radius: 8px;
  background: rgba(245, 242, 255, 0.045);
}

.brief-readout dt {
  margin: 0 0 8px;
  color: rgba(98, 246, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 880;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brief-readout dd {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.25;
}

.proposal-stack {
  display: grid;
  gap: 8px;
  margin: -4px 0 14px;
}

.proposal-stack article {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(245, 242, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(98, 246, 255, 0.07), transparent 56%),
    rgba(3, 3, 3, 0.24);
}

.proposal-stack article::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 36%;
  background: linear-gradient(90deg, rgba(123, 44, 191, 0.18), transparent);
  opacity: 0.62;
}

.proposal-stack span,
.proposal-stack strong {
  position: relative;
  z-index: 1;
  display: block;
}

.proposal-stack span {
  color: rgba(98, 246, 255, 0.7);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proposal-stack strong {
  margin-top: 8px;
  color: rgba(245, 242, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.32;
}

.brief-summary .button {
  width: 100%;
}

.brief-actions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8px;
}

.brief-panel .button {
  width: 100%;
  margin-top: 16px;
}

.terminal-signal-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(98, 246, 255, 0.08), transparent 36%),
    linear-gradient(320deg, rgba(123, 44, 191, 0.18), transparent 50%),
    rgba(5, 7, 13, 0.58);
}

.terminal-signal-card__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 242, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(245, 242, 255, 0.1), transparent 48%),
    rgba(0, 0, 0, 0.22);
}

.terminal-signal-card__mark::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(180, 92, 255, 0.18);
  border-radius: 8px;
  opacity: 0.72;
  animation: terminalMarkFrame 3200ms ease-in-out infinite alternate;
}

.terminal-signal-card__mark span,
.terminal-signal-card__mark i {
  position: absolute;
  display: block;
}

.terminal-signal-card__mark span {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(98, 246, 255, 0.34);
  transform: rotate(45deg);
  animation: terminalMarkTurn 6s linear infinite;
}

.terminal-signal-card__mark i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 16px rgba(245, 242, 255, 0.9),
    0 0 34px rgba(180, 92, 255, 0.72);
  animation: terminalMarkPulse 1.8s ease-in-out infinite alternate;
}

/* ================================
   Route Signature Seal
================================ */
.route-seal {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(100%, 980px);
  max-width: calc(100vw - 32px);
  margin: clamp(76px, 13vh, 156px) auto 0;
  padding: clamp(36px, 6vw, 70px) 18px clamp(28px, 5vw, 48px);
  isolation: isolate;
  text-align: center;
}

.route-view--home .route-seal {
  grid-column: 1 / -1;
}

.route-view--terminal {
  align-content: start;
  gap: clamp(44px, 7vh, 92px);
}

.route-seal::before,
.route-seal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.route-seal::before {
  inset: 50% 0 auto;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.28), transparent),
    linear-gradient(90deg, transparent 18%, rgba(180, 92, 255, 0.68), transparent 82%);
  box-shadow:
    0 0 24px rgba(180, 92, 255, 0.32),
    0 0 64px rgba(123, 44, 191, 0.18);
  opacity: 0.62;
  transform: translateY(-50%);
  animation: sealHorizonTrace 4200ms ease-in-out infinite alternate;
}

.route-seal::after {
  top: 50%;
  left: 50%;
  z-index: -2;
  width: min(680px, 96%);
  height: 220px;
  background:
    radial-gradient(ellipse at center, rgba(245, 242, 255, 0.105), transparent 18%),
    radial-gradient(ellipse at center, rgba(180, 92, 255, 0.24), transparent 52%),
    radial-gradient(ellipse at center, rgba(98, 246, 255, 0.065), transparent 70%);
  filter: blur(24px);
  opacity: 0.78;
  transform: translate(-50%, -50%);
  animation: routeSealAura 4.8s ease-in-out infinite alternate;
}

.route-seal__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  mix-blend-mode: screen;
}

.route-seal__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(430px, 84%);
  aspect-ratio: 1;
  border: 1px solid rgba(180, 92, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 44px rgba(123, 44, 191, 0.12),
    inset 0 0 46px rgba(98, 246, 255, 0.035);
  opacity: 0.72;
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(0deg);
  animation: routeSealOrbit 14s linear infinite;
}

.route-seal__orbit::before,
.route-seal__orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(245, 242, 255, 0.075);
  border-radius: inherit;
  animation: routeSealOrbitInner 9s linear infinite reverse;
}

.route-seal__orbit::after {
  inset: 36%;
  border-color: rgba(98, 246, 255, 0.1);
}

.route-seal__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  filter:
    drop-shadow(0 0 18px rgba(245, 242, 255, 0.18))
    drop-shadow(0 0 46px rgba(180, 92, 255, 0.38));
  animation: routeSealMarkPulse 3.8s ease-in-out infinite alternate;
}

.route-seal__mark::before,
.route-seal__mark::after {
  content: "";
  position: absolute;
  inset: -34%;
  z-index: -1;
  border-radius: 50%;
  background:
    conic-gradient(
      from 120deg,
      transparent,
      rgba(180, 92, 255, 0.28),
      rgba(245, 242, 255, 0.16),
      transparent 64%
    );
  filter: blur(18px);
  opacity: 0.56;
  animation: routeSealCorona 7.4s linear infinite;
}

.route-seal__mark::after {
  inset: -16%;
  background:
    radial-gradient(circle, rgba(245, 242, 255, 0.28), transparent 28%),
    radial-gradient(circle, rgba(180, 92, 255, 0.32), transparent 66%);
  filter: blur(22px);
  opacity: 0.34;
  animation: routeSealSoftPulse 3.8s ease-in-out infinite alternate;
}

.route-seal__logo {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  overflow: visible;
}

.route-seal__logo path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.route-seal__logo-ghost {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 8;
  opacity: 0.58;
  filter: none;
}

.route-seal__logo-bloom {
  stroke: rgba(180, 92, 255, 0.52);
  stroke-width: 12;
  opacity: 0.58;
  filter:
    blur(3px)
    drop-shadow(0 0 18px rgba(180, 92, 255, 0.52));
  animation: routeSealLogoBloom 3.2s ease-in-out infinite alternate;
}

.route-seal__logo-core {
  stroke: #fff;
  stroke-width: 7.5;
  stroke-dasharray: 720;
  stroke-dashoffset: 0;
  filter:
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.74))
    drop-shadow(0 0 18px rgba(180, 92, 255, 0.62))
    drop-shadow(0 0 34px rgba(123, 44, 191, 0.32));
  animation: routeSealLogoPulse 4.4s ease-in-out infinite alternate;
}

.route-seal__spark {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 24px rgba(180, 92, 255, 0.72);
  opacity: 0;
  animation: routeSealSpark 3.6s ease-in-out infinite;
}

.route-seal__spark--one {
  top: 18%;
  right: 12%;
}

.route-seal__spark--two {
  right: 26%;
  bottom: 10%;
  animation-delay: 1.1s;
}

.route-seal__spark--three {
  bottom: 30%;
  left: 8%;
  animation-delay: 2.05s;
}

.route-seal__copy {
  position: relative;
  margin: 0;
  max-width: 100%;
  color: rgba(245, 242, 255, 0.64);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(180, 92, 255, 0.28),
    0 0 34px rgba(123, 44, 191, 0.16);
}

.route-seal__copy strong {
  color: transparent;
  background: linear-gradient(90deg, #fff, rgba(180, 92, 255, 0.92), #fff);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 950;
  animation: logoTextShimmer 4200ms ease-in-out infinite;
}

body.performance-lite .fluid-canvas {
  opacity: 0.26;
}

body.performance-lite .rift-canvas {
  display: none;
}

body.performance-lite .spectral-vignette {
  opacity: 0.18;
  filter: none;
}

body.performance-lite .home-portal-canvas,
body.performance-lite .terminal-field-canvas,
body.performance-lite .route-seal__particles,
body.performance-lite .preloader__mist {
  opacity: 0.18;
}

body.performance-lite .home-chroma-field,
body.performance-lite .terminal-depth-lines {
  opacity: 0.18;
}

body.performance-lite .grain {
  opacity: 0.026;
  animation: none;
}

body.performance-lite .custom-cursor {
  display: none;
}

body.performance-lite .home-chroma-field span,
body.performance-lite .terminal-depth-lines span,
body.performance-lite .service-tile::before,
body.performance-lite .brand-manifesto::before,
body.performance-lite .closing-portal::before,
body.performance-lite .terminal-window::before,
body.performance-lite .terminal-window::after {
  animation: none;
}

body.performance-lite .project-preview,
body.performance-lite .vault-stage,
body.performance-lite .terminal-window,
body.performance-lite .brief-summary,
body.performance-lite .capability-stack > div {
  backdrop-filter: blur(8px);
}

body.performance-lite .route-seal__particles,
body.performance-lite .route-seal__spark {
  display: none;
}

body.performance-lite .ambient-field {
  filter: none;
  opacity: 0.32;
}

body.performance-lite .conversion-dock a,
body.performance-lite .case-presentation__visual {
  backdrop-filter: none;
}

body.performance-lite .case-presentation__visual::before,
body.performance-lite .case-presentation__visual span,
body.performance-lite .case-presentation__visual i,
body.performance-lite .case-presentation__visual b {
  animation: none;
}

.service-tile,
.capability-stack > div,
.vault-intel__card,
.project-link,
.terminal-window,
.brief-summary,
.route-seal,
.case-presentation__shell {
  contain: layout paint style;
}

@supports (content-visibility: auto) {
  .service-tile,
  .capability-stack > div,
  .vault-intel__card,
  .terminal-signal-card,
  .brief-summary,
  .route-seal {
    content-visibility: auto;
    contain-intrinsic-size: 1px 320px;
  }

  .project-link {
    content-visibility: auto;
    contain-intrinsic-size: 1px 150px;
  }
}

.route-view--terminal.is-easter-pulse .terminal-window {
  animation: terminalEasterPulse 980ms var(--ease-out-expo) both;
}

.route-view--terminal.is-secret-active .terminal-window {
  border-color: rgba(245, 242, 255, 0.62);
  box-shadow:
    0 52px 170px rgba(0, 0, 0, 0.64),
    0 0 95px rgba(98, 246, 255, 0.22),
    0 0 150px rgba(180, 92, 255, 0.42),
    inset 0 0 72px rgba(245, 242, 255, 0.05);
}

.route-view--terminal[data-easter="matrix"].is-secret-active .terminal-window::before {
  opacity: 0.82;
  animation-duration: 820ms;
}

.terminal-secret-response {
  display: inline-block;
  color: rgba(245, 242, 255, 0.96);
  text-shadow:
    0 0 18px rgba(98, 246, 255, 0.34),
    0 0 38px rgba(180, 92, 255, 0.32);
}

.terminal-secret-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 242, 255, 0.08), transparent 18%),
    radial-gradient(circle at 48% 50%, rgba(180, 92, 255, 0.18), transparent 32%),
    radial-gradient(circle at 50% 52%, rgba(98, 246, 255, 0.1), transparent 44%),
    rgba(0, 0, 0, 0.18);
}

.terminal-secret-layer.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 120ms ease,
    visibility 0s;
  animation: terminalSecretLayer 2200ms linear both;
}

.terminal-secret-layer__veil {
  position: absolute;
  inset: -12%;
  background:
    linear-gradient(90deg, transparent, rgba(245, 242, 255, 0.16), transparent),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.05) 0 1px, transparent 1px 9px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-28%) skewX(-12deg);
}

.terminal-secret-layer.is-active .terminal-secret-layer__veil {
  animation: terminalSecretVeil 1500ms var(--ease-out-expo) both;
}

.terminal-secret-layer__rain,
.terminal-secret-layer__sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.terminal-secret-layer__rain {
  opacity: 0;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__rain {
  opacity: 1;
}

.terminal-secret-layer__rain span {
  position: absolute;
  top: -12vh;
  left: var(--x);
  color: rgba(98, 246, 255, 0.68);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.8vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-shadow:
    0 0 14px rgba(98, 246, 255, 0.62),
    0 0 30px rgba(180, 92, 255, 0.38);
  animation: terminalSecretRain var(--d) linear both;
  animation-delay: var(--delay);
}

.terminal-secret-layer__sparks i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, rgba(180, 92, 255, 0.88), transparent);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.58),
    0 0 34px rgba(180, 92, 255, 0.54);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(0);
}

.terminal-secret-layer.is-active .terminal-secret-layer__sparks i {
  animation: terminalSecretSpark 980ms var(--ease-out-expo) both;
  animation-delay: var(--delay);
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sparks i {
  height: 42px;
  background: linear-gradient(180deg, rgba(98, 246, 255, 0.95), rgba(245, 242, 255, 0.86), transparent);
}

.terminal-secret-layer__sigil {
  position: relative;
  z-index: 1;
  width: clamp(150px, 24vw, 260px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 26px rgba(245, 242, 255, 0.34))
    drop-shadow(0 0 64px rgba(180, 92, 255, 0.46));
  opacity: 0;
  transform: scale(0.78) rotate(-8deg);
}

.terminal-secret-layer__sigil::before,
.terminal-secret-layer__sigil::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(245, 242, 255, 0.14);
  border-radius: 50%;
  transform: rotate(0deg);
}

.terminal-secret-layer__sigil::after {
  inset: 24%;
  border-color: rgba(180, 92, 255, 0.34);
  box-shadow: 0 0 42px rgba(180, 92, 255, 0.3);
}

.terminal-secret-layer__sigil svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.terminal-secret-layer__sigil path {
  fill: none;
  stroke: #fff;
  stroke-width: 13;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
}

.terminal-secret-layer.is-active .terminal-secret-layer__sigil {
  opacity: 1;
  animation: terminalSecretSigil 1500ms var(--ease-out-expo) both;
}

.terminal-secret-layer.is-active .terminal-secret-layer__sigil path {
  animation: terminalSecretPath 1380ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sigil {
  mix-blend-mode: screen;
  filter:
    drop-shadow(-8px 0 0 rgba(98, 246, 255, 0.22))
    drop-shadow(8px 0 0 rgba(180, 92, 255, 0.22))
    drop-shadow(0 0 62px rgba(98, 246, 255, 0.38));
}

.terminal-secret-layer__copy {
  position: absolute;
  z-index: 2;
  bottom: clamp(46px, 12vh, 120px);
  left: 50%;
  display: grid;
  gap: 6px;
  width: min(88vw, 760px);
  text-align: center;
  opacity: 0;
  transform: translate3d(-50%, 22px, 0);
}

.terminal-secret-layer.is-active .terminal-secret-layer__copy {
  opacity: 1;
  animation: terminalSecretCopy 1500ms 260ms var(--ease-out-expo) both;
}

.terminal-secret-layer__copy span,
.terminal-secret-layer__copy em {
  color: rgba(98, 246, 255, 0.76);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.68rem, 1.7vw, 0.9rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.terminal-secret-layer__copy strong {
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 7.8rem);
  font-weight: 1000;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(245, 242, 255, 0.36),
    0 0 64px rgba(180, 92, 255, 0.48),
    0 0 110px rgba(98, 246, 255, 0.22);
}

.terminal-secret-layer__aura,
.terminal-secret-layer__rift,
.terminal-secret-layer__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.terminal-secret-layer__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  image-rendering: auto;
  transform: translateZ(0);
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__canvas {
  opacity: 1;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__canvas {
  display: none;
}

.terminal-secret-layer__aura {
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 242, 255, 0.16), transparent 11%),
    radial-gradient(circle at 50% 50%, rgba(180, 92, 255, 0.28), transparent 31%),
    radial-gradient(circle at 50% 50%, rgba(98, 246, 255, 0.08), transparent 54%);
  filter: blur(2px);
}

.terminal-secret-layer__rift {
  opacity: 0;
  mix-blend-mode: screen;
}

.terminal-secret-layer__scan {
  opacity: 0;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(245, 242, 255, 0.2), transparent 47%),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.05) 0 1px, transparent 1px 8px);
  transform: translateY(-45%);
}

.terminal-secret-layer[data-mode="signature"] {
  background:
    radial-gradient(circle at 50% 46%, rgba(245, 242, 255, 0.055), transparent 17%),
    radial-gradient(circle at 50% 48%, rgba(123, 44, 191, 0.16), transparent 40%),
    rgba(0, 0, 0, 0.68);
}

.terminal-secret-layer[data-mode="signature"].is-active {
  opacity: 1;
  animation: none;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__rain {
  display: none;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__veil {
  display: none;
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__veil {
  animation: terminalSignatureVeil 3000ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__aura {
  animation: terminalSignatureAura 3200ms ease-out both;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__aura,
.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__rift,
.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sparks {
  display: none;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__rift {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.38), transparent 10%),
    linear-gradient(90deg, transparent 18%, rgba(180, 92, 255, 0.2), rgba(255, 255, 255, 0.44), rgba(180, 92, 255, 0.2), transparent 82%),
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.2), transparent 76%);
  filter: blur(2px);
  transform: scaleX(0.12) scaleY(0.6);
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__rift {
  animation: terminalSignatureExitRay 3200ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sparks i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.72),
    0 0 34px rgba(180, 92, 255, 0.62);
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sparks i {
  animation: terminalSignatureParticle 2850ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sigil {
  display: none;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sigil::before,
.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sigil::after {
  display: none;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sigil::after {
  inset: 30%;
  border-color: rgba(180, 92, 255, 0.4);
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil::before {
  animation: terminalSignatureFrameOuter 3100ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil::after {
  animation: terminalSignatureFrameInner 3100ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__sigil path {
  stroke: #fff;
  stroke-width: 11;
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil {
  animation: terminalSignatureSigil 2920ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil path {
  animation: terminalSignaturePath 2700ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__copy {
  display: none;
}

.terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__copy {
  opacity: 1;
  animation: none;
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__copy strong {
  font-size: clamp(1.25rem, 3.1vw, 2.75rem);
  letter-spacing: 0.18em;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.32),
    0 0 34px rgba(180, 92, 255, 0.34);
}

.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__copy span,
.terminal-secret-layer[data-mode="signature"] .terminal-secret-layer__copy em {
  color: rgba(245, 242, 255, 0.62);
  font-size: clamp(0.58rem, 1.2vw, 0.76rem);
  letter-spacing: 0.24em;
}

.terminal-secret-layer[data-mode="matrix"] {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.94), rgba(6, 9, 18, 0.76) 44%, rgba(0, 0, 0, 0.94)),
    radial-gradient(circle at 74% 42%, rgba(98, 246, 255, 0.18), transparent 34%),
    radial-gradient(circle at 28% 64%, rgba(180, 92, 255, 0.2), transparent 36%);
}

.terminal-secret-layer[data-mode="matrix"].is-active {
  animation: terminalMatrixLayer 2500ms linear both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__aura {
  background:
    conic-gradient(from 140deg at 50% 50%, transparent, rgba(98, 246, 255, 0.22), transparent 28%, rgba(180, 92, 255, 0.18), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(98, 246, 255, 0.14), transparent 46%);
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__aura {
  animation: terminalMatrixAura 2500ms ease-out both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__rift {
  background:
    linear-gradient(112deg, transparent 35%, rgba(98, 246, 255, 0.26), rgba(245, 242, 255, 0.3), rgba(180, 92, 255, 0.2), transparent 62%),
    linear-gradient(68deg, transparent 44%, rgba(245, 242, 255, 0.16), transparent 51%);
  transform: translateX(-36%) skewX(-16deg);
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__rift {
  animation: terminalMatrixRift 1350ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__scan {
  animation: terminalMatrixScan 1750ms linear both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__veil {
  background:
    repeating-linear-gradient(90deg, rgba(98, 246, 255, 0.08) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(245, 242, 255, 0.04) 0 1px, transparent 1px 10px);
  transform: none;
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__veil {
  animation: terminalMatrixGrid 2500ms linear both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__rain span {
  color: rgba(188, 252, 255, 0.72);
  font-size: clamp(0.64rem, 1.35vw, 1rem);
  font-weight: 780;
  opacity: 0;
  text-shadow:
    0 0 12px rgba(98, 246, 255, 0.7),
    0 0 28px rgba(180, 92, 255, 0.28);
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sparks i {
  width: 1px;
  height: 74px;
  background: linear-gradient(180deg, transparent, rgba(98, 246, 255, 0.96), rgba(255, 255, 255, 0.9), transparent);
  box-shadow:
    0 0 22px rgba(98, 246, 255, 0.62),
    0 0 52px rgba(180, 92, 255, 0.34);
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__sparks i {
  animation: terminalMatrixShard 1180ms var(--ease-out-expo) both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sigil {
  width: min(74vw, 680px);
  opacity: 0.2;
  transform: translateY(-4vh) scale(1.14);
  filter:
    drop-shadow(-12px 0 0 rgba(98, 246, 255, 0.18))
    drop-shadow(12px 0 0 rgba(180, 92, 255, 0.18))
    drop-shadow(0 0 80px rgba(98, 246, 255, 0.28));
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sigil::before,
.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sigil::after {
  border-radius: 0;
  border-color: rgba(98, 246, 255, 0.12);
  transform: rotate(-8deg) skewX(-12deg);
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__sigil path {
  stroke: rgba(98, 246, 255, 0.72);
  stroke-width: 6;
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__sigil {
  animation: terminalMatrixSigil 2500ms steps(2, end) both;
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__sigil path {
  animation: terminalMatrixPath 1450ms cubic-bezier(0.2, 1, 0.2, 1) both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__copy {
  top: 50%;
  bottom: auto;
  gap: 10px;
  transform: translate3d(-50%, -38%, 0);
}

.terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__copy {
  animation: terminalMatrixCopy 1900ms 160ms steps(2, end) both;
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__copy span,
.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__copy em {
  color: rgba(188, 252, 255, 0.8);
}

.terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__copy strong {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(2.8rem, 9vw, 8.8rem);
  letter-spacing: 0.08em;
  text-shadow:
    -7px 0 0 rgba(98, 246, 255, 0.22),
    7px 0 0 rgba(180, 92, 255, 0.22),
    0 0 50px rgba(98, 246, 255, 0.42);
}

/* ================================
   Animations
================================ */
@keyframes grainDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-4%, 2%, 0);
  }
  40% {
    transform: translate3d(3%, -5%, 0);
  }
  60% {
    transform: translate3d(6%, 4%, 0);
  }
  80% {
    transform: translate3d(-2%, 6%, 0);
  }
  100% {
    transform: translate3d(4%, -2%, 0);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes bootGrid {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-84px, -68px, 0) scale(1.02);
  }
}

@keyframes bootDisc {
  0% {
    transform: rotateX(68deg) rotateZ(0deg) scale(0.96);
  }
  50% {
    opacity: 0.82;
  }
  100% {
    transform: rotateX(68deg) rotateZ(360deg) scale(1.04);
  }
}

@keyframes haloOrbit {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes starPulse {
  0% {
    opacity: 0.32;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@keyframes coreArrival {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, -120px) rotateX(12deg) scale(0.84);
    filter: blur(18px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
    filter: none;
  }
}

@keyframes orbBreathe {
  0% {
    transform: scale(0.96) rotateZ(-3deg);
    box-shadow:
      0 0 56px rgba(123, 44, 191, 0.26),
      0 0 110px rgba(98, 246, 255, 0.12),
      inset 0 0 46px rgba(255, 255, 255, 0.06);
  }
  100% {
    transform: scale(1.04) rotateZ(3deg);
    box-shadow:
      0 0 86px rgba(123, 44, 191, 0.44),
      0 0 170px rgba(98, 246, 255, 0.2),
      inset 0 0 62px rgba(255, 255, 255, 0.1);
  }
}

@keyframes orbitTrace {
  0% {
    transform: rotate(var(--orb-rotate, 0deg)) scaleY(0.46) rotateZ(0deg);
  }
  100% {
    transform: rotate(var(--orb-rotate, 0deg)) scaleY(0.46) rotateZ(360deg);
  }
}

@keyframes terminalSheen {
  0% {
    transform: translateX(-110%) skewX(-12deg);
  }
  58%,
  100% {
    transform: translateX(110%) skewX(-12deg);
  }
}

@keyframes terminalHorizon {
  0% {
    opacity: 0.42;
    filter: blur(0);
  }
  100% {
    opacity: 0.86;
    filter: blur(0.35px) drop-shadow(0 0 18px rgba(98, 246, 255, 0.22));
  }
}

@keyframes terminalDepthSweep {
  0% {
    opacity: 0.18;
    transform: translate3d(-8%, calc(var(--line-index, 0) * 150px + 22vh), 0) rotate(calc(var(--line-index, 0) * -3deg)) scaleX(0.72);
  }
  52% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.3;
    transform: translate3d(8%, calc(var(--line-index, 0) * 150px + 17vh), 0) rotate(calc(var(--line-index, 0) * 2deg)) scaleX(1.08);
  }
}

@keyframes terminalSurfaceScan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes terminalGlassPass {
  0%,
  48% {
    opacity: 0;
    transform: translateX(-70%) rotate(8deg);
  }
  58% {
    opacity: 0.56;
  }
  74%,
  100% {
    opacity: 0;
    transform: translateX(70%) rotate(8deg);
  }
}

@keyframes terminalLineIn {
  0% {
    opacity: 0;
    transform: translate3d(-8px, 6px, 0);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
  }
}

@keyframes terminalStackIn {
  0% {
    opacity: 0;
    transform: translate3d(18px, 18px, 0) rotateX(6deg);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0deg);
    filter: none;
  }
}

@keyframes briefDial {
  0% {
    transform: rotate(0deg) scale(0.96);
  }
  100% {
    transform: rotate(360deg) scale(1.02);
  }
}

@keyframes terminalMarkTurn {
  0% {
    transform: rotate(45deg) scale(0.86);
  }
  50% {
    transform: rotate(225deg) scale(1.02);
  }
  100% {
    transform: rotate(405deg) scale(0.86);
  }
}

@keyframes terminalMarkPulse {
  0% {
    opacity: 0.48;
    transform: scale(0.74);
  }
  100% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes coreCollapse {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
  46% {
    opacity: 1;
    transform: translate3d(0, 0, 80px) scale(1.045);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 220px) scale(0.22);
    filter: blur(24px);
  }
}

@keyframes clickBurst {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.35);
    box-shadow: 0 0 0 0 rgba(98, 246, 255, 0.45);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(8.2);
    box-shadow: 0 0 42px 8px rgba(123, 44, 191, 0.08);
  }
}

@keyframes waveformLift {
  0% {
    transform: scaleY(0.45);
    opacity: 0.5;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes scanline {
  100% {
    transform: translateY(100%);
  }
}

@keyframes terminalFlare {
  0% {
    box-shadow:
      0 0 80px rgba(123, 44, 191, 0.32),
      0 28px 100px rgba(0, 0, 0, 0.52),
      inset 0 0 42px rgba(98, 246, 255, 0.055);
    transform: scale(1);
  }
  46% {
    box-shadow:
      0 0 24px rgba(255, 255, 255, 0.9),
      0 0 130px rgba(123, 44, 191, 0.82),
      0 0 240px rgba(98, 246, 255, 0.34);
    transform: scale(1.03);
  }
  100% {
    box-shadow:
      0 0 220px rgba(123, 44, 191, 0.02),
      inset 0 0 32px rgba(98, 246, 255, 0);
    transform: scale(0.92);
  }
}

@keyframes bootWipe {
  0% {
    opacity: 0;
    transform: translateX(-120%) skewX(-9deg);
  }
  26% {
    opacity: 1;
  }
  62% {
    opacity: 0.96;
  }
  100% {
    opacity: 0;
    transform: translateX(120%) skewX(-9deg);
  }
}

@keyframes signatureField {
  0% {
    transform: rotate(0deg) scale(1.04);
  }
  100% {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes auraBreath {
  0% {
    filter: blur(12px);
  }
  100% {
    filter: blur(18px);
  }
}

@keyframes vaporPulse {
  0% {
    filter: blur(11px);
  }
  100% {
    filter: blur(17px);
  }
}

@keyframes smokeCurl {
  0% {
    filter: blur(16px);
  }
  50% {
    filter: blur(22px);
  }
  100% {
    filter: blur(16px);
  }
}

@keyframes markStageIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.78);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
}

@keyframes markSheen {
  0% {
    opacity: 0;
    transform: translateX(-115%) skewX(-9deg);
  }
  24% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateX(115%) skewX(-9deg);
  }
}

@keyframes markExit {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: none;
  }
  42% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.035);
    filter: drop-shadow(0 0 22px rgba(123, 44, 191, 0.22));
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.78);
    filter: blur(7px);
  }
}

@keyframes markReveal {
  0% {
    opacity: 0;
    transform: scale(0.62);
  }
  32% {
    opacity: 0.82;
  }
  62% {
    opacity: 0.54;
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes preloaderAuraLock {
  0% {
    opacity: var(--core-aura-opacity);
    filter: blur(16px);
    transform: scale(var(--core-aura-scale));
  }
  62% {
    opacity: 0.46;
    filter: blur(18px);
    transform: scale(1.16);
  }
  100% {
    opacity: 0.24;
    filter: blur(12px);
    transform: scale(0.96);
  }
}

@keyframes preloaderCoronaLock {
  0% {
    opacity: var(--ring-aura-opacity);
    transform: rotate(var(--aura-rotate)) scale(0.92);
  }
  44% {
    opacity: 0.56;
  }
  100% {
    opacity: 0.18;
    transform: rotate(calc(var(--aura-rotate) + 28deg)) scale(1.18);
  }
}

@keyframes preloaderFinalBloom {
  0% {
    opacity: 0.78;
    transform: scale(0.52);
    filter: blur(0);
  }
  46% {
    opacity: 1;
    transform: scale(1.02);
    filter: blur(0.6px);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
    filter: blur(2px);
  }
}

@keyframes glassCurtain {
  0% {
    transform: translateX(-112%) skewX(-8deg);
  }
  46% {
    transform: translateX(0%) skewX(-4deg);
  }
  54% {
    transform: translateX(0%) skewX(-4deg);
  }
  100% {
    transform: translateX(112%) skewX(-8deg);
  }
}

@keyframes curtainSignalOne {
  0%,
  24% {
    opacity: 0;
    transform: translateX(-70%) rotate(8deg);
  }
  48% {
    opacity: 0.84;
  }
  100% {
    opacity: 0;
    transform: translateX(76%) rotate(8deg);
  }
}

@keyframes curtainSignalTwo {
  0%,
  32% {
    opacity: 0;
    transform: translateX(70%) rotate(-8deg);
  }
  54% {
    opacity: 0.58;
  }
  100% {
    opacity: 0;
    transform: translateX(-70%) rotate(-8deg);
  }
}

@keyframes deepAtmosphere {
  0% {
    transform: translate3d(-3%, 0, 0) skewX(-2deg);
    opacity: 0.45;
  }
  100% {
    transform: translate3d(3%, -2%, 0) skewX(2deg);
    opacity: 0.78;
  }
}

@keyframes caseFrameFloat {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 -14px;
  }
}

@keyframes frameSheen {
  0%,
  54% {
    transform: translateX(-48%) rotate(8deg);
    opacity: 0;
  }
  70% {
    opacity: 0.42;
  }
  100% {
    transform: translateX(48%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes routeSealAura {
  0% {
    opacity: 0.46;
    transform: translate(-50%, -50%) scale(0.96);
  }
  100% {
    opacity: 0.86;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes routeSealOrbit {
  0% {
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(360deg);
  }
}

@keyframes routeSealMarkPulse {
  0% {
    transform: translateY(0) scale(0.985);
    filter:
      drop-shadow(0 0 18px rgba(245, 242, 255, 0.18))
      drop-shadow(0 0 44px rgba(180, 92, 255, 0.34));
  }
  100% {
    transform: translateY(-4px) scale(1.035);
    filter:
      drop-shadow(0 0 28px rgba(245, 242, 255, 0.28))
      drop-shadow(0 0 74px rgba(180, 92, 255, 0.58));
  }
}

@keyframes routeSealSoftPulse {
  0% {
    opacity: 0.26;
    transform: scale(0.92);
  }
  100% {
    opacity: 0.48;
    transform: scale(1.12);
  }
}

@keyframes routeSealCorona {
  0% {
    transform: rotate(0deg) scale(0.92);
  }
  100% {
    transform: rotate(360deg) scale(1.02);
  }
}

@keyframes routeSealLogoBloom {
  0% {
    opacity: 0.36;
    stroke-width: 10;
  }
  100% {
    opacity: 0.68;
    stroke-width: 14;
  }
}

@keyframes routeSealLogoPulse {
  0% {
    filter:
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.56))
      drop-shadow(0 0 16px rgba(180, 92, 255, 0.48))
      drop-shadow(0 0 34px rgba(123, 44, 191, 0.26));
  }
  100% {
    filter:
      drop-shadow(0 0 11px rgba(255, 255, 255, 0.82))
      drop-shadow(0 0 26px rgba(180, 92, 255, 0.74))
      drop-shadow(0 0 52px rgba(123, 44, 191, 0.42));
  }
}

@keyframes routeSealSpark {
  0%,
  58%,
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.55);
  }
  66% {
    opacity: 1;
    transform: translate3d(12px, -10px, 0) scale(1.15);
  }
  78% {
    opacity: 0.18;
    transform: translate3d(26px, -22px, 0) scale(0.6);
  }
}

@keyframes homeHorizonPulse {
  0% {
    opacity: 0.38;
    filter: blur(0);
  }
  100% {
    opacity: 0.82;
    filter: blur(0.4px) drop-shadow(0 0 18px rgba(180, 92, 255, 0.28));
  }
}

@keyframes homeBlueprintDrift {
  0% {
    opacity: 0.32;
    transform:
      translate3d(calc(var(--home-drift) * -0.04), 12px, -120px)
      rotateX(60deg)
      rotateZ(-18deg);
  }
  100% {
    opacity: 0.68;
    transform:
      translate3d(calc(var(--home-drift) * -0.08), -10px, -120px)
      rotateX(54deg)
      rotateZ(-12deg);
  }
}

@keyframes homeCopyNeedle {
  0% {
    opacity: 0.38;
    transform: scaleY(0.42);
  }
  100% {
    opacity: 0.9;
    transform: scaleY(1);
  }
}

@keyframes signalPanelScan {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes readoutPulse {
  0% {
    opacity: 0.42;
    transform: translateY(-50%) scale(0.72);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
  }
}

@keyframes homeSpectralSweep {
  0% {
    opacity: 0.18;
    transform: translate3d(-6%, calc(var(--index, 0) * -92px), 0) rotate(calc(var(--index, 0) * -2deg)) scaleX(0.78);
  }
  48% {
    opacity: 0.58;
  }
  100% {
    opacity: 0.34;
    transform: translate3d(8%, calc(var(--index, 0) * -92px - 38px), 0) rotate(calc(var(--index, 0) * 2deg)) scaleX(1.08);
  }
}

@keyframes heroSpectralSlice {
  0%,
  78%,
  100% {
    opacity: 0.18;
    transform: translate3d(calc(var(--home-drift) * 0.045), -0.012em, 24px);
  }
  84% {
    opacity: 0.46;
    transform: translate3d(calc(var(--home-drift) * 0.07 + 3px), -0.026em, 24px);
  }
  87% {
    opacity: 0.22;
    transform: translate3d(calc(var(--home-drift) * 0.052 - 2px), 0.008em, 24px);
  }
  91% {
    opacity: 0.38;
    transform: translate3d(calc(var(--home-drift) * 0.062 + 1px), -0.01em, 24px);
  }
}

@keyframes homeChipSheen {
  0%,
  48% {
    opacity: 0;
    transform: translateX(-100%);
  }
  58% {
    opacity: 0.8;
  }
  72%,
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes reactorCube {
  0% {
    transform: rotateX(62deg) rotateZ(45deg) scale(0.88);
  }
  50% {
    transform: rotateX(62deg) rotateZ(225deg) scale(1.02);
  }
  100% {
    transform: rotateX(62deg) rotateZ(405deg) scale(0.88);
  }
}

@keyframes reactorBand {
  0% {
    transform: rotate(-13deg) scaleX(0.72);
  }
  100% {
    transform: rotate(15deg) scaleX(1.05);
  }
}

@keyframes reactorSpark {
  0% {
    opacity: 0.48;
    transform: translate3d(-38px, 18px, 0) scale(0.72);
  }
  48% {
    opacity: 1;
    transform: translate3d(28px, -16px, 0) scale(1.2);
  }
  100% {
    opacity: 0.38;
    transform: translate3d(42px, 20px, 0) scale(0.7);
  }
}

@keyframes telemetrySweep {
  0%,
  58% {
    opacity: 0;
    transform: translateX(-115%);
  }
  72% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(115%);
  }
}

@keyframes routeSceneIn {
  0% {
    opacity: 0.86;
    filter: saturate(0.7) blur(6px);
    transform: translate3d(0, var(--motion-distance), 0) scale(0.985);
  }
  58% {
    filter: saturate(1.18) blur(0);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes routeElementIn {
  0% {
    opacity: 0;
    filter: blur(var(--motion-blur));
    transform: translate3d(0, 26px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes cursorCorePulse {
  0% {
    opacity: 0.64;
    box-shadow:
      0 0 10px rgba(255, 255, 255, 0.58),
      0 0 22px rgba(180, 92, 255, 0.32);
  }
  100% {
    opacity: 1;
    box-shadow:
      0 0 16px rgba(255, 255, 255, 0.9),
      0 0 34px rgba(180, 92, 255, 0.58);
  }
}

@keyframes heroTitleGlow {
  0% {
    filter:
      drop-shadow(0 0 8px rgba(245, 242, 255, 0.08))
      drop-shadow(0 0 30px rgba(123, 44, 191, 0.18));
  }
  100% {
    filter:
      drop-shadow(0 0 14px rgba(245, 242, 255, 0.16))
      drop-shadow(0 0 54px rgba(180, 92, 255, 0.28));
  }
}

@keyframes heroSignatureSweep {
  0%,
  52% {
    opacity: 0;
    background-position: 135% 50%;
  }
  62% {
    opacity: 0.52;
  }
  74% {
    opacity: 0.16;
  }
  100% {
    opacity: 0;
    background-position: -95% 50%;
  }
}

@keyframes panelHoverDrift {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0deg);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  }
  100% {
    transform: translate3d(0, -7px, 0) rotateX(1.6deg);
    box-shadow:
      0 36px 108px rgba(0, 0, 0, 0.42),
      0 0 46px rgba(123, 44, 191, 0.12);
  }
}

@keyframes meterCurrent {
  0% {
    background-position: 0% 50%;
    filter: saturate(1);
  }
  100% {
    background-position: 100% 50%;
    filter: saturate(1.35);
  }
}

@keyframes tileInternalDrift {
  0% {
    transform: translate3d(-26%, 0, 0) skewX(-5deg);
  }
  100% {
    transform: translate3d(18%, 0, 0) skewX(5deg);
  }
}

@keyframes commandGridDrift {
  0% {
    opacity: 0.58;
    transform: translate3d(-2%, 0, 0) scaleX(0.98);
  }
  100% {
    opacity: 0.88;
    transform: translate3d(2%, -2%, 0) scaleX(1.02);
  }
}

@keyframes intelSignalTrace {
  0%,
  38% {
    opacity: 0.12;
    transform: scaleX(0.22);
  }
  62% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.2;
    transform: scaleX(1);
  }
}

@keyframes signalBarPulse {
  0% {
    opacity: 0.68;
    background-position: 0% 50%;
    transform: scaleX(0.92);
  }
  100% {
    opacity: 1;
    background-position: 100% 50%;
    transform: scaleX(1);
  }
}

@keyframes vaultCaseAura {
  0% {
    opacity: 0.62;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 0.92;
    transform: translate3d(0, -4px, 0) scale(1.012);
  }
}

@keyframes casePanelSwitch {
  0% {
    opacity: 0.68;
    filter: blur(7px);
    transform: translate3d(26px, 0, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes vaultStageIgnite {
  0% {
    filter: saturate(0.72) brightness(0.76);
    transform: translate3d(0, 10px, 0) scale(0.985);
  }
  50% {
    filter: saturate(1.35) brightness(1.12);
  }
  100% {
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes stagePaneFloat {
  0% {
    translate: 0 0;
    opacity: 0.74;
  }
  100% {
    translate: 0 -12px;
    opacity: 0.96;
  }
}

@keyframes vaultCardArrive {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(-28px, 18px, 0) rotateY(7deg) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  }
}

@keyframes deepElementMaterialize {
  0% {
    opacity: 0;
    filter: blur(10px) saturate(0.6);
  }
  56% {
    filter: blur(1px) saturate(1.22);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

@keyframes deepBlueprintDrift {
  0% {
    opacity: 0.42;
    transform: rotateY(-20deg) rotateX(9deg) translate3d(-8px, 6px, 0);
  }
  100% {
    opacity: 0.72;
    transform: rotateY(-15deg) rotateX(6deg) translate3d(8px, -8px, 0);
  }
}

@keyframes terminalWindowArrival {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(-28px, 28px, 0) rotateX(8deg) rotateY(-6deg) scale(0.975);
  }
  54% {
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) scale(1);
  }
}

@keyframes terminalTopSignal {
  0% {
    opacity: 0.16;
    transform: scaleX(0.2) translateX(-18%);
  }
  48% {
    opacity: 0.74;
  }
  100% {
    opacity: 0.28;
    transform: scaleX(1) translateX(0);
  }
}

@keyframes stepSignal {
  0% {
    opacity: 0.24;
    transform: scaleX(0.32);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes terminalMarkFrame {
  0% {
    opacity: 0.34;
    transform: rotate(0deg) scale(0.9);
  }
  100% {
    opacity: 0.82;
    transform: rotate(90deg) scale(1.08);
  }
}

@keyframes sealHorizonTrace {
  0% {
    opacity: 0.36;
    transform: translateY(-50%) scaleX(0.72);
  }
  100% {
    opacity: 0.78;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes routeSealOrbitInner {
  0% {
    transform: rotate(0deg) scale(0.96);
  }
  100% {
    transform: rotate(360deg) scale(1.04);
  }
}

@keyframes logoTextShimmer {
  0%,
  42% {
    background-position: 120% 50%;
  }
  100% {
    background-position: -80% 50%;
  }
}

@keyframes presentationFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes presentationShellIn {
  0% {
    opacity: 0;
    filter: blur(10px) saturate(0.72);
    transform: translate3d(0, 26px, 0) scale(0.975);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes presentationSlideIn {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(18px, 8px, 0);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes terminalEasterPulse {
  0% {
    filter: saturate(0.8);
    transform: translate3d(0, 0, 0) scale(1);
  }
  42% {
    filter: saturate(1.45) brightness(1.08);
    transform: translate3d(0, -3px, 0) scale(1.01);
    box-shadow:
      0 48px 150px rgba(0, 0, 0, 0.52),
      0 0 92px rgba(98, 246, 255, 0.18),
      0 0 140px rgba(180, 92, 255, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  100% {
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes terminalSecretLayer {
  0% {
    opacity: 1;
    filter: brightness(1.34) saturate(1.28);
  }
  18%,
  76% {
    opacity: 1;
    filter: brightness(1.08) saturate(1.18);
  }
  100% {
    opacity: 1;
    filter: brightness(1) saturate(1);
  }
}

@keyframes terminalSecretVeil {
  0% {
    opacity: 0;
    transform: translateX(-34%) skewX(-12deg);
  }
  24% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translateX(34%) skewX(-12deg);
  }
}

@keyframes terminalSecretRain {
  0% {
    opacity: 0;
    transform: translate3d(0, -12vh, 0) scaleY(0.6);
  }
  14%,
  82% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 118vh, 0) scaleY(1.4);
  }
}

@keyframes terminalSecretSpark {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(0) scaleY(0.2);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1)) scaleY(1.6);
  }
}

@keyframes terminalSecretSigil {
  0% {
    opacity: 1;
    transform: scale(0.64) rotate(-12deg);
  }
  18% {
    opacity: 1;
  }
  62% {
    opacity: 1;
    transform: scale(1.02) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1.18) rotate(3deg);
  }
}

@keyframes terminalSecretPath {
  0% {
    stroke-dashoffset: 720;
    stroke-width: 9;
  }
  58% {
    stroke-dashoffset: 0;
    stroke-width: 13;
  }
  100% {
    stroke-dashoffset: 0;
    stroke-width: 13;
  }
}

@keyframes terminalSecretCopy {
  0% {
    opacity: 1;
    filter: blur(10px);
    transform: translate3d(-50%, 26px, 0);
  }
  28%,
  74% {
    opacity: 1;
    filter: none;
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    opacity: 1;
    filter: blur(12px);
    transform: translate3d(-50%, -18px, 0);
  }
}

@keyframes terminalSignatureLayer {
  0% {
    opacity: 0;
    filter: brightness(0.92) saturate(0.96);
  }
  14%,
  78% {
    opacity: 1;
    filter: brightness(1.06) saturate(1.08);
  }
  90% {
    opacity: 1;
    filter: brightness(1.16) saturate(1.1);
  }
  100% {
    opacity: 0;
    filter: brightness(0.9) saturate(0.94);
  }
}

@keyframes terminalSignatureAura {
  0% {
    opacity: 0;
    transform: scale(0.58);
    filter: blur(18px);
  }
  28% {
    opacity: 0.95;
  }
  66% {
    opacity: 0.18;
    transform: scale(1.42);
    filter: blur(42px);
  }
  82% {
    opacity: 0.88;
    transform: scale(0.78);
    filter: blur(18px);
  }
  100% {
    opacity: 0;
    transform: scale(0.28);
    filter: blur(72px);
  }
}

@keyframes terminalSignatureVeil {
  0% {
    opacity: 0;
    transform: translateX(-24%) scaleX(0.32);
  }
  26% {
    opacity: 0.8;
  }
  64% {
    opacity: 0.34;
    transform: translateX(0) scaleX(1.18);
  }
  82% {
    opacity: 0.82;
    transform: translateX(0) scaleX(0.5);
  }
  100% {
    opacity: 0;
    transform: translateX(0) scaleX(0.04);
  }
}

@keyframes terminalSignatureExitRay {
  0%,
  68% {
    opacity: 0;
    transform: scaleX(0.08) scaleY(0.48);
  }
  79% {
    opacity: 0.86;
    transform: scaleX(0.34) scaleY(0.72);
  }
  88% {
    opacity: 0.62;
    transform: scaleX(1.28) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(2.4) scaleY(1.18);
  }
}

@keyframes terminalSignatureParticle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(18px) scale(0.2);
  }
  22% {
    opacity: 0.96;
  }
  62% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -0.72)) scale(1);
  }
  78% {
    opacity: 0.88;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -0.28)) scale(0.72);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(0) scale(0.04);
  }
}

@keyframes terminalSignatureFrameOuter {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.72);
  }
  24%,
  66% {
    opacity: 0.72;
    transform: rotate(45deg) scale(1);
  }
  84% {
    opacity: 0.95;
    transform: rotate(135deg) scale(0.66);
  }
  100% {
    opacity: 0;
    transform: rotate(180deg) scale(0.18);
  }
}

@keyframes terminalSignatureFrameInner {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.42);
  }
  28%,
  68% {
    opacity: 0.9;
    transform: rotate(45deg) scale(1);
  }
  84% {
    opacity: 1;
    transform: rotate(-45deg) scale(0.52);
  }
  100% {
    opacity: 0;
    transform: rotate(-90deg) scale(0.08);
  }
}

@keyframes terminalSignatureSigil {
  0% {
    opacity: 0;
    filter: blur(2px) brightness(1.16);
    transform: scale(0.82) rotate(-4deg);
  }
  20% {
    opacity: 1;
    filter: none;
  }
  68% {
    opacity: 1;
    filter: none;
    transform: scale(1) rotate(0deg);
  }
  84% {
    opacity: 1;
    filter: brightness(1.16);
    transform: scale(1.025) rotate(0deg);
  }
  100% {
    opacity: 0;
    filter: blur(2px) brightness(1.18);
    transform: scale(0.9) rotate(2deg);
  }
}

@keyframes terminalSignaturePath {
  0% {
    stroke-dashoffset: 720;
    stroke-width: 8;
    filter: none;
  }
  46% {
    stroke-dashoffset: 0;
    stroke-width: 11;
    filter: none;
  }
  78% {
    stroke-dashoffset: 0;
    stroke-width: 11;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.34));
  }
  100% {
    stroke-dashoffset: -220;
    stroke-width: 8;
    filter: none;
  }
}

@keyframes terminalSignatureCopy {
  0% {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(-50%, 14px, 0) scale(0.98);
  }
  24%,
  74% {
    opacity: 1;
    filter: none;
    transform: translate3d(-50%, 0, 0) scale(1);
  }
  86% {
    opacity: 1;
    filter: brightness(1.08);
    transform: translate3d(-50%, -4px, 0) scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(4px) brightness(1.12);
    transform: translate3d(-50%, -16px, 0) scale(0.985);
  }
}

@keyframes terminalMatrixLayer {
  0% {
    opacity: 1;
    filter: contrast(1.36) saturate(1.4) hue-rotate(-10deg);
  }
  14% {
    filter: contrast(1.8) saturate(1.8) hue-rotate(18deg);
  }
  38%,
  78% {
    filter: contrast(1.18) saturate(1.25);
  }
  100% {
    opacity: 1;
    filter: contrast(1) saturate(1);
  }
}

@keyframes terminalMatrixAura {
  0% {
    opacity: 0;
    transform: rotate(0deg) scale(0.72);
  }
  18%,
  72% {
    opacity: 0.72;
  }
  100% {
    opacity: 0.18;
    transform: rotate(32deg) scale(1.32);
  }
}

@keyframes terminalMatrixRift {
  0% {
    opacity: 0;
    transform: translateX(-48%) skewX(-18deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(46%) skewX(-18deg);
  }
}

@keyframes terminalMatrixScan {
  0% {
    opacity: 0;
    transform: translateY(-60%);
  }
  18%,
  70% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(62%);
  }
}

@keyframes terminalMatrixGrid {
  0% {
    opacity: 0;
    transform: translate3d(-14px, -12px, 0);
  }
  16%,
  82% {
    opacity: 0.84;
  }
  100% {
    opacity: 0.18;
    transform: translate3d(18px, 18px, 0);
  }
}

@keyframes terminalMatrixShard {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(24px) scaleY(0.1);
  }
  16% {
    opacity: 0.88;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(var(--r) * -1.08)) scaleY(1.9);
  }
}

@keyframes terminalMatrixSigil {
  0% {
    opacity: 0;
    transform: translate3d(-22px, -4vh, 0) scale(1.08) skewX(-8deg);
  }
  8% {
    opacity: 0.3;
    transform: translate3d(18px, -4vh, 0) scale(1.16) skewX(9deg);
  }
  18%,
  76% {
    opacity: 0.2;
    transform: translate3d(0, -4vh, 0) scale(1.14);
  }
  100% {
    opacity: 0.12;
    transform: translate3d(8px, -4vh, 0) scale(1.2);
  }
}

@keyframes terminalMatrixPath {
  0% {
    stroke-dashoffset: 720;
    filter: blur(4px);
  }
  44% {
    stroke-dashoffset: 0;
    filter: none;
  }
  100% {
    stroke-dashoffset: 0;
    filter: none;
  }
}

@keyframes terminalMatrixCopy {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(-53%, -38%, 0) skewX(-7deg);
  }
  8% {
    opacity: 1;
    transform: translate3d(-47%, -38%, 0) skewX(7deg);
  }
  16%,
  74% {
    opacity: 1;
    filter: none;
    transform: translate3d(-50%, -38%, 0) skewX(0deg);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(-50%, -38%, 0);
  }
}

/* ================================
   Responsive / Reduced Motion
================================ */
@media (max-width: 980px) {
  :root {
    --header-h: 74px;
  }

  .preloader__stage {
    width: min(88vw, 460px);
  }

  .preloader__mark-box {
    width: clamp(230px, 42vw, 320px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand {
    display: none;
  }

  .main-nav {
    justify-self: start;
  }

  .sound-toggle {
    justify-self: end;
  }

  .route-view--home,
  .vault-layout,
  .terminal-grid,
  .home-system,
  .brand-manifesto,
  .closing-portal {
    grid-template-columns: 1fr;
  }

  .closing-portal__actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .terminal-field-canvas {
    opacity: 0.64;
  }

  .terminal-window {
    min-height: auto;
  }

  .terminal-signal-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .terminal-signal-card__mark {
    width: 64px;
  }

  .home-chroma-field {
    height: min(52vh, 520px);
  }

  .hero::before {
    width: min(76vw, 560px);
    height: min(76vw, 560px);
  }

  .route-seal {
    margin-top: clamp(58px, 10vh, 112px);
  }

  .vault-hero,
  .vault-showcase {
    grid-template-columns: 1fr;
  }

  .vault-intel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vault-intel__card--wide {
    grid-column: 1 / -1;
  }

  .vault-toolbar,
  .vault-case-panel {
    position: relative;
    top: auto;
  }

  .vault-case-panel {
    min-height: auto;
  }

  .case-presentation__shell {
    min-height: min(80vh, 680px);
  }

  .case-presentation__stage {
    grid-template-columns: 1fr;
    min-height: 430px;
  }

  .case-presentation__stage > p,
  .case-presentation__stage > h2,
  .case-presentation__chips,
  .case-presentation__visual {
    grid-column: 1;
  }

  .case-presentation__visual {
    grid-row: auto;
    min-height: 190px;
    margin-bottom: 22px;
  }

  .project-deck {
    min-height: auto;
  }

  .vault-proof ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signal-panel,
  .vault-intro {
    position: relative;
    top: auto;
  }

  .signal-panel__reactor {
    height: 112px;
  }

  .project-preview {
    width: clamp(300px, 54vw, 560px);
  }

  .deep-dive__controls {
    right: 82px;
  }

  .deep-panel--cover {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
  }

  .deep-cover-copy {
    align-self: center;
  }

  .deep-cover-visual {
    min-height: 38vh;
    width: min(100%, 680px);
    justify-self: center;
  }

  .case-hero-frame--main {
    top: 8%;
    left: 3%;
    width: 68%;
  }

  .case-hero-frame--tall {
    right: 13%;
    width: 19%;
  }

  .case-hero-frame--wide {
    left: 20%;
    bottom: 4%;
    width: 52%;
  }

  .deep-panel--metrics {
    grid-template-columns: 1fr;
  }

  .deep-panel--story {
    grid-template-columns: 1fr;
  }

  .metric-block {
    min-height: 22vh;
    width: min(74vw, 520px);
  }

  .story-beat {
    min-height: 24vh;
  }
}

@media (max-width: 640px) {
  .preloader__stage {
    gap: 14px;
    width: calc(100vw - 32px);
  }

  .preloader__mark-box {
    width: min(72vw, 270px);
  }

  .preloader__particles {
    top: 50%;
    left: 50%;
    width: min(176%, calc(100vw - 20px));
    height: min(176%, calc(100vw - 20px));
    transform: translate(-50%, -50%);
  }

  .preloader__signature {
    bottom: 8%;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .site-header {
    padding-inline: 12px;
  }

  .main-nav {
    gap: 2px;
    width: min(100%, 280px);
  }

  .nav-link {
    flex: 1;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .sound-toggle {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .sound-toggle span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .route-view {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 4vh;
    max-width: 100%;
  }

  .home-chroma-field {
    display: none;
  }

  .home-portal-canvas {
    opacity: 0.64;
  }

  .hero::before {
    inset: 12% auto auto -18%;
    opacity: 0.34;
  }

  .hero__kicker,
  .hero__copy,
  .hero__actions {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__title {
    max-width: 100%;
    font-size: clamp(3.1rem, 3.65rem, 4.4rem);
    overflow-wrap: anywhere;
  }

  .hero__signal-strip {
    margin-top: 18px;
  }

  .hero__signal-strip span {
    flex: 1 1 100%;
    min-height: 28px;
    font-size: 0.58rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .signal-panel__reactor {
    height: 98px;
  }

  .home-system__readout {
    width: 100%;
  }

  .brand-manifesto,
  .closing-portal {
    padding: 18px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .closing-portal__signal {
    width: 76px;
  }

  .brief-actions {
    grid-template-columns: 1fr;
  }

  .case-presentation {
    padding: 12px;
  }

  .case-presentation__meta {
    padding: 24px 16px 0;
  }

  .case-presentation__stage {
    min-height: 420px;
    padding: 46px 16px 22px;
  }

  .case-presentation__visual {
    display: none;
  }

  .case-presentation__actions {
    justify-content: stretch;
    padding: 0 16px 18px;
  }

  .case-presentation__actions .button {
    width: 100%;
  }

  .vault-hero,
  .vault-hero > *,
  .section-title,
  .section-copy {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .section-title {
    font-size: clamp(2.3rem, 3.35rem, 4rem);
  }

  .hero__telemetry,
  .service-matrix,
  .vault-stats {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .project-link {
    font-size: clamp(2.15rem, 3.2rem, 5rem);
    overflow-wrap: anywhere;
  }

  .project-preview {
    top: 0;
    width: calc(100vw - 28px);
  }

  .vault-toolbar {
    width: 100%;
    border-radius: 8px;
  }

  .vault-filter-readout {
    flex: 1 1 100%;
    border-top: 1px solid rgba(245, 242, 255, 0.1);
    border-left: 0;
  }

  .vault-filter {
    flex: 1 1 44%;
  }

  .project-deck .project-link {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 128px;
    gap: 12px;
    padding: 16px 14px;
  }

  .project-deck .project-link::after {
    top: 10px;
    right: 12px;
    font-size: 0.58rem;
  }

  .project-link__category {
    padding-right: 78px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .project-link__body strong {
    font-size: clamp(1.45rem, 8.5vw, 2.35rem);
    line-height: 0.98;
  }

  .project-link__body small {
    font-size: 0.8rem;
  }

  .project-link__badges {
    gap: 5px;
  }

  .project-link__signal {
    grid-column: 1 / -1;
  }

  .vault-intel {
    grid-template-columns: 1fr;
  }

  .vault-intel__card {
    min-height: 116px;
    padding: 15px;
  }

  .vault-stage {
    min-height: 360px;
  }

  .vault-proof ol {
    grid-template-columns: 1fr;
  }

  .vault-deliverables {
    grid-template-columns: 1fr;
  }

  .vault-atmosphere div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .vault-readouts {
    grid-template-columns: 1fr;
  }

  .vault-readouts div {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 242, 255, 0.1);
  }

  .vault-readouts div:last-child {
    border-bottom: 0;
  }

  .project-preview__meta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-preview__meta strong {
    max-width: 100%;
    text-align: left;
  }

  .deep-panel--cover h2,
  .deep-panel--end p {
    font-size: clamp(3.2rem, 4.6rem, 6rem);
  }

  .deep-panel {
    padding: 112px 16px 34px;
  }

  .deep-panel--cover {
    align-content: start;
    overflow-y: auto;
  }

  .deep-cover-copy > #deepCopy {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .deep-meta {
    gap: 7px;
    margin-top: 14px;
  }

  .deep-meta span {
    min-height: 30px;
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .deep-brief-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .deep-brief-grid article {
    min-height: auto;
    padding: 14px;
  }

  .deep-brief-grid p {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .deep-cover-visual {
    min-height: 30vh;
  }

  .case-hero-frame {
    padding: 12px;
  }

  .case-hero-frame span {
    font-size: 0.64rem;
  }

  .deep-dive__hud {
    right: 78px;
    left: 12px;
    overflow: hidden;
  }

  .deep-dive__hud span:last-child {
    display: none;
  }

  .deep-dive__controls {
    top: 78px;
    right: 12px;
    left: 12px;
  }

  .deep-dive__controls button {
    flex: 1;
  }

  .floating-card--screen,
  .floating-card--video,
  .deep-device--browser,
  .deep-device--poster {
    width: 76vw;
  }

  .floating-card--logo,
  .deep-device--phone {
    width: 48vw;
  }

  .terminal-depth-lines {
    display: none;
  }

  .terminal-window__top {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .terminal-window__top strong,
  .terminal-window__top em {
    flex: 1 1 100%;
    margin-left: 0;
  }

  #terminalLog {
    min-height: 300px;
    max-height: 56vh;
    padding-right: 4px;
  }

  .terminal-input {
    grid-template-columns: 1fr;
  }

  .terminal-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terminal-quick-actions button {
    min-width: 0;
    padding-inline: 8px;
  }

  .brief-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-readout {
    grid-template-columns: 1fr;
  }

  .terminal-signal-card {
    grid-template-columns: 1fr;
  }

  .conversion-dock {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr 1fr;
    width: calc(100vw - 20px);
  }

  .conversion-dock a {
    min-height: 54px;
    padding: 10px;
  }

  .conversion-dock span {
    font-size: 0.56rem;
  }

  .conversion-dock strong {
    font-size: 0.78rem;
  }

  .route-seal {
    width: 100%;
    padding-inline: 8px;
    justify-self: start;
    margin-inline: 0 auto;
  }

  .route-seal__mark {
    width: 108px;
  }

  .route-seal__logo {
    width: 92px;
    height: 92px;
  }

  .route-seal__orbit {
    width: min(220px, 72%);
  }

  .route-seal__copy {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }
}

@media (pointer: coarse) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .fluid-canvas {
    opacity: 0.38;
  }

  .rift-canvas,
  .spectral-vignette {
    opacity: 0.28;
  }

  .home-portal-canvas,
  .home-chroma-field,
  .terminal-field-canvas,
  .terminal-depth-lines {
    opacity: 0.24;
  }

  .brief-summary,
  .terminal-signal-card,
  .capability-stack > div {
    opacity: 1;
    transform: none;
  }

  .service-tile {
    opacity: 1;
    transform: none;
  }

  .route-seal__particles,
  .route-seal__spark {
    display: none;
  }

  .terminal-secret-layer[data-mode="signature"].is-active {
    animation-duration: 3200ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__veil {
    animation-duration: 3000ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__aura {
    animation-duration: 3200ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__rift {
    animation-duration: 3200ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sparks i {
    animation-duration: 2850ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil::before,
  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil::after {
    animation-duration: 3100ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil {
    animation-duration: 3100ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__sigil path {
    animation-duration: 2850ms !important;
  }

  .terminal-secret-layer[data-mode="signature"].is-active .terminal-secret-layer__copy {
    animation-duration: 2850ms !important;
  }

  .terminal-secret-layer[data-mode="matrix"].is-active,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__aura,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__veil,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__sigil,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__copy {
    animation-duration: 2500ms !important;
  }

  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__rift,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__scan,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__sparks i,
  .terminal-secret-layer[data-mode="matrix"].is-active .terminal-secret-layer__sigil path,
  .terminal-secret-layer[data-mode="matrix"] .terminal-secret-layer__rain span {
    animation-duration: 1450ms !important;
  }
}
