/* ============================================================
   RKN DESIGN SYSTEM — v1.0
   "Connecting distant dots" — night-sky navy, warm sand gold
   ------------------------------------------------------------
   Standalone, portable kit. Drop into any site:

     <link rel="stylesheet" href="rkn.css" />
     <body class="rkn-theme"> ... </body>

   Every class and token is prefixed `rkn-` so it can't collide
   with a host site's styles. Pair with rkn.js for interactions.
   Full documentation: DESIGN-SYSTEM.md
   ============================================================ */

/* ------------------------------------------------------------
   1 · DESIGN TOKENS
   ------------------------------------------------------------ */
.rkn-theme {
  /* -- Color · night scale (backgrounds, darkest → lightest) -- */
  --rkn-night-900: #0d0b26;   /* page background            */
  --rkn-night-800: #15123a;   /* raised surfaces, wells      */
  --rkn-night-700: #1a1645;   /* cards, panels               */
  --rkn-night-600: #2c2766;   /* scrollbar thumb, borders+   */

  /* -- Color · starlight scale (text, brightest → dimmest) -- */
  --rkn-ink:    #f4f2ff;      /* primary text                */
  --rkn-muted:  #a8a3d7;      /* secondary text, body copy   */
  --rkn-faint:  #6e69a8;      /* tertiary, hints, decorations*/

  /* -- Color · accent -- */
  --rkn-gold:      #ffcf6f;   /* THE accent. Use sparingly.  */
  --rkn-gold-ink:  #1a1645;   /* text on gold surfaces       */

  /* -- Color · functional -- */
  --rkn-line: rgba(163, 159, 222, 0.18);        /* hairline borders  */
  --rkn-line-hover: rgba(255, 207, 111, 0.45);  /* borders on hover  */
  --rkn-gold-glow: rgba(255, 207, 111, 0.3);    /* shadows/glows     */
  --rkn-veil: rgba(13, 11, 38, 0.72);           /* blurred header bg */

  /* -- Typography -- */
  --rkn-font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --rkn-font-mono: "IBM Plex Mono", "Consolas", monospace;

  /* Type scale — 18px floor for reading text, grows from there.
     Micro sizes are for mono LABELS only, never body copy. */
  --rkn-text-micro: 0.8rem;    /* 14.4px — tags, meta keys        */
  --rkn-text-label: 0.9rem;    /* 16.2px — crumbs, section notes  */
  --rkn-text-0: 1rem;          /* 18px   — base body              */
  --rkn-text-1: 1.1rem;        /* 19.8px — card body              */
  --rkn-text-2: 1.25rem;       /* 22.5px — long-form articles     */
  --rkn-text-3: 1.35rem;       /* 24.3px — ledes, hero subs       */
  --rkn-text-4: 1.65rem;       /* 29.7px — card titles            */
  --rkn-text-5: clamp(2.2rem, 4.8vw, 3.6rem);   /* section titles  */
  --rkn-text-6: clamp(2.8rem, 7.4vw, 5.6rem);   /* page heroes     */
  --rkn-text-7: clamp(3.2rem, 9.5vw, 7.4rem);   /* display hero    */

  /* -- Spacing scale -- */
  --rkn-s1: 4px;
  --rkn-s2: 8px;
  --rkn-s3: 12px;
  --rkn-s4: 16px;
  --rkn-s5: 24px;
  --rkn-s6: 32px;
  --rkn-s7: 48px;
  --rkn-s8: 64px;
  --rkn-s9: 96px;
  --rkn-s10: 120px;

  /* -- Shape -- */
  --rkn-radius: 18px;
  --rkn-radius-pill: 999px;

  /* -- Layout -- */
  --rkn-max: 1200px;
  --rkn-measure: 920px;   /* max-width for long-form paragraphs */

  /* -- Motion --
     Rule of the house: MOTION LOUD, LIGHT QUIET.
     Expressiveness comes from movement + easing, never glow.
     (JS-driven constants — starfield, warp, cursor, magnetism —
     live in RKN.defaults inside rkn.js.) */
  --rkn-ease: cubic-bezier(0.22, 1, 0.36, 1);        /* default spring   */
  --rkn-ease-in: cubic-bezier(0.55, 0, 0.85, 0.4);   /* accelerate away  */
  --rkn-ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* decelerate in    */
  --rkn-t-fast: 0.25s;
  --rkn-t-med: 0.45s;
  --rkn-t-slow: 0.8s;

  /* fixed-animation constants */
  --rkn-reveal-shift: 28px;      /* scroll-reveal rise distance     */
  --rkn-split-stagger: 38ms;     /* letter-rise delay per character */
  --rkn-split-rise: 0.6em;       /* letter-rise start offset        */
  --rkn-split-tilt: 4deg;        /* letter-rise start rotation      */
  --rkn-split-duration: 0.7s;
  --rkn-marquee-speed: 28s;      /* one full marquee loop           */
  --rkn-drift-duration: 2.6s;    /* "scroll ↓" style bobbing        */

  /* -- Applied base -- */
  background: var(--rkn-night-900);
  color: var(--rkn-ink);
  font-family: var(--rkn-font-display);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.rkn-theme ::selection { background: var(--rkn-gold); color: var(--rkn-gold-ink); }

.rkn-theme ::-webkit-scrollbar { width: 11px; }
.rkn-theme ::-webkit-scrollbar-track { background: var(--rkn-night-900); }
.rkn-theme ::-webkit-scrollbar-thumb {
  background: var(--rkn-night-600);
  border-radius: var(--rkn-radius-pill);
  border: 2px solid var(--rkn-night-900);
}

.rkn-theme :focus-visible {
  outline: 2px dashed var(--rkn-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ------------------------------------------------------------
   2 · LAYOUT PRIMITIVES
   ------------------------------------------------------------ */
.rkn-wrap { max-width: var(--rkn-max); margin: 0 auto; padding: 0 24px; }

.rkn-section { padding: var(--rkn-s10) 0; }

.rkn-prose { max-width: var(--rkn-measure); }
.rkn-prose p { color: var(--rkn-muted); font-size: var(--rkn-text-2); margin-bottom: 20px; }
.rkn-prose strong { color: var(--rkn-ink); font-weight: 500; }

/* starfield canvas mount point — position it yourself, keep content above */
.rkn-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }   /* explicit size: a canvas otherwise keeps its default 300×150 box */
.rkn-above { position: relative; z-index: 1; }

/* ------------------------------------------------------------
   3 · BRAND — the moniker
   ------------------------------------------------------------ */
.rkn-moniker {
  font-family: var(--rkn-font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--rkn-ink);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  transition: color var(--rkn-t-fast);
}
.rkn-moniker .rkn-bracket {
  color: var(--rkn-gold);
  display: inline-block;
  transition: transform 0.35s var(--rkn-ease);
}
.rkn-moniker:hover { color: var(--rkn-gold); }
.rkn-moniker:hover .rkn-bracket:first-of-type { transform: translateX(-4px); }
.rkn-moniker:hover .rkn-bracket:last-of-type { transform: translateX(4px); }

/* ------------------------------------------------------------
   4 · TYPOGRAPHY COMPONENTS
   ------------------------------------------------------------ */
.rkn-display {
  font-size: var(--rkn-text-7);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.rkn-display .rkn-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--rkn-faint);
  transition: -webkit-text-stroke-color 0.4s;
}
.rkn-display:hover .rkn-outline { -webkit-text-stroke-color: var(--rkn-gold); }

.rkn-h-page { font-size: var(--rkn-text-6); letter-spacing: -0.03em; line-height: 1.02; font-weight: 600; }

.rkn-h-section {
  font-size: var(--rkn-text-5);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.rkn-h-section .rkn-dot { color: var(--rkn-gold); display: inline-block; }

.rkn-eyebrow {
  font-family: var(--rkn-font-mono);
  color: var(--rkn-gold);
  font-size: var(--rkn-text-0);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rkn-label {
  font-family: var(--rkn-font-mono);
  color: var(--rkn-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: var(--rkn-text-label);
}

.rkn-lede { color: var(--rkn-muted); font-size: var(--rkn-text-3); line-height: 1.6; max-width: 800px; }

.rkn-accent-line { color: var(--rkn-gold); font-family: var(--rkn-font-mono); font-size: 1.05rem; }

.rkn-crumbs {
  font-family: var(--rkn-font-mono);
  font-size: var(--rkn-text-label);
  color: var(--rkn-faint);
  letter-spacing: 0.1em;
}
.rkn-crumbs a { color: var(--rkn-muted); text-decoration: none; }
.rkn-crumbs a:hover { color: var(--rkn-gold); }

/* staggered letter-rise (spans injected by rkn.js) */
.rkn-split .rkn-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(var(--rkn-split-rise)) rotate(var(--rkn-split-tilt));
  animation: rkn-char-rise var(--rkn-split-duration) var(--rkn-ease) forwards;
  animation-delay: calc(var(--i) * var(--rkn-split-stagger));
}
@keyframes rkn-char-rise { to { opacity: 1; transform: translateY(0) rotate(0); } }

/* ------------------------------------------------------------
   5 · BUTTONS
   ------------------------------------------------------------ */
.rkn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rkn-font-mono);
  font-size: var(--rkn-text-0);
  padding: 15px 30px;
  border-radius: var(--rkn-radius-pill);
  border: 1px solid var(--rkn-gold);
  text-decoration: none;
  cursor: pointer;
  background: none;
  transition: background var(--rkn-t-fast), color var(--rkn-t-fast), box-shadow 0.3s;
  will-change: transform; /* rkn.js magnetism moves it */
}
.rkn-btn--solid { background: var(--rkn-gold); color: var(--rkn-gold-ink); }
.rkn-btn--solid:hover { box-shadow: 0 12px 40px var(--rkn-gold-glow); }
.rkn-btn--ghost { color: var(--rkn-gold); }
.rkn-btn--ghost:hover { background: rgba(255, 207, 111, 0.1); }
.rkn-btn--sm { padding: 9px 20px; font-size: 0.92rem; }
.rkn-btn[disabled], .rkn-btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ------------------------------------------------------------
   6 · TAG
   ------------------------------------------------------------ */
.rkn-tag {
  display: inline-block;
  font-family: var(--rkn-font-mono);
  font-size: var(--rkn-text-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rkn-muted);
  border: 1px solid var(--rkn-line);
  border-radius: var(--rkn-radius-pill);
  padding: 4px 13px;
  transition: border-color 0.3s, color 0.3s;
}
a:hover .rkn-tag, .rkn-tag:hover {
  border-color: rgba(255, 207, 111, 0.35);
  color: var(--rkn-ink);
}

/* ------------------------------------------------------------
   7 · CARD (media + body + link affordance)
   ------------------------------------------------------------ */
.rkn-card {
  display: flex;
  flex-direction: column;
  background: var(--rkn-night-700);
  border: 1px solid var(--rkn-line);
  border-radius: var(--rkn-radius);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform var(--rkn-t-med) var(--rkn-ease), border-color 0.3s, box-shadow var(--rkn-t-med);
  transform-style: preserve-3d;   /* rkn.js tilt */
  will-change: transform;
}
/* while rkn.js is steering the tilt it eases the card itself, frame by frame */
.rkn-card.rkn-tilting {
  transition: opacity var(--rkn-t-slow) var(--rkn-ease), border-color 0.3s, box-shadow var(--rkn-t-med);
}
.rkn-card:hover {
  border-color: var(--rkn-line-hover);
  box-shadow: 0 30px 70px rgba(5, 4, 18, 0.65);
}

.rkn-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--rkn-night-800); }
.rkn-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--rkn-ease);
}
.rkn-card:hover .rkn-card__media img { transform: scale(1.05); }

