:root {
  color-scheme: light;
  --canvas: #f7f4ed;
  --surface: #e5e1d8;
  --surface-strong: #d6c4aa;
  --inverse: #1b1b19;
  --inverse-soft: #2c2824;
  --ink: #1d1b18;
  --ink-muted: #514b44;
  --warm: #e8a646;
  --warm-deep: #d4862b;
  --warm-light: #fff8ea;
  --focus: #9a4d16;
  --page: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --solar-ivory:
    radial-gradient(circle at 82% 18%, #fffdf8 0, rgba(255, 253, 248, .88) 13%, transparent 42%),
    linear-gradient(145deg, #f7f4ed 18%, #efc982 100%);
  --solar-limestone:
    radial-gradient(circle at 76% 22%, #fff8e8 0, rgba(255, 248, 232, .72) 14%, transparent 42%),
    linear-gradient(145deg, #e5e1d8 12%, #dda65a 100%);
  --solar-full:
    radial-gradient(ellipse 145% 92% at 118% -18%, rgba(255, 244, 218, .36) 0, rgba(250, 216, 160, .2) 42%, transparent 74%),
    linear-gradient(145deg, #ebb25c 0, #e3a047 50%, #d88832 100%);
  --solar-bronze:
    radial-gradient(ellipse 145% 92% at 118% -18%, rgba(239, 181, 112, .34) 0, rgba(205, 132, 71, .2) 42%, transparent 74%),
    linear-gradient(145deg, #8a593b 0, #704936 56%, #50382f 100%);
  --solar-charcoal:
    radial-gradient(ellipse 150% 96% at 120% -20%, rgba(207, 139, 75, .3) 0, rgba(139, 85, 49, .16) 44%, transparent 76%),
    linear-gradient(145deg, #302a25 0, #24211e 58%, #191817 100%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--warm) var(--inverse);
  scrollbar-width: thin;
}

body.cinematic-personalities {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.cinematic-personalities :is(h1, h2, h3, p, figure, ul) { margin-top: 0; }
.cinematic-personalities :is(h1, h2, h3) { letter-spacing: -.035em; text-wrap: balance; }
.cinematic-personalities img { display: block; max-width: 100%; }
.cinematic-personalities button, .cinematic-personalities a { font: inherit; }
.cinematic-personalities ::selection { color: var(--ink); background: var(--warm); }
.cinematic-personalities :focus-visible { outline: 3px solid var(--warm); outline-offset: 5px; }
.cinematic-personalities main { display: block; overflow: clip; }

.cinematic-personalities::-webkit-scrollbar { width: 10px; }
.cinematic-personalities::-webkit-scrollbar-track { background: var(--inverse); }
.cinematic-personalities::-webkit-scrollbar-thumb { border: 2px solid var(--inverse); background: var(--warm); }

.archive-portals {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--warm-light);
  background: var(--inverse);
}

.archive-portals::after {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 190px;
  background: linear-gradient(#000b, transparent);
  pointer-events: none;
  content: "";
}

.archive-portals__grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-portals__panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 248, 234, .2);
  color: var(--warm-light);
  background: #10100f;
  text-decoration: none;
}

.archive-portals__panel:last-child { border-right: 0; }

.archive-portals__panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 7, 6, .9) 0, rgba(7, 7, 6, .12) 58%, rgba(7, 7, 6, .36) 100%);
  content: "";
  transition: background .7s var(--ease);
}

.archive-portals__panel img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  filter: saturate(.82) contrast(1.04);
  transition: transform 1.2s var(--ease), filter .8s ease;
}

.archive-portals__panel[data-record-id="irp-photo-125"] img { object-position: 50% center; }
.archive-portals__panel[data-record-id="irp-photo-041"] img { object-position: 50% center; }
.archive-portals__panel[data-record-id="irp-photo-117"] img { object-position: 54% center; }
.archive-portals__panel[data-record-id="irp-photo-122"] img { object-position: 54% center; }

.archive-portals__panel:hover img,
.archive-portals__panel:focus-visible img { transform: scale(1.055); filter: saturate(1) contrast(1.02); }
.archive-portals__panel:hover::after,
.archive-portals__panel:focus-visible::after { background: linear-gradient(0deg, rgba(7, 7, 6, .94) 0, rgba(7, 7, 6, .02) 68%, rgba(7, 7, 6, .24) 100%); }

.archive-portals__panel > span {
  position: absolute;
  z-index: 1;
  right: clamp(16px, 2vw, 34px);
  bottom: clamp(22px, 4vh, 52px);
  left: clamp(16px, 2vw, 34px);
  transform: translateY(0);
  transition: transform .7s var(--ease);
}

.archive-portals__panel:hover > span,
.archive-portals__panel:focus-visible > span { transform: translateY(-8px); }
.archive-portals__panel strong,
.archive-portals__panel small { display: block; }
.archive-portals__panel strong { color: var(--warm-light); font-size: clamp(18px, 1.75vw, 28px); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; text-shadow: 0 2px 18px rgba(0, 0, 0, .62); }
.archive-portals__panel small { margin-top: 9px; color: rgba(255, 248, 234, .84); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }

.archive-portals__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 8, 7, .82) 0, rgba(9, 8, 7, .25) 46%, transparent 72%),
    linear-gradient(0deg, rgba(9, 8, 7, .35), transparent 45%);
  pointer-events: none;
}

