@import url("./assets/css/axtlan-mundo.css");

@font-face {
  font-family: "Axtlan Soles";
  src: url("./assets/fonts/axtlan/AxtlanSoles-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Axtlan Soles";
  src: url("./assets/fonts/axtlan/AxtlanSoles-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Axtlan Mirage";
  src: url("./assets/fonts/axtlan/AxtlanMirage-Regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Axtlan Detector";
  src: url("./assets/fonts/axtlan/AxtlanDetector-Regular.woff2") format("woff2");
  font-display: swap;
}

@property --sun-hue {
  syntax: "<angle>";
  inherits: true;
  initial-value: 18deg;
}

@property --border-energy {
  syntax: "<number>";
  inherits: true;
  initial-value: .45;
}

:root {
  color-scheme: dark;
  --ink: #070605;
  --ink-soft: #100e0c;
  --paper: #f5eadb;
  --muted: #bea995;
  --brand-orange: #d48263;
  --orange: #ff6a24;
  --orange-hot: #ff8b38;
  --gold: #d7a25b;
  --cyan: #78d9ff;
  --line: rgb(255 180 103 / .24);
  --shell: min(92vw, 1640px);
  --pad: clamp(4rem, 7vw, 8rem);
  --audio-energy: 0;
  --audio-bass: 0;
  --audio-mid: 0;
  --audio-treble: 0;
  --audio-bar-bass: 18%;
  --audio-bar-mid: 22%;
  --audio-bar-energy: 28%;
  --audio-bar-treble: 20%;
  --audio-bar-mixed: 16%;
  --audio-scene-opacity: .24;
  --audio-scene-scale: 1;
  --audio-mid-glow-size: 1rem;
  --audio-bass-height: 10%;
  --audio-bass-soft-height: 10%;
  --audio-mid-height: 10%;
  --audio-mid-strong-height: 10%;
  --audio-treble-height: 10%;
  --audio-bass-glow: 5px;
  --audio-mid-glow: 5px;
  --audio-treble-glow: 5px;
  --sun-hue: 18deg;
  --border-energy: .45;
  font-synthesis: none;
}

@supports (color: color(display-p3 1 0 0)) {
  :root {
    --orange: color(display-p3 1 .32 .08);
    --orange-hot: color(display-p3 1 .48 .12);
    --gold: color(display-p3 .84 .57 .25);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-inline-size: 100%;
  overflow-x: clip;
  background: var(--ink);
}

body {
  margin: 0;
  min-inline-size: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 20% 10%, rgb(122 28 8 / .13), transparent 34rem),
    radial-gradient(circle at 80% 45%, rgb(17 67 93 / .08), transparent 38rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--axtlan-reading);
  font-size: clamp(.98rem, .18vw + .94rem, 1.14rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.solar-data-transfer {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 48%, rgb(255 112 40 / .18), transparent 22rem),
    rgb(5 5 5 / .86);
  color: #fff4e6;
  backdrop-filter: blur(20px);
  opacity: 1;
  animation: solar-transfer-fail-open .35s 8s forwards;
  transition: opacity 620ms cubic-bezier(.22, .76, .2, 1), visibility 620ms step-end;
}

.solar-data-transfer.is-complete {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.solar-data-transfer strong {
  position: relative;
  z-index: 2;
  max-inline-size: min(82vw, 42rem);
  background: linear-gradient(90deg, #ff8b3d, #fff4df 38%, #79e4f4 62%, #ff8b3d);
  background-size: 220% 100%;
  color: #fff4df;
  font-family: "Axtlan Soles", serif;
  font-size: clamp(.78rem, 1.4vw, 1.15rem);
  letter-spacing: clamp(.12em, .45vw, .28em);
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 .6rem rgb(255 106 34 / .72), 0 0 1.5rem rgb(86 218 241 / .38);
  animation: solar-transfer-spectrum 1.8s linear infinite;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .solar-data-transfer strong {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.solar-data-transfer-rays {
  position: absolute;
  inline-size: min(72vw, 38rem);
  aspect-ratio: 1;
  background: repeating-conic-gradient(from 18deg, transparent 0 11deg, rgb(255 129 56 / .11) 12deg, transparent 14deg 28deg);
  mask-image: radial-gradient(circle, transparent 0 7%, #000 17%, transparent 64%);
  opacity: .7;
  animation: solar-transfer-rays 3.4s linear infinite;
}

.solar-data-transfer-meter {
  position: relative;
  inline-size: min(60vw, 20rem);
  block-size: 2px;
  overflow: hidden;
  background: rgb(255 239 220 / .16);
  box-shadow: 0 0 1rem rgb(83 220 244 / .16);
}

.solar-data-transfer-meter i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #ff7d32, #fff0d7, #6ee1f3, transparent);
  translate: -100% 0;
  animation: solar-transfer-scan 1.15s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes solar-transfer-spectrum {
  to { background-position: -220% 0; }
}

@keyframes solar-transfer-rays {
  to { rotate: 1turn; }
}

@keyframes solar-transfer-scan {
  to { translate: 100% 0; }
}

@keyframes solar-transfer-fail-open {
  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

body[data-theme="light"] .solar-data-transfer {
  background:
    radial-gradient(circle at 50% 48%, rgb(255 111 38 / .18), transparent 22rem),
    rgb(239 222 200 / .88);
}

body[data-theme="light"] .solar-data-transfer strong {
  color: #4a1d0c;
  text-shadow: 0 0 .45rem rgb(255 105 34 / .35), 0 0 1.2rem rgb(31 151 178 / .24);
}

body::selection {
  background: var(--orange);
  color: #090706;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
canvas {
  display: block;
  max-inline-size: 100%;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: .8rem auto auto .8rem;
  translate: 0 -180%;
  padding: .8rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  translate: 0;
}

.page-progress {
  position: fixed;
  z-index: 90;
  inset: 0 auto auto 0;
  inline-size: 100%;
  block-size: 2px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #ff6f38, #bc84ff, #86c5ff, #d5f4ff, #5cd2ff, #d34d2b, #abe0ff, #ffe1a6, #ebf8ff, #9d3722, #ffca6f, #ff8b4a, #b84f3a, #cd69ff, #7c8bff, #c6f1ff, #eb7aff);
  animation: reading-progress linear both;
  animation-timeline: scroll(root);
}

@keyframes reading-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.ambient-field {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: calc(.23 + var(--audio-energy) * .18);
}

.ambient-field canvas {
  inline-size: 100%;
  block-size: 100%;
}

.ambient-noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 76px;
  padding: .7rem max(4vw, env(safe-area-inset-right)) .7rem max(4vw, env(safe-area-inset-left));
  border-block-end: 1px solid rgb(255 255 255 / .08);
  background: linear-gradient(180deg, rgb(6 5 4 / .91), rgb(6 5 4 / .58));
  backdrop-filter: blur(20px) saturate(1.15);
  transition: min-block-size .35s ease, background .35s ease;
}

.site-header.is-compact {
  min-block-size: 62px;
  background: rgb(6 5 4 / .94);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-inline-size: 0;
  text-decoration: none;
}

.site-brand img {
  flex: 0 0 auto;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  margin: 0;
  object-fit: contain;
  object-position: center;
  scale: 1.5;
  transform-origin: center;
  filter:
    saturate(1.34)
    brightness(1.18)
    drop-shadow(0 0 12px rgb(255 107 32 / .55))
    drop-shadow(0 0 26px rgb(255 177 78 / .22));
}

.site-brand span {
  display: grid;
  min-inline-size: 0;
  line-height: 1;
}

.site-brand strong {
  font-family: "Axtlan Mundo Soles", "Axtlan Soles", Georgia, serif;
  font-size: 1rem;
  letter-spacing: .24em;
}

.site-brand small {
  margin-block-start: .35rem;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--axtlan-display-localized);
  font-size: .58rem;
  letter-spacing: .14em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.55vw, 1.8rem);
  color: #ddcebf;
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.main-navigation a {
  position: relative;
  padding-block: .8rem;
  text-decoration: none;
}

.main-navigation a::after {
  position: absolute;
  inset: auto 0 .45rem;
  block-size: 1px;
  background: var(--orange);
  content: "";
  scale: 0 1;
  transform-origin: 100% 50%;
  transition: scale .25s ease;
}

.main-navigation a:is(:hover, :focus-visible)::after {
  scale: 1;
  transform-origin: 0 50%;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: .28rem;
  opacity: 0;
  translate: .6rem 0;
  animation: nav-social-reveal .8s 1.1s cubic-bezier(.2, .75, .2, 1) forwards;
}

.nav-socials a {
  display: grid;
  place-items: center;
  inline-size: 1.8rem;
  min-block-size: 1.8rem;
  padding: 0;
  border: 1px solid rgb(212 130 99 / .18);
  color: #b9aa9c;
  font-family: "Axtlan Soles", sans-serif;
  font-size: .48rem;
  letter-spacing: .06em;
  transition: border-color .25s ease, color .25s ease, filter .25s ease;
}

.nav-socials a::after {
  display: none;
}

.nav-socials a:is(:hover, :focus-visible) {
  border-color: rgb(212 130 99 / .75);
  color: #fff7ed;
  filter: drop-shadow(0 0 7px rgb(212 130 99 / .42));
}

.nav-destinations {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding-inline-start: .45rem;
  border-inline-start: 1px solid rgb(255 255 255 / .1);
}

.nav-destinations a {
  min-block-size: 1.8rem;
  padding: .56rem .62rem;
  border: 1px solid rgb(255 128 37 / .24);
  color: #edc6ad;
  font-size: .5rem;
  letter-spacing: .1em;
  line-height: 1;
  transition: border-color .25s ease, color .25s ease, background .25s ease, filter .25s ease;
}

.nav-destinations a::after {
  display: none;
}

.nav-destinations a:is(:hover, :focus-visible) {
  border-color: rgb(255 128 37 / .7);
  background: rgb(255 107 32 / .08);
  color: #fff7ed;
  filter: drop-shadow(0 0 7px rgb(255 107 32 / .3));
}

@keyframes nav-social-reveal {
  to {
    opacity: 1;
    translate: 0;
  }
}

.locale-state {
  display: grid;
  place-items: center;
  min-inline-size: 2.5rem;
  min-block-size: 2.5rem;
  border: 1px solid var(--line);
  color: var(--orange-hot);
}

.menu-button {
  display: none;
}

.experience-controls {
  position: fixed;
  z-index: 75;
  inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) auto;
  display: flex;
  gap: .55rem;
  block-size: 3.5rem;
}

.experience-controls button {
  display: flex;
  align-items: center;
  min-block-size: 46px;
  gap: .7rem;
  padding: .7rem .85rem;
  border: 1px solid rgb(255 191 116 / .25);
  background: rgb(7 6 5 / .82);
  color: var(--paper);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    border-color 220ms ease,
    background-color 260ms ease,
    color 240ms ease,
    box-shadow 280ms ease,
    transform 180ms ease;
}

.experience-controls button:is(:hover, :focus-visible) {
  border-color: var(--orange);
  box-shadow:
    0 0 1.25rem rgb(255 115 42 / .18),
    inset 0 0 1rem rgb(101 218 241 / .06);
}

.experience-controls button:active {
  transform: translateY(1px) scale(.985);
}

.persistent-audio-player {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 0 0 17rem;
  inline-size: 17rem;
  min-inline-size: 0;
}

html[dir="rtl"] .persistent-audio-player {
  direction: ltr;
}

html[dir="rtl"] .persistent-audio-toggle,
html[dir="rtl"] .audio-preview-tooltip {
  direction: rtl;
}

.experience-controls .persistent-audio-player > button + button {
  border-inline-start: 0;
}

.experience-controls .audio-step-button {
  position: relative;
  flex: 0 0 44px;
  inline-size: 44px;
  min-inline-size: 44px;
  justify-content: center;
  overflow: hidden;
  padding-inline: .55rem;
  isolation: isolate;
}

.experience-controls .audio-step-button::before {
  position: absolute;
  z-index: -1;
  inline-size: 2.6rem;
  block-size: 2.6rem;
  border: 1px solid rgb(255 132 60 / .34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgb(255 119 42 / .24), transparent 58%),
    conic-gradient(from 45deg, transparent, rgb(91 221 240 / .32), transparent 42%, rgb(255 116 43 / .32), transparent 76%);
  box-shadow: 0 0 1rem rgb(255 111 37 / .2);
  content: "";
  opacity: .62;
  scale: .72;
  transition: opacity 180ms ease, scale 220ms ease, rotate 320ms ease;
}

.audio-step-glyph {
  display: grid;
  place-items: center;
  inline-size: 1.05rem;
  block-size: 1.05rem;
  color: #ffbd79;
  filter: drop-shadow(0 0 .32rem rgb(255 111 37 / .72));
  transition: color 160ms ease, filter 180ms ease, scale 120ms ease, translate 120ms ease;
}

.audio-step-glyph svg {
  inline-size: 100%;
  block-size: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.4;
}

.audio-step-button:is(:hover, :focus-visible)::before {
  opacity: 1;
  rotate: 90deg;
  scale: 1;
}

.audio-step-button:is(:hover, :focus-visible) .audio-step-glyph {
  color: #fff3df;
  filter:
    drop-shadow(0 0 .3rem rgb(255 121 47 / .95))
    drop-shadow(0 0 .72rem rgb(92 220 240 / .54));
}

.audio-step-button:active .audio-step-glyph {
  scale: .82;
}

.audio-step-button[data-audio-previous]:active .audio-step-glyph {
  translate: -.12rem 0;
}

.audio-step-button[data-audio-next]:active .audio-step-glyph {
  translate: .12rem 0;
}

body[data-mode="full"][data-motion="full"] .audio-step-button::before {
  animation: audio-step-signal 4.2s ease-in-out infinite;
}

body[data-mode="low"] .audio-step-button::before,
body[data-motion="reduced"] .audio-step-button::before {
  animation: none;
  opacity: .48;
}

@keyframes audio-step-signal {
  50% {
    opacity: .88;
    rotate: 35deg;
    scale: .84;
  }
}

.audio-track-index {
  color: #ffb36a;
  font-family: "Axtlan Detector", monospace;
  font-size: .46rem;
  letter-spacing: .08em;
  white-space: nowrap;
}

.audio-preview-tooltip {
  position: absolute;
  z-index: 4;
  inset: auto 0 calc(100% + .55rem) auto;
  inline-size: min(24rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: .72rem .82rem;
  border: 1px solid rgb(255 145 74 / .62);
  background:
    linear-gradient(120deg, rgb(255 105 37 / .12), transparent 52%),
    rgb(9 8 7 / .96);
  color: #fff4e8;
  box-shadow: 0 1rem 2.8rem rgb(0 0 0 / .42), inset 0 1px rgb(255 232 211 / .08);
  font-size: .64rem;
  letter-spacing: .045em;
  line-height: 1.42;
  opacity: 0;
  pointer-events: none;
  translate: 0 .45rem;
  transition: opacity 180ms ease, translate 220ms ease;
}

.persistent-audio-player[data-preview-visible="true"] .audio-preview-tooltip {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
}

.audio-preview-tooltip p {
  margin: 0;
  padding-inline-end: 1.65rem;
}

.experience-controls .audio-preview-tooltip .audio-preview-tooltip-close {
  position: absolute;
  inset-block-start: .35rem;
  inset-inline-end: .35rem;
  display: grid;
  place-items: center;
  min-inline-size: 1.55rem;
  inline-size: 1.55rem;
  max-inline-size: 1.55rem;
  min-block-size: 1.55rem;
  block-size: 1.55rem;
  max-block-size: 1.55rem;
  gap: 0;
  padding: 0;
  border: 1px solid rgb(255 144 74 / .7);
  background: rgb(7 10 10 / .82);
  color: #fff2df;
  text-align: center;
  text-transform: none;
  font: 700 1rem/1 "Axtlan Soles", sans-serif;
  cursor: pointer;
}

.experience-controls .audio-preview-tooltip .audio-preview-tooltip-close:is(:hover, :focus-visible) {
  border-color: #ff792f;
  box-shadow: 0 0 .75rem rgb(255 121 47 / .42);
  outline: none;
}

.experience-controls button > span {
  max-inline-size: 9rem;
  font-size: .61rem;
  letter-spacing: .1em;
  line-height: 1.2;
  text-align: start;
  text-transform: uppercase;
}

[data-mode-toggle] > i {
  position: relative;
  inline-size: 2rem;
  block-size: 1rem;
  border: 1px solid var(--gold);
  border-radius: 1rem;
}

[data-mode-toggle] > i b {
  position: absolute;
  inset: 2px auto 2px 2px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  transition: translate .25s ease;
}

body[data-mode="full"] [data-mode-toggle] > i b {
  translate: 1rem 0;
  background: var(--orange);
}

body[data-mode="low"] [data-mode-toggle] > i b {
  translate: 0 0;
  background: #9b958e;
}

.audio-bars {
  display: flex;
  align-items: end;
  gap: 2px;
  block-size: 1rem;
}

.audio-bars b {
  inline-size: 2px;
  min-block-size: 2px;
  background: var(--orange);
  opacity: .58;
  transition: block-size 90ms linear, opacity 180ms ease, background-color 180ms ease;
}

.audio-bars b:nth-child(1) {
  block-size: var(--audio-bar-bass);
}

.audio-bars b:nth-child(2) {
  block-size: var(--audio-bar-mid);
}

.audio-bars b:nth-child(3) {
  block-size: var(--audio-bar-energy);
}

.audio-bars b:nth-child(4) {
  block-size: var(--audio-bar-treble);
}

.audio-bars b:nth-child(5) {
  block-size: var(--audio-bar-mixed);
}

body[data-audio-state="playing"] .audio-bars b {
  opacity: 1;
  box-shadow: 0 0 .45rem rgb(255 106 36 / .72);
}

body[data-audio-state="playing"][data-audio-reactive="false"] .audio-bars b {
  block-size: 40%;
  animation: audio-bars .7s ease-in-out infinite alternate;
}

body[data-audio-state="playing"][data-audio-reactive="false"] .audio-bars b:nth-child(2) {
  animation-delay: -.4s;
}

body[data-audio-state="playing"][data-audio-reactive="false"] .audio-bars b:nth-child(3) {
  animation-delay: -.2s;
}

body[data-audio-state="playing"][data-audio-reactive="false"] .audio-bars b:nth-child(4) {
  animation-delay: -.55s;
}

body[data-audio-state="playing"][data-audio-reactive="false"] .audio-bars b:nth-child(5) {
  animation-delay: -.3s;
}

.persistent-audio-bars {
  inline-size: 1.25rem;
  block-size: 1.15rem;
  justify-content: center;
}

.persistent-playback-glyph {
  display: grid;
  flex: 0 0 1.75rem;
  place-items: center;
  min-block-size: 1.75rem;
  border: 1px solid #ffb36a;
  border-radius: 50%;
  color: #ffb36a;
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  line-height: 1;
  text-align: center;
}

@keyframes audio-bars {
  to { block-size: 100%; }
}

.scene {
  position: relative;
  min-inline-size: 0;
  padding: var(--pad) max(4vw, env(safe-area-inset-right)) var(--pad) max(4vw, env(safe-area-inset-left));
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}

.scene::before {
  position: absolute;
  z-index: 5;
  inset: 0 4vw auto;
  block-size: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(var(--sun-hue) 100% 68% / .15),
    rgb(255 111 38 / .68),
    hsl(calc(var(--sun-hue) + 95deg) 100% 70% / .18),
    transparent
  );
  content: "";
  opacity: .42;
  pointer-events: none;
  transform: scaleX(.28);
  transform-origin: 0 50%;
}

@supports (animation-timeline: view()) {
  .scene::before {
    animation: scene-spectrum linear both;
    animation-range: entry 0% exit 100%;
    animation-timeline: view();
  }
}

@keyframes scene-spectrum {
  0% {
    opacity: .08;
    transform: scaleX(.12);
    transform-origin: 0 50%;
  }

  48% {
    opacity: .72;
    transform: scaleX(1);
  }

  100% {
    opacity: .08;
    transform: scaleX(.12);
    transform-origin: 100% 50%;
  }
}

.threshold {
  display: grid;
  align-items: end;
  min-block-size: 100svh;
  padding-block: clamp(8rem, 16vh, 12rem) clamp(5rem, 9vh, 8rem);
  overflow: hidden;
  content-visibility: visible;
}

.threshold::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 3 3 / .88) 0%, rgb(4 3 3 / .52) 42%, rgb(4 3 3 / .08) 74%),
    linear-gradient(0deg, rgb(5 4 3 / .9), transparent 45%);
  content: "";
  pointer-events: none;
}

.threshold-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.threshold-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 58% center;
  scale: 1.03;
  filter: contrast(1.07) saturate(1.1);
  animation: threshold-breathe 18s ease-in-out infinite alternate;
}

body[data-active-scene="threshold"] .threshold-media img {
  scale: calc(1.03 + var(--audio-mid) * .012);
  filter: contrast(1.07) saturate(calc(1.1 + var(--audio-treble) * .18));
}

@keyframes threshold-breathe {
  to { scale: 1.085; translate: -1% 0; }
}

.threshold-sunfield {
  position: absolute;
  inset: -20%;
  mix-blend-mode: screen;
  opacity: calc(.28 + var(--audio-energy) * .22);
  background:
    radial-gradient(circle at 80% 20%, rgb(121 218 255 / .32) 0 .1%, transparent 12%),
    radial-gradient(circle at 68% 35%, rgb(255 104 33 / .35) 0 .15%, transparent 14%),
    conic-gradient(from var(--sun-hue) at 72% 30%, transparent, rgb(255 98 26 / .12), transparent 15%, rgb(114 215 255 / .12), transparent 32%);
  animation: sun-hue 24s linear infinite, sunfield-drift 16s ease-in-out infinite alternate;
}

@keyframes sun-hue {
  to { --sun-hue: 378deg; }
}

@keyframes sunfield-drift {
  to { rotate: 2deg; scale: 1.08; }
}

.threshold-frame {
  position: absolute;
  z-index: 2;
  inset: clamp(5.6rem, 9vw, 8rem) 4vw 4vw;
  border: 1px solid rgb(255 205 141 / .18);
  pointer-events: none;
}

.threshold-frame i {
  position: absolute;
  inline-size: 2.4rem;
  block-size: 2.4rem;
  border-color: var(--orange);
  filter: drop-shadow(0 0 9px rgb(255 107 32 / .7));
}

.threshold-frame i:nth-child(1) { inset: -.2rem auto auto -.2rem; border-block-start: 2px solid; border-inline-start: 2px solid; }
.threshold-frame i:nth-child(2) { inset: -.2rem -.2rem auto auto; border-block-start: 2px solid; border-inline-end: 2px solid; }
.threshold-frame i:nth-child(3) { inset: auto auto -.2rem -.2rem; border-block-end: 2px solid; border-inline-start: 2px solid; }
.threshold-frame i:nth-child(4) { inset: auto -.2rem -.2rem auto; border-block-end: 2px solid; border-inline-end: 2px solid; }

.threshold-copy {
  position: relative;
  z-index: 4;
  inline-size: min(64rem, 86vw);
  margin-inline-start: clamp(0rem, 5vw, 7rem);
}

.scene-index {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-family: "Axtlan Detector", monospace;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scene-index span {
  color: var(--orange);
}

.scene-index::after {
  inline-size: clamp(2rem, 5vw, 5rem);
  block-size: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
  content: "";
}

.threshold h1 {
  position: relative;
  max-inline-size: 100%;
  margin: 0;
  font-weight: 400;
  line-height: .82;
  text-wrap: balance;
}

.threshold-wordmark {
  display: block;
  inline-size: min(100%, 68rem);
  block-size: auto;
  max-block-size: min(31vh, 15rem);
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 2px 1px rgb(18 7 3 / .92))
    drop-shadow(0 0 15px rgb(212 130 99 / .36));
  transform-origin: left center;
  animation: wordmark-arrival 1.25s .16s cubic-bezier(.16, .84, .24, 1) both;
}

@keyframes wordmark-arrival {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    filter:
      drop-shadow(0 2px 1px rgb(18 7 3 / .92))
      drop-shadow(0 0 28px rgb(212 130 99 / .64));
  }

  to {
    opacity: 1;
    clip-path: inset(0);
  }
}

html[dir="rtl"] .threshold-wordmark {
  object-position: right center;
  transform-origin: right center;
  animation-name: wordmark-arrival-rtl;
}

@keyframes wordmark-arrival-rtl {
  from {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    filter:
      drop-shadow(0 2px 1px rgb(18 7 3 / .92))
      drop-shadow(0 0 28px rgb(212 130 99 / .64));
  }

  to {
    opacity: 1;
    clip-path: inset(0);
  }
}

.threshold h1 em {
  display: block;
  max-inline-size: 19ch;
  margin-block-start: 1rem;
  color: #fff7ed;
  font-family: "Axtlan Soles", sans-serif;
  font-size: clamp(1.65rem, 4.2vw, 4.6rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
  text-shadow: 0 2px 2px #000, 0 0 18px rgb(255 94 30 / .55);
  -webkit-text-stroke: .4px rgb(255 161 85 / .7);
}

.threshold-lead {
  max-inline-size: 42rem;
  margin: 1.6rem 0 0;
  color: #e8d8c8;
  font-size: clamp(1rem, .7vw + .8rem, 1.42rem);
  line-height: 1.55;
}

.threshold-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-block-start: 2rem;
}

.primary-action,
.text-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 48px;
  gap: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-action {
  min-inline-size: min(18rem, 100%);
  padding: .9rem 1rem;
  background: var(--orange);
  color: #080604;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  box-shadow: 0 0 calc(18px + var(--audio-energy) * 24px) rgb(255 96 28 / .35);
}

.primary-action:is(:hover, :focus-visible) {
  background: var(--paper);
}

.text-action {
  font-size: .72rem;
  letter-spacing: .14em;
}

.threshold-ledger {
  position: absolute;
  z-index: 4;
  inset-block: auto 4vw;
  inset-inline: auto 4vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2.4rem);
  max-inline-size: min(52vw, 34rem);
  color: #d4c0ad;
  font-family: "Axtlan Detector", monospace;
  font-size: .55rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
}

html[dir="rtl"] .threshold-ledger {
  inset-inline: auto 4vw;
  justify-content: flex-end;
  text-align: end;
}

.threshold-ledger > span {
  display: flex;
  align-items: center;
  gap: .45rem;
  overflow-wrap: break-word;
  word-break: normal;
  writing-mode: horizontal-tb;
}

html[dir="rtl"] .threshold-ledger > span {
  direction: rtl;
  writing-mode: horizontal-tb;
  unicode-bidi: isolate;
}

html[dir="rtl"] .threshold-ledger b {
  direction: ltr;
  unicode-bidi: isolate;
}

.threshold-ledger b {
  color: var(--orange);
  font-size: 1rem;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  inset: auto auto 2rem 50%;
  display: grid;
  place-items: center;
  inline-size: 2.5rem;
  block-size: 2.5rem;
  border: 0;
  translate: -50% 0;
}

.scroll-cue-glyph {
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border: 1px solid rgb(255 230 204 / .42);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--orange) 0 2px, transparent 3px),
    conic-gradient(from 20deg, transparent, rgb(93 221 241 / .22), transparent 42%, rgb(255 120 48 / .3), transparent 74%);
  box-shadow: 0 0 .7rem rgb(255 114 39 / .32), inset 0 0 .55rem rgb(93 221 241 / .1);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { opacity: .46; scale: .82; }
  50% { opacity: 1; scale: 1; }
}

.scene-heading {
  min-inline-size: 0;
}

.scene-heading h2 {
  max-inline-size: 100%;
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.35rem, 6.5vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .88;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  text-shadow:
    0 2px 2px #000,
    0 0 10px hsl(var(--sun-hue) 100% 68% / .58),
    0 0 30px hsl(calc(var(--sun-hue) + 70deg) 100% 60% / .19);
  -webkit-text-stroke: .45px rgb(255 170 100 / .5);
  animation: sun-hue 26s linear infinite;
}

.scene-heading > p:last-child {
  max-inline-size: 48rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, .45vw + .9rem, 1.35rem);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 1.1rem;
  transition:
    opacity .48s ease-out,
    translate .48s cubic-bezier(.2, .72, .22, 1);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  translate: 0;
}

.universe-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 9rem);
  background:
    linear-gradient(125deg, rgb(255 99 24 / .04), transparent 40%),
    #090806;
}

.media-window {
  position: relative;
  min-inline-size: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
}

.media-window::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgb(7 6 5 / .88));
  content: "";
}

.media-window img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.08);
  transition: scale 1.2s ease;
}

.media-window:is(:hover, :focus-within) img {
  scale: 1.035;
}

.media-window > span {
  position: absolute;
  z-index: 3;
  inset: auto 1.5rem 1.5rem;
  color: var(--gold);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .16em;
}

.universe-copy {
  min-inline-size: 0;
}

.universe-instrument {
  position: relative;
  display: grid;
  align-content: space-between;
  min-inline-size: 0;
  min-block-size: clamp(28rem, 40vw, 39rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgb(255 122 55 / .22);
  background:
    repeating-linear-gradient(0deg, transparent 0 24px, rgb(255 255 255 / .018) 25px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgb(255 255 255 / .018) 25px),
    radial-gradient(circle at 50% 42%, rgb(255 102 33 / .12), transparent 38%),
    #080706;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
}

.universe-instrument::before,
.universe-instrument::after {
  position: absolute;
  inset: 8%;
  border: 1px solid rgb(255 122 55 / .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.universe-instrument::after {
  inset: 19%;
  border-color: rgb(103 210 255 / .12);
}

.universe-instrument-core {
  position: relative;
  display: grid;
  place-items: center;
  align-self: center;
  aspect-ratio: 1;
  inline-size: min(82%, 31rem);
  margin: 0 auto;
}

.universe-instrument-core::before,
.universe-instrument-core::after,
.universe-instrument-core i {
  position: absolute;
  border: 1px solid rgb(255 124 55 / .3);
  border-radius: 50%;
  content: "";
}

.universe-instrument-core::before {
  inset: 4%;
  box-shadow: 0 0 28px rgb(255 96 25 / .08);
}

.universe-instrument-core::after {
  inset: 21%;
  border-color: rgb(117 214 255 / .28);
}

.universe-instrument-core i:nth-of-type(1) {
  inset: 34%;
  border-color: rgb(202 113 255 / .38);
}

.universe-instrument-core i:nth-of-type(2) {
  inset: 47%;
  border: 0;
  background: var(--orange);
  box-shadow: 0 0 28px rgb(255 105 31 / .8);
}

.universe-instrument-core i:nth-of-type(3) {
  inset: 0 50%;
  border-block: 0;
  border-radius: 0;
  border-color: rgb(255 255 255 / .12);
}

.universe-instrument-core span {
  position: relative;
  z-index: 2;
  font-family: "Axtlan Mirage", "Axtlan Soles", sans-serif;
  font-size: clamp(2.8rem, 7vw, 7.8rem);
  letter-spacing: -.07em;
  text-shadow:
    0 0 10px rgb(255 103 31 / .72),
    0 0 34px rgb(255 103 31 / .3);
}

.universe-instrument dl {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgb(255 255 255 / .08);
}

.universe-instrument dl > div {
  min-inline-size: 0;
  padding: .8rem;
  background: rgb(6 5 4 / .94);
}

.universe-instrument dt,
.universe-instrument dd {
  margin: 0;
  font-family: "Axtlan Detector", monospace;
  font-size: .58rem;
  letter-spacing: .1em;
}

.universe-instrument dt {
  color: #7f7469;
}

.universe-instrument dd {
  margin-block-start: .35rem;
  color: var(--gold);
}

.universe-statement {
  display: grid;
  gap: 1rem;
  margin-block-start: 2.5rem;
  padding-inline-start: clamp(1rem, 3vw, 3rem);
  border-inline-start: 1px solid var(--orange);
}

.universe-statement p {
  max-inline-size: 47rem;
  margin: 0;
  color: #e2d4c5;
  font-size: clamp(1rem, .65vw + .85rem, 1.5rem);
}

.boundary-ledger {
  display: grid;
  gap: 1px;
  margin: 2.5rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.boundary-ledger div {
  display: grid;
  grid-template-columns: minmax(8rem, .4fr) minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.1rem;
  background: #0d0b09;
}

.boundary-ledger dt {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .65rem;
  letter-spacing: .12em;
}

.boundary-ledger dd {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.identity-rotation {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  inline-size: min(100%, 84rem);
  margin: clamp(3rem, 7vw, 7rem) auto 0;
}

.identity-rotation > div {
  position: relative;
  min-inline-size: 0;
  aspect-ratio: 1.6;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050504;
}

.identity-rotation img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  opacity: 0;
  filter:
    saturate(1.25)
    brightness(1.14)
    contrast(1.06)
    drop-shadow(0 0 16px rgb(255 105 32 / .42));
  animation: identity-cycle 30s ease-in-out infinite;
}

.identity-rotation img:nth-child(2) { animation-delay: -24s; }
.identity-rotation img:nth-child(3) { animation-delay: -18s; }
.identity-rotation img:nth-child(4) { animation-delay: -12s; }
.identity-rotation img:nth-child(5) { animation-delay: -6s; }

@keyframes identity-cycle {
  0%, 16% { opacity: 1; scale: 1; }
  20%, 96% { opacity: 0; scale: 1.018; }
  100% { opacity: 1; scale: 1; }
}

.identity-scan {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 6px, rgb(255 162 82 / .055) 7px),
    linear-gradient(90deg, transparent, rgb(255 110 33 / .12), transparent);
  background-size: auto, 34% 100%;
  background-repeat: repeat, no-repeat;
  mix-blend-mode: screen;
  translate: -50% 0;
  animation: identity-scan 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes identity-scan {
  to { translate: 240% 0; }
}

.identity-rotation figcaption {
  display: grid;
  gap: 1rem;
}

.identity-rotation figcaption span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .65rem;
  letter-spacing: .14em;
}

.identity-rotation figcaption b {
  max-inline-size: 24rem;
  font-size: clamp(1.4rem, 3vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.scope-ribbon {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  min-inline-size: 0;
  margin-block-start: clamp(3rem, 8vw, 8rem);
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.scope-ribbon article {
  position: relative;
  min-inline-size: 0;
  min-block-size: clamp(18rem, 31vw, 34rem);
  padding: 1.2rem;
  overflow: hidden;
  isolation: isolate;
}

.scope-ribbon article::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgb(5 4 3 / .94), rgb(5 4 3 / .08) 70%);
  content: "";
}

.scope-ribbon img {
  position: absolute;
  z-index: -2;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08);
  transition: scale .7s ease, filter .7s ease;
}

.scope-ribbon article:is(:hover, :focus-within) img {
  scale: 1.05;
  filter: saturate(1.1) contrast(1.06);
}

.scope-ribbon article > span {
  position: absolute;
  inset: auto 1.2rem 5.2rem;
  color: var(--paper);
  font-size: clamp(1.2rem, 2.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.04em;
}

.scope-ribbon article > p {
  position: absolute;
  inset: auto 1.2rem 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

.foundation-sequence {
  grid-column: 1 / -1;
  inline-size: min(100%, 100rem);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
}

.foundation-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block-end: clamp(2rem, 5vw, 4rem);
  border-block-end: 1px solid var(--line);
  container-type: inline-size;
}

.foundation-intro .scene-index {
  grid-column: 1 / -1;
}

.foundation-intro h2 {
  max-inline-size: 14ch;
  margin: 0;
  font-size: clamp(2.4rem, 7.3cqi, 7rem);
  letter-spacing: -.065em;
  line-height: .86;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  text-shadow:
    0 2px 2px #000,
    0 0 14px hsl(var(--sun-hue) 100% 67% / .45);
  -webkit-text-stroke: .4px rgb(255 168 98 / .42);
}

.foundation-intro > p:last-child {
  max-inline-size: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, .45vw + .9rem, 1.3rem);
}

.foundation-chapters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.4rem);
  margin-block-start: clamp(1rem, 2vw, 2rem);
}

.foundation-chapters article {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-inline-size: 0;
  min-block-size: clamp(25rem, 34vw, 35rem);
  background: #090806;
  overflow: hidden;
  isolation: isolate;
}

.foundation-chapters article::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(5 4 3 / .97) 0%, rgb(5 4 3 / .78) 35%, transparent 78%),
    linear-gradient(110deg, rgb(5 4 3 / .52), transparent 70%);
  content: "";
}

