@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

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

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

:root {
  --obsidian: #08090a;
  --obsidian-soft: #0f1112;
  --charcoal: #151718;
  --ivory: #f0e8d8;
  --ivory-muted: #c9c0af;
  --ivory-faint: rgba(240, 232, 216, 0.58);
  --lava: #ff4c1c;
  --lava-deep: #a72f11;
  --teal: #2a9c98;
  --teal-deep: #0b5554;
  --brass: #b48a45;
  --line: rgba(240, 232, 216, 0.15);
  --line-hot: rgba(255, 76, 28, 0.52);
  --page: min(92vw, 1500px);
  /* Layer scale. Only these four sit above page content. */
  --z-header: 900;
  --z-modal: 1000;
  --z-grain: 1100;
  --z-skip: 1200;
  --reading: 70ch;
  --display: "Barlow Condensed", sans-serif;
  --editorial: "Source Serif 4", Georgia, serif;
  --sans: "Space Grotesk", sans-serif;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-color: var(--lava) var(--obsidian);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    linear-gradient(rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.94)),
    url("assets/generated/hawaiian-documentary-clean-wide.webp") center top / cover fixed no-repeat,
    var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12) 0 0.5px, transparent 0.8px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

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

video {
  background: #000;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--z-skip);
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--ivory);
  color: var(--obsidian);
  font-weight: 700;
}

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

.section-pad {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 max(3vw, 1.25rem);
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.92) 12%, rgba(8, 9, 10, 0.6) 62%, transparent);
  backdrop-filter: blur(14px);
}

/* A rule that fades out at both ends reads as a film edge, not a UI chrome bar. */
.site-header::after {
  position: absolute;
  right: max(3vw, 1.25rem);
  bottom: 0;
  left: max(3vw, 1.25rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(240, 232, 216, 0.22) 18%, rgba(255, 76, 28, 0.34) 52%, rgba(240, 232, 216, 0.14) 82%, transparent);
}

main {
  position: relative;
  z-index: 1;
}

.ambient-film {
  position: fixed;
  inset: 70px 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--obsidian) url("assets/generated/hawaiian-documentary-clean-wide.webp") center / cover no-repeat;
}

.ambient-film-video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

.ambient-film-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.88) 0 27%, rgba(8, 9, 10, 0.46) 58%, rgba(8, 9, 10, 0.12) 86%, rgba(8, 9, 10, 0.5)),
    linear-gradient(0deg, rgba(8, 9, 10, 0.64), transparent 28%, rgba(8, 9, 10, 0.16));
}

.lava-flow {
  position: absolute;
  top: -3vh;
  right: 0;
  bottom: -3vh;
  display: flex;
  justify-content: flex-end;
  width: clamp(250px, 25vw, 470px);
  overflow: visible;
  opacity: 0.96;
  pointer-events: none;
  filter: drop-shadow(0 0 18px rgba(255, 86, 32, 0.5)) drop-shadow(0 0 52px rgba(140, 28, 7, 0.38));
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.magma-river {
  display: block;
  width: clamp(66px, 6vw, 106px);
  height: 100%;
  overflow: visible;
  will-change: transform;
}

.magma-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.magma-bed {
  stroke: rgba(24, 5, 2, 0.94);
  stroke-width: 21;
}

.magma-bank {
  stroke: rgba(146, 33, 8, 0.8);
  stroke-width: 13;
  filter: drop-shadow(0 0 14px rgba(151, 32, 8, 0.72));
}

.magma-glow {
  stroke: url("#magmaHeat");
  stroke-width: 7.5;
  filter: drop-shadow(0 0 7px rgba(255, 96, 34, 0.98)) drop-shadow(0 0 22px rgba(255, 62, 15, 0.8));
}

/* Cooled plates riding the flow. This carries the movement now, so the bright
   channel underneath can stay unbroken. */
.magma-crust {
  stroke: rgba(16, 5, 2, 0.9);
  stroke-width: 3.6;
  stroke-dasharray: 26 104 13 138;
  opacity: 0.5;
}

.magma-core {
  stroke: #ffeccd;
  stroke-width: 2.3;
  opacity: 0.96;
  filter: drop-shadow(0 0 5px #ffc884) drop-shadow(0 0 13px #ff5b23);
}

.magma-rivulet {
  stroke: url("#magmaHeat");
  stroke-width: 3;
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(255, 86, 32, 0.82));
}

.magma-rivulet--two {
  opacity: 0.64;
}

.magma-braid {
  stroke-width: 2.3;
  opacity: 0.5;
}

.magma-rivulet--three {
  opacity: 0.52;
}

.magma-pulse {
  fill: rgba(255, 177, 88, 0.82);
  mix-blend-mode: screen;
}

.magma-ember {
  fill: #ffd29c;
  opacity: 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.wordmark-mark::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--lava);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wordmark:hover .wordmark-mark::after,
.wordmark:focus-visible .wordmark-mark::after {
  transform: scaleX(0.42);
}

.wordmark-copy,
.site-header nav a,
.role-line,
.source-bar,
.monitor-top,
.film-status,
.process-verb,

.wordmark-copy {
  color: var(--ivory-muted);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.1vw, 2.4rem);
}