.archive-portals__copy {
  position: absolute;
  z-index: 3;
  top: clamp(148px, 19vh, 210px);
  left: var(--page);
  width: min(980px, calc(100% - 2 * var(--page)));
  pointer-events: none;
}

.archive-portals__copy h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(58px, 7.5vw, 96px);
  font-weight: 500;
  line-height: .9;
}

.archive-portals__copy p {
  max-width: 20ch;
  margin-bottom: 28px;
  color: rgba(255, 248, 234, .92);
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.04;
  letter-spacing: -.025em;
}

.archive-portals__copy a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 248, 234, .7);
  color: var(--warm-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  pointer-events: auto;
}

.archive-portals__copy a span { color: var(--warm); font-size: 26px; transition: transform .35s var(--ease); }
.archive-portals__copy a:hover span { transform: translateY(5px); }

.archive-prologue {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  min-height: 100vh;
  background: var(--solar-ivory);
}

.archive-prologue__copy {
  align-self: center;
  padding: 14vh var(--page);
}

.archive-prologue__copy h2,
.perspective-gallery__opening h2,
.public-presence__intro h2,
.complete-archive__opening h2,
.name-ledger h2,
.singular-encounter__copy h2,
.personalities-coda h2 {
  margin-bottom: 28px;
  font-size: clamp(50px, 6vw, 94px);
  font-weight: 500;
  line-height: .96;
}

.archive-prologue__copy h2 { max-width: 9ch; }
.archive-prologue__copy p,
.perspective-gallery__opening p,
.public-presence__intro p,
.complete-archive__opening p,
.name-ledger > div p,
.singular-encounter__copy p,
.personalities-coda > div > p {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.62;
}

.archive-prologue__film {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background: var(--inverse);
}

.archive-prologue__frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #050505;
}

.archive-prologue__frames img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; }
.archive-prologue__film::after { position: absolute; inset: 0; background: linear-gradient(0deg, #17120cbd, transparent 46%); content: ""; }
.archive-prologue__film figcaption { position: absolute; z-index: 1; right: 36px; bottom: 30px; left: 36px; color: rgba(255, 248, 234, .82); font-size: 12px; }

html.has-campaign-sequence .archive-prologue { min-height: 400vh; }
html.has-campaign-sequence .archive-prologue__copy,
html.has-campaign-sequence .archive-prologue__film { position: sticky; top: 0; align-self: start; height: 100vh; min-height: 100vh; }
html.has-campaign-sequence .archive-prologue__copy { display: flex; flex-direction: column; justify-content: center; }
html.has-campaign-sequence .archive-prologue__frames { position: absolute; inset: 0; display: block; min-height: 0; }
html.has-campaign-sequence .archive-prologue__frames img {
  position: absolute;
  inset: 0;
  opacity: 0;
  object-fit: cover;
  will-change: opacity, transform;
}

.perspective-gallery {
  scroll-margin-top: 88px;
  color: var(--warm-light);
  background: #0a0a09;
}

.perspective-gallery__opening {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 8vw;
  align-items: end;
  min-height: 68vh;
  padding: 14vh var(--page) 11vh;
  background: var(--solar-charcoal);
}

.perspective-gallery__opening h2 { max-width: 9ch; margin-bottom: 0; }
.perspective-gallery__opening p { color: rgba(255, 248, 234, .74); }

.perspective-gallery__journey {
  position: relative;
  min-height: 650vh;
  background: #070706;
}

.perspective-gallery__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 52%, rgba(232, 166, 70, .08), transparent 24%),
    linear-gradient(90deg, #050505 0, #0b0b0a 52%, #050505 100%);
}

.perspective-gallery__stage::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .76) 0, transparent 12%, transparent 82%, rgba(5, 5, 5, .48) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, .8) 0, transparent 16%, transparent 86%, rgba(5, 5, 5, .58) 100%);
  pointer-events: none;
  content: "";
}