.foundation-chapters img {
  position: absolute;
  z-index: -2;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.08);
  transition: filter .6s ease, scale 1s ease;
}

.foundation-chapters article:is(:hover, :focus-within) img {
  filter: saturate(1.04) contrast(1.07);
  scale: 1.025;
}

.foundation-chapters article > div {
  position: relative;
  z-index: 1;
  min-inline-size: 0;
  padding: clamp(1.5rem, 3.2vw, 3.5rem);
}

.foundation-chapters span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .63rem;
  letter-spacing: .14em;
}

.foundation-chapters h3 {
  margin: .9rem 0 1.5rem;
  font-size: clamp(2rem, 3.6vw, 4.25rem);
  letter-spacing: -.06em;
  line-height: .88;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.foundation-chapters p {
  max-inline-size: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(.95rem, .3vw + .9rem, 1.2rem);
}

.foundation-sequence blockquote {
  max-inline-size: 55rem;
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  color: #f5e7d7;
  font-size: clamp(1.65rem, 3.2vw, 3.5rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
}

.foundation-sequence cite {
  display: block;
  margin-block-start: 1.2rem;
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .65rem;
  font-style: normal;
  letter-spacing: .14em;
}

.observatory-scene {
  background:
    radial-gradient(circle at 50% 30%, rgb(25 55 71 / .25), transparent 34rem),
    linear-gradient(180deg, #080706, #050504);
}

.observatory-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  align-items: end;
  gap: 2rem 6vw;
  inline-size: var(--shell);
  margin-inline: auto;
}

.observatory-heading .scene-index {
  grid-column: 1 / -1;
}

.observatory-heading > p:last-child {
  margin: 0 0 .5rem;
}

.observatory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  inline-size: var(--shell);
  margin: clamp(3rem, 7vw, 7rem) auto 0;
}

.solar-map {
  position: relative;
  min-inline-size: 0;
  margin: 0;
  aspect-ratio: 1.35;
  overflow: hidden;
  border: 1px solid rgb(132 216 255 / .24);
  background:
    linear-gradient(rgb(74 139 171 / .075) 1px, transparent 1px),
    linear-gradient(90deg, rgb(74 139 171 / .075) 1px, transparent 1px),
    radial-gradient(circle, rgb(23 59 75 / .18), #070706 68%);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
  clip-path: polygon(0 0, 96% 0, 100% 7%, 100% 100%, 4% 100%, 0 93%);
}

.solar-map-stage {
  position: absolute;
  inset: 0;
  min-inline-size: 0;
}

.solar-map-controls {
  position: absolute;
  z-index: 5;
  inset-block: 1rem auto;
  inset-inline: auto 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  max-inline-size: calc(100% - 2rem);
}

.solar-chronometer {
  position: absolute;
  z-index: 4;
  inset: auto 1rem 5.45rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-block: 1px solid rgb(255 137 66 / .34);
  background:
    linear-gradient(90deg, rgb(255 111 38 / .08), transparent 24%, rgb(91 214 235 / .07)),
    rgb(5 9 10 / .78);
  box-shadow:
    inset 0 1px rgb(255 228 204 / .06),
    0 .8rem 2.4rem rgb(0 0 0 / .26);
  backdrop-filter: blur(11px) saturate(1.2);
  pointer-events: none;
}

.solar-chronometer > span {
  position: relative;
  display: grid;
  align-content: center;
  gap: .18rem;
  min-inline-size: 0;
  padding: .55rem .7rem .58rem;
}

.solar-chronometer > span:nth-child(4) {
  grid-template-rows: auto auto auto;
}

.solar-chronometer > span + span {
  border-inline-start: 1px solid rgb(122 215 232 / .16);
}

.solar-chronometer > span::before {
  position: absolute;
  inset: .58rem auto .58rem 0;
  inline-size: 1px;
  background: linear-gradient(transparent, #69d8ed, transparent);
  box-shadow: 0 0 .7rem rgb(93 221 241 / .45);
  content: "";
  opacity: .62;
}

.solar-chronometer > span:first-child::before {
  background: linear-gradient(transparent, #ff7d38, transparent);
  box-shadow: 0 0 .7rem rgb(255 113 43 / .48);
}

.solar-chronometer small {
  color: #f3d2b7;
  font-family: "Axtlan Detector", monospace;
  font-size: clamp(.42rem, .48vw, .53rem);
  letter-spacing: .12em;
  line-height: 1.1;
  text-shadow:
    0 0 .34rem rgb(255 151 87 / .28),
    0 0 .7rem rgb(103 220 239 / .12);
  text-transform: uppercase;
}

.solar-chronometer strong {
  color: #fff4e8;
  font-family: "Axtlan Soles", Georgia, serif;
  font-size: clamp(.58rem, .72vw, .76rem);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.12;
  text-shadow:
    0 0 .5rem rgb(255 127 58 / .24),
    0 0 1.1rem rgb(97 217 236 / .1);
}

.solar-rate-control {
  inline-size: 100%;
  block-size: .9rem;
  margin: .1rem 0 0;
  padding: 0;
  accent-color: #ff7b2f;
  background: transparent;
  cursor: ew-resize;
  pointer-events: auto;
}

.solar-rate-control:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.solar-rate-control:focus-visible {
  outline: 2px solid #69d8ed;
  outline-offset: 2px;
}

.solar-rate-control::-webkit-slider-runnable-track {
  block-size: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7b2f, #f3cf63 52%, #69d8ed);
  box-shadow: 0 0 .65rem rgb(255 122 47 / .34);
}

.solar-rate-control::-webkit-slider-thumb {
  inline-size: .72rem;
  block-size: .72rem;
  margin-block-start: -.31rem;
  border: 1px solid #fff1dc;
  border-radius: 50%;
  appearance: none;
  background: #ff7b2f;
  box-shadow: 0 0 .8rem rgb(255 122 47 / .78);
}

.solar-rate-control::-moz-range-track {
  block-size: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7b2f, #f3cf63 52%, #69d8ed);
  box-shadow: 0 0 .65rem rgb(255 122 47 / .34);
}

.solar-rate-control::-moz-range-thumb {
  inline-size: .72rem;
  block-size: .72rem;
  border: 1px solid #fff1dc;
  border-radius: 50%;
  background: #ff7b2f;
  box-shadow: 0 0 .8rem rgb(255 122 47 / .78);
}

body[data-mode="full"][data-motion="full"] .solar-chronometer > span::before {
  animation: solar-chronometer-signal 2.8s ease-in-out infinite;
}

body[data-mode="full"][data-motion="full"] .solar-chronometer > span:nth-child(2)::before {
  animation-delay: -.7s;
}

body[data-mode="full"][data-motion="full"] .solar-chronometer > span:nth-child(3)::before {
  animation-delay: -1.4s;
}

body[data-mode="full"][data-motion="full"] .solar-chronometer > span:nth-child(4)::before {
  animation-delay: -2.1s;
}

@keyframes solar-chronometer-signal {
  50% {
    opacity: 1;
    filter: brightness(1.5);
  }
}

.solar-map-controls button,
.solar-light-help-toggle {
  min-block-size: 44px;
  border: 1px solid rgb(255 132 58 / .54);
  background: rgb(7 8 8 / .9);
  color: #fff4e9;
  box-shadow: 0 .8rem 2rem rgb(0 0 0 / .26);
  backdrop-filter: blur(12px) saturate(1.18);
}

.solar-map-controls button {
  display: grid;
  grid-template-columns: .7rem auto;
  grid-template-areas:
    "signal label"
    "signal count";
  align-items: center;
  gap: .08rem .6rem;
  min-inline-size: 10.5rem;
  padding: .58rem .78rem;
  text-align: start;
  cursor: pointer;
}

.solar-map-controls button > .solar-control-signal {
  position: relative;
  grid-area: signal;
  place-self: center;
  inline-size: .58rem;
  block-size: .58rem;
  border: 1px solid #ff9b5f;
  border-radius: 50%;
  background: #24150d;
  box-shadow: inset 0 0 0 2px #070808;
  transform-origin: center;
}

.solar-map-controls button strong {
  grid-area: label;
  font-family: "Axtlan Soles", Georgia, serif;
  font-size: .62rem;
  letter-spacing: .08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.solar-map-controls button small {
  grid-area: count;
  color: #c9b8a8;
  font-size: .48rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solar-map-controls button[aria-expanded="true"] {
  border-color: #ff8a42;
  background: linear-gradient(120deg, rgb(32 16 8 / .95), rgb(5 12 14 / .93));
}

.solar-map-controls button[aria-expanded="true"] > .solar-control-signal {
  background: #ff792f;
  box-shadow:
    0 0 .4rem #ff792f,
    0 0 1.1rem rgb(104 218 255 / .7);
  animation: light-source-pulse 2.8s ease-in-out infinite;
}

.solar-map-controls button[data-solar-projection-toggle] > .solar-control-signal {
  border-color: #75d8ee;
  border-radius: 0;
  background:
    linear-gradient(135deg, transparent 42%, #75d8ee 43% 57%, transparent 58%),
    #091216;
  box-shadow:
    inset 0 0 0 2px #070808,
    0 0 .55rem rgb(106 217 239 / .24);
  transform: rotate(45deg);
}

.solar-map-controls button[data-solar-projection-toggle][aria-pressed="true"] {
  border-color: rgb(122 211 233 / .72);
  background: linear-gradient(120deg, rgb(8 24 29 / .95), rgb(24 10 14 / .93));
  box-shadow:
    inset 0 0 1rem rgb(109 216 237 / .08),
    0 0 1.3rem rgb(212 66 62 / .16);
}

.solar-map-controls button[data-solar-projection-toggle][aria-pressed="true"] > .solar-control-signal {
  border-color: #ff7868;
  background:
    linear-gradient(45deg, transparent 42%, #ff7868 43% 57%, transparent 58%),
    #160a0b;
  box-shadow:
    inset 0 0 0 2px #070808,
    0 0 .62rem rgb(255 107 91 / .38);
}

@keyframes light-source-pulse {
  50% {
    background: #74e4ff;
    box-shadow:
      0 0 .55rem #74e4ff,
      0 0 1.35rem rgb(255 121 47 / .74);
  }
}

.solar-map-controls :is(button, summary):focus-visible {
  outline: 3px solid #fff4e9;
  outline-offset: 3px;
}

.solar-light-help-toggle {
  display: grid;
  place-items: center;
  inline-size: 44px;
  padding: 0;
  font-family: "Axtlan Soles", Georgia, serif;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}

.solar-light-help-toggle[aria-expanded="true"] {
  border-color: #78ddf4;
  color: #9beaff;
}

.solar-light-help {
  position: absolute;
  z-index: 7;
  inset-block: 5.25rem auto;
  inset-inline: auto 1rem;
  inline-size: min(27rem, calc(100% - 2rem));
}

.solar-light-tooltip {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem .8rem;
  inline-size: 100%;
  max-inline-size: 100%;
  overflow: clip;
  padding: 1rem 1.05rem;
  border: 1px solid rgb(111 219 244 / .46);
  background:
    linear-gradient(145deg, rgb(8 16 18 / .97), rgb(20 10 6 / .97));
  color: #fff4e9;
  box-shadow: 0 1.2rem 3rem rgb(0 0 0 / .5);
  backdrop-filter: blur(16px) saturate(1.2);
}

.solar-light-help .solar-light-tooltip-close {
  position: absolute;
  z-index: 2;
  inset-block: .55rem auto;
  inset-inline: auto .55rem;
  display: grid;
  place-items: center;
  inline-size: 2rem;
  min-inline-size: 2rem;
  block-size: 2rem;
  min-block-size: 2rem;
  padding: 0;
  border: 1px solid rgb(255 151 85 / .62);
  border-radius: 0;
  background: rgb(18 10 7 / .94);
  color: #fff4e9;
  font: 800 1rem/1 "Axtlan Soles", Georgia, serif;
  box-shadow: 0 0 1rem rgb(255 112 42 / .14);
  cursor: pointer;
}

.solar-light-help .solar-light-tooltip-close:is(:hover, :focus-visible) {
  border-color: #7bdff5;
  color: #9cecff;
  box-shadow: 0 0 1.2rem rgb(114 221 245 / .3);
}

.solar-light-topic-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: .55rem;
  padding-inline-end: 2.25rem;
}

html[dir="rtl"] .solar-light-topic-tabs {
  padding-inline: 2.25rem 0;
}

.solar-light-topic-tabs button {
  min-inline-size: 0;
  padding: .55rem .65rem;
  border: 1px solid rgb(255 151 85 / .34);
  background: rgb(255 126 48 / .045);
  color: #ff9755;
  font-family: "Axtlan Soles", Georgia, serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
  text-align: start;
  cursor: pointer;
}

.solar-light-topic-tabs button[aria-expanded="true"] {
  border-color: rgb(122 223 246 / .58);
  box-shadow: inset 0 -2px rgb(107 222 247 / .72), 0 0 1rem rgb(91 215 244 / .08);
}

.solar-light-tooltip p {
  margin: 0;
  color: #e8dbce;
  font-size: .68rem;
  line-height: 1.58;
}

body[data-solar-light-field="on"] .solar-map {
  border-color: rgb(115 222 246 / .48);
  box-shadow:
    inset 0 0 3rem rgb(74 202 241 / .055),
    0 0 2.4rem rgb(255 118 47 / .045);
}

.solar-map::before,
.solar-map::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.solar-map::before {
  inset: 0;
  background: linear-gradient(180deg, transparent, rgb(95 216 255 / .04), transparent);
  translate: 0 -100%;
  animation: scan 7s linear infinite;
}

.solar-map::after {
  inset: 1rem;
  border: 1px solid rgb(255 110 34 / .12);
}

body[data-mode="full"][data-motion="full"] .solar-map::after {
  animation: solar-map-frame-signal 7.5s ease-in-out infinite;
}

@keyframes solar-map-frame-signal {
  50% {
    border-color: rgb(112 220 241 / .34);
    box-shadow:
      inset 0 0 2.2rem rgb(99 220 241 / .1),
      0 0 1.8rem rgb(255 118 44 / .12);
  }
}

@keyframes scan {
  to { translate: 0 100%; }
}

.solar-map canvas {
  inline-size: 100%;
  block-size: 100%;
}

.solar-map figcaption {
  position: absolute;
  z-index: 3;
  inset: auto 1rem .75rem calc(4% + .65rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .42rem 1.05rem;
  padding: .48rem .7rem .42rem;
  border-block-start: 1px solid rgb(255 138 68 / .24);
  background: linear-gradient(90deg, rgb(6 9 9 / .84), rgb(6 9 9 / .58), transparent);
  color: #d3c0ac;
  font-family: "Axtlan Soles", Georgia, serif;
  font-size: .56rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.solar-map figcaption span {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.solar-map figcaption i {
  display: block;
  inline-size: 1.4rem;
  block-size: 2px;
}

.planet-key {
  background: linear-gradient(90deg, #9d2928, #d4423e 56%, #ff6b4a);
  box-shadow: 0 0 .45rem rgb(212 66 62 / .42);
}
.sun-key { background: linear-gradient(90deg, #ff6f3a, #b284ff, #86c5ff, #eb7aff); }
.centre-key { background: #ffbe70; }
.speed-key {
  background:
    repeating-linear-gradient(
      90deg,
      var(--orange) 0 .18rem,
      transparent .18rem .33rem
    );
}

.solar-map figcaption small {
  flex-basis: 100%;
  max-inline-size: 43rem;
  color: #d7bfa9;
  font-family: var(--axtlan-reading);
  font-size: .5rem;
  letter-spacing: .065em;
  line-height: 1.35;
  text-transform: none;
}

.solar-consequences {
  display: grid;
  gap: 1px;
  min-inline-size: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.solar-consequences article {
  display: grid;
  grid-template-columns: minmax(5.75rem, 7.25rem) minmax(0, 1fr);
  gap: .3rem .85rem;
  padding: 1.25rem;
  background: #0b0a08;
}

.solar-consequences article > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--orange);
  font-family: "Axtlan Soles", var(--axtlan-reading);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.35;
  overflow-wrap: normal;
  text-wrap: balance;
  white-space: normal;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}

.solar-consequences h3 {
  grid-column: 2;
  min-inline-size: 0;
  margin: 0;
  font-size: .92rem;
  letter-spacing: .02em;
  line-height: 1.2;
}

.solar-consequences p {
  grid-column: 2;
  min-inline-size: 0;
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

@media (min-width: 1100px) {
  .observatory-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(28rem, .85fr);
    align-items: start;
    gap: clamp(1.25rem, 2.6vw, 3rem);
    margin-block-start: clamp(1.5rem, 3vw, 3rem);
  }

  .solar-consequences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: start;
  }

  .solar-consequences article {
    grid-template-columns: 1fr;
    align-content: start;
    min-block-size: 0;
    padding: clamp(.8rem, 1.15vw, 1.05rem);
  }

  .solar-consequences article > span,
  .solar-consequences h3,
  .solar-consequences p {
    grid-column: 1;
    grid-row: auto;
  }

  .solar-consequences h3 {
    margin-block-start: .35rem;
    font-size: clamp(.72rem, .8vw, .88rem);
  }

  .solar-consequences p {
    font-size: clamp(.64rem, .7vw, .75rem);
    line-height: 1.36;
  }
}

@media (max-width: 420px) {
  .solar-consequences article {
    grid-template-columns: 1fr;
  }

  .solar-consequences article > span,
  .solar-consequences h3,
  .solar-consequences p {
    grid-column: 1;
    grid-row: auto;
  }
}

.solar-atlas {
  inline-size: var(--shell);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
}

.solar-atlas-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  align-items: end;
  gap: 1.4rem 5vw;
  padding-block-end: clamp(2rem, 4vw, 4rem);
  border-block-end: 1px solid var(--line);
}

.solar-atlas-heading .scene-index {
  grid-column: 1 / -1;
}

.solar-atlas-heading h3 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 6.6rem);
  letter-spacing: -.055em;
  line-height: .88;
  text-wrap: balance;
}

.solar-atlas-heading > p:last-child {
  margin: 0 0 .35rem;
  color: var(--muted);
  line-height: 1.65;
}

.solar-cycle-selector {
  position: relative;
  display: grid;
  grid-template-columns: minmax(8rem, .2fr) minmax(0, .8fr);
  align-items: center;
  gap: 1rem 2rem;
  margin-block-start: clamp(2rem, 4vw, 4rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(212 130 99 / .09), transparent 42%),
    #0c0a08;
}

.solar-cycle-selector::before {
  position: absolute;
  inset: 0 auto 0 0;
  inline-size: 2px;
  background: var(--brand-orange);
  content: "";
}

.solar-cycle-selector-label {
  margin: 0;
  color: var(--gold);
  font-family: "Axtlan Detector", monospace;
  font-size: .7rem;
  letter-spacing: .14em;
}

.solar-cycle-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  min-inline-size: 0;
}

.solar-cycle-buttons button {
  min-inline-size: 0;
  min-block-size: 3.25rem;
  padding: .75rem clamp(.55rem, 1.1vw, 1rem);
  border: 1px solid rgb(212 130 99 / .42);
  background: #090806;
  color: var(--paper);
  cursor: pointer;
  font: 700 clamp(.64rem, .28vw + .62rem, .9rem)/1.25 "Axtlan Soles", sans-serif;
  letter-spacing: .035em;
  text-wrap: balance;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.solar-cycle-buttons button:is(:hover, :focus-visible) {
  border-color: var(--brand-orange);
  outline: 1px solid rgb(212 130 99 / .38);
  outline-offset: 3px;
}

.solar-cycle-buttons button[aria-pressed="true"] {
  border-color: var(--brand-orange);
  background:
    linear-gradient(120deg, rgb(255 102 0 / .24), rgb(255 102 0 / .04)),
    #17100b;
  box-shadow:
    inset 0 1px rgb(255 190 120 / .12),
    0 0 1.25rem rgb(255 86 0 / .13);
  color: #fff4e5;
  transform: translateY(-1px);
}

.solar-cycle {
  margin-block-start: clamp(2rem, 4vw, 4rem);
}

.solar-cycle > header {
  display: grid;
  grid-template-columns: 5rem minmax(12rem, .75fr) minmax(18rem, 1.25fr);
  align-items: baseline;
  gap: 1rem 2rem;
  margin-block-end: 1.4rem;
}

.solar-cycle > header > span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .68rem;
  letter-spacing: .14em;
}

.solar-cycle > header h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 2.4rem);
  letter-spacing: -.02em;
}

.solar-cycle > header p {
  margin: 0;
  color: #97897c;
  font-size: .84rem;
  line-height: 1.55;
}

.sun-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sun-card {
  --sun-rgb: 255 120 64;
  position: relative;
  min-inline-size: 0;
  min-block-size: 22rem;
  overflow: hidden;
  padding: clamp(1.35rem, 2.6vw, 2.2rem);
  background:
    radial-gradient(circle at 85% 4%, rgb(var(--sun-rgb) / .2), transparent 13rem),
    linear-gradient(145deg, rgb(var(--sun-rgb) / .055), transparent 42%),
    #090807;
  isolation: isolate;
}

.sun-card::before,
.sun-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.sun-card::before {
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgb(var(--sun-rgb) / .08), transparent 64%);
  translate: -110% 0;
  animation: sun-card-sweep 10s ease-in-out infinite;
}

.sun-card::after {
  inset: 0 auto auto 0;
  inline-size: 42%;
  block-size: 2px;
  background: rgb(var(--sun-rgb));
  box-shadow: 0 0 1.1rem rgb(var(--sun-rgb) / .8);
}

@keyframes sun-card-sweep {
  0%,
  22% { translate: -110% 0; }
  55%,
  100% { translate: 230% 0; }
}

.sun-card header > span,
.sun-role > span {
  color: rgb(var(--sun-rgb));
  font-family: "Axtlan Detector", monospace;
  font-size: .61rem;
  letter-spacing: .13em;
}

.sun-card h4 {
  margin: .85rem 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.75rem);
  letter-spacing: -.035em;
  line-height: .95;
  overflow-wrap: break-word;
  word-break: normal;
  text-shadow: 0 0 1.25rem rgb(var(--sun-rgb) / .22);
  text-wrap: balance;
}

.sun-type {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .8rem;
  align-items: baseline;
  margin: 1.3rem 0 0;
  color: #eadfd4;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.sun-type span {
  color: #786f67;
  font-size: .54rem;
  font-weight: 500;
}

.sun-card dl {
  display: grid;
  gap: .72rem;
  margin: 1.7rem 0 0;
}

.sun-card dl div {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: .8rem;
  padding-block-start: .72rem;
  border-block-start: 1px solid rgb(var(--sun-rgb) / .12);
}

.sun-card dt {
  color: #70675f;
  font-family: "Axtlan Detector", monospace;
  font-size: .54rem;
  letter-spacing: .1em;
}

.sun-card dd {
  margin: 0;
  color: #b9aca0;
  font-size: .72rem;
  line-height: 1.45;
}

.sun-role {
  margin: 1.5rem 0 0;
  color: #e0d1c4;
  font-size: .78rem;
  line-height: 1.5;
}

.sun-role > span {
  display: block;
  margin-block-end: .45rem;
}

.sun-01 { --sun-rgb: 255 103 48; }
.sun-02 { --sun-rgb: 192 111 255; }
.sun-03 { --sun-rgb: 103 182 255; }
.sun-04 { --sun-rgb: 214 239 255; }
.sun-05 { --sun-rgb: 79 211 255; }
.sun-06 { --sun-rgb: 205 74 43; }
.sun-07 { --sun-rgb: 158 211 255; }
.sun-08 { --sun-rgb: 255 225 166; }
.sun-09 { --sun-rgb: 230 246 255; }
.sun-10 { --sun-rgb: 165 45 31; }
.sun-11 { --sun-rgb: 255 171 91; }
.sun-12 { --sun-rgb: 255 118 84; }
.sun-13 { --sun-rgb: 184 78 50; }
.sun-14 { --sun-rgb: 243 77 204; }
.sun-15 { --sun-rgb: 138 104 255; }
.sun-16 { --sun-rgb: 91 142 255; }
.sun-17 { --sun-rgb: 99 242 211; }

.planet-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  inline-size: var(--shell);
  margin: 3rem auto 0;
  border-block: 1px solid var(--line);
}

.planet-facts div {
  min-inline-size: 0;
  padding: 1.2rem;
  border-inline-end: 1px solid var(--line);
}

.planet-facts div:nth-child(4n) {
  border-inline-end: 0;
}

.planet-facts dt {
  color: var(--paper);
  font-family: "Axtlan Soles", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.8rem);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.symbol-wave-target {
  --symbol-wave-coded: #ffb36a;
  --symbol-wave-ray: 255 111 42;
  position: relative;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(1lh, auto);
  max-inline-size: 100%;
  vertical-align: baseline;
  isolation: isolate;
  font-family: inherit;
  font-style: normal;
}

.symbol-wave-readable {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  min-inline-size: 0;
  color: inherit;
  font-family: var(--axtlan-reading);
  opacity: 1;
  visibility: visible;
}

[data-decode-value] .symbol-wave-readable {
  font-family: var(--axtlan-reading);
  font-variant-numeric: tabular-nums lining-nums;
}

.symbol-wave-unit {
  position: relative;
  display: inline;
  font-family: inherit;
  font-style: inherit;
}

.symbol-wave-grapheme {
  display: inline;
  font-family: inherit;
  opacity: 1;
}

.symbol-wave-unit::before {
  content: attr(data-symbol-code);
  position: absolute;
  z-index: 2;
  inset-block-start: 0;
  inset-inline-start: 0;
  color: var(--symbol-wave-coded);
  font-family: "Axtlan Detector", monospace;
  font-size: .92em;
  font-style: normal;
  letter-spacing: .06em;
  line-height: inherit;
  opacity: 0;
  pointer-events: none;
  text-shadow:
    0 0 .12rem currentColor,
    0 0 .5rem rgb(var(--symbol-wave-ray) / .78),
    -.55rem 0 .85rem rgb(57 202 232 / .4),
    .55rem 0 .85rem rgb(255 106 39 / .46);
  transform: scale(.94);
  transform-origin: center;
  user-select: none;
  will-change: transform, opacity, filter;
}

.symbol-wave-rays {
  grid-area: 1 / 1;
  position: absolute;
  z-index: 3;
  inset-block: -.14em;
  inset-inline-start: -38%;
  overflow: hidden;
  inline-size: 32%;
  background:
    linear-gradient(90deg, transparent, rgb(57 202 232 / .34), rgb(var(--symbol-wave-ray) / .72), transparent),
    repeating-linear-gradient(108deg, transparent 0 7px, rgb(var(--symbol-wave-ray) / .28) 8px 9px, transparent 10px 17px);
  filter: blur(.05rem) drop-shadow(0 0 .38rem rgb(var(--symbol-wave-ray) / .7));
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

@supports (clip-path: inset(0)) {
  body[data-mode="full"][data-motion="full"][data-symbol-wave="active"]
    .symbol-wave-target.is-wave-active .symbol-wave-grapheme {
    animation: symbol-wave-readable-unit-cycle 1080ms cubic-bezier(.22, .72, .24, 1) both;
    animation-delay: calc(var(--symbol-wave-step, 0) * 18ms);
    visibility: visible !important;
  }

  body[data-mode="full"][data-motion="full"][data-symbol-wave="active"]
    .symbol-wave-target.is-wave-active .symbol-wave-unit::before {
    animation: symbol-wave-coded-unit-cycle 1080ms cubic-bezier(.22, .72, .24, 1) both;
    animation-delay: calc(var(--symbol-wave-step, 0) * 18ms);
  }

  body[data-mode="full"][data-motion="full"][data-symbol-wave="active"]
    .symbol-wave-target.is-wave-active .symbol-wave-rays {
    animation: symbol-wave-ray-cycle 1500ms cubic-bezier(.18, .68, .22, 1) both;
  }

  body[data-mode="full"][data-motion="full"][data-symbol-wave="active"]
    .symbol-wave-target.is-wave-active > .symbol-wave-rays {
    animation-play-state: running !important;
  }

  [dir="rtl"] body[data-mode="full"][data-motion="full"][data-symbol-wave="active"]
    .symbol-wave-target.is-wave-active .symbol-wave-rays {
    animation-name: symbol-wave-ray-cycle-rtl;
  }
}

[dir="rtl"] .symbol-wave-target .symbol-wave-rays {
  inset-inline: auto -38%;
}

@keyframes symbol-wave-readable-unit-cycle {
  0%, 22% { opacity: 0; filter: blur(.08em) brightness(1.7); transform: scale(.96); }
  70%, 100% { opacity: 1; filter: none; transform: scale(1); }
}

@keyframes symbol-wave-coded-unit-cycle {
  0%, 22% { opacity: 1; filter: brightness(1.45); transform: scale(1); }
  70%, 100% { opacity: 0; filter: blur(.08em) brightness(1.8); transform: scale(.94); }
}

@keyframes symbol-wave-ray-cycle {
  0%, 8% { opacity: 0; transform: translateX(0) skewX(-12deg); }
  24%, 76% { opacity: .78; }
  92%, 100% { opacity: 0; transform: translateX(440%) skewX(-12deg); }
}

@keyframes symbol-wave-ray-cycle-rtl {
  0%, 8% { opacity: 0; transform: translateX(0) skewX(12deg); }
  24%, 76% { opacity: .78; }
  92%, 100% { opacity: 0; transform: translateX(-440%) skewX(12deg); }
}

.planet-facts dd {
  margin: .35rem 0 0;
  color: #8f8173;
  font-size: .62rem;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.analogy-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  inline-size: var(--shell);
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgb(255 120 52 / .18);
  background: rgb(255 105 31 / .035);
  color: #a99a8d;
  font-size: .74rem;
}

.analogy-note span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .61rem;
  letter-spacing: .12em;
}

.living-scene {
  padding-inline: 0;
  background: #080706;
}

.living-heading {
  inline-size: var(--shell);
  margin-inline: auto;
}

.doctrine-reel {
  display: grid;
  gap: 1px;
  margin-block-start: clamp(3rem, 7vw, 7rem);
  background: var(--line);
  border-block: 1px solid var(--line);
}

.doctrine {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  min-block-size: clamp(30rem, 52vw, 47rem);
  overflow: hidden;
  isolation: isolate;
}

.doctrine:nth-child(even) {
  grid-template-columns: minmax(20rem, .85fr) minmax(0, 1.15fr);
}

.doctrine:nth-child(even) img {
  grid-column: 1 / -1;
  grid-row: 1;
}

.doctrine:nth-child(even) > div {
  grid-column: 1;
  grid-row: 1;
}

.doctrine::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent 35%, rgb(5 4 3 / .94) 68%);
  content: "";
}

.doctrine:nth-child(even)::after {
  background: linear-gradient(90deg, rgb(5 4 3 / .94) 32%, transparent 68%);
}

.doctrine img {
  position: absolute;
  z-index: -2;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(.86);
}

.doctrine > div {
  align-self: end;
  grid-column: 2;
  min-inline-size: 0;
  padding: clamp(2rem, 5vw, 5.5rem);
  container-type: inline-size;
}

.doctrine > div > span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .68rem;
  letter-spacing: .16em;
}

.doctrine h3 {
  max-inline-size: 100%;
  margin: .7rem 0;
  font-size: clamp(2.4rem, 4.6vw, 6.2rem);
  font-size: clamp(2.4rem, 11cqi, 6.2rem);
  letter-spacing: -.06em;
  line-height: .84;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 3px 8px #000;
}

.doctrine.sirocco h3 {
  font-size: clamp(2.15rem, 9.2cqi, 5.25rem);
  letter-spacing: -.045em;
}

.doctrine p {
  max-inline-size: 35rem;
  margin: 1.4rem 0 0;
  color: #d6c6b5;
  font-size: clamp(1rem, .5vw + .9rem, 1.3rem);
}

.krek-section {
  position: relative;
  min-block-size: 100svh;
  padding: var(--pad) max(4vw, env(safe-area-inset-right)) var(--pad) max(4vw, env(safe-area-inset-left));
  overflow: hidden;
  isolation: isolate;
}

.krek-backgrounds {
  position: absolute;
  z-index: -3;
  inset: 0;
}

.krek-backgrounds img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.05;
  animation: krek-cycle 45s linear infinite;
}

.krek-backgrounds img:nth-child(2) { animation-delay: -36s; }
.krek-backgrounds img:nth-child(3) { animation-delay: -27s; }
.krek-backgrounds img:nth-child(4) { animation-delay: -18s; }
.krek-backgrounds img:nth-child(5) { animation-delay: -9s; }

@keyframes krek-cycle {
  0%, 16% { opacity: 1; scale: 1.04; }
  20%, 96% { opacity: 0; scale: 1.09; }
  100% { opacity: 1; scale: 1.04; }
}

.krek-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 3 3 / .96) 0%, rgb(4 3 3 / .8) 48%, rgb(4 3 3 / .28)),
    linear-gradient(0deg, #070605 0%, transparent 45%, #070605 100%);
}

.krek-heading {
  max-inline-size: 60rem;
}

.krek-heading h2 {
  max-inline-size: 100%;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 8rem);
  letter-spacing: -.06em;
  line-height: .84;
  text-wrap: balance;
  text-shadow: 0 2px 2px #000, 0 0 18px rgb(255 48 30 / .7);
  -webkit-text-stroke: .5px rgb(255 132 96 / .55);
}

.krek-heading > p:last-child {
  max-inline-size: 48rem;
  color: #dbc9b7;
  font-size: clamp(1rem, .5vw + .9rem, 1.3rem);
}

.krek-story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: 3rem;
  background: rgb(255 126 80 / .2);
  border: 1px solid rgb(255 126 80 / .2);
}

.krek-story article {
  padding: 1.25rem;
  background: rgb(9 7 6 / .82);
  backdrop-filter: blur(15px);
}

.krek-story span,
.krek-panels span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .65rem;
}

.krek-story h3 {
  margin: 1rem 0 .45rem;
  font-size: 1.15rem;
}

