:root {
  color-scheme: dark;
  --bg: #080d10;
  --ink: #f2f0eb;
  --muted: #acb4b7;
  --red: #e12b2c;
  --line: #b5c0c12b;
  --gutter: clamp(22px, 4.4vw, 88px);
  --type: 'custom_146852', Arial, sans-serif;
  --mono: 'Roboto Mono', monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--type);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:disabled {
  opacity: 0.3;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 6px;
}
::selection {
  background: var(--red);
  color: #fff;
}
.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: 1680px;
  margin-inline: auto;
}
.mono {
  font: 400 10px/1.6 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-170%);
  background: #fff;
  color: #080d10;
  padding: 15px;
}
.skip-link:focus {
  transform: none;
}
h2 {
  font-size: clamp(42px, 5.2vw, 90px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.06em;
}
h3 {
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}
em {
  font-style: normal;
  color: var(--red);
}
/* A real full-bleed frame; the document keeps its native scroll. */
.opening {
  height: 100svh;
  min-height: 730px;
  position: relative;
}
.motion-enabled .opening {
  height: 190svh;
  min-height: 0;
}
.opening-pin {
  position: relative;
  height: 100svh;
  min-height: 730px;
  overflow: clip;
  isolation: isolate;
}
.motion-enabled .opening-pin {
  position: sticky;
  top: 0;
  min-height: 0;
}
.opening-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: scale(calc(1.02 + var(--opening-progress, 0) * 0.1));
  transform-origin: 58% 52%;
}
.opening-scene > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.opening-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #03070ad9, #03070a42 58%, #03070a26),
    linear-gradient(0deg, #080d10 0, transparent 30%, #080d1040 100%);
}
.opening-meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--project-header-height) + 30px);
  display: flex;
  justify-content: space-between;
  color: #ccd2d4;
}
.opening-title {
  position: absolute;
  left: var(--gutter);
  top: 43%;
  max-width: 74%;
  transform: translateY(calc(-35% - var(--opening-progress, 0) * 90px));
  opacity: calc(1 - var(--opening-progress, 0) * 1.6);
  z-index: 2;
}
.opening-title > .mono {
  font-size: clamp(10px, 0.9vw, 14px);
  letter-spacing: 0.09em;
  max-width: 560px;
  margin-bottom: 28px;
}
.opening-title h1 {
  font-size: clamp(90px, 12.8vw, 220px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.opening-title h1 em {
  color: var(--ink);
}
.opening-subtitle {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.opening-year {
  position: absolute;
  right: var(--gutter);
  bottom: 15%;
  font-size: clamp(170px, 25vw, 460px);
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: -0.085em;
  color: #e92326;
  opacity: calc(0.92 - var(--opening-progress, 0) * 0.85);
  transform: translateY(calc(var(--opening-progress, 0) * -30px));
  z-index: 1;
  mix-blend-mode: screen;
}
.opening-bottom {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.opening-bottom a {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 44px;
}
.opening-bottom a:first-child span {
  font-size: 23px;
  animation: scroll-cue 2s ease-in-out infinite;
}
.opening-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(var(--opening-progress, 0));
  transform-origin: left;
}
@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(5px);
  }
}
.concept {
  position: relative;
  background: #0c1114;
}
.concept-pin {
  padding-block: 70px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 810px;
  gap: 40px;
}
.motion-enabled .concept {
  height: 220svh;
}
.motion-enabled .concept-pin {
  position: sticky;
  top: var(--project-header-height);
  height: calc(100svh - var(--project-header-height));
  min-height: 0;
  gap: 20px;
  padding-block: 30px;
}
.chapter-marker {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  gap: 24px;
}
.what-if {
  display: grid;
  grid-template-columns: 19% 1fr;
  gap: 20px;
  align-items: start;
}
.what-if > .mono {
  padding-top: 15px;
  color: #c14b4d;
}
.what-if > p:last-child {
  font-size: clamp(35px, 5.6vw, 100px);
  line-height: 1.13;
  letter-spacing: -0.05em;
}
.what-if strong {
  font-weight: 700;
}
.redacted {
  position: relative;
  display: inline-block;
}
.redacted::after {
  content: '';
  position: absolute;
  inset: 5% -1%;
  background: var(--red);
  transform: scaleX(var(--redaction, 0));
  transform-origin: right;
}
.concept-footer {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.concept-footer > p {
  font-size: clamp(14px, 1.13vw, 18px);
  line-height: 1.7;
  color: #bcc4c6;
  max-width: 600px;
}
.stamp {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  font: 700 clamp(18px, 2.2vw, 36px) / 1.2 var(--mono);
  letter-spacing: -0.07em;
  color: #e34b4d;
  border-block: 3px solid currentColor;
  padding: 4px 0;
  transform: rotate(-5deg);
  opacity: var(--stamp-opacity, 1);
}
.dossier {
  padding-block: 120px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10vw;
}
.dossier-heading > .mono {
  color: var(--red);
  margin-bottom: 36px;
}
.dossier h2 {
  font-size: clamp(40px, 4.1vw, 72px);
}
.mission-data > div {
  border-top: 1px solid var(--line);
  padding: 22px 0 25px;
}
.mission-data dt {
  font: 10px/1.5 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.mission-data dd {
  font-size: clamp(18px, 1.7vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.world-board > button {
  display: block;
  position: relative;
  width: 100%;
}
.world-board img {
  width: 100%;
  height: auto;
}
.world-board figcaption {
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}
.image-enlarge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: #070b0dd9;
  padding: 10px 15px;
  border: 1px solid #ffffff2e;
  backdrop-filter: blur(8px);
  color: white;
}
.section-heading {
  padding-block: 140px 65px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8vw;
  align-items: end;
}
.section-heading .mono {
  color: var(--red);
  margin-bottom: 30px;
}
.section-heading > p {
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  justify-self: end;
}
.storyboard {
  background: #0a0f12;
}
.story-stage {
  position: relative;
}
.story-shot {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(200px, 1fr);
  gap: 5vw;
  align-items: center;
  padding-block: 35px 65px;
}
.shot-image {
  display: block;
  position: relative;
  width: 100%;
  background: #232426;
  overflow: clip;
}
.shot-image > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
}
.shot-copy > .mono {
  color: #d85859;
  margin-bottom: 24px;
  font-size: 9px;
}
.shot-copy > p:not(.mono) {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 23px;
}
.shot-word {
  display: block;
  font-size: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 50px;
  color: #747e83;
}
.story-top,
.story-controls,
.story-bottom {
  display: none;
}
.story-ready {
  height: 650svh;
}
.story-ready .story-pin {
  position: sticky;
  top: var(--project-header-height);
  height: calc(100svh - var(--project-header-height));
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr) auto 48px;
  padding-block: 10px 4px;
  overflow: clip;
  border-block: 1px solid var(--line);
}
.story-ready .story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}
.story-ready .story-stage {
  min-height: 0;
}
.story-ready .story-shot {
  position: absolute;
  inset: 0;
  padding: 12px 0 25px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
}
.story-ready .story-shot.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.story-ready .shot-image {
  max-height: 100%;
  aspect-ratio: 16/9;
}
.story-ready .shot-image > img {
  height: 100%;
  object-fit: contain;
}
.story-ready .story-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.story-controls > button {
  height: 44px;
  font-size: 26px;
}
.shot-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
}
.shot-strip::-webkit-scrollbar {
  display: none;
}
.shot-strip button {
  position: relative;
  flex: 0 0 clamp(65px, 7.7vw, 126px);
  opacity: 0.4;
  transition: opacity 0.2s;
  min-height: 44px;
}
.shot-strip button[aria-pressed='true'],
.shot-strip button:hover {
  opacity: 1;
}
.shot-strip button[aria-pressed='true'] {
  outline: 1px solid #f05c5c;
  outline-offset: 3px;
}
.shot-strip img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.shot-strip span {
  position: absolute;
  bottom: 3px;
  left: 5px;
  color: #fff;
  font: 9px var(--mono);
  text-shadow: 0 1px 5px #000;
}
.story-ready .story-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  gap: 20px;
  font-size: 9px;
}
.story-bottom a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.scenes {
  background: #0d1418;
  padding-bottom: 120px;
}
.scene-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.scene-toolbar > p {
  display: flex;
  gap: 18px;
  align-items: center;
}
.toolbar-divider {
  color: #69787f;
}
.view-modes {
  display: flex;
  gap: 4px;
}
.view-modes button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 11px;
  color: #b5bec1;
  border: 1px solid transparent;
}
.view-modes button[aria-pressed='true'] {
  background: #e4e8e8;
  color: #10171b;
}
.view-modes button:hover {
  border-color: #849399;
}
.comparison {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  isolation: isolate;
  --split: 50%;
}
.comparison > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.scene-wire {
  visibility: hidden;
}
.scene-viewer[data-mode='wire'] .scene-render {
  visibility: hidden;
}
.scene-viewer[data-mode='wire'] .scene-wire {
  visibility: visible;
}
.scene-viewer[data-mode='compare'] .scene-wire {
  visibility: visible;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.comparison-labels {
  position: absolute;
  inset: 20px 20px auto;
  justify-content: space-between;
  display: none;
  pointer-events: none;
  font-size: 9px;
}
.comparison-labels span {
  background: #080d10d9;
  padding: 8px 12px;
}
.compare-handle {
  position: absolute;
  left: var(--split);
  top: 0;
  height: 100%;
  border-left: 1px solid white;
  pointer-events: none;
  display: none;
  filter: drop-shadow(0 0 5px #000);
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: -23px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #080d10b3;
  border: 1px solid white;
  border-radius: 50%;
  font-size: 22px;
}
.compare-range {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.scene-viewer[data-mode='compare'] .compare-range,
.scene-viewer[data-mode='compare'] .compare-handle {
  display: block;
}
.scene-viewer[data-mode='compare'] .comparison-labels {
  display: flex;
}
.comparison:has(.compare-range:focus-visible) {
  outline: 3px solid white;
  outline-offset: 5px;
}
.scene-enlarge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: #080d10d9;
  border: 1px solid #ffffff55;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 9px;
}
.scene-caption {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-block: 24px 45px;
}
.scene-caption > p:first-child {
  font-size: 14px;
  line-height: 1.7;
  max-width: 650px;
  color: #c6cdcf;
}
.scene-caption .mono {
  color: #9ca8ae;
  max-width: 230px;
  text-align: right;
  font-size: 9px;
}
.scene-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 24px;
}
.scene-index > button {
  display: block;
  text-align: left;
  min-width: 0;
}
.scene-thumb {
  display: block;
  position: relative;
  overflow: clip;
  aspect-ratio: 16/9;
  background: black;
}
.scene-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb-wire {
  opacity: 0;
  transition: opacity 0.3s;
}
.scene-index > button:hover .thumb-wire {
  opacity: 1;
}
.scene-index > button[aria-pressed='true'] .scene-thumb {
  outline: 2px solid #f06060;
  outline-offset: -2px;
}
.scene-index-label {
  display: grid;
  grid-template-columns: 30px 1fr 20px;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
}
.scene-index-label .mono {
  color: #95a0a5;
}
.scene-index-label strong {
  font-size: 13px;
  font-weight: 400;
}
.scene-index-label > span:last-child {
  justify-self: end;
}
.static-scenes {
  display: grid;
  gap: 50px;
}
.static-scenes figure {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.static-scenes figcaption {
  grid-column: 1/-1;
}
.film {
  background: #030506;
  padding-top: 100px;
  padding-bottom: 65px;
}
.film-heading {
  position: relative;
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px 8vw;
  align-items: end;
}
.film-heading > .mono {
  grid-column: 1/-1;
  color: var(--red);
  margin-bottom: 20px;
}
.film-heading h2 {
  font-size: clamp(65px, 8.4vw, 150px);
  line-height: 0.94;
}
.film-heading > p:last-child {
  font-size: clamp(14px, 1.25vw, 19px);
  line-height: 1.8;
  color: #b6bfc4;
  justify-self: end;
  padding-bottom: 8px;
}
.cinema-screen {
  width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.film-poster,
.film-mount,
.film-mount iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.film-poster {
  object-fit: contain;
}
.film-mount {
  opacity: 0;
}
.film-ready .film-mount {
  opacity: 1;
}
.film-ready .film-poster {
  visibility: hidden;
}
.film-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #0004;
  min-height: 44px;
}
.film-start > span:first-child {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid #fff8;
  border-radius: 50%;
  background: #080d1080;
  padding-left: 4px;
}
.film-ready .film-start {
  display: none;
}
.film-needs-play .film-start {
  display: flex;
}
.cinema-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}
.cinema-controls > div {
  display: flex;
  gap: 28px;
}
.cinema-controls button {
  min-height: 44px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cinema-controls button[aria-pressed='true'] {
  color: #f16a6a;
}
.film-duration {
  margin-left: 15px;
  color: #8a989e;
}
.film-status:empty {
  display: none;
}
.film-status {
  padding-top: 20px;
  color: #d6dce0;
  font-size: 14px;
}
.vimeo-link {
  display: block;
  margin-top: 20px;
  color: #aeb7bc;
  font-size: 9px;
}
.endnote {
  padding-block: 90px 100px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
}
.endnote > p {
  font-size: clamp(20px, 2.3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.endnote > .mono {
  color: #a6b2b8;
  font-size: 9px;
}
.endnote > .mono:last-child {
  text-align: right;
}
.portfolio-footer {
  background: #0c0c0c;
  color: #eee;
  font-family: var(--type);
  padding-top: 50px;
  border-top: 1px solid #ffffff29;
}
.footer-top {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 36px;
  align-items: center;
  padding-bottom: 50px;
}
.footer-signature img {
  width: 52px;
  filter: brightness(0) invert(1);
}
.footer-top p,
.footer-top > a:last-child {
  font-size: 12px;
  line-height: 1.8;
}
.footer-top p span {
  color: #aaa;
}
.footer-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border-top: 1px solid #ffffff30;
  padding-block: 35px 55px;
}
.footer-projects a {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-projects a:last-child {
  text-align: right;
}
.footer-projects .mono {
  font: 10px/1.5 var(--type);
  color: #b0b0b0;
}
.footer-projects strong {
  font-size: clamp(25px, 4vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.footer-projects a:hover strong {
  color: #bdbdbd;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid #ffffff26;
  font: 10px/1.5 var(--type);
}
.footer-bottom a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.image-dialog {
  width: min(96vw, 1900px);
  max-width: none;
  height: min(94svh, 1200px);
  max-height: none;
  padding: 20px;
  border: 1px solid #758289;
  background: #080d10;
  color: #fff;
  overflow: hidden;
}
.image-dialog::backdrop {
  background: #020609f2;
  backdrop-filter: blur(10px);
}
.image-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex: none;
  font: 12px/1.5 var(--type);
}
.dialog-toolbar button {
  min-height: 44px;
  min-width: 70px;
}
.image-dialog > img {
  display: block;
  width: 100%;
  height: calc(100% - 60px);
  min-height: 0;
  object-fit: contain;
}
.modal-open {
  overflow: hidden;
}
@media (min-width: 1700px) {
  .story-ready .story-stage {
    max-width: 1800px;
  }
  .shot-copy > p:not(.mono) {
    font-size: 17px;
  }
  .shot-copy > .mono {
    font-size: 10px;
  }
}
@media (max-width: 1100px) {
  .opening-title {
    top: 44%;
    max-width: 78%;
  }
  .opening-title h1 {
    font-size: 14vw;
  }
  .opening-year {
    bottom: 18%;
    font-size: 28vw;
  }
  .what-if {
    grid-template-columns: 14% 1fr;
  }
  .concept-footer {
    gap: 40px;
  }
  .story-shot {
    grid-template-columns: minmax(0, 2fr) minmax(190px, 1fr);
    gap: 28px;
  }
  .shot-copy h3 {
    font-size: 27px;
  }
  .shot-copy > p:not(.mono) {
    font-size: 13px;
  }
  .shot-word {
    margin-top: 24px;
  }
  .story-ready .story-controls {
    gap: 12px;
  }
  .shot-strip {
    justify-content: flex-start;
  }
  .shot-strip button {
    flex-basis: 80px;
  }
  .scene-caption {
    gap: 30px;
  }
  .scene-index {
    gap: 25px 15px;
  }
  .scene-toolbar > p {
    font-size: 9px;
    gap: 10px;
  }
  .view-modes button {
    padding-inline: 12px;
  }
  .endnote {
    grid-template-columns: 1fr 2fr;
  }
  .endnote > .mono:last-child {
    grid-column: 2;
    text-align: left;
  }
}
@media (max-width: 700px) {
  .mono {
    font-size: 9px;
  }
  .opening {
    min-height: 700px;
  }
  .opening-pin {
    min-height: 700px;
  }
  .motion-enabled .opening {
    height: 155svh;
  }
  .opening-meta {
    top: calc(var(--project-header-height) + 22px);
    font-size: 8px;
    gap: 20px;
  }
  .opening-meta > span:first-child {
    max-width: 170px;
  }
  .opening-meta > span:last-child {
    text-align: right;
    white-space: nowrap;
  }
  .opening-title {
    top: 33%;
    max-width: none;
    right: var(--gutter);
    transform: translateY(calc(-18% - var(--opening-progress, 0) * 40px));
  }
  .opening-title > .mono {
    font-size: 9px;
    max-width: 240px;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .opening-title h1 {
    font-size: 22vw;
    letter-spacing: -0.065em;
    line-height: 0.93;
  }
  .opening-subtitle {
    font-size: 14px;
    margin-top: 24px;
  }
  .opening-year {
    font-size: 39vw;
    right: var(--gutter);
    bottom: 16%;
    letter-spacing: -0.08em;
  }
  .opening-bottom {
    bottom: 24px;
    font-size: 8px;
    gap: 20px;
  }
  .opening-bottom a {
    gap: 14px;
    max-width: 170px;
    line-height: 1.8;
  }
  .opening-bottom a:last-child {
    max-width: 95px;
    text-align: right;
  }
  .opening-scene > img {
    object-position: 19% 50%;
  }
  .opening-shade {
    background:
      linear-gradient(90deg, #03070acf, #03070a40),
      linear-gradient(0deg, #080d10 0, transparent 50%);
  }
  .concept-pin {
    padding-block: 50px;
    min-height: 780px;
    gap: 50px;
  }
  .motion-enabled .concept {
    height: 205svh;
  }
  .motion-enabled .concept-pin {
    padding-block: 25px;
    gap: 24px;
  }
  .chapter-marker {
    font-size: 8px;
    gap: 20px;
  }
  .chapter-marker > span:last-child {
    max-width: 120px;
    text-align: right;
  }
  .what-if {
    display: block;
  }
  .what-if > .mono {
    padding-top: 0;
    margin-bottom: 13px;
    font-size: 8px;
  }
  .what-if > p:last-child {
    font-size: clamp(27px, 7.2vw, 50px);
    line-height: 1.2;
  }
  .concept-footer {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 25px;
    padding-top: 25px;
  }
  .concept-footer > p {
    font-size: 13px;
    line-height: 1.65;
  }
  .stamp {
    font-size: 23px;
  }
  .dossier {
    padding-block: 80px;
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .dossier-heading > .mono {
    margin-bottom: 25px;
  }
  .dossier h2 {
    font-size: 45px;
  }
  .mission-data > div {
    padding: 20px 0;
  }
  .mission-data dt {
    font-size: 9px;
  }
  .mission-data dd {
    font-size: 21px;
  }
  .world-board figcaption {
    display: block;
    font-size: 8px;
    padding-block: 16px;
    line-height: 1.8;
  }
  .world-board figcaption span {
    display: block;
  }
  .world-board figcaption span + span {
    margin-top: 6px;
  }
  .world-board .image-enlarge {
    bottom: 10px;
    right: 10px;
    font-size: 8px;
    padding: 8px 10px;
  }
  .section-heading {
    padding-block: 85px 40px;
    display: block;
  }
  .section-heading .mono {
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: clamp(38px, 10vw, 60px);
  }
  .section-heading > p {
    margin-top: 28px;
    font-size: 14px;
    max-width: 100%;
  }
  .story-ready {
    height: 680svh;
  }
  .story-ready .story-pin {
    grid-template-rows: 40px minmax(0, 1fr) auto 46px;
    padding-top: 6px;
  }
  .story-top {
    font-size: 8px;
  }
  .story-shot {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-block: 20px 55px;
    align-items: stretch;
  }
  .story-ready .story-shot {
    justify-content: center;
    gap: 20px;
    padding-block: 12px 20px;
  }
  .story-ready .shot-image {
    flex: none;
    max-height: none;
  }
  .shot-image .image-enlarge {
    font-size: 7px;
    padding: 6px 9px;
    right: 10px;
    bottom: 10px;
  }
  .shot-copy > .mono {
    font-size: 8px;
    margin-bottom: 12px;
  }
  .shot-copy h3 {
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.04em;
    max-width: 380px;
  }
  .shot-copy > p:not(.mono) {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.65;
    max-width: 400px;
  }
  .shot-word {
    display: none;
  }
  .story-ready .story-controls {
    grid-template-columns: 28px 1fr 28px;
    gap: 10px;
    padding-top: 10px;
  }
  .story-controls > button {
    font-size: 24px;
  }
  .shot-strip {
    gap: 8px;
    padding: 4px;
  }
  .shot-strip button {
    flex-basis: 65px;
  }
  .story-ready .story-bottom {
    font-size: 7px;
    gap: 15px;
  }
  .story-bottom > span {
    max-width: 140px;
  }
  .story-bottom a {
    max-width: 125px;
    text-align: right;
    line-height: 1.5;
  }
  .scenes {
    padding-bottom: 75px;
  }
  .scene-toolbar {
    display: block;
    padding-block: 20px;
  }
  .scene-toolbar > p {
    margin-bottom: 18px;
    font-size: 10px;
  }
  .view-modes {
    width: 100%;
    gap: 8px;
  }
  .view-modes button {
    flex: 1;
    padding-inline: 5px;
    font-size: 10px;
    border-color: #ffffff25;
  }
  .comparison {
    width: 100%;
    aspect-ratio: 16/9;
  }
  .comparison-labels {
    inset: 10px 10px auto;
    font-size: 7px;
  }
  .comparison-labels span {
    padding: 5px 7px;
  }
  .compare-handle span {
    width: 34px;
    height: 34px;
    left: -18px;
    font-size: 18px;
  }
  .scene-enlarge {
    bottom: 8px;
    right: 10px;
    font-size: 7px;
    padding: 5px 8px;
    min-height: 34px;
  }
  .scene-caption {
    display: block;
    padding-block: 20px 32px;
  }
  .scene-caption > p:first-child {
    font-size: 13px;
  }
  .scene-caption .mono {
    max-width: none;
    text-align: left;
    margin-top: 15px;
    font-size: 8px;
  }
  .scene-index {
    grid-template-columns: 1fr 1fr;
    gap: 25px 14px;
  }
  .scene-index > button:last-child {
    grid-column: 1/-1;
    width: calc(50% - 7px);
  }
  .scene-index-label {
    grid-template-columns: 20px 1fr;
    gap: 6px;
    padding-top: 10px;
  }
  .scene-index-label strong {
    font-size: 11px;
  }
  .scene-index-label > span:last-child {
    display: none;
  }
  .scene-index-label > .mono {
    font-size: 8px;
  }
  .film {
    padding-block: 75px 50px;
  }
  .film-heading {
    display: block;
    margin-bottom: 45px;
  }
  .film-heading > .mono {
    margin-bottom: 35px;
  }
  .film-heading h2 {
    font-size: 19vw;
  }
  .film-heading > p:last-child {
    margin-top: 28px;
    font-size: 13px;
    padding: 0;
  }
  .film-start > span:first-child {
    width: 55px;
    height: 55px;
  }
  .film-start {
    gap: 10px;
  }
  .film-start .mono {
    font-size: 8px;
  }
  .cinema-controls {
    display: block;
    padding-block: 18px 12px;
  }
  .cinema-controls > .mono {
    font-size: 8px;
    display: block;
    margin-bottom: 12px;
  }
  .cinema-controls > div {
    justify-content: space-between;
    gap: 15px;
  }
  .cinema-controls button {
    font-size: 10px;
    gap: 10px;
  }
  .film-duration {
    margin-left: 10px;
  }
  .endnote {
    display: block;
    padding-block: 65px;
  }
  .endnote > p {
    font-size: 26px;
    margin: 25px 0;
  }
  .endnote > .mono:last-child {
    text-align: left;
    display: block;
    font-size: 8px;
  }
  .footer-top {
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding-bottom: 35px;
  }
  .footer-top > a:last-child {
    grid-column: 2;
    font-size: 10px;
  }
  .footer-top p {
    font-size: 10px;
  }
  .footer-projects {
    gap: 20px;
    padding-block: 30px 40px;
  }
  .footer-projects a {
    gap: 20px;
  }
  .footer-projects .mono {
    font-size: 8px;
  }
  .footer-projects strong {
    font-size: 26px;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .image-dialog {
    padding: 12px;
    width: 96vw;
    height: 85svh;
  }
  .dialog-toolbar {
    font-size: 10px;
    gap: 15px;
  }
  .dialog-toolbar button {
    min-width: 60px;
  }
}
@media (max-height: 740px) and (min-width: 701px) {
  .motion-enabled .concept-pin {
    padding-block: 20px;
  }
  .what-if > p:last-child {
    font-size: 6.8svh;
  }
  .concept-footer {
    padding-top: 18px;
  }
  .concept-footer > p {
    font-size: 13px;
    line-height: 1.5;
  }
  .concept-footer .stamp {
    font-size: 22px;
  }
  .opening-title {
    top: 47%;
  }
  .opening-title h1 {
    font-size: 21svh;
  }
  .opening-year {
    font-size: 37svh;
  }
  .opening-title > .mono {
    margin-bottom: 18px;
    font-size: 10px;
  }
  .opening-subtitle {
    font-size: 14px;
    margin-top: 18px;
  }
}
@media (max-height: 720px) and (max-width: 700px) {
  .motion-enabled .concept-pin {
    gap: 15px;
    padding-block: 18px;
  }
  .what-if > p:last-child {
    font-size: 7vw;
  }
  .concept-footer {
    gap: 15px;
    padding-top: 18px;
  }
  .concept-footer > p {
    font-size: 12px;
    line-height: 1.5;
  }
  .concept-footer .stamp {
    font-size: 20px;
  }
  .opening-title {
    top: 37%;
  }
  .opening-title h1 {
    font-size: 19vw;
  }
  .opening-title > .mono {
    margin-bottom: 15px;
  }
  .opening-subtitle {
    font-size: 12px;
    margin-top: 15px;
  }
  .opening-year {
    bottom: 15%;
    font-size: 34vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .opening-bottom span {
    animation: none !important;
  }
  .story-shot,
  .thumb-wire {
    transition: none !important;
  }
  .opening-scene,
  .opening-title,
  .opening-year {
    transform: none;
  }
  .opening-title {
    transform: translateY(-35%);
  }
  .redacted::after {
    display: none;
  }
}

/* Small annotations remain readable against the dark scenes. */
.what-if > .mono,
.dossier-heading > .mono,
.section-heading .mono,
.film-heading > .mono {
  color: #ee7474;
}
@media (max-width: 700px) {
  html {
    scrollbar-gutter: auto;
  }
}

/* The original terminal model bridges the still frames and the final film. */
.terminal {
  position: relative;
  background: #080d10;
  isolation: isolate;
}
.terminal-pin {
  position: relative;
  height: min(850px, 90svh);
  min-height: 520px;
  overflow: clip;
}
.motion-enabled .terminal {
  height: 280svh;
}
.motion-enabled .terminal .terminal-pin {
  position: sticky;
  top: var(--project-header-height);
  height: calc(100svh - var(--project-header-height));
  min-height: 0;
}
.terminal-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.terminal-canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s;
}
.terminal-canvas > canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.terminal-ready .terminal-canvas {
  opacity: 1;
}
.terminal-heading {
  position: relative;
  padding-top: 40px;
  pointer-events: none;
  opacity: calc(1 - var(--terminal-progress, 0) * 3);
  transform: translateY(calc(var(--terminal-progress, 0) * -35px));
}
.terminal-heading > .mono {
  margin-bottom: 20px;
  color: #c6d3d5;
}
.terminal-heading h2 {
  font-size: clamp(45px, 5.7vw, 100px);
  text-shadow: 0 2px 24px #080d10;
}
.terminal-heading h2 em {
  color: #9ebabe;
}
.terminal-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
  text-shadow: 0 2px 12px #000;
}
.terminal-bottom a {
  pointer-events: auto;
  padding: 12px 0;
  min-height: 44px;
}
.terminal-cue {
  display: none;
  opacity: calc(1 - var(--terminal-progress, 0) * 1.1);
}
.terminal-ready .terminal-cue {
  display: block;
}
.terminal-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #728b8f;
  width: calc(var(--terminal-progress, 0) * 100%);
}
@media (max-width: 700px) {
  .motion-enabled .terminal {
    height: 235svh;
  }
  .terminal-heading {
    padding-top: 28px;
  }
  .terminal-heading > .mono {
    font-size: 8px;
    margin-bottom: 15px;
  }
  .terminal-heading h2 {
    font-size: 12vw;
  }
  .terminal-bottom {
    font-size: 8px;
    gap: 16px;
    bottom: 20px;
  }
  .terminal-bottom > p {
    max-width: 150px;
  }
  .terminal-ready .terminal-cue {
    position: absolute;
    bottom: 70px;
    left: 0;
    font-size: 7px;
  }
  .terminal-fallback {
    object-position: 25% center;
  }
}
@media (max-height: 550px) {
  .terminal-heading h2 {
    font-size: 40px;
  }
  .terminal-heading {
    padding-top: 20px;
  }
  .terminal-heading > .mono {
    margin-bottom: 10px;
    font-size: 8px;
  }
  .terminal-bottom {
    font-size: 8px;
    bottom: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .terminal-canvas {
    transition: none;
  }
  .terminal-heading {
    opacity: 1;
    transform: none;
  }
}

/* Direct project copy and a single, pointer-driven scene comparison. */
.opening-subtitle {
  font-size: clamp(18px, 1.65vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  max-width: 550px;
  margin-top: 30px;
}
.what-if {
  display: block;
}
.what-if-intro {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #ee7474;
  margin-bottom: 14px;
}
.what-if > p:last-child {
  font-size: clamp(35px, 5vw, 86px);
}
.dossier-heading h2 {
  font-size: clamp(40px, 4.1vw, 72px);
  line-height: 1.08;
  max-width: 460px;
}
.endnote {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
}
.endnote > .mono:last-child {
  text-align: right;
}
.scene-toolbar .comparison-instruction {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.touch-instruction {
  display: none;
}
.scene-caption {
  padding-block: 18px 24px;
}
.scene-caption > p {
  min-height: 24px;
}
.comparison[aria-busy='true'] > img {
  opacity: 0.5;
}
.scene-carousel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 16px;
  align-items: center;
}
.scene-carousel > button {
  font-size: 26px;
  min-width: 40px;
  min-height: 48px;
  align-self: center;
}
.scene-index {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #62777c #11191d;
  padding: 5px 4px 18px;
  min-width: 0;
}
.scene-index > button {
  flex: 0 0 clamp(170px, 16vw, 230px);
  scroll-snap-align: start;
}
.scene-index > button:last-child {
  width: auto;
}
.scene-index-label {
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding-top: 10px;
}
.scene-index-label strong {
  font-size: 12px;
}
.terminal-bottom {
  justify-content: space-between;
}
.film-heading h2 {
  font-size: clamp(52px, 7vw, 120px);
}
@media (max-width: 1100px) {
  .what-if-intro {
    font-size: 34px;
    margin-bottom: 12px;
  }
  .what-if > p:last-child {
    font-size: clamp(35px, 5.3vw, 60px);
  }
}
@media (max-width: 700px) {
  .opening-subtitle {
    font-size: clamp(17px, 4.8vw, 24px);
    max-width: 290px;
    margin-top: 22px;
  }
  .what-if-intro {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .what-if > p:last-child {
    font-size: clamp(25px, 7.1vw, 45px);
  }
  .dossier-heading h2 {
    font-size: 44px;
  }
  .endnote {
    display: flex;
    padding-block: 28px;
    gap: 16px;
  }
  .endnote > .mono {
    font-size: 8px;
    max-width: 210px;
  }
  .scene-toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-block: 16px;
  }
  .scene-toolbar > p {
    font-size: 9px;
    gap: 8px;
    margin: 0;
  }
  .scene-toolbar .comparison-instruction {
    font-size: 7px;
    gap: 4px;
  }
  .scene-carousel {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 8px;
    width: calc(100% - 20px);
  }
  .scene-carousel > button {
    font-size: 23px;
    min-width: 28px;
  }
  .scene-index {
    gap: 12px;
    padding-bottom: 15px;
  }
  .scene-index > button {
    flex-basis: 145px;
  }
  .scene-index-label {
    grid-template-columns: 20px 1fr;
    gap: 5px;
  }
  .scene-index-label strong {
    font-size: 11px;
  }
  .scene-caption {
    padding-block: 16px 20px;
  }
  .terminal-ready .terminal-cue {
    position: static;
    font-size: 8px;
  }
  .terminal-bottom a {
    margin-left: auto;
  }
}
@media (hover: none), (pointer: coarse) {
  .desktop-instruction {
    display: none;
  }
  .touch-instruction {
    display: inline;
  }
}
.scenes .section-heading {
  display: block;
}
@media (min-width: 1101px) and (min-height: 700px) {
  .comparison {
    width: min(
      calc(100% - var(--gutter) * 2),
      calc((100svh - var(--project-header-height) - 310px) * 1.777778)
    );
  }
}
@media (max-height: 740px) and (min-width: 701px) {
  .what-if-intro {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .what-if > p:last-child {
    font-size: 5.9svh;
  }
}
@media (max-height: 720px) and (max-width: 700px) {
  .what-if-intro {
    font-size: 26px;
    margin-bottom: 7px;
  }
  .what-if > p:last-child {
    font-size: 6.7vw;
  }
}

/* One continuous camera move: desk > CRT > black > the film. */
.terminal {
  --crt-ink: #a4d8d2;
  --entry-black: 0;
  --entry-reveal: 0;
}
.motion-enabled .terminal.terminal-scroll {
  height: 360svh;
}
.terminal-film-anchor {
  position: absolute;
  top: calc(100% - 100svh + var(--project-header-height));
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.terminal-black {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: var(--entry-black);
  pointer-events: none;
}
.terminal-cinema {
  position: relative;
  height: calc(100svh - var(--project-header-height));
  min-height: 470px;
  background: #000;
  color: var(--crt-ink);
  z-index: 4;
}
.terminal-scroll .terminal-cinema {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
  opacity: var(--entry-reveal);
  visibility: hidden;
  pointer-events: none;
}
.terminal-scroll.entry-open .terminal-cinema {
  visibility: visible;
  pointer-events: auto;
}
.terminal-scroll .terminal-bottom,
.terminal-scroll .terminal-progress {
  opacity: var(--terminal-ui-opacity, 1);
  transition: none;
}
.terminal:not(.terminal-scroll),
.motion-enabled .terminal:not(.terminal-scroll) {
  height: auto;
}
.terminal:not(.terminal-scroll) .terminal-pin,
.motion-enabled .terminal:not(.terminal-scroll) .terminal-pin {
  height: auto;
  min-height: 0;
  position: relative;
  top: auto;
}
.terminal:not(.terminal-scroll) .terminal-fallback {
  position: relative;
  height: 65svh;
  min-height: 350px;
  object-fit: cover;
}
.terminal:not(.terminal-scroll) .terminal-heading {
  position: absolute;
  inset: 0 0 auto;
  opacity: 1;
  transform: none;
}
.terminal:not(.terminal-scroll) .terminal-canvas,
.terminal:not(.terminal-scroll) .terminal-black,
.terminal:not(.terminal-scroll) .terminal-bottom,
.terminal:not(.terminal-scroll) .terminal-progress {
  display: none;
}
.terminal:not(.terminal-scroll) .terminal-film-anchor {
  top: max(350px, 65svh);
}
.terminal-cinema .cinema-shell {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}
.terminal-cinema .cinema-screen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.terminal-cinema .film-mount {
  opacity: 0;
  pointer-events: none;
}
.terminal-cinema .film-mount iframe {
  background: #000;
  color-scheme: normal;
}
.terminal-cinema .film-playing .film-mount {
  opacity: 1;
  pointer-events: auto;
}
.film-gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 7svh, 70px);
  background: #000;
  isolation: isolate;
  overflow: hidden;
}
.film-gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #0008 2px 3px, #a4d8d21c 3px 4px);
  pointer-events: none;
  z-index: 3;
  opacity: 0.72;
}
.film-gate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, #67b5ad12, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.film-gate-label,
.film-gate-title {
  font: 400 clamp(10px, 1vw, 14px) / 1.9 var(--mono);
  text-align: center;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-shadow: 0 0 8px #a4d8d260;
  padding-inline: 20px;
}
.film-gate-label span,
.film-gate-title span {
  display: block;
  font-size: 0.8em;
  letter-spacing: 0.12em;
  opacity: 0.65;
}
.terminal-cinema .film-start {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: row;
  gap: 22px;
  min-height: 88px;
  padding: 20px 35px;
  background: #a4d8d205;
  border: 1px solid #a4d8d270;
  color: var(--crt-ink);
  font: 400 clamp(28px, 3.4vw, 48px) / 1 var(--mono);
  letter-spacing: 0.14em;
  text-shadow:
    0 0 4px #a4d8d2a0,
    0 0 20px #a4d8d24d;
  box-shadow:
    inset 0 0 20px #a4d8d207,
    0 0 25px #a4d8d208;
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.terminal-cinema .film-start > span:first-child {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  font-size: 0.6em;
}
.terminal-cinema .film-start:focus-visible {
  outline: 2px solid var(--crt-ink);
  outline-offset: 8px;
}
.terminal-cinema .film-start:hover {
  border-color: var(--crt-ink);
  background: #a4d8d210;
  box-shadow:
    inset 0 0 30px #a4d8d20c,
    0 0 28px #a4d8d218;
}
.entry-open .film-start {
  animation: crt-ready 0.5s steps(6, end) both;
}
.film-playing .film-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.terminal-cinema .film-status {
  position: absolute;
  bottom: 55px;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  font: 12px/1.6 var(--mono);
  color: var(--crt-ink);
}
.terminal-cinema .vimeo-link {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  margin: 0;
  font-size: 9px;
  color: #a4d8d2a6;
}
.terminal-cinema .film-playing .vimeo-link {
  visibility: hidden;
}
@keyframes crt-ready {
  0% {
    opacity: 0;
    filter: blur(3px);
  }
  35% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
@media (max-width: 700px) {
  .motion-enabled .terminal.terminal-scroll {
    height: 320svh;
  }
  .terminal-cinema .film-start {
    min-height: 76px;
    padding: 20px 28px;
    gap: 18px;
  }
  .film-gate {
    gap: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-open .film-start {
    animation: none;
  }
  .terminal-cinema .film-start {
    transition: none;
  }
}

/* A shared baseline keeps the title and the year on the same desktop grid. */
.opening-lockup {
  display: contents;
}
.opening-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.opening-bottom a:first-child {
  flex-direction: column;
  gap: 6px;
  text-align: center;
  max-width: none;
}
@media (min-width: 1101px) {
  .opening-lockup {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: 50%;
    display: grid;
    grid-template-columns: 44fr 56fr;
    column-gap: clamp(20px, 2.2vw, 44px);
    row-gap: 28px;
    align-items: last baseline;
    transform: translateY(calc(-44% - var(--opening-progress, 0) * 80px));
    opacity: calc(1 - var(--opening-progress, 0) * 1.6);
  }
  .opening-lockup .opening-title {
    display: contents;
  }
  .opening-title h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(100px, 12.2vw, 220px);
    line-height: 0.9;
  }
  .opening-year {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    line-height: 0.9;
    font-size: clamp(200px, 24vw, 460px);
    transform: none;
    opacity: 0.92;
    mix-blend-mode: normal;
  }
  .opening-subtitle {
    grid-column: 1/-1;
    grid-row: 2;
    max-width: none;
    margin: 0;
  }
}
@media (max-width: 700px) {
  .opening-lockup {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4svh, 34px);
    transform: translateY(-50%);
  }
  .opening-title {
    position: static;
    max-width: none;
    text-align: center;
    transform: translateY(calc(var(--opening-progress, 0) * -40px));
  }
  .opening-subtitle {
    margin-inline: auto;
  }
  .opening-year {
    position: static;
    text-align: center;
  }
  .opening-bottom {
    bottom: 20px;
  }
  .opening-bottom a:first-child {
    gap: 3px;
    font-size: 8px;
  }
}
/* A cached grain tile, one scan band and tiny text offsets; no full-screen shader. */
.film-crt-noise,
.film-crt-roll {
  position: absolute;
  inset: -10px;
  pointer-events: none;
  z-index: 2;
}
.film-crt-noise {
  background-image: var(--crt-grain);
  background-repeat: repeat;
  opacity: 0.2;
  animation: crt-grain 0.7s steps(1, end) infinite;
  animation-play-state: paused;
}
.film-crt-roll {
  background: linear-gradient(
    0deg,
    transparent 25%,
    #81c6bc06 38%,
    #a4d8d222 48%,
    #a4d8d208 53%,
    transparent 57%
  );
  transform: translateY(-100%);
  animation: crt-scan 7s linear infinite;
  animation-play-state: paused;
}
.film-gate-label,
.film-gate-title,
.film-start [data-play-label] {
  animation: crt-signal 6.8s steps(1, end) infinite;
  animation-play-state: paused;
}
.film-start [data-play-label] {
  text-shadow:
    -1px 0 #b190bb80,
    1px 0 #67efd399,
    0 0 6px #a4d8d2aa,
    0 0 24px #a4d8d24d;
}
.crt-active .film-crt-noise,
.crt-active .film-crt-roll,
.crt-active .film-gate-label,
.crt-active .film-gate-title,
.crt-active .film-start [data-play-label] {
  animation-play-state: running;
}
@keyframes crt-grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  16% {
    transform: translate(-7px, 3px);
  }
  33% {
    transform: translate(4px, -5px);
  }
  50% {
    transform: translate(-3px, -8px);
  }
  66% {
    transform: translate(7px, 5px);
  }
  83% {
    transform: translate(-5px, 7px);
  }
}
@keyframes crt-scan {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes crt-signal {
  0%,
  88%,
  94%,
  100% {
    transform: translateX(0);
    filter: none;
  }
  89% {
    transform: translateX(1.5px) skewX(-0.7deg);
    filter: brightness(1.18);
  }
  90% {
    transform: translateX(-1px);
  }
  91% {
    transform: translateX(0.5px);
    filter: brightness(0.86);
  }
  92% {
    transform: translateX(0);
    filter: brightness(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-lockup {
    transform: translateY(-44%);
  }
  .film-crt-noise,
  .film-crt-roll,
  .film-gate-label,
  .film-gate-title,
  .film-start [data-play-label] {
    animation: none;
  }
  .film-crt-roll {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .opening-lockup {
    transform: translateY(-50%);
  }
  .opening-title {
    transform: none;
  }
}

/* The whole moodboard drifts gently; its images and edges remain intact. */
.world-board {
  position: relative;
  --board-travel: clamp(12px, 2vw, 28px);
  padding-top: var(--board-travel);
}
.world-board > button {
  transform: translate3d(0, var(--board-shift, 0px), 0);
}
.world-board.board-in-view > button {
  will-change: transform;
}
.world-board figcaption {
  padding-top: calc(20px + var(--board-travel));
}
@media (max-width: 700px) {
  .world-board figcaption {
    padding-top: calc(16px + var(--board-travel));
  }
}
@media (prefers-reduced-motion: reduce) {
  .world-board {
    --board-travel: 0px;
  }
  .world-board > button {
    transform: none;
    will-change: auto;
  }
}
