@font-face {
  font-family: Space;
  src: url("/fonts/space-grotesk-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/fonts/space-grotesk-semibold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("/fonts/space-mono-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --black: #07050b;
  --navy: #100b18;
  --accent: #bda0e3;
  --amber: #f6b35f;
  --white: #eeeaf3;
  --muted: #b7afc1;
  --line: #ffffff25;
  --font: Space, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --control-ease: cubic-bezier(.22, .75, .25, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--black);
}
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
body.reading-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
::selection {
  background: #f6b35f;
  color: #07050b;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 14px;
  background: var(--amber);
  color: var(--black);
}
.skip:focus {
  top: 12px;
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 3%;
  min-height: 78px;
  background: linear-gradient(#060309d9, #0603095c);
  isolation: isolate;
}
.site-header::after {
  content: "";
  height: 1px;
  background: var(--line);
  position: absolute;
  bottom: 0;
  left: 3%;
  right: 3%;
}
.brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1;
}
.brand span {
  font-weight: 400;
}
.brand i {
  display: block;
  width: 1px;
  height: 25px;
  background: var(--accent);
  margin-left: 36px;
  box-shadow: 0 0 12px #bda0e333;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}
.site-header nav a {
  padding: 10px 0;
}
.site-header nav a:hover {
  color: var(--accent);
}
.header-controls {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: auto;
}
.control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font-size: 12px;
  white-space: nowrap;
}
.control:hover {
  color: var(--accent);
}
.sound-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 15px;
}
.sound-bars i {
  display: block;
  width: 2px;
  background: var(--accent);
  height: 5px;
}
.sound-bars i:nth-child(2) {
  height: 9px;
}
.sound-bars i:nth-child(3) {
  height: 12px;
}
.sound-bars i:nth-child(4) {
  height: 15px;
}
.sound-control[aria-pressed="true"] .sound-bars i {
  animation: equalize 1.2s ease-in-out infinite alternate;
}
.sound-bars i:nth-child(2) {
  animation-delay: -0.8s !important;
}
.sound-bars i:nth-child(4) {
  animation-delay: -0.4s !important;
}
.motion-control {
  color: var(--muted);
  font-size: 10px;
}
.menu-toggle {
  display: none;
}
.scene {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
}
.scene-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #100b18;
}
.scene-background {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-background,
.window-rain,
.room-light {
  transform: translate3d(var(--shift-x, 0), var(--shift-y, 0), 0) scale(1.025);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #060308cc, transparent 32%),
    linear-gradient(90deg, #060308a6 0%, #06030826 48%, transparent 68%);
  pointer-events: none;
}
.arrival .scene-shade {
  background:
    linear-gradient(0deg, #0502077d, transparent 36%),
    linear-gradient(90deg, #050207ba 0%, #05020730 49%, transparent 70%);
}
.arrival-copy {
  position: absolute;
  left: 3%;
  bottom: 8%;
  max-width: 780px;
}
.arrival h1 {
  font-size: clamp(56px, 5.2vw, 94px);
  font-weight: 400;
  line-height: 1.035;
  letter-spacing: -3.9px;
  margin: 0 0 27px;
  text-shadow: 0 2px 28px #0007;
}
.arrival-copy > p {
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.75;
  color: #e8e4eb;
  margin: 0 0 30px;
  max-width: 660px;
}
.arrival-copy > p::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}
.mobile-break {
  display: none;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 25px;
  background: var(--amber);
  color: #11100d;
  font-size: 15px;
  border: 1px solid #ffd49a;
  border-radius: 1px;
  box-shadow: 0 0 26px #f5a74b24;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.primary-button:hover {
  background: #ffd18c;
  box-shadow: 0 0 35px #f5a74b40;
  transform: translateY(-2px);
}
.primary-button > span {
  font-size: 24px;
  line-height: 1;
}
.entry-note {
  display: block;
  margin-top: 12px;
  color: #cbc5d0;
  font-size: 10px;
  letter-spacing: 0.2px;
}
.rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.68;
  pointer-events: none;
}
.mist {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 0;
  height: 55%;
  background:
    radial-gradient(ellipse at 35% 70%, #b4aabd14, transparent 50%),
    radial-gradient(ellipse at 75% 45%, #b4aabd0b, transparent 50%);
  animation: mist-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}
.window-rain {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
.room-light { position: absolute; pointer-events: none; overflow: hidden; }
.floor-reflection, .desk-lamp { position: absolute; display: block; }
.floor-reflection {
  background: linear-gradient(90deg, transparent, var(--reflection-color) 48%, transparent);
  mask-image: repeating-linear-gradient(176deg, transparent 0 3px, #0008 4px, #000 5px, transparent 7px 12px);
  clip-path: polygon(30% 0, 60% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen;
}
.reflection-violet { --reflection-color: #c5a0ed; opacity: .19; }
.reflection-amber { --reflection-color: #efad62; opacity: .17; }
.desk-lamp {
  opacity: .16;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #ffd299 0 18%, transparent 18% 32%);
  box-shadow: 0 0 7px #f6b35f70;
}
.explore-heading {
  position: absolute;
  top: 14%;
  left: 3%;
}
.explore-heading h2 {
  font-size: clamp(40px, 4.3vw, 73px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin: 0 0 20px;
  text-shadow: 0 0 24px #000;
}
.explore-heading p {
  font-size: 17px;
  color: #d8d0df;
  margin: 0;
}
.hotspot {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 18px 12px 12px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #08040ba6, #08040b65 70%, transparent);
  border-radius: 2px;
  text-shadow: 0 1px 8px #000;
  transition:
    background 0.25s,
    border-color 0.25s;
  min-width: 120px;
}
.hotspot-name {
  font-size: 20px;
  letter-spacing: -0.35px;
}
.hotspot-description {
  font-size: 12px;
  color: #d0c1dd;
  line-height: 1.5;
}
.hotspot::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 45px;
  left: -33px;
  bottom: -22px;
  border-left: 1px solid var(--accent);
  border-top: 1px solid var(--accent);
  transform: skew(-25deg);
}
.hotspot::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  left: -46px;
  bottom: -28px;
  background: var(--accent);
  box-shadow: 0 0 15px #bda0e355;
}
.hotspot:hover,
.hotspot:focus-visible {
  border-color: #bda0e370;
  background: #110818db;
}
.hotspot:hover .hotspot-name,
.hotspot:focus-visible .hotspot-name {
  color: var(--accent);
}
.hotspot-journal {
  left: 17%;
  top: 63%;
  color: var(--amber);
}
.hotspot-journal::before {
  border-color: var(--amber);
}
.hotspot-journal::after {
  background: var(--amber);
}
.hotspot-signal {
  left: 20%;
  top: 35%;
}
.hotspot-lab {
  left: 85%;
  top: 74%;
}
.hotspot-observatory {
  left: 53%;
  top: 14%;
}
.hotspot-about {
  left: 84%;
  top: 25%;
}
.hotspot-about,
.hotspot-lab {
  max-width: 15%;
}
.hotspot-arrow {
  display: none;
}
.browse-link {
  position: absolute;
  left: 3%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.browse-link > span:first-child {
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.browse-link:hover {
  color: var(--accent);
}
.companion {
  position: absolute;
  z-index: 3;
  width: 130px;
  transition: translate 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.companion-city {
  left: 82.5%;
  top: 53%;
}
.companion-room {
  left: 79%;
  top: 47%;
}
.drone {
  display: block;
  width: 100%;
  background: none;
  padding: 0;
  border: 0;
  filter: drop-shadow(0 0 12px #9c6cc318);
  animation: drone-hover 5s ease-in-out infinite;
  transition: filter 0.3s;
}
.drone img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.drone:hover {
  filter: drop-shadow(0 0 18px #b496da60);
}
.drone:focus-visible {
  border-radius: 50%;
  outline-offset: 0;
}
.companion-note {
  position: absolute;
  right: 15px;
  top: 100%;
  width: 270px;
  padding: 20px 22px;
  background: #0c0711ed;
  border: 1px solid #a07cbe60;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px #0004;
  border-radius: 2px;
}
.companion-note p {
  font-size: 12px;
  color: #e0d9e6;
  line-height: 1.8;
  margin: 0 0 12px;
}
.companion-note a {
  font-size: 12px;
  color: var(--amber);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 32px 3%;
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: #09050c;
}
.footer-line {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.site-footer > div {
  display: flex;
  gap: 30px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--accent);
}
#reading-room {
  position: fixed;
  inset: 0;
  width: min(1280px, calc(100% - 70px));
  height: min(870px, calc(100dvh - 70px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  background: #0c0711f7;
  color: var(--white);
  border: 1px solid #59476770;
  border-radius: 3px;
  box-shadow: 0 30px 140px #000b;
  backdrop-filter: blur(22px);
  overflow: hidden;
}
#reading-room::backdrop {
  background: #050208c2;
  backdrop-filter: blur(7px);
}
.reader-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--amber);
  z-index: 4;
}
.room-header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: #120a1980;
}
.room-header .brand {
  font-size: 23px;
}
.room-header .control {
  margin-left: auto;
  font-size: 12px;
}
.room-header .control > span {
  font-size: 24px;
  font-weight: 400;
}
.room-header > span {
  font: 10px var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.room-layout {
  height: calc(100% - 76px);
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
}
.room-sidebar {
  padding: 40px 25px 25px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.room-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.room-sidebar nav a {
  font-size: 14px;
  padding: 12px 15px;
  border-left: 1px solid transparent;
  color: var(--muted);
}
.room-sidebar nav a[aria-current="page"] {
  border-left-color: var(--amber);
  color: var(--amber);
  background: linear-gradient(90deg, #f6b35f0c, transparent);
}
.room-sidebar nav a:hover {
  color: var(--white);
}
.saved-link {
  font-size: 11px;
  padding: 20px 15px;
  margin-top: 24px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.saved-link span {
  font-family: var(--mono);
  color: var(--amber);
}
.room-sidebar > p {
  margin-top: auto;
  font-size: 10px;
  line-height: 1.8;
  color: #a89cb1;
  padding: 20px 15px 0;
}
.room-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 48px 60px 25px;
  scrollbar-color: #41304e transparent;
}
.room-end {
  border-top: 1px solid var(--line);
  margin: 50px 0 0;
  padding-top: 20px;
  font-size: 10px;
  color: var(--muted);
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: 1.6px;
  color: var(--accent);
  margin: 0 0 20px;
}
.room-title {
  font-weight: 400;
  font-size: clamp(35px, 3.4vw, 49px);
  line-height: 1.13;
  letter-spacing: -1.7px;
  max-width: 780px;
  margin: 0 0 22px;
}
.room-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 650px;
  margin: 0 0 35px;
}
.room-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 20px 0 8px;
  padding-block: 15px;
  border-block: 1px solid var(--line);
}
.filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filters button {
  padding: 8px 10px;
  border: 1px solid transparent;
  background: none;
  font-size: 11px;
  color: var(--muted);
  border-radius: 2px;
}
.filters button[aria-pressed="true"] {
  color: var(--amber);
  border-color: #f6b35f4d;
  background: #f6b35f0b;
}
.search {
  font-size: 12px;
  min-width: 120px;
}
.search input {
  background: #05020866;
  border: 1px solid var(--line);
  padding: 9px 11px;
  color: var(--white);
  width: 165px;
  font-size: 12px;
  border-radius: 2px;
}
.journal-entry {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 95px 1fr 40px;
  gap: 20px;
  border-bottom: 1px solid #ffffff14;
}
.journal-entry:last-child {
  border-bottom: 0;
}
.entry-meta {
  font: 9px/1.7 var(--mono);
  color: var(--accent);
  padding-top: 5px;
  letter-spacing: 0.5px;
}
.entry-meta span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 8px;
  letter-spacing: 0;
}
.entry-title {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.65px;
  font-weight: 400;
  margin: 0 0 12px;
}
.entry-title a:hover {
  color: var(--amber);
}
.journal-entry p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 12px;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  line-height: 1.6;
}
.text-link:hover {
  color: var(--amber);
}
.save-button {
  align-self: start;
  min-height: 40px;
  min-width: 40px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  border-radius: 2px;
  font-size: 17px;
}
.save-button[aria-pressed="true"] {
  color: var(--amber);
  border-color: #f6b35f70;
}
.save-button:hover {
  border-color: var(--accent);
}
.empty-state {
  padding: 35px 0;
  color: var(--muted);
  font-size: 14px;
}
.article-back {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 30px;
}
.article-back:hover {
  color: var(--accent);
}
.draft-note {
  font: 10px var(--mono);
  color: var(--amber);
  margin: 0 0 28px;
}
.article-body {
  max-width: 690px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.95;
  color: #d5ceda;
  margin: 0 0 22px;
}
.article-body h2 {
  font-weight: 400;
  font-size: 25px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 35px 0 18px;
}
.article-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 35px;
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ad9bbc4d;
  border-radius: 2px;
  color: var(--white);
  background: #ad9bbc05;
  padding: 12px 18px;
  gap: 15px;
  font-size: 12px;
  min-height: 44px;
}
.secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.secondary-button[aria-pressed="true"] {
  color: var(--amber);
  border-color: var(--amber);
}
.share-fallback {
  display: block;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--accent);
  margin: 20px 0;
}
.next-article {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.6px;
}
.next-article span {
  display: block;
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
}
.next-article:hover {
  color: var(--amber);
}
.source-entry {
  border-top: 1px solid var(--line);
  padding: 27px 0;
}
.source-meta {
  display: flex;
  gap: 15px;
  font: 10px var(--mono);
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
}
.source-meta span {
  letter-spacing: 0;
  color: var(--muted);
}
.source-entry h2 {
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 0 0 14px;
}
.source-entry > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 650px;
}
.source-note {
  padding-left: 18px;
  border-left: 2px solid #f6b35f66;
}
.source-entry h2 a:hover {
  color: var(--amber);
}
.status-note {
  display: flex;
  gap: 16px;
  color: #d7cfdd;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 30px;
  padding: 17px 20px;
  background: #f6b35f08;
  border-left: 2px solid var(--amber);
}
.plan-entry {
  display: block;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.plan-entry h2 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin: 0 0 14px;
}
.plan-entry p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 15px;
}
.plan-entry > span {
  color: var(--amber);
  font-size: 12px;
}
.plan-entry:hover h2 {
  color: var(--accent);
}
.plan-block {
  margin-top: 28px;
}
.plan-block h2 {
  font-weight: 400;
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 0 0 15px;
}
.plan-block p,
.plan-block li {
  color: #d3cbd9;
  font-size: 15px;
  line-height: 1.9;
}
.plan-block ol,
.plan-block ul {
  padding-left: 22px;
}
.plan-block li {
  padding-left: 8px;
  margin-bottom: 10px;
}
.theme-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 35px;
}
.theme-link {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.theme-link h2 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.6px;
}
.theme-link p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 15px;
}
.theme-link > span {
  font-size: 12px;
  color: var(--accent);
}
.theme-link:hover h2 {
  color: var(--amber);
}
.about-body > p {
  font-size: 18px;
  line-height: 1.9;
  color: #d6cedc;
  max-width: 700px;
}
.about-body h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.6px;
  margin-top: 40px;
}
.about-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  margin-block: 30px;
}
.about-principles div {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.about-principles h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 10px;
}
.about-principles p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.no-script {
  max-width: 850px;
  margin: auto;
  padding: 50px 30px;
  line-height: 1.8;
}
.no-script a {
  color: var(--accent);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  translate: -50% 20px;
  z-index: 100;
  max-width: 90%;
  padding: 13px 22px;
  background: #1b1023;
  color: var(--white);
  border: 1px solid #bda0e355;
  border-radius: 2px;
  font-size: 12px;
  box-shadow: 0 10px 40px #0005;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    translate 0.2s;
}
#toast.visible {
  opacity: 1;
  translate: -50% 0;
}
.reading-open .mist,
.reading-open .drone {
  animation-play-state: paused;
}
body.page-hidden *,
body.page-hidden *::before {
  animation-play-state: paused !important;
}
@keyframes drone-hover {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}
@keyframes mist-drift {
  to {
    transform: translate3d(7%, 2%, 0);
  }
}
@keyframes equalize {
  to {
    transform: scaleY(0.45);
  }
}
@keyframes scene-enter {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
.scene-entering .explore-heading {
  animation: scene-enter 0.75s ease-out;
}
.scene-entering .hotspot {
  animation: scene-enter 0.7s 0.12s ease-out backwards;
}
@media (min-aspect-ratio: 2/1) {
  .scene {
    height: 56.25vw;
    max-height: none;
  }
  .arrival-copy {
    bottom: 8%;
  }
}
@media (max-width: 1200px) {
  .site-header {
    gap: 24px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 12px;
  }
  .brand {
    font-size: 24px;
  }
  .brand i {
    margin-left: 20px;
  }
  .header-controls {
    gap: 18px;
  }
  .motion-control {
    font-size: 9px;
  }
  .room-scroll {
    padding: 40px 40px 25px;
  }
  .hotspot-name {
    font-size: 18px;
  }
  .hotspot-description {
    font-size: 11px;
  }
  .hotspot-about {
    left: 81%;
    max-width: 18%;
  }
  .hotspot-lab {
    left: 82%;
    max-width: 17%;
  }
  .companion {
    width: 110px;
  }
  .companion-city {
    left: 83%;
  }
  .companion-room {
    left: 79%;
  }
}
@media (max-width: 980px) {
  .site-header {
    padding: 17px 4%;
    min-height: 72px;
    gap: 20px;
    background: #09050db8;
    backdrop-filter: blur(10px);
  }
  .brand i {
    display: none;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #0c0612f5;
    border-bottom: 1px solid var(--line);
    padding: 20px 4%;
    gap: 0;
    font-size: 16px;
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    padding: 14px 10px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-controls {
    gap: 18px;
  }
  .motion-control {
    font-size: 10px;
  }
  .scene {
    min-height: 680px;
  }
  .arrival h1 {
    font-size: clamp(54px, 7vw, 70px);
    letter-spacing: -3px;
  }
  .arrival-copy {
    left: 4%;
    bottom: 8%;
    max-width: 650px;
  }
  .arrival-copy > p {
    max-width: 530px;
  }
  .explore-heading {
    left: 4%;
    top: 15%;
  }
  .explore-heading h2 {
    font-size: 49px;
  }
  .explore-heading p {
    font-size: 15px;
  }
  .hotspot-observatory {
    top: 22%;
    left: 52%;
  }
  .hotspot-about {
    top: 39%;
    left: 78%;
    max-width: 21%;
  }
  .hotspot-signal {
    left: 22%;
    top: 43%;
  }
  .hotspot-journal {
    left: 18%;
    top: 68%;
  }
  .hotspot-lab {
    left: 76%;
    top: 78%;
    max-width: 22%;
  }
  .companion-room {
    left: 80%;
    top: 60%;
  }
  .room-layout {
    grid-template-columns: 155px minmax(0, 1fr);
  }
  .room-sidebar {
    padding: 25px 12px;
  }
  .room-sidebar nav a {
    font-size: 13px;
    padding: 12px;
  }
  .room-scroll {
    padding: 32px 28px 25px;
  }
  .room-title {
    font-size: 37px;
  }
  .journal-entry {
    grid-template-columns: 1fr 38px;
    gap: 10px 15px;
  }
  .entry-meta {
    grid-column: 1/-1;
    display: flex;
    gap: 15px;
    padding: 0;
  }
  .entry-meta span {
    display: inline;
    margin: 0;
  }
  .room-toolbar {
    flex-wrap: wrap;
  }
  .theme-list {
    gap: 0 25px;
  }
  .entry-title {
    font-size: 22px;
  }
  .room-header {
    padding-inline: 22px;
  }
  .room-header > span {
    display: none;
  }
}
@media (max-width: 640px) {
  .site-header {
    padding: 13px 20px;
    min-height: 65px;
    gap: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .header-controls {
    gap: 16px;
  }
  .control {
    font-size: 10px;
    gap: 7px;
  }
  .motion-control {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 21;
    background: #0a050fe8;
    border: 1px solid var(--line);
    padding: 9px 12px;
    font: 9px var(--mono);
    backdrop-filter: blur(8px);
  }
  .sound-bars {
    height: 12px;
    gap: 2px;
  }
  .sound-bars i {
    width: 2px;
  }
  .sound-bars i:nth-child(4) {
    height: 12px;
  }
  .sound-control {
    gap: 7px;
  }
  .site-header nav {
    top: 65px;
    padding: 15px 20px;
  }
  .menu-toggle {
    padding-left: 5px;
  }
  .menu-toggle > span {
    font-size: 16px;
  }
  .arrival {
    height: 100svh;
    min-height: 730px;
    max-height: 1000px;
  }
  .arrival .scene-background {
    object-position: 78% center;
  }
  .arrival .scene-shade {
    background:
      linear-gradient(0deg, #060308f0 0%, #060308ba 30%, #06030818 68%),
      linear-gradient(90deg, #06030850, transparent);
  }
  .arrival-copy {
    left: 24px;
    right: 20px;
    bottom: 7%;
    max-width: none;
  }
  .arrival h1 {
    font-size: clamp(43px, 10.8vw, 66px);
    line-height: 1.05;
    letter-spacing: -2.4px;
    margin-bottom: 23px;
  }
  .arrival-copy > p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 23px;
    max-width: 320px;
  }
  .mobile-break {
    display: block;
  }
  .primary-button {
    font-size: 13px;
    padding: 15px 20px;
    gap: 25px;
  }
  .entry-note {
    font-size: 9px;
    margin-top: 12px;
  }
  .companion-city {
    left: auto;
    right: 18%;
    top: 39%;
    width: 90px;
  }
  .companion-note {
    right: -15px;
    width: 235px;
    padding: 16px;
  }
  .companion-note p {
    font-size: 12px;
  }
  .exploration {
    height: auto;
    min-height: 970px;
    padding: 70px 22px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }
  .exploration .scene-visual {
    height: 100%;
    inset: 0;
  }
  .exploration .scene-background {
    height: 600px;
    object-position: 62% center;
  }
  .exploration .scene-background,
  .exploration .window-rain,
  .exploration .room-light {
    transform: none;
  }
  .exploration .scene-shade {
    background: linear-gradient(
      0deg,
      #09040c 0%,
      #09040c 40%,
      #09040c50 75%,
      #09040c60
    );
  }
  .explore-heading {
    position: relative;
    inset: auto;
    margin-bottom: 35px;
    padding-top: 250px;
  }
  .explore-heading h2 {
    font-size: 43px;
    letter-spacing: -1.8px;
    margin-bottom: 15px;
  }
  .explore-heading h2 br {
    display: none;
  }
  .explore-heading p {
    font-size: 14px;
  }
  .hotspots {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }
  .hotspot {
    position: relative;
    inset: auto;
    max-width: none;
    padding: 15px 38px 15px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    border-radius: 0;
    min-height: 74px;
    gap: 4px;
  }
  .hotspot::before,
  .hotspot::after {
    display: none;
  }
  .hotspot:hover,
  .hotspot:focus-visible {
    background: #bda0e306;
    border-color: #bda0e355;
  }
  .hotspot-name {
    font-size: 19px;
  }
  .hotspot-description {
    font-size: 12px;
  }
  .hotspot-arrow {
    display: block;
    position: absolute;
    right: 5px;
    top: 24px;
    font-size: 20px;
    color: var(--accent);
  }
  .companion-room {
    top: 23%;
    left: auto;
    right: 8%;
    width: 95px;
  }
  .companion-room .companion-note {
    right: 0;
    top: auto;
    bottom: 100%;
  }
  .browse-link {
    position: relative;
    inset: auto;
    margin-top: 35px;
    font-size: 12px;
    gap: 15px;
  }
  .browse-link > span:first-child {
    width: 35px;
  }
  .site-footer {
    padding: 27px 22px 75px;
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
  .site-footer > div {
    gap: 25px;
  }
  .footer-line {
    font-size: 10px;
  }
  #reading-room {
    width: 100%;
    height: 100dvh;
    inset: 0;
    border: 0;
    border-radius: 0;
    margin: 0;
    max-height: none;
    background: #0c0711;
  }
  .room-header {
    height: 63px;
    padding-inline: 20px;
    gap: 15px;
  }
  .room-header .brand {
    font-size: 22px;
  }
  .room-header .control {
    font-size: 10px;
    gap: 8px;
  }
  .room-layout {
    height: calc(100% - 63px);
    display: flex;
    flex-direction: column;
  }
  .room-sidebar {
    padding: 0 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    display: block;
    flex-shrink: 0;
    overflow-x: auto;
  }
  .room-sidebar nav {
    flex-direction: row;
    gap: 16px;
    min-width: max-content;
  }
  .room-sidebar nav a {
    padding: 16px 0;
    font-size: 12px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }
  .room-sidebar nav a[aria-current="page"] {
    border-bottom-color: var(--amber);
    background: none;
  }
  .room-sidebar > p,
  .room-sidebar > .saved-link {
    display: none;
  }
  .room-scroll {
    padding: 30px 23px 25px;
    flex: 1;
    min-height: 0;
  }
  .room-title {
    font-size: 35px;
    letter-spacing: -1.35px;
    margin-bottom: 20px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .room-intro {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 27px;
  }
  .room-toolbar {
    gap: 14px;
    padding-block: 13px;
  }
  .filters {
    gap: 3px;
  }
  .filters button {
    padding: 8px;
    font-size: 10px;
  }
  .search,
  .search input {
    width: 100%;
  }
  .journal-entry {
    padding: 25px 0;
    grid-template-columns: 1fr 38px;
  }
  .entry-title {
    font-size: 22px;
    letter-spacing: -0.6px;
  }
  .journal-entry p {
    font-size: 13px;
  }
  .article-body p {
    font-size: 15px;
    line-height: 1.9;
  }
  .article-body h2 {
    font-size: 23px;
  }
  .article-back {
    margin-bottom: 25px;
  }
  .article-actions {
    gap: 10px;
  }
  .secondary-button {
    font-size: 11px;
    padding: 12px 14px;
  }
  .theme-list {
    grid-template-columns: 1fr;
  }
  .theme-link h2 {
    font-size: 24px;
  }
  .about-principles {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-body > p {
    font-size: 16px;
  }
  .source-entry h2 {
    font-size: 24px;
  }
  .status-note {
    font-size: 12px;
    padding: 15px;
  }
  .plan-entry h2 {
    font-size: 23px;
  }
  .source-meta {
    flex-wrap: wrap;
    gap: 8px 15px;
  }
  .reading-open .motion-control {
    visibility: hidden;
  }
}
@media (max-width: 360px) {
  .brand {
    font-size: 20px;
  }
  .header-controls {
    gap: 12px;
  }
  .sound-bars {
    display: none;
  }
  .site-header {
    padding-inline: 16px;
  }
  .arrival-copy {
    left: 20px;
  }
  .arrival h1 {
    font-size: 42px;
  }
  .room-sidebar nav {
    gap: 13px;
  }
  .room-sidebar nav a {
    font-size: 11px;
  }
  .explore-heading h2 {
    font-size: 38px;
  }
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html[data-motion="off"] .scene-background,
html[data-motion="off"] .window-rain,
html[data-motion="off"] .room-light {
  transform: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .scene-background,
  .window-rain,
  .room-light {
    transform: none !important;
    will-change: auto;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .companion-note,
  #reading-room,
  .motion-control {
    background: #0c0711;
    backdrop-filter: none;
  }
  .hotspot {
    background: #0c0711;
  }
}
.volume-control {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
}
.volume-control input {
  width: 100px;
  accent-color: var(--amber);
  height: 16px;
}
.exploration:not(.scene-visible) .drone {
  animation-play-state: paused;
}
.motion-control {
  position: fixed;
  inset: auto 3% 20px auto;
  z-index: 22;
  background: #0a050fed;
  border: 1px solid var(--line);
  padding: 10px 14px;
  font: 10px var(--mono);
  backdrop-filter: blur(8px);
}
.reading-open > .motion-control {
  visibility: hidden;
}
.hotspot::before {
  top: 18px;
  bottom: auto;
  left: -27px;
  width: 26px;
  height: 46px;
  transform-origin: top right;
  transform: skewX(-27deg);
}
.hotspot::after {
  top: 61px;
  bottom: auto;
  left: -54px;
}
.room-title:focus {
  outline: none;
}
@media (max-width: 640px) {
  .motion-control {
    right: 16px;
    bottom: 16px;
    font-size: 9px;
    padding: 9px 12px;
  }
  .room-header {
    gap: 12px;
  }
  .room-header .control {
    margin-left: 0;
  }
  .room-header #room-sound {
    margin-left: auto;
    font-size: 9px;
  }
  .room-header #close-room {
    font-size: 0;
    gap: 0;
  }
  .room-header #close-room > span {
    font-size: 27px;
  }
  .site-header .header-controls {
    gap: 16px;
  }
}
.scene-entering::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    transparent 46%,
    #bda0e32a 46.15%,
    transparent 46.5%,
    transparent 49%,
    #f6b35f20 49.1%,
    transparent 49.3%
  );
  animation: signal-trace 0.65s steps(4, end) both;
}
@keyframes signal-trace {
  0% {
    opacity: 0;
    transform: translateY(-45%);
  }
  20% {
    opacity: 0.45;
  }
  75% {
    opacity: 0.25;
  }
  100% {
    opacity: 0;
    transform: translateY(45%);
  }
}
.error-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(#07050bbb, #07050be8),
    url("/assets/city.png") center/cover;
}
.error-content {
  max-width: 700px;
  padding: 40px 25px;
}
.error-content h1 {
  font-size: clamp(40px, 7vw, 70px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.1;
}
.error-content p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
}
/* The companion's artwork moves inside a stable button target. */
.drone {
  animation: none;
}
.drone img {
  animation: drone-hover 5s ease-in-out infinite;
}
.reading-open .drone img,
.exploration:not(.scene-visible) .drone img {
  animation-play-state: paused;
}