.krek-story p {
  margin: 0;
  color: #bca995;
  font-size: .82rem;
}

.krek-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-inline-size: 70rem;
  margin: 2.5rem auto 0;
  border: 1px solid rgb(255 133 85 / .25);
  background: rgb(6 5 4 / .76);
  backdrop-filter: blur(18px);
}

.krek-tabs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  align-content: start;
  gap: .38rem;
  padding: .6rem;
  border-block-end: 1px solid rgb(255 133 85 / .18);
  background:
    linear-gradient(180deg, rgb(255 124 69 / .055), transparent 12rem),
    rgb(5 4 4 / .32);
  counter-reset: krek-tab;
}

.krek-tabs button {
  position: relative;
  isolation: isolate;
  min-block-size: 48px;
  padding: 1.7rem .38rem .58rem;
  border: 1px solid rgb(255 133 85 / .14);
  background:
    linear-gradient(105deg, rgb(255 106 53 / .08), transparent 62%),
    rgb(13 10 9 / .54);
  color: #a99582;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - .55rem) 0, 100% .55rem, 100% 100%, .55rem 100%, 0 calc(100% - .55rem));
  counter-increment: krek-tab;
  font-family: "Axtlan Soles", var(--axtlan-reading);
  font-size: clamp(.54rem, .42vw + .34rem, .68rem);
  font-weight: 700;
  letter-spacing: .035em;
  overflow: hidden;
  text-align: center;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.krek-tabs button::before {
  position: absolute;
  z-index: 3;
  inset: .48rem 50% auto auto;
  color: rgb(255 133 85 / .58);
  content: counter(krek-tab, decimal-leading-zero);
  font-family: "Axtlan Soles", serif;
  font-size: .56rem;
  letter-spacing: .06em;
  transform: translateX(50%);
}

.krek-tabs button > span {
  position: relative;
  z-index: 2;
}

.krek-tabs button:is(:hover, :focus-visible) .symbol-wave-readable {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.krek-tabs button:is(:hover, :focus-visible) .symbol-wave-grapheme {
  animation: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.krek-tabs button:is(:hover, :focus-visible) .symbol-wave-unit::before,
.krek-tabs button:is(:hover, :focus-visible) .symbol-wave-rays {
  animation: none !important;
  opacity: 0 !important;
}

.krek-tabs button:is(:hover, :focus-visible) {
  border-color: rgb(255 141 86 / .48);
  background-color: rgb(30 17 12 / .82);
  color: #ffeadd;
  transform: translateY(-.12rem);
}

.krek-tabs button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: -4px;
}

.krek-tabs button[aria-selected="true"] {
  border-color: rgb(255 139 80 / .56);
  background:
    linear-gradient(90deg, rgb(255 77 40 / .3), rgb(255 153 85 / .06) 72%, transparent);
  color: #fff2e7;
  box-shadow:
    var(--krek-selection-shadow, inset 3px 0 var(--orange)),
    0 0 1.25rem rgb(255 86 38 / .1);
}

.krek-panels {
  min-inline-size: 0;
  min-block-size: 24rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  text-align: center;
}

.krek-panels h3 {
  margin: .8rem 0;
  font-size: clamp(2.6rem, 5.5vw, 6rem);
  letter-spacing: -.06em;
  line-height: .85;
}

.krek-panels p {
  max-inline-size: 38rem;
  margin-inline: auto;
  color: #c4b19f;
}

.krek-panels .krek-aliases {
  margin: -.2rem 0 1.5rem;
  color: var(--gold);
  font-family: "Axtlan Rapido", "Axtlan Soles", sans-serif;
  font-size: .78rem;
  letter-spacing: .04em;
}

.krek-panels dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0 0;
  background: rgb(255 135 82 / .14);
  text-align: start;
}

.krek-panels dl > div {
  min-inline-size: 0;
  padding: 1rem;
  background: rgb(8 6 5 / .88);
}

.krek-panels dt {
  color: var(--orange);
  font-family: "Axtlan Soles", var(--axtlan-reading);
  font-size: .57rem;
  letter-spacing: .1em;
}

.krek-panels dd {
  margin: .7rem 0 0;
  color: #c1ad9c;
  font-size: .76rem;
  line-height: 1.48;
}

.making-scene {
  background:
    radial-gradient(circle at 12% 15%, rgb(255 94 28 / .08), transparent 28rem),
    #0a0907;
}

.making-heading {
  inline-size: var(--shell);
  margin-inline: auto;
}

.game-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  min-inline-size: 0;
  inline-size: var(--shell);
  margin: clamp(3rem, 7vw, 7rem) auto 0;
  border: 1px solid var(--line);
  background: #0d0b09;
}

.game-feature img {
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 34rem;
  object-fit: cover;
  filter: saturate(.85) contrast(1.07);
}

.game-feature > div {
  align-self: center;
  min-inline-size: 0;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.game-feature > div > span,
.subhead > span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .66rem;
  letter-spacing: .14em;
}

.game-feature h3,
.subhead h3 {
  max-inline-size: 100%;
  margin: .85rem 0 1.5rem;
  font-size: clamp(2.2rem, 4.5vw, 5.2rem);
  letter-spacing: -.055em;
  line-height: .88;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.game-feature p,
.subhead p {
  color: var(--muted);
}

.development-boundary {
  display: grid;
  gap: 1px;
  margin: 2rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.development-boundary div {
  padding: .85rem 1rem;
  background: #090806;
}

.development-boundary dt {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .57rem;
  letter-spacing: .11em;
}

.development-boundary dd {
  margin: .35rem 0 0;
  color: #c1ad9c;
  font-size: .76rem;
}

.game-development-feature {
  display: grid;
  grid-template-columns: minmax(11rem, .32fr) minmax(0, .68fr);
  align-items: stretch;
  inline-size: min(58rem, var(--shell));
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  border: 1px solid var(--line);
  background: #0c0a08;
}

.game-development-feature img {
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 13rem;
  object-fit: cover;
  filter: saturate(.8) contrast(1.05);
}

.game-development-feature > div {
  align-self: center;
  min-inline-size: 0;
  padding: clamp(1.4rem, 3vw, 2.8rem);
}

.game-development-feature > div > span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .14em;
}

.game-development-feature h3 {
  margin: .75rem 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2.5rem);
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}

.game-development-feature p {
  max-inline-size: 40rem;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.process-section,
.art-section,
.music-section {
  inline-size: var(--shell);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
}

.making-scene > .creator-scene {
  inline-size: var(--shell);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: clamp(2rem, 5vw, 5rem);
  border-block: 1px solid var(--line);
}

.subhead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0 2rem;
}

.subhead > span,
.subhead > p {
  grid-column: 1;
}

.subhead h3 {
  grid-column: 1;
}

.subhead > a {
  grid-column: 2;
  grid-row: 2;
  margin-block-end: 1.7rem;
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-block-start: 2rem;
}

.process-grid figure {
  position: relative;
  grid-column: span 5;
  min-inline-size: 0;
  margin: 0;
  aspect-ratio: 1.25;
  overflow: hidden;
}

.process-grid figure:nth-child(2),
.process-grid figure:nth-child(4) {
  grid-column: span 7;
}

.process-grid img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: saturate(.7);
  transition: filter .5s ease, scale .7s ease;
}

.process-grid figure:hover img {
  filter: saturate(1);
  scale: 1.03;
}

.process-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgb(4 3 3 / .9), transparent);
  color: var(--paper);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .12em;
}

.art-rail {
  display: grid;
  grid-auto-columns: minmax(17rem, 31vw);
  grid-auto-flow: column;
  gap: 1rem;
  margin-block-start: 2rem;
  padding-block-end: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--orange) #1d1813;
}

.art-rail a {
  position: relative;
  min-inline-size: 0;
  aspect-ratio: .78;
  overflow: hidden;
  color: var(--paper);
  scroll-snap-align: start;
  text-decoration: none;
}

.art-rail img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.04);
  transition: scale .7s ease, filter .7s ease;
}

.art-rail a:is(:hover, :focus-visible) img {
  scale: 1.035;
  filter: saturate(1.05);
}

.art-rail span {
  position: absolute;
  inset: auto 0 0;
  padding: 4rem 1.2rem 1.2rem;
  background: linear-gradient(0deg, rgb(4 3 3 / .95), transparent);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .1em;
}

.art-rail b {
  display: inline-block;
  margin-block-start: .35rem;
  font-family: "Axtlan Soles", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.music-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}

.audio-reactive {
  position: relative;
  display: grid;
  grid-template-columns: repeat(17, minmax(2px, 1fr));
  align-items: center;
  gap: clamp(2px, .4vw, 8px);
  min-inline-size: 0;
  min-block-size: 18rem;
  padding: 2rem;
  border-block: 1px solid var(--line);
  background: radial-gradient(circle, rgb(255 100 35 / .08), transparent 64%);
}

.audio-reactive i {
  inline-size: 100%;
  block-size: var(--audio-mid-height);
  min-block-size: 4px;
  max-block-size: 88%;
  background: linear-gradient(180deg, hsl(calc(var(--sun-hue) + var(--offset, 0deg)) 100% 70%), rgb(255 94 28 / .12));
  box-shadow: 0 0 var(--audio-mid-glow) hsl(calc(var(--sun-hue) + var(--offset, 0deg)) 100% 68% / .6);
  transition: block-size .14s ease-out;
}

.audio-reactive i:nth-child(2n) { block-size: var(--audio-bass-height); box-shadow: 0 0 var(--audio-bass-glow) hsl(calc(var(--sun-hue) + 55deg) 100% 68% / .6); --offset: 55deg; }
.audio-reactive i:nth-child(3n) { block-size: var(--audio-treble-height); box-shadow: 0 0 var(--audio-treble-glow) hsl(calc(var(--sun-hue) + 115deg) 100% 68% / .6); --offset: 115deg; }
.audio-reactive i:nth-child(4n) { block-size: var(--audio-mid-strong-height); --offset: 180deg; }
.audio-reactive i:nth-child(5n) { block-size: var(--audio-bass-soft-height); --offset: 240deg; }

@supports (view-transition-name: none) {
  [data-krek-panel]:not([hidden]) {
    view-transition-name: krek-dossier;
  }

  ::view-transition-old(krek-dossier) {
    animation: dossier-out .18s ease both;
  }

  ::view-transition-new(krek-dossier) {
    animation: dossier-in .36s cubic-bezier(.18, .82, .28, 1) both;
  }
}

@keyframes dossier-out {
  to {
    opacity: 0;
    transform: translateY(-.45rem) scale(.992);
    filter: blur(3px);
  }
}

@keyframes dossier-in {
  from {
    opacity: 0;
    transform: translateY(.65rem) scale(.992);
    filter: blur(5px);
  }
}

.audio-reactive > span {
  position: absolute;
  inset: auto 2rem 1rem;
  color: var(--gold);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .14em;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.release-grid a {
  min-inline-size: 0;
  padding: .75rem;
  background: #0d0b09;
  text-decoration: none;
}

.release-grid img {
  inline-size: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(.82);
  transition: filter .5s ease, scale .5s ease;
}

.release-grid a:is(:hover, :focus-visible) img {
  filter: saturate(1.1);
  scale: .98;
}

.release-grid span {
  display: grid;
  margin-block-start: .85rem;
  font-size: clamp(.75rem, .8vw, 1rem);
  line-height: 1.2;
}

.release-grid small {
  margin-block-start: .25rem;
  color: #8f8174;
  font-size: .52rem;
  letter-spacing: .08em;
}

.creator-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  background:
    radial-gradient(circle at 70% 20%, rgb(63 134 181 / .12), transparent 28rem),
    radial-gradient(circle at 20% 70%, rgb(178 42 16 / .12), transparent 32rem),
    #080706;
}

.creator-portrait {
  position: relative;
  min-inline-size: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 0 100%);
}

.creator-portrait > span:not(.creator-orbit) {
  position: absolute;
  inset: auto 1.2rem 1.2rem;
  color: var(--gold);
  font-family: "Axtlan Detector", monospace;
  font-size: .58rem;
  letter-spacing: .12em;
}

.creator-copy {
  min-inline-size: 0;
}

.creator-copy blockquote {
  max-inline-size: 44rem;
  margin: 2rem 0;
  color: #f5e7d7;
  font-size: clamp(1.35rem, 2.5vw, 2.7rem);
  letter-spacing: -.025em;
  line-height: 1.18;
}

.creator-prose {
  display: grid;
  gap: 1rem;
  max-inline-size: 43rem;
  color: var(--muted);
}

.creator-prose p {
  margin: 0;
}

.routes-scene {
  padding-block-end: 2rem;
  background:
    radial-gradient(circle at 50% 10%, rgb(255 104 32 / .08), transparent 32rem),
    #060504;
}

.routes-heading,
.route-atlas,
.closing-grid,
.site-footer {
  inline-size: var(--shell);
  margin-inline: auto;
}

.route-atlas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: clamp(3rem, 7vw, 7rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.route-atlas > a {
  position: relative;
  min-inline-size: 0;
  min-block-size: 16rem;
  padding: 1.5rem;
  background:
    linear-gradient(145deg, rgb(255 106 35 / .04), transparent 50%),
    #0c0a08;
  text-decoration: none;
  transition: background .4s ease;
}

.route-atlas > a:is(:hover, :focus-visible) {
  background:
    linear-gradient(145deg, rgb(255 106 35 / .14), transparent 60%),
    #100c09;
}

.route-atlas span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .6rem;
  letter-spacing: .11em;
}

.route-atlas strong {
  display: block;
  margin-block-start: 3rem;
  font-size: clamp(1.25rem, 2.4vw, 2.8rem);
  line-height: .95;
  overflow-wrap: anywhere;
}

.route-atlas p {
  max-inline-size: 24rem;
  color: var(--muted);
  font-size: .82rem;
}

.route-atlas i {
  position: absolute;
  inset: auto 1.5rem 1.2rem auto;
  color: var(--orange);
  font-size: 1.4rem;
  font-style: normal;
}

.public-properties,
.network-directory {
  inline-size: var(--shell);
  margin: clamp(4rem, 7vw, 7rem) auto 0;
}

.public-properties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.public-properties > header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  align-items: end;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 5rem);
  background: #080706;
  container-type: inline-size;
}

.public-properties > header > span,
.public-properties article > span,
.public-properties aside > span,
.network-directory header > span {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .61rem;
  letter-spacing: .13em;
}

.public-properties > header > span {
  grid-column: 1 / -1;
}

.public-properties h3,
.network-directory h3 {
  margin: .8rem 0 0;
  font-size: clamp(2.25rem, 6.4cqi, 6rem);
  letter-spacing: -.06em;
  line-height: .88;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.public-properties article {
  min-inline-size: 0;
  min-block-size: 20rem;
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
  background:
    linear-gradient(145deg, rgb(255 108 34 / .055), transparent 52%),
    #0c0a08;
}

.public-properties h4 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.65rem, 3.4vw, 3.7rem);
  letter-spacing: -.05em;
  overflow-wrap: break-word;
  word-break: normal;
}

.public-properties article p,
.public-properties aside p,
.network-directory header p {
  max-inline-size: 42rem;
  color: var(--muted);
}

.public-properties a,
.network-directory a {
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.public-properties a:is(:hover, :focus-visible),
.network-directory a:is(:hover, :focus-visible) {
  color: #fff3e2;
}

.public-properties aside {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: #090806;
}

.public-properties aside p {
  margin: 0;
  font-size: .8rem;
}

.network-directory > header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  align-items: end;
  gap: 2rem;
  padding-block-end: 2.5rem;
  border-block-end: 1px solid var(--line);
  container-type: inline-size;
}

.network-directory > header > span {
  grid-column: 1 / -1;
}

.network-directory > header p {
  margin: 0;
}

.network-directory > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.network-directory section {
  display: grid;
  align-content: start;
  gap: .75rem;
  min-inline-size: 0;
  padding: clamp(1.25rem, 2.7vw, 2.5rem);
  background: #0b0907;
}

.institutional-line {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  inline-size: var(--shell);
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgb(255 105 31 / .055), transparent 70%);
}

.institutional-line img {
  inline-size: 100%;
  max-block-size: 4.5rem;
  object-fit: contain;
  object-position: left center;
  filter:
    saturate(1.35)
    brightness(1.2)
    drop-shadow(0 0 12px rgb(255 102 32 / .42));
}

.institutional-line p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.institutional-line strong {
  color: #f3e5d5;
  font-weight: 600;
}

.institutional-line a {
  color: var(--gold);
  font-size: .65rem;
  letter-spacing: .08em;
  text-align: end;
  text-decoration: none;
}

