@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/barlow-condensed-800.woff2") format("woff2");
}

@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/chakra-petch-500.woff2") format("woff2");
}

@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/chakra-petch-600.woff2") format("woff2");
}

@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/chakra-petch-700.woff2") format("woff2");
}

:root {
  --void: #02030a;
  --black: #04050d;
  --panel: #080a18;
  --panel-2: #0d0b21;
  --paper: #f5f5ff;
  --muted: #aaaac0;
  --dim: #71758b;
  --line: rgba(95, 229, 255, .16);
  --cyan: #58efff;
  --blue: #5d83ff;
  --violet: #9145ff;
  --pink: #f431e8;
  --green: #66ff86;
  --gold: #ffbd48;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --tech: "Chakra Petch", system-ui, sans-serif;
  --archive: min(91vw, 1660px);
  --header: 90px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  background: var(--void);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 70% 5%, rgba(80, 30, 175, .12), transparent 34rem),
    var(--black);
  font-family: var(--tech);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

::selection {
  color: #04050d;
  background: var(--cyan);
}

img,
svg { display: block; }

a { color: inherit; text-decoration: none; }

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

button { color: inherit; font: inherit; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.archive-width {
  width: var(--archive);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #05050d;
  background: var(--cyan);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.archive-cursor {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 29rem;
  height: 29rem;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 230, 255, .055), rgba(128, 55, 255, .018) 47%, transparent 70%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity .3s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

body:hover .archive-cursor { opacity: 1; }

.scanlines {
  position: fixed;
  z-index: 99;
  inset: 0;
  pointer-events: none;
  opacity: .022;
  background: repeating-linear-gradient(180deg, #fff 0 1px, transparent 1px 4px);
}

.js .reveal {
  opacity: 0;
  transform: translateY(35px);
}

.js .reveal.is-visible {
  animation: reveal-record .8s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms) both;
}

/* Header */
.archive-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 38px;
  align-items: center;
  height: var(--header);
  padding-inline: 3.2vw;
  border-bottom: 1px solid transparent;
  transition: height .25s ease, background .25s ease, border-color .25s ease;
}

.archive-header.is-fixed {
  height: 76px;
  border-color: rgba(93, 231, 255, .13);
  background: rgba(3, 4, 12, .87);
  backdrop-filter: blur(18px);
}

.archive-brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-self: start;
}

.archive-brand img {
  width: 39px;
  height: 39px;
  filter: drop-shadow(0 0 10px rgba(88, 239, 255, .44));
}

.archive-brand span { display: grid; }

