@property --ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  color-scheme: dark;
  --bg: oklch(0.055 0 0);
  --surface: oklch(0.105 0 0);
  --surface-high: oklch(0.16 0.008 270);
  --ink: oklch(0.965 0.006 270);
  --muted: oklch(0.69 0.018 270);
  --primary: oklch(0.7 0.12 270);
  --primary-deep: oklch(0.42 0.13 270);
  --accent: oklch(0.72 0.19 45);
  --accent-fill: oklch(0.55 0.19 45);
  --accent-hot: oklch(0.79 0.17 58);
  --line: oklch(0.965 0.006 270 / 0.18);
  --line-strong: oklch(0.965 0.006 270 / 0.42);
  --font-display: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --header-height: 5.5rem;
  --page-pad: clamp(1.2rem, 3.2vw, 3.75rem);
  --z-field: 0;
  --z-content: 10;
  --z-header: 30;
  --z-loader: 100;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scrollbar-color: var(--primary) var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 5px;
}

.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;
  left: 1rem;
  top: 1rem;
  z-index: calc(var(--z-loader) + 10);
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.boot {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: var(--page-pad);
  background: var(--bg);
  transition:
    clip-path 1s var(--ease-out),
    visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}

.boot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, oklch(0.7 0.12 270 / 0.17), transparent 19%),
    linear-gradient(90deg, transparent 49.93%, var(--line) 50%, transparent 50.07%);
  animation: boot-breathe 1.4s ease-in-out infinite alternate;
}

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

.boot__mark {
  position: relative;
  align-self: start;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 11rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.boot__readout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boot__readout p {
  margin: 0;
}

.boot__track {
  grid-column: 1 / -1;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.boot__track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 1rem var(--accent);
}

.field {
  position: fixed;
  inset: 0;
  z-index: var(--z-field);
  width: 100%;
  height: 100%;
  opacity: 0.82;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -40%;
  z-index: calc(var(--z-content) + 1);
  opacity: 0.045;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 17% 31%, var(--ink) 0 0.6px, transparent 0.7px 3px);
  background-size: 5px 5px;
  animation: grain-shift 900ms steps(2) infinite;
  will-change: transform;
}

.cursor-lens {
  position: fixed;
  left: 0;
  top: 0;
  z-index: calc(var(--z-header) + 1);
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid oklch(0.965 0.006 270 / 0.6);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition:
    width 300ms var(--ease-out),
    height 300ms var(--ease-out),
    border-color 300ms ease,
    opacity 300ms ease;
  mix-blend-mode: difference;
}

.cursor-lens.is-visible {
  opacity: 1;
}

.cursor-lens.is-active {
  width: 6.5rem;
  height: 6.5rem;
  border-color: var(--ink);
}

.cursor-lens span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition:
    background 400ms ease,
    border-color 400ms ease,
    transform 700ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: oklch(0.055 0 0 / 0.82);
  backdrop-filter: blur(18px);
}

.is-loading .site-header {
  transform: translateY(-110%);
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: flex-start;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark b {
  color: var(--accent);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-status {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-status i,
.film-frame__state i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.8rem var(--accent);
  animation: status-pulse 1.7s ease-in-out infinite;
}

body:not(.is-observing) .header-status i {
  background: var(--muted);
  box-shadow: none;
  animation: none;
}

.header-action {
  position: relative;
  justify-self: end;
  min-height: 2.55rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
  transition:
    color 250ms ease,
    background 250ms ease,
    border-color 250ms ease,
    transform 500ms var(--ease-out);
}

.header-action[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-fill);
  color: var(--ink);
}

.header-action:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

.scene-nav {
  position: fixed;
  z-index: var(--z-header);
  right: max(0.45rem, calc(var(--page-pad) * 0.3));
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  transform: translateY(-50%);
}

.scene-nav button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 7.5rem;
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.scene-nav button i {
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition:
    transform 250ms var(--ease-out),
    background 250ms ease,
    color 250ms ease;
}

.scene-nav button span {
  position: absolute;
  right: 2rem;
  padding: 0.25rem 0.45rem;
  background: var(--bg);
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(0.5rem);
  transition:
    opacity 200ms ease,
    transform 260ms var(--ease-out);
  white-space: nowrap;
}

.scene-nav button:hover span,
.scene-nav button:focus-visible span,
.scene-nav button.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.scene-nav button.is-active i {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 1rem oklch(0.72 0.19 45 / 0.35);
  transform: scale(1.45);
}

main {
  position: relative;
  z-index: var(--z-content);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 1rem) var(--page-pad) 2rem;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 42%, var(--bg) 100%),
    linear-gradient(180deg, transparent 70%, var(--bg));
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  left: 41%;
  top: var(--header-height);
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent 92%);
}