.network-directory h4 {
  margin: 0 0 1rem;
  color: #f3e5d5;
  font-size: .82rem;
  letter-spacing: .08em;
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: clamp(3rem, 6vw, 6rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.closing-grid details {
  background: #0c0a08;
}

.closing-grid summary {
  min-block-size: 4.5rem;
  padding: 1.3rem;
  cursor: pointer;
  list-style: none;
  font-size: .86rem;
  letter-spacing: .04em;
}

.closing-grid summary::after {
  float: inline-end;
  color: var(--orange);
  content: "+";
}

.closing-grid details[open] summary::after {
  content: "−";
}

.closing-grid p {
  margin: 0;
  padding: 0 1.3rem 1.3rem;
  color: var(--muted);
  font-size: .83rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-block-start: 6rem;
  padding-block: 2rem 1rem;
  border-block-start: 1px solid var(--line);
}

.site-footer > div {
  display: grid;
  gap: .4rem;
}

.site-footer strong {
  font-size: 1.8rem;
  letter-spacing: .1em;
}

.site-footer span,
.site-footer a {
  color: #8f8174;
  font-size: .59rem;
  letter-spacing: .1em;
  text-decoration: none;
}

.back-top {
  min-block-size: 44px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.privacy-banner {
  position: fixed;
  z-index: 120;
  inset-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  inset-block-end: calc(max(1rem, env(safe-area-inset-bottom)) + 4.65rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.2rem, 3vw, 3rem);
  max-inline-size: 1180px;
  margin-inline: auto;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border: 1px solid rgb(255 143 59 / .46);
  background:
    linear-gradient(115deg, rgb(13 10 8 / .97), rgb(7 7 8 / .94)),
    var(--ink);
  box-shadow: 0 1.2rem 5rem rgb(0 0 0 / .62), 0 0 2rem rgb(233 130 50 / .08);
  backdrop-filter: blur(18px) saturate(1.15);
}

.privacy-banner > div {
  min-inline-size: 0;
}

.privacy-banner span,
.privacy-dialog header > span {
  color: var(--orange-hot);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.privacy-banner h2,
.privacy-dialog h2 {
  margin: .35rem 0 .55rem;
  font-family: "Axtlan Mirage", "Axtlan Soles", sans-serif;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .035em;
  overflow-wrap: normal;
  word-break: normal;
}

.privacy-banner p,
.privacy-dialog p {
  max-inline-size: 68ch;
  margin: 0;
  color: #c9b8a7;
  font-size: clamp(.78rem, .18vw + .74rem, .9rem);
  line-height: 1.5;
}

.privacy-banner a,
.privacy-dialog a {
  display: inline-block;
  margin-block-start: .65rem;
  color: #d9c2aa;
  font-size: .65rem;
  letter-spacing: .06em;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
}

.privacy-actions button,
.privacy-dialog button,
.privacy-reopen {
  min-block-size: 44px;
  padding: .72rem 1rem;
  border: 1px solid rgb(255 185 120 / .28);
  border-radius: 0;
  background: rgb(255 255 255 / .035);
  color: var(--paper);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.privacy-actions button:is(:hover, :focus-visible),
.privacy-dialog button:is(:hover, :focus-visible),
.privacy-reopen:is(:hover, :focus-visible) {
  border-color: var(--orange-hot);
  outline: 2px solid transparent;
  color: #fff;
}

.privacy-primary {
  border-color: var(--orange) !important;
  background: var(--brand-orange) !important;
  color: #090706 !important;
}

.privacy-reopen {
  position: fixed;
  z-index: 75;
  inset-inline-start: max(1rem, env(safe-area-inset-left));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgb(7 6 5 / .9);
  backdrop-filter: blur(12px);
}

.privacy-reopen-icon {
  flex: 0 0 auto;
  inline-size: 1.15rem;
  block-size: 1.15rem;
  overflow: visible;
  color: var(--orange-hot);
  filter: drop-shadow(0 0 .34rem rgb(255 118 43 / .45));
}

.privacy-reopen-icon .privacy-shield-outline,
.privacy-reopen-icon .privacy-shield-check {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-reopen-icon .privacy-shield-plate {
  fill: currentColor;
  opacity: .94;
}

.privacy-reopen-icon .privacy-shield-outline {
  stroke: rgb(255 236 219 / .86);
  stroke-width: 1.15;
}

.privacy-reopen-icon .privacy-shield-check {
  stroke: #100b08;
  stroke-width: 2.35;
}

.privacy-dialog {
  inline-size: min(760px, calc(100vw - 2rem));
  max-block-size: min(780px, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: clip;
  overscroll-behavior: none;
  border: 1px solid rgb(255 143 59 / .48);
  background: #0b0908;
  color: var(--paper);
  box-shadow: 0 2rem 7rem rgb(0 0 0 / .75);
}

.privacy-dialog::backdrop {
  background: rgb(0 0 0 / .76);
  backdrop-filter: blur(5px);
}

.privacy-dialog form {
  display: grid;
}

.privacy-dialog header {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-block-end: 1px solid var(--line);
}

.privacy-dialog header button {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1rem;
  inline-size: 44px;
  padding: 0;
  font-size: 1.4rem;
}

.privacy-dialog fieldset {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.privacy-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-block-size: 6rem;
  padding: 1.2rem clamp(1.4rem, 4vw, 2.4rem);
  border-block-end: 1px solid var(--line);
}

.privacy-choice > span {
  display: grid;
  gap: .25rem;
  min-inline-size: 0;
}

.privacy-choice strong {
  font-size: .95rem;
  letter-spacing: .05em;
}

.privacy-choice small {
  max-inline-size: 62ch;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

.privacy-choice > b {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .08em;
  text-align: end;
}

.privacy-choice input {
  inline-size: 1.5rem;
  block-size: 1.5rem;
  accent-color: var(--brand-orange);
}

.privacy-dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.4rem, 4vw, 2.4rem);
}

.privacy-dialog footer a {
  margin: 0;
}

body[data-mode="low"] .ambient-field,
body[data-mode="low"] .threshold-sunfield,
body[data-mode="low"] .solar-map::before,
body[data-mode="low"] .identity-scan {
  display: none;
}

body[data-mode="low"] *,
body[data-mode="low"] *::before,
body[data-mode="low"] *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

body[data-mode="low"] .threshold-media img,
body[data-mode="low"] .krek-backgrounds img,
body[data-mode="low"] .identity-rotation img {
  animation: none;
  scale: 1.03;
}

body[data-mode="low"] .krek-backgrounds img {
  opacity: 0;
}

body[data-mode="low"] .krek-backgrounds img:first-child {
  opacity: 1;
}

body[data-mode="low"] .identity-rotation img {
  opacity: 0;
}

body[data-mode="low"] .identity-rotation img:first-child {
  opacity: 1;
}

body[data-mode="low"] .sun-card::before {
  display: none;
}

@container (max-width: 28rem) {
  .scope-ribbon article > span {
    font-size: 1.25rem;
  }
}

@media (max-width: 1120px) {
  .site-brand small {
    display: none;
  }

  .main-navigation {
    gap: .8rem;
  }

  .main-navigation a {
    font-size: .6rem;
  }

  .scope-ribbon {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .scope-ribbon article {
    grid-column: span 2;
  }

  .scope-ribbon article:nth-child(4),
  .scope-ribbon article:nth-child(5) {
    grid-column: span 3;
  }

  .observatory-layout {
    grid-template-columns: 1fr;
  }

  .solar-consequences {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sun-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planet-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .release-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (min-width: 921px) and (max-width: 1280px) {
  .site-header {
    block-size: 58px;
    min-block-size: 58px;
    max-block-size: 58px;
    padding-block: .25rem;
  }

  .site-brand img {
    inline-size: 3rem;
    block-size: 3rem;
    margin: 0;
  }

  .site-brand small {
    display: none;
  }

  .menu-button {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    gap: .7rem;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    font-size: .67rem;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .menu-button i,
  .menu-button i::before,
  .menu-button i::after {
    display: block;
    inline-size: 1.2rem;
    block-size: 1px;
    background: var(--orange);
    content: "";
    transition: rotate .25s ease, translate .25s ease;
  }

  .menu-button i::before { translate: 0 -.35rem; }
  .menu-button i::after { translate: 0 .3rem; }

  .menu-button[aria-expanded="true"] i {
    background: transparent;
  }

  .menu-button[aria-expanded="true"] i::before {
    rotate: 45deg;
    translate: 0;
  }

  .menu-button[aria-expanded="true"] i::after {
    rotate: -45deg;
    translate: 0 -.05rem;
  }

  .main-navigation {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 1rem max(4vw, env(safe-area-inset-right)) 1rem max(4vw, env(safe-area-inset-left));
    border-block-end: 1px solid var(--line);
    background: rgb(6 5 4 / .97);
    opacity: 0;
    pointer-events: none;
    translate: 0 -1rem;
    transition: opacity .25s ease, translate .25s ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    translate: 0;
  }

  .main-navigation > a {
    display: grid;
    place-items: center start;
    min-block-size: 44px;
    padding: .8rem;
    border-block-end: 1px solid rgb(255 255 255 / .06);
  }

  .nav-socials,
  .nav-destinations {
    grid-column: 1 / -1;
  }

  .nav-socials {
    justify-content: start;
    gap: .55rem;
    padding: .85rem .8rem .15rem;
    opacity: 1;
    translate: 0;
    animation: none;
  }

  .nav-socials a {
    inline-size: 2.35rem;
    min-block-size: 2.35rem;
    padding: 0;
    opacity: 0;
    translate: 0 .45rem;
  }

  .main-navigation.is-open .nav-socials a {
    animation: nav-social-reveal .45s cubic-bezier(.2, .75, .2, 1) forwards;
  }

  .main-navigation.is-open .nav-socials a:nth-child(2) { animation-delay: .06s; }
  .main-navigation.is-open .nav-socials a:nth-child(3) { animation-delay: .12s; }

  .nav-destinations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: .45rem .8rem .2rem;
    border-inline-start: 0;
  }

  .nav-destinations a {
    display: grid;
    place-items: center;
    min-block-size: 44px;
    padding: .7rem;
    text-align: center;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-block-size: 68px;
  }

  .menu-button {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    gap: .7rem;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    font-size: .67rem;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .menu-button i,
  .menu-button i::before,
  .menu-button i::after {
    display: block;
    inline-size: 1.2rem;
    block-size: 1px;
    background: var(--orange);
    content: "";
    transition: rotate .25s ease, translate .25s ease;
  }

  .menu-button i::before { translate: 0 -.35rem; }
  .menu-button i::after { translate: 0 .3rem; }

  .menu-button[aria-expanded="true"] i {
    background: transparent;
  }

  .menu-button[aria-expanded="true"] i::before {
    rotate: 45deg;
    translate: 0;
  }

  .menu-button[aria-expanded="true"] i::after {
    rotate: -45deg;
    translate: 0 -.05rem;
  }

  .main-navigation {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 1rem max(4vw, env(safe-area-inset-right)) 1rem max(4vw, env(safe-area-inset-left));
    border-block-end: 1px solid var(--line);
    background: rgb(6 5 4 / .97);
    opacity: 0;
    pointer-events: none;
    translate: 0 -1rem;
    transition: opacity .25s ease, translate .25s ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    translate: 0;
  }

  .main-navigation a {
    min-block-size: 44px;
    padding: .8rem;
    border-block-end: 1px solid rgb(255 255 255 / .06);
  }

  .nav-socials {
    grid-column: 1 / -1;
    justify-content: start;
    gap: .55rem;
    padding: .85rem .8rem .15rem;
    opacity: 1;
    translate: 0;
    animation: none;
  }

  .nav-socials a {
    inline-size: 2.35rem;
    min-block-size: 2.35rem;
    padding: 0;
    border-block-end: 1px solid rgb(212 130 99 / .22);
    opacity: 0;
    translate: 0 .45rem;
  }

  .main-navigation.is-open .nav-socials a {
    animation: nav-social-reveal .45s cubic-bezier(.2, .75, .2, 1) forwards;
  }

  .main-navigation.is-open .nav-socials a:nth-child(2) { animation-delay: .06s; }
  .main-navigation.is-open .nav-socials a:nth-child(3) { animation-delay: .12s; }

  .nav-destinations {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: .45rem .8rem .2rem;
    border-inline-start: 0;
  }

  .nav-destinations a {
    display: grid;
    place-items: center;
    min-block-size: 44px;
    padding: .7rem;
    text-align: center;
  }

  .locale-state {
    align-self: center;
    justify-self: end;
  }

  .universe-scene,
  .creator-scene {
    grid-template-columns: 1fr;
  }

  .universe-instrument {
    inline-size: min(100%, 44rem);
    min-block-size: 30rem;
  }

  .identity-rotation {
    grid-template-columns: 1fr;
  }

  .foundation-intro,
  .public-properties > header,
  .network-directory > header {
    grid-template-columns: 1fr;
  }

  .foundation-chapters {
    grid-template-columns: 1fr;
  }

  .foundation-chapters article {
    min-block-size: clamp(24rem, 70vw, 34rem);
  }

  .observatory-heading {
    grid-template-columns: 1fr;
  }

  .observatory-heading > p:last-child {
    margin: 1rem 0 0;
  }

  .solar-atlas-heading {
    grid-template-columns: 1fr;
  }

  .solar-atlas-heading > p:last-child {
    margin: 0;
  }

  .solar-cycle-selector {
    grid-template-columns: 1fr;
  }

  .solar-cycle-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solar-cycle-buttons button {
    padding-inline: .45rem;
    font-size: clamp(.56rem, 1.7vw, .72rem);
    letter-spacing: .01em;
  }

  .solar-cycle > header {
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .solar-cycle > header p {
    grid-column: 2;
  }

  .doctrine,
  .doctrine:nth-child(even) {
    grid-template-columns: 1fr;
    min-block-size: 44rem;
  }

  .doctrine > div,
  .doctrine:nth-child(even) > div {
    align-self: end;
    grid-column: 1;
    grid-row: 1;
  }

  .doctrine::after,
  .doctrine:nth-child(even)::after {
    background: linear-gradient(0deg, rgb(5 4 3 / .96) 0%, rgb(5 4 3 / .2) 72%);
  }

  .krek-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .krek-panels dl {
    grid-template-columns: 1fr;
  }

  .game-feature {
    grid-template-columns: 1fr;
  }

  .game-feature img {
    min-block-size: 0;
    aspect-ratio: 16 / 9;
  }

  .music-intro {
    grid-template-columns: 1fr;
  }

  .creator-portrait {
    inline-size: min(100%, 34rem);
    aspect-ratio: 4 / 5;
  }

  .route-atlas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-directory > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  :root {
    --pad: clamp(4.5rem, 18vw, 6rem);
  }

  .privacy-banner {
    inset-inline: max(.5rem, env(safe-area-inset-left)) max(.5rem, env(safe-area-inset-right));
    inset-block-end: calc(max(.5rem, env(safe-area-inset-bottom)) + 4.2rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
    max-block-size: calc(100dvh - 5.2rem);
    padding: .75rem;
    overflow: clip;
  }

  .privacy-banner h2 {
    margin: .2rem 0 .35rem;
    font-size: clamp(1.2rem, 7vw, 1.7rem);
  }

  .privacy-banner p {
    font-size: .68rem;
    line-height: 1.35;
  }

  .privacy-banner a {
    margin-block-start: .35rem;
    font-size: .58rem;
  }

  .privacy-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
  }

  .privacy-actions button {
    min-block-size: 40px;
    padding: .48rem .38rem;
    font-size: .58rem;
    line-height: 1.2;
  }

  .privacy-actions .privacy-primary {
    grid-column: 1 / -1;
  }

  .privacy-dialog footer {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .45rem;
    padding: .62rem .75rem;
  }

  .privacy-dialog footer .privacy-primary {
    flex: 1 1 9rem;
    inline-size: auto;
  }

  .privacy-dialog {
    inline-size: calc(100vw - .75rem);
    max-block-size: calc(100dvh - .75rem);
  }

  .privacy-dialog header {
    padding: .72rem 3.25rem .72rem .8rem;
  }

  .privacy-dialog header > span {
    font-size: .5rem;
  }

  .privacy-dialog h2 {
    margin: .18rem 0 .3rem;
    font-size: clamp(1.25rem, 7.4vw, 1.85rem);
    line-height: .94;
  }

  .privacy-dialog p {
    font-size: .66rem;
    line-height: 1.3;
  }

  .privacy-dialog header button {
    inset-block-start: .55rem;
    inset-inline-end: .55rem;
    min-block-size: 40px;
    inline-size: 40px;
  }

  .privacy-choice {
    gap: .55rem;
    min-block-size: 0;
    padding: .58rem .75rem;
  }

  .privacy-choice strong {
    font-size: .76rem;
  }

  .privacy-choice small {
    font-size: .6rem;
    line-height: 1.28;
  }

  .privacy-choice > b {
    font-size: .54rem;
  }

  .privacy-choice input {
    inline-size: 1.25rem;
    block-size: 1.25rem;
  }

  .site-brand small {
    max-inline-size: 42vw;
  }

  .experience-controls {
    inset-inline: max(.75rem, env(safe-area-inset-left)) max(.75rem, env(safe-area-inset-right));
    justify-content: flex-end;
  }

  .experience-controls button {
    padding: .65rem;
  }

  .experience-controls button > span {
    max-inline-size: 5.5rem;
    font-size: .52rem;
  }

  .threshold {
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }

  .threshold::after {
    background:
      linear-gradient(0deg, rgb(4 3 3 / .95) 0%, rgb(4 3 3 / .3) 70%, rgb(4 3 3 / .6)),
      linear-gradient(90deg, rgb(4 3 3 / .6), transparent);
  }

  .threshold-frame {
    inset-inline: 1rem;
  }

  .threshold-copy {
    inline-size: 100%;
    margin: 0;
  }

  .threshold h1 > span {
    font-size: clamp(4.15rem, 24vw, 7.4rem);
  }

  .threshold h1 em {
    max-inline-size: 16ch;
    font-size: clamp(1.45rem, 8.2vw, 2.7rem);
  }

  .threshold-lead {
    max-inline-size: 34rem;
    font-size: .98rem;
  }

  .threshold-ledger {
    inset-block: 8rem auto;
    inset-inline: auto 1.2rem;
    writing-mode: horizontal-tb;
    flex-direction: column;
    align-items: flex-end;
    gap: .25rem;
  }


  html[dir="rtl"] .threshold-ledger {
    inset-inline: auto 1.2rem;
    align-items: flex-end;
  }

  .threshold-ledger > span {
    font-size: .48rem;
  }

  .scroll-cue {
    display: none;
  }

  .scene-heading h2 {
    font-size: clamp(2.25rem, 13vw, 4.25rem);
    line-height: .92;
  }

  .boundary-ledger div {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .scope-ribbon {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .scope-ribbon article,
  .scope-ribbon article:nth-child(4),
  .scope-ribbon article:nth-child(5) {
    grid-column: 1;
    min-block-size: 23rem;
  }

  .solar-map {
    aspect-ratio: .9;
  }

  .solar-consequences {
    grid-template-columns: 1fr;
  }

  .solar-cycle > header {
    grid-template-columns: 1fr;
    gap: .65rem;
  }

  .solar-cycle > header p {
    grid-column: 1;
  }

  .sun-card-grid {
    grid-template-columns: 1fr;
  }

  .sun-card {
    min-block-size: 0;
  }

  .planet-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planet-facts div,
  .planet-facts div:nth-child(3n),
  .planet-facts div:nth-child(4n) {
    border-inline-end: 1px solid var(--line);
  }

  .planet-facts div:nth-child(2n) {
    border-inline-end: 0;
  }

  .doctrine {
    min-block-size: 39rem;
  }

  .doctrine > div {
    padding: 1.5rem;
  }

  .doctrine h3 {
    font-size: clamp(2.4rem, 12cqi, 5rem);
  }

  .krek-section {
    padding-inline: 1rem;
  }

  .krek-heading h2 {
    font-size: clamp(2.8rem, 15vw, 5rem);
  }

  .krek-story {
    grid-template-columns: 1fr;
  }

  .krek-console {
    grid-template-columns: 1fr;
  }

  .krek-tabs {
    --krek-selection-shadow: inset 0 -3px var(--orange);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: .42rem;
    padding: .62rem;
    overflow: visible;
    border: 0;
    border-block-end: 1px solid rgb(255 133 85 / .18);
  }

  .krek-tabs button {
    min-block-size: 62px;
    padding: 1.55rem .4rem .55rem;
    font-size: clamp(.5rem, 2.5vw, .63rem);
    letter-spacing: .035em;
    text-align: center;
  }

  .krek-tabs button::before {
    inset: .55rem 50% auto auto;
    transform: translateX(50%);
  }

  .krek-tabs button:is(:hover, :focus-visible) {
    transform: translateY(-.12rem);
  }

  .krek-panels {
    min-block-size: 19rem;
  }

  .game-feature {
    inline-size: 100%;
  }

  .game-development-feature {
    grid-template-columns: 1fr;
  }

  .game-development-feature img {
    min-block-size: 0;
    aspect-ratio: 16 / 9;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid figure,
  .process-grid figure:nth-child(2),
  .process-grid figure:nth-child(4) {
    grid-column: 1;
  }

  .subhead {
    grid-template-columns: 1fr;
  }

  .subhead > a {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }

  .art-rail {
    grid-auto-columns: 82vw;
  }

  .audio-reactive {
    min-block-size: 13rem;
    padding: 1rem;
  }

  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creator-portrait {
    inline-size: min(100%, 34rem);
    aspect-ratio: 4 / 5;
  }

  .route-atlas,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .universe-instrument {
    min-block-size: 30rem;
    padding: 1rem;
    clip-path: none;
  }

  .universe-instrument dl {
    grid-template-columns: 1fr;
  }

  .foundation-intro h2 {
    font-size: clamp(2.25rem, 11.5vw, 4.3rem);
  }

  .foundation-chapters article > div {
    padding: 1.5rem;
  }

  .foundation-chapters h3 {
    font-size: clamp(2rem, 10.5vw, 3.8rem);
  }

  .analogy-note {
    grid-template-columns: 1fr;
  }

  .public-properties,
  .network-directory > div {
    grid-template-columns: 1fr;
  }

  .public-properties > header,
  .network-directory > header {
    padding: 1.5rem;
  }

  .public-properties h3,
  .network-directory h3 {
    font-size: clamp(2.1rem, 10.5vw, 4rem);
  }

  .public-properties aside {
    grid-template-columns: 1fr;
  }

  .institutional-line {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .institutional-line img {
    inline-size: min(12rem, 70%);
  }

  .institutional-line a {
    text-align: start;
  }

  .route-atlas > a {
    min-block-size: 14rem;
  }

  .route-atlas strong {
    margin-block-start: 2.8rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
  }
}

@media (max-width: 370px) {
  .krek-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-brand small {
    display: none;
  }

  .menu-button > span {
    display: none;
  }

  .experience-controls button > span {
    display: none;
  }

  .threshold-wordmark {
    inline-size: 100%;
  }

  .threshold h1 em {
    font-size: clamp(1.32rem, 8vw, 2rem);
  }

  .planet-facts {
    grid-template-columns: 1fr;
  }

  .planet-facts div,
  .planet-facts div:nth-child(2n),
  .planet-facts div:nth-child(3n) {
    border-inline-end: 0;
    border-block-end: 1px solid var(--line);
  }

  .release-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body:not([data-motion-override="full"]) *,
  body:not([data-motion-override="full"]) *::before,
  body:not([data-motion-override="full"]) *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  body:not([data-motion-override="full"]) [data-reveal] {
    opacity: 1;
    translate: none;
  }

  body:not([data-motion-override="full"]) .krek-backgrounds img {
    opacity: 0;
  }

  body:not([data-motion-override="full"]) .krek-backgrounds img:first-child {
    opacity: 1;
  }

  body:not([data-motion-override="full"]) .nav-socials,
  body:not([data-motion-override="full"]) .nav-socials a,
  body:not([data-motion-override="full"]) .threshold-wordmark {
    opacity: 1;
    translate: 0;
    clip-path: none;
  }

  html:has(body:not([data-motion-override="full"]))::view-transition-old(root),
  html:has(body:not([data-motion-override="full"]))::view-transition-new(root),
  html:has(body:not([data-motion-override="full"]))::view-transition-old(krek-dossier),
  html:has(body:not([data-motion-override="full"]))::view-transition-new(krek-dossier),
  html:has(body:not([data-motion-override="full"]))::view-transition-old(solar-cycle),
  html:has(body:not([data-motion-override="full"]))::view-transition-new(solar-cycle) {
    animation: none !important;
  }
}

@media (prefers-reduced-data: reduce) {
  body:not([data-motion-override="full"]) .ambient-field,
  body:not([data-motion-override="full"]) .threshold-sunfield,
  body:not([data-motion-override="full"]) .identity-scan,
  body:not([data-motion-override="full"]) .solar-map::before {
    display: none;
  }
}

@media (forced-colors: active) {
  .privacy-banner,
  .privacy-dialog,
  .privacy-reopen,
  .privacy-actions button,
  .privacy-dialog button {
    border-color: ButtonText;
    background: Canvas;
    color: CanvasText;
    forced-color-adjust: auto;
  }

  .threshold::after,
  .krek-shade {
    background: Canvas;
    opacity: .72;
  }

  .scope-ribbon article > span,
  .doctrine > div,
  .threshold-copy {
    background: Canvas;
  }

  .threshold h1 em,
  .scene-heading h2,
  .krek-heading h2 {
    text-shadow: none;
    -webkit-text-stroke: 0;
  }
}

@media (dynamic-range: high) {
  .threshold-media img,
  .doctrine img {
    filter: contrast(1.04) saturate(1.08) brightness(1.03);
  }
}

body[data-theme="light"] {
  color-scheme: light;
  --ink: #f4ecdf;
  --ink-soft: #fffaf2;
  --paper: #1d160f;
  --muted: #5f5145;
  --line: rgb(103 57 23 / .35);
  background:
    radial-gradient(circle at 18% 8%, rgb(213 99 32 / .12), transparent 34rem),
    radial-gradient(circle at 80% 45%, rgb(31 116 151 / .08), transparent 38rem),
    var(--ink);
}

body[data-theme="light"] :is(
  .site-header,
  .main-navigation,
  .universe-scene,
  .observatory-scene,
  .making-scene,
  .creator-scene,
  .routes-scene,
  .sun-card,
  .boundary-ledger div,
  .release-grid a,
  .closing-grid details,
  .control-dialog > form
) {
  background-color: rgb(255 250 242 / .97);
  color: #1d160f;
}

body[data-theme="light"] :is(
  .universe-statement p,
  .scene-heading > p:last-child,
  .creator-prose,
  .foundation-chapters p,
  .sun-card dd,
  .sun-role,
  .subhead p,
  .institutional-line p,
  .closing-grid p
) {
  color: #5f5145;
}

body[data-theme="light"] :is(.site-header, .experience-controls button) {
  background: rgb(255 250 242 / .9);
}

body[data-theme="light"] :is(
  .solar-cycle,
  .solar-consequences article,
  .planet-facts,
  .game-feature,
  .game-development-feature,
  .process-section,
  .art-section,
  .music-section,
  .route-atlas > a,
  .public-properties article,
  .public-properties aside,
  .network-directory section,
  .institutional-line
) {
  background-color: #fffaf2;
  color: #1d160f;
}

body[data-theme="light"] .site-brand strong,
body[data-theme="light"] .main-navigation > a,
body[data-theme="light"] .experience-controls button {
  color: #20170f;
}

body[data-theme="light"] .experience-controls button b {
  color: #20170f;
}

body[data-theme="light"] .experience-controls button small {
  color: #665345;
}

body[data-theme="light"] .threshold,
body[data-theme="light"] .doctrine,
body[data-theme="light"] .foundation-chapters article {
  color: #fffaf2;
}

body[data-theme="light"] .control-choice,
body[data-theme="light"] .control-action,
body[data-theme="light"] .control-select,
body[data-theme="light"] .segmented-control,
body[data-theme="light"] .locale-list {
  background: #fffaf2;
}

body[data-theme="light"] :is(
  .experience-category,
  .experience-category-panel,
  .experience-category-trigger,
  .segmented-control button,
  .colour-support-sources
) {
  border-color: rgb(103 57 23 / .35);
  background: #fffaf2;
  color: #21170f;
}

body[data-theme="light"] .experience-category-trigger[aria-expanded="true"] {
  background: linear-gradient(90deg, rgb(198 78 13 / .16), rgb(198 78 13 / .035));
  color: #21170f;
}

body[data-theme="light"] .experience-category-trigger small {
  color: #665345;
}

body[data-theme="light"] .control-select select {
  border-color: rgb(130 58 17 / .7);
  background: #fffaf2;
  color: #21170f;
}

body[data-contrast="high"] {
  --line: rgb(255 172 92 / .76);
}

body[data-theme="light"][data-contrast="high"] {
  --line: rgb(87 38 7 / .78);
}

body[data-contrast="high"] :is(button, a, summary, select, input) {
  outline-offset: 3px;
}

body[data-contrast="high"] :is(
  .scene-heading h2,
  .subhead h3,
  .sun-card h4,
  .foundation-chapters h3,
  .creator-copy blockquote
) {
  text-shadow: 0 2px 0 #000, 0 0 18px rgb(255 118 40 / .5);
}

body[data-readable-type="true"] {
  --axtlan-reading: "Segoe UI", Arial, sans-serif;
}

body[data-readable-type="true"] :is(p, li, dd, summary, button, a) {
  font-family: "Segoe UI", Arial, sans-serif;
}

body[data-readable-type="true"] :is(
  input,
  select,
  textarea,
  label,
  dt,
  figcaption,
  blockquote
) {
  font-family: "Segoe UI", Arial, sans-serif;
}

html[data-type-size="large"] {
  font-size: 112.5%;
}

html[data-type-size="xlarge"] {
  font-size: 125%;
}

body[data-link-cues="true"] main a:not(.primary-action, .scroll-cue, .art-rail a) {
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}

body[data-colour-vision="deuteranopia"] {
  --ink: #06111a;
  --ink-soft: #0d1b26;
  --paper: #fff8ef;
  --muted: #d8d4ce;
  --orange: #ffcf66;
  --orange-hot: #ffe09a;
  --gold: #78c7ff;
  --cyan: #78c7ff;
  --line: rgb(242 234 223 / .74);
  --support-boundary: #f2eadf;
  --support-focus: #78c7ff;
  --support-visual-filter: saturate(.72) contrast(1.12) sepia(.08);
  --support-visual-wash: linear-gradient(135deg, rgb(0 91 150 / .12), rgb(255 200 74 / .09));
}

body[data-colour-vision="protanopia"] {
  --ink: #151006;
  --ink-soft: #21190a;
  --paper: #fff8ef;
  --muted: #d8d4ce;
  --orange: #f5c451;
  --orange-hot: #ffe08a;
  --gold: #6ecff6;
  --cyan: #6ecff6;
  --line: rgb(242 234 223 / .74);
  --support-boundary: #f2eadf;
  --support-focus: #6ecff6;
  --support-visual-filter: saturate(.68) contrast(1.13) sepia(.12);
  --support-visual-wash: linear-gradient(135deg, rgb(0 148 190 / .11), rgb(245 196 81 / .1));
}

body[data-colour-vision="tritanopia"] {
  --ink: #150c15;
  --ink-soft: #231426;
  --paper: #fff8ef;
  --muted: #d8d4ce;
  --orange: #f7f7f7;
  --orange-hot: #ffffff;
  --gold: #ff9ad5;
  --cyan: #ff9ad5;
  --line: rgb(238 238 238 / .76);
  --support-boundary: #eeeeee;
  --support-focus: #ff9ad5;
  --support-visual-filter: saturate(.66) contrast(1.14);
  --support-visual-wash: linear-gradient(135deg, rgb(255 154 213 / .12), rgb(235 235 235 / .07));
}

body[data-colour-vision="achromatopsia"] {
  --ink: #070707;
  --ink-soft: #111111;
  --paper: #ffffff;
  --muted: #d6d6d6;
  --orange: #fff;
  --orange-hot: #fff;
  --gold: #c8c8c8;
  --cyan: #c8c8c8;
  --line: rgb(255 255 255 / .78);
  --support-boundary: #ffffff;
  --support-focus: #ffffff;
  --support-visual-filter: grayscale(1) contrast(1.2);
  --support-visual-wash: rgb(255 255 255);
}

body[data-theme="light"][data-colour-vision="deuteranopia"] {
  --ink: #f3f8ff;
  --ink-soft: #e7f0fa;
  --paper: #17130f;
  --muted: #4b4540;
  --orange: #6b4500;
  --orange-hot: #4e3300;
  --gold: #005a85;
  --cyan: #005a85;
  --line: rgb(47 42 37 / .74);
  --support-boundary: #2f2a25;
  --support-focus: #005a85;
}

body[data-theme="light"][data-colour-vision="protanopia"] {
  --ink: #fff8e8;
  --ink-soft: #f5ead0;
  --paper: #17130f;
  --muted: #4b4540;
  --orange: #674300;
  --orange-hot: #4b3100;
  --gold: #005a7a;
  --cyan: #005a7a;
  --line: rgb(47 42 37 / .74);
  --support-boundary: #2f2a25;
  --support-focus: #005a7a;
}

body[data-theme="light"][data-colour-vision="tritanopia"] {
  --ink: #fff6fb;
  --ink-soft: #f3e7ef;
  --paper: #17130f;
  --muted: #4b4540;
  --orange: #2e2e2e;
  --orange-hot: #111111;
  --gold: #7a1f52;
  --cyan: #7a1f52;
  --line: rgb(47 42 37 / .74);
  --support-boundary: #2f2a25;
  --support-focus: #7a1f52;
}

body[data-theme="light"][data-colour-vision="achromatopsia"] {
  --ink: #ffffff;
  --ink-soft: #f1f1f1;
  --paper: #111111;
  --muted: #444444;
  --orange: #111111;
  --orange-hot: #000000;
  --gold: #333333;
  --cyan: #333333;
  --line: rgb(17 17 17 / .78);
  --support-boundary: #111111;
  --support-focus: #111111;
}

body:not([data-colour-vision="standard"]) a[href]:not(.site-brand) {
  text-decoration-line: underline;
  text-decoration-thickness: max(2px, .11em);
  text-underline-offset: .2em;
}

body:not([data-colour-vision="standard"]) :is(
  button,
  select,
  summary,
  [role="tab"],
  [role="option"],
  .primary-action,
  .secondary-action
) {
  border-color: var(--support-boundary);
}

body:not([data-colour-vision="standard"]) :is(
  button,
  select,
  summary,
  a[href],
  [tabindex]
):focus-visible {
  outline: 3px solid var(--support-focus);
  outline-offset: 3px;
}

body:not([data-colour-vision="standard"]) :is(
  [aria-pressed="true"],
  [aria-selected="true"],
  [aria-current="page"]
) {
  outline: 3px double var(--support-focus);
  outline-offset: 3px;
  box-shadow: inset 0 -4px 0 var(--support-focus);
  text-decoration-line: underline;
  text-decoration-style: double;
  text-underline-offset: .22em;
}

body:not([data-colour-vision="standard"]) .sun-card {
  border-inline-start: .35rem solid var(--support-boundary);
}

body:not([data-colour-vision="standard"]) :is(
  .sun-card header > span,
  .sun-role > span,
  .solar-cycle > header > span,
  .eyebrow
) {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

body:not([data-colour-vision="standard"]) {
  background: var(--ink);
  color: var(--paper);
}

body:not([data-colour-vision="standard"]) :is(
  .site-header,
  .main-navigation,
  .universe-scene,
  .observatory-scene,
  .making-scene,
  .creator-scene,
  .routes-scene,
  .sun-card,
  .boundary-ledger div,
  .release-grid a,
  .closing-grid details,
  .control-dialog > form,
  .solar-cycle,
  .solar-consequences article,
  .planet-facts,
  .game-feature,
  .game-development-feature,
  .process-section,
  .art-section,
  .music-section,
  .experience-category,
  .experience-category-panel,
  .route-atlas > a,
  .public-properties article,
  .public-properties aside,
  .network-directory section,
  .institutional-line
) {
  border-color: var(--support-boundary);
  background-color: var(--ink-soft);
  color: var(--paper);
}

body:not([data-colour-vision="standard"]) main :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  dt,
  dd,
  figcaption,
  label,
  legend,
  summary
) {
  color: var(--paper);
}

body:not([data-colour-vision="standard"]) :is(
  .control-choice,
  .control-action,
  .control-select,
  .experience-category-trigger,
  .colour-support-sources,
  .segmented-control button,
  .locale-route-link,
  .control-select select,
  .experience-controls button
) {
  border-color: var(--support-boundary);
  background: var(--ink-soft);
  color: var(--paper);
}

body:not([data-colour-vision="standard"]) :is(
  button[aria-pressed="true"],
  [role="tab"][aria-selected="true"],
  [aria-current="page"]
) {
  background-color: var(--support-focus);
  color: var(--ink);
}

body:not([data-colour-vision="standard"]) input {
  accent-color: var(--support-focus);
}

body:not([data-colour-vision="standard"]) main {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

body:not([data-colour-vision="standard"]) main :where(
  .scene,
  .scene-heading,
  .threshold-frame,
  .threshold-ledger,
  .universe-statement,
  .boundary-ledger > *,
  .observatory-layout,
  .solar-cycle,
  .solar-consequences > *,
  .planet-facts,
  .doctrine,
  .krek-console,
  .krek-panels > *,
  .process-section,
  .process-grid > *,
  .creator-copy,
  .foundation-intro,
  .foundation-chapters > *,
  .art-section,
  .music-section,
  .game-development-feature,
  .route-atlas > *,
  .public-properties > *,
  .network-directory > *,
  .institutional-line,
  .closing-grid > *
) {
  border-color: var(--support-boundary) !important;
}

body:not([data-colour-vision="standard"]) main :where(
  .universe-statement,
  .boundary-ledger > *,
  .solar-cycle,
  .solar-consequences > *,
  .planet-facts,
  .sun-card,
  .krek-console,
  .krek-panels > *,
  .process-grid > *,
  .creator-copy,
  .foundation-intro,
  .foundation-chapters > *,
  .game-development-feature,
  .route-atlas > *,
  .public-properties > *,
  .network-directory > *,
  .institutional-line,
  .closing-grid > *
) {
  background-color: var(--ink-soft) !important;
  color: var(--paper) !important;
  box-shadow:
    inset 0 0 0 1px var(--support-boundary),
    0 0 1.5rem color-mix(in srgb, var(--support-focus) 14%, transparent) !important;
}

body:not([data-colour-vision="standard"]) main :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .scene-index,
  .eyebrow,
  .sun-type,
  .sun-role > span
) {
  color: var(--orange) !important;
  text-shadow: 0 0 .7rem color-mix(in srgb, var(--support-focus) 32%, transparent) !important;
}

body:not([data-colour-vision="standard"]) main :where(
  p,
  li,
  dt,
  dd,
  figcaption,
  blockquote,
  summary,
  label,
  legend
) {
  color: var(--paper) !important;
}

body:not([data-colour-vision="standard"]) main a[href] {
  color: var(--gold) !important;
}

body:not([data-colour-vision="standard"]) :where(
  .primary-action,
  .privacy-primary,
  button[aria-pressed="true"],
  [role="tab"][aria-selected="true"],
  [aria-current="page"]
) {
  border-color: var(--support-focus) !important;
  background: var(--support-focus) !important;
  color: var(--ink) !important;
}

body:not([data-colour-vision="standard"]) :where(
  .site-header,
  .main-navigation,
  .experience-controls button,
  .control-dialog > form,
  .experience-category,
  .experience-category-panel,
  .privacy-banner,
  .privacy-dialog > form
) {
  border-color: var(--support-boundary) !important;
  background-color: var(--ink-soft) !important;
  color: var(--paper) !important;
}

body:not([data-colour-vision="standard"]) .page-progress {
  background: var(--support-focus) !important;
}

.colour-vision-visual-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

body:not([data-colour-vision="standard"]) .colour-vision-visual-layer {
  opacity: 1;
  background: var(--support-visual-wash);
  mix-blend-mode: color;
  -webkit-backdrop-filter: var(--support-visual-filter);
  backdrop-filter: var(--support-visual-filter);
}

@supports not ((backdrop-filter: contrast(1)) or (-webkit-backdrop-filter: contrast(1))) {
  body:not([data-colour-vision="standard"]) > :not(.colour-vision-visual-layer) {
    filter: var(--support-visual-filter);
  }
}

body[data-motion="reduced"] .colour-vision-visual-layer {
  transition: none;
}

.locale-state {
  appearance: none;
  padding: 0;
  background: rgb(7 6 5 / .3);
  font-family: "Axtlan Soles", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
}

.locale-state:is(:hover, :focus-visible) {
  border-color: #ffb36a;
  background: rgb(255 126 37 / .15);
  color: #fff7ed;
}

.experience-controls {
  inline-size: min(31rem, calc(100vw - 2rem));
}

.experience-controls button {
  inline-size: 100%;
  justify-content: flex-start;
  border-color: rgb(255 186 112 / .62);
  box-shadow: 0 8px 38px rgb(0 0 0 / .36), inset 0 0 0 1px rgb(255 255 255 / .035);
}

.experience-controls button > span:last-child {
  display: grid;
  max-inline-size: none;
  gap: .16rem;
}

.experience-controls button b,
.experience-controls button small {
  font: inherit;
}

.experience-controls button b {
  color: #fff8ef;
}

.experience-controls button small {
  color: #d9c7b8;
  font-size: .54rem;
  letter-spacing: .06em;
}

.experience-controls .experience-settings-button {
  position: relative;
  flex: 1 1 auto;
  inline-size: auto;
}

.performance-auto-status {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: .38rem;
  max-inline-size: 10.5rem;
  padding-inline-start: .5rem;
  border-inline-start: 1px solid rgb(255 179 106 / .45);
}

.performance-auto-status > span {
  display: grid;
  min-inline-size: 0;
  gap: .18rem;
}

.performance-auto-status[hidden] {
  display: none;
}

.performance-auto-status > i {
  flex: 0 0 .48rem;
  inline-size: .48rem;
  block-size: .48rem;
  border-radius: 50%;
  background: #ff9c4b;
  box-shadow: 0 0 .45rem #ff792d, 0 0 1rem rgb(255 121 45 / .54);
  animation: performance-status-pulse 1.8s ease-in-out infinite;
}

.performance-auto-status small {
  color: #ffe4c9;
  line-height: 1.25;
}

.performance-recovery-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .28rem;
  color: #ffb66f;
  font-size: .48rem;
  letter-spacing: .065em;
  line-height: 1.15;
  text-transform: uppercase;
}

body[data-automatic-low-active] .experience-settings-button {
  border-color: #ff9a49;
  box-shadow:
    0 0 1.2rem rgb(255 111 37 / .28),
    inset 0 0 1rem rgb(92 220 240 / .08);
}

@keyframes performance-status-pulse {
  50% {
    opacity: .42;
    scale: .78;
  }
}

.experience-controls .persistent-audio-toggle {
  container-type: inline-size;
  flex: 1 1 auto;
  inline-size: 0;
  min-inline-size: 0;
  justify-content: center;
  gap: .5rem;
  padding-inline: .72rem;
}

.experience-controls .persistent-audio-copy {
  display: block;
  min-inline-size: 0;
  max-inline-size: 100%;
  background: linear-gradient(90deg, #ffb36a 0%, #fff1dc 32%, #77dff1 58%, #ff8a4c 82%, #ffb36a 100%);
  background-size: 220% 100%;
  color: #fff8ef;
  font-size: clamp(.42rem, 6cqi, .55rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-transform: uppercase;
  transition: color 260ms ease, filter 260ms ease, opacity 220ms ease;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .experience-controls .persistent-audio-copy {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
      drop-shadow(0 0 .24rem rgb(255 128 53 / .58))
      drop-shadow(0 0 .52rem rgb(100 220 241 / .22));
  }
}

body[data-mode="full"][data-motion="full"] .persistent-audio-copy {
  animation: audio-copy-chromatic 5.8s ease-in-out infinite;
}

@keyframes audio-copy-chromatic {
  50% {
    background-position: 100% 0;
    filter:
      drop-shadow(0 0 .36rem rgb(99 221 241 / .66))
      drop-shadow(0 0 .72rem rgb(255 118 44 / .32));
  }
}

.control-glyph {
  display: grid;
  flex: 0 0 2rem;
  place-items: center;
  min-block-size: 2rem;
  border: 1px solid #ffb36a;
  border-radius: .4rem;
  color: #ffb36a;
  font-size: 1rem;
}

.control-dialog {
  inline-size: min(70rem, calc(100vw - 2rem));
  max-block-size: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  border: 1px solid rgb(255 181 106 / .68);
  background: transparent;
  color: var(--paper);
}

.control-dialog::backdrop {
  background: rgb(0 0 0 / .76);
  backdrop-filter: blur(12px) saturate(.7);
}

.control-dialog > form {
  min-inline-size: 0;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  background:
    linear-gradient(135deg, rgb(255 112 33 / .075), transparent 36%),
    #0b0907;
}

.control-dialog header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-block-end: 1.1rem;
  border-block-end: 1px solid var(--line);
}

.control-dialog header span,
.control-dialog legend {
  color: #ffb36a;
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .13em;
}

.control-dialog h2 {
  margin: .4rem 0 0;
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  line-height: .92;
  text-wrap: balance;
}

.experience-dialog {
  position: fixed;
  inset: auto max(.75rem, env(safe-area-inset-right)) max(4.7rem, calc(.75rem + env(safe-area-inset-bottom))) auto;
  inline-size: min(26rem, calc(100vw - 1.5rem));
  max-block-size: none;
  margin: 0;
  overflow: hidden;
  overflow: clip;
  border-radius: .85rem;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / .58), 0 0 2.5rem rgb(255 112 33 / .08);
  transform-origin: 100% 100%;
  contain: layout paint;
}

.experience-dialog[open] {
  animation: experience-rail-in .22s cubic-bezier(.2, .75, .25, 1) both;
}

.experience-dialog[data-closing] {
  pointer-events: none;
  animation: experience-rail-out .18s cubic-bezier(.4, 0, 1, 1) both;
}

.experience-dialog::backdrop {
  animation: experience-backdrop-in .2s ease-out both;
}

.experience-dialog[data-closing]::backdrop {
  animation: experience-backdrop-out .18s ease-in both;
}

@keyframes experience-rail-in {
  from {
    opacity: 0;
    transform: translate3d(0, .6rem, 0) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes experience-rail-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translate3d(0, .35rem, 0) scale(.99);
  }
}

@keyframes experience-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes experience-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.experience-dialog > form {
  padding: 0;
  overflow: visible;
}

.experience-dialog header {
  align-items: center;
  padding: .8rem .85rem;
}

.experience-dialog header span {
  font-size: .52rem;
}

.experience-dialog h2 {
  margin-block-start: .2rem;
  font-size: clamp(1.15rem, 4vw, 1.55rem);
  line-height: 1;
}

.control-dialog header > button {
  flex: 0 0 44px;
  min-block-size: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.control-dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-block-start: 1rem;
}

.experience-category-rail {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.experience-category {
  position: relative;
  min-inline-size: 0;
  overflow: clip;
  background: #0b0907;
}

.experience-category::after {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  inline-size: 2px;
  background: linear-gradient(180deg, transparent, var(--orange), var(--cyan), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  translate: 0 -45%;
}

body[data-mode="full"][data-motion="full"] .experience-category.is-active::after {
  animation: experience-category-scan 2.8s ease-in-out infinite;
}

.experience-category-trigger {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr) 1rem;
  align-items: center;
  gap: .65rem;
  inline-size: 100%;
  min-block-size: 48px;
  padding: .55rem .8rem;
  border: 0;
  background: #0f0c09;
  color: var(--paper);
  text-align: start;
  cursor: pointer;
  touch-action: manipulation;
}

.experience-category-trigger > span:first-child {
  color: var(--orange);
  font-family: "Axtlan Detector", monospace;
  font-size: .56rem;
  letter-spacing: .08em;
}

.experience-category-trigger > span:nth-child(2) {
  display: grid;
  gap: .05rem;
  min-inline-size: 0;
}

.experience-category-trigger strong {
  font-family: "Axtlan Soles", Georgia, serif;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.experience-category-trigger small {
  overflow: hidden;
  color: var(--muted);
  font-size: .58rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.experience-category-trigger > i {
  position: relative;
  inline-size: .7rem;
  block-size: .7rem;
}

.experience-category-trigger > i::before,
.experience-category-trigger > i::after {
  position: absolute;
  inset: 50% 0 auto;
  block-size: 1px;
  background: currentColor;
  content: "";
  transition: rotate .14s ease, opacity .14s ease;
}

.experience-category-trigger > i::after {
  rotate: 90deg;
}

.experience-category-trigger[aria-expanded="true"] {
  background: linear-gradient(90deg, rgb(255 112 33 / .13), rgb(255 112 33 / .025));
  color: #fff3e7;
  box-shadow: inset 3px 0 var(--orange);
}

.experience-category-trigger[aria-expanded="true"] > i::after {
  opacity: 0;
  rotate: 0deg;
}

.experience-category-trigger:is(:hover, :focus-visible) {
  background: rgb(255 112 33 / .1);
}

.experience-category-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  opacity: 0;
  background:
    linear-gradient(135deg, rgb(255 112 33 / .055), transparent 46%),
    #090806;
  transform: translate3d(0, -.18rem, 0);
  transform-origin: 50% 0;
  transition:
    grid-template-rows .22s cubic-bezier(.2, .72, .22, 1),
    opacity .18s ease-out,
    transform .22s cubic-bezier(.2, .72, .22, 1),
    visibility 0s linear .22s;
  will-change: grid-template-rows, opacity, transform;
}

.experience-category-panel[data-expanded="true"] {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    grid-template-rows .22s cubic-bezier(.2, .72, .22, 1),
    opacity .2s ease-out,
    transform .22s cubic-bezier(.2, .72, .22, 1),
    visibility 0s linear;
}

.experience-category-panel > fieldset {
  min-block-size: 0;
  overflow: hidden;
  padding-block: 0;
  transition: padding-block .22s cubic-bezier(.2, .72, .22, 1);
}

.experience-category-panel[data-transitioning] {
  pointer-events: none;
}

@keyframes experience-category-scan {
  0%,
  14% {
    opacity: 0;
    translate: 0 -45%;
  }
  42% {
    opacity: .82;
  }
  74%,
  100% {
    opacity: 0;
    translate: 0 45%;
  }
}

.experience-dialog .experience-category-panel fieldset {
  padding-inline: .8rem;
  border: 0;
}

.experience-dialog .experience-category-panel[data-expanded="true"] > fieldset {
  padding-block: .15rem .8rem;
}

.experience-category-panel .segmented-control {
  margin-block-start: .45rem;
}

.experience-category-panel .control-choice,
.experience-category-panel .control-action,
.experience-category-panel .control-select {
  min-block-size: 48px;
  margin-block-start: .4rem;
  padding: .58rem .65rem;
}

.experience-category-panel .control-select {
  align-items: stretch;
  flex-direction: column;
  gap: .5rem;
}

.experience-category-panel .control-select select {
  inline-size: 100%;
  max-inline-size: none;
  padding-inline: .55rem;
}

.control-subgroup {
  margin-block-start: .65rem;
}

.control-subgroup > span,
.colour-support-sources > summary {
  color: #ffb36a;
  font-family: var(--axtlan-reading);
  font-size: .58rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.colour-support-sources {
  margin-block-start: .55rem;
  padding: .55rem .65rem;
  border: 1px solid rgb(255 255 255 / .1);
}

.colour-support-sources > summary {
  min-block-size: 28px;
  cursor: pointer;
  touch-action: manipulation;
}

.colour-support-sources .control-note {
  margin-block-end: 0;
}

.control-dialog fieldset {
  min-inline-size: 0;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-block-start: .7rem;
  background: var(--line);
}

.segmented-control button {
  min-block-size: 44px;
  border: 0;
  background: #110e0b;
  color: currentColor;
  cursor: pointer;
}

.segmented-control button[aria-pressed="true"] {
  background: #ffe0c2;
  color: #281508;
  box-shadow: inset 0 -3px #9c3500;
}

.control-choice,
.control-action,
.control-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-block-size: 54px;
  margin-block-start: .65rem;
  padding: .75rem;
  border: 1px solid rgb(255 255 255 / .13);
  background: #100d0b;
  color: currentColor;
}

.control-choice > span,
.control-action > span,
.control-select > span {
  display: grid;
  min-inline-size: 0;
}

.control-choice small,
.control-action small,
.control-select small,
.control-note,
.audio-control-field > p {
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.4;
}

.control-choice input {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  accent-color: #c64e0d;
}

.control-select select {
  min-block-size: 44px;
  max-inline-size: 13rem;
  border: 1px solid #ffb36a;
  background: #090706;
  color: currentColor;
  font: inherit;
}

.control-note {
  margin: .65rem 0 0;
}

.colour-support-status {
  min-block-size: 2.8em;
  padding-inline-start: .75rem;
  border-inline-start: 3px solid var(--orange);
}

.colour-support-sources a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: .1em;
  text-underline-offset: .16em;
}

.colour-support-sources a:is(:hover, :focus-visible) {
  color: var(--orange);
}

.control-action {
  inline-size: 100%;
  text-align: start;
  cursor: pointer;
}

.performance-advisory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  margin-block-start: .55rem;
  padding: .68rem .75rem;
  border: 1px solid rgb(255 179 106 / .42);
  background:
    linear-gradient(100deg, rgb(255 113 31 / .16), transparent 72%),
    rgb(17 12 8 / .86);
  box-shadow: inset 3px 0 #ff792d;
}

.performance-advisory[hidden] {
  display: none;
}

.performance-advisory p {
  margin: 0;
  color: #ffe6cf;
  font-size: .68rem;
  line-height: 1.4;
}

.performance-advisory button {
  min-block-size: 40px;
  padding: .55rem .7rem;
  border: 1px solid #ffb36a;
  background: rgb(8 6 5 / .76);
  color: #fff8ef;
  font: 700 .58rem/1.2 "Axtlan Soles", serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.performance-advisory button:is(:hover, :focus-visible) {
  background: #ffb36a;
  color: #241007;
}

body[data-theme="light"] .performance-auto-status {
  border-inline-color: rgb(117 54 22 / .32);
}

body[data-theme="light"] .performance-auto-status small {
  color: #5b2e1b;
}

body[data-theme="light"] .performance-recovery-path {
  color: #7c2d10;
}

body[data-theme="light"][data-automatic-low-active] .experience-settings-button {
  border-color: #a64018;
  box-shadow:
    0 0 1.15rem rgb(176 62 17 / .18),
    inset 0 0 1rem rgb(31 143 169 / .09);
}

body[data-theme="light"] .performance-advisory {
  border-color: rgb(146 69 28 / .38);
  background:
    linear-gradient(100deg, rgb(255 139 72 / .18), transparent 72%),
    rgb(255 248 236 / .94);
  box-shadow: inset 3px 0 #c84d12;
}

body[data-theme="light"] .performance-advisory p {
  color: #4b2818;
}

body[data-theme="light"] .performance-advisory button {
  border-color: #9c4216;
  background: #fff4e5;
  color: #552713;
}

body[data-theme="light"] .performance-advisory button:is(:hover, :focus-visible) {
  background: #7c3214;
  color: #fff9ef;
}

body[data-motion="reduced"] .performance-auto-status > i {
  animation: none;
}

.control-action > i:not(.audio-bars) {
  position: relative;
  flex: 0 0 2.25rem;
  inline-size: 2.25rem;
  block-size: 1.15rem;
  border: 1px solid #ffb36a;
  border-radius: 2rem;
}

.control-action > i:not(.audio-bars) b {
  position: absolute;
  inset: 2px auto 2px 2px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff7b2d;
  transition: translate .25s ease;
}

body[data-mode="full"] .control-action[data-mode-toggle] > i b {
  translate: 1.08rem 0;
  background: #ff7b2d;
}

body[data-mode="low"] .control-action[data-mode-toggle] > i b {
  translate: 0 0;
  background: #d7cec4;
}

.audio-control-field {
  grid-column: 1 / -1;
}

.audio-control-field > p {
  margin: .55rem 0 0;
}

.language-dialog {
  inline-size: min(54rem, calc(100vw - 2rem));
}

.locale-region-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-block-end: 1rem;
  background: transparent;
}

.locale-region-tabs button {
  position: relative;
  min-block-size: 48px;
  padding: .68rem .8rem;
  border: 1px solid rgb(255 139 80 / .24);
  clip-path: polygon(0 0, calc(100% - .65rem) 0, 100% .65rem, 100% 100%, .65rem 100%, 0 calc(100% - .65rem));
  background:
    linear-gradient(145deg, rgb(255 112 51 / .08), transparent 54%),
    #0d0b09;
  color: var(--muted);
  cursor: pointer;
  font-family: "Axtlan Soles", var(--axtlan-reading);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.25;
  text-align: start;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
}

.locale-region-tabs button::before {
  position: absolute;
  inset: 0 auto auto 0;
  inline-size: 2.6rem;
  block-size: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  content: "";
  opacity: .38;
}

.locale-region-tabs button:is(:hover, :focus-visible) {
  border-color: rgb(255 179 106 / .72);
  color: var(--paper);
  outline: 2px solid rgb(255 179 106 / .74);
  outline-offset: 2px;
  translate: 0 -2px;
}

.locale-region-tabs button[aria-selected="true"] {
  border-color: rgb(255 148 82 / .88);
  background:
    linear-gradient(112deg, rgb(170 49 12 / .8), rgb(74 26 16 / .88) 56%, rgb(16 62 72 / .58)),
    #1a0e0a;
  color: var(--paper);
  box-shadow:
    inset 0 -2px var(--orange),
    0 .65rem 1.45rem rgb(0 0 0 / .24),
    0 0 1.1rem rgb(255 101 38 / .1);
}

.locale-region-tabs button[aria-selected="true"]::before {
  inline-size: 68%;
  background: linear-gradient(90deg, #ff7b2d, #67d0df, transparent);
  opacity: 1;
}

.locale-region-panels {
  position: relative;
  border: 1px solid rgb(255 139 80 / .28);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
  background:
    radial-gradient(circle at 100% 0, rgb(47 171 194 / .1), transparent 42%),
    linear-gradient(145deg, rgb(255 101 38 / .07), transparent 48%),
    rgb(9 8 7 / .96);
  box-shadow: inset 0 1px rgb(255 255 255 / .025);
}

.locale-region-panels > section {
  min-inline-size: 0;
  padding: 1rem;
}

.locale-region-panels h3 {
  margin: 0 0 .85rem;
  color: #ffb36a;
  font-family: "Axtlan Soles", var(--axtlan-reading);
  font-size: .62rem;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.locale-region-panels h3::before {
  display: inline-block;
  inline-size: 1.8rem;
  block-size: 1px;
  margin-inline-end: .6rem;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  content: "";
  vertical-align: middle;
}

.locale-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: .55rem;
  max-block-size: none;
  overflow: visible;
  border: 0;
  background: transparent;
}

.locale-route-link {
  display: grid;
  gap: .2rem;
  min-block-size: 58px;
  padding: .72rem .8rem;
  border: 1px solid rgb(255 139 80 / .18);
  clip-path: polygon(0 0, calc(100% - .45rem) 0, 100% .45rem, 100% 100%, 0 100%);
  background:
    linear-gradient(150deg, rgb(255 125 41 / .055), transparent 55%),
    rgb(18 14 11 / .82);
  color: currentColor;
  font-family: "Axtlan Soles", sans-serif;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.35;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 170ms ease, background-color 170ms ease, color 170ms ease, translate 170ms ease;
}

.locale-route-link span {
  overflow: hidden;
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locale-route-link[aria-current="page"] {
  border-color: #ff9b5d;
  background:
    linear-gradient(115deg, rgb(176 57 18 / .84), rgb(55 25 18 / .9)),
    #3a1b11;
  color: #fff6ec;
  box-shadow: inset 3px 0 #60c7d8, 0 0 1rem rgb(255 99 38 / .12);
}

.locale-route-link[aria-current="page"] span {
  color: #f0cdb2;
}

.locale-route-link:is(:hover, :focus-visible) {
  border-color: rgb(255 179 106 / .78);
  background-color: rgb(56 27 18 / .9);
  outline: 2px solid #ffb36a;
  outline-offset: 2px;
  translate: 0 -2px;
}

.control-dialog:not([open]) {
  display: none;
}

.universe-scene {
  display: block;
  padding-block: clamp(5rem, 9vw, 9rem);
}

.universe-copy {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(20rem, 1.15fr);
  gap: clamp(2rem, 6vw, 7rem);
  inline-size: var(--shell);
  margin-inline: auto;
}

.universe-copy > .scene-heading {
  align-self: start;
  position: sticky;
  inset-block-start: 8rem;
}

.universe-copy > .universe-statement,
.universe-copy > .boundary-ledger {
  grid-column: 2;
}

.universe-copy > .universe-statement {
  margin: 0;
}

.identity-rotation {
  inline-size: var(--shell);
  margin-block-start: clamp(3rem, 6vw, 6rem);
}

.identity-rotation > div {
  background:
    radial-gradient(circle at 50% 45%, rgb(255 99 29 / .12), transparent 42%),
    #050504;
}

.sun-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  inline-size: min(100%, 80rem);
  margin-inline: auto;
  gap: .5rem;
  background: transparent;
  border: 0;
}

.sun-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-block-size: 13.75rem;
  align-content: start;
  padding: clamp(.8rem, 1.15vw, 1.05rem);
  border: 1px solid var(--line);
}

.sun-card h4 {
  margin-block-start: .42rem;
  font-size: clamp(1.15rem, 1.4vw, 1.65rem);
}

.sun-type {
  margin-block-start: .62rem;
  font-size: .64rem;
}

.sun-card dl {
  gap: .32rem;
  margin-block-start: .72rem;
}

.sun-card dl div {
  grid-template-columns: 3.35rem minmax(0, 1fr);
  gap: .42rem;
  padding-block-start: .36rem;
}

.sun-card dd {
  font-size: .64rem;
  line-height: 1.3;
}

.sun-role {
  align-self: end;
  margin-block-start: .72rem;
  font-size: .69rem;
  line-height: 1.35;
}

.process-section {
  position: relative;
  padding-block: clamp(1.5rem, 3vw, 3rem);
  border-block: 1px solid var(--line);
}

.process-section::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgb(103 217 255 / .08), transparent) 0 0 / 35% 100% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 7.5rem, rgb(255 255 255 / .018) 7.55rem);
  animation: archive-scan 14s ease-in-out infinite alternate;
  content: "";
  pointer-events: none;
}

.process-section > * {
  position: relative;
  z-index: 1;
}

.process-section .subhead > p {
  max-inline-size: 62rem;
  margin: 0;
  line-height: 1.7;
}

.process-grid {
  gap: clamp(.55rem, 1.2vw, 1rem);
}

.process-grid figure {
  border: 1px solid rgb(137 215 255 / .24);
  box-shadow: 0 16px 46px rgb(0 0 0 / .24);
}

.process-grid figure::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 134 65 / .15);
  background:
    linear-gradient(90deg, transparent, rgb(255 255 255 / .12), transparent) -110% 0 / 45% 100% no-repeat;
  transition: background-position .9s ease;
  content: "";
  pointer-events: none;
}

.process-grid figure:is(:hover, :focus-within)::after {
  background-position: 230% 0;
}

@keyframes archive-scan {
  to { background-position: 130% 0, 0 0; }
}

.creator-privacy-mark {
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgb(121 214 255 / .035) 5px 6px),
    repeating-radial-gradient(circle at 50% 45%, transparent 0 2.5rem, rgb(255 134 68 / .06) 2.55rem 2.62rem),
    radial-gradient(circle at 50% 44%, rgb(255 105 31 / .18), transparent 32%),
    radial-gradient(ellipse at 50% 50%, rgb(5 5 4 / .9), rgb(5 5 4 / .46) 63%, transparent 92%);
  box-shadow:
    inset 0 0 4rem rgb(255 113 39 / .06),
    0 1.4rem 4rem rgb(0 0 0 / .24);
}

.creator-portrait-image {
  --creator-portrait-opacity-idle: .14;
  --creator-portrait-opacity-start: .48;
  --creator-portrait-opacity-mid: .35;
  --creator-portrait-opacity-peak: .7;
  --creator-portrait-opacity-end: .56;
  position: absolute;
  z-index: 0;
  inset: 3% 6% 2% 4%;
  inline-size: 90%;
  block-size: 95%;
  object-fit: cover;
  object-position: 50% 46%;
  opacity: .58;
  mix-blend-mode: screen;
  filter:
    saturate(1.18)
    contrast(1.24)
    brightness(.72)
    drop-shadow(0 0 1.35rem rgb(255 74 51 / .24));
  -webkit-mask-image:
    radial-gradient(ellipse 72% 84% at 48% 48%, #000 39%, rgb(0 0 0 / .92) 57%, transparent 88%),
    linear-gradient(90deg, transparent, #000 18% 78%, transparent);
  mask-image:
    radial-gradient(ellipse 72% 84% at 48% 48%, #000 39%, rgb(0 0 0 / .92) 57%, transparent 88%),
    linear-gradient(90deg, transparent, #000 18% 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transform: scale(1.08) translate3d(-1.5%, 0, 0);
  transform-origin: 48% 52%;
  animation: none;
}

.reveal-ready body:not([data-mode="low"]):not([data-motion="reduced"])
  .creator-privacy-mark[data-reveal-passive]:not(.is-visible)
  .creator-portrait-image {
  opacity: .58;
  animation: none;
}

.reveal-ready body:not([data-mode="low"]):not([data-motion="reduced"])
  .creator-privacy-mark[data-reveal-passive].is-visible
  .creator-portrait-image {
  opacity: .58;
  animation: none;
}

.creator-scan-field {
  position: absolute;
  z-index: 2;
  inset: 7% 5%;
  overflow: hidden;
  border-radius: 49%;
  opacity: .62;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgb(115 221 255 / .12) 5px 6px),
    linear-gradient(180deg, transparent 0 38%, rgb(255 137 70 / .05) 45%, rgb(255 176 109 / .42) 49.5%, rgb(105 219 255 / .24) 51%, transparent 57% 100%);
  background-size: 100% 100%, 100% 225%;
  background-position: 0 0, 0 120%;
  filter: drop-shadow(0 0 .65rem rgb(255 116 55 / .22));
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 76% 86% at 48% 48%, #000 42%, transparent 88%);
  mask-image: radial-gradient(ellipse 76% 86% at 48% 48%, #000 42%, transparent 88%);
  animation: creator-signal-scan 5.8s cubic-bezier(.45, 0, .55, 1) infinite;
}

.reveal-ready .creator-privacy-mark[data-reveal-passive] {
  opacity: 1;
  translate: none;
  filter: none;
}

.creator-privacy-mark[data-reveal-passive]::before,
.creator-privacy-mark[data-reveal-passive]::after,
.creator-privacy-mark[data-reveal-passive] .creator-orbit {
  opacity: .38;
  transition: opacity .64s ease-out;
}

.creator-privacy-mark[data-reveal-passive].is-visible::before,
.creator-privacy-mark[data-reveal-passive].is-visible::after,
.creator-privacy-mark[data-reveal-passive].is-visible .creator-orbit {
  opacity: 1;
}

.creator-privacy-mark::before,
.creator-privacy-mark::after {
  position: absolute;
  z-index: 1;
  inset: 14%;
  border: 1px solid rgb(255 146 80 / .3);
  border-radius: 50%;
  content: "";
  animation: creator-orbit-spin 18s linear infinite;
}

.creator-privacy-mark::after {
  inset: 27%;
  border-color: rgb(104 213 255 / .27);
  animation-direction: reverse;
  animation-duration: 12s;
}

.creator-privacy-mark > span:not(.creator-orbit) {
  z-index: 3;
}

.creator-orbit {
  position: absolute;
  inset: 23%;
  border-block: 1px solid rgb(255 134 65 / .34);
  border-radius: 50%;
  rotate: 28deg;
}

.creator-orbit-b {
  inset: 34% 14%;
  border-color: rgb(96 210 255 / .28);
  rotate: -32deg;
}

@keyframes creator-orbit-spin {
  to { rotate: 1turn; }
}

@keyframes creator-portrait-drift {
  0% {
    opacity: var(--creator-portrait-opacity-start);
    transform: scale(1.08) translate3d(-2.2%, -.7%, 0);
    filter:
      saturate(1.08)
      contrast(1.2)
      brightness(.66)
      drop-shadow(0 0 1.15rem rgb(255 74 51 / .2));
  }
  48% {
    opacity: var(--creator-portrait-opacity-peak);
    transform: scale(1.13) translate3d(1.4%, .5%, 0);
    filter:
      saturate(1.28)
      contrast(1.3)
      brightness(.78)
      drop-shadow(0 0 1.7rem rgb(87 195 255 / .2));
  }
  100% {
    opacity: var(--creator-portrait-opacity-end);
    transform: scale(1.1) translate3d(-.4%, 1.1%, 0);
    filter:
      saturate(1.18)
      contrast(1.24)
      brightness(.7)
      drop-shadow(0 0 1.45rem rgb(255 108 53 / .26));
  }
}

@keyframes creator-portrait-reveal {
  0% {
    opacity: var(--creator-portrait-opacity-idle);
    transform: scale(1.16) translate3d(-4%, 0, 0);
    filter:
      saturate(.72)
      contrast(1.08)
      brightness(.38)
      blur(2px)
      drop-shadow(0 0 .35rem rgb(255 74 51 / .08));
  }
  55% {
    opacity: var(--creator-portrait-opacity-mid);
    filter:
      saturate(1.02)
      contrast(1.18)
      brightness(.58)
      blur(.45px)
      drop-shadow(0 0 1.6rem rgb(87 195 255 / .18));
  }
  100% {
    opacity: var(--creator-portrait-opacity-start);
    transform: scale(1.08) translate3d(-2.2%, -.7%, 0);
    filter:
      saturate(1.08)
      contrast(1.2)
      brightness(.66)
      blur(0)
      drop-shadow(0 0 1.15rem rgb(255 74 51 / .2));
  }
}

@keyframes creator-signal-scan {
  0%,
  12% {
    opacity: .32;
    background-position: 0 0, 0 128%;
  }
  48% {
    opacity: .76;
  }
  82%,
  100% {
    opacity: .4;
    background-position: 0 0, 0 -118%;
  }
}

.foundation-sequence,
.art-section,
.music-section,
.routes-scene,
.institutional-line,
.closing-grid {
  position: relative;
  isolation: isolate;
}

.foundation-sequence::before,
.art-section::before,
.music-section::before,
.routes-scene::before {
  position: absolute;
  z-index: -1;
  inset: -2rem 0;
  opacity: var(--audio-scene-opacity);
  content: "";
  pointer-events: none;
}

.foundation-sequence::before {
  background: radial-gradient(ellipse at 12% 20%, rgb(255 100 31 / .22), transparent 42%);
  animation: chapter-drift-a 17s ease-in-out infinite alternate;
}

.art-section::before {
  background: conic-gradient(from 80deg at 82% 10%, transparent, rgb(118 215 255 / .13), transparent 24%);
  animation: chapter-drift-b 21s ease-in-out infinite alternate;
}

.music-section::before {
  background: repeating-radial-gradient(ellipse at 50% 55%, transparent 0 4rem, rgb(255 126 44 / .07) 4.1rem 4.2rem);
  scale: var(--audio-scene-scale);
  animation: chapter-breathe 8s ease-in-out infinite alternate;
}

.routes-scene::before {
  background: linear-gradient(120deg, transparent 32%, rgb(255 114 34 / .09), transparent 68%);
  translate: -25% 0;
  animation: chapter-route 15s ease-in-out infinite alternate;
}

.game-development-feature,
.route-atlas > a,
.public-properties article,
.public-properties aside,
.network-directory section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.game-development-feature::after,
.route-atlas > a::before,
.public-properties article::before,
.public-properties aside::before,
.network-directory section::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgb(255 132 57 / .09), transparent 66%) -120% 0 / 46% 100% no-repeat;
  animation: dossier-signal 12s ease-in-out infinite;
  content: "";
  pointer-events: none;
}

.game-development-feature > *,
.route-atlas > a > *,
.public-properties article > *,
.public-properties aside > *,
.network-directory section > * {
  position: relative;
  z-index: 1;
}

.route-atlas > a:nth-child(2n)::before,
.network-directory section:nth-child(2n)::before {
  animation-delay: -4s;
}

.route-atlas > a:nth-child(3n)::before,
.network-directory section:nth-child(3n)::before {
  animation-delay: -8s;
}

.institutional-line {
  box-shadow: inset 0 0 var(--audio-mid-glow-size) rgb(255 110 32 / .05);
}

.closing-grid details[open] {
  box-shadow: inset 3px 0 #ff7a2d;
}

@keyframes chapter-drift-a { to { background-position: 16rem 5rem; } }
@keyframes chapter-drift-b { to { rotate: 5deg; } }
@keyframes chapter-breathe { to { opacity: .4; scale: var(--audio-scene-scale); } }
@keyframes chapter-route { to { translate: 25% 0; } }
@keyframes dossier-signal {
  0%,
  24% { background-position: -120% 0; }
  66%,
  100% { background-position: 240% 0; }
}

body[data-motion="reduced"] *,
body[data-motion="reduced"] *::before,
body[data-motion="reduced"] *::after {
  scroll-behavior: auto !important;
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

body[data-motion="reduced"] [data-reveal] {
  opacity: 1;
  translate: none;
}

body[data-motion="reduced"] .creator-privacy-mark[data-reveal-passive] {
  clip-path: none;
  filter: none;
}

body[data-motion="reduced"] .creator-portrait-image,
body[data-motion="reduced"] .creator-scan-field {
  animation: none;
}

body[data-mode="low"] [data-reveal] {
  opacity: 1;
  translate: none;
}

body[data-mode="low"] .creator-privacy-mark[data-reveal-passive] {
  clip-path: none;
  filter: none;
}

body[data-mode="low"] .creator-portrait-image {
  opacity: .46;
  animation: none;
}

body[data-mode="low"] .creator-scan-field {
  opacity: .26;
  animation: none;
  background-position: 0 0, 0 46%;
}

body[data-mode="low"] .process-section::before,
body[data-mode="low"] .foundation-sequence::before,
body[data-mode="low"] .art-section::before,
body[data-mode="low"] .music-section::before,
body[data-mode="low"] .routes-scene::before,
body[data-mode="low"] .game-development-feature::after,
body[data-mode="low"] .route-atlas > a::before,
body[data-mode="low"] .public-properties article::before,
body[data-mode="low"] .public-properties aside::before,
body[data-mode="low"] .network-directory section::before {
  display: none;
}

body[data-theme="light"] .solar-map-controls button,
body[data-theme="light"] .solar-light-help-toggle {
  border-color: rgb(130 58 17 / .7);
  background: rgb(255 250 242 / .94);
  color: #21170f;
}

body[data-theme="light"] .solar-map-controls button small {
  color: #665345;
}

body[data-theme="light"] .solar-chronometer {
  border-block-color: rgb(120 58 25 / .52);
  background:
    linear-gradient(90deg, rgb(206 80 25 / .13), transparent 26%, rgb(39 128 151 / .1)),
    rgb(34 24 18 / .91);
  box-shadow:
    inset 0 1px rgb(255 245 230 / .09),
    0 .8rem 2.2rem rgb(67 35 18 / .2);
}

body[data-theme="light"] .solar-chronometer small {
  color: #ffe1c8;
}

body[data-theme="light"] .solar-chronometer strong {
  color: #fff8ef;
}

body[data-theme="light"] .solar-rate-control {
  accent-color: #df5c16;
}

body[data-theme="light"] .solar-map figcaption {
  border-block-start-color: rgb(139 67 30 / .38);
  background: linear-gradient(
    90deg,
    rgb(30 22 17 / .9),
    rgb(30 22 17 / .68),
    transparent
  );
  color: #f5dfca;
}

body[data-theme="light"] .solar-map figcaption small {
  color: #f4d8bf;
}

body[data-theme="light"] .solar-light-tooltip {
  border-color: rgb(26 104 130 / .6);
  background: rgb(255 250 242 / .98);
  color: #21170f;
}

body[data-theme="light"] .solar-light-tooltip p {
  color: #4e4035;
}

body[data-theme="light"] .solar-light-help .solar-light-tooltip-close {
  border-color: rgb(126 55 17 / .72);
  background: #fff8ee;
  color: #32180c;
  box-shadow: 0 0 1rem rgb(167 62 20 / .16);
}

body[data-theme="light"] .solar-light-help .solar-light-tooltip-close:is(:hover, :focus-visible) {
  border-color: #0f708f;
  color: #07546e;
  box-shadow: 0 0 1.2rem rgb(15 112 143 / .24);
}


.nav-socials .platform-link {
  --platform-accent: var(--orange-hot);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--platform-accent) 18%, transparent), transparent 68%),
    rgb(5 4 3 / .72);
  color: var(--platform-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--platform-accent) 10%, transparent);
}

.nav-socials .platform-artstation {
  --platform-accent: var(--cyan);
}

.nav-socials .platform-facebook {
  --platform-accent: var(--gold);
}

.nav-socials .platform-icon {
  inline-size: 1rem;
  block-size: 1rem;
  fill: currentColor;
  filter: drop-shadow(0 0 .38rem color-mix(in srgb, currentColor 48%, transparent));
  transform-origin: 50% 50%;
  transition: scale .28s ease, rotate .38s ease, filter .28s ease;
}

.nav-socials .platform-link:is(:hover, :focus-visible) .platform-icon {
  scale: 1.12;
  rotate: -3deg;
  filter: drop-shadow(0 0 .62rem color-mix(in srgb, currentColor 72%, transparent));
}

.social-directory .directory-platform-link {
  --platform-accent: var(--orange-hot);
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-block-size: 44px;
  padding: .56rem .68rem;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 24%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--platform-accent) 9%, transparent), transparent 56%),
    rgb(5 4 3 / .32);
  color: var(--platform-accent);
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.social-directory .platform-artstation {
  --platform-accent: var(--cyan);
}

.social-directory .platform-facebook {
  --platform-accent: var(--gold);
}

.social-directory .platform-icon {
  inline-size: 1.05rem;
  block-size: 1.05rem;
  fill: currentColor;
  filter: drop-shadow(0 0 .4rem color-mix(in srgb, currentColor 42%, transparent));
}

.social-directory .directory-platform-link > span {
  min-inline-size: 0;
}

.social-directory .directory-platform-link > b {
  font-size: .72rem;
  font-weight: 500;
}

.social-directory .directory-platform-link:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--platform-accent) 76%, white 24%);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--platform-accent) 16%, transparent), transparent 70%),
    rgb(5 4 3 / .56);
  color: #fff8ef;
  box-shadow: 0 0 1.4rem color-mix(in srgb, var(--platform-accent) 14%, transparent);
}

