@charset "UTF-8";

:root {
	--night: #090815;
	--night-soft: #111022;
	--night-blue: #15152d;
	--ink: #171526;
	--mist: #f2f0f7;
	--paper: #fbfaf7;
	--white: #fff;
	--violet: #a88bff;
	--violet-deep: #6d49d7;
	--aqua: #8cf3e3;
	--rose: #ffb5d8;
	--amber: #ffd08b;
	--muted: #a5a0b7;
	--line: rgba(255,255,255,.13);
	--line-dark: rgba(23,21,38,.13);
	--serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	--sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
	--shell: 1240px;
	--narrow: 820px;
	--pad: clamp(20px, 4vw, 56px);
	--section: clamp(76px, 11vw, 150px);
	--radius: 26px;
	--shadow: 0 36px 100px rgba(7,5,20,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--night);
	color: var(--mist);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
	margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.skip-link {
	left: 16px; position: fixed; top: -100px; z-index: 9999; background: var(--white); color: var(--ink);
	padding: 12px 18px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { top: 16px; }
.shell { width: min(100%, calc(var(--shell) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }
.shell--narrow { width: min(100%, calc(var(--narrow) + var(--pad) * 2)); }
.shell--profile { width: min(100%, calc(1080px + var(--pad) * 2)); }
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--night-soft); }
.eyebrow {
	margin: 0 0 18px; color: var(--aqua); font: 700 .72rem/1.3 var(--mono); letter-spacing: .18em;
	text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
	font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.045em; margin: 0;
}
h1 em, h2 em { color: var(--violet); font-weight: 400; }
h2 { font-size: clamp(2.75rem, 6vw, 6.2rem); }
h3 { line-height: 1.15; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
	align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; gap: 12px;
	justify-content: center; min-height: 52px; padding: 13px 23px; text-decoration: none; font-size: .9rem;
	font-weight: 750; letter-spacing: .01em; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--luminous {
	background: linear-gradient(115deg, var(--aqua), #c9fff7 45%, var(--violet)); color: #100d20;
	box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 14px 46px rgba(140,243,227,.18);
}
.button--luminous:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.45) inset, 0 20px 58px rgba(140,243,227,.28); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.035); backdrop-filter: blur(12px); }
.button--ghost:hover { background: rgba(255,255,255,.085); }
.button--ink { background: var(--ink); color: var(--white); }
.center-action { margin: 54px 0 0; text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Ambient world */
.world-light { inset: 0; overflow: clip; pointer-events: none; position: fixed; z-index: -1; }
.world-light span { border-radius: 50%; filter: blur(90px); opacity: .09; position: absolute; }
.world-light span:nth-child(1) { width: 50vw; height: 50vw; background: var(--violet); left: -18vw; top: 12vh; }
.world-light span:nth-child(2) { width: 38vw; height: 38vw; background: var(--aqua); right: -15vw; top: 43vh; }
.world-light span:nth-child(3) { width: 30vw; height: 30vw; background: var(--rose); left: 35vw; bottom: -20vw; }

/* Header */
.site-header {
	position: absolute; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent;
	transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.site-header.is-stuck { position: fixed; background: rgba(9,8,21,.82); border-color: var(--line); backdrop-filter: blur(22px); }
.site-header__inner { min-height: 88px; align-items: center; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; }
.site-brand { align-items: center; display: inline-flex; gap: 12px; text-decoration: none; width: max-content; }
.site-brand__mark { width: 32px; height: 39px; overflow: visible; }
.site-brand__mark path:first-child { fill: rgba(168,139,255,.16); stroke: #d9ffff; stroke-width: 1.5; }
.site-brand__mark path:last-child { fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1; }
.site-brand span { display: grid; line-height: 1; }
.site-brand b { font-size: .92rem; letter-spacing: .22em; }
.site-brand small { color: var(--muted); font-family: var(--serif); font-size: .64rem; font-style: italic; margin-top: 6px; }
.site-nav { justify-self: center; }
.site-nav__list { display: flex; gap: clamp(16px, 2.3vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-nav a { color: #e9e5f2; font-size: .78rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--aqua); }
.site-header__actions { align-items: center; display: flex; gap: 12px; grid-column: 3; }
.sister-link { color: var(--muted); font-size: .72rem; text-decoration: none; }
.sister-link:hover { color: var(--white); }
.resonance-toggle {
	background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .68rem;
	min-height: 36px; padding: 7px 11px; display: inline-flex; align-items: center; gap: 7px;
}
.resonance-toggle[aria-pressed="true"] { border-color: rgba(140,243,227,.5); color: var(--aqua); box-shadow: 0 0 24px rgba(140,243,227,.13); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { background: currentColor; display: block; height: 1px; margin: 5px auto; transition: transform .25s ease; width: 19px; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero portal */
.portal {
	background: radial-gradient(circle at 72% 46%, rgba(87,58,160,.2), transparent 36%), linear-gradient(150deg, #090815 0%, #0c0b1c 57%, #080713 100%);
	min-height: max(800px, 100svh); overflow: clip; position: relative;
}
.portal--v2 { background: radial-gradient(circle at 72% 44%, rgba(96,63,190,.26), transparent 34%), radial-gradient(circle at 25% 88%, rgba(49,173,162,.08), transparent 31%), linear-gradient(150deg,#070610 0%,#0d0b20 56%,#06050e 100%); }
.prism-field { height: 100%; inset: 0; opacity: .58; pointer-events: none; position: absolute; width: 100%; z-index: 0; }
.portal::before {
	content: ""; position: absolute; inset: 0; opacity: .19;
	background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
	background-size: 80px 80px; mask-image: radial-gradient(circle at 72% 48%, black, transparent 66%);
}
.portal__grain { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }
.portal__spectrum { inset: 0; overflow: hidden; pointer-events: none; position: absolute; }
.portal__spectrum span { background: linear-gradient(90deg,transparent,var(--aqua),var(--violet),var(--rose),transparent); filter: blur(1px); height: 1px; opacity: .16; position: absolute; right: -12%; transform: rotate(-28deg); transform-origin: right center; width: 62%; }
.portal__spectrum span:nth-child(1) { top: 27%; }.portal__spectrum span:nth-child(2) { opacity: .09; top: 35%; transform: rotate(-24deg); }.portal__spectrum span:nth-child(3) { opacity: .07; top: 43%; transform: rotate(-20deg); }
.portal__inner { align-items: center; display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); min-height: max(860px, 100svh); padding-bottom: 108px; padding-top: 128px; position: relative; z-index: 2; }
.portal__copy { position: relative; z-index: 3; }
.portal h1 { font-size: clamp(3.35rem, 7vw, 7.3rem); max-width: 820px; }
.portal h1 em { text-shadow: 0 0 54px rgba(168,139,255,.2); }
.portal__lead { color: #b9b4c8; font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 620px; margin: 28px 0 0; }
.portal__principles { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 42px 0 0; padding: 0; }
.portal__principles li { color: #aaa4b8; font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.portal__principles span { color: var(--aqua); font-family: var(--mono); margin-right: 6px; }
.portal__coordinates { border-top: 1px solid var(--line); display: flex; gap: clamp(20px,4vw,50px); margin-top: 44px; padding-top: 21px; }
.portal__coordinates span { display: grid; gap: 4px; }
.portal__coordinates strong { color: #f8f5fb; font: 400 1.5rem/1 var(--serif); }
.portal__coordinates small { color: #777182; font: .56rem/1.3 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.portal__instrument { min-height: 630px; position: relative; transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 12px), 0); transition: transform .25s ease-out; }
.crystal-temple { height: min(72vh, 720px); left: 50%; overflow: visible; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 100%; }
.temple-halo { border: 1px solid rgba(197,248,246,.13); border-radius: 50%; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); }
.temple-halo--one { width: 78%; aspect-ratio: 1; box-shadow: 0 0 110px rgba(112,82,202,.1) inset; }
.temple-halo--two { width: 55%; aspect-ratio: 1; border-style: dashed; animation: halo-turn 40s linear infinite; }
.temple-halo--three { aspect-ratio: 1; border-color: rgba(255,181,216,.13); transform: translate(-50%,-50%) rotate(18deg) scaleY(.34); width: 92%; }
.diffraction-beam { left: 15%; pointer-events: none; position: absolute; right: 5%; top: 29%; transform: rotate(-12deg); }
.diffraction-beam i { background: linear-gradient(90deg,transparent,currentColor,transparent); display: block; height: 1px; opacity: .18; transform-origin: 60% center; }
.diffraction-beam i:nth-child(1) { color: #8cf3e3; transform: rotate(-5deg); }.diffraction-beam i:nth-child(2) { color: #87b9ff; transform: rotate(-2deg); }.diffraction-beam i:nth-child(3) { color: #a88bff; }.diffraction-beam i:nth-child(4) { color: #ffb5d8; transform: rotate(2deg); }.diffraction-beam i:nth-child(5) { color: #ffd08b; transform: rotate(5deg); }
.temple-orbit { transform-box: fill-box; transform-origin: center; animation: orbit-turn 30s linear infinite reverse; }
.shard { vector-effect: non-scaling-stroke; stroke-width: 1.3; transform-box: fill-box; transform-origin: center bottom; }
.shard--1 { animation: crystal-breathe 7s ease-in-out infinite; }
.shard--4 { animation: crystal-breathe 8s ease-in-out -2s infinite; }
.shard--5 { animation: crystal-breathe 9s ease-in-out -4s infinite; }
.shard--6, .shard--7 { animation: crystal-breathe 6s ease-in-out -1s infinite; }
.temple-stars circle { animation: twinkle 3s ease-in-out infinite alternate; }
.temple-stars circle:nth-child(2n) { animation-delay: -1.4s; }
.instrument-caption { bottom: 24px; color: #787286; font: .62rem var(--mono); left: 50%; letter-spacing: .12em; position: absolute; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.instrument-caption span { background: var(--aqua); border-radius: 50%; box-shadow: 0 0 14px var(--aqua); display: inline-block; height: 5px; margin-right: 8px; width: 5px; }
.portal__scroll { align-items: center; bottom: 24px; color: #716c7d; display: flex; flex-direction: column; font: .6rem var(--mono); gap: 8px; left: 50%; letter-spacing: .14em; position: absolute; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.portal__scroll i { background: linear-gradient(var(--aqua), transparent); display: block; height: 34px; width: 1px; }
.portal__threshold { align-items: center; bottom: 24px; color: #6f697c; display: flex; font: .56rem var(--mono); gap: 14px; justify-content: center; left: 50%; letter-spacing: .17em; position: absolute; transform: translateX(-50%); white-space: nowrap; z-index: 3; }
.portal__threshold i { background: linear-gradient(90deg,transparent,var(--aqua),transparent); display: block; height: 1px; width: 54px; }
@keyframes halo-turn { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes ring-turn { to { transform: rotate(360deg); } }
@keyframes crystal-breathe { 0%,100% { opacity: .76; transform: translateY(0) scaleY(1); } 50% { opacity: 1; transform: translateY(-8px) scaleY(1.015); } }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }

/* Section headings and selector stage */
.selector-stage { background: linear-gradient(180deg, #0c0b1c, #111027 55%, #0d0c1b); overflow: clip; }
.selector-stage::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(100px); background: rgba(96,67,180,.13); right: -160px; top: 120px; }
.section-heading { max-width: 930px; margin-bottom: clamp(44px, 7vw, 82px); position: relative; }
.section-heading > p:last-child { color: #a9a4b8; max-width: 680px; margin: 28px 0 0; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center p { margin-inline: auto; }
.selector-mount { position: relative; z-index: 2; }
.component-missing { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; text-align: center; }

/* Return visit and spectrum stages */
.daily-stage { background: radial-gradient(circle at 78% 22%,rgba(168,139,255,.13),transparent 30%),#0b0918; overflow: clip; }
.section-heading--compact { margin-bottom: 54px; max-width: 1020px; }
.spectrum-stage { background: radial-gradient(circle at 18% 78%,rgba(140,243,227,.07),transparent 32%),#0a0917; overflow: clip; }

/* Three editorial lenses */
.lenses-v2 { background: #eeebf2; color: var(--ink); overflow: clip; }
.lenses-v2 .eyebrow { color: var(--violet-deep); }
.lenses-v2 .split-heading > p { color: #625e6d; }
.lenses-orbit { display: grid; gap: 1px; grid-template-columns: repeat(3,1fr); position: relative; }
.lenses-orbit::before { border: 1px solid rgba(109,73,215,.12); border-radius: 50%; content: ""; height: 680px; left: 50%; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%,-50%) scaleY(.24); width: 108%; }
.lens-v2 { background: rgba(255,255,255,.54); border: 1px solid rgba(23,21,38,.1); min-height: 550px; padding: clamp(30px,4vw,52px); position: relative; }
.lens-v2:first-child { border-radius: 120px 0 0 0; }.lens-v2:last-child { border-radius: 0 120px 0 0; }
.lens-v2__index { color: #706a78; font: .6rem var(--mono); letter-spacing: .13em; }
.lens-v2__sigil { aspect-ratio: 1; margin: 34px auto 46px; position: relative; width: min(66%,190px); }
.lens-v2__sigil::before, .lens-v2__sigil::after, .lens-v2__sigil i { border: 1px solid rgba(80,68,113,.24); content: ""; inset: 0; position: absolute; }
.lens-v2__sigil::before { border-radius: 50%; }.lens-v2__sigil::after { inset: 21%; transform: rotate(45deg); }.lens-v2__sigil i { border-color: rgba(109,73,215,.32); border-radius: 50%; inset: 35%; box-shadow: 0 0 35px rgba(109,73,215,.12); }
.lens-v2__sigil--story::after { border-color: rgba(216,96,153,.38); border-radius: 50% 0 50% 50%; }.lens-v2__sigil--symbol::after { border-color: rgba(46,161,149,.38); transform: rotate(30deg) scaleY(.55); }
.lens-v2 h3 { font: 400 clamp(2rem,3vw,3rem)/1 var(--serif); margin: 0 0 18px; }.lens-v2 p { color: #696471; font-size: .88rem; }.lens-v2 a { bottom: 34px; color: var(--violet-deep); font-size: .72rem; font-weight: 750; position: absolute; text-decoration: none; }

/* Lenses */
.three-lenses { overflow: clip; }
.three-lenses::after { content: ""; position: absolute; inset: 20% -10% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(140,243,227,.22), transparent); transform: rotate(-7deg); }
.lenses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lens-card { border: 1px solid var(--line); min-height: 470px; padding: clamp(28px, 4vw, 48px); position: relative; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.lens-card:first-child { border-radius: 100px 20px 20px; }
.lens-card:last-child { border-radius: 20px 100px 20px 20px; }
.lens-card__number { color: #696375; font: .72rem var(--mono); left: 24px; position: absolute; top: 22px; }
.lens-card__icon { height: 160px; margin: 16px auto 38px; position: relative; width: 160px; }
.lens-card__icon::before, .lens-card__icon::after { content: ""; position: absolute; }
.lens-card__icon::before { border: 1px solid rgba(255,255,255,.25); border-radius: 50%; inset: 0; }
.lens-card__icon::after { inset: 28px; transform: rotate(45deg); border: 1px solid var(--aqua); box-shadow: 0 0 40px rgba(140,243,227,.14) inset; }
.lens-card__icon--history::after { border-radius: 50% 0 50% 50%; border-color: var(--rose); }
.lens-card__icon--symbol::after { border-radius: 50%; border-color: var(--violet); box-shadow: 0 0 0 16px rgba(168,139,255,.05), 0 0 45px rgba(168,139,255,.2); }
.lens-card h3 { font: 400 2rem var(--serif); margin: 0 0 15px; }
.lens-card p { color: #a9a4b7; font-size: .92rem; }
.lens-card a { display: inline-block; color: var(--aqua); font-size: .78rem; margin-top: 16px; text-decoration: none; }

/* Vault grid */
.vault-preview { background: var(--paper); color: var(--ink); }
.vault-preview .eyebrow, .archive-content .eyebrow { color: var(--violet-deep); }
.split-heading { align-items: end; display: grid; grid-template-columns: 1.15fr .75fr; gap: clamp(28px, 7vw, 100px); margin-bottom: 70px; }
.split-heading > p { color: #625f6c; margin: 0 0 8px; }
.crystal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.crystal-card { background: #f3f0f5; border: 1px solid rgba(23,21,38,.08); border-radius: 2px; color: var(--ink); display: flex; flex-direction: column; min-height: 440px; padding: 18px 22px 25px; text-decoration: none; transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.crystal-card:hover { background: var(--white); box-shadow: 0 26px 60px rgba(24,20,46,.13); transform: translateY(-7px); }
.crystal-card:nth-child(2n) { margin-top: 28px; }
.crystal-glyph { align-items: center; aspect-ratio: 1.12; display: flex; justify-content: center; margin-bottom: 22px; overflow: hidden; position: relative; }
.crystal-glyph::before { background: hsl(var(--crystal-hue) 75% 66% / .18); border-radius: 50%; content: ""; filter: blur(28px); height: 62%; position: absolute; width: 62%; }
.crystal-glyph span, .crystal-glyph i, .crystal-glyph b { bottom: 16%; clip-path: polygon(50% 0, 92% 28%, 79% 100%, 19% 100%, 6% 29%); display: block; filter: drop-shadow(0 10px 16px hsl(var(--crystal-hue) 55% 30% / .18)); position: absolute; }
.crystal-glyph span { background: linear-gradient(135deg, hsl(var(--crystal-hue) 80% 85% / .8), hsl(calc(var(--crystal-hue) + 55) 70% 56% / .38)); height: 72%; width: 33%; }
.crystal-glyph i { background: linear-gradient(135deg, hsl(calc(var(--crystal-hue) + 35) 75% 86% / .75), hsl(var(--crystal-hue) 65% 50% / .25)); height: 50%; left: 25%; transform: rotate(-14deg); width: 25%; }
.crystal-glyph b { background: linear-gradient(135deg, hsl(calc(var(--crystal-hue) - 35) 82% 84% / .72), hsl(var(--crystal-hue) 70% 48% / .22)); height: 44%; right: 23%; transform: rotate(14deg); width: 23%; }
.crystal-card__meta { color: #7a7482; font: .65rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.crystal-card h2, .crystal-card h3 { font: 400 1.72rem var(--serif); margin: 8px 0 10px; }
.crystal-card p { color: #6a6670; font-size: .82rem; line-height: 1.5; margin: 0; }
.crystal-card__link { color: var(--violet-deep); font-size: .73rem; font-weight: 750; margin-top: auto; padding-top: 24px; }
.crystal-card__link i { font-style: normal; transition: transform .2s ease; display: inline-block; }
.crystal-card:hover .crystal-card__link i { transform: translateX(5px); }

/* Sister portal */
.sister-portal { background: radial-gradient(circle at 25% 50%, rgba(140,243,227,.08), transparent 35%), #080713; overflow: clip; }
.sister-portal__inner { align-items: center; display: grid; grid-template-columns: .8fr 1fr; gap: clamp(38px, 9vw, 130px); }
.earth-orbit { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; position: relative; box-shadow: 0 0 90px rgba(140,243,227,.07) inset; }
.earth-orbit::before, .earth-orbit::after { border: 1px solid rgba(168,139,255,.25); border-radius: 50%; content: ""; inset: 14%; position: absolute; transform: rotate(48deg) scaleY(.34); }
.earth-orbit::after { border-color: rgba(140,243,227,.23); transform: rotate(-35deg) scaleY(.5); }
.earth-orbit span { background: radial-gradient(circle at 35% 30%, #e5ffff, var(--aqua) 9%, #6e5ad4 43%, #16132b 68%); border-radius: 48% 52% 56% 44%; box-shadow: 0 0 70px rgba(140,243,227,.25); inset: 28%; position: absolute; }
.earth-orbit i, .earth-orbit b { background: var(--white); border-radius: 50%; height: 4px; position: absolute; width: 4px; box-shadow: 0 0 12px var(--white); }
.earth-orbit i { left: 8%; top: 36%; }.earth-orbit b { right: 12%; bottom: 30%; }
.earth-orbit u { background: var(--rose); border-radius: 50%; box-shadow: 0 0 14px var(--rose); height: 3px; left: 35%; position: absolute; text-decoration: none; top: 5%; width: 3px; }
.sister-portal__copy h2 { font-size: clamp(3rem, 6vw, 6.6rem); }
.sister-portal__copy > p:not(.eyebrow) { color: #aaa5b7; max-width: 680px; margin: 28px 0 0; }
.sister-portal__copy .button { margin-top: 28px; }
.trust-strip { background: #100f20; border-top: 1px solid var(--line); padding-block: 38px; }
.trust-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.trust-strip__grid div { border-left: 1px solid var(--line); padding-left: 20px; }
.trust-strip span { color: var(--aqua); font: .66rem var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.trust-strip p { color: #8f899c; font-size: .76rem; line-height: 1.5; margin: 8px 0 0; }

/* Knowledge rooms */
.knowledge-rooms { background: radial-gradient(circle at 88% 24%,rgba(255,181,216,.07),transparent 30%),#0e0c1d; overflow: clip; }
.knowledge-grid { display: grid; gap: 12px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.knowledge-card { background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); border: 1px solid var(--line); color: #f1edf6; display: flex; flex-direction: column; min-height: 320px; overflow: hidden; padding: clamp(24px,3vw,38px); position: relative; text-decoration: none; transition: border-color .3s ease,transform .3s ease,background .3s ease; }
.knowledge-card::before { background: linear-gradient(135deg,transparent 45%,rgba(140,243,227,.08) 46%,rgba(168,139,255,.1) 51%,transparent 52%); content: ""; inset: 0; opacity: 0; position: absolute; transition: opacity .3s ease; }
.knowledge-card:hover { background: rgba(255,255,255,.065); border-color: rgba(140,243,227,.4); transform: translateY(-5px); }.knowledge-card:hover::before { opacity: 1; }
.knowledge-card--wide { grid-column: span 2; }
.knowledge-card > span { color: var(--aqua); font: .58rem var(--mono); letter-spacing: .13em; position: relative; }
.knowledge-card h3 { font: 400 clamp(1.7rem,3vw,3rem)/1 var(--serif); margin: auto 0 16px; max-width: 580px; position: relative; }.knowledge-card p { color: #928c9e; font-size: .78rem; margin: 0; max-width: 440px; position: relative; }.knowledge-card > i { color: #777181; font-style: normal; position: absolute; right: 24px; top: 22px; }

/* Footer */
.site-footer { background: #06050d; border-top: 1px solid var(--line); padding-top: 78px; position: relative; overflow: clip; }
.site-footer__glow { background: var(--violet); border-radius: 50%; filter: blur(100px); height: 200px; opacity: .08; position: absolute; right: 10%; top: -120px; width: 300px; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: clamp(40px, 8vw, 110px); }
.site-brand--footer { margin-bottom: 20px; }
.site-footer__brand p, .site-footer__sister p { color: #817b8e; font-size: .82rem; max-width: 340px; }
.footer-heading { color: #eae6f0 !important; font: 400 1.15rem var(--serif) !important; margin: 0 0 18px !important; }
.footer-nav__list { list-style: none; margin: 0; padding: 0; }
.footer-nav__list li + li { margin-top: 8px; }
.footer-nav__list a, .site-footer__sister a { color: #a9a2b5; font-size: .78rem; text-decoration: none; }
.footer-nav__list a:hover, .site-footer__sister a:hover { color: var(--aqua); }
.site-footer__note { border-left: 1px solid rgba(255,181,216,.25); margin-top: 22px; padding-left: 14px; }
.site-footer__bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: 65px; padding-block: 24px; }
.site-footer__bottom p { color: #5f596b; font-size: .66rem; margin: 0; }

/* Generic and editorial pages */
.page-hero, .archive-hero { background: radial-gradient(circle at 75% 40%, rgba(168,139,255,.16), transparent 32%), var(--night); padding: 190px 0 95px; position: relative; overflow: clip; }
.page-hero::after, .archive-hero::after { background: linear-gradient(90deg, transparent, rgba(140,243,227,.22), transparent); bottom: 0; content: ""; height: 1px; left: 0; position: absolute; right: 0; }
.page-hero h1, .archive-hero h1 { font-size: clamp(3.4rem, 8vw, 8rem); }
.page-hero__lead, .archive-hero p:last-child { color: #aba6b8; font-size: 1.1rem; max-width: 680px; margin: 24px 0 0; }
.content-section { background: var(--paper); color: var(--ink); padding-block: clamp(65px, 9vw, 120px); }
.prose { font-size: 1.04rem; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-top: 1.4em; }
.prose h3 { font: 400 1.65rem var(--serif); margin-top: 1.8em; }
.prose a { color: #5d39c1; }
.prose blockquote { border-left: 2px solid var(--violet); font: italic 1.4rem/1.5 var(--serif); margin-inline: 0; padding-left: 28px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border-bottom: 1px solid var(--line-dark); padding: 12px; text-align: left; }

/* Archive */
.archive-hero__inner { align-items: center; display: grid; grid-template-columns: 1fr 280px; gap: 60px; }
.archive-prism .crystal-glyph { height: 280px; margin: 0; }
.archive-content { background: var(--paper); color: var(--ink); }
.vault-filter { align-items: end; background: #efecf3; border: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr .65fr .65fr auto; gap: 14px; margin-bottom: 50px; padding: 18px; }
.vault-filter label { display: grid; gap: 8px; }
.vault-filter label span { color: #6b6576; font: .63rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vault-filter input, .vault-filter select { background: var(--white); border: 1px solid rgba(23,21,38,.15); border-radius: 0; color: var(--ink); min-height: 52px; padding: 10px 14px; width: 100%; }
.crystal-grid--archive { grid-template-columns: repeat(3, minmax(0,1fr)); }
.crystal-grid--archive .crystal-card { min-height: 480px; }
.empty-state { grid-column: 1/-1; padding: 70px 20px; text-align: center; }
.empty-state h2 { font-size: 3rem; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 50px; }
.page-numbers { border: 1px solid var(--line-dark); min-width: 42px; padding: 8px 12px; text-align: center; text-decoration: none; }
.page-numbers.current { background: var(--ink); color: var(--white); }

/* Profile */
.profile-hero { background: radial-gradient(circle at 78% 48%, hsl(var(--crystal-hue) 65% 55% / .18), transparent 35%), var(--night); min-height: 730px; overflow: clip; padding: 180px 0 92px; position: relative; }
.profile-hero__inner { align-items: center; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; }
.profile-hero h1 { font-size: clamp(4.4rem, 10vw, 10rem); }
.profile-hero__lead { color: #aaa4b7; font: 400 clamp(1.18rem, 2vw, 1.5rem)/1.5 var(--serif); max-width: 670px; }
.profile-hero__facts { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 38px; margin-top: 38px; padding-top: 22px; }
.profile-hero__facts span { font: .82rem var(--mono); }
.profile-hero__facts small { color: #6e6879; display: block; font-size: .58rem; letter-spacing: .12em; margin-bottom: 5px; text-transform: uppercase; }
.profile-save-row { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }.profile-save-row > a { color: #918a9c; font-size: .68rem; text-decoration: none; }.profile-save-row > a:hover { color: var(--aqua); }
.profile-save { align-items: center; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 999px; color: #dcd6e6; cursor: pointer; display: inline-flex; font-size: .72rem; gap: 9px; min-height: 44px; padding: 9px 16px; }
.profile-save span { color: var(--aqua); font-size: 1.15rem; }.profile-save b { font-weight: 650; }.profile-save[aria-pressed="true"] { background: rgba(140,243,227,.09); border-color: rgba(140,243,227,.45); color: var(--aqua); }
.profile-hero__visual { aspect-ratio: 1; position: relative; }
.profile-hero__visual .crystal-glyph { height: 100%; margin: 0; z-index: 2; }
.profile-hero__visual .crystal-glyph::before { opacity: .7; }
.profile-rings { border: 1px solid hsl(var(--crystal-hue) 80% 80% / .2); border-radius: 50%; inset: 10%; position: absolute; }
.profile-rings::before, .profile-rings::after { border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; inset: 15%; position: absolute; }
.profile-rings::after { inset: -18%; border-style: dashed; animation: ring-turn 40s linear infinite; }
.profile-nav { background: rgba(9,8,21,.93); border-block: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); }
.site-header.is-stuck + main .profile-nav { top: 88px; }
.admin-bar .site-header.is-stuck + main .profile-nav { top: 120px; }
.profile-nav .shell { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.profile-nav a { color: #aaa4b5; flex: 0 0 auto; font-size: .69rem; padding-block: 15px; text-decoration: none; }
.profile-nav a:hover { color: var(--aqua); }
.profile-section, .source-section { background: var(--paper); color: var(--ink); padding-block: clamp(75px, 10vw, 130px); scroll-margin-top: 60px; }
.profile-section--story { background: #ece9f0; }
.profile-section--symbol { background: radial-gradient(circle at 70% 20%, rgba(168,139,255,.12), transparent 30%), var(--night-soft); color: var(--mist); }
.source-section { background: #e5e1e9; }
.shell--profile { display: grid; grid-template-columns: 150px 1fr; gap: clamp(30px, 8vw, 100px); }
.profile-section__label { align-self: start; border-top: 1px solid currentColor; opacity: .48; padding-top: 12px; position: sticky; top: 90px; }
.profile-section__label span { font: .75rem var(--mono); }
.profile-section__label p { font: .62rem var(--mono); letter-spacing: .1em; margin: 8px 0 0; text-transform: uppercase; }
.profile-section__body h2 { font-size: clamp(3rem, 7vw, 7rem); margin-bottom: 48px; }
.fact-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 54px; }
.fact-panels > div { background: var(--paper); padding: 26px; }
.fact-panels h3 { color: #554f62; font: .66rem var(--mono); letter-spacing: .1em; margin: 0 0 11px; text-transform: uppercase; }
.fact-panels p { font-size: .88rem; margin: 0; }
.fact-panels .fact-panel--warning { background: #fff6e9; }
.astrology-bridge { border: 1px solid var(--line); margin-top: 40px; padding: 30px; position: relative; }
.astrology-bridge p:not(.eyebrow) { color: #b3adbe; }
.astrology-bridge a { color: var(--aqua); font-size: .78rem; text-decoration: none; }
.interpretation-note { border-left: 2px solid var(--rose); color: #9f98aa; font-size: .78rem; margin-top: 36px; padding: 10px 0 10px 18px; }
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { border-bottom: 1px solid var(--line-dark); }
.source-list a { display: flex; justify-content: space-between; padding: 16px 0; text-decoration: none; }
.source-list a:hover { color: var(--violet-deep); }
.review-date { color: #736d79; font: .65rem var(--mono); margin-top: 28px; }
.profile-related { background: #f8f6fa; color: var(--ink); padding-block: clamp(75px,10vw,130px); }
.profile-related .eyebrow { color: var(--violet-deep); }
.crystal-grid--related { grid-template-columns: repeat(3,minmax(0,1fr)); }
.crystal-grid--related .crystal-card { min-height: 470px; }

/* 404 */
.lost-vault { align-items: center; background: radial-gradient(circle, rgba(168,139,255,.13), transparent 40%), var(--night); display: flex; min-height: 100svh; padding-block: 140px 80px; text-align: center; }
.lost-vault__glyph { color: var(--aqua); font-size: 6rem; filter: drop-shadow(0 0 26px rgba(140,243,227,.4)); }
.lost-vault h1 { font-size: clamp(3.4rem, 8vw, 7.5rem); }
.lost-vault .button-row { justify-content: center; }

@media (max-width: 1100px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; }
	.site-nav { background: rgba(9,8,21,.98); border-top: 1px solid var(--line); display: none; grid-column: 1/-1; inset: 88px 0 auto; justify-self: stretch; max-height: calc(100vh - 88px); overflow-y: auto; padding: 24px var(--pad) 38px; position: fixed; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav li { border-bottom: 1px solid var(--line); }
	.site-nav a { display: block; font: 400 1.7rem var(--serif); padding: 15px 0; }
	.menu-toggle { display: block; }
	.portal__inner { grid-template-columns: 1fr .8fr; }
	.crystal-grid { grid-template-columns: repeat(2, 1fr); }
	.crystal-grid--archive { grid-template-columns: repeat(2, 1fr); }
	.crystal-grid--related { grid-template-columns: repeat(3,minmax(0,1fr)); }
	.knowledge-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.knowledge-card--wide { grid-column: span 1; }
}

@media (max-width: 820px) {
	:root { --pad: clamp(18px, 5vw, 34px); }
	.page-hero, .archive-hero { background: linear-gradient(155deg, #090815 0%, #14102a 64%, #080713 100%); }
	.site-header__inner { min-height: 74px; gap: 12px; }
	.site-nav { inset: 74px 0 auto; }
	.site-header.is-stuck + main .profile-nav { top: 74px; }
	.admin-bar .site-header.is-stuck + main .profile-nav { top: 120px; }
	.site-brand small, .resonance-toggle span:last-child, .sister-link { display: none; }
	.resonance-toggle { border-radius: 50%; height: 42px; justify-content: center; padding: 0; width: 42px; }
	.portal__inner { display: block; min-height: 960px; padding-top: 132px; }
	.portal__copy { max-width: 680px; }
	.portal__instrument { height: 470px; min-height: 0; margin-top: 20px; }
	.crystal-temple { height: 510px; }
	.portal__scroll { display: none; }
	.lenses-grid { grid-template-columns: 1fr; }
	.lens-card { min-height: auto; }
	.lens-card:first-child, .lens-card:last-child { border-radius: 20px; }
	.lens-card__icon { height: 120px; width: 120px; }
	.split-heading, .sister-portal__inner, .site-footer__grid, .archive-hero__inner, .profile-hero__inner { grid-template-columns: 1fr; }
	.earth-orbit { margin-inline: auto; max-width: 440px; width: 100%; }
	.trust-strip__grid { grid-template-columns: 1fr; gap: 22px; }
	.site-footer__grid { gap: 42px; }
	.site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
	.archive-prism { display: none; }
	.vault-filter { grid-template-columns: 1fr; }
	.profile-hero { padding-top: 135px; }
	.profile-hero__visual { margin-inline: auto; max-width: 430px; width: 100%; }
	.shell--profile { grid-template-columns: 1fr; }
	.profile-section__label { display: flex; gap: 12px; position: static; }
	.fact-panels { grid-template-columns: 1fr; }
	.crystal-grid--related { grid-template-columns: 1fr; }
	.portal__threshold { display: none; }
	.lenses-orbit { grid-template-columns: 1fr; }
	.lens-v2 { min-height: 450px; }
	.lens-v2:first-child, .lens-v2:last-child { border-radius: 24px; }
	.knowledge-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.site-brand__mark { height: 34px; width: 28px; }
	.site-brand b { font-size: .78rem; }
	.portal { min-height: 930px; }
	.portal__inner { min-height: 930px; }
	.portal h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
	.portal__lead { font-size: .96rem; }
	.portal__principles { gap: 10px 16px; }
	.portal__coordinates { gap: 16px; justify-content: space-between; }
	.portal__coordinates small { font-size: .5rem; letter-spacing: .06em; }
	.portal__instrument { height: 395px; margin-inline: -10px; }
	.crystal-temple { height: 430px; }
	.button-row { align-items: stretch; flex-direction: column; }
	.button { width: 100%; }
	h2 { font-size: clamp(2.55rem, 13vw, 4.4rem); }
	.crystal-grid, .crystal-grid--archive { grid-template-columns: 1fr; }
	.crystal-card:nth-child(2n) { margin-top: 0; }
	.crystal-card { min-height: 420px; }
	.sister-portal__copy h2 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
	.page-hero, .archive-hero { padding-top: 145px; }
	.profile-hero h1 { font-size: clamp(3.8rem, 18vw, 6.3rem); }
	.profile-hero__facts { gap: 20px; }
	.profile-nav .shell { gap: 22px; }
	.prose { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
	.portal__instrument { transform: none !important; }
}

@media print {
	.site-header, .site-footer, .world-light, .portal__instrument, .profile-nav, .button-row { display: none !important; }
	body, .profile-section, .profile-section--symbol, .source-section { background: #fff !important; color: #000 !important; }
	.profile-hero { min-height: auto; padding: 30px 0; background: #fff; color: #000; }
	a { color: #000; }
}
