/* =========================================================================
   TAGMUH Eco — Coming Soon
   Brand: TAGMUH blue #2070f7 (+ tints from the app's palette), navy #182c50,
   Plus Jakarta Sans (the typeface used across the TAGMUH app).
   ========================================================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

:root {
  --bg: #04060c;
  --bg-raise: #070b16;
  --navy: #182c50;
  --brand: #2070f7;
  --brand-300: #8db3fb;
  --brand-200: #bad1fd;
  --brand-50: #eef4ff;

  --ink: #f3f6fd;
  --ink-2: rgba(219, 229, 247, 0.74);
  --ink-3: rgba(196, 210, 236, 0.56);
  --line: rgba(141, 179, 251, 0.14);
  --line-soft: rgba(141, 179, 251, 0.08);

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1200px;
  --sweep: 9s; /* must match T in the field generator */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* pointer parallax, written by script.js */
  --px: 0;
  --py: 0;
  --scroll: 0;

  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection { background: rgba(32, 112, 247, 0.45); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Film grain: a whisper of texture so the dark never looks flat. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ */
/* Eyebrows, live dot                                                  */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand-300);
}
.eyebrow__rule {
  width: clamp(18px, 4vw, 40px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(141, 179, 251, 0.7));
}
.eyebrow__rule:last-child { transform: scaleX(-1); }

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-300);
  box-shadow: 0 0 0 0 rgba(141, 179, 251, 0.6), 0 0 12px rgba(32, 112, 247, 0.9);
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(env(safe-area-inset-top), clamp(18px, 3vw, 32px)) var(--gutter) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 8px;
}
.brand img {
  width: clamp(104px, 11vw, 138px);
  height: auto;
}
.brand__eco {
  position: relative;
  padding-left: 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.brand__eco::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1.1em;
  transform: translateY(-50%);
  background: rgba(196, 210, 236, 0.32);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 14vh, 140px) var(--gutter) clamp(128px, 16vh, 156px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(24, 44, 80, 0.85) 0%, rgba(8, 14, 30, 0.6) 45%, transparent 75%),
    var(--bg);
}
/* Soft floor so the hero melts into the next section */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora__blob--a {
  width: 70vmax;
  height: 70vmax;
  left: -24vmax;
  top: -32vmax;
  background: radial-gradient(closest-side, rgba(32, 112, 247, 0.26), rgba(32, 112, 247, 0.06) 55%, transparent);
}
.aurora__blob--b {
  width: 64vmax;
  height: 64vmax;
  right: -26vmax;
  bottom: -30vmax;
  background: radial-gradient(closest-side, rgba(24, 44, 80, 0.9), rgba(26, 86, 201, 0.12) 50%, transparent);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}
/* Quiet the field behind the headline and lede, so nodes never sit on the words */
.hero__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 40%;
  width: min(1240px, 140%);
  height: 84%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(4, 6, 12, 0.94), rgba(4, 6, 12, 0.8) 52%, rgba(4, 6, 12, 0.35) 80%, transparent);
  pointer-events: none;
}

/* The origin: official mark + the live field radiating from it */
.origin {
  position: relative;
  width: clamp(120px, 15vw, 188px);
  aspect-ratio: 1;
  margin-bottom: clamp(28px, 4.2vh, 44px);
}
.origin__mark {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translate3d(calc(var(--px) * 6px), calc(var(--py) * 6px), 0);
}
.origin__mark::before {
  /* luminous halo behind the mark */
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(32, 112, 247, 0.38), rgba(32, 112, 247, 0.1) 48%, transparent 72%);
}
.origin__mark picture,
.origin__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(32, 112, 247, 0.35));
}
.origin__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(141, 179, 251, 0.55);
  opacity: 0;
  pointer-events: none;
}