.hero::after {
  left: var(--page-pad);
  right: var(--page-pad);
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent 32%, transparent 74%, var(--line));
}

.hero__copy {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(15rem, 3fr);
  align-items: end;
  min-height: calc(100svh - var(--header-height) - 3rem);
}

.hero__institution {
  position: absolute;
  left: 0;
  top: clamp(2rem, 8vh, 6.5rem);
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  align-self: center;
  margin: 3.25rem 0 0;
  max-width: 8ch;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 8.4vw, 6rem);
  font-weight: 540;
  letter-spacing: -0.04em;
  line-height: 0.79;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  width: max-content;
  transform-origin: left center;
}

.hero h1 span:nth-child(2) {
  margin-left: 0.65em;
}

.hero h1 .accent-word {
  margin-left: 0.16em;
  color: var(--accent);
}

.is-loading .hero h1 span {
  opacity: 0;
  transform: translateY(110%) skewY(4deg);
}

body:not(.is-loading) .hero h1 span {
  animation: title-rise 1.1s var(--ease-out) both;
}

body:not(.is-loading) .hero h1 span:nth-child(2) {
  animation-delay: 110ms;
}

body:not(.is-loading) .hero h1 span:nth-child(3) {
  animation-delay: 220ms;
}

.hero__statement {
  align-self: end;
  justify-self: end;
  width: min(100%, 19rem);
  padding-bottom: clamp(4rem, 10vh, 7.5rem);
}

.hero__statement > p {
  margin: 0 0 2rem;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

.observe,
.reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 15.5rem;
  min-height: 3.45rem;
  padding: 0.75rem 1.15rem 0.75rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-fill);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
  transition:
    background 250ms ease,
    color 250ms ease,
    box-shadow 250ms ease,
    transform 500ms var(--ease-out);
}

.observe:hover,
.reset:hover {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 0 2.5rem oklch(0.72 0.19 45 / 0.28);
}

.observe svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero__specimen {
  position: absolute;
  z-index: 2;
  right: -5vw;
  top: 10vh;
  width: min(71vw, 80rem);
  height: 74vh;
  margin: 0;
  perspective: 1200px;
}

.hero__specimen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--bg), transparent 25% 82%, var(--bg));
  pointer-events: none;
}

.hero__specimen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 67% center;
  filter: contrast(1.05) saturate(1.03);
  will-change: transform;
  transform: translate3d(var(--specimen-x, 0), var(--specimen-y, 0), 0) rotateX(var(--specimen-rx, 0deg)) rotateY(var(--specimen-ry, 0deg)) scale(1.03);
  transition: transform 850ms var(--ease-out);
}

.is-observing .hero__specimen img {
  animation: none;
  filter: contrast(1.08) saturate(1.2) brightness(1.08);
  transform: translate3d(var(--specimen-x, 0), var(--specimen-y, 0), 0) rotateX(var(--specimen-rx, 0deg)) rotateY(var(--specimen-ry, 0deg)) scale(1.1);
}

.is-observing .hero__halo {
  opacity: 0.42;
  filter: blur(4rem);
  transform: translate(-50%, -50%) scale(1.45);
}

.is-observing .hero::after {
  background: linear-gradient(90deg, var(--accent), transparent 19%, transparent 78%, var(--primary));
  box-shadow: 0 0 2rem oklch(0.72 0.19 45 / 0.35);
}

.is-loading .hero__specimen img {
  clip-path: inset(0 100% 0 0);
}