.rkn-card__media--empty {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 207, 111, 0.14), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(110, 105, 168, 0.3), transparent 50%),
    var(--rkn-night-800);
}
.rkn-card__media--empty span {
  font-family: var(--rkn-font-mono);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.14em;
  color: var(--rkn-faint);
}

.rkn-card__body {
  padding: 28px 30px 32px;
  flex: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.rkn-card__body h3 { font-size: var(--rkn-text-4); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.rkn-card__body p { color: var(--rkn-muted); font-size: var(--rkn-text-1); margin: 0; }

.rkn-card__link {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--rkn-font-mono);
  font-size: 0.95rem;
  color: var(--rkn-gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.rkn-card__link .rkn-arrow { transition: transform 0.3s var(--rkn-ease); }
.rkn-card:hover .rkn-card__link .rkn-arrow { transform: translateX(6px); }

/* glare layer — rkn.js injects it and slides it under the cursor (a moved layer, never repainted) */
.rkn-card .rkn-glare {
  position: absolute; top: -420px; left: -420px; z-index: 3;
  width: 840px; height: 840px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s;
  will-change: transform;
  background: radial-gradient(circle closest-side, rgba(255, 235, 195, 0.14), transparent 60%);
}
.rkn-card.rkn-tilting:hover .rkn-glare { opacity: 1; }   /* only once rkn.js has placed it (never on touch) */

/* ------------------------------------------------------------
   8 · META GRID (key/value facts row)
   ------------------------------------------------------------ */
.rkn-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-top: 38px;
  border-top: 1px solid var(--rkn-line);
}
.rkn-meta .rkn-k {
  font-family: var(--rkn-font-mono);
  font-size: var(--rkn-text-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rkn-gold);
  margin-bottom: 8px;
}
.rkn-meta .rkn-v { color: var(--rkn-ink); font-size: 1.15rem; }

/* ------------------------------------------------------------
   9 · FACT TILE
   ------------------------------------------------------------ */
.rkn-fact {
  border: 1px solid var(--rkn-line);
  border-radius: var(--rkn-radius);
  padding: 28px 30px;
  background: rgba(26, 22, 69, 0.55);
  transition: transform 0.4s var(--rkn-ease), border-color 0.3s;
}
.rkn-fact:hover { transform: translateY(-6px); border-color: var(--rkn-line-hover); }
.rkn-fact .rkn-k {
  font-family: var(--rkn-font-mono);
  color: var(--rkn-gold);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rkn-fact .rkn-v { font-size: 1.25rem; margin-top: 10px; }

/* ------------------------------------------------------------
   10 · COPY CHIP (dashed pill that copies its payload)
   ------------------------------------------------------------ */
.rkn-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--rkn-font-mono);
  font-size: 1.1rem;
  border: 1px dashed var(--rkn-faint);
  padding: 16px 30px;
  border-radius: var(--rkn-radius-pill);
  color: var(--rkn-ink);
  cursor: pointer;
  background: none;
  transition: border-color var(--rkn-t-fast), background var(--rkn-t-fast), box-shadow 0.3s;
  will-change: transform;
}
.rkn-chip:hover {
  border-color: var(--rkn-gold);
  background: rgba(255, 207, 111, 0.07);
  box-shadow: 0 0 30px rgba(255, 207, 111, 0.12);
}
.rkn-chip .rkn-copied { color: var(--rkn-gold); font-size: 0.9rem; }

/* ------------------------------------------------------------
   11 · FAQ / ACCORDION
   ------------------------------------------------------------ */
.rkn-faq { border-bottom: 1px solid var(--rkn-line); }
.rkn-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px 4px;
  font-size: 1.3rem;
  font-weight: 500;
  transition: color var(--rkn-t-fast), padding-left 0.3s var(--rkn-ease);
}
.rkn-faq summary::-webkit-details-marker { display: none; }
.rkn-faq summary:hover { color: var(--rkn-gold); padding-left: 12px; }
.rkn-faq .rkn-plus {
  font-family: var(--rkn-font-mono);
  color: var(--rkn-gold);
  font-size: 1.4rem;
  transition: transform 0.3s var(--rkn-ease);
  flex-shrink: 0;
}
.rkn-faq[open] .rkn-plus { transform: rotate(45deg); }
.rkn-faq__body { padding: 0 4px 32px; color: var(--rkn-muted); max-width: 880px; font-size: 1.15rem; }