.solar-map-controls button[data-solar-light-toggle] {
  --solar-control-cue: var(--orange-hot);
  position: relative;
  isolation: isolate;
}

.solar-map-controls button[data-solar-light-toggle] > .solar-control-signal::after {
  position: absolute;
  z-index: -1;
  inset: -.38rem;
  border: 1px solid color-mix(in srgb, var(--solar-control-cue) 52%, transparent);
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
}

body[data-solar-light-discovered="false"][data-mode="full"][data-motion="full"]
  .solar-map-controls button[data-solar-light-toggle][aria-expanded="false"] {
  animation: solar-light-invitation 3.4s ease-in-out infinite;
}

body[data-solar-light-discovered="false"][data-mode="full"][data-motion="full"]
  .solar-map-controls button[data-solar-light-toggle][aria-expanded="false"] > .solar-control-signal::after {
  animation: solar-light-invitation-ring 3.4s ease-out infinite;
}

body[data-solar-light-field="on"] .solar-map-controls button[data-solar-light-toggle],
.solar-map-controls button[data-solar-light-toggle][aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--cyan) 62%, var(--orange) 38%);
  box-shadow:
    inset 0 0 1rem color-mix(in srgb, var(--cyan) 8%, transparent),
    0 0 1.3rem color-mix(in srgb, var(--orange) 18%, transparent);
}

@keyframes solar-light-invitation {
  0%,
  68% {
    border-color: rgb(255 132 58 / .54);
    box-shadow: 0 .8rem 2rem rgb(0 0 0 / .26);
  }
  82% {
    border-color: color-mix(in srgb, var(--solar-control-cue) 88%, white 12%);
    box-shadow:
      0 .8rem 2rem rgb(0 0 0 / .26),
      0 0 1.25rem color-mix(in srgb, var(--solar-control-cue) 38%, transparent);
  }
  100% {
    border-color: rgb(255 132 58 / .54);
    box-shadow: 0 .8rem 2rem rgb(0 0 0 / .26);
  }
}

@keyframes solar-light-invitation-ring {
  0%,
  70% {
    opacity: 0;
    scale: .96;
  }
  82% {
    opacity: .7;
  }
  100% {
    opacity: 0;
    scale: 1.08;
  }
}

.primary-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--orange) 58%, transparent);
  background:
    linear-gradient(115deg, rgb(255 119 41 / .16), rgb(67 27 11 / .18) 44%, rgb(255 155 77 / .07)),
    rgb(8 6 4 / .48);
  color: #fff4e8;
  text-shadow: 0 1px 2px #000, 0 0 .8rem rgb(255 126 52 / .36);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  backdrop-filter: blur(10px) saturate(1.08);
  box-shadow:
    inset 0 0 1.25rem rgb(255 111 31 / .06),
    0 0 calc(12px + var(--audio-energy) * 16px) rgb(255 96 28 / .2);
  transition: border-color .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
}

.primary-action::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgb(255 226 191 / .18), transparent 72%) -140% 0 / 42% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.primary-action:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--orange-hot) 88%, white 12%);
  background:
    linear-gradient(115deg, rgb(255 119 41 / .24), rgb(67 27 11 / .28) 44%, rgb(255 181 113 / .12)),
    rgb(8 6 4 / .62);
  color: #fffaf5;
  box-shadow:
    inset 0 0 1.6rem rgb(255 138 63 / .1),
    0 0 calc(16px + var(--audio-energy) * 18px) rgb(255 103 31 / .3);
}

body[data-mode="full"][data-motion="full"] .primary-action::before {
  animation: threshold-action-signal 8s ease-in-out infinite;
}

@keyframes threshold-action-signal {
  0%,
  32% { background-position: -140% 0; }
  72%,
  100% { background-position: 260% 0; }
}

.making-scene {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 8%, rgb(255 94 28 / .12), transparent 28rem),
    radial-gradient(circle at 84% 28%, rgb(86 207 255 / .07), transparent 32rem),
    linear-gradient(180deg, #0a0907, #070605 46%, #0a0806);
}

.making-scene::before,
.making-scene::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
}

.making-scene::before {
  inset: -8rem -20vw;
  background:
    conic-gradient(from 118deg at 20% 12%, transparent 0 15%, rgb(255 101 30 / .12), transparent 27% 63%, rgb(99 217 255 / .08), transparent 76%),
    radial-gradient(ellipse at 62% 48%, rgb(255 138 57 / .06), transparent 54%);
  opacity: .82;
  filter: blur(1.5rem);
}

.making-scene::after {
  background:
    linear-gradient(90deg, transparent 0 9%, rgb(255 255 255 / .018) 9.06% 9.12%, transparent 9.18%) 0 0 / 18rem 100%,
    linear-gradient(180deg, transparent 0 12rem, rgb(255 128 51 / .018) 12.06rem 12.12rem, transparent 12.18rem);
  opacity: .58;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 8%, black 92%, transparent);
}

.making-scene > * {
  position: relative;
  z-index: 1;
}

.making-heading {
  position: relative;
  padding-block: clamp(2rem, 4vw, 4.5rem);
}

.making-heading::before {
  position: absolute;
  z-index: -1;
  inset: 10% -12vw;
  background:
    linear-gradient(92deg, transparent, rgb(255 105 31 / .1) 35%, rgb(92 210 255 / .07) 62%, transparent),
    repeating-linear-gradient(90deg, transparent 0 4rem, rgb(255 255 255 / .022) 4.05rem 4.1rem);
  filter: blur(.4rem);
  content: "";
  pointer-events: none;
}

:is(
  .making-heading,
  .process-section .subhead,
  .creator-copy .scene-heading,
  .foundation-intro,
  .art-section .subhead,
  .music-section .subhead,
  .routes-heading,
  .public-properties > header,
  .network-directory > header
) :is(h2, h3) {
  position: relative;
  isolation: isolate;
  text-shadow:
    0 2px 2px rgb(0 0 0 / .92),
    0 0 .65rem color-mix(in srgb, var(--orange) 48%, transparent),
    0 0 1.9rem color-mix(in srgb, var(--cyan) 22%, transparent);
}

:is(
  .making-heading,
  .process-section .subhead,
  .creator-copy .scene-heading,
  .foundation-intro,
  .art-section .subhead,
  .music-section .subhead,
  .routes-heading,
  .public-properties > header,
  .network-directory > header
) :is(h2, h3)::after {
  display: block;
  inline-size: min(17rem, 72%);
  block-size: 2px;
  margin-block-start: .65rem;
  background: linear-gradient(90deg, var(--orange), var(--gold) 42%, var(--cyan) 72%, transparent);
  box-shadow:
    0 0 .75rem color-mix(in srgb, var(--orange) 56%, transparent),
    0 0 1.5rem color-mix(in srgb, var(--cyan) 28%, transparent);
  content: "";
  transform-origin: 0 50%;
}

body[data-mode="full"][data-motion="full"] .making-scene::before {
  animation: making-aurora-drift 22s ease-in-out infinite alternate;
}

body[data-mode="full"][data-motion="full"] :is(
  .making-heading,
  .process-section .subhead,
  .creator-copy .scene-heading,
  .foundation-intro,
  .art-section .subhead,
  .music-section .subhead,
  .routes-heading,
  .public-properties > header,
  .network-directory > header
) :is(h2, h3)::after {
  animation: chapter-title-spectrum 8s ease-in-out infinite alternate;
}

@keyframes making-aurora-drift {
  to {
    translate: 8vw 3rem;
    rotate: 2deg;
    scale: 1.05;
  }
}

@keyframes chapter-title-spectrum {
  0% { scale: .72 1; opacity: .68; }
  58% { scale: 1 1; opacity: 1; }
  100% { scale: .86 1; opacity: .78; }
}

.process-section {
  container-type: inline-size;
  padding-inline: clamp(1rem, 2.5vw, 2.75rem);
  background:
    linear-gradient(145deg, rgb(10 17 20 / .86), rgb(10 8 6 / .93) 54%, rgb(25 11 6 / .78)),
    repeating-linear-gradient(90deg, transparent 0 5.9rem, rgb(110 218 255 / .024) 6rem);
  box-shadow:
    inset 0 1px rgb(143 224 255 / .12),
    inset 0 -1px rgb(255 126 47 / .16);
}

.process-grid {
  position: relative;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.75rem, 1.35vw, 1.3rem);
  align-items: stretch;
  padding-block: 1rem;
}

.process-grid::before {
  content: none;
}

.process-grid > figure {
  --process-accent: var(--orange);
  position: relative;
  z-index: 1;
  grid-column: span 6;
  aspect-ratio: 3 / 2;
  min-block-size: clamp(18rem, 29vw, 30rem);
  border: 1px solid color-mix(in srgb, var(--process-accent) 58%, transparent);
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / .035),
    0 1.4rem 4rem rgb(0 0 0 / .45),
    0 0 2.2rem color-mix(in srgb, var(--process-accent) 10%, transparent);
  clip-path: polygon(0 0, calc(100% - 1.4rem) 0, 100% 1.4rem, 100% 100%, 1.4rem 100%, 0 calc(100% - 1.4rem));
  transition: border-color .35s ease, box-shadow .45s ease;
}

.process-grid > figure[data-process-layout="sketch"] {
  grid-column: span 5;
}

.process-grid > figure[data-process-layout="sheet"] {
  grid-column: span 7;
}

.process-grid > figure[data-process-layout="colour"] {
  grid-column: span 4;
  aspect-ratio: 4 / 5;
}

.process-grid > figure[data-process-layout="formation"] {
  grid-column: span 8;
  aspect-ratio: 8 / 5;
}

.process-grid > figure[data-process-layout="sirocco"],
.process-grid > figure[data-process-layout="rats"] {
  grid-column: span 6;
  aspect-ratio: 8 / 5;
}

.process-grid > figure[data-process-tone="sirocco"] {
  --process-accent: var(--cyan);
}

.process-grid > figure[data-process-tone="rats"] {
  --process-accent: var(--gold);
}

