/* ==========================================================================
   CODEPATCH STEM — NORSE THEME
   Fire (Muspelheim gold) against ice (Niflheim aurora) on a night-fjord base.
   Loads after the runtime styles in the bundle, so it wins at equal specificity.
   ========================================================================== */

:root {
  --nx-night: #060a11;
  --nx-deep: #0b121c;
  --nx-frost: #e8eff6;
  --nx-mist: #9fb0c1;
  --nx-gold: #e5b83f;
  --nx-ember: #ff9a3c;
  --nx-aurora: #3fe0c0;
  --nx-ice: #7cc4ff;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --cp-bg: var(--nx-night);
  --cp-bg-elev: var(--nx-deep);
  --cp-bg-card: rgba(14, 22, 34, 0.74);
  --cp-text: var(--nx-frost);
  --cp-muted: var(--nx-mist);
  --cp-border: rgba(229, 184, 63, 0.18);
  --cp-border-strong: rgba(255, 216, 77, 0.5);
  --cp-font-display: 'Uncial Antiqua', 'Cinzel', Georgia, serif;
  --cp-font-sans: 'Alegreya Sans', system-ui, -apple-system, sans-serif;
  --cp-font-mono: 'Alegreya Sans', system-ui, sans-serif;
}

html { scroll-padding-top: 6.5rem; background: var(--nx-night); }
body {
  background: none;
  font-family: var(--cp-font-sans);
  font-size: 1.1rem;
  line-height: 1.6;
}
body.nx-loading { overflow: hidden; }
#root { position: relative; z-index: 1; }
#nx-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
:focus-visible { outline: 2px solid var(--nx-aurora); outline-offset: 3px; }
::selection { background: var(--nx-gold); color: var(--nx-night); }

/* ---------- Cinematic intro: letterbox, valknut, runes, hall doors ---------- */
#nx-intro { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; color: var(--nx-frost); font-family: var(--cp-font-sans); --p: 0; }
#nx-intro::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 55% at 50% 52%, rgba(255, 154, 60, calc(0.05 + var(--p) * 0.16)), transparent 70%), var(--nx-night); }
#nx-intro-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.nx-gate {
  position: absolute; top: 0; bottom: 0; width: 50.3%; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(255, 154, 60, 0.18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 54px),
    var(--nx-night);
  transition: transform 1.25s cubic-bezier(0.77, 0, 0.18, 1) 0.3s;
}
.nx-gate--l { left: 0; border-right: 2px solid rgba(229, 184, 63, 0.6); }
.nx-gate--r { right: 0; border-left: 2px solid rgba(229, 184, 63, 0.6); }
#nx-intro.nx-open .nx-gate--l { transform: translateX(-101%); }
#nx-intro.nx-open .nx-gate--r { transform: translateX(101%); }
#nx-intro.nx-open::before { opacity: 0; transition: opacity 0.6s 0.35s; }