/* ------------------------------------------------------------
   12 · NOTE (dashed editorial/placeholder callout)
   ------------------------------------------------------------ */
.rkn-note {
  border: 1px dashed var(--rkn-faint);
  border-radius: var(--rkn-radius);
  padding: 20px 24px;
  font-family: var(--rkn-font-mono);
  font-size: 0.95rem;
  color: var(--rkn-faint);
  max-width: var(--rkn-measure);
}

/* ------------------------------------------------------------
   13 · MARQUEE
   ------------------------------------------------------------ */
.rkn-marquee {
  border-top: 1px solid var(--rkn-line);
  border-bottom: 1px solid var(--rkn-line);
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}
.rkn-marquee__track {
  display: inline-block;
  animation: rkn-scroll var(--rkn-marquee-speed) linear infinite;
  font-family: var(--rkn-font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--rkn-faint);
}
.rkn-marquee:hover .rkn-marquee__track { animation-play-state: paused; }
.rkn-marquee .rkn-sep { color: var(--rkn-gold); margin: 0 28px; }
@keyframes rkn-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   14 · STICKY HEADER SHELL
   ------------------------------------------------------------ */
.rkn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--rkn-veil);
  border-bottom: 1px solid var(--rkn-line);
}
.rkn-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.rkn-navlinks { display: flex; gap: 34px; align-items: center; list-style: none; margin: 0; padding: 0; }
.rkn-navlinks a {
  font-size: var(--rkn-text-0);
  color: var(--rkn-muted);
  position: relative;
  text-decoration: none;
  transition: color var(--rkn-t-fast);
}
.rkn-navlinks a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--rkn-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--rkn-ease);
}
.rkn-navlinks a:hover, .rkn-navlinks a[aria-current="page"] { color: var(--rkn-ink); }
.rkn-navlinks a:hover::after, .rkn-navlinks a[aria-current="page"]::after { transform: scaleX(1); }