.field {
  --size: clamp(940px, 132vw, 1780px);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: var(--size);
  height: var(--size);
  pointer-events: none;
  transform: translate3d(calc(-50% + var(--px) * -16px), calc(-50% + var(--py) * -16px + var(--scroll) * 0.18px), 0);
}
.field__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.field__rings { fill: none; stroke: rgba(141, 179, 251, 0.13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.field__rings path { stroke: rgba(141, 179, 251, 0.07); }
.field__rings circle,
.field__rings path,
.field__ticks path,
.field__links line { vector-effect: non-scaling-stroke; }
.field__ticks path { fill: none; stroke: rgba(141, 179, 251, 0.2); stroke-width: 1; }
.field__links line { stroke: rgba(141, 179, 251, 0.1); stroke-width: 1; }
.field__links line.is-live {
  stroke: rgba(141, 179, 251, 0.5);
  stroke-dasharray: 2 22;
  opacity: 0.35;
}
.field__nodes .node { fill: var(--brand-300); opacity: 0.42; }
.field__nodes .blip {
  fill: none;
  stroke: var(--brand-300);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

/* The sweep: bright leading edge, long fading tail. Static wedge when motion is off. */
.field__sweep {
  position: absolute;
  inset: 1%;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(32, 112, 247, 0) 0deg,
    rgba(32, 112, 247, 0) 268deg,
    rgba(32, 112, 247, 0.07) 318deg,
    rgba(32, 112, 247, 0.2) 352deg,
    rgba(141, 179, 251, 0.42) 359.4deg,
    rgba(32, 112, 247, 0) 360deg);
  -webkit-mask-image: radial-gradient(closest-side, transparent 7%, #000 22%, rgba(0, 0, 0, 0.75) 62%, transparent 99%);
  mask-image: radial-gradient(closest-side, transparent 7%, #000 22%, rgba(0, 0, 0, 0.75) 62%, transparent 99%);
  transform: rotate(48deg);
  will-change: transform;
}

/* Typography */
.eyebrow--hero { margin-bottom: clamp(18px, 2.6vh, 26px); }

.hero__title {
  font-size: clamp(2.45rem, 7.4vw, 7.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;
}
.line {
  display: block;
  overflow: hidden;
  /* room for descenders and the italic-free glyph overshoot */
  padding: 0.04em 0.06em 0.1em;
  margin: -0.04em -0.06em -0.1em;
}
.line__inner { display: inline-block; }
.punct { margin-left: -0.04em; }
.line__inner--glow {
  background: linear-gradient(100deg, #ffffff 8%, var(--brand-200) 42%, var(--brand-300) 64%, var(--brand) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

.hero__lede {
  max-width: 39rem;
  margin-top: clamp(22px, 3.2vh, 32px);
  font-size: clamp(1rem, 0.55vw + 0.88rem, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: max(env(safe-area-inset-bottom), clamp(22px, 4vh, 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.75rem;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-3);
  transition: color 0.4s var(--ease-out);
}
.scroll-cue:hover { color: var(--ink); }
.scroll-cue__track {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(141, 179, 251, 0.3), rgba(141, 179, 251, 0));
}
.scroll-cue__bead {
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 14px;
  border-radius: 3px;
  background: var(--brand-200);
  box-shadow: 0 0 10px var(--brand);
}

/* ------------------------------------------------------------------ */
/* Vision                                                              */
/* ------------------------------------------------------------------ */
.vision {
  position: relative;
  padding: clamp(96px, 16vh, 180px) 0 clamp(56px, 9vh, 112px);
}
.vision::before {
  /* hairline horizon */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(880px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(141, 179, 251, 0.35), transparent);
}

.vision__statement {
  max-width: 21em;
  margin-top: clamp(22px, 3vh, 32px);
  font-size: clamp(1.75rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.vision__statement .w {
  transition: color 0.5s var(--ease-out);
}
.words-ready .vision__statement .w { color: rgba(196, 210, 236, 0.22); }
.words-ready .vision__statement .w.is-lit { color: var(--ink); }
.words-ready .vision__statement .w.is-key.is-lit { color: var(--brand-200); }

.signal-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(64px, 10vh, 112px);
  padding-top: 40px;
}
/* the line the four signals sit on, with a travelling pulse */
.signal-path::before,
.signal-path::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
}
.signal-path::before { background: linear-gradient(90deg, rgba(141, 179, 251, 0.4), rgba(141, 179, 251, 0.14) 60%, rgba(141, 179, 251, 0.04)); }
.signal-path::after {
  width: 22%;
  background: linear-gradient(90deg, transparent, var(--brand-200), transparent);
  opacity: 0;
}

.signal { position: relative; }
.signal__node {
  position: absolute;
  top: -44px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--brand-300);
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(32, 112, 247, 0.7);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.signal:hover .signal__node { background: var(--brand-300); transform: scale(1.25); }
.signal__index {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand-300);
  font-variant-numeric: tabular-nums;
}
.signal__title {
  margin-top: 0.85rem;
  font-size: clamp(1.25rem, 1.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.signal__text {
  margin-top: 0.5rem;
  max-width: 17rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ------------------------------------------------------------------ */
/* Launch                                                              */
/* ------------------------------------------------------------------ */
.launch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(112px, 18vh, 200px) 0;
  text-align: center;
}
.launch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(52% 60% at 50% 50%, rgba(24, 44, 80, 0.75), rgba(8, 14, 30, 0.4) 55%, transparent 80%);
}
.launch__rings {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: clamp(560px, 80vw, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.launch__rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(141, 179, 251, 0.12);
}
.launch__rings span:nth-child(2) { inset: 14%; border-color: rgba(141, 179, 251, 0.1); }
.launch__rings span:nth-child(3) { inset: 28%; border-color: rgba(141, 179, 251, 0.08); }
.launch__rings span:nth-child(4) { inset: 42%; border-color: rgba(141, 179, 251, 0.14); background: radial-gradient(closest-side, rgba(32, 112, 247, 0.14), transparent); }

.launch__inner { display: flex; flex-direction: column; align-items: center; }
.launch .eyebrow { gap: 0.7rem; }
.launch__title {
  margin-top: clamp(20px, 3vh, 28px);
  font-size: clamp(2.6rem, 7.6vw, 7.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 30%, rgba(186, 209, 253, 0.72));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.launch__text {
  max-width: 34rem;
  margin-top: clamp(18px, 2.6vh, 26px);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer {
  position: relative;
  padding: 28px 0 max(env(safe-area-inset-bottom), 28px);
  border-top: 1px solid var(--line-soft);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.1rem;
  color: var(--ink-3);
  transition: color 0.3s var(--ease-out);
}
.to-top span { transition: transform 0.4s var(--ease-out); }
.to-top:hover { color: var(--ink); }
.to-top:hover span { transform: translateY(-3px); }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .signal-path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; padding-top: 0; }
  .signal-path::before, .signal-path::after { display: none; }
  .signal { padding-top: 34px; border-top: 1px solid var(--line); }
  .signal__node { top: -5px; }
}

@media (max-width: 560px) {
  .status-pill { padding: 0.42rem 0.75rem; font-size: 0.72rem; }
  .brand { gap: 0.6rem; }
  .brand__eco { padding-left: 0.6rem; font-size: 0.7rem; letter-spacing: 0.24em; }
  .eyebrow { letter-spacing: 0.26em; }
  .signal-path { grid-template-columns: 1fr; row-gap: 40px; }
  .signal__text { max-width: none; }
  .site-footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 360px) {
  .status-pill { font-size: 0; gap: 0; padding: 0.55rem; }
  .status-pill .live-dot { margin: 0; }
}

@media (max-height: 640px) and (min-width: 700px) {
  .origin { width: 112px; margin-bottom: 20px; }
  .hero__title { font-size: clamp(2.4rem, 6vw, 5rem); }
}

/* ------------------------------------------------------------------ */
/* Motion — only for people who haven't asked for less of it          */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Load sequence */
  .site-header { animation: fade-down 1.1s var(--ease-out) 0.15s both; }
  .origin__mark picture { animation: mark-in 1.6s var(--ease-out) 0.1s both; }
  .origin__mark::before { animation: halo-in 2.2s var(--ease-out) 0.1s both, halo-breathe 7s var(--ease-in-out) 2.4s infinite; }
  .field { animation: field-in 2.6s var(--ease-out) 0.2s both; }
  .eyebrow--hero { animation: rise 1.1s var(--ease-out) 0.55s both; }
  .eyebrow--hero .eyebrow__rule { animation: rule-grow 1.2s var(--ease-out) 0.75s both; }
  .line__inner { animation: line-up 1.25s var(--ease-out) both; }
  .line:nth-child(1) .line__inner { animation-delay: 0.7s; }
  .line:nth-child(2) .line__inner { animation-delay: 0.84s; }
  .line__inner--glow {
    background-size: 220% 100%;
    animation: line-up 1.25s var(--ease-out) 0.84s both, sheen 9s var(--ease-in-out) 2.4s infinite;
  }
  .hero__lede { animation: rise 1.2s var(--ease-out) 1.1s both; }
  .scroll-cue { animation: fade-in 1.2s var(--ease-out) 1.6s both; }
  .scroll-cue__bead { animation: bead 2.4s var(--ease-in-out) 2s infinite; }

  /* Ambient life */
  .aurora__blob--a { animation: drift-a 26s var(--ease-in-out) infinite alternate; }
  .aurora__blob--b { animation: drift-b 32s var(--ease-in-out) infinite alternate; }
  .field__sweep { animation: sweep var(--sweep) linear infinite; }
  /* each node lights up exactly as the sweep's leading edge crosses it (--d) */
  .field__nodes .node { animation: node-glow var(--sweep) ease-out var(--d) infinite; }
  .field__nodes .blip { animation: blip var(--sweep) var(--ease-out) var(--d) infinite; }
  .field__links line.is-live { animation: packet var(--sweep) linear infinite; }
  .origin__ping { animation: ping 4.5s var(--ease-out) 2s infinite; }
  .origin__ping--late { animation-delay: 4.25s; }
  .live-dot { animation: live 2.4s var(--ease-out) infinite; }
  .signal-path::after { animation: travel 5.5s var(--ease-in-out) 1s infinite; }
  .launch__rings span { animation: ring-breathe 8s var(--ease-in-out) infinite; }
  .launch__rings span:nth-child(2) { animation-delay: -2s; }
  .launch__rings span:nth-child(3) { animation-delay: -4s; }
  .launch__rings span:nth-child(4) { animation-delay: -6s; }

  /* Scroll reveals (only armed once script.js confirms it can un-hide them) */
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 110ms);
  }
  .reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Reduced motion: a composed still frame — sweep parked, a few nodes lit. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field__nodes g:nth-child(3n + 1) .node { opacity: 0.9; }
  .field__links line.is-live { opacity: 0.25; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-down { from { opacity: 0; transform: translate3d(0, -12px, 0); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translate3d(0, 110%, 0); } to { transform: none; } }
@keyframes rule-grow { from { opacity: 0; width: 0; } to { opacity: 1; } }
@keyframes mark-in {
  from { opacity: 0; transform: scale(0.82) rotate(-18deg); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes halo-in { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }
@keyframes halo-breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
@keyframes field-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes bead { 0% { transform: translateY(-16px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }
@keyframes drift-a { to { transform: translate3d(9vmax, 6vmax, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-8vmax, -5vmax, 0) scale(1.08); } }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes node-glow {
  0% { opacity: 1; }
  45% { opacity: 0.42; }
  100% { opacity: 0.42; }
}
@keyframes blip {
  0% { opacity: 0.9; transform: scale(1); }
  32% { opacity: 0; transform: scale(5.5); }
  100% { opacity: 0; transform: scale(5.5); }
}
@keyframes packet {
  0% { opacity: 0.9; stroke-dashoffset: 0; }
  40% { opacity: 0.25; }
  100% { opacity: 0.25; stroke-dashoffset: -240; }
}
@keyframes ping {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.4); }
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(141, 179, 251, 0.55), 0 0 12px rgba(32, 112, 247, 0.9); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(141, 179, 251, 0), 0 0 12px rgba(32, 112, 247, 0.9); }
}
@keyframes travel {
  0% { transform: translateX(-30%); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(480%); opacity: 0; }
}
@keyframes ring-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.025); } }