/* Seam of light between the doors: grows as loading climbs, flares when they open */
.nx-beam { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; z-index: 1; opacity: calc(0.15 + var(--p) * 0.6); transform: scaleY(calc(0.12 + var(--p) * 0.88));
  background: linear-gradient(180deg, transparent, #fff 18%, #ffe9a8 50%, #fff 82%, transparent); box-shadow: 0 0 22px 5px rgba(255, 190, 80, 0.65), 0 0 110px 26px rgba(255, 150, 60, 0.3); }
#nx-intro.nx-open .nx-beam { animation: nxBeam 1.6s var(--nx-ease) forwards; }
@keyframes nxBeam { 0% { transform: scaleY(1); opacity: 1; } 30% { opacity: 1; box-shadow: 0 0 40px 14px rgba(255, 210, 120, 0.95), 0 0 260px 120px rgba(255, 160, 70, 0.7); } 100% { opacity: 0; box-shadow: 0 0 60px 40px rgba(255, 210, 120, 0), 0 0 400px 200px rgba(255, 160, 70, 0); } }
.nx-flash { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(255, 226, 150, 0.5), transparent 70%); }
#nx-intro.nx-open .nx-flash { animation: nxFlash 1.2s ease-out forwards; }
@keyframes nxFlash { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }

/* Letterbox bars with film-credit text */
.nx-lb { position: absolute; left: 0; right: 0; z-index: 5; height: clamp(52px, 9vh, 88px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 4vw, 3rem); background: #000; color: var(--nx-mist); font-size: 0.88rem; letter-spacing: 0.16em; text-transform: uppercase; transition: transform 1.1s cubic-bezier(0.77, 0, 0.18, 1) 0.7s; }
.nx-lb--t { top: 0; border-bottom: 1px solid rgba(229, 184, 63, 0.35); animation: nxBarT 1.2s var(--nx-ease) backwards; }
.nx-lb--b { bottom: 0; border-top: 1px solid rgba(229, 184, 63, 0.35); animation: nxBarB 1.2s var(--nx-ease) backwards; }
@keyframes nxBarT { from { transform: translateY(-101%); } }
@keyframes nxBarB { from { transform: translateY(101%); } }
#nx-intro.nx-open .nx-lb--t { transform: translateY(-101%); }
#nx-intro.nx-open .nx-lb--b { transform: translateY(101%); }
.nx-chap { color: var(--nx-gold); }
.nx-pct { display: flex; align-items: baseline; }
.nx-pct b { font-family: var(--cp-font-display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.9rem); line-height: 1; letter-spacing: 0.02em; color: var(--nx-frost); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(255, 154, 60, 0.55); }
.nx-pct i { font-style: normal; margin-left: 0.25em; color: var(--nx-gold); }

.nx-core { position: relative; z-index: 2; text-align: center; padding: 1rem; transition: opacity 0.6s ease, transform 1.2s var(--nx-ease); }
#nx-intro.nx-open .nx-core { opacity: 0; transform: scale(1.35); }
.nx-ring { --r: min(36vw, 138px); position: relative; width: calc(var(--r) * 2 + 40px); aspect-ratio: 1; margin: 0 auto 1.5rem; }
.nx-ring > span {
  position: absolute; left: 50%; top: 50%; width: 1.2em; margin: -0.6em 0 0 -0.6em; text-align: center; font-size: 1.05rem;
  font-family: 'Noto Sans Runic', 'Segoe UI Historic', 'Segoe UI Symbol', 'Apple Symbols', serif;
  color: rgba(229, 184, 63, 0.14); transition: color 0.4s, text-shadow 0.4s;
  transform: rotate(calc(var(--i) * 15deg)) translateY(calc(var(--r) * -1));
}
.nx-ring > span.on { color: var(--nx-gold); text-shadow: 0 0 12px rgba(255, 154, 60, 0.9); }
.nx-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nx-orbit { fill: none; stroke: rgba(229, 184, 63, 0.55); stroke-width: 1.2; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.nx-dash { fill: none; stroke: rgba(124, 196, 255, 0.35); stroke-width: 1; stroke-dasharray: 3 9; transform-box: fill-box; transform-origin: center; animation: nxSpin 22s linear infinite reverse; }
.nx-valknut { transform-box: fill-box; transform-origin: center; animation: nxBreath 3.2s ease-in-out infinite; }
.nx-stroke { fill: none; stroke: #ffd84d; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.nx-stroke--k { stroke-width: 8; }
.nx-stroke--d { stroke-width: 2.4; stroke: rgba(255, 216, 77, 0.8); }
.nx-rose { transform-box: fill-box; transform-origin: center; animation: nxSpin 60s linear infinite; }
.nx-rose line { stroke: rgba(124, 196, 255, 0.22); stroke-width: 1; }
.nx-ember { fill: var(--nx-aurora); animation: nxPulse 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 6px var(--nx-aurora)); }
@keyframes nxSpin { to { transform: rotate(360deg); } }
@keyframes nxBreath { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255, 154, 60, 0.5)); } 50% { transform: scale(1.05); filter: drop-shadow(0 0 14px rgba(255, 154, 60, 0.95)); } }
@keyframes nxPulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }
.nx-word { font-family: var(--cp-font-display); font-size: clamp(1.8rem, 6.2vw, 2.9rem); margin: 0; letter-spacing: 0.05em; line-height: 1.1; color: var(--nx-frost); text-shadow: 0 0 34px rgba(255, 154, 60, 0.35); }
.nx-wc { display: inline-block; animation: nxWc 1s var(--nx-ease) calc(0.5s + var(--c) * 0.06s) backwards; }
@keyframes nxWc { from { opacity: 0; transform: translateY(0.7em) rotate(5deg); filter: blur(9px) brightness(2.6); } }
.nx-bar { --p: 0; width: min(280px, 70vw); height: 3px; margin: 1.2rem auto 0.85rem; background: rgba(229, 184, 63, 0.16); overflow: hidden; }
.nx-bar > i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--nx-gold), var(--nx-ember)); box-shadow: 0 0 12px var(--nx-ember); }
.nx-status { color: var(--nx-mist); font-size: 1.05rem; margin: 0; min-height: 1.6em; letter-spacing: 0.02em; }
.nx-retry { margin-top: 1rem; display: none; }
#nx-intro.nx-failed .nx-retry { display: inline-flex; }
@keyframes nxDraw { to { stroke-dashoffset: 0; } }


/* ---------- Progress bar & navigation ---------- */
.cp-progress { height: 3px; z-index: 70; background: linear-gradient(90deg, var(--nx-gold), var(--nx-ember) 55%, var(--nx-aurora)); box-shadow: 0 0 14px rgba(255, 154, 60, 0.8); transform-origin: left; }
.cp-nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 1.5rem));
  border: 1px solid rgba(229, 184, 63, 0.2); border-radius: 4px 26px 4px 26px;
  background: rgba(8, 13, 21, 0.55); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.9);
  transition: background 0.4s, border-color 0.4s, top 0.4s var(--nx-ease), box-shadow 0.4s;
}
.cp-nav.is-scrolled { top: 8px; background: rgba(6, 10, 17, 0.88); border-color: rgba(229, 184, 63, 0.38); }
.cp-nav__inner { padding: 0.55rem 1.1rem; }
.cp-brand__title { font-family: var(--cp-font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.04em; }
.cp-brand__sub { font-family: var(--cp-font-sans); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--nx-gold); }
.cp-nav__link { font-family: var(--cp-font-sans); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.02em; color: var(--nx-mist); }
.cp-nav__link:hover, .cp-nav__link.is-active { color: var(--nx-frost); }
.cp-nav__link::after { height: 2px; background: linear-gradient(90deg, var(--nx-gold), var(--nx-ember)); bottom: -6px; }
.cp-nav__link.is-active::after { box-shadow: 0 0 10px var(--nx-ember); }
.nx-nav-cta { padding: 0.5rem 1.15rem !important; font-size: 1rem !important; }
.cp-nav__toggle { width: 46px; height: 42px; padding: 0; align-items: center; justify-content: center; border-radius: 3px 14px; border: 1px solid rgba(229, 184, 63, 0.4); background: rgba(229, 184, 63, 0.08); color: var(--nx-gold); cursor: pointer; }
.nx-burger { display: grid; gap: 5px; width: 20px; }
.nx-burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--nx-ease), opacity 0.2s; }
.cp-nav__toggle[aria-expanded='true'] .nx-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cp-nav__toggle[aria-expanded='true'] .nx-burger i:nth-child(2) { opacity: 0; }
.cp-nav__toggle[aria-expanded='true'] .nx-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.cp-nav__links.is-open { top: calc(100% + 8px); left: 0; right: 0; border: 1px solid rgba(229, 184, 63, 0.3); border-radius: 4px 22px 4px 22px; background: rgba(6, 10, 17, 0.985); gap: 1rem; padding-bottom: 1.5rem; animation: nxMenu 0.45s var(--nx-ease) both; }
@keyframes nxMenu { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }

/* ---------- Buttons ---------- */
.cp-btn { text-transform: none; position: relative; overflow: hidden; border-radius: 3px 16px 3px 16px; font-family: var(--cp-font-sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; transition: transform 0.35s var(--nx-ease), box-shadow 0.35s, background 0.3s, border-color 0.3s; }
.cp-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s var(--nx-ease); pointer-events: none; }
.cp-btn:hover::after { transform: translateX(120%); }
.cp-btn--gold { color: #1a1204; background: linear-gradient(135deg, #ffe27a, #e5b83f 55%, #c4881c); box-shadow: 0 10px 30px -10px rgba(255, 154, 60, 0.7); }
.cp-btn--gold:hover { box-shadow: 0 16px 40px -8px rgba(255, 154, 60, 0.85); }
.cp-btn--outline { color: var(--nx-frost); border: 1px solid rgba(229, 184, 63, 0.5); background: rgba(229, 184, 63, 0.05); }

/* ---------- Hero ---------- */
.cp-hero { min-height: 100svh; padding: 8.5rem 0 8rem; }
.cp-hero::after { background: radial-gradient(circle at 24% 48%, rgba(6, 10, 17, 0.78) 0%, rgba(6, 10, 17, 0.3) 58%, transparent 100%); z-index: 0; }
.cp-hero__content { transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--sy, 0) * -0.18px), 0); opacity: calc(1 - var(--sp, 0) * 1.25); will-change: transform; max-width: 700px; }
.cp-hero__badge { font-family: var(--cp-font-sans); font-size: 0.95rem; letter-spacing: 0.03em; border-radius: 3px 14px 3px 14px; background: rgba(63, 224, 192, 0.07); border-color: rgba(63, 224, 192, 0.4); color: var(--nx-frost); box-shadow: none; }
.cp-hero__badge span:first-child { color: var(--nx-gold); }
.cp-hero__title { font-family: var(--cp-font-display); font-weight: 400; font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: 1.02; letter-spacing: 0.01em; background: linear-gradient(180deg, #fff 8%, #ffe27a 55%, #ff9a3c 105%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 30px rgba(255, 154, 60, 0.3)); }
.cp-hero__desc { font-size: 1.28rem; color: #d3dde8; }

.nx-aurora { position: absolute; inset: -8% -5% 28% -5%; z-index: 0; pointer-events: none; filter: blur(46px); mix-blend-mode: screen; opacity: 0.6; transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--sy, 0) * 0.08px), 0); }
.nx-aurora i { position: absolute; border-radius: 50%; animation: nxDrift 22s ease-in-out infinite alternate; }
.nx-aurora i:nth-child(1) { left: 5%; top: 8%; width: 55%; height: 46%; background: radial-gradient(closest-side, rgba(63, 224, 192, 0.6), transparent); }
.nx-aurora i:nth-child(2) { left: 38%; top: 0; width: 52%; height: 52%; background: radial-gradient(closest-side, rgba(124, 196, 255, 0.5), transparent); animation-duration: 28s; animation-delay: -9s; }
.nx-aurora i:nth-child(3) { left: 62%; top: 22%; width: 40%; height: 40%; background: radial-gradient(closest-side, rgba(150, 110, 255, 0.4), transparent); animation-duration: 25s; animation-delay: -4s; }
@keyframes nxDrift { from { transform: translate3d(-6%, 0, 0) scale(1); } to { transform: translate3d(9%, 8%, 0) scale(1.25) rotate(8deg); } }

