:root {
  --paper: #e8e3d8;
  --paper-bright: #f4f0e6;
  --ink: #0a0a0b;
  --cobalt: #2457ff;
  --vermilion: #ff4c00;
  --ash: #a7a39a;
  --plate-shape: polygon(9% 2%, 93% 12%, 99% 86%, 73% 98%, 6% 81%, 0 17%);
  --plate-datum-y: 47%;
  --memory-x: 56%;
  --memory-y: 48%;
  --memory-strength: 0.12;
  --memory-compress: 1;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "Liberation Mono", "Courier New", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --micro: 160ms;
  --response: 280ms;
  --reveal: 720ms;
  --page-progress: 0;
  --hero-p: 0;
  --hero-cal-y: 0px;
  --hero-title-y: 0px;
  --hero-title-scale: 1;
  --hero-artifact-y: 0px;
  --hero-cue-opacity: 1;
  --thesis-p: 0;
  --thesis-left: 0px;
  --thesis-right: 0px;
  --thesis-cut: 1;
  --coda-p: 1;
  --coda-trace-scale: 1;
  --coda-dot-right: calc(100% - 0.4rem);
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  overflow-x: clip;
}

html[data-motion="off"] {
  scroll-behavior: auto;
}

html.no-js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
}

html.no-js *,
html.no-js *::before,
html.no-js *::after {
  animation: none !important;
  transition: none !important;
}

body.document-hidden *,
body.document-hidden *::before,
body.document-hidden *::after {
  animation-play-state: paused !important;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  color: var(--paper-bright);
  background: var(--vermilion);
}

.mono {
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1.45;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  transform: translateY(-180%);
  transition: transform var(--response) var(--ease-out);
}

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

:focus-visible {
  outline: 3px solid var(--vermilion);
  outline-offset: 4px;
}

.boot {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  animation: boot-wipe 650ms var(--ease-out) both;
}

.boot.is-skipped {
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  animation: none;
}

.boot span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  animation: boot-copy 520ms var(--ease-standard) both;
}

.boot__line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cobalt);
  transform-origin: left;
  animation: boot-line 420ms var(--ease-out) both;
}