.site-header nav a {
  position: relative;
  padding-block: 0.4rem;
  color: var(--ivory-muted);
  transition: color 240ms ease;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--lava);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ivory);
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header nav a {
  position: relative;
  color: var(--ivory-muted);
  text-decoration: none;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--lava);
  transition: transform 220ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header .nav-contact {
  color: var(--lava);
}

.site-header .nav-contact::after {
  background: var(--lava);
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .nav-contact:hover,
.site-header .nav-contact:focus-visible {
  color: #ff7a45;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 2px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  background: var(--lava);
  color: #180702;
  box-shadow: 0 10px 30px rgba(97, 21, 3, 0.34);
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 120ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff6634;
  box-shadow: 0 14px 38px rgba(117, 27, 4, 0.44);
}

.button-primary:active {
  box-shadow: 0 6px 18px rgba(97, 21, 3, 0.34);
  transform: translateY(1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  padding-bottom: 0.3rem;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--brass);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1), background-color 240ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  background: var(--lava);
  transform: scaleX(1.06);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 70px);
  grid-template-columns: minmax(290px, 0.9fr) minmax(350px, 1.14fr) minmax(255px, 0.94fr);
  grid-template-areas:
    "copy source notes"
    "copy source nle"
    "copy prog   prog";
  align-content: center;
  align-items: start;
  gap: clamp(1.3rem, 2.4vw, 2.4rem) clamp(1.5rem, 3vw, 3.2rem);
  padding: clamp(3.5rem, 6.5vh, 6.5rem) max(4vw, calc((100vw - 1500px) / 2));
  isolation: isolate;
}

.hero-copy { grid-area: copy; align-self: center; }
.hero-source { grid-area: source; }
.hero-notes { grid-area: notes; }
.hero-nle { grid-area: nle; }
.hero-progression { grid-area: prog; }

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.84) 0%, rgba(8, 9, 10, 0.62) 42%, rgba(8, 9, 10, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.74), transparent 38%);
}

.hero-bloom {
  position: absolute;
  right: 6vw;
  bottom: 8vh;
  z-index: -1;
  width: min(58vw, 900px);
  aspect-ratio: 1;
  opacity: 0.16;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 76, 28, 0.72), rgba(11, 85, 84, 0.22) 44%, transparent 70%);
  filter: blur(46px);
}

.hero-copy,
.hero-source {
  min-width: 0;
}

.role-line {
  max-width: 58ch;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  color: var(--brass);
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.7rem, 3.9vw, 4.7rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 0.86;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-line {
  display: block;
}

.hero-line--ivory {
  color: var(--ivory);
}

.hero-line--lava {
  color: var(--lava);
}

.hero-line--teal {
  color: var(--teal);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hero-ownership {
  max-width: 48ch;
  margin: 1.4rem 0 0;
  color: var(--ivory-faint);
  font-size: 0.8rem;
}

.hero-source {
  position: relative;
  aspect-ratio: 1672 / 941;
  padding: 0;
  isolation: isolate;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.58));
}