.nx-land { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; pointer-events: none; height: clamp(180px, 34vh, 360px); }
.nx-land svg { position: absolute; left: -2%; bottom: 0; width: 104%; height: 100%; will-change: transform; }
.nx-land svg:nth-child(1) { transform: translate3d(calc(var(--px, 0) * 8px), calc(var(--sy, 0) * 0.14px), 0); }
.nx-land svg:nth-child(2) { transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--sy, 0) * 0.08px), 0); }
.nx-land svg:nth-child(3) { transform: translate3d(calc(var(--px, 0) * 26px), calc(var(--sy, 0) * 0.02px), 0); }
.nx-sea { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: clamp(70px, 12vh, 120px); pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 9px, rgba(124, 196, 255, 0.07) 9px 10px), linear-gradient(180deg, rgba(20, 52, 74, 0.55), var(--nx-night) 92%); border-top: 1px solid rgba(124, 196, 255, 0.28); animation: nxSea 7s linear infinite; }
@keyframes nxSea { to { background-position: 0 10px, 0 0; } }
.nx-ship { position: absolute; z-index: 2; bottom: clamp(34px, 7.5vh, 82px); left: 0; width: clamp(120px, 15vw, 210px); pointer-events: none; animation: nxSail 70s linear infinite; }
.nx-ship svg { display: block; width: 100%; animation: nxBob 5s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes nxSail { from { transform: translateX(-25vw); } to { transform: translateX(112vw); } }
@keyframes nxBob { 0%, 100% { transform: translateY(0) rotate(-1.4deg); } 50% { transform: translateY(-5px) rotate(1.4deg); } }
.nx-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.4rem; width: 26px; height: 44px; margin-left: -13px; border: 1.5px solid rgba(229, 184, 63, 0.6); border-radius: 14px; opacity: calc(1 - var(--sp, 0) * 4); }
.nx-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--nx-gold); animation: nxCue 1.9s var(--nx-ease) infinite; }
@keyframes nxCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Rune band: slides sideways as you scroll */
.nx-runes { position: relative; z-index: 2; overflow: hidden; padding: 1.1rem 0; border-block: 1px solid rgba(229, 184, 63, 0.16); background: linear-gradient(90deg, var(--nx-night), rgba(11, 18, 28, 0.8) 20%, rgba(11, 18, 28, 0.8) 80%, var(--nx-night)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.nx-runes__track { display: flex; gap: 2.4rem; width: max-content; font-size: 1.6rem; color: rgba(229, 184, 63, 0.55); font-family: 'Noto Sans Runic', 'Segoe UI Historic', 'Segoe UI Symbol', 'Apple Symbols', serif; transform: translate3d(calc(var(--sy, 0) * -0.55px - 120px), 0, 0); will-change: transform; user-select: none; }
.nx-runes__track span:nth-child(3n) { color: var(--nx-aurora); }
.nx-runes__track span:nth-child(5n) { color: var(--nx-ember); }

/* ---------- Sections, headings, scroll reveals ---------- */
.cp-section { padding: 7.5rem 0; border-top: 0; }
.cp-section::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1180px, calc(100% - 2.5rem)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(229, 184, 63, 0.5) 18%, rgba(229, 184, 63, 0.5) 47%, transparent 47.4%, transparent 52.6%, rgba(229, 184, 63, 0.5) 53%, rgba(229, 184, 63, 0.5) 82%, transparent); }
.cp-section::after { content: ''; position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; transform: rotate(45deg); border: 1px solid var(--nx-gold); background: var(--nx-night); box-shadow: 0 0 14px rgba(255, 154, 60, 0.6); }
.cp-eyebrow { display: inline-block; font-family: var(--cp-font-sans); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.03em; text-transform: lowercase; color: var(--nx-aurora); margin-bottom: 0.7rem; }
.cp-eyebrow::first-letter { text-transform: uppercase; }
.cp-eyebrow::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 0.6rem; transform: rotate(45deg); background: var(--nx-aurora); box-shadow: 0 0 10px var(--nx-aurora); }
.cp-heading { font-family: var(--cp-font-display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.1; letter-spacing: 0.01em; color: var(--nx-frost); background: none; -webkit-text-fill-color: currentColor; margin-bottom: 1.3rem; }
.cp-heading::after { content: ''; display: block; width: 96px; height: 3px; margin-top: 1rem; background: linear-gradient(90deg, var(--nx-gold), var(--nx-ember) 60%, transparent); transform-origin: left; }
.cp-lead { font-size: 1.22rem; line-height: 1.65; color: var(--nx-mist); }

/* Scroll reveal: children rise in a staggered run; headings are carved in with a wipe */
.cp-reveal { opacity: 1; transform: none; transition: none; }
.cp-reveal:not(.is-visible) > *:not(:is(.cp-grid-2, .cp-grid-3, .cp-grid-4):not(.cp-card)),
.cp-reveal:not(.is-visible) > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4):not(.cp-card) > * { opacity: 0; }
.cp-reveal.is-visible > *:not(:is(.cp-grid-2, .cp-grid-3, .cp-grid-4):not(.cp-card)),
.cp-reveal.is-visible > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4):not(.cp-card) > * { animation: nxRise 0.95s var(--nx-ease) calc(var(--i, 0) * 95ms) backwards; }
.cp-reveal.is-visible > .cp-heading { animation: nxWipe 1.1s var(--nx-ease) calc(var(--i, 0) * 95ms) backwards; }
.cp-reveal.is-visible > .cp-heading::after { animation: nxLine 1.1s var(--nx-ease) 0.55s backwards; }
.cp-reveal.is-visible > .cp-panel-enter { animation-delay: 0ms; }
.cp-reveal > :nth-child(1), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(1) { --i: 0; }
.cp-reveal > :nth-child(2), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(2) { --i: 1; }
.cp-reveal > :nth-child(3), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(3) { --i: 2; }
.cp-reveal > :nth-child(4), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(4) { --i: 3; }
.cp-reveal > :nth-child(5), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(5) { --i: 4; }
.cp-reveal > :nth-child(6), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(6) { --i: 5; }
.cp-reveal > :nth-child(7), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(7) { --i: 6; }
.cp-reveal > :nth-child(n + 8), .cp-reveal > :is(.cp-grid-2, .cp-grid-3, .cp-grid-4) > :nth-child(n + 8) { --i: 7; }
@keyframes nxRise { from { opacity: 0; transform: translateY(34px); filter: blur(5px); } }
@keyframes nxWipe { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-24px); } to { clip-path: inset(0 -5% 0 0); } }
@keyframes nxLine { from { transform: scaleX(0); } }