body:not(.is-loading) .hero__specimen img {
  animation: specimen-reveal 1.8s 250ms var(--ease-out) both;
}

.hero__halo {
  position: absolute;
  left: 55%;
  top: 49%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.18;
  filter: blur(5rem);
  transform: translate(-50%, -50%) scale(var(--halo-scale, 0.7));
  animation: halo-breathe 4.8s ease-in-out infinite alternate;
}

.hero__specimen figcaption {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 2%;
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__coordinates {
  position: absolute;
  z-index: 4;
  right: var(--page-pad);
  top: 24%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 2.7rem;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scroll-cue 1.8s var(--ease-smooth) infinite;
}

.manifest {
  position: relative;
  min-height: 115vh;
  padding: clamp(8rem, 18vh, 14rem) var(--page-pad);
  border-top: 1px solid var(--line);
  background: oklch(0.055 0 0 / 0.91);
}

.manifest__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 2rem;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manifest__rail span:nth-child(2) {
  color: var(--primary);
}

.manifest__inner {
  display: grid;
  grid-template-columns: minmax(5rem, 1.1fr) minmax(0, 7.5fr) minmax(17rem, 2.4fr);
  gap: clamp(1rem, 3vw, 4rem);
  align-items: start;
  max-width: 100rem;
  margin: 0 auto;
}

.manifest__index {
  margin: 0.65rem 0 0;
  color: var(--accent);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.manifest h2 {
  grid-column: 2 / -1;
  margin: 0;
  max-width: 13ch;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.8vw, 5.7rem);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.manifest h2 span {
  display: block;
  color: var(--muted);
}

.manifest__note {
  grid-column: 3;
  margin-top: clamp(7rem, 20vh, 13rem);
}

.manifest__note > p {
  margin: 0 0 3.5rem;
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.manifest dl {
  margin: 0;
}

.manifest dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.65rem;
}

.manifest dt {
  color: var(--muted);
}

.manifest dd {
  margin: 0;
}

.film-sequence {
  position: relative;
  height: 280vh;
  background: var(--bg);
}

.film-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(16rem, 2.5fr) minmax(0, 7fr);
  gap: clamp(1.2rem, 3vw, 3.75rem);
  align-items: center;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 1.3rem) var(--page-pad) 2.3rem;
}

.film-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 52%, oklch(0.42 0.13 270 / 0.18), transparent 44%);
  opacity: var(--film-aura, 0);
  pointer-events: none;
}

.film-meta {
  position: relative;
  z-index: 3;
  align-self: end;
  padding-bottom: 2.2rem;
}

.film-code {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.film-meta h2 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 430;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.film-instruction {
  margin: 2rem 0 0;
  max-width: 23ch;
  color: var(--muted);
  font-size: 0.78rem;
}

.film-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 6rem oklch(0.42 0.13 270 / 0.1);
  transform: perspective(1200px) translate3d(0, var(--film-y, 2rem), 0) rotateX(var(--film-tilt, 4deg)) scale(var(--film-scale, 0.86));
  transform-origin: center;
  will-change: transform;
}

.film-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.05);
}

.film-error {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 2rem;
  background: oklch(0.055 0 0 / 0.78);
  color: var(--ink);
  text-align: center;
  font-size: 0.85rem;
}

.film-error[hidden] {
  display: none;
}

.film-frame__corners {
  position: absolute;
  inset: 1rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--ink), var(--ink)) left top / 2rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left top / 1px 2rem no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 2rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 1px 2rem no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 2rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 1px 2rem no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 2rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 1px 2rem no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.film-frame__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--scrub, 0) * 100%);
  height: 1px;
  background: var(--primary);
  box-shadow: 0 0 1.8rem var(--primary);
  opacity: 0.7;
  pointer-events: none;
}