.process-grid > figure[data-process-layout="world"] {
  --process-accent: var(--orange-hot);
  grid-column: 1 / -1;
  aspect-ratio: 18 / 7;
  min-block-size: clamp(19rem, 31vw, 31rem);
}

.process-grid > figure::before {
  position: absolute;
  z-index: 4;
  inset: .9rem auto auto 1rem;
  display: grid;
  place-items: center;
  inline-size: 2.45rem;
  block-size: 2.45rem;
  border: 1px solid color-mix(in srgb, var(--process-accent) 72%, transparent);
  background: rgb(4 4 4 / .74);
  color: color-mix(in srgb, var(--process-accent) 85%, white 15%);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  letter-spacing: .08em;
  box-shadow: 0 0 1.4rem color-mix(in srgb, var(--process-accent) 26%, transparent);
  content: attr(data-process-stage);
  pointer-events: none;
}

.process-grid > figure::after {
  z-index: 3;
  border-color: color-mix(in srgb, var(--process-accent) 34%, transparent);
  background:
    linear-gradient(180deg, transparent 0 42%, color-mix(in srgb, var(--process-accent) 12%, transparent) 49%, transparent 56%) 0 -140% / 100% 44% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 3px, rgb(255 255 255 / .025) 3px 4px),
    linear-gradient(90deg, transparent, rgb(255 255 255 / .08), transparent) -120% 0 / 38% 100% no-repeat;
  transition: background-position .9s ease, opacity .35s ease;
}

.process-grid > figure:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--process-accent) 92%, white 8%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--process-accent) 18%, transparent),
    0 1.6rem 4.5rem rgb(0 0 0 / .55),
    0 0 2.8rem color-mix(in srgb, var(--process-accent) 24%, transparent);
}

.process-grid > figure:is(:hover, :focus-within)::after {
  background-position: 0 180%, 0 0, 240% 0;
}

.process-grid > figure img {
  object-position: 50% 50%;
  filter: saturate(.78) contrast(1.08) brightness(.82);
  scale: 1.01;
  transition: filter .6s ease, scale 1.2s cubic-bezier(.2, .7, .2, 1);
}

.process-grid > figure[data-process-layout="world"] img {
  object-position: 50% 48%;
}

.process-grid > figure:is(:hover, :focus-within) img {
  filter: saturate(1.03) contrast(1.08) brightness(.96);
  scale: 1.045;
}

.process-grid > figure figcaption {
  z-index: 4;
  padding: 5rem 1.2rem 1.25rem;
  background:
    linear-gradient(0deg, rgb(3 3 3 / .96), rgb(3 3 3 / .66) 48%, transparent),
    linear-gradient(90deg, color-mix(in srgb, var(--process-accent) 13%, transparent), transparent 50%);
  color: #fff8ef;
  font-family: "Axtlan Soles", sans-serif;
  font-size: clamp(.7rem, .3vw + .62rem, .88rem);
  font-weight: 700;
  letter-spacing: .13em;
  text-shadow: 0 1px 2px #000, 0 0 .8rem color-mix(in srgb, var(--process-accent) 32%, transparent);
}

body[data-mode="full"][data-motion="full"] .process-grid > figure img {
  animation: process-image-breathe 14s ease-in-out infinite alternate;
}

body[data-mode="full"][data-motion="full"] .process-grid > figure:nth-child(even) img {
  animation-direction: alternate-reverse;
  animation-duration: 17s;
}

@keyframes process-image-breathe {
  to { scale: 1.055; }
}

.foundation-chapters article {
  --chapter-accent: var(--orange);
  border: 1px solid color-mix(in srgb, var(--chapter-accent) 38%, transparent);
  clip-path: polygon(0 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% 100%, 0 100%);
  box-shadow:
    inset 0 0 2rem color-mix(in srgb, var(--chapter-accent) 5%, transparent),
    0 1.2rem 3rem rgb(0 0 0 / .3);
}

.foundation-chapters article:nth-child(2) {
  --chapter-accent: var(--cyan);
}

.foundation-chapters article:nth-child(3) {
  --chapter-accent: var(--gold);
}

.foundation-chapters article:nth-child(4) {
  --chapter-accent: var(--orange-hot);
}

.foundation-chapters article::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 38%, color-mix(in srgb, var(--chapter-accent) 14%, transparent), transparent 62%) -120% 0 / 48% 100% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 5px, rgb(255 255 255 / .018) 5px 6px);
  content: "";
  pointer-events: none;
}

.foundation-chapters h3 {
  color: #fff9f0;
  text-shadow:
    0 2px 2px #000,
    0 0 1rem color-mix(in srgb, var(--chapter-accent) 38%, transparent);
}

.art-deck {
  position: relative;
  margin-block-start: 2rem;
}

.art-deck-controls {
  display: grid;
  grid-template-columns: minmax(6.8rem, auto) minmax(5rem, auto) minmax(6.8rem, auto);
  justify-content: end;
  align-items: center;
  gap: .55rem;
  margin-block-end: .8rem;
}

.art-deck-controls button,
.art-deck-controls output {
  min-block-size: 2.8rem;
  border: 1px solid color-mix(in srgb, var(--orange) 48%, transparent);
  background: rgb(6 6 5 / .86);
  color: var(--paper);
  font-family: "Axtlan Detector", monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.art-deck-controls button {
  position: relative;
  padding: .65rem 1rem;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - .65rem) 0, 100% .65rem, 100% 100%, .65rem 100%, 0 calc(100% - .65rem));
  transition: border-color .25s ease, color .25s ease, background .25s ease, translate .25s ease;
}

.art-deck-controls button:is(:hover, :focus-visible) {
  border-color: var(--cyan);
  background: rgb(13 20 21 / .94);
  color: #fff;
  translate: 0 -.1rem;
}

.art-deck-controls button:disabled {
  cursor: default;
  opacity: .42;
  translate: none;
}

.art-deck-controls output {
  display: grid;
  place-items: center;
  padding-inline: .8rem;
  color: var(--orange);
}

.art-rail {
  perspective: 80rem;
  margin-block-start: 0;
  padding: .8rem .2rem 1.2rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.art-rail::-webkit-scrollbar {
  display: none;
}

.art-rail a {
  border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent);
  background: #050504;
  box-shadow: 0 1.1rem 3rem rgb(0 0 0 / .42);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 1rem 100%, 0 calc(100% - 1rem));
  transform-origin: 50% 70%;
}

.art-rail a::after,
.release-grid a::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 34%, rgb(255 238 216 / .14), transparent 66%) -130% 0 / 42% 100% no-repeat,
    linear-gradient(180deg, color-mix(in srgb, var(--cyan) 6%, transparent), transparent 28%);
  content: "";
  pointer-events: none;
}

.release-grid a {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
  box-shadow:
    inset 0 0 1.5rem rgb(255 123 42 / .04),
    0 .9rem 2.4rem rgb(0 0 0 / .32);
}

.game-development-feature {
  border-color: color-mix(in srgb, var(--cyan) 40%, transparent);
  background:
    linear-gradient(120deg, rgb(8 18 21 / .94), rgb(12 8 6 / .97) 52%, rgb(28 12 7 / .9));
  box-shadow:
    inset 0 0 2.2rem rgb(87 211 255 / .04),
    0 1.5rem 4rem rgb(0 0 0 / .4);
  clip-path: polygon(0 0, calc(100% - 1.25rem) 0, 100% 1.25rem, 100% 100%, 1.25rem 100%, 0 calc(100% - 1.25rem));
}

.game-development-feature::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 5rem, rgb(99 218 255 / .025) 5.05rem 5.1rem),
    repeating-linear-gradient(0deg, transparent 0 3rem, rgb(255 126 46 / .022) 3.05rem 3.1rem);
  content: "";
  pointer-events: none;
}

.game-development-feature h3 {
  color: #fff8ef;
  text-shadow:
    0 2px 2px #000,
    0 0 1rem rgb(255 115 37 / .34),
    0 0 2rem rgb(90 211 255 / .16);
}

.route-atlas > a,
.public-properties article,
.public-properties aside,
.network-directory section {
  border-color: color-mix(in srgb, var(--orange) 28%, transparent);
  box-shadow:
    inset 0 0 1.5rem rgb(255 118 39 / .025),
    0 .8rem 2.2rem rgb(0 0 0 / .22);
  transition: border-color .35s ease, box-shadow .35s ease, translate .35s ease;
}

.route-atlas > a:is(:hover, :focus-visible),
.public-properties :is(article, aside):hover,
.network-directory section:hover {
  border-color: color-mix(in srgb, var(--cyan) 55%, var(--orange) 45%);
  box-shadow:
    inset 0 0 1.8rem rgb(93 213 255 / .05),
    0 1rem 2.8rem rgb(0 0 0 / .32),
    0 0 1.8rem rgb(255 113 34 / .1);
  translate: 0 -.18rem;
}

body[data-mode="full"][data-motion="full"] .foundation-chapters article::before,
body[data-mode="full"][data-motion="full"] .art-rail a::after,
body[data-mode="full"][data-motion="full"] .release-grid a::after {
  animation: chapter-card-signal 11s ease-in-out infinite;
}

body[data-mode="full"][data-motion="full"] .foundation-chapters article:nth-child(2)::before,
body[data-mode="full"][data-motion="full"] .art-rail a:nth-child(3n + 2)::after,
body[data-mode="full"][data-motion="full"] .release-grid a:nth-child(2)::after {
  animation-delay: -3.5s;
}

body[data-mode="full"][data-motion="full"] .foundation-chapters article:nth-child(3)::before,
body[data-mode="full"][data-motion="full"] .art-rail a:nth-child(3n)::after,
body[data-mode="full"][data-motion="full"] .release-grid a:nth-child(3)::after {
  animation-delay: -7s;
}

body[data-mode="full"][data-motion="full"] .foundation-chapters img {
  animation: chapter-image-breathe 18s ease-in-out infinite alternate;
}

body[data-mode="full"][data-motion="full"] .art-rail a {
  animation: archive-card-drift 10s ease-in-out infinite alternate;
}

body[data-mode="full"][data-motion="full"] .art-rail a:nth-child(even) {
  animation-direction: alternate-reverse;
  animation-duration: 13s;
}

body[data-theme="light"][data-colour-vision="standard"] .art-deck-controls button,
body[data-theme="light"][data-colour-vision="standard"] .art-deck-controls output {
  border-color: rgb(112 58 29 / .36);
  background: rgb(239 222 200 / .92);
  color: #4b2d1d;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35);
}

body[data-theme="light"][data-colour-vision="standard"] .art-deck-controls button:is(:hover, :focus-visible) {
  border-color: rgb(35 111 130 / .72);
  background: rgb(226 210 188 / .98);
  color: #25150e;
}

body[data-mode="full"][data-motion="full"] .release-grid a:nth-child(odd) img {
  animation: release-cover-breathe 12s ease-in-out infinite alternate;
}

body[data-mode="full"][data-motion="full"] .release-grid a:nth-child(even) img {
  animation: release-cover-breathe 15s -6s ease-in-out infinite alternate-reverse;
}

@keyframes chapter-card-signal {
  0%,
  32% { background-position: -130% 0, 0 0; }
  72%,
  100% { background-position: 250% 0, 0 0; }
}

@keyframes chapter-image-breathe {
  to { scale: 1.035; }
}

@keyframes archive-card-drift {
  from { translate: 0 .18rem; rotate: -.25deg; }
  to { translate: 0 -.18rem; rotate: .25deg; }
}

@keyframes release-cover-breathe {
  to { scale: 1.035; }
}

body:not([data-colour-vision="standard"]) .nav-socials .platform-link {
  --platform-accent: var(--support-focus);
  border-color: var(--support-boundary) !important;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--support-focus) 22%, transparent), transparent 70%),
    var(--ink-soft) !important;
  color: var(--support-focus) !important;
}

body:not([data-colour-vision="standard"]) .social-directory .directory-platform-link {
  --platform-accent: var(--support-focus);
  border-color: var(--support-boundary) !important;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--support-focus) 16%, transparent), transparent 70%),
    var(--ink-soft) !important;
  color: var(--support-focus) !important;
}

body:not([data-colour-vision="standard"]) .solar-map-controls button[data-solar-light-toggle] {
  --solar-control-cue: var(--support-focus);
  border-color: var(--support-boundary) !important;
  background: var(--ink-soft) !important;
  color: var(--paper) !important;
}

body:not([data-colour-vision="standard"])
  .solar-map-controls button[data-solar-light-toggle][aria-expanded="true"] {
  outline: 3px double var(--support-focus);
  outline-offset: 2px;
}

body:not([data-colour-vision="standard"]) main .primary-action {
  border-color: var(--support-focus) !important;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--support-focus) 19%, transparent), transparent 72%),
    color-mix(in srgb, var(--ink-soft) 86%, transparent) !important;
  color: var(--paper) !important;
  text-shadow: 0 1px 2px var(--ink), 0 0 .8rem color-mix(in srgb, var(--support-focus) 38%, transparent) !important;
}

body:not([data-colour-vision="standard"]) :is(
  .making-heading,
  .process-section .subhead,
  .creator-copy .scene-heading,
  .foundation-intro,
  .art-section .subhead,
  .music-section .subhead,
  .routes-heading,
  .public-properties > header,
  .network-directory > header
) :is(h2, h3) {
  color: var(--paper) !important;
  text-shadow:
    0 2px 2px var(--ink),
    0 0 .8rem color-mix(in srgb, var(--support-focus) 58%, transparent),
    0 0 2rem color-mix(in srgb, var(--support-focus) 28%, transparent) !important;
}

body[data-theme="light"] .primary-action {
  border-color: color-mix(in srgb, var(--orange) 72%, transparent);
  background:
    linear-gradient(115deg, rgb(120 54 13 / .28), rgb(32 18 10 / .7) 58%, rgb(156 82 31 / .2)),
    rgb(20 13 8 / .72);
  color: #fffaf4;
}