/* ---------- Cards, tabs, chips, forms ---------- */
.cp-card {
  position: relative; border-radius: 3px 24px 3px 24px; border: 1px solid rgba(229, 184, 63, 0.16);
  background: linear-gradient(160deg, rgba(20, 31, 46, 0.82), rgba(8, 13, 21, 0.9));
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--nx-ease), border-color 0.35s, box-shadow 0.35s;
}
.cp-card::after { content: ''; position: absolute; inset: 8px; pointer-events: none; opacity: 0.55; border-radius: 1px 18px 1px 18px;
  background: linear-gradient(var(--nx-gold), var(--nx-gold)) 0 0 / 14px 1px no-repeat, linear-gradient(var(--nx-gold), var(--nx-gold)) 0 0 / 1px 14px no-repeat,
    linear-gradient(var(--nx-gold), var(--nx-gold)) 100% 100% / 14px 1px no-repeat, linear-gradient(var(--nx-gold), var(--nx-gold)) 100% 100% / 1px 14px no-repeat; }
.cp-card:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); transition: transform 0.12s linear, border-color 0.35s, box-shadow 0.35s; border-color: rgba(229, 184, 63, 0.55); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.95), 0 0 34px -6px rgba(255, 154, 60, 0.3); }
.cp-card h3, .cp-card h4 { font-weight: 400; letter-spacing: 0.01em; }
.cp-schematic-box { position: relative; overflow: hidden; padding: 30px; background: linear-gradient(160deg, #101a27 0%, #070b12 100%); border: 1px solid rgba(229, 184, 63, 0.38); border-radius: 3px 28px 3px 28px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 216, 77, 0.14); }
.cp-visual-frame { border-radius: 3px 16px 3px 16px; }
.cp-rune-pill { border-radius: 3px 12px 3px 12px; font-family: 'Noto Sans Runic', 'Segoe UI Historic', 'Segoe UI Symbol', serif; }
.cp-tabs { gap: 0.6rem; }
.cp-tab { border-radius: 3px 14px 3px 14px; font-family: var(--cp-font-sans); font-size: 1.05rem; font-weight: 500; transition: transform 0.3s var(--nx-ease), background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s; }
.cp-tab:hover { transform: translateY(-2px); }
.cp-tab.is-active { color: #1a1204; background: linear-gradient(135deg, #ffe27a, #e5b83f); box-shadow: 0 8px 26px -8px rgba(255, 154, 60, 0.75); }
.cp-chip { border-radius: 3px 10px 3px 10px; font-family: var(--cp-font-sans); font-size: 0.95rem; }
.cp-badge-gold { font-family: var(--cp-font-sans); font-size: 0.85rem; letter-spacing: 0.04em; border-radius: 3px 10px 3px 10px; }
.cp-avatar { font-family: var(--cp-font-display); border-radius: 3px 16px 3px 16px; }
.cp-faq-btn { font-family: var(--cp-font-sans); font-size: 1.1rem; font-weight: 500; }
.cp-input, .cp-select, .cp-textarea { border-radius: 3px 12px 3px 12px; font-family: var(--cp-font-sans); font-size: 1.05rem; background: rgba(6, 10, 17, 0.7); transition: border-color 0.3s, box-shadow 0.3s; }
.cp-input:focus, .cp-select:focus, .cp-textarea:focus { border-color: var(--nx-aurora); box-shadow: 0 0 0 3px rgba(63, 224, 192, 0.18); outline: none; }
.cp-panel-enter { animation-duration: 0.6s; }

/* ---------- Footer ---------- */
.cp-footer { position: relative; z-index: 1; margin-top: -3rem; padding: 0; border-top: 0; background: linear-gradient(180deg, transparent, rgba(6, 10, 17, 0.92) 30%); }
.cp-footer a { text-decoration: none; }
.nx-foot { padding: 3rem 0 2rem; display: grid; gap: 2.2rem; border-top: 1px solid rgba(229, 184, 63, 0.22); }
.nx-foot__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
.nx-foot__brand { display: flex; gap: 1rem; align-items: center; }
.nx-foot__name { font-family: var(--cp-font-display); font-size: 1.6rem; color: var(--nx-frost); line-height: 1.1; }
.nx-foot__sub { color: var(--nx-mist); font-size: 1rem; }
.nx-foot__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: flex-end; }
.nx-foot__links a { color: var(--nx-mist); font-size: 1.05rem; transition: color 0.25s; }
.nx-foot__links a:hover { color: var(--nx-gold); }
.nx-credit { position: relative; text-align: center; padding: 1.6rem 1rem; border: 1px solid rgba(229, 184, 63, 0.3); border-radius: 3px 26px 3px 26px; background: radial-gradient(90% 140% at 50% 0%, rgba(255, 154, 60, 0.1), transparent 70%); }
.nx-credit__label { color: var(--nx-mist); font-size: 1rem; }
.nx-credit__name { display: block; margin-top: 0.2rem; font-family: var(--cp-font-display); font-size: clamp(1.5rem, 3.6vw, 2.3rem); color: var(--nx-gold); text-shadow: 0 0 28px rgba(255, 154, 60, 0.45); }
.nx-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem; color: var(--nx-mist); font-size: 0.95rem; }
.nx-foot__bottom a { color: var(--nx-gold); }

/* ---------- Responsive & motion preferences ---------- */
@media (max-width: 960px) {
  .nx-nav-cta { display: inline-flex; justify-content: center; }
  .cp-hero { padding-top: 7.5rem; }
  .cp-section { padding: 5.5rem 0; }
  .nx-foot__top { grid-template-columns: 1fr; }
  .nx-foot__links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .cp-nav { top: 8px; width: calc(100% - 1rem); }
  .cp-brand__sub { display: none; }
  .cp-brand__title { font-size: 1rem; white-space: nowrap; }
  .cp-nav__inner { padding: 0.5rem 0.7rem; }
  .nx-ship { display: none; }
}

/* ==========================================================================
   UPGRADE LAYER: cinematic hero, scroll choreography, cursor, marquees, footer finale
   ========================================================================== */

/* Film grain + vignette over everything */
html::before { content: ''; position: fixed; inset: 0; z-index: 9300; pointer-events: none; background: radial-gradient(130% 95% at 50% 42%, transparent 58%, rgba(0, 0, 0, 0.5)); }
html::after { content: ''; position: fixed; inset: -50%; z-index: 9400; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: nxGrain 0.9s steps(6) infinite; }
@keyframes nxGrain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* Navigation arrives after the doors open */
.nx-ready .cp-nav { animation: nxNav 1.2s var(--nx-ease) 0.5s backwards; }
@keyframes nxNav { from { opacity: 0; transform: translate(-50%, -160%); } }

/* ---------- Cursor: ember ring, dot, spark canvas ---------- */
body.nx-cursor, body.nx-cursor a, body.nx-cursor button, body.nx-cursor label, body.nx-cursor summary, body.nx-cursor [role='button'] { cursor: none; }
body.nx-cursor input, body.nx-cursor textarea, body.nx-cursor select { cursor: text; }
#nx-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9500; pointer-events: none; }
.nx-cur, .nx-dot { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 9600; pointer-events: none; will-change: transform; transition: opacity 0.3s; }
.nx-cur::before { content: ''; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border: 1.5px solid rgba(255, 216, 77, 0.75); border-radius: 50%; box-shadow: 0 0 18px -4px rgba(255, 154, 60, 0.7); transition: transform 0.4s var(--nx-ease), background 0.3s, border-color 0.3s; }
.nx-cur.is-link::before { transform: scale(1.75); background: rgba(255, 216, 77, 0.1); border-color: #ffd84d; }
.nx-cur.is-card::before { transform: scale(2.3); border-style: dashed; border-color: rgba(63, 224, 192, 0.7); }
.nx-cur.is-down::before { transform: scale(0.65); background: rgba(255, 154, 60, 0.25); }
.nx-dot::before { content: ''; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #ffd84d; box-shadow: 0 0 10px 2px rgba(255, 154, 60, 0.85); }
.nx-cur.is-hidden, .nx-dot.is-hidden, .nx-cur.is-text, .nx-dot.is-text { opacity: 0; }

/* ---------- Hero: forge-in headline, big rune, cursor glow, lightning ---------- */
.cp-hero__title { background: none; -webkit-text-fill-color: initial; color: #fff; filter: drop-shadow(0 6px 34px rgba(255, 154, 60, 0.3)); }
.nx-w { display: inline-block; white-space: nowrap; }
.nx-c { display: inline-block; color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, #fff 6%, #ffe27a 52%, #ff9a3c 104%); -webkit-background-clip: text; background-clip: text;
  animation: nxChar 1.3s var(--nx-ease) calc(0.15s + var(--c) * 0.055s) backwards, nxShine 8s ease-in-out calc(2.6s + var(--c) * 0.1s) infinite; }
@keyframes nxChar { from { opacity: 0; transform: translateY(0.7em) rotate(7deg) scale(1.2); filter: blur(12px) brightness(3.2); } }
@keyframes nxShine { 0%, 68%, 100% { filter: none; } 78% { filter: brightness(1.5) drop-shadow(0 0 14px rgba(255, 200, 90, 0.75)); } }
body.nx-loading .nx-c, body.nx-loading [class*='cp-hero__stagger'], body.nx-loading .cp-hero__actions .cp-btn { animation-play-state: paused; }
.cp-hero__actions .cp-btn--gold { animation: nxCta 3.4s ease-in-out 3.2s infinite; }
@keyframes nxCta { 0%, 100% { box-shadow: 0 10px 30px -10px rgba(255, 154, 60, 0.7), 0 0 0 0 rgba(255, 190, 80, 0.5); } 55% { box-shadow: 0 10px 30px -10px rgba(255, 154, 60, 0.7), 0 0 0 16px rgba(255, 190, 80, 0); } }
.nx-bigrune { position: absolute; z-index: 0; left: -5vw; top: 50%; font-family: 'Noto Sans Runic', 'Segoe UI Historic', 'Segoe UI Symbol', 'Apple Symbols', serif; font-size: min(70vw, 860px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(229, 184, 63, 0.17); pointer-events: none; user-select: none;
  transform: translate3d(calc(var(--px, 0) * -34px), calc(-50% + var(--sy, 0) * -0.12px), 0) rotate(calc(var(--sp, 0) * 20deg)); will-change: transform; animation: nxFade 2.4s ease 0.6s backwards; }
@keyframes nxFade { from { opacity: 0; } }
.nx-hglow { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(520px circle at var(--hx, 30%) var(--hy, 40%), rgba(255, 170, 70, 0.14), transparent 62%); }
.nx-bolt { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(55% 75% at var(--bx, 50%) 0%, rgba(190, 225, 255, 0.5), transparent 70%); }
.nx-bolt.go { animation: nxBolt 2.8s ease-out; }
@keyframes nxBolt { 0% { opacity: 0; } 10% { opacity: 0.24; } 22% { opacity: 0.06; } 34% { opacity: 0.2; } 100% { opacity: 0; } }
.nx-side { position: absolute; z-index: 3; left: 1.1rem; bottom: 14rem; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--nx-mist); opacity: calc(1 - var(--sp, 0) * 3); white-space: nowrap; }
.nx-cue { bottom: 2.6rem; }
.nx-cue span { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--nx-mist); white-space: nowrap; }

/* ---------- Scroll choreography ---------- */
.cp-section { position: relative; isolation: isolate; overflow-x: clip; }
.nx-glyph { position: absolute; z-index: -1; top: 50%; margin-top: -0.5em; font-family: 'Noto Sans Runic', 'Segoe UI Historic', 'Segoe UI Symbol', 'Apple Symbols', serif; font-size: min(46vw, 620px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(229, 184, 63, 0.13); pointer-events: none; user-select: none; will-change: transform; }
.nx-glyph--l { left: -8vw; } .nx-glyph--r { right: -8vw; }
.nx-js .cp-section::before { transform: translateX(-50%) scaleX(0); transition: transform 1.7s var(--nx-ease); }
.nx-js .cp-section.nx-in::before { transform: translateX(-50%) scaleX(1); }
.nx-js .cp-section::after { transform: rotate(45deg) scale(0); transition: transform 0.9s var(--nx-ease) 0.6s; }
.nx-js .cp-section.nx-in::after { transform: rotate(45deg) scale(1); }

/* Headings are carved letter by letter */
.cp-heading.nx-split { animation: none !important; }
.nx-hw { display: inline-block; white-space: nowrap; }
.nx-ch { display: inline-block; }
.nx-js .cp-heading.nx-split:not(.nx-in) .nx-ch { opacity: 0; }
.cp-heading.nx-split.nx-in .nx-ch { animation: nxCarve 1s var(--nx-ease) calc(var(--ci) * 30ms) backwards; }
@keyframes nxCarve { from { opacity: 0; transform: translateY(0.8em) rotate(6deg) scale(1.3); filter: blur(10px) brightness(2.6); } }

/* Cards unfold downward like a scroll being unrolled */
.cp-reveal.is-visible .cp-card { animation-name: nxCardIn !important; animation-duration: 1.05s !important; }
@keyframes nxCardIn { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(56px) rotateX(-14deg) scale(0.94); filter: blur(8px); } to { clip-path: inset(0 0 0 0); } }
.cp-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 190, 90, 0.17), transparent 62%); }
.cp-card:hover::before { opacity: 1; }

