:root {
  color-scheme: dark;
  --bg: #06090f;
  --surface: #0d121a;
  --ink: #e9e4d6;
  --muted: #939b9f;
  --gold: #c9ad74;
  --gold-light: #ebd4a3;
  --line: rgba(203, 185, 144, .17);
  --serif: 'Noto Serif SC', 'Songti SC', STSong, SimSun, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; -webkit-user-select: none; user-select: none; }
img, svg, a { -webkit-user-drag: none; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body.is-travelling { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 7px; }
button:disabled { cursor: default; }
::selection { background: #8c7344; color: white; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
svg { display: block; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--gold-light); color: var(--bg); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
#main:focus, #realm-title:focus { outline: none; }
#stardust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; opacity: .7; }
.site-header { position: absolute; top: 0; left: 0; right: 0; height: 100px; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 0 4.5%; border-bottom: 1px solid var(--line); background: linear-gradient(#05081099, transparent); }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 42px; height: 45px; fill: none; stroke: var(--gold); stroke-width: 1.1; }
.brand > span { font: 26px/1.2 var(--serif); letter-spacing: 5px; }
.brand small { display: block; font: 12px/1.5 var(--sans); letter-spacing: 2px; color: var(--muted); margin-top: 8px; }
.desktop-nav { display: flex; align-items: center; gap: 37px; }
.nav-link { font-size: 16px; letter-spacing: 2px; color: #a5a7a5; position: relative; padding: 37px 0; transition: color .2s; }
.nav-link span { display: block; font-size: 12px; letter-spacing: 1.5px; margin-top: 3px; color: #707a83; }
.nav-link i { font-style: normal; color: var(--gold); margin-left: 5px; }
.nav-link.is-current, .nav-link:hover { color: var(--gold-light); }
.nav-link.is-current::after { content: ''; position: absolute; left: 0; right: 0; bottom: 24px; height: 1px; background: var(--gold); }
.header-actions { display: flex; gap: 26px; align-items: center; }
.motion-control { display: flex; align-items: center; gap: 10px; padding: 12px 0; background: none; font-size: 16px; letter-spacing: 2px; color: #beb6a3; }
.motion-control .icon { width: 15px; height: 15px; }
.motion-control[aria-pressed='true'] { color: #8b9299; }
.menu-toggle { display: none; background: none; padding: 12px 2px; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 21px; height: 1px; background: var(--gold-light); transition: transform .2s; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 15px 6% 25px; background: #080e19f5; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); letter-spacing: 3px; }
.mobile-nav a span { font: 12px var(--sans); color: var(--gold); align-self: center; letter-spacing: 2px; }
.star-map { position: relative; height: 100svh; min-height: 700px; max-height: 1250px; isolation: isolate; overflow: hidden; }
.scene, .scene-shade { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.galaxy { position: absolute; inset: 0; overflow: hidden; z-index: -4; pointer-events: none; }
.galaxy-flow { position: absolute; inset: -18%; background: url('assets/galaxy-drift.png') center / cover; transform: translate3d(var(--galaxy-x, 0%), var(--galaxy-y, 6%), 0) rotate(var(--galaxy-angle, 0deg)) scale(var(--galaxy-scale, 1)); will-change: transform; opacity: .72; }
.galaxy-veil { position: absolute; inset: 0; background: linear-gradient(90deg, #06090fba, #06090f1a 46%, #06090f55), linear-gradient(0deg, #06090f, transparent 28%, #06090f22); }
.scene { --figure-opacity: .84; }
.figure-art { position: absolute; inset: 0; opacity: var(--figure-opacity); mask-image: url('assets/emperor-mask.svg'); mask-size: cover; mask-position: 50% 44%; mask-repeat: no-repeat; }
.scene-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.scene-empty { opacity: var(--palm-release, 0); }
.emperor-aura { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.palm-world { position: absolute; left: var(--palm-x, 50%); top: var(--palm-y, 56%); width: var(--palm-size, 210px); height: var(--palm-size, 210px); transform: translate(-50%, -50%); border-radius: 50%; background: none; padding: 0; z-index: 4; --tone: #eac579; }
.palm-weather { position: absolute; inset: 3%; border-radius: 50%; background: url('assets/planet-surface.svg') 0 50% / 200% 100% repeat-x; mix-blend-mode: screen; opacity: .2; mask-image: radial-gradient(circle, #0008 25%, #000 55%, transparent 73%); animation: world-spin 48s linear infinite; pointer-events: none; }
.palm-art { position: absolute; inset: -7%; border-radius: 50%; background: url('assets/palm-world.png') center / contain no-repeat; opacity: calc(var(--palm-release, 0) * .84); filter: saturate(.8) brightness(.9); pointer-events: none; }
.world-node, .palm-world { transform: translate(-50%, -50%) translate(var(--rift-x, 0px), var(--rift-y, 0px)) scale(var(--rift-scale, 1)) rotate(var(--rift-angle, 0deg)); opacity: var(--rift-alpha, 1); }
#cosmic-event { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.cosmic-caption { position: absolute; bottom: 95px; left: 50%; transform: translateX(-50%); z-index: 6; width: max-content; max-width: 90%; text-align: center; text-shadow: 0 2px 15px #000; pointer-events: none; }
.cosmic-caption strong { display: block; font: 23px/1.6 var(--serif); letter-spacing: 4px; color: #f5d899; }
.cosmic-caption span { display: block; margin-top: 8px; font-size: 12px; color: #b8b3a6; letter-spacing: 2px; }
.star-map[data-cosmic-phase]:not([data-cosmic-phase='idle']) .origin-intro { opacity: .4; transition: opacity 1.2s; }
.star-map[data-cosmic-phase]:not([data-cosmic-phase='idle']) .node-label, .star-map[data-cosmic-phase]:not([data-cosmic-phase='idle']) .origin-caption { opacity: calc(1 - var(--cosmic-pull, 0) * 2); }
.map-actions { display: flex; align-items: center; gap: 26px; }
.cosmic-preview { background: none; padding: 0; font-size: 12px; letter-spacing: 1px; color: #c9ad74; }
.cosmic-preview:disabled { opacity: .4; }
.cosmic-preview:hover { color: #f5d899; }
.palm-orbit { position: absolute; inset: -8%; border-radius: 50%; border: 1px solid #e9c88060; box-shadow: 0 0 26px #ffc56c20, inset 0 0 20px #ffd48513; transform: rotate(-22deg) scaleY(.78); transition: border-color .3s, box-shadow .3s; pointer-events: none; }
.palm-world:hover .palm-orbit, .palm-world:focus-visible .palm-orbit { border-color: #ffdda2bd; box-shadow: 0 0 42px #ffc56c66; }
.origin-caption { position: absolute; top: calc(100% + 22px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 7px; align-items: center; width: max-content; color: #efd7a5; padding: 7px 16px; background: radial-gradient(ellipse, #080a10d9, #080a1066 65%, transparent 75%); text-shadow: 0 2px 8px #000; }
.origin-caption strong { font: 28px/1.4 var(--serif); letter-spacing: 3px; }
.origin-caption small { font: 13px var(--sans); letter-spacing: 2px; margin-left: 6px; }
.origin-caption > span { font-size: 15px; letter-spacing: 2px; color: #e4d0a7; }
.origin-gateway { padding-top: 40px; border-top: 1px solid var(--line); }
.gateway-description { color: #acb5bd; font-size: 17px; margin: 18px 0 35px; }
.scene-shade { z-index: 1; background: linear-gradient(90deg, #06090f96, transparent 38%, transparent 70%, #06090f20), linear-gradient(0deg, #06090f 0, #06090f90 10%, transparent 34%, transparent 78%, #06090f55); }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #d3bd8733; stroke-width: .65; pointer-events: none; z-index: -1; }
.orbits ellipse:nth-child(2) { stroke-dasharray: 2 11; stroke: #99acc52c; }
.orbits ellipse:nth-child(3) { stroke: #d3bd8715; }
.origin-intro { position: absolute; left: 6%; top: 15%; max-width: 390px; z-index: 1; transition: opacity 1.2s; }
.eyebrow { display: flex; align-items: center; gap: 15px; font: 12px/1.5 var(--sans); letter-spacing: 2.6px; color: var(--gold); margin-bottom: 21px; }
.eyebrow > span:not(.fine-line) { color: #6d777e; border-right: 1px solid #8f7a4f66; padding-right: 13px; letter-spacing: 1px; }
.fine-line { width: 25px; height: 1px; background: var(--gold); }
.origin-intro h1 { font-size: clamp(56px, 5.2vw, 84px); letter-spacing: .13em; line-height: 1.3; margin: 0 0 16px -3px; position: relative; text-shadow: 0 3px 30px #000; }
.title-seal { display: inline-block; font-size: 12px; line-height: 1.5; letter-spacing: 2px; color: #bd9472; padding: 4px 3px 4px 5px; border: 1px solid #b98a5e88; vertical-align: top; margin: 14px 0 0 9px; border-radius: 2px; }
.origin-poem { color: #d4c5a6; font-family: var(--serif); font-size: 22px; letter-spacing: 3px; margin-bottom: 18px; }
.origin-description { font-size: 16px; letter-spacing: 1px; color: #9fa6ab; line-height: 2.1; }
.map-coordinate { position: absolute; top: 42%; right: 2.5%; display: flex; align-items: center; gap: 15px; writing-mode: vertical-rl; font-family: var(--serif); font-size: 16px; letter-spacing: 4px; color: #7a8389; }
.map-coordinate i { height: 25px; width: 1px; background: #b19a642e; }
.world-nodes { position: absolute; inset: 0; }
.world-node { --size: 100px; --tone: #aac9c1; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) translate(var(--rift-x, 0px), var(--rift-y, 0px)) scale(var(--rift-scale, 1)) rotate(var(--rift-angle, 0deg)); width: max(164px, var(--size)); padding: 0; background: none; text-align: center; border-radius: 50%; z-index: 3; }
.world-node:nth-child(1) { --x: 77%; --y: 28%; --size: 90px; }
.world-node:nth-child(2) { --x: 17%; --y: 62%; --size: 110px; }
.world-node:nth-child(3) { --x: 31%; --y: 80%; --size: 77px; }
.world-node:nth-child(4) { --x: 84%; --y: 61%; --size: 114px; }
.world-node:nth-child(5) { --x: 70%; --y: 82%; --size: 80px; }
.world-node:nth-child(6) { --x: 40%; --y: 25%; --size: 60px; }
.node-visual { position: relative; display: block; width: var(--size); height: var(--size); margin: auto; animation: levitate 7s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.world-node:nth-child(even) { --delay: -3.5s; }
.planet { --planet-lit: #c1d2af; --planet-mid: #557e6c; --planet-dark: #132b33; display: block; position: relative; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 32% 27%, var(--planet-lit), var(--planet-mid) 31%, var(--planet-dark) 64%, #030711 90%); box-shadow: inset -12px -8px 20px #01030bd9, inset 2px 1px 3px #f8ebd966, 0 0 28px -5px var(--tone, #718a8c); isolation: isolate; transition: transform .5s, box-shadow .5s; }
.planet::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-image: url('assets/planet-surface.svg'), url('assets/planet-grain.svg'); background-size: 200% 100%, 145%; background-repeat: repeat-x; mix-blend-mode: overlay; opacity: .9; animation: world-spin var(--spin-duration, 38s) linear infinite; }
.planet::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: inset -12px -7px 18px #01050dcc, inset 0 0 9px #c4d8f833; border: 1px solid #d3dcde24; }
.planet-clouds { position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(167deg, transparent 0 12%, #f6f3db23 15%, transparent 20% 31%, #fff5df18 33%, transparent 36%); mix-blend-mode: screen; opacity: .7; background-size: 200% 100%; animation: cloud-drift 60s linear infinite; }
.planet--jade { --planet-lit: #b7e2d1; --planet-mid: #4f9b8a; --planet-dark: #0c3541; }
.planet--amber { --spin-duration: 46s; --planet-lit: #edcf92; --planet-mid: #a67a3e; --planet-dark: #432b22; }
.planet--violet { --spin-duration: 52s; --planet-lit: #c9c2ec; --planet-mid: #7c729d; --planet-dark: #252739; }
.planet--blue { --spin-duration: 34s; --planet-lit: #c3d8f3; --planet-mid: #4c83ab; --planet-dark: #172d4a; }
.planet--rose { --spin-duration: 43s; --planet-lit: #ead7c0; --planet-mid: #b18d83; --planet-dark: #473038; }
.planet--pearl { --spin-duration: 58s; --planet-lit: #e4e0cf; --planet-mid: #8d969b; --planet-dark: #323b49; }
.node-orbit { position: absolute; z-index: 2; inset: -13%; border: 1px solid #d5ceac40; border-radius: 50%; transform: rotate(-30deg) scaleY(.33); box-shadow: 0 0 0 4px #b8ba9f08; transition: transform .6s; }
.world-node:nth-child(2) .node-orbit, .world-node:nth-child(5) .node-orbit { transform: rotate(25deg) scaleY(.3); inset: -22%; border-width: 3px; border-color: #cdb38b46; }
.world-node:nth-child(3) .node-orbit, .world-node:nth-child(6) .node-orbit { border: 1px dashed #bcc7d53d; transform: rotate(-25deg) scaleY(.88); inset: -25%; }
.node-satellite { position: absolute; width: 4px; height: 4px; background: #ded9c0; top: 12%; right: -10%; border-radius: 50%; box-shadow: 0 0 10px #efc683; }
.node-label { display: flex; flex-direction: column; align-items: center; margin-top: 20px; text-shadow: 0 2px 8px #000, 0 0 20px #000; }
.node-number { font-size: 12px; letter-spacing: 1.5px; color: #8f969e; margin-bottom: 3px; }
.node-name { font: 26px/1.5 var(--serif); letter-spacing: 4px; padding-left: 4px; color: #ddd9cb; transition: color .3s; }
.node-project { color: #bec2c6; font-size: 14px; letter-spacing: 1px; margin-top: 5px; }
.node-enter { display: block; height: 18px; margin-top: 7px; color: var(--gold-light); font-size: 12px; letter-spacing: 1px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.world-node:hover .planet, .world-node:focus-visible .planet { transform: scale(1.09); box-shadow: inset -12px -8px 20px #01030bd9, inset 2px 1px 3px #f8ebd966, 0 0 45px -5px var(--tone); }
.world-node:hover .node-name, .world-node:focus-visible .node-name { color: var(--gold-light); }
.world-node:hover .node-enter, .world-node:focus-visible .node-enter { opacity: 1; transform: translateY(0); }
.world-node:hover .node-visual { animation-play-state: paused; }
.map-footer { position: absolute; left: 4.5%; right: 4.5%; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 24px; border-top: 1px solid var(--line); }
.map-legend { display: flex; align-items: center; gap: 10px; }
.status-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px #b2976177; }
.map-legend p, .map-hint { font-size: 12px; letter-spacing: 1.4px; margin: 0; color: #949b9e; }
.map-legend p span { padding: 0 8px; color: #5c6470; }
.map-hint { color: #c0b79f; }
.map-hint span { padding-left: 9px; }
.atlas-cue { font-size: 12px; letter-spacing: 1.5px; color: #aaa79a; }
.atlas-cue span { margin-left: 20px; color: var(--gold); }
.section-shell { width: min(1320px, 88%); margin-inline: auto; }
.atlas { position: relative; z-index: 3; padding-top: 102px; padding-bottom: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 47px; }
.section-heading .eyebrow { margin-bottom: 18px; }
h2 { font-size: clamp(29px, 2.5vw, 40px); line-height: 1.6; letter-spacing: 3px; margin-bottom: 0; }
.mobile-break { display: none; }
.section-description { font-size: 16px; color: var(--muted); line-height: 2.1; letter-spacing: .5px; margin-bottom: 7px; }
.atlas-columns { display: grid; grid-template-columns: 1fr 1fr 120px; padding: 0 26px 16px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: 2px; color: #6d7883; }
.atlas-columns span:last-child { text-align: right; }
.world-row { display: grid; grid-template-columns: 50px minmax(200px, 1fr) minmax(220px, 1fr) 100px 21px; gap: 24px; width: 100%; padding: 26px; text-align: left; align-items: center; background: none; border-bottom: 1px solid var(--line); transition: background .25s; }
.world-row:hover, .world-row:focus-visible { background: linear-gradient(90deg, #b5a06c0a, #9baec30a, transparent); }
.row-coordinate { font: italic 18px Georgia, serif; color: #6d7883; }
.row-world { display: flex; align-items: center; gap: 26px; }
.row-world .planet { width: 42px; height: 42px; flex-shrink: 0; --tone: transparent; box-shadow: inset -5px -5px 10px #01030b, 0 0 18px #9ca88a0d; }
.row-name { display: block; font: 28px/1.5 var(--serif); letter-spacing: 3px; }
.row-english { display: block; font-size: 12px; letter-spacing: 2px; color: #7f8c96; margin-top: 5px; }
.row-description { color: #9ba5ac; font-size: 16px; letter-spacing: .5px; }
.row-category { color: #9e957f; font-size: 12px; letter-spacing: 1px; }
.world-row .icon { color: #a39b87; width: 18px; transition: transform .2s; }
.world-row:hover .icon { transform: translateX(4px); color: var(--gold-light); }
.atlas-note { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; color: #798590; font-size: 16px; letter-spacing: .5px; }
.atlas-note .icon { color: #9b8e70; width: 13px; flex-shrink: 0; }
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8%; padding: 65px 0 100px; align-items: center; border-top: 1px solid var(--line); position: relative; z-index: 3; }
.about-emblem { min-height: 300px; display: grid; place-content: center; position: relative; color: var(--gold); text-align: center; }
.about-emblem svg { width: 110px; height: 110px; stroke: var(--gold); stroke-width: .5; fill: none; opacity: .7; }
.about-emblem > span { position: absolute; bottom: 0; left: 0; right: 0; font: italic 26px Georgia, serif; letter-spacing: 5px; color: #9e9277; }
.emblem-ring { position: absolute; top: 50%; left: 50%; width: 240px; height: 240px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid #aa936126; box-shadow: 0 0 80px #a4813b08; }
.emblem-ring::before, .emblem-ring::after { content: ''; position: absolute; inset: -17px; border: 1px dashed #ad966c21; border-radius: 50%; }
.emblem-ring::after { inset: 20px; border-style: solid; }
.about-content h2 { font-size: 33px; line-height: 1.8; }
.about-content > p:not(.eyebrow) { margin: 26px 0; color: #97a0a7; font-size: 16px; line-height: 2.4; }
.signature { display: flex; align-items: center; gap: 18px; font: italic 26px Georgia, serif; color: var(--gold-light); }
.signature > span { width: 28px; height: 1px; background: #a18c62; }
.signature small { font: 12px var(--sans); letter-spacing: 2px; color: #8b939a; }
.site-footer { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 35px; border-top: 1px solid var(--line); position: relative; z-index: 3; gap: 20px; }
.site-footer > span { font-family: var(--serif); font-size: 18px; letter-spacing: 2px; color: #bcb4a1; }
.site-footer i { font-style: normal; padding: 0 10px; color: #565c63; }
.site-footer small { font-size: 12px; color: #6e7b88; letter-spacing: 1.8px; }
.site-footer a { font-size: 12px; letter-spacing: 1.5px; color: #a8a18e; }
.realm-view { --tone: #a6d8cc; --tone-rgb: 166, 216, 204; min-height: 100svh; position: relative; overflow: hidden; isolation: isolate; padding: 145px 0 45px; }
.realm-atmosphere { position: absolute; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 80% 17%, rgba(var(--tone-rgb), .11), transparent 50%); }
.realm-halo { position: absolute; top: -180px; right: -110px; width: 1000px; height: 1000px; border: 1px solid rgba(var(--tone-rgb), .1); border-radius: 50%; box-shadow: 0 0 0 80px rgba(var(--tone-rgb), .015), 0 0 0 160px rgba(var(--tone-rgb), .01); }
.realm-planet { position: absolute; top: 0; right: -130px; width: min(60vw, 760px); height: min(60vw, 760px); opacity: .25; box-shadow: inset -90px -60px 120px #02040b, 0 0 120px rgba(var(--tone-rgb), .12); transform: rotate(-24deg); }
.realm-gridlines { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 72%), repeating-linear-gradient(90deg, transparent 0 199px, #94abc704 200px); }
.realm-content { position: relative; z-index: 3; }
.back-link { background: none; padding: 10px 0; display: inline-flex; align-items: center; gap: 17px; font-size: 16px; letter-spacing: 2px; color: #a4aaad; }
.back-link > span { font-size: 26px; color: var(--tone); }
.back-link small { color: #677582; font-size: 12px; letter-spacing: 2px; margin-left: 10px; }
.back-link:hover { color: var(--ink); }
.realm-heading { max-width: 700px; padding: 88px 0 70px; }
.realm-heading .eyebrow { color: var(--tone); }
.realm-english { font: italic 22px Georgia, serif; color: #a7afb1; letter-spacing: 2px; margin: 0 0 18px; }
.realm-heading h1 { font-size: clamp(66px, 7vw, 105px); line-height: 1.3; letter-spacing: 10px; margin: 0 0 24px -4px; text-shadow: 0 2px 40px #02040b; }
.realm-poem { font-family: var(--serif); color: var(--tone); font-size: 26px; letter-spacing: 3px; margin-bottom: 22px; }
.realm-description { max-width: 520px; color: #a0a9b1; font-size: 16px; line-height: 2.1; letter-spacing: .7px; }
.example-label { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(var(--tone-rgb), .19); padding: 5px 10px; font-size: 12px; color: #b0b5b4; letter-spacing: 1px; margin-top: 10px; }
.example-label .status-dot { background: var(--tone); }
.realm-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-top: 42px; border-top: 1px solid var(--line); }
.realm-story .eyebrow { color: #7f8c98; font-size: 12px; }
.realm-story h2 { font-size: 29px; }
.realm-story ul { padding: 0; margin: 30px 0; list-style: none; }
.realm-story li { display: flex; gap: 18px; align-items: baseline; margin-bottom: 22px; font-size: 16px; color: #a1abb2; line-height: 2; }
.realm-story li::before { content: '✧'; color: var(--tone); font-size: 22px; }
.project-passport { padding: 26px 30px; background: linear-gradient(130deg, rgba(var(--tone-rgb), .04), #0c121922); border: 1px solid rgba(var(--tone-rgb), .17); }
.passport-title { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 26px; letter-spacing: 3px; color: #d4d6cd; margin-bottom: 20px; }
.passport-title .icon { width: 17px; color: var(--tone); }
.project-passport dl { margin: 0; }
.project-passport dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(var(--tone-rgb), .09); font-size: 16px; }
.project-passport dt { color: #7f8c99; }
.project-passport dd { margin: 0; color: #c3c8c6; }
.project-passport dd a { text-decoration: underline; text-underline-offset: 4px; color: var(--tone); }
.project-passport > p { color: #7d8995; font-size: 16px; line-height: 2; margin: 20px 0 0; }
.next-world { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; padding: 26px 0; margin-top: 65px; color: #9ba4ad; font-size: 16px; letter-spacing: 2px; }
.next-world small { display: block; color: #6f7b86; font-size: 12px; letter-spacing: 2px; margin-bottom: 7px; }
.next-world strong { font: 28px var(--serif); margin-left: 22px; letter-spacing: 4px; color: var(--tone); }
.next-world .icon { color: var(--tone); width: 25px; }
.next-world:hover .icon { transform: translateX(5px); }
.realm-bottom-note { font: 16px var(--serif); text-align: center; letter-spacing: 5px; color: #69717c; padding: 45px 0 0; }
.voyage { position: fixed; inset: 0; z-index: 50; background: #03050b; overflow: hidden; }
#warp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cancel-voyage { position: absolute; top: 32px; right: 4%; background: #060a13b3; border: 1px solid #a9b8cc25; padding: 9px 14px; color: #a4acb6; font-size: 16px; letter-spacing: 2px; }
.cancel-voyage span { margin-left: 12px; color: #67717f; font-size: 12px; letter-spacing: 1px; }
.voyage-caption { position: absolute; bottom: 12%; left: 20px; right: 20px; text-align: center; text-shadow: 0 2px 15px black; }
.voyage-caption > p { font-size: 12px; letter-spacing: 4px; color: #9eacc0; margin: 0 0 14px; }
.voyage-caption h2 { font-size: 27px; letter-spacing: 7px; color: #e0d6c0; }
.voyage-progress { display: block; width: 130px; height: 1px; background: #d3c59824; margin: 24px auto 18px; overflow: hidden; }
.voyage-progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: #cabb8e; }
.voyage-caption small { font-family: var(--serif); font-size: 16px; color: #9c9c9d; letter-spacing: 3px; }
.noscript-note { margin: 0; padding: 30px; text-align: center; background: #14202b; color: #d2c6ab; }
@keyframes levitate { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes world-spin { from { background-position-x: 0, 0; } to { background-position-x: 200%, 0; } }
@keyframes cloud-drift { from { background-position-x: 0; } to { background-position-x: 200%; } }
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }
html.is-still { scroll-behavior: auto; }
@media (min-width: 1800px) {
  .origin-intro { left: 7%; }
  .world-node:nth-child(6) { --x: 34%; --y: 25%; }
  .world-node:nth-child(2) { --x: 19%; }
  .world-node:nth-child(4) { --x: 80%; }
}
@media (max-width: 1250px) {
  .site-header { height: 88px; padding-inline: 4%; }
  .brand > span { font-size: 22px; }
  .brand small { font-size: 12px; letter-spacing: 1px; }
  .desktop-nav { gap: 24px; }
  .nav-link { font-size: 16px; }
  .nav-link span { font-size: 12px; }
  .nav-link.is-current::after { bottom: 26px; }
  .motion-control { font-size: 12px; gap: 6px; }
  .scene-image { object-position: 50% 50%; }
  .figure-art { mask-position: 50% 50%; }
  .origin-intro { top: 16%; left: 5%; max-width: 320px; }
  .world-node { width: 140px; }
  .origin-intro h1 { font-size: 58px; }
  .origin-intro .eyebrow { font-size: 12px; letter-spacing: 1.8px; }
  .origin-poem { font-size: 18px; letter-spacing: 2px; }
  .origin-description { font-size: 16px; }
  .world-node:nth-child(6) { --x: 58%; --y: 24%; --size: 49px; }
  .world-node:nth-child(1) { --x: 80%; --y: 28%; --size: 75px; }
  .world-node:nth-child(2) { --x: 14%; --y: 59%; --size: 90px; }
  .world-node:nth-child(3) { --x: 26%; --y: 80%; --size: 68px; }
  .world-node:nth-child(4) { --x: 85%; --y: 60%; --size: 90px; }
  .world-node:nth-child(5) { --x: 73%; --y: 82%; --size: 70px; }
  .node-name { font-size: 22px; }
  .section-shell { width: 88%; }
  .world-row { grid-template-columns: 28px minmax(170px, 1fr) minmax(150px, 1fr) 65px 17px; gap: 15px; padding: 24px 10px; }
  .row-world { gap: 18px; }
  .row-name { font-size: 26px; }
  .row-description { font-size: 16px; }
  .row-category { font-size: 12px; }
  .realm-details { gap: 7%; }
}
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
}
@media (min-width: 761px) {
  .world-node:nth-child(3) { --y: calc(100% - 198px); }
  .world-node:nth-child(5) { --y: calc(100% - 185px); }
  .world-node:nth-child(6) { --y: max(218px, 25%); }
  .world-node:nth-child(1) { --y: max(238px, 28%); }
  .map-footer { bottom: 23px; padding-top: 18px; }
}
@media (min-width: 761px) and (min-height: 851px) and (max-height: 950px) {
  .origin-intro { top: 14%; }
  .origin-intro .eyebrow { margin-bottom: 14px; }
  .origin-description { margin-bottom: 0; }
}
@media (min-width: 761px) and (max-height: 850px) {
  .site-header { height: 82px; }
  .scene { inset-inline: max(0px, calc((100% - 230svh) / 2)); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .nav-link { padding-block: 25px; }
  .nav-link.is-current::after { bottom: 14px; }
  .origin-intro { top: 118px; }
  .origin-intro h1 { font-size: clamp(54px, 4.4vw, 68px); }
  .origin-intro .eyebrow { margin-bottom: 14px; }
  .origin-poem { font-size: 18px; margin-bottom: 10px; }
  .origin-description { line-height: 1.9; }
  .world-node:nth-child(2) { --y: 63%; --size: 78px; }
  .world-node:nth-child(4) { --y: 55%; --size: 82px; }
  .world-node:nth-child(3) { --x: 30%; --size: 58px; --y: calc(100% - 172px); }
  .world-node:nth-child(5) { --x: 70%; --size: 60px; --y: calc(100% - 172px); }
  .world-node:nth-child(6) { --y: 202px; }
  .world-node:nth-child(1) { --y: 211px; --size: 66px; }
  .node-label { margin-top: 12px; }
  .node-name { font-size: 22px; }
  .origin-caption { top: calc(100% + 10px); }
  .origin-caption strong { font-size: 25px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .world-node { width: 110px; }
  .world-node:nth-child(3) { --x: 29%; }
  .world-node:nth-child(5) { --x: 70%; }
  .origin-description { display: none; }
  .map-legend { display: none; }
}
@media (min-width: 761px) and (max-height: 740px) {
  .origin-description { display: none; }
  .world-node:nth-child(4) { --y: 59%; }
}
@media (max-width: 760px) {
  .site-header { height: 79px; padding-inline: 6%; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 37px; }
  .brand > span { font-size: 22px; letter-spacing: 3px; }
  .brand small { font-size: 8px; letter-spacing: .7px; margin-top: 5px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 22px; }
  .motion-control, .menu-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; }
  .motion-control .icon { width: 18px; height: 18px; }
  .motion-control span { display: none; }
  .menu-toggle { display: flex; }
  .star-map { height: 1300px; min-height: 1300px; max-height: none; }
  .scene { top: 225px; height: 700px; bottom: auto; --figure-opacity: .9; }
  .scene-image { object-position: 50% 50%; }
  .scene-shade { background: linear-gradient(0deg, var(--bg), transparent 35%, transparent 75%, var(--bg)), linear-gradient(90deg, #06090f66, transparent 25%, transparent 75%, #06090f66); }
  .orbits { top: 225px; height: 800px; opacity: .6; }
  .origin-intro { top: 122px; left: 0; right: 0; text-align: center; max-width: none; }
  .origin-intro .eyebrow { justify-content: center; font-size: 12px; letter-spacing: 2px; gap: 12px; margin-bottom: 15px; }
  .fine-line { width: 20px; }
  .origin-intro h1 { font-size: 54px; letter-spacing: 8px; margin-bottom: 12px; margin-left: 17px; }
  .title-seal { font-size: 12px; letter-spacing: 1px; margin: 9px 0 0 4px; padding: 3px; }
  .origin-poem { font-size: 18px; letter-spacing: 2px; margin-bottom: 0; }
  .origin-description { display: none; }
  .world-node { width: 108px; }
  .world-node:nth-child(1) { --x: 82%; --y: 30%; --size: 62px; }
  .world-node:nth-child(2) { --x: 18%; --y: 32%; --size: 67px; }
  .world-node:nth-child(3) { --x: 18%; --y: 71%; --size: 56px; }
  .world-node:nth-child(4) { --x: 82%; --y: 71%; --size: 67px; }
  .world-node:nth-child(5) { --x: 76%; --y: 85.5%; --size: 59px; }
  .world-node:nth-child(6) { --x: 26%; --y: 85.5%; --size: 51px; }
  .node-label { margin-top: 16px; }
  .node-number { font-size: 12px; letter-spacing: 1px; }
  .node-name { font-size: 22px; letter-spacing: 3px; }
  .node-project { font-size: 14px; letter-spacing: .5px; margin-top: 3px; }
  .node-enter { font-size: 14px; opacity: .85; transform: none; margin-top: 4px; }
  .origin-caption { top: calc(100% + 18px); gap: 4px; padding: 7px 10px; }
  .origin-caption strong { font-size: 23px; letter-spacing: 2px; }
  .origin-caption small { font-size: 12px; margin-left: 2px; letter-spacing: 1px; }
  .origin-caption > span { font-size: 14px; }
  .map-coordinate { display: none; }
  .map-hint { display: none; }
  .cosmic-preview { display: none; }
  .cosmic-caption { bottom: 80px; }
  .cosmic-caption strong { font-size: 18px; letter-spacing: 2px; }
  .map-footer { left: 6%; right: 6%; bottom: 25px; gap: 8px; padding-top: 20px; }
  .map-legend p { font-size: 12px; letter-spacing: .6px; }
  .map-legend p span { padding: 0 3px; }
  .map-legend { gap: 7px; }
  .atlas-cue { font-size: 12px; letter-spacing: 1px; }
  .atlas-cue span { margin-left: 8px; }
  .section-shell { width: 88%; }
  .atlas { padding-top: 50px; padding-bottom: 60px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2 { font-size: 29px; letter-spacing: 2px; }
  .mobile-break { display: block; }
  .eyebrow { font-size: 12px; letter-spacing: 2px; }
  .section-description { font-size: 16px; margin: 20px 0 0; }
  .atlas-columns { display: none; }
  .world-index { border-top: 1px solid var(--line); }
  .world-row { position: relative; grid-template-columns: 20px 1fr 17px; gap: 15px; padding: 24px 0; }
  .row-coordinate { font-size: 16px; }
  .row-world { gap: 20px; }
  .row-world .planet { width: 39px; height: 39px; }
  .row-name { font-size: 28px; letter-spacing: 3px; }
  .row-english { font-size: 12px; letter-spacing: 1px; }
  .row-description { grid-column: 2; grid-row: 2; padding-left: 59px; font-size: 16px; margin-top: -6px; }
  .row-category { display: none; }
  .world-row > .icon { grid-column: 3; grid-row: 1; width: 16px; }
  .atlas-note { align-items: start; font-size: 14px; line-height: 2; gap: 10px; }
  .atlas-note .icon { margin-top: 2px; }
  .about { grid-template-columns: 1fr; gap: 40px; padding: 45px 0 60px; }
  .about-emblem { min-height: 245px; }
  .emblem-ring { width: 190px; height: 190px; }
  .about-emblem svg { width: 90px; height: 90px; }
  .about-emblem > span { font-size: 22px; }
  .about-content h2 { font-size: 27px; letter-spacing: 2px; }
  .about-content > p:not(.eyebrow) { font-size: 16px; }
  .site-footer { flex-wrap: wrap; gap: 18px; padding-top: 25px; }
  .site-footer > span { font-size: 16px; }
  .site-footer small { order: 3; width: 100%; font-size: 12px; }
  .site-footer a { font-size: 12px; }
  .realm-view { padding: 110px 0 35px; }
  .realm-planet { width: 590px; height: 590px; top: 115px; right: -345px; opacity: .23; }
  .realm-halo { top: 40px; right: -440px; width: 800px; height: 800px; }
  .back-link { font-size: 16px; letter-spacing: 1px; gap: 12px; }
  .back-link small { display: none; }
  .realm-heading { padding: 67px 0 47px; }
  .realm-heading h1 { font-size: 65px; letter-spacing: 7px; margin-bottom: 25px; }
  .realm-english { font-size: 18px; letter-spacing: 1.5px; }
  .realm-poem { font-size: 22px; letter-spacing: 2px; }
  .realm-description { font-size: 16px; line-height: 2.2; }
  .realm-details { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
  .realm-story h2 { font-size: 26px; }
  .realm-story li { font-size: 16px; }
  .project-passport { padding: 25px; }
  .next-world { margin-top: 45px; }
  .next-world small { font-size: 12px; }
  .next-world strong { font-size: 26px; margin-left: 12px; }
  .realm-bottom-note { font-size: 16px; letter-spacing: 3px; }
  .cancel-voyage { top: 25px; right: 6%; font-size: 12px; }
  .voyage-caption { bottom: 14%; }
  .voyage-caption h2 { font-size: 28px; letter-spacing: 4px; }
  .voyage-caption small { font-size: 16px; letter-spacing: 2px; }
}
@media (max-width: 360px) {
  .brand small { letter-spacing: .5px; }
  .header-actions { gap: 16px; }
  .world-node { width: 108px; }
  .world-node:nth-child(2) { --size: 58px; }
  .world-node:nth-child(4) { --size: 59px; }
  .node-name { font-size: 22px; }
  .map-legend p { font-size: 12px; }
  .atlas-cue { font-size: 12px; }
  .row-world { gap: 15px; }
  .row-description { padding-left: 54px; font-size: 16px; }
  .realm-heading h1 { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