.film-frame__time {
  position: absolute;
  left: 1.8rem;
  right: 1.8rem;
  bottom: 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-size: 0.58rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.film-frame__time > i {
  height: 1px;
  background: var(--line-strong);
}

.film-frame__time b {
  display: block;
  width: calc(var(--scrub, 0) * 100%);
  height: 100%;
  background: var(--accent);
}

.film-frame__state {
  position: absolute;
  right: 1.8rem;
  top: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.55rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.film-side-note {
  position: relative;
  z-index: 3;
  justify-self: center;
  color: var(--muted);
  text-align: center;
}

.film-side-note span {
  color: var(--primary);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 200;
}

.film-side-note p {
  margin: 0.75rem 0 0;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 7rem) clamp(1rem, 2.1vw, 2.5rem);
  min-height: 230vh;
  padding: clamp(9rem, 16vh, 14rem) var(--page-pad);
  border-top: 1px solid var(--line);
  background: oklch(0.055 0 0 / 0.94);
}

.collection::before {
  content: "";
  position: absolute;
  left: 33.333%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.collection__header {
  grid-column: 2 / 11;
  display: grid;
  grid-template-columns: 2fr 6fr 3fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(5rem, 14vh, 10rem);
}

.collection__header > p:first-child {
  margin: 0.5rem 0 0;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.collection__header h2 {
  margin: 0;
  max-width: 9ch;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.3vw, 5.6rem);
  font-weight: 440;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.collection__header > p:last-child {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.plate {
  position: relative;
  margin: 0;
  will-change: transform;
}

.plate--portrait {
  grid-column: 2 / 7;
}

.plate--wide {
  grid-column: 5 / 13;
  margin-top: clamp(8rem, 22vh, 17rem);
}

.plate--crop {
  grid-column: 1 / 8;
  margin-top: clamp(4rem, 11vh, 8rem);
}

.plate__image {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.plate--portrait .plate__image {
  aspect-ratio: 3 / 4;
}

.plate--wide .plate__image {
  aspect-ratio: 16 / 9;
}

.plate--crop .plate__image {
  aspect-ratio: 4 / 3;
}

.plate__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
  transform: scale(1.035) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
  transition:
    filter 900ms ease,
    transform 1.1s var(--ease-out);
}

.plate:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.07) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
}

.plate:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 0.65rem;
}

.plate:focus img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.07) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
}

.plate:focus .plate__beam {
  animation: beam-cross 1.5s var(--ease-out) both;
}

.plate__beam {
  position: absolute;
  z-index: 2;
  left: -30%;
  top: -20%;
  width: 18%;
  height: 140%;
  background: linear-gradient(90deg, transparent, oklch(0.965 0.006 270 / 0.35), transparent);
  filter: blur(1.1rem);
  transform: translateX(var(--beam-x, -100%)) skewX(-14deg);
  pointer-events: none;
}

.plate:hover .plate__beam {
  animation: beam-cross 1.5s var(--ease-out) both;
}

.plate figcaption {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto;
  gap: 0.2rem 2rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
}

.plate figcaption strong {
  font-size: 1.05rem;
  font-weight: 500;
}

.plate figcaption span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plate figcaption p {
  grid-column: 1 / -1;
  margin: 0.55rem 0 0;
  max-width: 37ch;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.field-lab {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 110svh;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  isolation: isolate;
}

.field-lab:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: -5px;
}

.field-lab::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(74vw, 66rem);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 46%, oklch(0.7 0.12 270 / 0.09) 70%, transparent);
  animation: lab-ring 18s linear infinite;
}

#particle-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.field-lab__copy {
  position: relative;
  z-index: 3;
  width: min(76vw, 50rem);
  text-align: center;
  pointer-events: none;
}