/* ------------------------------------------------------------
   15 · INTERACTION SCAFFOLDING (driven by rkn.js)
   ------------------------------------------------------------ */

/* scroll reveal */
.rkn-reveal {
  opacity: 0;
  transform: translateY(var(--rkn-reveal-shift));
  transition: opacity var(--rkn-t-slow) var(--rkn-ease), transform var(--rkn-t-slow) var(--rkn-ease);
}
.rkn-reveal.rkn-in { opacity: 1; transform: none; }

/* comet progress bar */
#rkn-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0;
  z-index: 90;
  background: linear-gradient(90deg, transparent, rgba(255, 207, 111, 0.4) 60%, var(--rkn-gold));
  pointer-events: none;
}
#rkn-progress::after {
  content: "";
  position: absolute;
  right: -3px; top: -2.5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rkn-gold);
  box-shadow: 0 0 10px 2px rgba(255, 207, 111, 0.8);
}

/* custom cursor */
#rkn-cursor-dot, #rkn-cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: 200; pointer-events: none;
  will-change: transform;
}
#rkn-cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rkn-gold);
  box-shadow: 0 0 8px rgba(255, 207, 111, 0.9);
  transition: background 0.2s, box-shadow 0.2s;
}
#rkn-cursor-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(255, 207, 111, 0.45);
  transition: width var(--rkn-t-fast) var(--rkn-ease), height var(--rkn-t-fast) var(--rkn-ease),
              border-color var(--rkn-t-fast), background var(--rkn-t-fast);
}
body.rkn-cursor-hover #rkn-cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(255, 207, 111, 0.9);
  background: rgba(255, 207, 111, 0.08);
}
/* contrast flip on bright surfaces (luminance > 0.55) */
body.rkn-cursor-dark #rkn-cursor-dot {
  background: var(--rkn-gold-ink);
  box-shadow: 0 0 6px rgba(26, 22, 69, 0.6);
}
body.rkn-cursor-dark #rkn-cursor-ring { border-color: rgba(26, 22, 69, 0.55); }
body.rkn-cursor-dark.rkn-cursor-hover #rkn-cursor-ring {
  border-color: rgba(26, 22, 69, 0.9);
  background: rgba(26, 22, 69, 0.08);
}
body.rkn-has-cursor, body.rkn-has-cursor a, body.rkn-has-cursor button,
body.rkn-has-cursor summary, body.rkn-has-cursor label { cursor: none; }