@keyframes boot-wipe {
  0%,
  42% {
    clip-path: inset(0);
  }
  100% {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}

@keyframes boot-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes boot-copy {
  0%, 25% { opacity: 0; }
  50%, 76% { opacity: 1; }
  100% { opacity: 0; }
}

.paper-tooth {
  position: fixed;
  z-index: 90;
  inset: 0;
  opacity: 0.055;
  background-image:
    repeating-radial-gradient(circle at 23% 17%, transparent 0 1px, rgba(0, 0, 0, 0.3) 1px 1.4px),
    repeating-radial-gradient(circle at 71% 67%, transparent 0 1.2px, rgba(255, 255, 255, 0.35) 1.2px 1.7px);
  background-size: 6px 6px, 8px 8px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.instrument {
  position: fixed;
  z-index: 100;
  inset: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) auto max(1rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 3rem 1fr auto 1px;
  align-items: start;
  gap: 1.2rem;
  color: white;
  mix-blend-mode: difference;
  pointer-events: none;
}

.instrument a,
.instrument button {
  pointer-events: auto;
}

.instrument__mark {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.25rem;
  width: 3rem;
  min-height: 2.75rem;
  margin-top: -0.75rem;
  font-family: var(--display);
  font-size: 0.84rem;
  line-height: 1;
}

.instrument__mark i {
  display: block;
  height: 1px;
  background: currentColor;
}

.instrument__readout {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding-top: 0.06rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.instrument__chapter {
  min-width: 6.5rem;
}

.instrument__coordinate {
  opacity: 0.56;
}

.motion-control {
  position: relative;
  display: block;
  align-self: start;
  justify-self: end;
  width: 134px;
  min-width: 134px;
  min-inline-size: 0;
  max-width: 134px;
  min-height: 44px;
  margin: -0.5rem 0 0;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-family: var(--mono);
  font-size: min(0.625rem, 10px);
  letter-spacing: 0.08em;
  pointer-events: auto;
}

.motion-control__effective {
  position: absolute;
  top: calc(100% + 0.28rem);
  right: 0;
  font-family: var(--mono);
  font-size: min(0.48rem, 8px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.instrument__controls {
  display: flex;
  align-items: flex-start;
  justify-self: end;
  gap: 0.45rem;
  pointer-events: auto;
}

.audio-toggle {
  position: relative;
  display: grid;
  width: 58px;
  height: 46px;
  place-items: center;
  margin-top: -0.5rem;
  padding: 0;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.audio-toggle::before {
  content: "";
  position: absolute;
  top: 0.28rem;
  right: 0.28rem;
  width: 0.28rem;
  height: 0.28rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.5;
}

.audio-toggle[data-sound-ready="true"]::before {
  background: currentColor;
  opacity: 1;
}

.audio-toggle[aria-pressed="false"] {
  opacity: 0.58;
}

.motion-control__choices {
  display: flex;
}

.motion-choice {
  position: relative;
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: inherit;
  cursor: pointer;
}

.motion-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.motion-choice span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-left: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.motion-choice:first-child span {
  border-left: 0;
}

.motion-choice input:checked + span {
  color: inherit;
  background: transparent;
  box-shadow: inset 0 -3px 0 currentColor;
  font-weight: 500;
}

.motion-choice input:focus-visible + span {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.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;
}

.instrument__rail {
  position: relative;
  width: 1px;
  height: min(11rem, 24vh);
  background: rgba(255, 255, 255, 0.25);
}

.instrument__progress {
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleY(var(--page-progress));
  transform-origin: top;
}

.chapter {
  position: relative;
  scroll-margin-top: 0;
}

.hero {
  min-height: 112svh;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  isolation: isolate;
}

.hero::after {
  display: none;
}

.hero__calibration {
  position: absolute;
  z-index: 3;
  top: 10.5rem;
  left: max(1.25rem, 3.2vw);
  display: flex;
  flex-direction: column;
  gap: 0.17rem;
  transform: translateY(var(--hero-cal-y));
}

.hero__calibration span:nth-child(2) {
  color: var(--cobalt);
}

.hero__title {
  position: absolute;
  z-index: 2;
  inset: 10.5vh 0 auto;
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.72;
  text-transform: uppercase;
  transform: translateY(var(--hero-title-y)) scale(var(--hero-title-scale));
  transform-origin: center top;
}

.hero__word {
  display: block;
  white-space: nowrap;
}

.hero__word--chroma {
  margin-left: -1.1vw;
  font-size: min(15.8vw, 18rem);
}

.hero__word--fault {
  margin-top: 0.22em;
  margin-right: -0.4vw;
  font-size: min(20.7vw, 23rem);
  text-align: right;
  color: var(--ink);
}

.hero__fault-refraction {
  position: absolute;
  z-index: 6;
  top: calc(10.5vh + 15.9vw);
  right: -0.4vw;
  width: 100%;
  overflow: hidden;
  color: transparent;
  font-family: var(--display);
  font-size: min(20.7vw, 23rem);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.72;
  text-align: right;
  white-space: nowrap;
  -webkit-text-stroke: max(1px, 0.008em) var(--paper-bright);
  clip-path: polygon(48% 0, 78% 6%, 84% 88%, 74% 100%, 51% 80%, 47% 11%);
  text-shadow: -0.3rem 0 var(--cobalt), 0.18rem 0 rgba(255, 76, 0, 0.68);
  transform: translate3d(-0.28rem, var(--hero-title-y), 0) scale(var(--hero-title-scale));
  transform-origin: center top;
  pointer-events: none;
}

.artifact {
  --artifact-x: 0px;
  --artifact-y: 0px;
  --artifact-rotate-x: 0deg;
  --artifact-rotate-y: 0deg;
  position: absolute;
  z-index: 5;
  width: min(31vw, 31rem);
  aspect-ratio: 0.72;
  perspective: 900px;
  transform-style: preserve-3d;
}

.artifact--hero {
  top: 25%;
  right: 17.5vw;
  transform:
    translate3d(var(--artifact-x), calc(var(--artifact-y) + var(--hero-artifact-y)), 0)
    rotate(-7deg)
    rotateX(var(--artifact-rotate-x))
    rotateY(var(--artifact-rotate-y));
  transition: transform 90ms linear;
}

.artifact__plate,
.artifact__ghost {
  position: absolute;
  inset: 0;
  clip-path: var(--plate-shape);
}

.artifact__plate {
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.92) 18.4% 20%, transparent 20.4% 48%, rgba(255, 255, 255, 0.48) 48.3% 49.2%, transparent 49.5%),
    linear-gradient(150deg, rgba(36, 87, 255, 0.9), rgba(237, 238, 255, 0.16) 42%, rgba(232, 227, 216, 0.58) 69%, rgba(5, 5, 7, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 11, 0.2);
}

.artifact__plate::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(92deg, transparent 0 6%, rgba(255, 255, 255, 0.32) 6.2% 6.5%, transparent 6.8% 13%);
  transform: rotate(19deg) translateX(-4%);
}

.artifact__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.6px, transparent 0.8px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.artifact__ghost {
  opacity: 0.34;
  filter: blur(1px);
}

.artifact__ghost--blue {
  background: var(--cobalt);
  transform: translate(-0.65rem, 0.25rem);
}

.artifact__ghost--red {
  background: var(--vermilion);
  transform: translate(0.7rem, -0.2rem);
  opacity: 0.18;
}

.artifact__band {
  position: absolute;
  left: -10%;
  width: 125%;
  height: 9%;
  background: rgba(244, 240, 230, 0.85);
  mix-blend-mode: overlay;
  transform: rotate(-9deg);
}

.artifact__band--one { top: 19%; }
.artifact__band--two { top: var(--plate-datum-y); height: 2%; background: var(--vermilion); }
.artifact__band--three { top: 72%; height: 17%; background: rgba(36, 87, 255, 0.48); }

.artifact__burn {
  position: absolute;
  inset: 30% 9% 13% 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 43% 40%, var(--paper-bright) 0 4%, #afc0ff 18%, rgba(36, 87, 255, 0.72) 42%, rgba(36, 87, 255, 0.18) 64%, transparent 72%);
  filter: blur(6px);
  mix-blend-mode: screen;
}

.artifact__hairline {
  position: absolute;
  top: 0;
  left: 46%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.67);
  transform: rotate(11deg);
}

.artifact__point {
  position: absolute;
  width: 0.46rem;
  height: 0.46rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.artifact__point::before,
.artifact__point::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.artifact__point::before { width: 1.25rem; height: 1px; }
.artifact__point::after { width: 1px; height: 1.25rem; }
.artifact__point--a { top: -0.5rem; left: 7%; }
.artifact__point--b { right: -0.2rem; bottom: 12%; }
.artifact__point--c { bottom: -0.2rem; left: 70%; }

.hero__declaration {
  position: absolute;
  z-index: 6;
  bottom: 11.5vh;
  left: 11.6vw;
  margin: 0;
  max-width: 24rem;
  font-size: clamp(1.05rem, 1.45vw, 1.5rem);
  font-weight: 540;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero__declaration em {
  color: var(--cobalt);
  font-family: Georgia, serif;
  font-weight: 400;
}

.scroll-cue {
  position: absolute;
  z-index: 8;
  right: 13.5vw;
  bottom: 8.8vh;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
  opacity: var(--hero-cue-opacity);
  min-height: 2.75rem;
  padding: 0.65rem 0;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(10, 10, 11, 0.25);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-100%);
  animation: cue 2.2s var(--ease-out) infinite;
}

@keyframes cue {
  65%, 100% { transform: translateX(100%); }
}

.thesis {
  height: 190svh;
  color: var(--paper-bright);
  background: var(--ink);
}

.thesis__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.thesis__index {
  position: absolute;
  top: 13vh;
  left: 3.2vw;
  margin: 0;
  color: var(--cobalt);
}

.thesis__statement {
  position: absolute;
  z-index: 2;
  inset: 19vh 0 auto;
  margin: 0;
  font-family: var(--display);
  font-size: min(13.3vw, 15rem);
  letter-spacing: -0.07em;
  line-height: 0.73;
}

.thesis__statement span {
  display: block;
  white-space: nowrap;
}

.thesis__statement span:nth-child(1) {
  margin-left: -2vw;
  transform: translate3d(var(--thesis-left), 0, 0);
}

.thesis__statement span:nth-child(2) {
  color: var(--cobalt);
  text-align: right;
  transform: translate3d(var(--thesis-right), 0, 0);
}

.thesis__statement span:nth-child(3) {
  margin-left: 7vw;
  color: var(--paper-bright);
  transform: translate3d(var(--thesis-left), 0, 0);
}

.thesis__statement span:nth-child(3)::after {
  content: "";
  display: inline-block;
  width: 0.12em;
  height: 0.12em;
  margin-left: 0.06em;
  background: var(--vermilion);
  transform: translateY(-0.06em);
}

.thesis__note {
  position: absolute;
  z-index: 4;
  right: 7vw;
  bottom: 6vh;
  width: min(20rem, 30vw);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(244, 240, 230, 0.42);
}

.thesis__note span {
  color: var(--cobalt);
}

.thesis__note p {
  margin: 0.85rem 0 0;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.thesis__cut {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 54%;
  width: 0.38rem;
  height: 140%;
  background: var(--vermilion);
  transform: translateY(-20%) rotate(14deg) scaleY(var(--thesis-cut));
  transform-origin: top;
}

.specimens {
  height: 480svh;
  background: var(--paper);
}

.specimen-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.specimen-hud {
  position: absolute;
  z-index: 20;
  top: max(4.4rem, 8vh);
  left: 3.2vw;
  right: 3.2vw;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
  color: white;
  mix-blend-mode: difference;
}

.specimen {
  --panel-fg: var(--ink);
  --panel-bg: var(--paper);
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  color: var(--panel-fg);
  background: var(--panel-bg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 760ms var(--ease-out);
}

.specimen.is-active {
  z-index: 4;
  clip-path: inset(0);
}

.specimen.is-before {
  z-index: 3;
  clip-path: inset(100% 0 0 0);
}

.specimen__number {
  position: absolute;
  top: 8vh;
  right: -1vw;
  font-family: var(--display);
  font-size: min(32vw, 34rem);
  letter-spacing: -0.1em;
  line-height: 0.8;
  opacity: 0.08;
}

.specimen__copy {
  position: absolute;
  z-index: 5;
  top: 23vh;
  left: 5.8vw;
}

.specimen__kicker {
  margin: 0 0 2.2rem;
}

.specimen__copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: min(7vw, 8rem);
  letter-spacing: -0.065em;
  line-height: 0.76;
}

.specimen__copy h2 span {
  display: block;
}

.specimen__body {
  max-width: 17rem;
  margin: 2rem 0 0 0.15rem;
  font-size: 0.97rem;
  font-weight: 520;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.specimen__margin {
  position: absolute;
  right: 2.2vw;
  top: 50%;
  margin: 0;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.specimen-nav {
  position: absolute;
  z-index: 20;
  right: 4vw;
  bottom: 4vh;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  color: white;
  list-style: none;
  mix-blend-mode: difference;
}

.specimen-nav li {
  display: grid;
  grid-template-columns: auto 0fr;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.32;
  transition: opacity var(--response), grid-template-columns var(--response) var(--ease-out);
}

.specimen-nav span,
.specimen-nav b {
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 400;
  letter-spacing: 0.07em;
}

.specimen-nav b {
  overflow: hidden;
}

.specimen-nav li.is-active {
  grid-template-columns: auto 1fr;
  opacity: 1;
}

.study {
  position: absolute;
  z-index: 3;
}

.specimen--surface {
  --panel-bg: var(--paper);
}

.study--surface {
  top: 19vh;
  right: 9vw;
  width: min(38vw, 36rem);
  aspect-ratio: 0.88;
}

.study--surface::before {
  content: "";
  position: absolute;
  inset: -2.5rem;
  border: 1px solid rgba(10, 10, 11, 0.28);
  border-radius: 50%;
  display: none;
}

.study--surface::after {
  content: "";
  position: absolute;
  top: 37%;
  left: -30%;
  width: 150%;
  height: 1px;
  background: var(--vermilion);
  transform: rotate(-13deg);
  display: none;
}

.study__plate {
  position: absolute;
  inset: 6% 9%;
  overflow: hidden;
  clip-path: var(--plate-shape);
  background:
    linear-gradient(114deg, rgba(255,255,255,.86), transparent 22% 63%, rgba(255,255,255,.6) 64% 65%, transparent 66%),
    linear-gradient(145deg, var(--cobalt), #8ca5ff 31%, var(--paper) 55%, #77756f 74%, var(--ink));
  box-shadow: 0 3rem 6rem rgba(10, 10, 11, 0.17);
  transform: rotate(5deg) scale(var(--surface-scale, 0.9));
}

.study__plate span {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 1px;
  background: rgba(255,255,255,.65);
  transform: rotate(-12deg);
}

.study__plate span:nth-child(1) { top: 22%; }
.study__plate span:nth-child(2) { top: 45%; height: 10%; background: rgba(10,10,11,.13); }
.study__plate span:nth-child(3) { top: var(--plate-datum-y); background: var(--vermilion); }
.study__plate span:nth-child(4) { top: 79%; height: 4%; background: rgba(36,87,255,.42); }

.plate-register {
  position: absolute;
  z-index: 6;
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  pointer-events: none;
}

.plate-register::before,
.plate-register::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.plate-register::before { width: 1.2rem; height: 1px; }
.plate-register::after { width: 1px; height: 1.2rem; }
.plate-register--a { top: 2%; left: 9%; }
.plate-register--b { right: 1%; bottom: 12%; }
.plate-register--c { bottom: 2%; left: 70%; }

.specimen--diffraction {
  --panel-fg: var(--paper-bright);
  --panel-bg: var(--cobalt);
}

.specimen--diffraction::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 6.25vw 6.25vw;
}

.study--diffraction {
  top: 11vh;
  right: 0;
  width: 56vw;
  height: 78vh;
}

.prism {
  position: absolute;
  top: 24%;
  left: 36%;
  width: 31%;
  aspect-ratio: 0.95;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  overflow: hidden;
  clip-path: var(--plate-shape);
  background: rgba(244, 240, 230, 0.16);
  filter: drop-shadow(1.5rem 2rem 2rem rgba(0,0,0,.16));
  transform: rotate(var(--prism-rotation, -4deg));
}

.prism::after {
  content: "";
  position: absolute;
  inset: 1px;
  clip-path: inherit;
  border: 1px solid rgba(255,255,255,.7);
}

.prism span {
  position: relative;
  left: auto;
  width: auto;
  height: 100%;
  background: rgba(244, 240, 230, 0.5);
  transform: translateY(var(--slice-y, 0));
  transform-origin: center;
}

.prism span:nth-child(1) { --slice-y: -8%; opacity: 0.35; }
.prism span:nth-child(2) { --slice-y: 7%; opacity: 0.48; }
.prism span:nth-child(3) { --slice-y: -3%; opacity: 0.6; }
.prism span:nth-child(4) { --slice-y: 11%; opacity: 0.78; }
.prism span:nth-child(5) { --slice-y: -6%; opacity: 0.58; }
.prism span:nth-child(6) { --slice-y: 5%; opacity: 0.44; }
.prism span:nth-child(7) { --slice-y: -10%; opacity: 0.3; }

.beam {
  position: absolute;
  height: 1px;
  transform-origin: left;
}

.beam--in {
  top: 46%;
  left: -8%;
  width: 50%;
  background: var(--paper-bright);
  transform: rotate(5deg) scaleX(var(--beam-scale, 0.5));
}

.beam--out {
  top: 53%;
  left: 63%;
  width: 74%;
  box-shadow: 0 0 0.45rem currentColor;
}

.beam--one { color: var(--vermilion); background: currentColor; transform: rotate(-13deg); }
.beam--two { color: var(--paper-bright); background: currentColor; transform: rotate(-5deg); }
.beam--three { color: #aec0ff; background: currentColor; transform: rotate(4deg); }
.beam--four { color: #7899ff; background: currentColor; transform: rotate(13deg); }

.specimen--residue {
  --panel-fg: var(--ink);
  --panel-bg: var(--vermilion);
}

.specimen--residue .specimen__copy h2 {
  color: var(--paper-bright);
}

.study--residue {
  top: 9vh;
  right: 4vw;
  width: 55vw;
  height: 82vh;
  overflow: hidden;
  clip-path: var(--plate-shape);
  border-radius: 50% 50% 0 0;
  background: var(--ink);
}

.thermal {
  position: absolute;
  border-radius: 50%;
  filter: blur(1.1rem);
  mix-blend-mode: screen;
}

.thermal--a {
  top: 9%;
  left: 21%;
  width: 59%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 47% 43%, white 0 4%, #ffd05a 11%, var(--vermilion) 34%, var(--cobalt) 64%, transparent 70%);
  transform: translateY(var(--thermal-y, 0%));
}

.thermal--b {
  right: -10%;
  bottom: 1%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--vermilion), rgba(36,87,255,.55) 50%, transparent 69%);
}

.thermal--c {
  bottom: -17%;
  left: -9%;
  width: 62%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #ffcf95, var(--vermilion) 34%, transparent 67%);
  opacity: 0.62;
}

.residue-grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background:
    repeating-radial-gradient(circle at 52% 42%, transparent 0 7.8%, rgba(255,255,255,.52) 8% 8.18%, transparent 8.38% 14.6%),
    linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: auto, 3.1rem 3.1rem, 3.1rem 3.1rem;
}

.heat-label {
  position: absolute;
  top: 43%;
  left: 48%;
  color: var(--ink);
  background: var(--paper-bright);
  padding: 0.35rem 0.45rem;
}

.specimen--absence {
  --panel-fg: var(--paper-bright);
  --panel-bg: var(--ink);
}

.specimen--absence .specimen__number {
  opacity: 0.06;
}

.study--absence {
  top: 15vh;
  right: 9vw;
  width: min(42vw, 41rem);
  aspect-ratio: 0.9;
}

.absence__outline,
.absence__echo {
  position: absolute;
  inset: 6%;
  clip-path: var(--plate-shape);
}

.absence__outline {
  border: 1px solid var(--paper-bright);
  background:
    linear-gradient(135deg, transparent 49.8%, rgba(244,240,230,.5) 50%, transparent 50.2%),
    linear-gradient(45deg, transparent 49.8%, rgba(244,240,230,.18) 50%, transparent 50.2%);
}

.absence__echo {
  border: 1px solid;
  opacity: 0.42;
}

.absence__echo--one {
  color: var(--cobalt);
  transform: translate(-1.1rem, 0.4rem);
}

.absence__echo--two {
  color: var(--paper-bright);
  transform: translate(1.15rem, -0.35rem);
}

.absence__scan {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--cobalt);
  box-shadow: 0 0 1rem var(--cobalt);
  transform: translateY(calc(var(--spec-local) * 33rem));
}

.release {
  height: 190svh;
  overflow: visible;
  color: var(--paper-bright);
  background: var(--ink);
  isolation: isolate;
}

.release::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 53% 42%, rgba(244,240,230,.045), transparent 36%),
    linear-gradient(115deg, transparent 0 49.92%, rgba(36,87,255,.1) 50%, transparent 50.08%);
  pointer-events: none;
}

.orbit__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  isolation: isolate;
}

.release__meta {
  position: absolute;
  z-index: 5;
  top: 9vh;
  left: 3.2vw;
  margin: 0;
  color: rgba(244,240,230,.64);
}

.orbit__title {
  position: absolute;
  z-index: 1;
  top: 14vh;
  left: -0.5vw;
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.075em;
  line-height: 0.72;
  pointer-events: none;
  opacity: var(--orbit-copy-opacity, 1);
}

.orbit__title span {
  display: block;
  white-space: nowrap;
}

.orbit__title span:first-child {
  font-size: min(10vw, 9rem);
}

.orbit__title span:last-child {
  margin-left: 7vw;
  color: var(--cobalt);
  font-size: min(14vw, 13rem);
}

.orbit__system {
  --orbit-tilt-x: 0deg;
  --orbit-tilt-y: 0deg;
  --orbit-beam-scale: 0;
  --orbit-path-scale: 1;
  position: absolute;
  z-index: 3;
  top: 49%;
  left: 54%;
  width: min(72vw, 68rem);
  height: min(68vh, 42rem);
  transform: translate(-50%, -50%) perspective(900px) rotateX(var(--orbit-tilt-x)) rotateY(var(--orbit-tilt-y));
  transform-style: preserve-3d;
  opacity: var(--orbit-system-opacity, 1);
}

.orbit__system::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 53%;
  height: 1px;
  background: linear-gradient(90deg, rgba(244,240,230,.92), var(--cobalt) 68%, transparent);
  box-shadow:
    0 -6px rgba(244,240,230,.08),
    0 -3px rgba(36,87,255,.15),
    0 3px rgba(36,87,255,.18),
    0 6px rgba(244,240,230,.07);
  transform: rotate(-4deg) scaleX(var(--orbit-beam-scale));
  transform-origin: left;
  pointer-events: none;
}

.orbit__radiance {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(78%, 42rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(244,240,230,.14) 0 0.7deg, transparent 0.9deg 11deg),
    radial-gradient(circle, rgba(244,240,230,.22), rgba(36,87,255,.08) 28%, transparent 68%);
  -webkit-mask: radial-gradient(circle, #000 0 8%, rgba(0,0,0,.92) 12%, transparent 69%);
  mask: radial-gradient(circle, #000 0 8%, rgba(0,0,0,.92) 12%, transparent 69%);
  opacity: 0.82;
  transform: translate(-50%, -50%);
  animation: none;
}

@keyframes orbit-radiance {
  to { transform: translate(-50%, -50%) rotate(1turn); }
}

.orbit__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: rotate(-8deg) scale(var(--orbit-path-scale));
  pointer-events: none;
}

.orbit__plane i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border: 1px solid rgba(244,240,230,.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit__plane i:nth-child(1) { width: 21%; height: 10%; }
.orbit__plane i:nth-child(2) { width: 31%; height: 15%; }
.orbit__plane i:nth-child(3) { width: 41%; height: 20%; }
.orbit__plane i:nth-child(4) { width: 51%; height: 25%; }
.orbit__plane i:nth-child(5) { width: 65%; height: 31%; }
.orbit__plane i:nth-child(6) { width: 77%; height: 37%; }
.orbit__plane i:nth-child(7) { width: 89%; height: 43%; }
.orbit__plane i:nth-child(8) { width: 100%; height: 48%; border-color: rgba(36,87,255,.38); }

.orbit__body {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.orbit__body > span {
  display: block;
  width: var(--planet-size, 0.55rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--planet-color, var(--paper));
  box-shadow: 0 0 1.1rem var(--planet-glow, transparent);
}

.orbit__sun > span {
  width: clamp(3.3rem, 6vw, 6rem);
  background: radial-gradient(circle at 42% 38%, #fffdf2 0 7%, #f4e7b5 20%, #e8b85e 52%, rgba(232,184,94,.22) 70%);
  box-shadow:
    0 0 1.4rem rgba(244,231,181,.92),
    0 0 4rem rgba(232,184,94,.48),
    0 0 8rem rgba(36,87,255,.22);
  animation: none;
}

html[data-motion="on"] .release.is-orbit-visible .orbit__radiance {
  animation: orbit-radiance 28s linear infinite;
}

html[data-motion="on"] .release.is-orbit-visible .orbit__sun > span {
  animation: solar-pulse 4.6s var(--ease-standard) infinite alternate;
}

@keyframes solar-pulse {
  to { transform: scale(1.055); filter: brightness(1.08); }
}

.orbit__planet {
  top: calc(50% + var(--static-y));
  left: calc(50% + var(--static-x));
}

.orbit__planet--mercury { --static-x: 8%; --static-y: -4%; --planet-size: 0.32rem; --planet-color: #a9a49a; }
.orbit__planet--venus { --static-x: -11%; --static-y: 6%; --planet-size: 0.48rem; --planet-color: #d8c5a1; }
.orbit__planet--earth { --static-x: -19%; --static-y: -1%; --planet-size: 0.55rem; --planet-color: #7395ff; --planet-glow: rgba(36,87,255,.7); }
.orbit__planet--mars { --static-x: 17%; --static-y: 9%; --planet-size: 0.42rem; --planet-color: var(--vermilion); --planet-glow: rgba(255,76,0,.4); }
.orbit__planet--jupiter { --static-x: -26%; --static-y: 10%; --planet-size: 1.12rem; --planet-color: #b9a17e; }
.orbit__planet--saturn { --static-x: -22%; --static-y: -15%; --planet-size: 0.88rem; --planet-color: #d7c79f; }
.orbit__planet--uranus { --static-x: 31%; --static-y: -12%; --planet-size: 0.68rem; --planet-color: #9abdc4; }
.orbit__planet--neptune { --static-x: 43%; --static-y: 4%; --planet-size: 0.64rem; --planet-color: var(--cobalt); --planet-glow: rgba(36,87,255,.7); }

.orbit__planet--saturn b {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.65rem;
  height: 0.46rem;
  border: 1px solid rgba(244,240,230,.76);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.orbit__readout {
  position: absolute;
  z-index: 5;
  left: 3.2vw;
  bottom: 10vh;
  width: min(19rem, 26vw);
  padding-top: 0.8rem;
  border-top: 1px solid rgba(244,240,230,.55);
  opacity: var(--orbit-copy-opacity, 1);
}

.orbit__readout-index {
  display: block;
  color: #9ab1ff;
}

.orbit__readout-name {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 2rem);
  letter-spacing: -0.045em;
}

.orbit__readout-note {
  max-width: 17rem;
  margin: 0.55rem 0 0;
  color: rgba(244,240,230,.7);
  font-size: 0.76rem;
  line-height: 1.2;
}

.orbit__thesis {
  position: absolute;
  z-index: 5;
  right: 3.2vw;
  bottom: 9vh;
  width: min(22rem, 28vw);
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  font-style: italic;
  line-height: 1;
  opacity: var(--orbit-copy-opacity, 1);
}

.release__aside {
  position: absolute;
  z-index: 5;
  top: 9vh;
  right: 3.2vw;
  width: auto;
  margin: 0;
  color: rgba(244,240,230,.48);
}

.orbit__instruction--static {
  display: none;
}

html[data-motion="off"] .orbit__instruction--interactive,
html.no-js .orbit__instruction--interactive {
  display: none;
}

html[data-motion="off"] .orbit__instruction--static,
html.no-js .orbit__instruction--static {
  display: inline;
}

.field {
  min-height: 132svh;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
  isolation: isolate;
  touch-action: pan-y;
}

.field__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.field:focus-visible {
  outline: 3px solid var(--paper-bright);
  outline-offset: -0.75rem;
}

.field__grid,
.field__overlay {
  position: absolute;
}

.field__grid {
  z-index: 0;
  inset: 8vh -3vw 5vh 17vw;
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: clamp(2px, 0.3vw, 6px);
  background: transparent;
  clip-path: var(--plate-shape);
  transform: rotate(-2.4deg);
}

.field-cell {
  position: relative;
  overflow: hidden;
  background: #11131a;
  opacity: var(--cell-opacity, 0.96);
  transform:
    translate3d(var(--cell-offset-x, 0), var(--cell-offset-y, 0), 0)
    rotate(var(--cell-rotate, 0deg))
    scale(var(--cell-scale, 1));
  transition:
    background-color 520ms linear,
    opacity 520ms linear,
    transform 520ms var(--ease-out);
}

.field-cell.is-void {
  opacity: 0;
}

.field-cell.is-fracture::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -30%;
  left: 48%;
  width: 1px;
  height: 170%;
  background: var(--cobalt);
  transform: rotate(27deg);
  transform-origin: center;
}

.field-cell::after {
  content: "";
  position: absolute;
  inset: 22% 17%;
  border: 1px solid rgba(255,255,255,var(--cell-border-opacity, 0.04));
  clip-path: polygon(8% 0, 100% 12%, 91% 100%, 0 84%);
  transform: scale(var(--cell-inner-scale, 0.3));
}

.field__overlay {
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at var(--field-x, 50%) var(--field-y, 50%), transparent 0 11%, rgba(10,10,11,.08) 27%, rgba(10,10,11,.9) 76%),
    linear-gradient(90deg, var(--ink) 0 17%, rgba(10,10,11,.18) 42% 76%, rgba(10,10,11,.58));
  pointer-events: none;
}

.field__heading {
  position: absolute;
  z-index: 2;
  top: 17vh;
  left: 4vw;
  padding: 0.6rem 3rem 1rem 0;
  background: linear-gradient(90deg, rgba(10,10,11,.96), rgba(10,10,11,.74) 62%, transparent);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

html[data-motion="on"] .field.is-engaged .field__heading {
  opacity: 0.16;
  transform: translateY(-1.1rem);
}

.field__heading p {
  margin: 0 0 2.1rem;
  color: rgba(244,240,230,.62);
}

.field__heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: min(12vw, 14rem);
  letter-spacing: -0.075em;
  line-height: 0.72;
}

.field__readout {
  position: absolute;
  z-index: 2;
  top: 21vh;
  right: 6vw;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  width: 18rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.7);
  background: rgba(10, 10, 11, 0.88);
}

.field__control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.28rem 1.2rem;
}

.field__readout strong {
  font-family: var(--display);
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.field__readout small {
  margin-left: 0.2rem;
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 400;
}

.field__range {
  grid-column: 1 / -1;
  width: 100%;
  height: 44px;
  margin: 0;
  appearance: none;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: ew-resize;
}

.field__range::-webkit-slider-runnable-track {
  height: 1px;
  background: rgba(244, 240, 230, 0.72);
}

.field__range::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.47rem;
  appearance: none;
  border: 1px solid var(--paper-bright);
  border-radius: 50%;
  background: var(--ink);
}

.field__range:focus-visible {
  outline: 2px solid var(--paper-bright);
  outline-offset: 3px;
}

.field__range:disabled {
  display: none;
}

.field__instruction {
  position: absolute;
  z-index: 2;
  right: 6vw;
  bottom: 10vh;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.field__instruction-line {
  display: block;
  width: 5rem;
  height: 1px;
  background: currentColor;
}

.field__instruction p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.15;
}

.field__instruction--static {
  display: none;
}

html[data-motion="off"] .field__instruction--interactive,
html.no-js .field__instruction--interactive {
  display: none;
}

html[data-motion="off"] .field__instruction--static,
html.no-js .field__instruction--static {
  display: inline;
}

.coda {
  height: 150svh;
  overflow: clip;
  color: var(--ink);
  background: var(--paper-bright);
}

.coda__topline {
  position: absolute;
  z-index: 2;
  top: 12vh;
  left: 3.2vw;
  margin: 0;
}

.coda__memory {
  position: absolute;
  z-index: 2;
  top: 12vh;
  right: 15vw;
  width: min(34vw, 31rem);
  aspect-ratio: 0.72;
  display: grid;
  grid-template-columns: repeat(var(--memory-columns, 14), 1fr);
  gap: 2px;
  overflow: hidden;
  clip-path: var(--plate-shape);
  opacity: var(--memory-strength);
  background:
    radial-gradient(circle at var(--memory-x) var(--memory-y), var(--paper-bright) 0 2%, var(--cobalt) 10%, rgba(36,87,255,.18) 34%, transparent 54%),
    linear-gradient(145deg, rgba(36,87,255,.42), rgba(10,10,11,.04));
  transform: rotate(-7deg) scaleY(var(--memory-compress));
  transform-origin: center;
  pointer-events: none;
}

.coda-memory-cell {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(244, 240, 230, 0.08);
}

.coda-memory-cell.is-void {
  opacity: 0 !important;
}

.coda__statement {
  position: absolute;
  z-index: 3;
  left: 4vw;
  bottom: 21vh;
  margin: 0;
  font-family: var(--display);
  font-size: min(4.4vw, 5.2rem);
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.coda__statement span {
  display: block;
  white-space: nowrap;
}

.coda__statement span:nth-child(1) { margin-left: 0; }
.coda__statement span:nth-child(2) { margin: 0; text-align: left; }
.coda__statement span:nth-child(3) { margin-left: 8vw; color: var(--cobalt); }

.coda__trace {
  position: absolute;
  z-index: 3;
  right: 4vw;
  top: 50%;
  display: flex;
  align-items: center;
  width: 92vw;
}

.coda__trace-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(var(--coda-trace-scale));
  transform-origin: right;
}

.coda__trace i {
  position: absolute;
  right: var(--coda-dot-right);
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid var(--vermilion);
  border-radius: 50%;
}

.coda__actions {
  position: absolute;
  z-index: 3;
  left: 4vw;
  bottom: 8vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.coda__replay,
.coda__return {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.75rem;
  padding: 0.7rem 0 0.4rem;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.coda__replay {
  border: 0;
  border-bottom: 1px solid var(--cobalt);
  color: var(--cobalt);
  background: transparent;
  cursor: pointer;
}

.coda__return i {
  font-family: var(--sans);
  font-style: normal;
  transition: transform var(--response) var(--ease-out);
}

.coda__return:hover i,
.coda__return:focus-visible i {
  transform: translate(0.28rem, -0.28rem);
}

.coda.is-replaying .coda__memory {
  filter: saturate(1.15);
}

.coda__credit {
  position: absolute;
  right: 4vw;
  bottom: 5vh;
  width: min(23rem, 35vw);
  text-align: right;
}

.coda__credit strong {
  display: block;
}

.coda__credit p {
  margin: 0.45rem 0 0;
  font-size: 0.74rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.no-script {
  position: relative;
  margin: 0;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 0.65rem;
}

@media (max-width: 72rem) {
  .hero__word--chroma { font-size: 15.6vw; }
  .hero__word--fault { font-size: 21vw; }

  .artifact--hero {
    right: 12vw;
    width: 35vw;
  }

  .study--surface { right: 7vw; width: 41vw; }
  .study--diffraction { width: 58vw; }

  .specimen__copy h2 {
    font-size: min(6.5vw, 6.2rem);
  }

  .field__heading h2 { font-size: 11vw; }
}

@media (min-width: 48.01rem) and (min-height: 40.01rem) {
  .specimen__number,
  .specimen__kicker {
    display: none;
  }

  .hero__calibration {
    top: auto;
    bottom: 24vh;
  }

  .specimen-nav {
    top: 14vh;
    right: 2.6vw;
    bottom: auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
  }

  .specimen--surface .specimen__copy {
    inset: auto 0 7vh;
    width: 100%;
  }

  .specimen--surface .specimen__kicker {
    position: absolute;
    bottom: calc(100% + 1.15rem);
    left: 3.2vw;
    margin: 0;
  }

  .specimen--surface .specimen__copy h2 {
    padding-left: 2.7vw;
    font-size: min(7vw, 8.5rem);
    line-height: 0.76;
    white-space: nowrap;
  }

  .specimen--surface .specimen__copy h2 span {
    display: inline;
  }

  .specimen--surface .specimen__copy h2 span:not(:last-child)::after {
    content: " ";
  }

  .specimen--surface .specimen__body {
    position: absolute;
    right: 4.5vw;
    bottom: calc(100% + 0.9rem);
    max-width: 18rem;
    margin: 0;
  }

  .specimen--surface .specimen__number {
    top: -2vh;
    right: 6vw;
    font-size: 40vw;
    opacity: 0.055;
  }

  .study--surface {
    top: 8vh;
    right: auto;
    left: 50%;
    width: min(58vw, 54rem);
    transform: translateX(-50%);
  }

  .specimen--diffraction .specimen__copy {
    inset: 18vh 0 0;
    width: 100%;
  }

  .specimen--diffraction .specimen__kicker {
    margin-left: 4vw;
  }

  .specimen--diffraction .specimen__copy h2 {
    font-size: min(7.4vw, 8.6rem);
    line-height: 0.72;
  }

  .specimen--diffraction .specimen__copy h2 span:nth-child(1) { margin-left: 4vw; }
  .specimen--diffraction .specimen__copy h2 span:nth-child(2) { margin-left: 18vw; }
  .specimen--diffraction .specimen__copy h2 span:nth-child(3) { margin-left: 31vw; }

  .specimen--diffraction .specimen__body {
    position: absolute;
    right: 5vw;
    bottom: 11vh;
    margin: 0;
  }

  .study--diffraction {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .study--diffraction .prism {
    top: 22%;
    left: 52%;
    width: 18%;
  }

  .study--diffraction .beam--in {
    top: 43%;
    left: -2%;
    width: 58%;
  }

  .study--diffraction .beam--out {
    top: 48%;
    left: 67%;
    width: 40%;
  }

  .specimen--residue .specimen__copy {
    inset: 20vh auto 0 4vw;
    width: 26vw;
  }

  .specimen--residue .specimen__copy h2 {
    font-size: min(5.4vw, 6.3rem);
  }

  .specimen--residue .specimen__body {
    max-width: 14rem;
  }

  .study--residue {
    inset: 0 0 0 auto;
    width: 70vw;
    height: 100%;
    border-radius: 0;
  }

  .specimen--residue .specimen__number {
    top: -5vh;
    right: -3vw;
    opacity: 0.045;
  }

  .specimen--absence .specimen__copy {
    inset: 18vh 4vw 7vh;
  }

  .specimen--absence .specimen__kicker {
    margin: 0;
  }

  .specimen--absence .specimen__copy h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: min(5.8vw, 6.8rem);
    line-height: 0.76;
  }

  .specimen--absence .specimen__body {
    position: absolute;
    top: 0;
    right: 1vw;
    max-width: 15rem;
    margin: 0;
  }

  .study--absence {
    top: 15vh;
    right: 13vw;
    width: min(30vw, 29rem);
    opacity: 0.42;
  }

  .specimen--absence .specimen__number {
    opacity: 0.025;
  }
}

@media (max-width: 48rem), (max-height: 40rem) {
  .instrument {
    grid-template-columns: 3rem 1fr auto;
    gap: 0.5rem;
  }

  .instrument__coordinate,
  .instrument__rail {
    display: none;
  }

  .instrument__readout {
    justify-self: start;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__calibration {
    top: 14svh;
    left: 1rem;
  }

  .hero__calibration span:nth-child(3) {
    display: none;
  }

  .hero__title {
    top: 20svh;
    line-height: 0.78;
  }

  .hero__word--chroma {
    margin-left: -0.35rem;
    font-size: min(22.8vw, 9rem);
  }

  .hero__word--fault {
    margin-top: 0.32em;
    font-size: min(27vw, 10rem);
  }

  .hero__fault-refraction {
    top: calc(20svh + 26vw);
    right: 0;
    font-size: min(27vw, 10rem);
    clip-path: polygon(31% 5%, 92% 7%, 98% 82%, 78% 100%, 35% 83%, 28% 18%);
  }

  .artifact--hero {
    top: 37%;
    right: 7vw;
    width: min(55vw, 18rem);
  }

  .hero__declaration {
    bottom: 18svh;
    left: 1rem;
    max-width: min(16rem, 64vw);
    font-size: 1rem;
  }

  .scroll-cue {
    right: auto;
    bottom: 7svh;
    left: 1rem;
  }

  .scroll-cue span {
    display: none;
  }

  .thesis {
    height: 145svh;
  }

  .thesis__statement {
    top: 24svh;
    font-size: min(21vw, 8.5rem);
    line-height: 0.77;
  }

  .thesis__statement span:nth-child(3) {
    margin-left: -0.4rem;
  }

  .thesis__note {
    right: 1rem;
    bottom: 8svh;
    width: min(18rem, calc(100vw - 2rem));
  }

  .thesis__cut {
    left: 76%;
    width: 0.6rem;
  }

  .specimens {
    height: auto;
    background: var(--ink);
  }

  .specimen-stage {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .specimen-hud,
  .specimen-nav {
    display: none;
  }

  .specimen {
    position: relative;
    display: grid;
    grid-template-areas:
      "copy"
      "study"
      "margin";
    grid-template-rows: auto auto auto;
    gap: 2rem;
    min-height: max(100svh, 42rem);
    padding: max(5rem, 11svh) 1rem 2rem;
    clip-path: none !important;
    transition: none;
  }

  .specimen[aria-hidden="true"] {
    display: block;
  }

  .specimen__number {
    display: none;
  }

  .specimen__copy {
    position: relative;
    inset: auto;
    grid-area: copy;
  }

  .specimen__kicker {
    margin-bottom: 1.4rem;
  }

  .specimen__copy h2 {
    font-size: min(15vw, 6rem);
    line-height: 0.78;
  }

  .specimen--diffraction .specimen__copy h2 {
    max-width: calc(100vw - 2rem);
    font-size: min(13vw, 4rem);
  }

  .specimen--diffraction .specimen__copy h2 span:nth-child(3) {
    font-size: min(11.2vw, 3.7rem);
    white-space: nowrap;
  }

  .specimen__body {
    max-width: 15rem;
    margin-top: 1.3rem;
    font-size: 0.86rem;
  }

  .specimen__margin {
    position: relative;
    inset: auto;
    grid-area: margin;
    justify-self: end;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .study {
    position: relative;
    inset: auto;
    grid-area: study;
    justify-self: center;
    margin-top: 0.5rem;
  }

  .study--surface {
    width: min(78vw, 24rem);
  }

  .study--diffraction {
    width: calc(100% + 2rem);
    height: min(52svh, 26rem);
    margin-right: -1rem;
    margin-left: -1rem;
  }

  .study--residue {
    width: 100%;
    height: min(58svh, 27rem);
  }

  .study--absence {
    width: min(82vw, 25rem);
  }

  .release {
    height: 150svh;
  }

  .orbit__title {
    top: 15svh;
    left: 1rem;
  }

  .orbit__title span:first-child {
    font-size: min(17vw, 6rem);
  }

  .orbit__title span:last-child {
    margin-left: 6vw;
    font-size: min(17vw, 6.4rem);
  }

  .orbit__system {
    top: 48%;
    left: 50%;
    width: calc(100vw - 2rem);
    height: min(50svh, 28rem);
  }

  .orbit__sun > span {
    width: clamp(2.7rem, 14vw, 4rem);
  }

  .orbit__readout {
    left: 1rem;
    bottom: 7svh;
    width: 46vw;
  }

  .orbit__readout-name {
    font-size: 1rem;
  }

  .orbit__readout-note {
    font-size: 0.68rem;
  }

  .orbit__thesis {
    right: 1rem;
    bottom: 7svh;
    width: 40vw;
    font-size: 1rem;
  }

  .release__aside {
    display: none;
  }

  .field {
    min-height: 110svh;
  }

  .field__stage {
    height: 100svh;
  }

  .field__grid {
    inset: 22svh 0 15svh 18vw;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(12, 1fr);
    clip-path: var(--plate-shape);
    transform: rotate(-2.4deg) scale(0.96);
  }

  .field__heading {
    top: 16svh;
    left: 1rem;
    right: 1rem;
    max-width: calc(100% - 2rem);
  }

  .field__heading h2 {
    font-size: min(20vw, 8rem);
    line-height: 0.76;
  }

  .field__readout {
    top: auto;
    right: 1rem;
    bottom: 19svh;
    width: 13rem;
  }

  .field__readout strong {
    font-size: 1.8rem;
  }

  .field__instruction {
    right: 1rem;
    bottom: 7svh;
  }

  .coda {
    display: grid;
    height: auto;
    min-height: max(100svh, 42rem);
    padding: max(5rem, 11svh) 1rem 2rem;
    align-content: start;
    gap: 2rem;
  }

  .coda__topline,
  .coda__memory,
  .coda__statement,
  .coda__trace,
  .coda__actions,
  .coda__return,
  .coda__credit {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .coda__topline { order: 0; }

  .coda__memory {
    order: 1;
    top: auto;
    right: auto;
    width: min(55vw, 18rem);
    justify-self: center;
  }

  .coda__statement {
    order: 2;
    font-size: min(9.5vw, 3.2rem);
    line-height: 0.82;
  }

  .coda__statement span {
    white-space: normal;
  }

  .coda__statement span:nth-child(2) {
    margin-top: 0.08em;
    text-align: left;
  }

  .coda__statement span:nth-child(3) {
    margin-left: 9vw;
  }

  .coda__trace {
    order: 3;
    width: 100%;
  }

  .coda__actions {
    order: 4;
    justify-self: start;
  }

  .coda__credit {
    order: 5;
    width: min(22rem, 100%);
    justify-self: end;
    text-align: right;
  }
}

@media (max-height: 40rem) and (min-width: 48.01rem) {
  .hero__calibration,
  .scroll-cue {
    display: none;
  }

  .hero__title {
    top: 16svh;
    line-height: 0.74;
  }

  .hero__word--chroma {
    font-size: min(15vw, 9rem);
  }

  .hero__word--fault {
    margin-top: 0.18em;
    font-size: min(18vw, 10rem);
  }

  .hero__fault-refraction {
    top: calc(16svh + 13.4vw);
    font-size: min(18vw, 10rem);
    clip-path: polygon(46% 0, 86% 4%, 91% 92%, 72% 100%, 49% 83%, 44% 14%);
  }

  .artifact--hero {
    top: 22%;
    right: 8vw;
    width: min(24vw, 13rem);
  }

  .hero__declaration {
    bottom: 8svh;
  }

  .specimen {
    grid-template-areas:
      "copy study"
      "margin study";
    grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1.18fr);
    grid-template-rows: 1fr auto;
    min-height: max(100svh, 24rem);
    padding: 4.5rem 1.5rem 1.5rem;
    align-items: center;
    column-gap: 2rem;
  }

  .specimen__copy h2,
  .specimen--diffraction .specimen__copy h2 {
    font-size: min(5.4vw, 3.7rem);
  }

  .specimen--diffraction .specimen__copy h2 span:nth-child(3) {
    font-size: min(4.5vw, 3.2rem);
  }

  .specimen__body {
    max-width: 18rem;
  }

  .study--surface,
  .study--absence {
    width: min(26vw, 18rem);
  }

  .study--diffraction,
  .study--residue {
    width: 100%;
    height: min(70svh, 24rem);
    margin: 0;
  }

  .release {
    height: auto;
    min-height: max(100svh, 24rem);
  }

  .orbit__stage {
    position: relative;
    height: max(100svh, 24rem);
  }

  .orbit__title {
    top: 20%;
    left: 1rem;
  }

  .orbit__title span:first-child { font-size: min(8vw, 4rem); }
  .orbit__title span:last-child { margin-left: 2vw; font-size: min(10vw, 5rem); }

  .orbit__system {
    top: 49%;
    left: 67%;
    width: min(55vw, 29rem);
    height: min(76svh, 20rem);
  }

  .orbit__readout {
    left: 1rem;
    bottom: 6%;
    width: 32vw;
  }

  .orbit__thesis {
    right: auto;
    bottom: auto;
    top: 60%;
    left: 1rem;
    width: 32vw;
    font-size: 1rem;
  }
}

@media (max-width: 28rem) {
  .instrument__readout {
    display: none;
  }

  .release__meta {
    display: none;
  }

  .instrument {
    grid-template-columns: 3rem 1fr auto;
  }

  .hero__declaration {
    max-width: 13rem;
  }

  .field__heading h2 {
    font-size: 19vw;
  }
}

html[data-motion="off"] .boot,
html.no-js .boot {
  display: none;
}

html[data-motion="off"] .artifact--hero {
  transform: rotate(-7deg);
}

html[data-motion="off"] .hero__title,
html[data-motion="off"] .hero__fault-refraction,
html[data-motion="off"] .thesis__statement span {
  transform: none;
}

html[data-motion="off"] .thesis {
  height: auto;
  min-height: 100svh;
}

html[data-motion="off"] .thesis__sticky {
  position: relative;
  height: 100svh;
}

html[data-motion="off"] .specimens {
  height: auto;
}

html[data-motion="off"] .specimen-stage {
  position: relative;
  height: auto;
  overflow: visible;
}

html[data-motion="off"] .specimen-hud,
html[data-motion="off"] .specimen-nav {
  display: none;
}

html[data-motion="off"] .specimen {
  position: relative;
  min-height: clamp(42rem, 100svh, 58rem);
  clip-path: none !important;
  transition: none;
}

html[data-motion="off"] .specimen[aria-hidden="true"] {
  display: block;
}

html[data-motion="off"] .release {
  height: auto;
  min-height: 100svh;
}

html[data-motion="off"] .orbit__stage {
  position: relative;
  height: auto;
  min-height: 100svh;
}

html[data-motion="off"] .field {
  min-height: 100svh;
}

html[data-motion="off"] .field__stage {
  position: relative;
}

html[data-motion="off"] .coda {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  grid-template-rows: auto auto 1fr auto;
  height: auto;
  min-height: 100svh;
  padding: 12svh 4vw 7svh;
  align-content: stretch;
  gap: clamp(1.5rem, 4vh, 3.5rem);
}

html[data-motion="off"] .coda__topline,
html[data-motion="off"] .coda__memory,
html[data-motion="off"] .coda__statement,
html[data-motion="off"] .coda__trace,
html[data-motion="off"] .coda__actions,
html[data-motion="off"] .coda__return,
html[data-motion="off"] .coda__credit {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}

html[data-motion="off"] .coda__memory {
  position: absolute;
  top: 17svh;
  right: 12vw;
}

html[data-motion="off"] .coda__topline { order: 0; }
html[data-motion="off"] .coda__topline { grid-column: 1 / -1; grid-row: 1; }
html[data-motion="off"] .coda__trace { grid-column: 1 / -1; grid-row: 2; width: 100%; }
html[data-motion="off"] .coda__statement { grid-column: 1; grid-row: 3; }
html[data-motion="off"] .coda__actions { grid-column: 1; grid-row: 4; justify-self: start; }
html[data-motion="off"] .coda__credit { grid-column: 2; grid-row: 4; justify-self: end; align-self: end; }

html[data-motion="off"] .coda__replay,
html.no-js .coda__replay {
  display: none;
}

html.no-js .motion-control,
html.no-js .audio-toggle,
html.no-js .specimen-hud,
html.no-js .specimen-nav,
html.no-js .field__range {
  display: none !important;
}

html.no-js .specimens {
  height: auto !important;
}

html.no-js .specimen-stage {
  position: relative !important;
  height: auto !important;
  overflow: visible !important;
}

html.no-js .specimen {
  position: relative !important;
  min-height: clamp(42rem, 100svh, 58rem) !important;
  clip-path: none !important;
}

html.no-js .release {
  height: auto !important;
  min-height: 100svh !important;
  overflow: hidden !important;
}

html.no-js .orbit__stage {
  position: relative !important;
  height: auto !important;
  min-height: 100svh !important;
}

html.no-js .field__stage {
  position: relative;
}

html.no-js .field__grid {
  background:
    radial-gradient(circle at 56% 48%, rgba(244,240,230,.44), rgba(36,87,255,.42) 16%, transparent 44%),
    linear-gradient(145deg, rgba(36,87,255,.2), rgba(10,10,11,.82));
}

@media (max-width: 48rem), (max-height: 40rem) {
  html[data-motion="off"] .coda {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: max(100svh, 42rem);
    padding: max(5rem, 11svh) 1rem 2rem;
    align-content: start;
    gap: 2rem;
  }

  html[data-motion="off"] .coda__topline,
  html[data-motion="off"] .coda__memory,
  html[data-motion="off"] .coda__statement,
  html[data-motion="off"] .coda__trace,
  html[data-motion="off"] .coda__actions,
  html[data-motion="off"] .coda__return,
  html[data-motion="off"] .coda__credit {
    grid-column: 1;
    grid-row: auto;
    position: relative;
    inset: auto;
  }

  html[data-motion="off"] .coda__topline { order: 0; }
  html[data-motion="off"] .coda__memory { order: 1; width: min(55vw, 18rem); justify-self: center; }
  html[data-motion="off"] .coda__statement { order: 2; }
  html[data-motion="off"] .coda__trace { order: 3; }
  html[data-motion="off"] .coda__actions { order: 4; justify-self: start; }
  html[data-motion="off"] .coda__credit { order: 5; justify-self: end; }
}

@media (forced-colors: active) {
  .paper-tooth,
  .orbit__system,
  .field__grid,
  .field__overlay,
  .artifact__ghost,
  .artifact__burn {
    display: none;
  }

  .instrument {
    color: CanvasText;
    mix-blend-mode: normal;
  }

  .artifact__plate,
  .study__plate,
  .prism,
  .study--residue {
    border: 2px solid CanvasText;
    background: Canvas;
  }
}