.archive-brand b {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.archive-brand small {
  margin-top: 4px;
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}

.archive-nav {
  display: flex;
  gap: clamp(25px, 3.5vw, 62px);
  align-items: center;
  justify-self: center;
}

.archive-nav a {
  position: relative;
  padding-block: 10px;
  color: #9b9caf;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.archive-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.archive-nav a:hover,
.archive-nav a:focus-visible,
.archive-nav a.is-active { color: #fff; }

.archive-nav a:hover::after,
.archive-nav a:focus-visible::after,
.archive-nav a.is-active::after { transform: scaleX(1); }

.archive-exit {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(91, 230, 255, .22);
  color: #c4c6d6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.archive-exit i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.archive-exit:hover,
.archive-exit:focus-visible {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(88, 239, 255, .05);
}

.archive-menu-toggle { display: none; }

/* Hero */
.lore-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 940px;
  height: 100svh;
  max-height: 1120px;
  overflow: hidden;
  border-bottom: 1px solid rgba(93, 231, 255, .14);
  background:
    radial-gradient(circle at 71% 48%, rgba(89, 49, 207, .24), transparent 24rem),
    radial-gradient(circle at 71% 48%, rgba(51, 219, 255, .08), transparent 42rem),
    linear-gradient(110deg, #03040b 0 51%, #08061a 78%, #03040b);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(75, 222, 255, .048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 222, 255, .048) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.hero-grid::before,
.hero-grid::after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .36;
}

.hero-grid::before {
  top: 24%;
  left: 0;
  width: 34%;
  height: 1px;
}

.hero-grid::after {
  bottom: 19%;
  left: 8%;
  width: 16%;
  height: 1px;
}

.hero-core {
  position: absolute;
  top: 50%;
  left: 71%;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.core-orbit,
.core-sun,
.core-route {
  position: absolute;
  border-radius: 50%;
}

.core-orbit {
  inset: 5%;
  border: 1px solid rgba(94, 231, 255, .19);
  box-shadow: inset 0 0 90px rgba(74, 81, 255, .03), 0 0 80px rgba(80, 211, 255, .035);
  animation: core-spin 42s linear infinite;
}

.core-orbit::before,
.core-orbit::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  content: "";
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--cyan);
}

.core-orbit::before { top: 10%; left: 18%; }
.core-orbit::after { right: 7%; bottom: 27%; }

.core-orbit-b {
  inset: 18%;
  border-style: dashed;
  border-color: rgba(244, 49, 232, .27);
  animation-direction: reverse;
  animation-duration: 29s;
}

.core-orbit-c {
  inset: 31%;
  border-color: rgba(91, 255, 132, .15);
  animation-duration: 18s;
}

.core-sun {
  inset: 38%;
  background: radial-gradient(circle at 40% 38%, #fff 0 2%, #9ef7ff 6%, #7886ff 24%, #8e38dc 47%, rgba(53, 13, 98, .36) 67%, transparent 72%);
  filter: drop-shadow(0 0 27px rgba(104, 226, 255, .85)) drop-shadow(0 0 95px rgba(151, 55, 255, .55));
  animation: core-breathe 4.5s ease-in-out infinite;
}

.core-route {
  height: 23%;
  border: 1px solid transparent;
  border-top-color: rgba(93, 231, 255, .24);
  transform: rotate(-18deg);
}

.route-a { inset: 36% -3% auto 18%; }
.route-b { inset: 55% 25% auto -10%; transform: rotate(19deg); border-top-color: rgba(244, 49, 232, .25); }
.route-c { inset: 23% 15% auto 44%; transform: rotate(46deg); border-top-color: rgba(102, 255, 134, .18); }

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .42fr);
  gap: 10vw;
  align-items: end;
  padding-top: 100px;
  padding-bottom: 95px;
}

.hero-record > p {
  display: flex;
  gap: 32px;
  margin: 0 0 38px;
  color: var(--dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-record > p span:first-child { color: var(--green); }

.hero-record h1 {
  max-width: 880px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(110px, 10.8vw, 204px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .7;
  text-transform: uppercase;
}

.hero-record h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(244, 49, 232, .72);
  text-shadow: 0 0 34px rgba(244, 49, 232, .13);
}

.hero-premise {
  display: grid;
  grid-template-columns: 145px minmax(0, 520px);
  gap: 28px;
  align-items: start;
  margin-top: 52px;
}

.hero-premise span {
  padding: 8px 10px;
  border: 1px solid rgba(244, 49, 232, .35);
  color: var(--pink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
}

.hero-premise p {
  margin: 0;
  color: #b9b9cd;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.7;
}

.hero-terminal {
  position: relative;
  z-index: 4;
  margin-bottom: 12px;
  border: 1px solid rgba(91, 231, 255, .19);
  background: rgba(3, 5, 15, .72);
  box-shadow: inset 0 0 44px rgba(74, 211, 255, .025), 0 20px 60px rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
}

.terminal-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(91, 231, 255, .13);
  color: var(--cyan);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.terminal-head span:last-child { color: var(--green); }

.hero-terminal dl { margin: 0; }

.hero-terminal dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(91, 231, 255, .09);
}

.hero-terminal dt {
  color: #777b90;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-terminal dd {
  margin: 0;
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
}

.hero-terminal > p {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 15px 18px;
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-terminal > p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: status-pulse 2s ease-in-out infinite;
}

.hero-footer {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 25px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-footer p {
  max-width: 700px;
  margin: 0;
  color: #616579;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-footer a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-footer a span { font-size: 18px; }

/* Index */
.archive-index {
  position: sticky;
  z-index: 50;
  top: 76px;
  overflow: hidden;
  border-bottom: 1px solid rgba(91, 230, 255, .13);
  background: rgba(3, 4, 12, .92);
  backdrop-filter: blur(14px);
}

.archive-index .archive-width {
  display: grid;
  grid-template-columns: repeat(9, minmax(max-content, 1fr));
  overflow-x: auto;
  scrollbar-width: none;
}

.archive-index .archive-width::-webkit-scrollbar { display: none; }

.archive-index a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding-inline: 15px;
  border-right: 1px solid rgba(91, 230, 255, .08);
  color: #73768a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.archive-index a:first-child { border-left: 1px solid rgba(91, 230, 255, .08); }
.archive-index a span { color: var(--pink); }
.archive-index a:hover,
.archive-index a:focus-visible { color: #fff; background: rgba(88, 239, 255, .045); }

/* Shared section language */
.archive-section {
  position: relative;
  padding-block: 150px;
  overflow: hidden;
  border-bottom: 1px solid rgba(91, 230, 255, .12);
}

.archive-section::before {
  position: absolute;
  top: 0;
  right: 4.5vw;
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, rgba(91, 230, 255, .1) 12%, rgba(91, 230, 255, .1) 88%, transparent);
}

.archive-section-head > p:first-child,
.split-head > div > p {
  display: flex;
  gap: 19px;
  align-items: center;
  margin: 0 0 54px;
  color: #74788e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.archive-section-head > p:first-child::before,
.split-head > div > p::before {
  width: 33px;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.archive-section-head > p:first-child span,
.split-head > div > p span { color: var(--cyan); }

.archive-section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(76px, 7.7vw, 145px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .77;
  text-transform: uppercase;
}

.archive-section-head h2 em {
  color: var(--pink);
  font-style: normal;
  text-shadow: 0 0 26px rgba(244, 49, 232, .18);
}

.split-head {
  display: grid;
  grid-template-columns: 1.12fr .55fr;
  gap: clamp(70px, 10vw, 185px);
  align-items: end;
}

.split-head > p {
  max-width: 560px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
}

/* Primer */
.primer-section {
  background:
    radial-gradient(circle at 86% 20%, rgba(124, 44, 220, .12), transparent 32rem),
    linear-gradient(145deg, #050612, #03040b 65%);
}

.primer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr;
  gap: clamp(70px, 10vw, 180px);
  align-items: center;
  margin-top: 100px;
}

.record-type {
  margin: 0 0 23px !important;
  color: var(--pink) !important;
  font-size: 8px !important;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.primer-lead h3 {
  max-width: 800px;
  margin: 0 0 40px;
  font-family: var(--display);
  font-size: clamp(46px, 4.5vw, 82px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .92;
  text-transform: uppercase;
}

.primer-lead > p:not(.record-type) {
  max-width: 760px;
  color: #b3b3c8;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.85;
}

.primer-lead strong { color: var(--cyan); }

.primer-quote {
  position: relative;
  margin: 0;
  padding: 42px 40px;
  border: 1px solid rgba(91, 230, 255, .16);
  border-left: 2px solid var(--cyan);
  background: rgba(7, 8, 23, .72);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .23), inset 0 0 40px rgba(77, 222, 255, .025);
}

.primer-quote::after {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 52px;
  height: 52px;
  border-right: 1px solid var(--pink);
  border-bottom: 1px solid var(--pink);
  content: "";
}

.primer-quote span,
.primer-quote cite {
  color: #74788c;
  font-size: 8px;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.primer-quote p {
  margin: 34px 0;
  font-family: var(--display);
  font-size: clamp(31px, 2.8vw, 50px);
  font-style: italic;
  line-height: 1;
}

.reliability-key {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  margin-top: 105px;
  border: 1px solid rgba(91, 230, 255, .14);
  background: rgba(4, 5, 15, .65);
}

.reliability-key > div:first-child {
  display: grid;
  align-content: center;
  padding: 31px 37px;
  border-right: 1px solid rgba(91, 230, 255, .12);
}

.reliability-key > div > p {
  margin: 0 0 6px;
  color: #fff;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.reliability-key > div > span {
  color: var(--dim);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reliability-key dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.reliability-key dl > div {
  display: grid;
  align-content: center;
  min-height: 120px;
  padding: 24px 27px;
}

.reliability-key dl > div + div { border-left: 1px solid rgba(91, 230, 255, .1); }

.reliability-key dt {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #e8e8f2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reliability-key dt i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px currentColor;
}

.reliability-key dt .remembered { background: var(--violet); }
.reliability-key dt .performed { background: var(--pink); }

.reliability-key dd {
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.6;
}

/* Chronology */
.chronology-section {
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(92, 229, 255, .03) 50%, transparent 50.1%),
    #04050d;
}

.era-list {
  position: relative;
  margin: 110px 0 0;
  padding: 0;
  list-style: none;
}

.era-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 83px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--cyan), var(--violet) 50%, var(--pink) 75%, var(--green));
  box-shadow: 0 0 15px rgba(88, 239, 255, .17);
}

.era {
  position: relative;
  display: grid;
  grid-template-columns: 168px minmax(300px, .72fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  min-height: 215px;
  border-top: 1px solid rgba(91, 230, 255, .11);
}

.era:last-child { border-bottom: 1px solid rgba(91, 230, 255, .11); }

.era::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 78px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 13px var(--cyan);
  content: "";
  transform: translateY(-50%);
}

.era-number {
  display: grid;
  justify-items: start;
}

.era-number span {
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.era-number b {
  color: rgba(255, 255, 255, .1);
  font-family: var(--display);
  font-size: 82px;
  font-weight: 700;
  line-height: .75;
}

.era-title > span,
.era-copy small {
  color: var(--pink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.era-title h3 {
  margin: 9px 0 0;
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 68px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .85;
  text-transform: uppercase;
}

.era-copy p {
  max-width: 720px;
  margin: 0 0 16px;
  color: #aaaabd;
  font-size: 14px;
}

.era-copy small { color: var(--dim); }

.era-hush {
  background: linear-gradient(90deg, transparent, rgba(244, 49, 232, .035), transparent);
}

.era-hush::before { border-color: var(--pink); box-shadow: 0 0 13px var(--pink); }
.era-return::before { border-color: var(--green); box-shadow: 0 0 13px var(--green); }
.era-return .era-title > span { color: var(--green); }

/* Atlas */
.atlas-section {
  background:
    radial-gradient(circle at 30% 59%, rgba(69, 82, 224, .11), transparent 33rem),
    linear-gradient(145deg, #03040b, #07061a);
}

.atlas-console {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(350px, .6fr);
  min-height: 760px;
  margin-top: 105px;
  border: 1px solid rgba(91, 230, 255, .2);
  background: rgba(3, 5, 15, .78);
  box-shadow: 0 35px 95px rgba(0, 0, 0, .32), inset 0 0 90px rgba(78, 68, 211, .035);
}

.inner-map {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-right: 1px solid rgba(91, 230, 255, .13);
  background:
    linear-gradient(rgba(78, 221, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 221, 255, .04) 1px, transparent 1px),
    radial-gradient(circle, rgba(62, 44, 175, .17), transparent 56%);
  background-size: 46px 46px, 46px 46px, auto;
}

.map-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 229, 255, .14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-two { width: 47%; border-style: dashed; border-color: rgba(244, 49, 232, .18); }
.ring-three { width: 25%; border-color: rgba(101, 255, 135, .13); }

.map-vein {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87, 231, 255, .25), transparent);
  transform: translate(-50%, -50%) rotate(18deg);
}

.vein-two { transform: translate(-50%, -50%) rotate(-37deg); background: linear-gradient(90deg, transparent, rgba(244, 49, 232, .2), transparent); }
.vein-three { transform: translate(-50%, -50%) rotate(71deg); background: linear-gradient(90deg, transparent, rgba(102, 255, 134, .17), transparent); }

.map-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(92, 232, 255, .24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 73, 225, .45), rgba(7, 6, 21, .88));
  box-shadow: 0 0 45px rgba(86, 223, 255, .16);
  transform: translate(-50%, -50%);
}

.map-center img { width: 30px; filter: drop-shadow(0 0 8px var(--cyan)); }

.map-node {
  position: absolute;
  z-index: 4;
  top: var(--map-y);
  left: var(--map-x);
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid rgba(91, 230, 255, .1);
  color: #898ca2;
  background: rgba(3, 5, 14, .74);
  text-align: left;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.map-node i {
  grid-row: 1 / 3;
  align-self: center;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 6px currentColor;
}

.map-node span {
  color: var(--pink);
  font-size: 6px;
  letter-spacing: .12em;
}

.map-node b {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-node:hover,
.map-node:focus-visible,
.map-node.is-active {
  border-color: rgba(88, 239, 255, .55);
  color: #fff;
  background: rgba(8, 14, 31, .94);
  transform: translate(-50%, -50%) scale(1.06);
}

.map-node.is-active i { color: var(--cyan); background: var(--cyan); }

.map-readout {
  display: grid;
  align-content: center;
  padding: clamp(38px, 4.4vw, 76px);
}

.map-readout > p:first-child {
  display: flex;
  justify-content: space-between;
  margin: 0 0 32px;
  color: var(--pink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.map-readout > p:first-child span:last-child { color: var(--green); }

.map-readout h3 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(55px, 5vw, 88px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .82;
  text-transform: uppercase;
}

.map-readout > strong {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.map-readout > p:nth-of-type(2) {
  margin: 28px 0 40px;
  color: #adaec2;
  font-size: 14px;
  line-height: 1.75;
}

.map-readout > div {
  display: grid;
  gap: 6px;
  padding-top: 19px;
  border-top: 1px solid rgba(91, 230, 255, .13);
}

.map-readout > div span {
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.map-readout > div b {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Orders */
.orders-section { background: #04050d; }

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 100px;
}

.order-card {
  --order-color: var(--cyan);
  position: relative;
  min-height: 510px;
  padding: clamp(34px, 4vw, 67px);
  overflow: hidden;
  border: 1px solid rgba(91, 230, 255, .17);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--order-color) 7%, transparent), transparent 48%),
    rgba(7, 8, 20, .85);
  transition: border-color .25s ease, transform .25s ease;
}

.order-card::after {
  position: absolute;
  right: -85px;
  bottom: -85px;
  width: 250px;
  height: 250px;
  border: 1px solid color-mix(in srgb, var(--order-color) 22%, transparent);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 45px color-mix(in srgb, var(--order-color) 4%, transparent);
}

.order-card:hover { border-color: color-mix(in srgb, var(--order-color) 55%, transparent); transform: translateY(-5px); }
.order-violet { --order-color: var(--violet); }
.order-pink { --order-color: var(--pink); }
.order-green { --order-color: var(--green); }

.order-mark {
  position: absolute;
  top: 45px;
  right: 45px;
  width: 64px;
  height: 64px;
  transform: rotate(45deg);
}

.order-mark span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--order-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--order-color) 33%, transparent);
}

.order-mark span:nth-child(2) { inset: 13px; border-style: dashed; transform: rotate(45deg); }
.order-mark span:nth-child(3) { inset: 25px; background: var(--order-color); }

.order-card > p:first-of-type {
  margin: 0 0 46px;
  color: var(--order-color);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.order-card h3 {
  max-width: 560px;
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(50px, 5.1vw, 86px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: .82;
  text-transform: uppercase;
}

.order-card > p:nth-of-type(2) {
  max-width: 580px;
  color: #a9aabc;
  font-size: 14px;
}

.order-card blockquote {
  margin: 30px 0;
  padding-left: 20px;
  border-left: 1px solid var(--order-color);
  color: #e5e5ef;
  font-family: var(--display);
  font-size: 23px;
  font-style: italic;
  line-height: 1.1;
}

.order-card dl {
  display: flex;
  gap: 40px;
  margin: 40px 0 0;
}

.order-card dl div { display: grid; gap: 4px; }

.order-card dt {
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.order-card dd {
  margin: 0;
  color: #d6d6e2;
  font-size: 10px;
  text-transform: uppercase;
}

/* Dossiers */
.dossiers-section {
  background:
    linear-gradient(rgba(91, 230, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 230, 255, .035) 1px, transparent 1px),
    #050511;
  background-size: 61px 61px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 105px;
}

.dossier {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(25px, 3vw, 50px);
  min-height: 375px;
  padding: clamp(32px, 3.6vw, 58px);
  border: 1px solid rgba(91, 230, 255, .15);
  background: rgba(4, 5, 15, .88);
  transition: border-color .25s ease, background .25s ease;
}

.dossier:hover { border-color: rgba(91, 230, 255, .39); background: rgba(7, 8, 22, .96); }
.dossier-wide { grid-column: 1 / -1; grid-template-columns: 220px 1fr; }

.dossier-avatar {
  --avatar-color: var(--gold);
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  width: 100%;
  aspect-ratio: .76;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--avatar-color) 37%, transparent);
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--avatar-color) 26%, transparent), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--avatar-color) 8%, #090915), #04050c);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.dossier-avatar::before,
.dossier-avatar::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--avatar-color) 22%, transparent);
  border-radius: 50%;
  content: "";
}

.dossier-avatar::before { inset: 20%; }
.dossier-avatar::after { inset: 32%; border-style: dashed; }

.dossier-avatar span {
  position: relative;
  z-index: 2;
  color: var(--avatar-color);
  font-family: var(--display);
  font-size: 51px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 0 18px color-mix(in srgb, var(--avatar-color) 52%, transparent);
}

.dossier-avatar i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.avatar-cyan { --avatar-color: var(--cyan); }
.avatar-pink { --avatar-color: var(--pink); }
.avatar-violet { --avatar-color: var(--violet); }
.avatar-green { --avatar-color: var(--green); }
.avatar-void { --avatar-color: #a69db9; }

.dossier-copy > p:first-child {
  margin: 0 0 17px;
  color: var(--pink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.dossier-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(46px, 4.1vw, 72px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: .82;
  text-transform: uppercase;
}

.dossier-copy > strong {
  display: block;
  margin: 14px 0 25px;
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.dossier-copy > p:nth-of-type(2) {
  max-width: 750px;
  margin: 0;
  color: #a9aabc;
  font-size: 13px;
}

.dossier-copy blockquote {
  margin: 24px 0 0;
  color: #e5e5ef;
  font-family: var(--display);
  font-size: 21px;
  font-style: italic;
  line-height: 1.1;
}

.dossier-green { border-color: rgba(102, 255, 134, .21); }
.dossier-green .dossier-copy > strong { color: var(--green); }
.dossier-entity { border-color: rgba(145, 69, 255, .23); }

/* Artifacts */
.artifacts-section {
  background:
    radial-gradient(circle at 81% 32%, rgba(244, 49, 232, .1), transparent 34rem),
    linear-gradient(135deg, #04050d, #080617);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 105px;
}

.artifact-card {
  position: relative;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(91, 230, 255, .15);
  background: rgba(5, 6, 18, .86);
  transition: transform .25s ease, border-color .25s ease;
}

.artifact-card:hover { border-color: rgba(91, 230, 255, .4); transform: translateY(-6px); }

.artifact-number {
  position: absolute;
  top: 17px;
  right: 20px;
  color: rgba(255, 255, 255, .13);
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.artifact-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 175px;
  margin-bottom: 28px;
}

.artifact-symbol::before,
.artifact-symbol::after {
  position: absolute;
  width: 125px;
  height: 125px;
  border: 1px solid rgba(91, 230, 255, .14);
  border-radius: 50%;
  content: "";
}

.artifact-symbol::after { width: 83px; height: 83px; border-style: dashed; border-color: rgba(244, 49, 232, .18); }

.artifact-symbol i {
  position: relative;
  z-index: 2;
  display: block;
  width: 55px;
  height: 55px;
  border: 2px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 17px rgba(88, 239, 255, .25), inset 0 0 17px rgba(88, 239, 255, .08);
}

.artifact-card > p:first-of-type {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.artifact-card h3 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(36px, 3.2vw, 55px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .85;
  text-transform: uppercase;
}

.artifact-card > p:nth-of-type(2) {
  margin: 0 0 25px;
  color: #a2a3b6;
  font-size: 12px;
  line-height: 1.7;
}

.artifact-card > small {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(91, 230, 255, .1);
  color: var(--dim);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.artifact-feature {
  grid-column: span 2;
  border-color: rgba(102, 255, 134, .27);
  background:
    radial-gradient(circle at 30% 25%, rgba(102, 255, 134, .09), transparent 18rem),
    rgba(8, 5, 22, .9);
}

.artifact-feature .artifact-symbol i {
  width: 79px;
  height: 105px;
  border-color: var(--green);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(244, 49, 232, .45), rgba(74, 20, 115, .85));
  clip-path: polygon(12% 17%, 33% 0, 86% 0, 100% 17%, 100% 100%, 0 100%, 0 27%);
  transform: none;
  box-shadow: 0 0 22px rgba(102, 255, 134, .2);
}

.artifact-feature .artifact-symbol b {
  position: absolute;
  z-index: 3;
  color: var(--green);
  font-family: var(--display);
  font-size: 15px;
  text-shadow: 0 0 7px var(--green);
}

.artifact-glass .artifact-symbol i { border-color: var(--pink); background: #05020c; transform: rotate(21deg) skew(-12deg); }
.artifact-tape .artifact-symbol i { width: 72px; height: 46px; border-color: var(--violet); transform: none; }
.artifact-key .artifact-symbol i { width: 65px; height: 23px; border: 0; border-bottom: 3px solid var(--cyan); transform: rotate(-17deg); }
.artifact-staff .artifact-symbol i { width: 8px; height: 95px; border-radius: 6px; transform: rotate(12deg); }
.artifact-stamp .artifact-symbol i { border-radius: 50%; transform: none; }
.artifact-bell .artifact-symbol i { border-radius: 50% 50% 9px 9px; border-color: #aaa1bd; transform: none; }

/* Laws */
.laws-section { background: #03040b; }

.signal-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  margin-top: 100px;
  padding: 35px 32px;
  border: 1px solid rgba(91, 230, 255, .17);
  background: rgba(6, 7, 18, .78);
  list-style: none;
}

.signal-path > li {
  position: relative;
  display: grid;
  gap: 6px;
  padding-inline: 24px;
  text-align: center;
}

.signal-path > li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -21px;
  width: 42px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 7px rgba(88, 239, 255, .3);
}

.signal-path > li span {
  color: var(--pink);
  font-size: 7px;
  font-weight: 700;
}

.signal-path > li b {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.signal-path > li small {
  color: var(--dim);
  font-size: 7px;
  text-transform: uppercase;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 60px 0 0;
  padding: 0;
  border-top: 1px solid rgba(91, 230, 255, .15);
  border-left: 1px solid rgba(91, 230, 255, .15);
  list-style: none;
}

.law-grid li {
  min-height: 300px;
  padding: clamp(28px, 3vw, 49px);
  border-right: 1px solid rgba(91, 230, 255, .15);
  border-bottom: 1px solid rgba(91, 230, 255, .15);
  background: rgba(6, 7, 18, .55);
}

.law-grid li span {
  color: var(--pink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.law-grid h3 {
  margin: 39px 0 22px;
  font-family: var(--display);
  font-size: clamp(35px, 3.2vw, 54px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .88;
  text-transform: uppercase;
}

.law-grid p {
  margin: 0;
  color: #999bad;
  font-size: 12px;
  line-height: 1.7;
}

/* Worlds */
.worlds-section {
  background:
    radial-gradient(circle at 50% 25%, rgba(117, 44, 212, .1), transparent 40rem),
    #05040e;
}

.world-ledger {
  display: grid;
  gap: 35px;
  margin-top: 105px;
}

.world-card {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(91, 230, 255, .17);
  background: #070713;
}

.world-card img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  filter: saturate(.8) contrast(1.08) brightness(.69);
  transition: filter .55s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.world-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(2, 3, 10, .97) 0 12%, rgba(2, 3, 10, .77) 34%, rgba(2, 3, 10, .08) 75%), linear-gradient(0deg, rgba(3, 4, 12, .88), transparent 38%);
}

.world-card:hover img { filter: saturate(1.05) contrast(1.06) brightness(.8); transform: scale(1.025); }

.world-overlay {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(35px, 6vw, 100px);
  width: min(45%, 650px);
  transform: translateY(-50%);
}

.world-overlay > p:first-child {
  margin: 0 0 23px;
  color: var(--pink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.world-overlay h3 {
  margin: 0 0 29px;
  font-family: var(--display);
  font-size: clamp(67px, 7vw, 124px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .76;
  text-transform: uppercase;
}

.world-overlay > p:nth-child(3) {
  max-width: 570px;
  margin: 0 0 28px;
  color: #c1c1d1;
  font-size: 14px;
}

.world-overlay > span {
  display: inline-block;
  padding: 9px 12px;
  border: 1px solid rgba(91, 230, 255, .26);
  color: var(--cyan);
  background: rgba(3, 5, 15, .58);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Fragments */
.fragments-section { background: #03040b; }

.fragment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 105px;
  border-top: 1px solid rgba(91, 230, 255, .14);
  border-left: 1px solid rgba(91, 230, 255, .14);
}

.fragment {
  position: relative;
  display: grid;
  min-height: 270px;
  align-content: space-between;
  gap: 34px;
  margin: 0;
  padding: clamp(28px, 3vw, 48px);
  border-right: 1px solid rgba(91, 230, 255, .14);
  border-bottom: 1px solid rgba(91, 230, 255, .14);
  background: rgba(6, 7, 18, .52);
  transition: color .2s ease, background .2s ease;
}

.fragment:hover { color: var(--cyan); background: rgba(8, 10, 26, .9); }

.fragment span {
  color: var(--pink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.fragment p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.25vw, 38px);
  font-style: italic;
  line-height: 1.05;
}

.fragment-green span { color: var(--green); }
.fragment-final { background: linear-gradient(145deg, rgba(145, 69, 255, .1), rgba(6, 7, 18, .52)); }

/* Ending */
.archive-end {
  position: relative;
  display: grid;
  min-height: 880px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(91, 230, 255, .12);
  background:
    radial-gradient(circle, rgba(124, 53, 229, .22), transparent 27rem),
    radial-gradient(circle, rgba(68, 220, 255, .07), transparent 46rem),
    #03040b;
}

.end-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80vw, 880px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.end-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(91, 230, 255, .13);
  border-radius: 50%;
  animation: core-spin 36s linear infinite;
}

.end-rings span:nth-child(2) { inset: 15%; border-style: dashed; border-color: rgba(244, 49, 232, .2); animation-direction: reverse; animation-duration: 23s; }
.end-rings span:nth-child(3) { inset: 31%; border-color: rgba(102, 255, 134, .14); animation-duration: 15s; }

.end-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.end-content > p {
  margin: 0 0 35px;
  color: var(--green);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.end-content h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(90px, 11vw, 190px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .68;
  text-transform: uppercase;
}

.end-content h2 em { color: var(--pink); font-style: normal; text-shadow: 0 0 30px rgba(244, 49, 232, .2); }

.end-actions {
  display: flex;
  gap: 13px;
  margin-top: 60px;
}

.end-button {
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  min-width: 285px;
  padding: 19px 21px;
  border: 1px solid rgba(91, 230, 255, .24);
  color: #d9d9e5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.end-button span { color: var(--cyan); font-size: 20px; }
.end-button:hover,
.end-button:focus-visible { border-color: var(--cyan); color: #fff; background: rgba(88, 239, 255, .05); }
.end-primary { border-color: rgba(244, 49, 232, .46); background: linear-gradient(120deg, rgba(244, 49, 232, .1), rgba(106, 54, 222, .08)); }
.end-primary span { color: var(--pink); }

.archive-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: center;
  min-height: 185px;
  padding-block: 42px;
}

.archive-footer > p {
  margin: 0;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-footer nav { display: flex; gap: 27px; }

.archive-footer nav a {
  color: #8b8da0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.archive-footer nav a:hover,
.archive-footer nav a:focus-visible { color: var(--cyan); }

.archive-footer > small {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(91, 230, 255, .1);
  color: #575b6c;
  font-size: 7px;
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
}

@keyframes reveal-record {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes core-spin { to { transform: rotate(360deg); } }

@keyframes core-breathe {
  50% { filter: drop-shadow(0 0 42px rgba(104, 226, 255, .95)) drop-shadow(0 0 120px rgba(151, 55, 255, .62)); transform: scale(1.06); }
}

@keyframes status-pulse { 50% { opacity: .35; } }

@media (max-width: 1180px) {
  :root { --archive: calc(100vw - 56px); }

  .archive-header { gap: 25px; padding-inline: 28px; }
  .archive-nav { gap: 25px; }
  .archive-nav a { font-size: 13px; }
  .hero-layout { grid-template-columns: minmax(0, 1.25fr) 280px; gap: 6vw; }
  .hero-core { left: 74%; width: 66vw; }
  .hero-record h1 { font-size: clamp(105px, 12vw, 155px); }
  .atlas-console { grid-template-columns: 1.18fr .82fr; }
  .inner-map { min-height: 690px; }
  .atlas-console { min-height: 690px; }
  .map-node b { font-size: 13px; }
  .dossier { grid-template-columns: 120px 1fr; }
  .dossier-wide { grid-template-columns: 180px 1fr; }
  .artifact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signal-path > li { padding-inline: 14px; }
  .signal-path > li:not(:last-child)::after { right: -11px; width: 22px; }
}

@media (max-width: 900px) {
  :root { --archive: calc(100vw - 40px); --header: 76px; }

  .archive-cursor { display: none; }

  .archive-header,
  .archive-header.is-fixed {
    display: flex;
    height: 76px;
    padding-inline: 20px;
    border-bottom-color: rgba(91, 230, 255, .13);
    background: rgba(3, 4, 12, .94);
    backdrop-filter: none;
  }

  .archive-menu-toggle {
    position: absolute;
    z-index: 5;
    top: 17px;
    right: 20px;
    display: grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    padding: 13px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .archive-menu-toggle span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: transform .25s ease;
  }

  .archive-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .archive-menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

  .archive-nav {
    position: fixed;
    z-index: 3;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
    justify-content: flex-start;
    height: 100vh;
    height: 100dvh;
    padding: 108px 20px 40px;
    overflow-y: auto;
    visibility: hidden;
    background:
      radial-gradient(circle at 75% 28%, rgba(112, 44, 223, .25), transparent 21rem),
      rgba(3, 4, 12, .98);
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }

  .archive-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .archive-nav a {
    width: 100%;
    padding: 5px 0;
    font-size: clamp(50px, 13vw, 78px);
    line-height: 1;
  }

  .archive-nav a::after { display: none; }
  .archive-exit { position: absolute; z-index: 5; top: 20px; right: 75px; padding: 8px 10px; }
  .archive-exit i { display: none; }
  .archive-index { top: 76px; }

  .lore-hero { min-height: 900px; height: auto; max-height: none; }
  .hero-core { top: 41%; left: 75%; width: 100vw; opacity: .58; }
  .hero-layout { grid-template-columns: 1fr; min-height: 900px; align-content: center; padding: 130px 0 150px; }
  .hero-record { position: relative; z-index: 3; }
  .hero-record h1 { font-size: clamp(95px, 18vw, 145px); }
  .hero-premise { grid-template-columns: 130px minmax(0, 460px); }
  .hero-terminal { display: none; }
  .hero-footer { bottom: 26px; }
  .hero-footer p { max-width: 540px; }

  .archive-section { padding-block: 115px; }
  .archive-section::before { display: none; }
  .split-head { grid-template-columns: 1fr; gap: 40px; }
  .split-head > p { margin: 0; }
  .archive-section-head h2 { font-size: clamp(70px, 14vw, 112px); }

  .primer-grid { grid-template-columns: 1fr; gap: 65px; margin-top: 75px; }
  .primer-quote { max-width: 650px; }
  .reliability-key { grid-template-columns: 1fr; margin-top: 75px; }
  .reliability-key > div:first-child { border-right: 0; border-bottom: 1px solid rgba(91, 230, 255, .12); }

  .era { grid-template-columns: 125px 1fr; gap: 20px 35px; padding-block: 32px; }
  .era-list::before { left: 60px; }
  .era::before { left: 55px; }
  .era-copy { grid-column: 2; }

  .atlas-console { grid-template-columns: 1fr; min-height: 0; margin-top: 75px; }
  .inner-map { min-height: 680px; border-right: 0; border-bottom: 1px solid rgba(91, 230, 255, .13); }
  .map-readout { min-height: 460px; }

  .order-grid { margin-top: 75px; }
  .order-card { min-height: 540px; }
  .order-mark { top: 34px; right: 34px; width: 51px; height: 51px; }
  .order-mark span:nth-child(2) { inset: 10px; }
  .order-mark span:nth-child(3) { inset: 20px; }

  .dossier-grid { grid-template-columns: 1fr; margin-top: 75px; }
  .dossier-wide { grid-column: auto; grid-template-columns: 150px 1fr; }
  .dossier { grid-template-columns: 150px 1fr; }

  .artifact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 75px; }
  .signal-path { grid-template-columns: 1fr; gap: 0; margin-top: 75px; }
  .signal-path > li { min-height: 95px; align-content: center; }
  .signal-path > li:not(:last-child)::after { top: auto; right: 50%; bottom: -14px; width: 1px; height: 29px; background: linear-gradient(var(--cyan), var(--violet)); }
  .law-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .world-ledger,
  .fragment-grid { margin-top: 75px; }
  .world-card,
  .world-card img { min-height: 560px; }
  .world-overlay { width: min(65%, 600px); }
  .fragment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-footer { grid-template-columns: 1fr auto; }
  .archive-footer > p { display: none; }
}

@media (max-width: 600px) {
  :root { --archive: calc(100vw - 34px); }

  html { scroll-padding-top: 122px; }
  .archive-brand b { font-size: 18px; }
  .archive-brand small { display: none; }
  .archive-exit { top: 21px; right: 70px; max-width: 94px; overflow: hidden; font-size: 7px; white-space: nowrap; }
  .archive-index a { min-height: 46px; padding-inline: 13px; }

  .lore-hero { min-height: 780px; }
  .hero-layout { min-height: 780px; padding-block: 115px 125px; }
  .hero-core { top: 39%; left: 79%; width: 135vw; opacity: .48; }
  .hero-record > p { display: grid; gap: 5px; margin-bottom: 29px; }
  .hero-record h1 { font-size: clamp(70px, 21vw, 96px); line-height: .74; }
  .hero-premise { grid-template-columns: 1fr; gap: 17px; margin-top: 38px; }
  .hero-premise span { justify-self: start; }
  .hero-premise p { max-width: 330px; font-size: 13px; }
  .hero-footer p { max-width: 250px; font-size: 6px; line-height: 1.5; }
  .hero-footer a { font-size: 7px; }

  .archive-section { padding-block: 88px; }
  .archive-section-head > p:first-child,
  .split-head > div > p { margin-bottom: 39px; }
  .archive-section-head h2 { font-size: clamp(60px, 18vw, 82px); }
  .split-head { gap: 30px; }
  .split-head > p { font-size: 14px; }

  .primer-grid { margin-top: 58px; }
  .primer-lead h3 { font-size: 45px; }
  .primer-lead > p:not(.record-type) { font-size: 14px; }
  .primer-quote { padding: 29px 24px; }
  .primer-quote p { font-size: 29px; }
  .reliability-key { margin-top: 58px; }
  .reliability-key > div:first-child { padding: 26px 23px; }
  .reliability-key dl { grid-template-columns: 1fr; }
  .reliability-key dl > div { min-height: 90px; }
  .reliability-key dl > div + div { border-top: 1px solid rgba(91, 230, 255, .1); border-left: 0; }

  .era-list { margin-top: 60px; }
  .era-list::before { left: 30px; }
  .era { grid-template-columns: 61px 1fr; gap: 16px 20px; min-height: 0; padding-block: 31px; }
  .era::before { left: 25px; }
  .era-number b { font-size: 46px; }
  .era-title h3 { font-size: 38px; }
  .era-copy p { font-size: 12px; }

  .atlas-console { margin-top: 58px; }
  .inner-map { min-height: 560px; }
  .map-ring { width: 90%; }
  .ring-two { width: 64%; }
  .ring-three { width: 36%; }
  .map-center { width: 60px; height: 60px; }
  .map-node { grid-template-columns: 10px 1fr; gap: 3px; padding: 6px; }
  .map-node i { width: 5px; height: 5px; }
  .map-node b { max-width: 76px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
  .map-node span { font-size: 5px; }
  .map-readout { min-height: 440px; padding: 31px 23px; }
  .map-readout h3 { font-size: 54px; }

  .order-grid { grid-template-columns: 1fr; margin-top: 58px; }
  .order-card { min-height: 490px; padding: 31px 25px; }
  .order-mark { top: 25px; right: 25px; width: 43px; height: 43px; }
  .order-mark span:nth-child(2) { inset: 8px; }
  .order-mark span:nth-child(3) { inset: 17px; }
  .order-card > p:first-of-type { margin-bottom: 37px; }
  .order-card h3 { max-width: 270px; font-size: 52px; }

  .dossier-grid { margin-top: 58px; }
  .dossier,
  .dossier-wide { grid-template-columns: 78px 1fr; gap: 20px; min-height: 0; padding: 24px 20px; }
  .dossier-avatar { aspect-ratio: .72; }
  .dossier-avatar span { font-size: 28px; }
  .dossier-copy h3 { font-size: 38px; }
  .dossier-copy > p:nth-of-type(2) { grid-column: 1 / -1; font-size: 12px; }
  .dossier-copy blockquote { font-size: 18px; }

  .artifact-grid { grid-template-columns: 1fr; margin-top: 58px; }
  .artifact-feature { grid-column: auto; }
  .artifact-card { min-height: 430px; }
  .artifact-symbol { height: 145px; }

  .signal-path { margin-top: 58px; padding: 23px 18px; }
  .law-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .law-grid li { min-height: 250px; padding: 30px 25px; }
  .law-grid h3 { margin-top: 31px; font-size: 39px; }

  .world-ledger { margin-top: 58px; gap: 18px; }
  .world-card,
  .world-card img { min-height: 590px; }
  .world-card::after { background: linear-gradient(0deg, rgba(2, 3, 10, .98) 0 20%, rgba(2, 3, 10, .68) 60%, rgba(2, 3, 10, .08)); }
  .world-overlay { top: auto; right: 24px; bottom: 34px; left: 24px; width: auto; transform: none; }
  .world-overlay h3 { font-size: 60px; }
  .world-overlay > p:nth-child(3) { font-size: 12px; }

  .fragment-grid { grid-template-columns: 1fr; margin-top: 58px; }
  .fragment { min-height: 225px; padding: 28px 24px; }
  .fragment p { font-size: 30px; }

  .archive-end { min-height: 720px; }
  .end-rings { width: 130vw; }
  .end-content h2 { font-size: clamp(76px, 23vw, 105px); }
  .end-actions { display: grid; width: 100%; margin-top: 48px; }
  .end-button { width: 100%; min-width: 0; }

  .archive-footer { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .archive-footer .archive-brand { justify-self: center; }
  .archive-footer nav { justify-content: center; gap: 19px; }
  .archive-footer > small { text-align: center; }
}

@media (max-width: 900px) and (max-height: 500px) {
  .archive-nav { gap: 0; padding-top: 82px; }
  .archive-nav a { font-size: clamp(37px, 12vh, 55px); }
}

@media (forced-colors: active) {
  :where(a, button, [tabindex]):focus-visible { outline: 2px solid CanvasText; }
}

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