/* cross-page blend: the browser holds the departing page's last frame (the warp at full
   thrust) and dissolves it into the arriving page, so there is never a blank gap between them.
   Chrome / Safari 18.2+; elsewhere pages simply switch as before. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.42s; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* hyperspace page transitions.
   NO blur filters here — animating filter over a full page
   repaints every frame and flickers. Opacity + transform only. */
/* opacity only, both ways: a transform on the page would (a) slide the game behind its
   fixed header and (b) turn full-window fixed layers into children of the page box, so they
   snap into the column mid-departure. The warp streaks carry the motion instead. */
.rkn-warp-main { transition: opacity 0.75s var(--rkn-ease-out); }
body.rkn-warp-depart .rkn-warp-main {
  opacity: 0;
  transition: opacity 0.6s var(--rkn-ease-in);
}
body.rkn-warp-depart .rkn-warp-fade { opacity: 0; }
.rkn-warp-fade { transition: opacity 0.5s ease; }
/* arrival is opacity only: a transform here would make games measure a shrunken, shifted box */
body.rkn-warp-arrive .rkn-warp-main { opacity: 0; transition: none; }
body.rkn-warp-arrive .rkn-warp-fade { opacity: 0; transition: none; }

/* ------------------------------------------------------------
   16 · ACCESSIBILITY / RESPONSIVE GUARDS
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .rkn-reveal { opacity: 1; transform: none; transition: none; }
  .rkn-split .rkn-char { opacity: 1; transform: none; animation: none; }
  .rkn-marquee__track { animation: none; }
  #rkn-cursor-dot, #rkn-cursor-ring { display: none; }
}

@media (max-width: 880px) {
  .rkn-meta { grid-template-columns: repeat(2, 1fr); }
  .rkn-section { padding: 80px 0; }
  .rkn-lede { font-size: 1.2rem; }
  .rkn-prose p { font-size: 1.13rem; }
  #rkn-cursor-dot, #rkn-cursor-ring { display: none; }
}