.perspective-gallery__viewport {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  perspective: 1100px;
  perspective-origin: 82% 50%;
  cursor: ew-resize;
  touch-action: pan-y pinch-zoom;
}

.perspective-gallery__viewport.is-dragging { cursor: grabbing; }

.perspective-gallery__wall {
  --gallery-x: 0px;
  position: absolute;
  top: 14vh;
  left: 2vw;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: max-content;
  height: 70vh;
  transform: rotateY(42deg) translate3d(var(--gallery-x), 0, 0);
  transform-origin: left center;
  transform-style: preserve-3d;
  will-change: transform;
}

.perspective-gallery__row {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: max-content;
  height: 100%;
}

.perspective-gallery__tile {
  flex: none;
  width: clamp(150px, 17vw, 300px);
  height: 100%;
  margin: 0;
  overflow: visible;
  background: #151513;
}

.perspective-gallery__tile:nth-child(4n + 2) { width: clamp(180px, 21vw, 360px); }
.perspective-gallery__tile:nth-child(7n + 4) { width: clamp(130px, 14vw, 250px); }
.perspective-gallery__tile button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--warm-light);
  background: #151513;
  cursor: zoom-in;
}

.perspective-gallery__media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #151513;
}

.perspective-gallery__media > img:not(.perspective-gallery__reflection) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #151513;
  filter: saturate(.84) contrast(1.02);
  opacity: 0;
  transition: opacity .35s ease, filter .5s ease;
}

.perspective-gallery__tile.is-loaded .perspective-gallery__media > img:not(.perspective-gallery__reflection) { opacity: 1; }
.perspective-gallery__tile button:hover .perspective-gallery__media > img:not(.perspective-gallery__reflection),
.perspective-gallery__tile button:focus-visible .perspective-gallery__media > img:not(.perspective-gallery__reflection) { filter: saturate(1) contrast(1.03); }

.perspective-gallery__reflection {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  height: 48%;
  object-fit: contain;
  object-position: top;
  transform: scaleY(-1);
  transform-origin: top;
  opacity: .22;
  filter: saturate(.55) blur(.35px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .72), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .72), transparent 88%);
  pointer-events: none;
}

.perspective-gallery__label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 12px 10px;
  overflow: hidden;
  color: rgba(255, 248, 234, .88);
  background: linear-gradient(transparent, rgba(0, 0, 0, .9));
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perspective-gallery__cue {
  position: absolute;
  z-index: 3;
  right: var(--page);
  bottom: 5vh;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: rgba(255, 248, 234, .78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.perspective-gallery__cue i { position: relative; display: block; width: 72px; height: 1px; overflow: hidden; background: rgba(255, 248, 234, .28); }
.perspective-gallery__cue i::after { position: absolute; inset: 0; width: 35%; background: var(--warm); content: ""; animation: gallery-cue 2.2s var(--ease) infinite; }

@keyframes gallery-cue { from { transform: translateX(-120%); } to { transform: translateX(340%); } }

.public-presence {
  color: var(--warm-light);
  background: var(--inverse);
}

.public-presence__film { height: clamp(520px, 70vw, 920px); margin: 0; overflow: hidden; }
.public-presence__film img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.public-presence__intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; padding: 13vh var(--page) 9vh; background: var(--solar-bronze); }
.public-presence__intro h2 { max-width: 10ch; margin-bottom: 0; }
.public-presence__intro p { color: rgba(255, 248, 234, .8); }
.public-presence__acts { padding: 0 var(--page) 12vh; background: var(--solar-charcoal); }

.presence-act {
  display: grid;
  grid-template-columns: minmax(240px, .52fr) minmax(0, 1fr);
  gap: 7vw;
  padding: 70px 0;
  border-top: 1px solid rgba(255, 248, 234, .34);
}

.presence-act h3 { max-width: 12ch; margin: 0; color: var(--warm); font-size: clamp(30px, 3vw, 48px); font-weight: 500; line-height: 1.03; }
.presence-act ul { margin-bottom: 0; padding: 0; list-style: none; }
.presence-act li { border-top: 1px solid rgba(255, 248, 234, .17); }
.presence-act li:first-child { border-top: 0; }
.presence-act a { position: relative; display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1fr); gap: 32px; min-height: 88px; padding: 22px 56px 22px 0; color: var(--warm-light); text-decoration: none; }
.presence-act a::after { position: absolute; top: 29px; right: 3px; color: var(--warm); font-size: 26px; content: "↗"; transition: transform .35s var(--ease); }
.presence-act a:hover::after, .presence-act a:focus-visible::after { transform: translate(5px, -5px); }
.presence-act a span { color: rgba(255, 248, 234, .58); font-size: 12px; line-height: 1.45; }
.presence-act a strong { font-size: clamp(16px, 1.35vw, 20px); font-weight: 500; line-height: 1.35; }