.hero-source::before {
  position: absolute;
  inset: 11% 8%;
  z-index: -1;
  content: "";
  border-radius: 48%;
  background: radial-gradient(ellipse, rgba(255, 94, 29, 0.3), rgba(142, 31, 7, 0.16) 45%, transparent 73%);
  filter: blur(28px);
  animation: hero-ember-breathe 6.8s ease-in-out infinite alternate;
}

.hero-rock-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.source-bar,
.monitor-top,
.film-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 36px;
  color: var(--ivory-faint);
}

.annotation-monitor > .monitor-top {
  padding-inline: 0.15rem;
  border-top: 1px solid rgba(180, 138, 69, 0.58);
}

.annotation-monitor video {
  outline: 1px solid rgba(180, 138, 69, 0.36);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.58);
}

.source-bar i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.3rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(42, 156, 152, 0.72);
}

.source-screen,
.library-screen {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-source .source-screen {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 78%;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  clip-path: polygon(1.2% 1.8%, 98.6% 0.5%, 100% 97.5%, 97.7% 99.4%, 1.1% 98.6%, 0 4.2%);
  box-shadow: 0 0 0 2px rgba(255, 82, 27, 0.2), 0 0 28px rgba(255, 64, 19, 0.24), 0 26px 74px rgba(0, 0, 0, 0.76);
}

.source-screen video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.library-screen video {
  max-width: 100%;
  max-height: 72dvh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero-source .source-screen video {
  display: block;
  height: 100%;
  background: #000;
}

@keyframes hero-ember-breathe {
  from { opacity: 0.48; transform: scale(0.96); }
  to { opacity: 0.9; transform: scale(1.04); }
}

.source-reticle,
.screen-corners {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.source-reticle span,
.screen-corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(240, 232, 216, 0.46);
}

.source-reticle span:nth-child(1),
.screen-corners span:nth-child(1) {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.source-reticle span:nth-child(2),
.screen-corners span:nth-child(2) {
  top: 12px;
  right: 12px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.source-reticle span:nth-child(3),
.screen-corners span:nth-child(3) {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.source-reticle span:nth-child(4),
.screen-corners span:nth-child(4) {
  bottom: 12px;
  left: 12px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.annotation-lab {
  position: relative;
  padding: clamp(7rem, 11vw, 12rem) 0;
  overflow: clip;
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.91), rgba(8, 9, 10, 0.54) 68%, rgba(8, 9, 10, 0.28));
}

.annotation-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.annotation-heading h2,
.process-intro h2,
.section-intro h2,
.tools-heading h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(3.7rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

.annotation-heading h2 em,
.process-intro h2 em,
.section-intro h2 em,
.tools-heading h2 em,
.contact-section h2 em {
  color: var(--lava);
  font-style: normal;
}

.annotation-heading > p,
.section-intro > p,
.tools-heading > p,
.process-intro > p {
  max-width: 58ch;
  margin: 0;
  color: var(--ivory-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.annotation-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  gap: clamp(2.5rem, 4vw, 4.75rem);
  align-items: start;
}

.annotation-monitor {
  position: sticky;
  top: 98px;
  min-width: 0;
  padding: 0;
}

.annotation-monitor video {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.monitor-top {
  color: var(--ivory-faint);
}

.annotation-ruler {
  display: grid;
  height: 20px;
  grid-template-columns: repeat(8, 1fr);
  margin-top: 0.4rem;
  border-top: 1px solid rgba(180, 138, 69, 0.42);
}

.annotation-ruler i {
  border-right: 1px solid rgba(180, 138, 69, 0.34);
}

.annotation-mark {
  position: absolute;
  right: 8%;
  bottom: 18%;
  z-index: 3;
  color: var(--lava);
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.annotation-mark span {
  display: block;
  width: 74px;
  height: 74px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-13deg);
}

.annotation-mark span::after {
  position: absolute;
  top: 31px;
  left: -56px;
  width: 72px;
  height: 2px;
  content: "";
  transform: rotate(15deg);
  transform-origin: right;
  background: currentColor;
}

.annotation-mark b {
  position: absolute;
  right: 84px;
  bottom: 6px;
  width: max-content;
}

.annotation-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.annotation-notes li {
  position: relative;
  padding: 0.5rem 0 1.35rem;
}

.annotation-notes li + li {
  margin-top: 0.55rem;
}

.annotation-notes button {
  display: grid;
  width: 100%;
  grid-template-columns: 7.4rem 1fr;
  gap: 0.2rem 1rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.annotation-notes button b {
  grid-row: 1 / span 2;
  color: var(--lava);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
}

.annotation-notes button span {
  color: var(--ivory);
  font-weight: 650;
}

.annotation-notes button small {
  color: var(--teal);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.annotation-notes li::before {
  position: absolute;
  right: 0;
  bottom: 0.7rem;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0.18);
  transform-origin: left;
  background: var(--line);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease;
}

.annotation-notes li.is-selected::before {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--lava), rgba(255, 76, 28, 0.08));
}

.annotation-detail {
  display: none;
  gap: 1.15rem;
  padding: 0.8rem 0 1.35rem 8.4rem;
}

.annotation-notes li.is-selected .annotation-detail {
  display: grid;
}

.annotation-detail .note-fix {
  margin-top: 0.7rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--lava);
  color: var(--ivory);
}

.annotation-detail p {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.case-file {
  position: relative;
  overflow: clip;
  background: linear-gradient(rgba(8, 9, 10, 0.78), rgba(8, 9, 10, 0.48), rgba(8, 9, 10, 0.76));
}

.case-file::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 76, 28, 0.13), transparent 26%),
    radial-gradient(circle at 88% 54%, rgba(42, 156, 152, 0.12), transparent 28%);
}

.process-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  padding-top: clamp(8rem, 12vw, 13rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.process-verb {
  display: inline-block;
  margin-bottom: 1.3rem;
  color: var(--lava);
}

.screening-room {
  position: relative;
  padding: clamp(8rem, 12vw, 13rem) 0;
  overflow: clip;
  background: linear-gradient(rgba(8, 9, 10, 0.5), rgba(8, 9, 10, 0.88));
}

.screening-room::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.82) 0 8%, transparent 42% 82%, rgba(8, 9, 10, 0.72)),
    linear-gradient(0deg, rgba(8, 9, 10, 0.9), transparent 30%, rgba(8, 9, 10, 0.5));
}

.section-intro,
.channel-stats,
.screening-console {
  position: relative;
  z-index: 1;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.channel-stats {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(5rem, 9vw, 9rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-hot);
}

.channel-stats > p {
  max-width: 46ch;
  margin: 0;
  color: var(--ivory-muted);
}

.channel-stats > p strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.channel-stats dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0;
}

.channel-stats dt {
  color: var(--lava);
  font-family: var(--editorial);
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.channel-stats dd {
  color: var(--ivory-faint);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel-stats small {
  grid-column: 2 / -1;
  color: var(--ivory-faint);
  font-size: 0.68rem;
}

.screening-console {
  display: block;
}

.active-film-copy {
  min-width: 0;
}

.film-index,
.program-heading > p:first-child {
  margin-bottom: 0.6rem;
  color: var(--brass);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.active-film-copy h3 {
  max-width: 34ch;
  margin-bottom: 0.7rem;
  font-family: var(--editorial);
  font-size: clamp(1.7rem, 2.4vw, 2.8rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1;
}

.active-film-copy > p:not(.film-index) {
  max-width: 64ch;
  margin-bottom: 1rem;
  color: var(--ivory-muted);
  font-size: 0.85rem;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
  color: var(--teal);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.signal-list li::before {
  margin-right: 0.45rem;
  color: var(--brass);
  content: "/";
}

.active-source-link {
  color: var(--ivory);
  font-size: 0.7rem;
  font-weight: 650;
  text-underline-offset: 0.25rem;
}

@keyframes film-modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes film-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes film-status-pulse {
  from { opacity: 0.45; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.15); }
}

.tools-section {
  position: relative;
  padding-top: clamp(8rem, 12vw, 13rem);
  padding-bottom: clamp(8rem, 12vw, 13rem);
  background: linear-gradient(90deg, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.5));
}

.tools-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.tools-board {
  display: grid;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.18fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3.5rem);
  align-items: baseline;
  padding: clamp(1rem, 1.8vw, 1.5rem) 0;
  border-top: 1px solid var(--line);
}

.tool-row:first-child {
  border-top-color: var(--brass);
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-tags li {
  color: var(--ivory-muted);
  font-size: clamp(0.85rem, 1.05vw, 1.02rem);
  line-height: 1.4;
}

.tool-row span,
.three-d-note > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--lava);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.three-d-note {
  display: grid;
  grid-template-columns: minmax(170px, 0.3fr) minmax(0, 0.7fr);
  gap: 2rem;
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.three-d-note p {
  max-width: 72ch;
  margin: 0;
  color: var(--ivory-muted);
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 92svh;
  place-content: center;
  padding: clamp(7rem, 12vw, 12rem) max(5vw, calc((100vw - 1500px) / 2));
  overflow: clip;
  isolation: isolate;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.94) 0 42%, rgba(8, 9, 10, 0.4) 82%, rgba(8, 9, 10, 0.68)),
    linear-gradient(0deg, rgba(8, 9, 10, 0.92), transparent 40%);
}

.contact-section h2 {
  max-width: 14ch;
  margin-bottom: 1.7rem;
  font-family: var(--editorial);
  font-size: clamp(2.9rem, 5.2vw, 4.4rem);
  font-weight: 470;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.contact-section > p {
  max-width: 58ch;
  margin-bottom: 2rem;
  color: var(--ivory-muted);
}

.contact-section footer {
  position: absolute;
  right: 5vw;
  bottom: 1.7rem;
  left: 5vw;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ivory-faint);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section footer a {
  color: var(--ivory);
  text-decoration: none;
}

/* The two ways back into the rest of the site sit together in the middle of
   the footer rule, so the film room is never a dead end. */
.contact-home {
  display: inline-flex;
  gap: 1.1rem;
}

.contact-home a + a::before {
  content: "\00B7";
  margin-right: 1.1rem;
  color: var(--ivory-faint);
}

.contact-section footer a:hover,
.contact-section footer a:focus-visible {
  color: var(--lava);
}

.reveal {
  will-change: transform, opacity;
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Three authored entrances keyed to what the element is, rather than one
   identical fade repeated down the whole page. Media settles into frame,
   library tiles arrive quickly and close together, copy rises. */
.js figure.reveal,
.js .stage-film,
.js .board-sheet,
.js .cast-bento,
.js .concept-scatter,
.js .take-strip,
.js .process-finish-media,
.js .process-reference-grid {
  transform: scale(0.975);
}

.js .program-item.reveal {
  transform: translateY(14px);
  transition-duration: 460ms;
}

/* ---------- hero: utility ---------- */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

/* ---------- hero: kicker ---------- */
.hero-kicker {
  position: relative;
  display: inline-block;
  margin: 0 0 clamp(1.6rem, 3.4vh, 2.6rem);
  padding-bottom: 0.55rem;
  color: var(--lava);
  font-family: var(--sans);
  font-size: clamp(0.74rem, 0.95vw, 0.88rem);
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-kicker::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--lava) 12%, var(--lava) 78%, transparent);
  transform: rotate(-0.55deg);
}

/* ---------- hero: 01-07 pipeline rail ---------- */
.pipeline-rail {
  position: relative;
  margin: 0;
  padding: 0.35rem 0 0.35rem 2.1rem;
  list-style: none;
}

.pipeline-rail::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 2px;
  content: "";
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lava), var(--lava-deep) 78%, transparent);
}