body[data-theme="light"][data-colour-vision="standard"] {
  color-scheme: light;
  --ink: #d8c1a6;
  --ink-soft: #e1ceb7;
  --paper: #24170f;
  --muted: #56463a;
  --line: rgb(83 43 23 / .46);
  background:
    radial-gradient(circle at 14% 7%, rgb(195 83 29 / .18), transparent 31rem),
    radial-gradient(circle at 84% 38%, rgb(33 117 143 / .12), transparent 36rem),
    linear-gradient(180deg, #d8c1a6, #cdb295 54%, #dac6ad);
  color: var(--paper);
}

body[data-theme="light"][data-colour-vision="standard"] main {
  background:
    linear-gradient(90deg, rgb(89 45 23 / .055) 1px, transparent 1px) 0 0 / 8rem 8rem,
    linear-gradient(180deg, #d8c1a6, #cbb092 48%, #dac6ad);
}

body[data-theme="light"][data-colour-vision="standard"] main > .scene {
  border-block-start: 1px solid rgb(78 39 21 / .34);
  box-shadow:
    inset 0 2.25rem 4rem -3.5rem rgb(42 22 12 / .42),
    inset 0 -2.25rem 4rem -3.5rem rgb(42 22 12 / .34);
}

body[data-theme="light"][data-colour-vision="standard"] main > .scene:first-child {
  border-block-start: 0;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .universe-scene,
  .observatory-scene,
  .living-scene,
  .making-scene,
  .creator-scene,
  .routes-scene
) {
  color: #281a11;
}

body[data-theme="light"][data-colour-vision="standard"] .universe-scene {
  background:
    radial-gradient(circle at 12% 18%, rgb(201 87 28 / .16), transparent 29rem),
    linear-gradient(145deg, #d9c1a5, #c8aa8c);
}

body[data-theme="light"][data-colour-vision="standard"] .observatory-scene {
  background:
    radial-gradient(circle at 52% 18%, rgb(43 130 154 / .13), transparent 34rem),
    linear-gradient(180deg, #cdb79f, #dac5ab);
}

body[data-theme="light"][data-colour-vision="standard"] .living-scene {
  background:
    radial-gradient(circle at 78% 22%, rgb(205 91 35 / .13), transparent 30rem),
    linear-gradient(180deg, #d8c3aa, #c5a98a);
}

body[data-theme="light"][data-colour-vision="standard"] .making-scene {
  background:
    radial-gradient(circle at 12% 8%, rgb(196 76 24 / .16), transparent 28rem),
    radial-gradient(circle at 84% 28%, rgb(36 126 153 / .12), transparent 32rem),
    linear-gradient(180deg, #cdb398, #dfcbb3 48%, #c6aa8b);
}

body[data-theme="light"][data-colour-vision="standard"] .routes-scene {
  background:
    radial-gradient(circle at 18% 22%, rgb(50 136 156 / .11), transparent 34rem),
    linear-gradient(180deg, #c9ad8e, #d7c0a4);
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .universe-scene,
  .observatory-scene,
  .living-scene,
  .routes-scene
) {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .universe-scene,
  .observatory-scene,
  .living-scene,
  .routes-scene
) > * {
  position: relative;
  z-index: 1;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .universe-scene,
  .observatory-scene,
  .living-scene,
  .routes-scene
)::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: .3;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 7%, black 93%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 7%, black 93%, transparent);
}

body[data-theme="light"][data-colour-vision="standard"] .universe-scene::after {
  background:
    repeating-radial-gradient(ellipse at 16% 26%, transparent 0 6.8rem, rgb(120 61 31 / .09) 6.9rem 7rem),
    conic-gradient(from 112deg at 84% 18%, transparent 0 16%, rgb(35 133 157 / .13), transparent 25% 61%, rgb(197 76 24 / .12), transparent 72%);
  mix-blend-mode: multiply;
}

body[data-theme="light"][data-colour-vision="standard"] .observatory-scene::after {
  background:
    linear-gradient(112deg, transparent 18%, rgb(255 255 255 / .72) 36%, transparent 43%) -35vw 0 / 52vw 100% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 7.4rem, rgb(46 123 145 / .055) 7.45rem 7.52rem),
    repeating-radial-gradient(ellipse at 50% 24%, transparent 0 5.8rem, rgb(163 73 31 / .075) 5.9rem 6rem);
  mix-blend-mode: soft-light;
}

body[data-theme="light"][data-colour-vision="standard"] .living-scene::after {
  background:
    radial-gradient(ellipse at 18% 36%, rgb(178 68 28 / .11), transparent 26rem),
    repeating-radial-gradient(ellipse at 82% 60%, transparent 0 4rem, rgb(59 124 111 / .055) 4.05rem 4.12rem),
    conic-gradient(from 210deg at 52% 58%, transparent, rgb(119 80 46 / .065), transparent 17%);
  mix-blend-mode: multiply;
}

body[data-theme="light"][data-colour-vision="standard"] .routes-scene::after {
  background:
    linear-gradient(118deg, transparent 28%, rgb(183 71 24 / .1) 28.2% 28.35%, transparent 28.55%),
    linear-gradient(62deg, transparent 68%, rgb(42 126 148 / .09) 68.15% 68.3%, transparent 68.5%),
    repeating-linear-gradient(0deg, transparent 0 5rem, rgb(100 55 30 / .045) 5.05rem 5.1rem);
  mix-blend-mode: multiply;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .making-scene::before,
  .making-scene::after,
  .process-section::before,
  .foundation-sequence::before,
  .art-section::before,
  .music-section::before,
  .routes-scene::before
) {
  opacity: .34;
  mix-blend-mode: multiply;
}

body[data-theme="light"][data-colour-vision="standard"][data-mode="full"][data-motion="full"] .universe-scene::after {
  animation: light-archive-orbits 28s ease-in-out infinite alternate;
}

body[data-theme="light"][data-colour-vision="standard"][data-mode="full"][data-motion="full"] .observatory-scene::after {
  animation: light-diffraction-pass 18s ease-in-out infinite alternate;
}

body[data-theme="light"][data-colour-vision="standard"][data-mode="full"][data-motion="full"] .living-scene::after {
  animation: light-organic-field 24s ease-in-out infinite alternate;
}

body[data-theme="light"][data-colour-vision="standard"][data-mode="full"][data-motion="full"] .routes-scene::after {
  animation: light-route-field 21s ease-in-out infinite alternate;
}

@keyframes light-archive-orbits {
  to {
    translate: 3.5vw -1.5rem;
    rotate: .8deg;
    scale: 1.035;
  }
}

@keyframes light-diffraction-pass {
  to {
    background-position: 115vw 0, 0 0, 0 0;
    opacity: .42;
  }
}

@keyframes light-organic-field {
  to {
    translate: -2.5vw 1.4rem;
    scale: 1.04;
    opacity: .38;
  }
}

@keyframes light-route-field {
  to {
    translate: 2vw -1rem;
    background-position: 3vw 0, -2vw 0, 0 2rem;
    opacity: .4;
  }
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .scene-heading,
  .making-heading,
  .process-section .subhead,
  .creator-copy .scene-heading,
  .foundation-intro,
  .art-section .subhead,
  .music-section .subhead,
  .routes-heading,
  .public-properties > header,
  .network-directory > header
) :is(h2, h3) {
  color: #2d1c12;
  -webkit-text-stroke: .35px rgb(255 248 235 / .72);
  text-shadow:
    0 1px 0 rgb(255 249 238 / .9),
    0 0 .7rem rgb(194 74 24 / .2),
    0 0 1.6rem rgb(47 136 158 / .11);
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .scene-heading > p:last-child,
  .foundation-intro > p:last-child,
  .subhead p,
  .creator-prose,
  .route-atlas p,
  .public-properties :is(article, aside) p,
  .network-directory header p,
  .institutional-line p,
  .closing-grid p,
  .analogy-note
) {
  color: #69584a;
}

body[data-theme="light"][data-colour-vision="standard"] a {
  text-decoration-color: rgb(129 66 22 / .46);
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .public-properties a,
  .network-directory a,
  .institutional-line a,
  .site-footer a
) {
  color: #7b3d16;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .public-properties a,
  .network-directory a,
  .institutional-line a,
  .site-footer a
):is(:hover, :focus-visible) {
  color: #3a1e10;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header,
body[data-theme="light"][data-colour-vision="standard"] .site-header.is-compact {
  border-block-end-color: rgb(91 50 28 / .24);
  background:
    linear-gradient(180deg, rgb(246 237 225 / .96), rgb(226 207 184 / .9));
  color: #27180f;
  box-shadow: 0 .65rem 2rem rgb(67 36 20 / .1);
  backdrop-filter: blur(20px) saturate(1.08);
}

body[data-theme="light"][data-colour-vision="standard"] .site-brand img {
  filter:
    saturate(1.34)
    brightness(1.04)
    contrast(1.1)
    drop-shadow(0 0 10px rgb(190 72 24 / .36));
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .site-brand strong,
  .site-brand small,
  .main-navigation,
  .main-navigation > a,
  .menu-button
) {
  color: #2d1d14;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .nav-socials a,
  .nav-destinations a,
  .locale-state
) {
  border-color: rgb(107 58 29 / .34);
  background: rgb(244 233 218 / .76);
  color: #6f3719;
}

body[data-theme="light"][data-colour-vision="standard"] .nav-destinations {
  border-inline-start-color: rgb(94 52 31 / .25);
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .nav-socials a,
  .nav-destinations a,
  .locale-state
):is(:hover, :focus-visible) {
  border-color: #a44b1c;
  background: #d2b596;
  color: #2d190e;
  filter: drop-shadow(0 0 7px rgb(170 67 21 / .22));
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .boundary-ledger,
  .sun-card-grid,
  .public-properties,
  .network-directory > div,
  .closing-grid
) {
  background: rgb(100 55 29 / .26);
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .boundary-ledger div,
  .solar-consequences article,
  .planet-facts,
  .game-feature,
  .game-development-feature,
  .route-atlas > a,
  .public-properties > header,
  .public-properties article,
  .public-properties aside,
  .network-directory section,
  .institutional-line,
  .closing-grid details
) {
  border-color: rgb(104 57 30 / .32);
  background:
    linear-gradient(145deg, rgb(195 81 27 / .065), transparent 48%),
    #d8c0a5;
  color: #2a1a11;
  box-shadow:
    inset 0 1px rgb(255 251 243 / .64),
    0 .8rem 2.2rem rgb(65 34 18 / .1);
}

body[data-theme="light"][data-colour-vision="standard"] .boundary-ledger dd,
body[data-theme="light"][data-colour-vision="standard"] .solar-consequences p {
  color: #6d5c4e;
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card {
  border-color: rgb(var(--sun-rgb) / .36);
  background:
    radial-gradient(circle at 84% 7%, rgb(var(--sun-rgb) / .25), transparent 12rem),
    linear-gradient(145deg, rgb(var(--sun-rgb) / .08), transparent 43%),
    #d6bda1;
  color: #25170f;
  box-shadow:
    inset 0 1px rgb(255 250 240 / .68),
    inset 0 0 3rem rgb(var(--sun-rgb) / .045),
    0 1rem 2.5rem rgb(61 31 17 / .11);
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card::before {
  background:
    linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .5) 45%, rgb(var(--sun-rgb) / .14) 52%, transparent 68%);
  mix-blend-mode: soft-light;
  opacity: .92;
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card::after {
  block-size: 3px;
  background:
    linear-gradient(90deg, rgb(var(--sun-rgb)), rgb(255 250 238 / .94), rgb(var(--sun-rgb) / .2));
  box-shadow:
    0 0 .8rem rgb(var(--sun-rgb) / .54),
    0 .35rem 1.6rem rgb(var(--sun-rgb) / .2);
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card h4 {
  color: #24160e;
  text-shadow:
    0 1px 0 rgb(255 250 240 / .86),
    0 0 1rem rgb(var(--sun-rgb) / .2);
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card :is(
  .sun-type,
  .sun-role,
  dd
) {
  color: #5e4e42;
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card :is(
  .sun-type span,
  dt
) {
  color: #746457;
}

body[data-theme="light"][data-colour-vision="standard"] .planet-facts {
  background: #ceb090;
  box-shadow: inset 0 0 0 1px rgb(105 58 31 / .27);
}

body[data-theme="light"][data-colour-vision="standard"] .planet-facts div {
  border-color: rgb(105 58 31 / .22);
}

body[data-theme="light"][data-colour-vision="standard"] .planet-facts :is(dt, dd) {
  color: #392219;
}

body[data-theme="light"][data-colour-vision="standard"] .process-section {
  background:
    linear-gradient(145deg, rgb(220 238 239 / .72), rgb(239 224 205 / .92) 54%, rgb(225 199 176 / .84)),
    repeating-linear-gradient(90deg, transparent 0 5.9rem, rgb(47 123 143 / .04) 6rem);
  box-shadow:
    inset 0 1px rgb(255 252 244 / .7),
    inset 0 -1px rgb(166 68 25 / .18);
}

body[data-theme="light"][data-colour-vision="standard"] .art-section,
body[data-theme="light"][data-colour-vision="standard"] .music-section {
  background:
    radial-gradient(circle at 80% 12%, rgb(41 127 151 / .07), transparent 28rem),
    rgb(237 222 204 / .56);
}

body[data-theme="light"][data-colour-vision="standard"] .game-development-feature h3,
body[data-theme="light"][data-colour-vision="standard"] .institutional-line strong,
body[data-theme="light"][data-colour-vision="standard"] .network-directory h4 {
  color: #2e1c12;
  text-shadow: 0 1px rgb(255 250 240 / .78);
}

body[data-theme="light"][data-colour-vision="standard"] .site-footer :is(
  strong,
  span
) {
  color: #5f4d40;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .threshold,
  .media-window,
  .identity-rotation > div,
  .universe-instrument,
  .solar-map,
  .doctrine,
  .krek-section,
  .krek-console,
  .krek-panels article,
  .creator-privacy-mark,
  .process-grid > figure,
  .foundation-chapters article,
  .art-rail a,
  .release-grid a,
  .scope-ribbon article
) {
  color: #fff6eb;
}

body[data-theme="light"][data-colour-vision="standard"] .threshold :is(
  .threshold-lead,
  .text-action,
  .threshold-ledger
),
body[data-theme="light"][data-colour-vision="standard"] .doctrine :is(h3, p),
body[data-theme="light"][data-colour-vision="standard"] .krek-section :is(h2, h3, p, dt, dd),
body[data-theme="light"][data-colour-vision="standard"] .foundation-chapters :is(h3, p),
body[data-theme="light"][data-colour-vision="standard"] .process-grid :is(figcaption, span),
body[data-theme="light"][data-colour-vision="standard"] .scope-ribbon article :is(h3, p) {
  color: #fff3e5;
}

body[data-theme="light"][data-colour-vision="standard"] .threshold .scene-index {
  color: #e2b46f;
}

body[data-theme="light"][data-colour-vision="standard"] .threshold .scene-index span,
body[data-theme="light"][data-colour-vision="standard"] .threshold-ledger b {
  color: #ff7a2e;
}

body[data-theme="light"][data-colour-vision="standard"] .foundation-sequence blockquote {
  color: #322016;
  text-shadow:
    0 1px rgb(255 250 240 / .72),
    0 0 1.25rem rgb(180 69 24 / .13);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-controls button {
  border-color: rgb(126 71 39 / .52);
  background:
    linear-gradient(135deg, rgb(255 123 48 / .1), rgb(52 180 210 / .07)),
    rgb(255 247 235 / .96);
  color: #321d12;
  box-shadow:
    0 .8rem 2.6rem rgb(59 31 18 / .16),
    inset 0 1px rgb(255 255 255 / .72);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-controls button :is(
  b,
  small,
  .persistent-audio-copy
) {
  color: #321d12;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-controls button small {
  color: #6a5140;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-controls button:is(:hover, :focus-visible) {
  border-color: #a64018;
  background:
    linear-gradient(135deg, rgb(255 115 39 / .16), rgb(59 177 207 / .12)),
    #fff8ed;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-controls :is(
  .control-glyph,
  .persistent-playback-glyph,
  .audio-track-index
) {
  border-color: #9a3a16;
  color: #75270f;
  text-shadow: 0 0 .45rem rgb(227 80 24 / .2);
}

body[data-theme="light"][data-colour-vision="standard"] .audio-step-glyph {
  color: #76270f;
  filter: drop-shadow(0 0 .28rem rgb(210 68 18 / .38));
}

body[data-theme="light"][data-colour-vision="standard"] .experience-controls .persistent-audio-copy {
  background-image: linear-gradient(90deg, #6f220d 0%, #a83f18 28%, #126b83 58%, #8f3212 82%, #6f220d 100%);
  filter:
    drop-shadow(0 0 .2rem rgb(190 55 14 / .26))
    drop-shadow(0 0 .45rem rgb(35 145 170 / .16));
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog {
  border-color: rgb(111 59 30 / .5);
  background: #ead8c2;
  color: #2b1b12;
  box-shadow:
    0 1.5rem 5rem rgb(55 28 15 / .34),
    0 0 2rem rgb(164 64 22 / .1);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog::backdrop {
  background: rgb(43 29 20 / .42);
  backdrop-filter: blur(7px) saturate(.76);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog > form,
body[data-theme="light"][data-colour-vision="standard"] .experience-dialog header {
  background:
    linear-gradient(135deg, rgb(252 245 235 / .96), rgb(232 215 194 / .96));
  color: #2b1b12;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog > form {
  position: relative;
  isolation: isolate;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog > form::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 24%, rgb(255 255 255 / .34) 35%, transparent 48%),
    repeating-linear-gradient(90deg, transparent 0 4.8rem, rgb(112 61 32 / .035) 4.85rem 4.9rem);
  content: "";
  opacity: .72;
  pointer-events: none;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog > form > * {
  position: relative;
  z-index: 1;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog header {
  border-block-end-color: rgb(105 58 31 / .28);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog header span,
body[data-theme="light"][data-colour-vision="standard"] .control-subgroup > span,
body[data-theme="light"][data-colour-vision="standard"] .colour-support-sources > summary {
  color: #8b421a;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog header > button {
  border-color: rgb(103 57 31 / .34);
  background: rgb(244 232 216 / .72);
  color: #3a2114;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-rail {
  background: rgb(98 54 30 / .3);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category,
body[data-theme="light"][data-colour-vision="standard"] .experience-category-panel {
  border-color: rgb(100 55 30 / .3);
  background:
    linear-gradient(135deg, rgb(196 78 25 / .045), transparent 46%),
    #ddc5a9;
  color: #2b1b12;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-trigger {
  border-color: rgb(100 55 30 / .3);
  background: #d6b99a;
  color: #2e1d13;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-trigger small {
  color: #6b594b;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-trigger[aria-expanded="true"] {
  background:
    linear-gradient(90deg, #783619, #48261a);
  color: #fff6e9;
  box-shadow: inset 3px 0 #ff8a3d;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-trigger[aria-expanded="true"] small {
  color: #ead0bb;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-trigger:is(:hover, :focus-visible) {
  background: #dfc5aa;
  color: #25150d;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-category-trigger[aria-expanded="true"]:is(:hover, :focus-visible) {
  background:
    linear-gradient(90deg, #873c1b, #55291a);
  color: #fff8ee;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog :is(
  .control-choice,
  .control-action,
  .control-select,
  .colour-support-sources
) {
  border-color: rgb(104 57 30 / .3);
  background: #e2ceb6;
  color: #2b1b12;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog :is(
  .control-choice small,
  .control-action small,
  .control-select small,
  .control-note,
  .audio-control-field > p
) {
  color: #665448;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog .segmented-control {
  background: rgb(102 56 30 / .3);
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog .segmented-control button {
  background: #dec6aa;
  color: #372116;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog .segmented-control button[aria-pressed="true"] {
  background: #643019;
  color: #fff7eb;
  box-shadow: inset 0 -3px #ff7d30;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog .control-select select {
  border-color: #87431c;
  background: #ead7bf;
  color: #2d1c12;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog .colour-support-sources a {
  color: #733813;
}

body[data-theme="light"][data-colour-vision="standard"] .experience-dialog .colour-support-sources a:is(:hover, :focus-visible) {
  color: #32180c;
}

body[data-motion="full"] :is(
  .site-header,
  .experience-controls button,
  .experience-dialog,
  .experience-dialog > form,
  .experience-category,
  .experience-category-trigger,
  .control-choice,
  .control-action,
  .control-select,
  .segmented-control button
) {
  transition:
    background-color .16s ease,
    border-color .16s ease,
    color .14s ease,
    box-shadow .16s ease;
}

body[data-motion="full"] .experience-category-panel {
  transition:
    grid-template-rows .22s cubic-bezier(.2, .72, .22, 1),
    opacity .18s ease-out,
    transform .22s cubic-bezier(.2, .72, .22, 1),
    visibility 0s linear .22s,
    background-color .16s ease,
    border-color .16s ease,
    color .14s ease;
}

body[data-motion="full"] .experience-category-panel[data-expanded="true"] {
  transition:
    grid-template-rows .22s cubic-bezier(.2, .72, .22, 1),
    opacity .2s ease-out,
    transform .22s cubic-bezier(.2, .72, .22, 1),
    visibility 0s linear,
    background-color .16s ease,
    border-color .16s ease,
    color .14s ease;
}

body[data-mode="low"] .making-scene::before,
body[data-mode="low"] .making-scene::after,
body[data-mode="low"] .making-heading::before,
body[data-mode="low"] .process-grid::before,
body[data-mode="low"] .process-grid > figure::after,
body[data-mode="low"] .foundation-chapters article::before,
body[data-mode="low"] .art-rail a::after,
body[data-mode="low"] .release-grid a::after,
body[data-mode="low"] .game-development-feature::before {
  display: none;
}

body[data-mode="low"] .solar-map-controls button[data-solar-light-toggle],
body[data-mode="low"] .solar-map-controls button[data-solar-light-toggle] > .solar-control-signal::after,
body[data-motion="reduced"] .solar-map-controls button[data-solar-light-toggle],
body[data-motion="reduced"] .solar-map-controls button[data-solar-light-toggle] > .solar-control-signal::after {
  animation: none !important;
}

body[data-mode="low"] :is(
  .process-grid > figure img,
  .foundation-chapters img,
  .art-rail a,
  .release-grid img
) {
  animation: none !important;
  scale: 1;
  translate: none;
  rotate: 0deg;
}

@media (max-width: 980px) {
  .sun-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid > figure,
  .process-grid > figure[data-process-layout] {
    grid-column: span 6;
    aspect-ratio: 6 / 5;
    min-block-size: clamp(19rem, 48vw, 29rem);
  }

  .process-grid > figure[data-process-layout="world"] {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 650px) {
  .making-heading {
    padding-block: 1.5rem 2.5rem;
  }

  .making-heading::before {
    inset-inline: -1rem;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: .9rem;
  }

  .process-grid > figure,
  .process-grid > figure[data-process-layout] {
    grid-column: 1;
    aspect-ratio: 16 / 11;
    min-block-size: clamp(18rem, 75vw, 27rem);
  }

  .process-grid > figure figcaption {
    padding-block-start: 4rem;
  }

  .art-rail {
    grid-auto-columns: minmax(16rem, 84vw);
    padding-inline: 0;
  }

  .art-deck-controls {
    grid-template-columns: 1fr auto 1fr;
  }

  .art-deck-controls button {
    min-inline-size: 0;
    padding-inline: .65rem;
  }
}

@media (max-width: 900px) {
  .control-dialog-grid,
  .universe-copy {
    grid-template-columns: 1fr;
  }

  .universe-copy > .scene-heading {
    position: static;
  }

  .universe-copy > .universe-statement,
  .universe-copy > .boundary-ledger {
    grid-column: 1;
  }
}

@media (max-width: 650px) {
  .experience-controls {
    inline-size: auto;
  }

  .persistent-audio-player {
    flex-basis: auto;
    inline-size: 100%;
  }

  .experience-controls .persistent-audio-copy {
    display: none;
  }

  .experience-controls button > span:last-child small {
    display: none;
  }

  .control-dialog {
    inline-size: calc(100vw - 1rem);
    max-block-size: calc(100dvh - 1rem);
  }

  .control-dialog > form {
    padding: 1rem;
  }

  .experience-dialog {
    inset:
      auto max(.5rem, env(safe-area-inset-right))
      max(4.45rem, calc(.5rem + env(safe-area-inset-bottom)))
      max(.5rem, env(safe-area-inset-left));
    inline-size: auto;
    max-block-size: none;
    border-radius: .7rem;
  }

  .experience-dialog > form {
    padding: 0;
  }

  .control-dialog-grid {
    grid-template-columns: 1fr;
  }

  .control-select {
    align-items: stretch;
    flex-direction: column;
  }

  .control-select select {
    max-inline-size: none;
  }

  .experience-category-panel .control-select {
    gap: .4rem;
  }

  .locale-region-tabs,
  .locale-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locale-list {
    max-block-size: none;
  }

  .sun-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-section {
    padding-inline: 1rem;
  }

  .creator-privacy-mark {
    aspect-ratio: 4 / 5;
  }

  .solar-map-controls {
    inset: .65rem .65rem auto auto;
    max-inline-size: calc(100% - 1.3rem);
  }

  .solar-map-controls button {
    min-inline-size: 0;
    padding-inline: .62rem;
  }

  .solar-map-controls button small {
    display: none;
  }

  .solar-chronometer {
    inset: auto .65rem 7.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solar-chronometer > span {
    padding: .44rem .52rem .47rem;
  }

  .solar-chronometer > span:nth-child(3) {
    border-block-start: 1px solid rgb(122 215 232 / .16);
    border-inline-start: 0;
  }

  .solar-chronometer > span:nth-child(4) {
    border-block-start: 1px solid rgb(122 215 232 / .16);
  }

  .solar-chronometer small {
    font-size: .39rem;
  }

  .solar-chronometer strong {
    font-size: .54rem;
  }

  .solar-rate-control {
    block-size: .68rem;
  }

  .solar-map figcaption {
    gap: .32rem .72rem;
    padding-inline: .5rem;
  }

  .solar-map figcaption small {
    font-size: .46rem;
  }

  .solar-light-tooltip {
    position: absolute;
    inset: calc(100% + .4rem) 0 auto auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .28rem .65rem;
    inline-size: min(22rem, calc(100vw - 1.3rem));
    max-block-size: none;
    overflow: clip;
    padding: .7rem 2.65rem .72rem .72rem;
  }

  .solar-light-tooltip strong {
    font-size: .55rem;
    line-height: 1.22;
  }

  .solar-light-tooltip p {
    margin-block-start: .25rem;
    font-size: .54rem;
    line-height: 1.36;
  }

  .solar-light-topic {
    min-inline-size: 0;
  }

  .solar-light-tooltip > .solar-light-topic + .solar-light-topic {
    margin-block-start: 0;
  }
}

@media (max-height: 620px) {
  .experience-dialog {
    inset-block-end: max(1rem, env(safe-area-inset-bottom));
  }

  .experience-dialog header {
    padding: .5rem .65rem;
  }

  .experience-dialog header > button {
    flex-basis: 42px;
    min-block-size: 42px;
  }

  .experience-category-trigger {
    min-block-size: 44px;
    padding-block: .38rem;
  }

  .experience-category-trigger small,
  .experience-category-panel :is(.control-choice, .control-action, .control-select) small,
  .audio-control-field > p {
    display: none;
  }

  .experience-category-panel .control-choice,
  .experience-category-panel .control-action,
  .experience-category-panel .control-select {
    min-block-size: 44px;
    margin-block-start: .25rem;
    padding-block: .4rem;
  }

  .experience-dialog .experience-category-panel[data-expanded="true"] fieldset {
    padding-block-end: .5rem;
  }
}

body[data-theme="light"][data-colour-vision="standard"] .creator-scene {
  background:
    radial-gradient(circle at 72% 18%, rgb(42 129 151 / .16), transparent 28rem),
    radial-gradient(circle at 16% 72%, rgb(186 74 26 / .15), transparent 30rem),
    linear-gradient(145deg, #d2b89b, #e5d2ba 48%, #c7a889);
}

body[data-theme="light"][data-colour-vision="standard"] .creator-copy :is(
  blockquote,
  .creator-prose,
  .creator-prose p
),
body[data-theme="light"][data-colour-vision="standard"] .foundation-intro > p:last-child {
  color: #493326;
}

body[data-theme="light"][data-colour-vision="standard"] .creator-copy blockquote {
  border-inline-start: 2px solid rgb(164 67 25 / .64);
  padding-inline-start: clamp(1rem, 2vw, 1.5rem);
  text-shadow: 0 1px rgb(255 247 235 / .82);
}

body[data-theme="light"][data-colour-vision="standard"] .foundation-sequence {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgb(105 56 29 / .28);
  background:
    linear-gradient(120deg, rgb(255 250 241 / .46), transparent 52%),
    rgb(214 190 163 / .54);
  box-shadow:
    inset 0 1px rgb(255 251 243 / .68),
    0 1rem 3rem rgb(72 36 18 / .1);
}

body[data-theme="light"][data-colour-vision="standard"] .foundation-intro h2 {
  color: #2c1b12;
  -webkit-text-stroke: .35px rgb(255 248 235 / .68);
  text-shadow:
    0 1px rgb(255 250 240 / .9),
    0 0 1.1rem rgb(185 72 25 / .18);
}

body[data-theme="light"][data-colour-vision="standard"] .living-heading {
  padding: clamp(1.2rem, 2.5vw, 2.2rem);
  border: 1px solid rgb(100 53 28 / .28);
  background:
    linear-gradient(102deg, rgb(244 229 210 / .88), rgb(205 174 142 / .68) 55%, rgb(221 202 177 / .84));
  box-shadow:
    inset 0 1px rgb(255 252 244 / .7),
    0 1rem 2.6rem rgb(67 34 18 / .1);
}

body[data-theme="light"][data-colour-vision="standard"] .living-heading :is(h2, p) {
  color: #382317;
}

body[data-theme="light"][data-colour-vision="standard"] .doctrine-reel {
  background: rgb(92 47 24 / .28);
  border-color: rgb(92 47 24 / .34);
}

.doctrine img {
  grid-column: 1 / -1;
  grid-row: 1;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-console {
  border-color: rgb(102 53 28 / .48);
  background:
    radial-gradient(circle at 88% 8%, rgb(165 50 37 / .12), transparent 23rem),
    linear-gradient(145deg, rgb(231 213 190 / .97), rgb(203 175 145 / .97));
  color: #2b1a12;
  box-shadow:
    inset 0 1px rgb(255 250 240 / .72),
    0 1.2rem 3.2rem rgb(54 27 15 / .22);
  backdrop-filter: blur(18px) saturate(.84);
}

body[data-theme="light"][data-colour-vision="standard"] .krek-tabs {
  border-inline-end-color: rgb(99 51 27 / .34);
  background: rgb(224 203 178 / .78);
}

body[data-theme="light"][data-colour-vision="standard"] .krek-tabs button {
  border-block-end-color: rgb(99 51 27 / .24);
  background: rgb(236 221 201 / .58);
  color: #624936;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-tabs button:is(:hover, :focus-visible) {
  background: #d6b797;
  color: #27170f;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-tabs button[aria-selected="true"] {
  background:
    linear-gradient(90deg, rgb(177 64 28 / .22), rgb(242 225 204 / .7));
  color: #27170f;
  box-shadow:
    var(--krek-selection-shadow, inset 3px 0 #c54818),
    0 0 1.25rem rgb(149 69 25 / .12);
}

body[data-theme="light"] .symbol-wave-target {
  --symbol-wave-coded: #5b1c0b;
  --symbol-wave-ray: 136 48 17;
  color: #5b1c0b;
}

body[data-theme="light"] .symbol-wave-unit::before {
  color: var(--symbol-wave-coded);
  text-shadow:
    0 1px 0 rgb(255 250 240 / .98),
    0 0 .16rem rgb(255 247 233 / .96),
    0 0 .42rem rgb(130 37 12 / .5),
    -.5rem 0 .78rem rgb(14 94 119 / .36),
    .5rem 0 .78rem rgb(145 43 13 / .42);
}

body[data-theme="light"] .symbol-wave-readable {
  color: #5b1c0b;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .threshold,
  .media-window,
  .identity-rotation > div,
  .universe-instrument,
  .solar-map,
  .doctrine,
  .krek-section,
  .krek-console,
  .krek-panels article,
  .creator-privacy-mark,
  .process-grid > figure,
  .foundation-chapters article,
  .art-rail a,
  .release-grid a,
  .scope-ribbon article
) .symbol-wave-target {
  --symbol-wave-coded: #ffb36a;
  --symbol-wave-ray: 255 126 45;
  color: #fff3e5;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .threshold,
  .media-window,
  .identity-rotation > div,
  .universe-instrument,
  .solar-map,
  .doctrine,
  .krek-section,
  .krek-console,
  .krek-panels article,
  .creator-privacy-mark,
  .process-grid > figure,
  .foundation-chapters article,
  .art-rail a,
  .release-grid a,
  .scope-ribbon article
) :is(.symbol-wave-readable, .symbol-wave-readable .symbol-wave-grapheme) {
  color: #fff3e5;
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .threshold,
  .media-window,
  .identity-rotation > div,
  .universe-instrument,
  .solar-map,
  .doctrine,
  .krek-section,
  .krek-console,
  .krek-panels article,
  .creator-privacy-mark,
  .process-grid > figure,
  .foundation-chapters article,
  .art-rail a,
  .release-grid a,
  .scope-ribbon article
) .symbol-wave-rays {
  filter: blur(.035rem) contrast(1.15);
  mix-blend-mode: screen;
}

body[data-theme="light"] .symbol-wave-rays {
  filter: blur(.035rem) contrast(1.18);
  mix-blend-mode: multiply;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-panels {
  background:
    linear-gradient(135deg, rgb(255 249 238 / .52), transparent 46%),
    rgb(218 193 165 / .74);
}

body[data-theme="light"][data-colour-vision="standard"] .krek-console :is(
  h3,
  p,
  dt,
  dd,
  .krek-aliases
) {
  color: #392419;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-panels dl {
  background: rgb(105 54 28 / .26);
}

body[data-theme="light"][data-colour-vision="standard"] .krek-panels dl > div {
  background: rgb(239 222 201 / .74);
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle-selector {
  border-color: rgb(100 52 27 / .42);
  background:
    linear-gradient(90deg, rgb(192 76 27 / .12), transparent 42%),
    linear-gradient(145deg, #d9c0a3, #c7a686);
  box-shadow:
    inset 0 1px rgb(255 250 240 / .68),
    0 .8rem 2.2rem rgb(61 31 17 / .1);
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle-selector-label {
  color: #6c3214;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle-buttons button {
  border-color: rgb(111 56 28 / .58);
  background: #efe0cd;
  color: #2d1b12;
  box-shadow: inset 0 1px rgb(255 252 246 / .72);
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle-buttons button[aria-pressed="true"] {
  border-color: #9e3f17;
  background:
    linear-gradient(120deg, rgb(208 82 24 / .18), rgb(255 249 238 / .46)),
    #e4c7a8;
  box-shadow:
    inset 0 1px rgb(255 253 246 / .86),
    0 .45rem 1.25rem rgb(95 45 20 / .12);
  color: #2b160d;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle > header {
  grid-template-columns: minmax(4.5rem, auto) minmax(11rem, .72fr) minmax(18rem, 1.28fr);
  align-items: center;
  min-block-size: 5.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgb(103 55 29 / .28);
  background:
    linear-gradient(112deg, rgb(255 249 239 / .58), rgb(208 180 151 / .44));
  box-shadow: inset 0 1px rgb(255 252 245 / .72);
  overflow: visible;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle > header :is(h3, p) {
  color: #392319;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle > header > span {
  color: #a14516;
}

body[data-theme="light"][data-colour-vision="standard"] .language-dialog {
  border-color: rgb(99 51 27 / .48);
  background: #d4b999;
  color: #2a1a11;
  box-shadow:
    0 1.5rem 5rem rgb(54 28 16 / .34),
    inset 0 1px rgb(255 250 241 / .7);
}

body[data-theme="light"][data-colour-vision="standard"] .language-dialog > form {
  background:
    radial-gradient(circle at 86% 9%, rgb(41 126 150 / .1), transparent 24rem),
    linear-gradient(145deg, #e8d6be, #ceb08f);
  color: #2a1a11;
}

body[data-theme="light"][data-colour-vision="standard"] .language-dialog header {
  border-block-end-color: rgb(103 55 29 / .3);
  background: rgb(235 218 197 / .82);
}

body[data-theme="light"][data-colour-vision="standard"] .language-dialog :is(
  h2
) {
  color: #3c281c;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-list {
  border-color: rgb(101 54 29 / .34);
  background: rgb(101 54 29 / .3);
}

body[data-theme="light"][data-colour-vision="standard"] .locale-region-tabs {
  background: rgb(101 54 29 / .3);
}

body[data-theme="light"][data-colour-vision="standard"] .locale-region-tabs button {
  background: #e8d6bf;
  color: #5c3d2b;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-region-tabs button:is(:hover, :focus-visible) {
  background: #d7b998;
  color: #2c1a11;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-region-tabs button[aria-selected="true"] {
  background: linear-gradient(105deg, #a5471c, #72341b);
  color: #fff8ed;
  box-shadow: inset 0 -2px #49b7ce;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-route-link {
  background: #e8d6bf;
  color: #39251a;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-route-link span {
  color: #6b5544;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-route-link:is(:hover, :focus-visible) {
  background: #d7b998;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-route-link[aria-current="page"] {
  background:
    linear-gradient(90deg, #9a421a, #6e341b);
  color: #fff6e9;
  box-shadow: inset 3px 0 #ff8a3d;
}

body[data-theme="light"][data-colour-vision="standard"] .locale-route-link[aria-current="page"] span {
  color: #f0d8c2;
}

body[data-theme="light"] :is(
  .privacy-reopen,
  .privacy-banner,
  .privacy-dialog
) {
  border-color: rgb(100 52 27 / .5);
  background:
    linear-gradient(145deg, rgb(238 222 202 / .97), rgb(205 177 146 / .97));
  color: #28180f;
  box-shadow:
    0 1rem 3rem rgb(58 30 17 / .22),
    inset 0 1px rgb(255 250 241 / .72);
}

body[data-theme="light"] :is(
  .privacy-banner p,
  .privacy-dialog p,
  .privacy-banner a,
  .privacy-dialog a
) {
  color: #50392a;
}

body[data-theme="light"] :is(
  .privacy-actions button,
  .privacy-dialog button
) {
  border-color: rgb(100 52 27 / .45);
  background: rgb(235 217 196 / .82);
  color: #28180f;
}

body[data-theme="light"] .privacy-reopen:is(:hover, :focus-visible) {
  border-color: #a84b1b;
  background: #d3b18e;
  color: #201208;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header,
body[data-theme="light"][data-colour-vision="standard"] .site-header.is-compact {
  overflow: visible;
  isolation: isolate;
  border-block-end-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header > * {
  position: relative;
  z-index: 1;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header::before {
  position: absolute;
  z-index: 0;
  inset: 0 0 -.45rem;
  border-block-end: 1px solid rgb(116 61 30 / .22);
  background:
    radial-gradient(circle at 12% 18%, rgb(203 75 24 / .19), transparent 17rem),
    linear-gradient(180deg, rgb(223 201 176 / .97), rgb(207 178 148 / .92) 60%, rgb(195 156 119 / .48) 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, black 0 68%, rgb(0 0 0 / .86) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0 68%, rgb(0 0 0 / .86) 78%, transparent 100%);
  backdrop-filter: blur(24px) saturate(1.12);
  content: "";
  pointer-events: none;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header::after {
  position: absolute;
  z-index: 0;
  inset: auto max(4vw, env(safe-area-inset-right)) -.2rem max(4vw, env(safe-area-inset-left));
  block-size: 1px;
  background:
    linear-gradient(90deg, transparent, rgb(189 73 24 / .36) 15%, rgb(49 144 166 / .22) 50%, rgb(189 73 24 / .36) 85%, transparent);
  content: "";
  opacity: .72;
  pointer-events: none;
}

body[data-theme="light"][data-colour-vision="standard"] .scope-ribbon article::after {
  background:
    linear-gradient(0deg, rgb(6 4 3 / .97), rgb(8 6 4 / .68) 39%, transparent 78%),
    linear-gradient(90deg, rgb(7 5 4 / .28), transparent 45%);
}

body[data-theme="light"][data-colour-vision="standard"] .observatory-scene {
  background:
    radial-gradient(circle at 18% 12%, rgb(190 73 25 / .11), transparent 30rem),
    radial-gradient(circle at 86% 42%, rgb(45 135 157 / .09), transparent 34rem),
    linear-gradient(145deg, #e8d5bd, #d9bc9b 52%, #ead9c5);
}

body[data-theme="light"][data-colour-vision="standard"] .scope-ribbon article > span,
body[data-theme="light"][data-colour-vision="standard"] .scope-ribbon article > p,
body[data-theme="light"][data-colour-vision="standard"] .art-rail :is(span, b),
body[data-theme="light"][data-colour-vision="standard"] .release-grid span,
body[data-theme="light"][data-colour-vision="standard"] .process-grid figcaption {
  color: #fff7ec;
  text-shadow:
    0 2px 2px rgb(0 0 0 / .92),
    0 0 1rem rgb(255 126 47 / .24);
}

body[data-theme="light"][data-colour-vision="standard"] .scope-ribbon article > p,
body[data-theme="light"][data-colour-vision="standard"] .release-grid small {
  color: #ead9c7;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-atlas {
  position: relative;
  isolation: isolate;
  padding: clamp(1.25rem, 2.6vw, 2.75rem);
  border-block: 1px solid rgb(112 59 29 / .22);
  background:
    radial-gradient(circle at 86% 10%, rgb(43 132 155 / .1), transparent 26rem),
    linear-gradient(135deg, rgb(231 213 191 / .96), rgb(208 179 148 / .9) 50%, rgb(232 215 194 / .96));
  box-shadow:
    inset 0 1px rgb(255 249 239 / .52),
    inset 0 -1px rgb(115 57 28 / .14);
}

body[data-theme="light"][data-colour-vision="standard"] .solar-atlas-heading {
  padding: clamp(1rem, 2.5vw, 2rem);
  border: 0;
  border-inline-start: 2px solid rgb(190 70 23 / .56);
  background:
    linear-gradient(100deg, rgb(243 229 211 / .82), rgb(216 189 159 / .48) 66%, transparent);
  box-shadow: inset 0 1px rgb(255 251 243 / .58);
  clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 1.1rem, 100% 100%, 0 100%);
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card-grid {
  gap: clamp(.7rem, 1.2vw, 1rem);
  border-color: transparent;
  background: transparent;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle {
  background: transparent;
}

body[data-theme="light"][data-colour-vision="standard"] .sun-card {
  border: 1px solid rgb(var(--sun-rgb) / .22);
  background:
    radial-gradient(circle at 85% 4%, rgb(var(--sun-rgb) / .17), transparent 13rem),
    linear-gradient(145deg, rgb(var(--sun-rgb) / .07), transparent 42%),
    rgb(229 211 189 / .82);
  box-shadow:
    inset 0 1px rgb(255 250 241 / .56),
    0 .65rem 1.8rem rgb(63 32 18 / .08);
}

body[data-theme="light"][data-colour-vision="standard"] .solar-cycle > header {
  border: 0;
  border-inline-start: 2px solid rgb(176 65 23 / .5);
  background:
    linear-gradient(90deg, rgb(239 220 197 / .78), rgb(204 169 136 / .4) 70%, transparent);
  box-shadow: inset 0 1px rgb(255 250 241 / .5);
  clip-path: polygon(0 0, calc(100% - .9rem) 0, 100% .9rem, 100% 100%, 0 100%);
}

body[data-theme="light"][data-colour-vision="standard"] .krek-story {
  border-color: rgb(255 132 78 / .38);
  background: rgb(70 31 17 / .5);
  box-shadow:
    0 1rem 3rem rgb(35 16 10 / .2),
    inset 0 1px rgb(255 195 150 / .12);
}

body[data-theme="light"][data-colour-vision="standard"] .krek-story article {
  background:
    linear-gradient(145deg, rgb(91 38 21 / .26), transparent 56%),
    rgb(13 9 7 / .86);
  color: #fff5e9;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-story :is(h3, p) {
  color: #fff3e5;
  text-shadow: 0 1px 2px #000;
}

body[data-theme="light"][data-colour-vision="standard"] .krek-story span {
  color: #ff8748;
}

body[data-theme="light"][data-colour-vision="standard"] .process-section {
  border-color: rgb(111 58 30 / .24);
  background:
    radial-gradient(circle at 84% 14%, rgb(44 132 154 / .12), transparent 25rem),
    linear-gradient(135deg, rgb(232 214 193 / .96), rgb(207 178 148 / .9) 50%, rgb(232 214 193 / .94)),
    repeating-linear-gradient(90deg, transparent 0 5.9rem, rgb(47 123 143 / .04) 6rem);
  box-shadow:
    inset 0 1px rgb(255 249 239 / .56),
    inset 0 -1px rgb(125 61 29 / .17),
    0 1rem 3rem rgb(67 34 18 / .08);
}

body[data-theme="light"][data-colour-vision="standard"] .art-section,
body[data-theme="light"][data-colour-vision="standard"] .music-section {
  padding: clamp(1.4rem, 3vw, 3rem);
  border-block: 1px solid rgb(105 55 29 / .2);
  background:
    radial-gradient(circle at 82% 8%, rgb(40 127 151 / .11), transparent 25rem),
    linear-gradient(135deg, rgb(233 217 197 / .96), rgb(211 184 154 / .88) 50%, rgb(234 219 200 / .94));
  box-shadow:
    inset 0 1px rgb(255 250 242 / .52),
    inset 0 -1px rgb(110 55 28 / .14);
}

body[data-theme="light"][data-colour-vision="standard"] .art-rail a {
  background: #0a0807;
  box-shadow:
    inset 0 0 0 1px rgb(255 142 77 / .18),
    0 .8rem 2rem rgb(54 27 15 / .14);
}

body[data-theme="light"][data-colour-vision="standard"] .art-rail span {
  background:
    linear-gradient(0deg, rgb(4 3 3 / .97), rgb(4 3 3 / .72) 50%, transparent);
}

body[data-theme="light"][data-colour-vision="standard"] .release-grid {
  gap: clamp(.55rem, 1vw, .85rem);
  border-color: transparent;
  background: transparent;
}

body[data-theme="light"][data-colour-vision="standard"] .release-grid a {
  border: 1px solid rgb(113 59 30 / .3);
  background:
    linear-gradient(155deg, rgb(43 25 17 / .98), rgb(10 8 7 / .98));
  box-shadow:
    inset 0 1px rgb(255 190 137 / .1),
    0 .8rem 2rem rgb(55 28 16 / .14);
}

body[data-theme="light"][data-colour-vision="standard"] .release-grid img {
  filter: saturate(.94) contrast(1.04);
}

body[data-theme="light"][data-colour-vision="standard"] .making-scene > .creator-scene {
  border-color: rgb(105 55 29 / .28);
  background:
    radial-gradient(circle at 18% 35%, rgb(255 107 35 / .18), transparent 25rem),
    radial-gradient(circle at 78% 18%, rgb(50 145 166 / .12), transparent 26rem),
    linear-gradient(135deg, rgb(219 193 166 / .96), rgb(231 216 197 / .96) 52%, rgb(211 181 151 / .94));
  box-shadow:
    inset 0 1px rgb(255 248 235 / .62),
    inset 0 -1px rgb(105 55 29 / .16),
    0 1.2rem 3.8rem rgb(63 31 17 / .16);
}

.reveal-ready body[data-theme="light"][data-colour-vision="standard"] .creator-privacy-mark[data-reveal-passive],
.reveal-ready body[data-theme="light"][data-colour-vision="standard"] .creator-privacy-mark[data-reveal-passive].is-visible {
  opacity: 1;
  translate: none;
  clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 0 100%);
  filter: none;
}

body[data-theme="light"][data-colour-vision="standard"] .creator-privacy-mark {
  border-color: rgb(255 135 68 / .3);
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgb(31 105 134 / .045) 5px 6px),
    repeating-radial-gradient(circle at 50% 45%, transparent 0 2.5rem, rgb(177 72 28 / .08) 2.55rem 2.62rem),
    radial-gradient(circle at 50% 44%, rgb(255 105 31 / .12), transparent 31%),
    radial-gradient(ellipse at 50% 50%, rgb(235 218 197 / .94), rgb(229 207 181 / .7) 64%, transparent 94%);
  box-shadow:
    inset 0 0 4rem rgb(255 113 39 / .06),
    0 1.2rem 3rem rgb(72 39 21 / .14);
}

body[data-theme="light"][data-colour-vision="standard"] .creator-portrait-image {
  --creator-portrait-opacity-idle: .1;
  --creator-portrait-opacity-start: .32;
  --creator-portrait-opacity-mid: .23;
  --creator-portrait-opacity-peak: .48;
  --creator-portrait-opacity-end: .4;
  opacity: .4;
  mix-blend-mode: multiply;
  filter:
    saturate(.86)
    contrast(1.34)
    brightness(.9)
    drop-shadow(0 0 1rem rgb(151 63 30 / .16));
}

body[data-theme="light"][data-colour-vision="standard"] .creator-scan-field {
  opacity: .42;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 .55rem rgb(105 63 31 / .13));
}

body[data-theme="light"][data-colour-vision="standard"] .network-directory {
  padding: clamp(1.25rem, 2.6vw, 2.5rem);
  border-block: 1px solid rgb(103 53 28 / .2);
  background:
    radial-gradient(circle at 50% 0, rgb(44 132 154 / .09), transparent 26rem),
    linear-gradient(90deg, transparent, rgb(232 215 194 / .7) 5%, rgb(210 183 154 / .74) 50%, rgb(232 215 194 / .66) 95%, transparent);
}

body[data-theme="light"][data-colour-vision="standard"] .social-directory .directory-platform-link {
  border-color: color-mix(in srgb, var(--platform-accent) 42%, rgb(106 57 31 / .3));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--platform-accent) 12%, transparent), transparent 70%),
    rgb(246 232 213 / .66);
  color: color-mix(in srgb, var(--platform-accent) 76%, #3b2013 24%);
  box-shadow: inset 0 1px rgb(255 251 244 / .66);
}

body[data-theme="light"][data-colour-vision="standard"] .social-directory .platform-icon {
  filter:
    drop-shadow(0 1px rgb(255 250 240 / .74))
    drop-shadow(0 0 .5rem color-mix(in srgb, currentColor 34%, transparent));
}

body[data-theme="light"][data-colour-vision="standard"] .institutional-line img {
  inline-size: min(100%, 7.5rem);
  max-block-size: 7rem;
  padding: .7rem;
  border: 1px solid rgb(255 142 81 / .28);
  border-radius: .65rem;
  background:
    radial-gradient(circle at 50% 42%, rgb(83 48 31 / .7), transparent 62%),
    linear-gradient(145deg, #130f0d, #2b1a13);
  filter:
    grayscale(1)
    brightness(1.85)
    contrast(1.34)
    drop-shadow(0 1px 1px rgb(34 17 10 / .95))
    drop-shadow(0 0 12px rgb(255 112 39 / .28));
  box-shadow:
    inset 0 1px rgb(255 240 224 / .12),
    0 .7rem 1.8rem rgb(58 28 15 / .14);
  justify-self: center;
  object-position: center;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header,
body[data-theme="light"][data-colour-vision="standard"] .site-header.is-compact {
  inset: .65rem max(.75rem, env(safe-area-inset-right)) auto max(.75rem, env(safe-area-inset-left));
  inline-size: auto;
  min-block-size: 64px;
  padding: .42rem clamp(.75rem, 1.7vw, 1.5rem);
  border: 1px solid rgb(151 77 38 / .28);
  background: rgb(239 220 197 / .82);
  box-shadow:
    inset 0 1px rgb(255 253 247 / .66),
    inset 0 -1px rgb(75 169 185 / .08),
    0 1rem 3.5rem rgb(72 37 20 / .16);
  clip-path: polygon(0 0, calc(100% - .85rem) 0, 100% .85rem, 100% 100%, .85rem 100%, 0 calc(100% - .85rem));
  backdrop-filter: blur(28px) saturate(1.12);
}

body[data-theme="light"][data-colour-vision="standard"] .site-header::before {
  inset: 0;
  border: 0;
  background:
    linear-gradient(105deg, rgb(255 109 39 / .13), transparent 24%),
    radial-gradient(circle at 76% -45%, rgb(58 170 191 / .13), transparent 22rem),
    repeating-linear-gradient(90deg, transparent 0 5.95rem, rgb(72 38 22 / .025) 6rem),
    linear-gradient(180deg, rgb(255 249 239 / .86), rgb(226 204 178 / .72));
  -webkit-mask-image: none;
  mask-image: none;
  backdrop-filter: none;
}

body[data-theme="light"][data-colour-vision="standard"] .site-header::after {
  inset: auto .9rem 0;
  block-size: 1px;
  background:
    linear-gradient(90deg, #ff6e28, rgb(255 138 74 / .65) 24%, rgb(64 190 214 / .42) 68%, transparent);
  opacity: .82;
}

body[data-theme="light"][data-colour-vision="standard"] .site-brand img {
  filter:
    saturate(1.55)
    brightness(1.18)
    contrast(1.08)
    drop-shadow(0 0 10px rgb(255 96 26 / .7))
    drop-shadow(0 0 22px rgb(255 169 73 / .28));
}

body[data-theme="light"][data-colour-vision="standard"] .site-brand strong {
  color: #8e3b17;
  text-shadow:
    0 0 .7rem rgb(255 127 61 / .22),
    0 1px rgb(255 255 255 / .5);
}

body[data-theme="light"][data-colour-vision="standard"] .site-brand small {
  color: #5e3825;
}

body[data-theme="light"][data-colour-vision="standard"] .main-navigation {
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  color: #56311f;
}

body[data-theme="light"][data-colour-vision="standard"] .main-navigation > a {
  background: transparent;
  color: #56311f;
}

body[data-theme="light"][data-colour-vision="standard"] .main-navigation > a:is(:hover, :focus-visible) {
  color: #7b2f10;
  text-shadow: 0 0 .7rem rgb(255 111 42 / .24);
}

body[data-theme="light"][data-colour-vision="standard"] :is(
  .nav-socials a,
  .nav-destinations a
) {
  border-color: rgb(126 64 33 / .22);
  background:
    linear-gradient(135deg, rgb(255 108 39 / .09), transparent 70%),
    rgb(255 252 246 / .2);
  color: #6f3a22;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-map-controls button[data-solar-projection-toggle] {
  border-color: rgb(72 172 193 / .64);
  background:
    linear-gradient(115deg, rgb(68 181 204 / .13), transparent 52%),
    linear-gradient(180deg, rgb(255 249 239 / .94), rgb(229 207 181 / .94));
  box-shadow:
    inset 0 1px rgb(255 255 255 / .76),
    0 0 1.2rem rgb(70 181 204 / .13);
  color: #492817;
}

body[data-theme="light"][data-colour-vision="standard"] .solar-map-controls button[data-solar-projection-toggle] :is(strong, small) {
  color: inherit;
}

.menu-backdrop {
  display: none;
}

@media (max-width: 1280px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header,
  .site-header.is-compact,
  body[data-theme="light"][data-colour-vision="standard"] .site-header,
  body[data-theme="light"][data-colour-vision="standard"] .site-header.is-compact {
    inset: .5rem max(.65rem, env(safe-area-inset-right)) auto max(.65rem, env(safe-area-inset-left));
    inline-size: auto;
    block-size: 58px;
    min-block-size: 58px;
    max-block-size: 58px;
    padding: .35rem .55rem .35rem .7rem;
    overflow: visible;
  }

  .site-brand {
    position: relative;
    z-index: 5;
  }

  .site-brand img {
    inline-size: 3rem;
    block-size: 3rem;
    margin: 0;
  }

  .site-brand small {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .55rem;
    min-block-size: 44px;
    padding: .45rem .65rem;
    border: 1px solid rgb(255 133 65 / .32);
    background: rgb(12 9 7 / .12);
    color: inherit;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - .42rem) 0, 100% .42rem, 100% 100%, .42rem 100%, 0 calc(100% - .42rem));
  }

  .menu-backdrop {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: block;
    inline-size: auto;
    block-size: 100dvh;
    padding: 0;
    border: 0;
    background: rgb(7 5 4 / .46);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(0);
    transition:
      opacity .2s ease,
      backdrop-filter .2s ease;
  }

  body.nav-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(3px);
  }

  .main-navigation::before {
    position: absolute;
    inset: .34rem;
    border: 1px solid rgb(255 160 105 / .08);
    content: "";
    pointer-events: none;
  }

  .main-navigation > a {
    counter-increment: compact-nav;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    place-items: center start;
    gap: .58rem;
    min-block-size: 3rem;
    padding: .65rem .7rem;
    border: 1px solid rgb(255 144 87 / .14);
    background: linear-gradient(110deg, rgb(255 118 47 / .09), transparent 65%);
    color: #f6e8da;
    font-size: .62rem;
    text-align: start;
  }

  .main-navigation > a::before {
    color: #ff8042;
    content: "0" counter(compact-nav);
    font-family: "Axtlan Detector", monospace;
    font-size: .5rem;
  }

  .main-navigation > a::after {
    display: none;
  }

  .main-navigation > a:is(:hover, :focus-visible) {
    border-color: rgb(255 130 67 / .58);
    background: linear-gradient(110deg, rgb(255 118 47 / .23), transparent 72%);
    color: #fff9f2;
  }

  .nav-socials,
  .nav-destinations {
    grid-column: 1 / -1;
    border: 1px solid rgb(255 144 87 / .12);
    background: rgb(255 244 233 / .025);
  }

  .nav-socials {
    justify-content: start;
    gap: .4rem;
    padding: .5rem;
  }

  .nav-socials a {
    inline-size: 2.5rem;
    min-block-size: 2.5rem;
    padding: 0;
    opacity: 1;
    translate: 0;
  }

  .nav-destinations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
    padding: .5rem;
  }

  .nav-destinations a {
    min-block-size: 2.5rem;
    padding: .55rem;
    text-align: center;
  }

  .locale-state {
    grid-column: 1 / -1;
    justify-self: stretch;
    min-block-size: 44px;
  }

  body[data-theme="light"][data-colour-vision="standard"] .main-navigation {
    border-color: rgb(132 67 33 / .4);
    background:
      linear-gradient(135deg, rgb(255 110 39 / .12), transparent 30%),
      radial-gradient(circle at 84% 8%, rgb(54 176 202 / .12), transparent 14rem),
      linear-gradient(145deg, rgb(249 238 224 / .985), rgb(222 198 169 / .985));
    color: #482718;
  }

  body[data-theme="light"][data-colour-vision="standard"] .main-navigation > a,
  body[data-theme="light"][data-colour-vision="standard"] .nav-destinations a {
    border-color: rgb(121 61 31 / .18);
    background: linear-gradient(110deg, rgb(194 75 27 / .1), transparent 70%);
    color: #4c2919;
  }

  body[data-theme="light"][data-colour-vision="standard"] :is(.nav-socials, .nav-destinations) {
    border-color: rgb(121 61 31 / .16);
    background: rgb(255 252 246 / .28);
  }

  body[data-theme="light"][data-colour-vision="standard"] .menu-button {
    border-color: rgb(127 63 31 / .3);
    background: rgb(255 252 246 / .24);
    color: #4a2818;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-header.is-compact,
  body[data-theme="light"][data-colour-vision="standard"] .site-header,
  body[data-theme="light"][data-colour-vision="standard"] .site-header.is-compact {
    inset-block-start: .4rem;
    inset-inline: max(.4rem, env(safe-area-inset-left)) max(.4rem, env(safe-area-inset-right));
  }

  .site-brand strong {
    font-size: .78rem;
    letter-spacing: .16em;
  }

  .menu-button > span {
    display: none;
  }

}

body[data-contrast="high"][data-theme="light"] :is(
  .scene-heading h2,
  .foundation-intro h2,
  .creator-prose,
  .solar-cycle > header,
  .krek-console,
  .language-dialog
) {
  color: #1f130c;
  text-shadow: none;
}

@media (max-width: 760px) {
  body[data-theme="light"][data-colour-vision="standard"] .solar-cycle > header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body[data-theme="light"][data-colour-vision="standard"] .solar-cycle > header p {
    grid-column: 1 / -1;
  }
}

@media (forced-colors: active) {
  .colour-vision-visual-layer {
    display: none !important;
  }

  .control-dialog,
  .control-dialog > form,
  .experience-controls button,
  .locale-state,
  .control-choice,
  .control-action,
  .control-select,
  .experience-category-trigger,
  .experience-category-panel,
  .colour-support-sources,
  .segmented-control button,
  .locale-route-link,
  .solar-map-controls button,
  .solar-light-help-toggle,
  .solar-light-tooltip {
    border-color: ButtonText;
    background: Canvas;
    color: CanvasText;
    forced-color-adjust: auto;
  }

  body:not([data-colour-vision="standard"]) main,
  body:not([data-colour-vision="standard"]) main :where(
    .scene,
    .scene-heading,
    .universe-statement,
    .boundary-ledger > *,
    .solar-cycle,
    .solar-consequences > *,
    .planet-facts,
    .sun-card,
    .krek-console,
    .krek-panels > *,
    .process-grid > *,
    .creator-copy,
    .foundation-chapters > *,
    .route-atlas > *,
    .public-properties > *,
    .network-directory > *,
    .institutional-line,
    .closing-grid > *
  ) {
    border-color: CanvasText !important;
    background: Canvas !important;
    color: CanvasText !important;
    box-shadow: none !important;
    text-shadow: none !important;
    forced-color-adjust: auto;
  }

  .solar-map-controls button > .solar-control-signal {
    border-color: ButtonText;
    background: CanvasText;
    box-shadow: none;
  }
}

@media (max-width: 370px) {
  .experience-controls .persistent-playback-glyph {
    display: grid;
  }

  .experience-controls .audio-step-button {
    min-inline-size: 42px;
    padding-inline: .35rem;
  }

  .experience-controls .persistent-audio-toggle {
    padding-inline: .48rem;
  }

  .solar-map {
    aspect-ratio: auto;
    min-block-size: clamp(32rem, 165vw, 38rem);
  }

  .solar-map-controls {
    inset: .5rem .5rem auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
    max-inline-size: calc(100% - 1rem);
  }

  .solar-map-controls button {
    min-block-size: 44px;
    padding-inline: .42rem;
  }

  .solar-chronometer {
    inset: auto .5rem 6.35rem;
  }
}

@media (max-width: 650px) {
  .experience-controls {
    inset:
      auto max(.75rem, env(safe-area-inset-right))
      max(.75rem, env(safe-area-inset-bottom))
      calc(max(.75rem, env(safe-area-inset-left)) + 44px + .4rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    inline-size: auto;
  }

  .privacy-reopen {
    inset:
      auto auto max(.75rem, env(safe-area-inset-bottom))
      max(.75rem, env(safe-area-inset-left));
    display: grid;
    place-items: center;
    inline-size: 44px;
    min-block-size: 44px;
    max-inline-size: 44px;
    overflow: hidden;
    padding: 0;
  }

  .privacy-reopen-label {
    display: none;
  }

  .privacy-reopen-icon {
    inline-size: 1.6rem;
    block-size: 1.6rem;
  }

  body[data-type-size="xlarge"] .experience-dialog {
    font-size: 1rem;
  }

  body[data-type-size="xlarge"] .experience-dialog header {
    padding: .55rem .7rem;
  }

  body[data-type-size="xlarge"] .experience-category-trigger {
    min-block-size: 46px;
    padding-block: .38rem;
  }

  body[data-type-size="xlarge"] .experience-category-trigger small,
  body[data-type-size="xlarge"] .experience-category-panel :is(
    .control-choice,
    .control-action,
    .control-select
  ) small,
  body[data-type-size="xlarge"] .audio-control-field > p {
    display: none;
  }

  body[data-type-size="xlarge"] .experience-category-panel :is(
    .control-choice,
    .control-action,
    .control-select
  ) {
    min-block-size: 46px;
    margin-block-start: .22rem;
    padding-block: .4rem;
  }

  body[data-type-size="xlarge"] .experience-dialog
    .experience-category-panel[data-expanded="true"] fieldset {
    padding-block-end: .5rem;
  }
}

body[data-theme="light"]:not([data-colour-vision="standard"]) .threshold :is(
  .scene-index,
  .threshold-lead,
  .text-action,
  .threshold-ledger,
  .threshold-ledger span,
  .threshold-ledger b
),
body[data-theme="light"]:not([data-colour-vision="standard"]) :is(
  .observatory-heading,
  .living-heading,
  .doctrine,
  .krek-heading,
  .krek-story article,
  .solar-map figcaption,
  .identity-rotation figcaption,
  .scope-ribbon article,
  .process-grid figcaption,
  .art-rail a
) :is(
  .scene-index,
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  dt,
  dd,
  figcaption,
  span,
  b,
  strong,
  small,
  a
) {
  color: var(--ink) !important;
  text-shadow:
    0 1px 2px var(--paper),
    0 0 .9rem color-mix(in srgb, var(--paper) 64%, transparent) !important;
}

body[data-theme="light"]:not([data-colour-vision="standard"]) .threshold .text-action {
  border-color: color-mix(in srgb, var(--ink) 72%, transparent) !important;
}

body[data-theme="light"]:not([data-colour-vision="standard"]) .privacy-reopen {
  border-color: var(--support-boundary) !important;
  background: var(--ink-soft) !important;
  color: var(--paper) !important;
}

body[data-theme="light"]:not([data-colour-vision="standard"]) .persistent-audio-copy {
  color: var(--paper) !important;
}

@media (max-width: 370px) {
  .experience-controls {
    inset-inline-start: auto;
    inline-size: auto;
  }

  .experience-controls .experience-settings-button > .control-glyph,
  .experience-controls .experience-settings-button > span:last-child {
    display: grid;
  }

  .experience-controls .experience-settings-button small,
  .experience-controls .persistent-audio-toggle > .persistent-audio-copy {
    display: none;
  }

  .experience-controls .experience-settings-button {
    flex: 0 0 auto;
  }
}

@media (min-width: 651px) {
  .privacy-reopen {
    inset-inline-start: auto;
    inset-inline-end: calc(max(1rem, env(safe-area-inset-right)) + min(31rem, calc(100vw - 2rem)) + .55rem);
    inset-block-end: max(1rem, env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    inline-size: 46px;
    min-block-size: 46px;
    max-inline-size: 46px;
    overflow: hidden;
    padding: 0;
  }

  .privacy-reopen-label {
    display: none;
  }

  .privacy-reopen-icon {
    inline-size: 1.65rem;
    block-size: 1.65rem;
  }
}

@media (min-width: 900px) {
  .privacy-reopen {
    display: flex;
    inline-size: auto;
    max-inline-size: none;
    gap: .5rem;
    padding: .72rem 1rem;
  }

  .privacy-reopen-label {
    display: inline;
  }
}

@media (max-width: 370px) and (max-height: 650px) {
  .threshold {
    padding-block-start: calc(5.25rem + env(safe-area-inset-top));
    padding-block-end: 8rem;
  }

  .threshold .scene-index {
    margin-block-end: .6rem;
  }

  .threshold h1 em {
    margin-block-start: .55rem;
  }

  .threshold-lead {
    margin-block-start: 1rem;
  }

  .threshold-actions {
    flex-wrap: nowrap;
    gap: .65rem;
    margin-block-start: .5rem;
  }

  .threshold-actions .primary-action {
    min-inline-size: 0;
    gap: .75rem;
    padding: .75rem;
  }

  .threshold-actions .text-action {
    flex: 0 0 auto;
    gap: .5rem;
  }
}

@media (max-width: 520px) {
  .scene-heading h2 {
    font-size: clamp(1.85rem, 12vw, 3.6rem);
  }

  .foundation-chapters h3 {
    font-size: clamp(1.45rem, 9vw, 3.1rem);
    letter-spacing: -.045em;
    line-height: .94;
  }

  .doctrine h3,
  .doctrine.sirocco h3 {
    font-size: clamp(1.55rem, 10cqi, 4rem);
    letter-spacing: -.04em;
    line-height: .92;
  }

  .krek-panels h3 {
    font-size: clamp(1.65rem, 12vw, 4rem);
    letter-spacing: -.045em;
    line-height: .92;
  }
}

@media (max-width: 320px) {
  .scene-heading h2 {
    font-size: clamp(1.65rem, 11.5vw, 3rem);
  }

  .foundation-chapters h3 {
    font-size: clamp(1.35rem, 8.5vw, 2.7rem);
  }

  .doctrine h3,
  .doctrine.sirocco h3 {
    font-size: clamp(1.35rem, 9.5cqi, 3.4rem);
  }

  .krek-panels h3 {
    font-size: clamp(1.45rem, 11vw, 3.4rem);
  }
}

@media (max-width: 430px) {
  .solar-map {
    aspect-ratio: auto;
    block-size: clamp(27rem, 132vw, 30rem);
    min-block-size: 0;
  }

  .solar-map-controls {
    inset: .42rem .42rem auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
    gap: .28rem;
    max-inline-size: calc(100% - .84rem);
  }

  .solar-map-controls button,
  .solar-light-help-toggle {
    min-block-size: 40px;
  }

  .solar-map-controls button {
    grid-template-columns: .55rem minmax(0, 1fr);
    gap: .32rem;
    padding: .38rem .42rem;
  }

  .solar-map-controls button strong {
    font-size: .52rem;
    letter-spacing: .045em;
    line-height: 1.06;
  }

  .solar-map-controls button small {
    display: none;
  }

  .solar-light-help-toggle {
    inline-size: 40px;
  }

  .solar-chronometer {
    inset: auto .42rem 3.65rem;
  }

  .solar-chronometer > span {
    padding: .28rem .4rem .32rem;
  }

  .solar-chronometer > span:nth-child(odd) {
    border-inline-start: 0;
  }

  .solar-chronometer > span:nth-child(n + 3) {
    border-block-start: 1px solid rgb(122 215 232 / .16);
  }

  .solar-chronometer small {
    font-size: .35rem;
    letter-spacing: .075em;
  }

  .solar-chronometer strong {
    font-size: .49rem;
  }

  .solar-rate-control {
    block-size: .55rem;
  }

  .solar-map figcaption {
    inset: auto .42rem .35rem calc(4% + .35rem);
    gap: .24rem .56rem;
    padding: .35rem .42rem .3rem;
    font-size: .46rem;
    letter-spacing: .075em;
  }

  .solar-map figcaption small {
    display: none;
  }

  .experience-controls {
    z-index: 80;
    inset:
      auto max(.45rem, env(safe-area-inset-right))
      max(.45rem, env(safe-area-inset-bottom))
      calc(max(.45rem, env(safe-area-inset-left)) + 44px + .4rem);
    grid-template-columns: 42px auto;
    gap: .32rem;
    inline-size: auto;
  }

  .experience-controls button {
    min-block-size: 42px;
    gap: .35rem;
    padding: .4rem .48rem;
  }

  .experience-controls .experience-settings-button {
    inline-size: 42px;
    padding: .35rem;
  }

  .experience-controls .audio-step-button {
    flex-basis: 38px;
    inline-size: 38px;
    min-inline-size: 38px;
    padding-inline: .3rem;
  }

  .experience-controls .persistent-audio-toggle {
    min-inline-size: 78px;
    padding-inline: .42rem;
  }

  .experience-controls .persistent-audio-bars {
    gap: 2px;
  }

  .audio-track-index {
    font-size: .4rem;
  }

  .audio-preview-tooltip {
    z-index: 8;
    inset: auto 0 calc(100% + .55rem) auto;
    inline-size: min(17rem, calc(100vw - 4rem));
    padding: .62rem .68rem;
    font-size: .58rem;
  }

  .privacy-reopen {
    inset-inline: max(.45rem, env(safe-area-inset-left)) auto;
    inset-block-end: max(.45rem, env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    inline-size: 44px;
    min-block-size: 44px;
    max-inline-size: 44px;
    overflow: hidden;
    padding: 0;
  }

  .privacy-reopen-label {
    display: none;
  }

  .privacy-reopen-icon {
    inline-size: 1.6rem;
    block-size: 1.6rem;
  }

  .privacy-dialog {
    box-sizing: border-box;
    inline-size: calc(100vw - .75rem);
    max-inline-size: calc(100vw - .75rem);
    max-block-size: calc(100dvh - .75rem);
    overflow: clip;
  }

  .privacy-dialog form {
    max-block-size: calc(100dvh - .75rem);
    overflow: clip;
  }

  .privacy-dialog header {
    padding: .68rem 2.8rem .62rem .72rem;
  }

  .privacy-dialog header > span {
    font-size: .45rem;
    letter-spacing: .09em;
  }

  .privacy-dialog h2 {
    margin: .22rem 0 .35rem;
    font-size: clamp(1.05rem, 7vw, 1.35rem);
    line-height: 1;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
  }

  .privacy-dialog p {
    font-size: .62rem;
    line-height: 1.25;
  }

  .privacy-dialog header button {
    inset-block-start: .42rem;
    inset-inline-end: .42rem;
    inline-size: 36px;
    min-block-size: 36px;
  }

  .privacy-choice {
    min-block-size: 0;
    gap: .55rem;
    padding: .5rem .72rem;
  }

  .privacy-choice > span {
    gap: .16rem;
  }

  .privacy-choice strong {
    font-size: .75rem;
  }

  .privacy-choice small {
    font-size: .56rem;
    line-height: 1.25;
  }

  .privacy-choice > b {
    max-inline-size: 5rem;
    font-size: .5rem;
    line-height: 1.18;
  }

  .privacy-choice input {
    inline-size: 1.2rem;
    block-size: 1.2rem;
  }

  .privacy-dialog footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    padding: .52rem .72rem;
  }

  .privacy-dialog footer a {
    min-inline-size: 0;
    font-size: .52rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .privacy-dialog footer .privacy-primary {
    inline-size: auto;
    min-block-size: 40px;
    padding: .5rem .62rem;
    font-size: .56rem;
  }
}

@media (max-width: 370px) {
  .experience-controls {
    inset-inline-start: calc(max(.45rem, env(safe-area-inset-left)) + 44px + .4rem);
    inline-size: auto;
    justify-content: stretch;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .experience-controls .experience-settings-button > span:not(.control-glyph) {
    display: none;
  }

  .persistent-audio-player {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    inline-size: 100%;
  }

  .experience-controls .audio-step-glyph,
  .experience-controls .persistent-playback-glyph {
    display: grid;
  }

  .experience-controls .persistent-audio-toggle {
    inline-size: 100%;
    min-inline-size: 0;
  }

  .experience-controls .persistent-audio-toggle > .persistent-audio-copy {
    display: block;
    font-size: clamp(.42rem, 5.4cqi, .52rem);
  }

  .experience-controls :is(.persistent-audio-bars, .audio-track-index) {
    display: none;
  }
}

body[data-readable-type="true"] :is(
  p,
  li,
  dt,
  dd,
  summary,
  button,
  a,
  input,
  select,
  textarea,
  label,
  legend,
  figcaption,
  blockquote,
  .experience-category-trigger > span:first-child,
  .experience-category-trigger strong,
  .experience-category-trigger small
) {
  font-family: "Segoe UI", Arial, sans-serif;
}

body[data-link-cues="true"] a[href] {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: .12em;
  text-underline-offset: .18em;
}

.locale-state {
  grid-template-columns: 1.45rem minmax(0, auto);
  justify-content: center;
  gap: .42rem;
  min-inline-size: 7.4rem;
  min-block-size: 2.55rem;
  padding: .34rem .56rem;
  text-align: start;
}

.locale-state-signal {
  display: grid;
  place-items: center;
  inline-size: 1.45rem;
  block-size: 1.45rem;
  border: 1px solid rgb(122 215 232 / .42);
  background:
    radial-gradient(circle, rgb(255 111 31 / .24), transparent 64%),
    rgb(3 9 10 / .62);
  color: #8ae7f6;
  box-shadow:
    0 0 12px rgb(62 207 232 / .18),
    inset 0 0 8px rgb(255 111 31 / .11);
  clip-path: polygon(16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%, 0 16%);
  transition: color 220ms ease, border-color 220ms ease, box-shadow 260ms ease, rotate 320ms ease;
}

.locale-state-signal svg {
  inline-size: 1.05rem;
  block-size: 1.05rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.locale-state-copy {
  display: grid;
  min-inline-size: 0;
  gap: .06rem;
  line-height: 1;
}

.locale-state-copy strong {
  color: var(--paper);
  font-family: var(--axtlan-reading);
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

.locale-state-copy small {
  direction: ltr;
  color: #e99662;
  font-family: "Axtlan Soles", ui-monospace, monospace;
  font-size: .42rem;
  font-weight: 800;
  letter-spacing: .12em;
  unicode-bidi: isolate;
}

.locale-state:is(:hover, :focus-visible) .locale-state-signal {
  border-color: #ff9b58;
  color: #fff6e9;
  box-shadow:
    0 0 18px rgb(255 105 31 / .5),
    0 0 11px rgb(73 214 239 / .35),
    inset 0 0 9px rgb(255 244 229 / .16);
  rotate: -8deg;
}

body[data-theme="light"] .locale-state {
  background: rgb(255 248 238 / .72);
  color: #662407;
}

body[data-theme="light"] .locale-state-copy strong {
  color: #35170a;
}

body[data-theme="light"] .locale-state-copy small {
  color: #7a2607;
}

body[data-theme="light"] .locale-state-signal {
  border-color: rgb(17 101 122 / .55);
  background:
    radial-gradient(circle, rgb(255 109 31 / .24), transparent 66%),
    rgb(231 247 246 / .84);
  color: #075b73;
}

html[dir="rtl"] .threshold::after {
  background:
    linear-gradient(270deg, rgb(4 3 3 / .96) 0%, rgb(4 3 3 / .78) 44%, rgb(4 3 3 / .22) 78%),
    linear-gradient(0deg, rgb(4 3 3 / .93), transparent 56%);
}

html[dir="rtl"] .threshold h1 em {
  max-inline-size: 17ch;
  color: #fff8ee;
  font-family: var(--axtlan-reading);
  font-size: clamp(1.6rem, 3.2vw, 3.55rem);
  letter-spacing: 0;
  line-height: 1.16;
  text-align: start;
  text-shadow: 0 3px 7px #000, 0 0 20px rgb(0 0 0 / .92);
  text-wrap: balance;
}

html[dir="rtl"] .threshold-lead {
  color: #fff8ef;
  text-shadow: 0 2px 5px #000, 0 0 18px #000;
}

@media (min-width: 651px) {
  html[dir="rtl"] .doctrine > div {
    grid-column: 1;
  }

  html[dir="rtl"] .doctrine:nth-child(even) > div {
    grid-column: 2;
  }
}

html[dir="rtl"] .doctrine h3,
html[dir="rtl"] .doctrine.sirocco h3 {
  color: #fff8ed;
  font-family: var(--axtlan-reading);
  font-size: clamp(2rem, 8.4cqi, 4.7rem);
  letter-spacing: 0;
  line-height: 1.08;
  text-align: start;
  text-shadow: 0 3px 7px #000, 0 0 19px #000;
  text-wrap: balance;
}

html[dir="rtl"] .doctrine p {
  color: #f0dfcf;
  text-align: start;
  text-shadow: 0 2px 5px #000, 0 0 14px #000;
}

html[dir="rtl"] :is(
  .solar-chronometer strong,
  .planet-facts dd,
  .sun-card header > span,
  .sun-card dl > div:nth-child(2) dd,
  .sun-card dl > div:nth-child(3) dd
) {
  direction: ltr;
  text-align: start;
  unicode-bidi: isolate;
}

html:is([lang="zh-CN"], [lang="ja"], [lang="ko"], [lang="th"], [lang="bo"]) :is(
  .threshold h1 em,
  .doctrine h3,
  .doctrine.sirocco h3
) {
  font-family: var(--axtlan-reading);
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

@media (max-width: 650px) {
  .locale-state {
    inline-size: 100%;
    min-inline-size: 0;
  }

  html[dir="rtl"] .threshold h1 em {
    font-size: clamp(1.45rem, 7.4vw, 2.55rem);
    line-height: 1.18;
  }
}

.experience-controls {
  z-index: 92;
  inset-block: auto max(1rem, env(safe-area-inset-bottom));
  inset-inline: auto max(1rem, env(safe-area-inset-right));
}

.privacy-reopen {
  z-index: 93;
  inset-block: auto max(1rem, env(safe-area-inset-bottom));
  inset-inline: max(1rem, env(safe-area-inset-left)) auto;
}

.privacy-banner:not([hidden]) {
  inset-inline: max(1rem, env(safe-area-inset-left)) auto;
  inline-size: min(44rem, calc(100vw - 36rem));
  max-inline-size: calc(100vw - 2rem);
  margin-inline: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: .8rem;
}

.audio-preview-tooltip {
  position: fixed;
  z-index: 121;
  inset-block: auto calc(max(1rem, env(safe-area-inset-bottom)) + 4.15rem);
  inset-inline: auto max(1rem, env(safe-area-inset-right));
  inline-size: min(24rem, calc(100vw - 2rem));
  max-inline-size: calc(100vw - 2rem);
  overflow: clip;
}

html[dir="rtl"] .audio-preview-tooltip {
  inset-inline: auto max(1rem, env(safe-area-inset-left));
}

html[dir="rtl"] .experience-controls {
  inset-inline-end: max(1rem, env(safe-area-inset-left));
}

html[dir="rtl"] .privacy-reopen {
  inset-inline-start: max(1rem, env(safe-area-inset-right));
}

main {
  padding-block-end: calc(4.75rem + env(safe-area-inset-bottom));
}

.threshold-ledger {
  inset-block-end: max(4vw, calc(4.75rem + env(safe-area-inset-bottom)));
  max-inline-size: min(42vw, 34rem);
}

.threshold-ledger > span {
  min-inline-size: 0;
  overflow-wrap: break-word;
  word-break: normal;
  writing-mode: horizontal-tb;
}

@media (min-width: 1201px) and (max-height: 900px) {
  .threshold {
    padding-block: 5rem 5.5rem;
  }

  .threshold-copy {
    inline-size: min(56rem, 72vw);
  }

  .threshold-wordmark {
    inline-size: min(50rem, 100%);
    max-block-size: 24vh;
  }

  .threshold h1 em {
    max-inline-size: 18ch;
    margin-block-start: .65rem;
    font-size: clamp(2rem, 3.25vw, 3.6rem);
    line-height: .95;
  }

  .threshold-lead {
    max-inline-size: 40rem;
    margin-block-start: 1rem;
    font-size: clamp(1rem, .5vw + .72rem, 1.18rem);
    line-height: 1.42;
  }

  .threshold-actions {
    margin-block-start: 1rem;
  }
}

@media (max-width: 1200px) {
  .scroll-cue {
    display: none;
  }
}

.solar-map-controls {
  inset-block: 1rem auto;
  inset-inline: auto 1rem;
}

.solar-light-tooltip {
  inset: auto;
  inline-size: min(27rem, calc(100vw - 2rem));
  max-inline-size: calc(100vw - 2rem);
  overflow: clip;
}

.solar-light-topic {
  min-inline-size: 0;
}

.solar-light-tooltip > .solar-light-topic + .solar-light-topic {
  margin-block-start: 0;
}

.solar-light-help .solar-light-tooltip-close {
  inset-block: .55rem auto;
  inset-inline: auto .55rem;
}

html[dir="rtl"] .solar-map figcaption {
  direction: rtl;
  text-align: start;
}

html[dir="rtl"] .solar-map figcaption small {
  inline-size: 100%;
  text-align: start;
}

@media (max-width: 650px) {
  main {
    padding-block-end: calc(4rem + env(safe-area-inset-bottom));
  }

  .experience-controls {
    inset-block-end: max(.45rem, env(safe-area-inset-bottom));
    inset-inline-end: max(.45rem, env(safe-area-inset-right));
    inset-inline-start: auto;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .32rem;
    block-size: 44px;
    inline-size: min(18.5rem, calc(100vw - 1.6rem - 44px - .4rem));
    max-inline-size: calc(100vw - 1.6rem - 44px - .4rem);
  }

  .experience-controls .experience-settings-button {
    inline-size: 42px;
    min-inline-size: 42px;
    overflow: visible;
    padding: .35rem;
  }

  .experience-controls .experience-settings-button > span:not(.control-glyph) {
    display: none;
  }

  .persistent-audio-player {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    inline-size: 100%;
    min-inline-size: 0;
  }

  .experience-controls .persistent-audio-toggle {
    inline-size: 100%;
    min-inline-size: 0;
  }

  .privacy-reopen {
    inset-block-end: max(.45rem, env(safe-area-inset-bottom));
    inset-inline-start: max(.45rem, env(safe-area-inset-left));
    inset-inline-end: auto;
    inline-size: 44px;
    max-inline-size: 44px;
  }

  .privacy-banner:not([hidden]) {
    inset-inline: max(.5rem, env(safe-area-inset-left)) max(.5rem, env(safe-area-inset-right));
    inline-size: auto;
    max-inline-size: none;
  }

  html[dir="rtl"] .experience-controls {
    inset-inline-end: max(.45rem, env(safe-area-inset-left));
  }

  html[dir="rtl"] .privacy-reopen {
    inset-inline-start: max(.45rem, env(safe-area-inset-right));
  }

  .performance-auto-status {
    position: fixed;
    inset-block-end: calc(max(.45rem, env(safe-area-inset-bottom)) + 44px + .42rem);
    inset-inline-start: max(.45rem, env(safe-area-inset-left));
    inline-size: min(18rem, calc(100vw - .9rem));
    max-inline-size: none;
    padding: .55rem .65rem;
    border: 1px solid rgb(255 151 76 / .72);
    background: rgb(10 7 5 / .96);
    box-shadow: 0 .8rem 2rem rgb(0 0 0 / .42), inset 0 0 1rem rgb(255 111 37 / .07);
    pointer-events: none;
  }

  body[data-theme="light"] .performance-auto-status {
    background: rgb(247 231 211 / .98);
    box-shadow: 0 .8rem 2rem rgb(67 34 18 / .22), inset 0 0 1rem rgb(177 64 18 / .06);
  }

  .experience-controls:has(.persistent-audio-player:is(:hover, :focus-within)) .performance-auto-status {
    visibility: hidden;
    opacity: 0;
  }

  .audio-preview-tooltip {
    position: fixed;
    z-index: 96;
    inset-block: auto calc(44px + max(.8rem, env(safe-area-inset-bottom)));
    inset-inline: max(.6rem, env(safe-area-inset-left)) max(.6rem, env(safe-area-inset-right));
    inline-size: auto;
    max-inline-size: none;
    overflow: clip;
  }

  html[dir="rtl"] .audio-preview-tooltip {
    inset-inline-start: max(.6rem, env(safe-area-inset-right));
    inset-inline-end: max(.6rem, env(safe-area-inset-left));
  }

  .threshold-ledger,
  html[dir="rtl"] .threshold-ledger {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    justify-self: stretch;
    max-inline-size: 100%;
    margin-block-start: 1rem;
    padding-block: .55rem;
    border-block: 1px solid rgb(255 126 54 / .26);
  }

  .threshold-ledger > span,
  html[dir="rtl"] .threshold-ledger > span {
    justify-content: center;
    min-inline-size: 0;
    text-align: center;
  }

  .solar-map-controls {
    inset-block: .42rem auto;
    inset-inline: .42rem;
    inline-size: auto;
    max-inline-size: none;
  }

  .solar-light-tooltip {
    inset: auto;
    inline-size: 100%;
    max-inline-size: 100%;
    max-block-size: none;
    overflow: clip;
  }

  html[dir="rtl"] .solar-map figcaption {
    justify-content: flex-start;
  }

  html.is-anchor-navigation .solar-map[data-reveal] {
    opacity: 1;
    translate: none;
  }
}

@media (max-width: 430px) {
  .observatory-layout {
    margin-block-start: 1rem;
  }

  .solar-map {
    block-size: auto;
    min-block-size: 0;
    aspect-ratio: auto;
  }

  .solar-map-stage {
    position: relative;
    inset: auto;
    block-size: clamp(20rem, 110vw, 23rem);
    min-block-size: clamp(20rem, 110vw, 23rem);
  }

  .solar-light-help {
    position: relative;
    inset: auto;
    inline-size: auto;
    margin: .5rem;
  }

  .solar-light-tooltip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .58rem;
    padding: .78rem 2.75rem .82rem .78rem;
  }

  html[dir="rtl"] .solar-light-tooltip {
    padding-inline: 2.75rem .78rem;
  }

  .solar-light-topic-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
    margin-block-end: .58rem;
    padding-inline-end: 1.7rem;
    grid-column: 1 / -1;
  }

  html[dir="rtl"] .solar-light-topic-tabs {
    padding-inline: 1.7rem 0;
  }

  .solar-light-topic-tabs button {
    min-block-size: 42px;
    min-inline-size: 0;
    border: 1px solid var(--line);
    background: rgb(8 10 10 / .72);
    color: var(--muted);
    font: 700 clamp(.54rem, 2.55vw, .64rem) / 1.22 "Axtlan Text", Georgia, serif;
    letter-spacing: .035em;
    overflow-wrap: anywhere;
    padding: .42rem .35rem;
    text-align: start;
  }

  .solar-light-topic-tabs button[aria-expanded="true"] {
    border-color: var(--cyan);
    color: var(--paper);
    box-shadow: inset 0 -2px 0 var(--ember), 0 0 .8rem rgb(42 205 238 / .12);
  }

  body[data-theme="light"] .solar-light-topic-tabs button {
    border-color: rgb(126 55 17 / .55);
    background: rgb(255 248 237 / .88);
    color: #5c493b;
  }

  body[data-theme="light"] .solar-light-topic-tabs button[aria-expanded="true"] {
    border-color: #0f708f;
    color: #32180c;
    box-shadow: inset 0 -2px 0 #c84613, 0 0 .8rem rgb(15 112 143 / .16);
  }

  .solar-light-tooltip > .solar-light-topic + .solar-light-topic {
    margin-block-start: 0;
  }

  .solar-light-topic strong {
    font-size: .58rem;
  }

  .solar-light-topic p {
    margin-block-start: 0;
    font-size: clamp(.52rem, 2.35vw, .58rem);
    line-height: 1.38;
    overflow-wrap: break-word;
  }

  .solar-map-controls button {
    min-inline-size: 0;
  }

  .solar-map figcaption {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .solar-map figcaption span {
    min-inline-size: 0;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .solar-map-stage {
    block-size: 23rem;
    min-block-size: 23rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solar-data-transfer strong,
  .solar-data-transfer-rays,
  .solar-data-transfer-meter i {
    animation: none !important;
    transition-duration: 120ms !important;
  }

  .solar-data-transfer {
    animation: solar-transfer-fail-open 1ms 8s forwards !important;
    transition-duration: 120ms !important;
  }
}

body .symbol-wave-target > .symbol-wave-readable,
body .symbol-wave-target > .symbol-wave-readable .symbol-wave-grapheme {
  font-family: var(--axtlan-reading) !important;
}

body [data-decode-value].symbol-wave-target > .symbol-wave-readable,
body [data-decode-value].symbol-wave-target > .symbol-wave-readable .symbol-wave-grapheme {
  font-family: var(--axtlan-reading) !important;
  font-variant-numeric: tabular-nums lining-nums;
}