.complete-archive { padding: 14vh var(--page); background: var(--solar-ivory); }
.complete-archive__opening { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; margin-bottom: 9vh; }
.complete-archive__opening h2 { max-width: 10ch; margin-bottom: 0; }
.complete-archive__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; background: rgba(29, 27, 24, .2); list-style: none; }
.complete-archive__grid li { min-width: 0; background: var(--canvas); }
.complete-archive__grid li:nth-child(4n + 2) { background: var(--surface); }
.complete-archive__grid li:nth-child(4n + 3) { background: #efe0c5; }
.complete-archive__grid li:nth-child(4n) { background: #d8c29f; }
.complete-archive__grid button { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; cursor: zoom-in; }
.complete-archive__image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(27, 27, 25, .06); }
.complete-archive__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease), filter .5s ease; }
.complete-archive__label { display: block; min-height: 92px; padding: 16px 15px 19px; border-top: 1px solid rgba(29, 27, 24, .12); }
.complete-archive__label strong, .complete-archive__label small { display: block; }
.complete-archive__label strong { font-size: 14px; font-weight: 500; line-height: 1.25; }
.complete-archive__label small { margin-top: 8px; color: var(--ink-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .35s ease; }
.complete-archive__grid button:hover img, .complete-archive__grid button:focus-visible img { transform: scale(1.025); filter: saturate(1.05); }
.complete-archive__grid button:hover small, .complete-archive__grid button:focus-visible small { opacity: 1; }

.name-ledger { display: grid; grid-template-columns: .65fr 1.35fr; gap: 9vw; padding: 13vh var(--page); color: var(--warm-light); background: var(--solar-bronze); }
.name-ledger h2 { max-width: 8ch; }
.name-ledger > div p { color: rgba(255, 248, 234, .78); }
.name-ledger ul { columns: 3; column-gap: 42px; margin: 0; padding: 0; list-style: none; }
.name-ledger li { break-inside: avoid; padding: 11px 0; border-top: 1px solid rgba(255, 248, 234, .22); color: rgba(255, 248, 234, .9); font-size: clamp(16px, 1.5vw, 22px); line-height: 1.22; }

.singular-encounter { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 100vh; color: var(--warm-light); background: var(--solar-charcoal); }
.singular-encounter__film { position: relative; min-height: 100vh; margin: 0; overflow: hidden; background: #0f0f0e; }
.singular-encounter__film button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.singular-encounter__film img { width: 100%; height: 100%; object-fit: contain; background: #0f0f0e; }
.singular-encounter__film figcaption { position: absolute; right: 30px; bottom: 26px; left: 30px; padding: 28px 0 0; color: rgba(255, 248, 234, .72); background: linear-gradient(transparent, rgba(15, 15, 14, .8)); font-size: 12px; pointer-events: none; }
.singular-encounter__copy { align-self: center; padding: 12vh var(--page); }
.singular-encounter__copy h2 { max-width: 8ch; }
.singular-encounter__copy p { color: rgba(255, 248, 234, .76); }

.personalities-coda { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 100vh; background: var(--solar-full); }
.personalities-coda figure { min-height: 100vh; margin: 0; overflow: hidden; background: var(--inverse); }
.personalities-coda figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.personalities-coda > div { align-self: center; padding: 12vh var(--page); }
.personalities-coda h2 { max-width: 9ch; }
.personalities-coda nav { display: flex; flex-direction: column; margin-top: 48px; border-top: 1px solid rgba(29, 27, 24, .45); }
.personalities-coda nav a { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid rgba(29, 27, 24, .45); color: var(--ink); font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; text-decoration: none; }
.personalities-coda nav a::after { color: var(--focus); content: "→"; transition: transform .35s var(--ease); }
.personalities-coda nav a:hover::after { transform: translateX(8px); }

.photo-dialog {
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 248, 234, .28);
  border-radius: 0;
  color: var(--warm-light);
  background: var(--inverse);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
}

.photo-dialog::backdrop { background: rgba(10, 9, 8, .84); backdrop-filter: blur(8px); }
.photo-dialog > button { position: sticky; z-index: 3; top: 18px; left: calc(100% - 62px); width: 44px; height: 44px; margin-bottom: -44px; padding: 0; border: 1px solid rgba(255, 248, 234, .4); border-radius: 50%; color: var(--warm-light); background: rgba(27, 27, 25, .78); cursor: pointer; }
.photo-dialog > button span { font-size: 30px; font-weight: 300; line-height: 1; }
.photo-dialog figure { display: grid; grid-template-columns: minmax(0, 1fr) 280px; margin: 0; min-height: 560px; }
.photo-dialog figure > img { align-self: stretch; width: 100%; height: min(78vh, 820px); object-fit: contain; background: #0c0c0b; }
.photo-dialog figcaption { align-self: end; padding: 38px 28px; }
.photo-dialog figcaption h2 { margin-bottom: 12px; font-size: 34px; font-weight: 500; line-height: 1; }
.photo-dialog figcaption p { margin-bottom: 0; color: rgba(255, 248, 234, .66); font-size: 13px; }

.is-image-error { background: var(--inverse-soft) !important; }
.is-image-error img { visibility: hidden; }

@media (max-width: 1180px) {
  .complete-archive__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .archive-portals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .archive-portals__panel:nth-child(2) { border-right: 0; }
  .archive-portals__panel:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 248, 234, .2); }
  .archive-portals__copy { top: clamp(132px, 16vh, 172px); }
  .archive-portals__copy h1 { font-size: clamp(56px, 12vw, 88px); }
  .archive-portals__copy p { max-width: 17ch; }
  .archive-portals__panel > span { bottom: 22px; }
  .perspective-gallery__opening { grid-template-columns: 1fr; gap: 34px; min-height: 74vh; }
  .archive-prologue, .singular-encounter, .personalities-coda { grid-template-columns: 1fr; }
  html.has-campaign-sequence .archive-prologue { display: block; min-height: 420vh; }
  html.has-campaign-sequence .archive-prologue__copy { position: relative; height: auto; min-height: 82vh; }
  html.has-campaign-sequence .archive-prologue__film { top: 0; }
  .archive-prologue__film, .archive-prologue__copy, .singular-encounter__film, .personalities-coda figure { min-height: 72vh; }
  .public-presence__intro, .complete-archive__opening, .name-ledger { grid-template-columns: 1fr; }
  .public-presence__intro h2, .complete-archive__opening h2 { margin-bottom: 0; }
  .presence-act { grid-template-columns: 1fr; gap: 32px; }
  .name-ledger ul { columns: 2; }
  .complete-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-dialog figure { grid-template-columns: 1fr; }
  .photo-dialog figure > img { height: min(68vh, 720px); }
}

@media (max-width: 620px) {
  .archive-portals__copy { top: 116px; left: 20px; width: calc(100% - 40px); }
  .archive-portals__copy h1 { margin-bottom: 10px; font-size: clamp(46px, 13vw, 60px); }
  .archive-portals__copy p { max-width: 15ch; margin-bottom: 14px; font-size: clamp(20px, 5.8vw, 27px); }
  .archive-portals__copy a { font-size: 9px; }
  .archive-portals__veil { background: linear-gradient(0deg, rgba(9, 8, 7, .34), rgba(9, 8, 7, .72) 45%, rgba(9, 8, 7, .78)); }
  .archive-portals__panel strong { font-size: 17px; }
  .archive-portals__panel small { font-size: 8px; }
  .archive-portals__panel:nth-child(-n + 2) > span { bottom: 16px; }
  .archive-portals__panel:nth-child(n + 3) > span { bottom: 24px; }

  .archive-prologue__copy, .perspective-gallery__opening, .public-presence__intro, .complete-archive, .name-ledger, .singular-encounter__copy, .personalities-coda > div { padding-left: 20px; padding-right: 20px; }
  .archive-prologue__copy h2, .perspective-gallery__opening h2, .public-presence__intro h2, .complete-archive__opening h2, .name-ledger h2, .singular-encounter__copy h2, .personalities-coda h2 { font-size: clamp(44px, 12.5vw, 58px); line-height: .96; }
  .archive-prologue__copy { min-height: 82vh; padding-top: 11vh; padding-bottom: 11vh; }
  .archive-prologue__film { min-height: 78vh; }
  .archive-prologue__film figcaption { right: 20px; bottom: 20px; left: 20px; }

  .perspective-gallery__opening { min-height: 78vh; padding-top: 11vh; padding-bottom: 10vh; }
  .perspective-gallery__journey { min-height: 560vh; }
  .perspective-gallery__viewport { perspective: 390px; perspective-origin: 88% 50%; }
  .perspective-gallery__wall { top: 18vh; left: 3vw; height: 61vh; gap: 6px; transform: rotateY(34deg) translate3d(var(--gallery-x), 0, 0); }
  .perspective-gallery__row { gap: 6px; }
  .perspective-gallery__tile { width: 40vw; min-width: 140px; max-width: 185px; }
  .perspective-gallery__tile:nth-child(4n + 2) { width: 52vw; min-width: 175px; max-width: 230px; }
  .perspective-gallery__tile:nth-child(7n + 4) { width: 34vw; min-width: 118px; max-width: 155px; }
  .perspective-gallery__label { padding: 26px 8px 7px; font-size: 9px; }
  .perspective-gallery__cue { right: 20px; bottom: 3.5vh; }
  .perspective-gallery__cue i { width: 48px; }

  .public-presence__film { height: 78vh; }
  .public-presence__film img { object-position: 50% center; }
  .public-presence__intro { padding-top: 11vh; padding-bottom: 11vh; }
  .public-presence__acts { padding: 0 20px 10vh; }
  .presence-act { padding: 52px 0; }
  .presence-act h3 { font-size: 34px; }
  .presence-act a { grid-template-columns: 1fr; gap: 7px; padding: 20px 45px 20px 0; }
  .presence-act a strong { font-size: 17px; }

  .complete-archive { padding-top: 11vh; padding-bottom: 11vh; }
  .complete-archive__opening { margin-bottom: 7vh; }
  .complete-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-right: -20px; margin-left: -20px; }
  .complete-archive__label { min-height: 80px; padding: 13px 11px 15px; }
  .complete-archive__label strong { font-size: 12px; }
  .complete-archive__label small { display: none; }

  .name-ledger { padding-top: 11vh; padding-bottom: 11vh; }
  .name-ledger ul { columns: 1; }
  .name-ledger li { font-size: 20px; }

  .singular-encounter__film { min-height: 82vh; }
  .singular-encounter__film img { object-fit: contain; }
  .singular-encounter__copy { padding-top: 11vh; padding-bottom: 11vh; }
  .personalities-coda figure { min-height: 74vh; }
  .personalities-coda > div { padding-top: 11vh; padding-bottom: 11vh; }
  .personalities-coda nav a { min-height: 68px; font-size: 18px; }

  .photo-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .photo-dialog figure > img { height: 62vh; }
  .photo-dialog figcaption { padding: 28px 20px; }
  .photo-dialog figcaption h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .archive-portals__panel img,
  .archive-portals__panel > span { transition: none; }
  .archive-portals__panel:hover img,
  .archive-portals__panel:focus-visible img { transform: none; }
  .perspective-gallery__journey { min-height: auto; }
  .perspective-gallery__stage { position: relative; height: auto; min-height: 78vh; overflow: visible; padding: 10vh 0; }
  .perspective-gallery__viewport { position: relative; inset: auto; overflow-x: auto; overflow-y: hidden; min-height: 66vh; perspective: none; scroll-snap-type: x proximity; }
  .perspective-gallery__wall { position: relative; top: auto; left: auto; height: 60vh; transform: none !important; }
  .perspective-gallery__tile { scroll-snap-align: start; }
  .perspective-gallery__cue { display: none; }
  .perspective-gallery__cue i::after { animation: none; }
}