.field-lab__copy > p:first-child {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-lab h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.field-lab__copy > p:last-child {
  max-width: 44ch;
  margin: 2.2rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.field-lab__legend {
  position: absolute;
  z-index: 3;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.finale {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 115svh;
  overflow: hidden;
  padding: 10rem var(--page-pad) 2rem;
  text-align: center;
  background: var(--bg);
}

.finale__orb {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(58vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.72 0.19 45 / 0.2), transparent 58%);
  filter: blur(0.2rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.finale__orb i {
  position: absolute;
  inset: 14%;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: finale-orbit 12s linear infinite;
}

.finale__orb i:nth-child(2) {
  inset: 26%;
  animation-duration: 9s;
  animation-direction: reverse;
}

.finale__orb i:nth-child(3) {
  inset: 39%;
  border-color: var(--accent);
  box-shadow: 0 0 2rem oklch(0.72 0.19 45 / 0.3);
  animation-duration: 6s;
}

.finale__prelude,
.finale h2,
.finale__trace,
.finale .reset,
.finale footer {
  position: relative;
  z-index: 2;
}

.finale__trace {
  margin: 1.7rem 0 0;
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.finale__orb {
  opacity: calc(0.38 + var(--trace-energy, 0) * 0.62);
  scale: calc(0.92 + var(--trace-energy, 0) * 0.08);
}

.finale__prelude {
  margin: 0 0 2.2rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.finale h2 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 6.8vw, 5.8rem);
  font-weight: 440;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-wrap: balance;
}

.finale h2 span {
  display: block;
  color: var(--muted);
}

.finale .reset {
  justify-content: center;
  margin-top: 3.3rem;
}

.finale footer {
  position: absolute;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.magnetic {
  will-change: transform;
}

.noscript {
  position: fixed;
  z-index: calc(var(--z-loader) + 20);
  inset: auto 1rem 1rem;
  padding: 1rem;
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  font-weight: 650;
}

@keyframes boot-breathe {
  to { opacity: 0.65; }
}

@keyframes grain-shift {
  0% { transform: translate3d(-1%, 1%, 0); }
  25% { transform: translate3d(1%, -1%, 0); }
  50% { transform: translate3d(0.5%, 1.5%, 0); }
  75% { transform: translate3d(-1.5%, -0.5%, 0); }
  100% { transform: translate3d(1%, 0.5%, 0); }
}

@keyframes status-pulse {
  50% { opacity: 0.35; transform: scale(0.68); }
}

@keyframes title-rise {
  from { opacity: 0; transform: translateY(110%) skewY(4deg); }
  to { opacity: 1; transform: translateY(0) skewY(0); }
}

@keyframes specimen-reveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0.1; transform: translate3d(8%, 0, 0) scale(1.08); }
  to { clip-path: inset(0 0 0 0); opacity: 1; transform: translate3d(var(--specimen-x, 0), var(--specimen-y, 0), 0) rotateX(var(--specimen-rx, 0deg)) rotateY(var(--specimen-ry, 0deg)) scale(1.03); }
}

@keyframes halo-breathe {
  to { opacity: 0.32; transform: translate(-50%, -50%) scale(1.18); }
}

@keyframes scroll-cue {
  from { transform: translateY(-105%); }
  to { transform: translateY(210%); }
}

@keyframes beam-cross {
  from { transform: translateX(-100%) skewX(-14deg); }
  to { transform: translateX(850%) skewX(-14deg); }
}

@keyframes lab-ring {
  to { transform: rotate(360deg); }
}

@keyframes finale-orbit {
  from { transform: rotate(0deg) scaleX(0.76); }
  50% { transform: rotate(180deg) scaleX(1); }
  to { transform: rotate(360deg) scaleX(0.76); }
}

@media (max-width: 1000px) {
  :root {
    --header-height: 4.6rem;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .header-status {
    display: none;
  }

  .hero__copy {
    grid-template-columns: 1fr minmax(14rem, 0.65fr);
  }

  .hero__specimen {
    right: -16vw;
    width: 90vw;
  }

  .film-sticky {
    grid-template-columns: minmax(12rem, 2fr) minmax(0, 6fr);
  }

  .film-side-note {
    display: none;
  }

  .collection__header {
    grid-column: 1 / -1;
    grid-template-columns: 2fr 5fr;
  }

  .collection__header > p:last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .cursor-lens,
  .grain {
    display: none;
  }

  .boot {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .boot__mark {
    align-self: center;
  }

  .header-action {
    width: auto;
    min-width: 0;
    padding: 0.4rem 0.75rem;
    color: var(--ink);
    font-size: 0.6rem;
  }

  .scene-nav {
    display: none;
  }

  .hero {
    min-height: 105svh;
    padding-top: calc(var(--header-height) + 1rem);
  }

  .hero::before {
    left: 50%;
  }

  .hero__copy {
    display: block;
  }

  .hero__institution {
    top: 1.7rem;
  }

  .hero h1 {
    position: absolute;
    left: 0;
    top: 33%;
    z-index: 4;
    margin: 0;
    font-size: clamp(3.55rem, 18vw, 5.5rem);
  }

  .hero__statement {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.4rem;
    width: 100%;
    padding: 0;
  }

  .hero__statement > p {
    max-width: 26ch;
  }

  .hero__specimen {
    right: -34vw;
    top: 7vh;
    width: 125vw;
    height: 65vh;
  }

  .hero__coordinates,
  .hero__specimen figcaption,
  .scroll-cue {
    display: none;
  }

  .manifest {
    min-height: 110vh;
    padding-top: 8rem;
  }

  .manifest__rail {
    justify-content: flex-start;
    padding-left: var(--page-pad);
  }

  .manifest__rail span:not(:first-child) {
    display: none;
  }

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

  .manifest__index,
  .manifest h2,
  .manifest__note {
    grid-column: 1;
  }

  .manifest h2 {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .manifest__note {
    margin-top: 6rem;
  }

  .film-sequence {
    height: 260vh;
  }

  .film-sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }

  .film-meta {
    align-self: stretch;
    padding: 0;
  }

  .film-meta h2 {
    max-width: 13ch;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .film-instruction {
    margin-top: 1rem;
  }

  .film-frame {
    width: calc(100% + 2 * var(--page-pad));
  }

  .film-frame__corners {
    inset: 0.6rem;
  }

  .film-frame__time {
    left: 1rem;
    right: 1rem;
    bottom: 0.8rem;
  }

  .film-frame__state {
    right: 1rem;
    top: 0.8rem;
  }

  .collection {
    display: block;
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 10rem;
  }

  .collection::before {
    left: var(--page-pad);
  }

  .collection__header {
    display: block;
    margin: 0 0 6rem 1.5rem;
  }

  .collection__header h2 {
    margin-top: 1.4rem;
  }

  .collection__header > p:last-child {
    margin-top: 1.5rem;
    max-width: 35ch;
  }

  .plate,
  .plate--wide,
  .plate--crop {
    margin: 0 0 7rem 1.5rem;
  }

  .plate figcaption {
    grid-template-columns: 1fr;
  }

  .plate figcaption p,
  .plate figcaption span {
    grid-column: 1;
  }

  .field-lab {
    min-height: 100svh;
  }

  .field-lab__copy {
    width: calc(100% - 2 * var(--page-pad));
  }

  .field-lab h2 {
    font-size: clamp(3.15rem, 14vw, 5rem);
  }

  .finale {
    min-height: 105svh;
  }

  .finale h2 {
    font-size: clamp(3.05rem, 13vw, 4.8rem);
  }

  .finale footer {
    align-items: flex-end;
    gap: 1rem;
    text-align: left;
  }

  .finale footer span:last-child {
    text-align: right;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    top: 19%;
    font-size: clamp(2.9rem, 12vw, 4.2rem);
  }

  .hero__statement {
    bottom: 1rem;
  }

  .hero__statement > p {
    display: none;
  }

  .hero__specimen {
    top: 0;
    height: 62vh;
  }

  .observe {
    min-height: 3rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero h1 {
    top: 22%;
    font-size: clamp(2.8rem, 10vw, 3.8rem);
  }

  .hero__statement {
    left: auto;
    right: 0;
    bottom: 1rem;
    width: min(42vw, 16rem);
  }

  .hero__specimen {
    right: -12vw;
    width: 82vw;
    height: 78vh;
  }
}

@media (pointer: coarse) {
  .cursor-lens {
    display: none;
  }

  .header-action,
  .observe,
  .reset {
    min-height: 2.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .field,
  .cursor-lens,
  #particle-field {
    display: none;
  }

  .film-sequence {
    height: auto;
    min-height: 100svh;
  }

  .film-sticky {
    position: relative;
  }

  .film-frame {
    transform: none;
  }
}