.pipeline-rail::after {
  position: absolute;
  top: 0.75rem;
  left: -2px;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: var(--lava);
  box-shadow: 0 0 16px rgba(255, 76, 28, 0.75);
}

.pipeline-rail li {
  position: relative;
}

.pipeline-rail li::before {
  position: absolute;
  top: 50%;
  left: -2.1rem;
  width: 1.6rem;
  height: 1px;
  content: "";
  background: var(--lava-deep);
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.pipeline-rail a {
  display: flex;
  align-items: baseline;
  gap: 0.95rem;
  padding: 0.34rem 0;
  text-decoration: none;
}

.pipeline-rail b {
  min-width: 1.8ch;
  color: var(--lava);
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pipeline-rail span {
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: clamp(0.76rem, 0.92vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: color 0.24s ease, transform 0.24s ease;
}

.pipeline-rail a:hover span,
.pipeline-rail a:focus-visible span {
  color: var(--ivory);
  transform: translateX(3px);
}

.pipeline-rail li:hover::before,
.pipeline-rail li:focus-within::before {
  transform: scaleX(1);
  background: var(--lava);
}

.pipeline-rail a:focus-visible {
  outline: 2px solid var(--lava);
  outline-offset: 4px;
}

/* ---------- hero: direction notes ---------- */
.hero-notes {
  display: grid;
  gap: 1.1rem;
  align-self: start;
  padding-top: 0.5rem;
}

.note-lines {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-lines li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: clamp(0.66rem, 0.8vw, 0.78rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-lines li::before {
  position: relative;
  top: -0.1em;
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  content: "";
  border-top: 1px solid var(--lava);
  border-right: 1px solid var(--lava);
  transform: rotate(45deg) scale(0.8);
}

.note-key {
  color: var(--lava);
  font-weight: 650;
}

.note-key::after { content: ":"; }

.note-value { color: var(--ivory-muted); }

.note-sketch {
  margin: 0;
}

.note-sketch svg {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

.sketch-ink {
  stroke: var(--lava);
  stroke-width: 1.4;
  opacity: 0.82;
}

.sketch-ink .sketch-arrow {
  stroke-width: 1.7;
  opacity: 1;
}

.note-sketch figcaption {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-family: var(--sans);
  font-size: clamp(0.62rem, 0.76vw, 0.73rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sketch-label { color: var(--lava); }

.sketch-focus {
  justify-self: start;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--teal);
  color: var(--teal);
}

/* ---------- hero: edit timeline ---------- */
.hero-nle {
  position: relative;
  align-self: start;
  padding: 0.55rem 0 0.4rem;
  border-top: 1px solid rgba(180, 138, 69, 0.44);
  background: linear-gradient(180deg, rgba(15, 17, 18, 0.86), rgba(8, 9, 10, 0.5));
}

.nle-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.5rem 0.45rem;
  color: var(--ivory-faint);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nle-tracks {
  display: grid;
  gap: 3px;
}

.nle-track {
  display: grid;
  align-items: center;
  gap: 0.45rem;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 0 0.5rem;
}

.nle-icon {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  opacity: 0.75;
}

.nle-icon--film { color: var(--teal); border-radius: 1px; }
.nle-icon--layers { color: var(--teal); border-radius: 50%; }
.nle-icon--grade { color: var(--lava); transform: rotate(45deg); }
.nle-icon--music { color: var(--brass); border-radius: 2px; }
.nle-icon--voice { color: var(--teal); border-radius: 2px 2px 8px 8px; }

.nle-lane {
  position: relative;
  height: 22px;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(240, 232, 216, 0.05);
}

.nle-track--picture .nle-lane {
  display: flex;
  gap: 2px;
  height: 26px;
}

.nle-track--picture img {
  width: 20%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.72);
}

.nle-lane b {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--x);
  width: var(--w);
  border-radius: 1px;
}

.nle-track--layers b { background: var(--teal-deep); box-shadow: inset 0 0 0 1px rgba(42, 156, 152, 0.55); }
.nle-track--grade b { background: linear-gradient(90deg, var(--lava-deep), var(--lava)); opacity: 0.72; }

.nle-lane svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-base { stroke: rgba(240, 232, 216, 0.16); stroke-width: 1; }
.wave-form { fill: none; stroke-width: 1.2; }
.nle-track--music .wave-form { stroke: var(--brass); }
.nle-track--dialogue .wave-form { stroke: var(--teal); }

.nle-playhead {
  position: absolute;
  top: 1.35rem;
  bottom: 0.4rem;
  left: 34%;
  width: 1px;
  background: var(--lava);
  box-shadow: 0 0 10px rgba(255, 76, 28, 0.8);
  animation: nle-scrub 11s ease-in-out infinite alternate;
}

.nle-playhead::before {
  position: absolute;
  top: -6px;
  left: -4px;
  border-top: 6px solid var(--lava);
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

@keyframes nle-scrub {
  from { left: 12%; }
  to { left: 88%; }
}

/* ---------- hero: real-artifact progression ---------- */
.hero-progression {
  align-self: start;
  margin: 0;
}

.progression-steps {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.progression-steps li {
  position: relative;
  display: grid;
  gap: 0.3rem;
}

.progression-steps li:not(:last-child)::after {
  position: absolute;
  top: 34%;
  right: clamp(-1.5rem, -1.6vw, -0.8rem);
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-top: 1px solid var(--ivory-faint);
  border-right: 1px solid var(--ivory-faint);
  transform: rotate(45deg);
}

.progression-steps img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(180, 138, 69, 0.3);
  filter: saturate(0.9);
}

.progression-stage {
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: clamp(0.6rem, 0.74vw, 0.71rem);
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.progression-steps small {
  color: var(--ivory-faint);
  font-size: clamp(0.58rem, 0.7vw, 0.68rem);
  letter-spacing: 0.05em;
}

.hero-progression figcaption {
  margin-top: 0.75rem;
  color: var(--ivory-faint);
  font-size: clamp(0.62rem, 0.74vw, 0.72rem);
  letter-spacing: 0.04em;
}
/* ---------- four takes of one beat: the generate stage, shown ---------- */

/* ---------- script stage: the five-act board, given room ---------- */

/* ---------- a film in every stage: the work leads, the artifact supports ---------- */

/* ---------- concept: loose frames, pinned rather than gridded ---------- */
/* A pinned board, not a grid. Each frame keeps its own shape, so a wide
   newspaper page is never cropped into a portrait tile. */

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: minmax(300px, 0.92fr) minmax(380px, 1.12fr) minmax(265px, 0.92fr);
    grid-template-areas:
      "copy source notes"
      "copy source nle"
      "copy prog   prog";
    gap: clamp(1.4rem, 2.2vw, 2.4rem) clamp(1.8rem, 2.8vw, 3rem);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(3.1rem, 3.5vw, 4.3rem);
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    grid-template-areas:
      "copy source"
      "copy notes"
      "nle  nle"
      "prog prog";
    gap: 1.6rem 2.4rem;
  }

  .hero-notes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 6vw, 5.2rem);
  }

  .annotation-workbench {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }

  .annotation-detail {
    padding-left: 0;
  }

}

@media (max-width: 980px) {
  body {
    background-image:
      linear-gradient(rgba(8, 9, 10, 0.9), rgba(8, 9, 10, 0.96)),
      url("assets/generated/hawaiian-documentary-clean-wide.webp");
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
  }

  .site-header nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "source"
      "notes"
      "nle"
      "prog";
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .hero-notes {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.4rem 2rem;
    max-width: 780px;
  }

  .hero-atmosphere {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.54) 0 48%, rgba(8, 9, 10, 0.18) 78%, rgba(8, 9, 10, 0.78));
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(4.2rem, 11vw, 6rem);
  }

  .hero-source {
    width: min(100%, 820px);
    margin: 1rem auto 0;
  }

  .annotation-heading,
  .process-intro,
  .section-intro,
  .tools-heading,
  .channel-stats,
  .annotation-workbench {
    grid-template-columns: 1fr;
  }

  .annotation-heading,
  .process-intro,
  .section-intro,
  .tools-heading {
    gap: 1.5rem;
  }

  .annotation-monitor {
    position: relative;
    top: auto;
  }

  .annotation-workbench {
    gap: 3rem;
  }

  .channel-stats {
    gap: 2rem;
  }

  .channel-stats small {
    grid-column: 1;
  }

}

@media (min-width: 721px) and (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .hero-atmosphere {
    background:
      linear-gradient(90deg, rgba(8, 9, 10, 0.84) 0%, rgba(8, 9, 10, 0.62) 42%, rgba(8, 9, 10, 0.12) 100%),
      linear-gradient(0deg, rgba(8, 9, 10, 0.74), transparent 38%);
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.15rem, 5.7vw, 4rem);
  }

  .hero-source {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --page: min(90vw, 640px);
  }

  .site-header {
    min-height: 62px;
    padding-inline: 4vw;
  }

  .ambient-film {
    inset: 62px 0 0;
  }

  .ambient-film-video {
    object-position: 68% center;
    opacity: 0.86;
    filter: brightness(1.22) saturate(1.08);
  }

  .ambient-film-shade {
    background:
      linear-gradient(180deg, rgba(8, 9, 10, 0.18), rgba(8, 9, 10, 0.45) 48%, rgba(8, 9, 10, 0.82)),
      linear-gradient(90deg, rgba(8, 9, 10, 0.5) 0 52%, rgba(8, 9, 10, 0.14) 100%);
  }

  .wordmark-copy {
    display: none;
  }

  .site-header .nav-contact {
    padding: 0.55rem 0.75rem;
  }

  .hero {
    min-height: auto;
    grid-template-areas: none;
    padding: 2.8rem 5vw 4.5rem;
    gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > *,
  .hero-source,
  .hero-notes,
  .hero-nle,
  .hero-progression {
    grid-area: auto;
  }

  .hero-kicker {
    order: 3;
    margin-bottom: 1.4rem;
  }

  .pipeline-rail {
    order: 5;
    margin-top: 1.6rem;
  }

  .hero-notes {
    order: 6;
    grid-template-columns: 1fr;
    margin-top: 1.8rem;
  }

  .hero-nle {
    order: 7;
    margin-top: 1.6rem;
  }

  .hero-progression {
    order: 8;
    margin-top: 1.8rem;
  }

  .progression-steps {
    gap: 1.1rem;
  }

  .progression-steps li:not(:last-child)::after {
    right: -0.85rem;
    font-size: 0.9rem;
  }

  .role-line {
    order: 1;
    max-width: 34ch;
    margin-bottom: 1rem;
    font-size: 0.64rem;
  }

  .hero h1 {
    order: 2;
    max-width: none;
    margin-bottom: 1.2rem;
    font-size: clamp(3.05rem, 14vw, 4.5rem);
    line-height: 0.88;
  }

  .hero-actions {
    order: 5;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.25rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-ownership {
    display: none;
  }

  .hero-source {
    order: 4;
    width: 100%;
    margin-top: 0;
  }

  .source-bar,
  .monitor-top,
  .film-status {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .annotation-lab,
  .screening-room,
  .tools-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .annotation-heading h2,
  .process-intro h2,
  .section-intro h2,
  .tools-heading h2 {
    font-size: clamp(3.3rem, 15vw, 4.8rem);
  }

  .annotation-monitor video {
    max-height: 68svh;
  }

  .annotation-mark {
    display: none;
  }

  .annotation-notes button {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    min-height: 68px;
  }

  .annotation-notes button b {
    grid-row: auto;
  }

  .annotation-detail,
  .annotation-notes li.is-selected .annotation-detail {
    gap: 1rem;
    padding: 0.6rem 0 1.2rem;
  }

  .annotation-detail > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .channel-stats dl {
    gap: 0.7rem;
  }

  .channel-stats dt {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .screening-console {
    width: 100%;
  }

  .tool-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .three-d-note {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .contact-section {
    min-height: 92svh;
    padding: 6rem 6vw 8rem;
  }

  .contact-bg {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0.5) 55%, rgba(8, 9, 10, 0.96));
  }

  .contact-section h2 {
    max-width: 9ch;
    font-size: clamp(3.5rem, 15vw, 5.2rem);
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-section footer {
    right: 6vw;
    left: 6vw;
  }
}

@media (max-width: 440px) {
  .hero h1 {
    font-size: clamp(3.05rem, 15.2vw, 4.15rem);
  }

  .hero-source {
    width: 100%;
    padding: 0;
  }

  .channel-stats dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nle-playhead {
    left: 42%;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }

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

  .js .reveal {
    transform: none !important;
    opacity: 1 !important;
  }

  .ambient-film-video {
    display: none;
  }
}