/* Big word marquees: speed up and lean with your scroll */
.nx-mq { position: relative; z-index: 1; overflow: hidden; padding: 1.6rem 0; margin: 1.5rem 0; user-select: none; transform: skewY(calc(var(--vel, 0) * -0.035deg)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.nx-mq__row { overflow: hidden; white-space: nowrap; padding: 0.05em 0; }
.nx-mq__track { display: flex; width: max-content; will-change: transform; }
.nx-mq__g { display: flex; align-items: center; }
.nx-mq__g span { font-family: var(--cp-font-display); font-size: clamp(3.2rem, 10vw, 9rem); line-height: 1.08; padding: 0 0.28em; color: var(--nx-frost); text-shadow: 0 0 60px rgba(255, 154, 60, 0.18); }
.nx-mq__g i { font-style: normal; color: var(--nx-gold); font-size: clamp(1.3rem, 3vw, 2.5rem); opacity: 0.85; }
.nx-mq__row.is-outline .nx-mq__g span { color: transparent; -webkit-text-stroke: 1.2px rgba(232, 239, 246, 0.55); text-shadow: none; }
.nx-mq--single .nx-mq__g span { font-size: clamp(2.6rem, 7vw, 6rem); }

/* Section rail */
.nx-rail { position: fixed; right: clamp(0.7rem, 1.8vw, 1.6rem); top: 50%; z-index: 60; display: grid; gap: 0.35rem; opacity: 0; pointer-events: none; transform: translate(26px, -50%); transition: opacity 0.5s, transform 0.7s var(--nx-ease); }
.nx-rail.is-show { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.nx-rail__line { position: absolute; right: 12px; top: 8px; bottom: 8px; width: 1px; background: rgba(229, 184, 63, 0.2); }
.nx-rail__line i { display: block; width: 100%; height: calc(var(--rp, 0) * 100%); background: linear-gradient(180deg, var(--nx-gold), var(--nx-ember)); box-shadow: 0 0 10px var(--nx-ember); }
.nx-rail__dot { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--nx-night); border: 1px solid rgba(229, 184, 63, 0.25); color: var(--nx-mist); text-decoration: none; translate: var(--tx, 0px) var(--ty, 0px); transition: translate 0.35s var(--nx-ease), border-color 0.3s, color 0.3s, box-shadow 0.3s; }
.nx-rail__dot b { font-weight: 400; font-size: 0.8rem; line-height: 1; font-family: 'Noto Sans Runic', 'Segoe UI Historic', 'Segoe UI Symbol', 'Apple Symbols', serif; }
.nx-rail__dot em { position: absolute; right: calc(100% + 12px); top: 50%; font-style: normal; white-space: nowrap; font-size: 0.95rem; padding: 0.25rem 0.7rem; border-radius: 3px 10px 3px 10px; background: rgba(6, 10, 17, 0.92); border: 1px solid rgba(229, 184, 63, 0.35); color: var(--nx-frost); opacity: 0; transform: translate(10px, -50%); transition: opacity 0.3s, transform 0.4s var(--nx-ease); pointer-events: none; }
.nx-rail__dot:hover em, .nx-rail__dot:focus-visible em { opacity: 1; transform: translate(0, -50%); }
.nx-rail__dot:hover { color: var(--nx-gold); border-color: var(--nx-gold); }
.nx-rail__dot.is-active { color: #1a1204; background: var(--nx-gold); border-color: var(--nx-gold); box-shadow: 0 0 16px rgba(255, 154, 60, 0.8); }

/* Footer finale: a giant word that fills with gold as you arrive */
.nx-giant { --fp: 0; position: relative; z-index: 1; overflow: hidden; text-align: center; line-height: 0.92; padding: 3rem 0 0; margin-bottom: -1.4rem; user-select: none; }
.nx-giant span { display: inline-block; padding: 0 0.04em; font-family: var(--cp-font-display); font-size: clamp(3.4rem, 19vw, 17rem); color: transparent; -webkit-text-stroke: 1.2px rgba(229, 184, 63, 0.5);
  background: linear-gradient(90deg, #ffe27a, #ff9a3c) 0 0 / calc(var(--fp) * 100%) 100% no-repeat; -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 32px rgba(255, 154, 60, calc(var(--fp) * 0.45))); }

/* Buttons are pulled gently toward the cursor */
.cp-btn { translate: var(--tx, 0px) var(--ty, 0px); transition: translate 0.4s var(--nx-ease), transform 0.35s var(--nx-ease), box-shadow 0.35s, background 0.3s, border-color 0.3s; }
.cp-nav__toggle { translate: var(--tx, 0px) var(--ty, 0px); transition: translate 0.35s var(--nx-ease); }

/* Skip button in the intro letterbox */
.nx-skip { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--nx-gold); background: none; border: 1px solid rgba(229, 184, 63, 0.4); border-radius: 3px 10px 3px 10px; padding: 0.35rem 0.9rem; cursor: pointer; transition: background 0.3s, color 0.3s; }
.nx-skip:hover { background: var(--nx-gold); color: #1a1204; }
.nx-lb--t span:nth-child(2) { margin-left: auto; }
.nx-lb--t .nx-skip { margin-left: 0.4rem; }
/* A little more pop on section headings */
.cp-heading { text-shadow: 0 0 46px rgba(255, 154, 60, 0.16); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .nx-rail, .nx-side { display: none; } }
@media (max-width: 960px) { .nx-bigrune { font-size: 120vw; left: -30vw; } .nx-glyph { font-size: 80vw; } }
@media (max-width: 560px) { .nx-lb { font-size: 0.7rem; letter-spacing: 0.1em; } .nx-lb--t span:last-child { display: none; } .nx-cue span { display: none; } }

/* ---------- Reduced motion: everything visible, nothing moving ---------- */
@media (prefers-reduced-motion: reduce) {
  .nx-aurora i, .nx-sea, .nx-ship, .nx-ship svg, .nx-cue::after, .nx-ember, .nx-dash, .nx-valknut, .nx-c, .nx-wc, .cp-hero__actions .cp-btn--gold, .nx-bolt { animation: none !important; }
  html::after { animation: none; }
  .cp-reveal.is-visible > *, .cp-reveal.is-visible > [class*='cp-grid'] > *, .cp-reveal.is-visible .cp-card, .cp-heading.nx-split .nx-ch, .nx-ready .cp-nav { animation: none !important; }
  .cp-reveal:not(.is-visible) > *, .cp-reveal:not(.is-visible) > [class*='cp-grid'] > * { opacity: 1 !important; }
  .cp-hero__content, .nx-aurora, .nx-land svg, .nx-runes__track, .nx-bigrune, .nx-glyph, .nx-mq { transform: none !important; }
  .cp-card, .cp-card:hover { transform: none; }
  .cp-btn { translate: none; }
  html { scroll-behavior: auto; }
}


/* ==========================================================================
   SIZE + CONTRAST PASS (fonts are the original Uncial Antiqua / Alegreya Sans).
   Delete this whole block to get the exact original look back.
   ========================================================================== */
:root { --nx-mist: #c0cdda; --cp-muted: #c0cdda; }
[style*="font-size: 0.7"], [style*="font-size: 0.8"], [style*="font-size: 0.9"] { font-size: 1rem !important; }
.cp-card p, .cp-card li { font-size: 1.05rem; }
.cp-hero__desc { color: #e1e9f1; }
