/* Parker Manley. Stance: the screening room. A dark house, one lit screen,
   everything hung on the center line the way a Wes Anderson frame is.
   Refuses: kickers, gradients, cards, shadows, a second accent colour.
   Ember means one thing: this plays or this goes somewhere. */

:root {
  --ground: #12110e;
  --s1: #1a1814;
  --s2: #23201b;
  --s3: #2e2a23;
  --line: rgba(236, 228, 210, 0.12);
  --line-strong: rgba(236, 228, 210, 0.24);
  --ink: #ece4d2;
  --muted: #a39a88;
  --faint: #7a7264;
  --ember: #d07a45;
  --ember-ink: #1a120c;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 34rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Jost", "Futura", sans-serif;
}

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

html {
  background: var(--ground);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  background: var(--ground);
  overflow-x: hidden;
}

/* Film grain over the whole house. Static, so it reads as the room, not an effect. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--ember);
  color: var(--ember-ink);
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 100;
  background: var(--s2);
  padding: 8px 14px;
}

/* Masthead: name on the axis, two links either side of it. */
.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(18, 17, 14, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mast__side {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}
.mast__side--l {
  justify-content: flex-end;
}
.mast__side--r {
  justify-content: flex-start;
}
.mast__name {
  font-weight: 500;
  letter-spacing: 0.32em;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding-left: 0.32em;
  white-space: nowrap;
}
.mast a {
  color: var(--muted);
  transition: color 120ms ease-out;
}
.mast a.mast__name {
  color: var(--ink);
}
.mast a[aria-current="page"] {
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .mast a:hover {
    color: var(--ink);
  }
}
@media (max-width: 560px) {
  .mast {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .mast__name {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    font-size: 0.85rem;
  }
  .mast__side--l,
  .mast__side--r {
    gap: 18px;
  }
}

/* Hero: the reel, opened like a projector gate at load. */
.hero {
  padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(36px, 6vw, 64px);
  text-align: center;
}
.gate {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 2.39 / 1;
  background: #000;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  animation: gate 1100ms var(--ease) 150ms both;
}
@keyframes gate {
  from {
    clip-path: inset(49.6% 0 49.6% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.gate video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) {
  .gate {
    aspect-ratio: 16 / 9;
  }
}
.hero__role {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.hero__name {
  margin: 4px 0 0;
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 0.14em;
}

.sound {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    border-color 120ms ease-out,
    background-color 120ms ease-out,
    transform 120ms ease-out;
}
.sound[aria-pressed="true"] {
  border-color: var(--ember);
  color: var(--ember);
}
.sound:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .sound:hover {
    background: var(--s2);
  }
}
.bars {
  display: inline-flex;
  align-items: flex-end;
  height: 12px;
}
.bars i {
  display: inline-block;
  width: 2px;
  height: 12px;
  margin: 0 1px;
  background: currentColor;
  transform-origin: bottom;
  transform: scaleY(0.3);
}
.sound[aria-pressed="true"] .bars i {
  animation: eq 900ms ease-in-out infinite alternate;
}
.sound[aria-pressed="true"] .bars i:nth-child(2) {
  animation-delay: -300ms;
}
.sound[aria-pressed="true"] .bars i:nth-child(3) {
  animation-delay: -600ms;
}
@keyframes eq {
  from {
    transform: scaleY(0.3);
  }
  to {
    transform: scaleY(1);
  }
}

/* Section heads: a word on the axis between two hairlines. */
.head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 36px;
}
.head::before,
.head::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.head h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.08em;
}

section {
  padding: clamp(56px, 9vw, 112px) var(--gutter);
}

/* Now Showing: one screen, the programme under it. */
.showing {
  border-top: 1px solid var(--line);
}
.screen-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.screen {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .screen {
    cursor: none;
  }
}
.screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 260ms ease-out;
}
.screen video.is-on {
  opacity: 1;
}
.screen__play {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--ember-ink);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 120ms ease-out,
    transform 120ms ease-out;
  white-space: nowrap;
}
.screen.is-hover .screen__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: none), (pointer: coarse) {
  .screen__play {
    display: none;
  }
}

.now {
  text-align: center;
  padding: 26px 0 0;
}
.now__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}
.now__title {
  margin: 6px 0 10px;
  font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.now__syn {
  max-width: var(--measure);
  margin: 0 auto;
  color: var(--muted);
  min-height: 3.2em;
}
.now__fest {
  margin: 12px 0 0;
  font-size: 0.8125rem;
  color: var(--faint);
  letter-spacing: 0.04em;
  min-height: 1.3em;
}
.now__cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background-color 120ms ease-out,
    border-color 120ms ease-out,
    color 120ms ease-out,
    transform 140ms ease-out;
}
.btn:active {
  transform: scale(0.97);
}
.btn--ember {
  background: var(--ember);
  color: var(--ember-ink);
}
.btn--line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .btn--ember:hover {
    background: #dd8a55;
  }
  .btn--line:hover {
    border-color: var(--ink);
  }
}

.programme {
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  max-width: 760px;
}
.programme li {
  border-top: 1px solid var(--line);
}
.programme li:last-child {
  border-bottom: 1px solid var(--line);
}
.programme a {
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: baseline;
  padding: 14px 4px;
  color: var(--muted);
  transition: color 120ms ease-out;
}
.programme .n {
  font-size: 0.8125rem;
  color: var(--faint);
  text-align: left;
  font-variant-numeric: tabular-nums;
  transition: color 120ms ease-out;
}
.programme .t {
  text-align: center;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  letter-spacing: 0.02em;
}
.programme .y {
  font-size: 0.8125rem;
  color: var(--faint);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.programme a[aria-current="true"] {
  color: var(--ink);
}
.programme a[aria-current="true"] .n {
  color: var(--ember);
}
@media (hover: hover) and (pointer: fine) {
  .programme a:hover {
    color: var(--ink);
  }
}

/* The archive: closed by default, a plain list once open. */
.archive {
  max-width: 760px;
  margin: 56px auto 0;
}
.archive summary {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: border-color 120ms ease-out;
}
.archive summary::-webkit-details-marker {
  display: none;
}
.archive summary .chev {
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.archive[open] summary .chev {
  transform: rotate(180deg);
}
@media (hover: hover) and (pointer: fine) {
  .archive summary:hover {
    border-color: var(--ink);
  }
}
.archive ol {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.archive li a {
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 11px 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  transition: color 120ms ease-out;
}
.archive li:last-child a {
  border-bottom: 1px solid var(--line);
}
.archive .y,
.archive .g {
  font-size: 0.8125rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.archive .tt {
  color: var(--ink);
  transition: color 120ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .archive li a:hover .tt {
    color: var(--ember);
  }
}
@media (max-width: 560px) {
  .archive .g {
    display: none;
  }
  .archive li a {
    grid-template-columns: 3rem 1fr;
  }
}

/* About: the photo, three beats on the axis, the verse. */
.about {
  border-top: 1px solid var(--line);
}
.about__photo {
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--s1);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 38%;
}
@media (max-width: 700px) {
  .about__photo {
    aspect-ratio: 4 / 5;
  }
  .about__photo img {
    object-position: 52% 40%;
  }
}
.about__lede {
  max-width: var(--measure);
  margin: 40px auto 0;
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.5;
}
.beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
  max-width: 1000px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}
.beats li {
  text-align: center;
}
.beats h3 {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.beats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.975rem;
}
@media (max-width: 760px) {
  .beats {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.also {
  margin: 40px auto 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.875rem;
  max-width: var(--measure);
}
.verse {
  max-width: 30rem;
  margin: clamp(56px, 9vw, 96px) auto 0;
  text-align: center;
}
.verse p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.5;
}
.verse cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

/* Contact */
.contact {
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact__lede {
  max-width: var(--measure);
  margin: 0 auto;
  color: var(--muted);
}
.contact__mail {
  display: inline-block;
  margin-top: 14px;
  font-size: clamp(1.2rem, 3.4vw, 1.9rem);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-strong);
  transition:
    border-color 120ms ease-out,
    color 120ms ease-out;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .contact__mail:hover {
    color: var(--ember);
    border-color: var(--ember);
  }
}
.form {
  max-width: 34rem;
  margin: 40px auto 0;
  display: grid;
  gap: 14px;
  text-align: left;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .form .row {
    grid-template-columns: 1fr;
  }
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.form input,
.form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 46px;
  width: 100%;
  transition:
    border-color 120ms ease-out,
    background-color 120ms ease-out;
}
.form textarea {
  min-height: 140px;
  resize: vertical;
}
.form input:focus-visible,
.form textarea:focus-visible {
  border-color: var(--ember);
  background: var(--s2);
}
.form .btn {
  justify-self: center;
  margin-top: 6px;
}
.form .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.form__status {
  min-height: 1.5em;
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}
.form__status[data-state="ok"] {
  color: var(--ink);
}
.form__status[data-state="err"] {
  color: #e6a088;
}
.hp {
  position: absolute;
  left: -9999px;
}
.elsewhere {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 0.9375rem;
}
.elsewhere a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition:
    color 120ms ease-out,
    border-color 120ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .elsewhere a:hover {
    color: var(--ink);
    border-color: var(--line-strong);
  }
}

.foot {
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--faint);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

/* Film page */
.film {
  padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 9vw, 96px);
}
.player {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
@media (max-width: 1147px) {
  .player {
    margin: 0 var(--gutter);
  }
}
.player img,
.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.player button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  border: 0;
  cursor: pointer;
  color: var(--ember-ink);
  font: inherit;
  transition: background-color 160ms ease-out;
}
.player button span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ember);
  font-weight: 500;
  transition: transform 140ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .player button:hover {
    background: rgba(0, 0, 0, 0.05);
  }
}
.player button:active span {
  transform: scale(0.97);
}
.film__head {
  text-align: center;
  max-width: 44rem;
  margin: 36px auto 0;
  padding: 0 var(--gutter);
}
.film__head h1 {
  margin: 6px 0 0;
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.film__sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.film__syn {
  margin: 18px auto 0;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.0625rem;
}
.laurels {
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  max-width: 40rem;
  padding: 0;
  list-style: none;
}
.laurels li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.laurels svg {
  width: 12px;
  height: 22px;
  color: var(--muted);
  flex: none;
}
.made-for {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 0.875rem;
}

/* End credits: role right of the axis, name left of it. */
.credits {
  max-width: 40rem;
  margin: clamp(48px, 8vw, 84px) auto 0;
  padding: 0 var(--gutter);
}
.credits dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 14px;
}
.credits dt {
  text-align: right;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
}
.credits dd {
  margin: 0;
  text-align: left;
  line-height: 1.5;
}

.stills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 1100px;
  margin: clamp(48px, 8vw, 84px) auto 0;
  padding: 0 var(--gutter);
}
.stills img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--s1);
}
@media (max-width: 560px) {
  .stills {
    grid-template-columns: 1fr;
  }
}

.pager {
  max-width: 1100px;
  margin: clamp(56px, 9vw, 96px) auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  font-size: 0.9375rem;
}
.pager a {
  color: var(--muted);
  transition: color 120ms ease-out;
}
.pager .prev {
  text-align: left;
}
.pager .next {
  text-align: right;
}
.pager .all {
  text-align: center;
}
.pager small {
  display: block;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
@media (hover: hover) and (pointer: fine) {
  .pager a:hover {
    color: var(--ink);
  }
}
@media (max-width: 560px) {
  .pager {
    grid-template-columns: 1fr 1fr;
  }
  .pager .all {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* Photography: a contact sheet. */
.sheet-head {
  text-align: center;
  padding: clamp(36px, 6vw, 64px) var(--gutter) 0;
}
.sheet-head h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
}
.sheet-head p {
  margin: 8px auto 0;
  color: var(--muted);
  max-width: var(--measure);
}
.sizes {
  margin-top: 20px;
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
}
.sizes button {
  font: inherit;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  min-height: 36px;
  cursor: pointer;
  transition:
    background-color 120ms ease-out,
    color 120ms ease-out;
}
.sizes button[aria-pressed="true"] {
  background: var(--s3);
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .sizes button:hover {
    color: var(--ink);
  }
}
.sheet {
  columns: 3 280px;
  column-gap: 12px;
  padding: 32px var(--gutter) 64px;
  max-width: 1400px;
  margin: 0 auto;
}
.sheet[data-size="l"] {
  columns: 2 440px;
}
.sheet button {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: var(--s1);
  cursor: zoom-in;
  break-inside: avoid;
}
.sheet img {
  width: 100%;
  height: auto;
  transition: opacity 160ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .sheet button:hover img {
    opacity: 0.85;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(10, 9, 7, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 16px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--s2);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color 120ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .lightbox button:hover {
    background: var(--s3);
  }
}
.lightbox .x {
  top: 12px;
  right: 12px;
}
.lightbox .pv {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox .nx {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
  .gate {
    animation: none;
  }
  .sound[aria-pressed="true"] .bars i {
    animation: none;
    transform: none;
  }
}

.contact__photo { width: min(340px, 72vw); margin: 0 auto 32px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--s1); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Low Power Mode blocks autoplay; keep Safari's own button off our frames. A tap plays them. */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video::-webkit-media-controls { display: none !important; }

/* Now Showing, v2: the screen sits beside the programme so a hover always lands
   in view, and the info block never changes height. */
.theater {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-areas: "screen" "list" "now";
  gap: 24px;
}
.theater .screen { grid-area: screen; }
.theater .programme { grid-area: list; margin: 0; max-width: none; }
.theater .now { grid-area: now; }
@media (min-width: 980px) {
  .theater {
    grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr);
    grid-template-areas: "screen list" "now list";
    column-gap: clamp(28px, 4vw, 56px);
    row-gap: 0;
    align-items: start;
  }
  .theater .programme { align-self: center; }
  .theater .programme .t { text-align: left; }
  .theater .programme a { grid-template-columns: 2.4rem 1fr auto; }
}
@media (max-width: 979px) {
  /* The screen rides along while the list scrolls, so a tap is always seen. */
  .theater .screen { position: sticky; top: 92px; z-index: 5; }
}
@media (max-width: 560px) { .theater .screen { top: 84px; } }
.now { display: grid; text-align: center; padding: 24px 0 0; }
@media (min-width: 980px) { .now { text-align: left; } .now .now__cta { justify-content: flex-start; } .now .now__syn { margin: 0; } }
.now .panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 160ms ease-out, visibility 0s linear 160ms; }
.now .panel.is-on { visibility: visible; opacity: 1; transition: opacity 160ms ease-out; }
.now .now__syn { min-height: 0; }

/* About: one pinned frame, three chapters. The photo changes, the words swap in place. */
.about { padding: 0; border-top: 1px solid var(--line); }
.scene { height: 300vh; position: relative; }
.scene__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: end center;
}
.scene__bg { position: absolute; inset: 0; margin: 0; background: var(--ground); }
.scene__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 700ms ease-out, transform 9s linear;
}
.scene__bg img.is-on { opacity: 1; transform: scale(1); }
.scene__bg img[data-pos="film"] { object-position: 50% 30%; }
.scene__bg img[data-pos="outdoors"] { object-position: 52% 45%; }
.scene__bg img[data-pos="faith"] { object-position: 50% 60%; }
.scene__pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 17, 14, 0.94) 0%, rgba(18, 17, 14, 0.6) 34%, rgba(18, 17, 14, 0) 62%),
              linear-gradient(to bottom, rgba(18, 17, 14, 0.55), rgba(18, 17, 14, 0) 22%);
}
.scene__nav {
  position: absolute; top: clamp(96px, 14vh, 140px); left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(18, 17, 14, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.scene__nav a { padding: 8px 16px; min-height: 36px; border-radius: 999px; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--muted); transition: background-color 120ms ease-out, color 120ms ease-out; }
.scene__nav a[aria-current="true"] { background: var(--ink); color: var(--ground); }
@media (hover: hover) and (pointer: fine) { .scene__nav a:not([aria-current="true"]):hover { color: var(--ink); } }
.scene__copy { position: relative; z-index: 2; display: grid; width: min(46rem, 100%); padding: 0 var(--gutter) clamp(64px, 12vh, 120px); text-align: center; }
.line { grid-area: 1 / 1; align-self: end; visibility: hidden; opacity: 0; transition: opacity 300ms ease-out, visibility 0s linear 300ms; }
.line.is-on { visibility: visible; opacity: 1; transition: opacity 300ms ease-out 120ms; }
.line__big { margin: 0; font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.25; font-weight: 400; color: var(--ink); }
blockquote.line__big { quotes: none; }
.line__small { margin: 16px auto 0; max-width: 32rem; color: var(--muted); font-size: 1rem; }
.scene__ticks { position: absolute; z-index: 2; bottom: clamp(28px, 5vh, 48px); left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.scene__ticks i { width: 22px; height: 2px; background: var(--line-strong); transition: background-color 200ms ease-out; }
.scene__ticks i.is-on { background: var(--ember); }
@media (prefers-reduced-motion: reduce) {
  .scene__bg img { transition: opacity 200ms linear; transform: none; }
  .scene__bg img.is-on { transform: none; }
}

/* ============================================================
   v2 THEME: a cabin cinema in the Colorado woods at night.
   From Parker's own words (research/VIBE-SPEC.md): rustic, cozy,
   nature-y, a little silly, Lord of the Rings, Grand Budapest's
   symmetry, Mad Max's whimsy, Sowing the Seeds of Love.
   ============================================================ */
:root {
  --ground: #11160f;          /* pine forest at night */
  --s1: #1a1f16;
  --s2: #252a1e;
  --s3: #2f3326;
  --bark: #2b2118;
  --paper: #e8dcc2;           /* parchment */
  --paper-ink: #2a2017;
  --ink: #efe5cf;
  --muted: #b5a88c;
  --faint: #857a63;
  --moss: #7d8c5a;
  --ember: #e08a43;           /* sunset, means "this plays" */
  --ember-ink: #20150b;
  --line: rgba(232, 220, 194, 0.14);
  --line-strong: rgba(232, 220, 194, 0.3);
  --title: "Cinzel", "Trajan Pro", serif;
}

/* The map under everything: contour lines of the Front Range, faint. */
body { background: var(--ground); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/topo.svg") center / cover no-repeat;
  opacity: 0.09;
  pointer-events: none;
}
body::after { opacity: 0.08; mix-blend-mode: overlay; }

.mast { background: rgba(17, 22, 15, 0.88); }
.mast__name { font-family: var(--title); font-weight: 600; letter-spacing: 0.22em; }

/* Hero: the reel framed like a Grand Budapest title card. */
.gate { outline: 1px solid var(--line-strong); outline-offset: 10px; }
.hero__role { font-family: var(--font); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.8rem; color: var(--moss); }
.hero__name { font-family: var(--title); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero__name::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--ember);
}

/* The sound toggle is a little sun: it turns while the song plays. */
.sun { width: 20px; height: 20px; color: var(--ember); transition: transform 300ms var(--ease); }
.sound[aria-pressed="true"] .sun { animation: turn 12s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.sound { border-color: var(--line-strong); }
.sound[aria-pressed="true"] { border-color: var(--ember); color: var(--ink); }

.head h2 { font-family: var(--title); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.head::before, .head::after { background: linear-gradient(to var(--dir, right), transparent, var(--line-strong)); }
.head::after { --dir: left; }

/* The screen gets a carved frame. */
.theater .screen { outline: 1px solid var(--line-strong); outline-offset: 8px; }

/* Programme: each featured film is a ticket stub. */
.theater .programme { display: grid; gap: 10px; }
.theater .programme li { border: 0; }
.theater .programme a {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 12px 18px 12px 14px;
  border-radius: 3px;
  grid-template-columns: 2.4rem 1fr auto;
  transform: rotate(0deg);
  transition: transform 160ms ease-out, background-color 160ms ease-out, box-shadow 160ms ease-out;
  /* perforated edge between stub and ticket */
  background-image: radial-gradient(circle at 2.9rem 0, var(--ground) 5px, transparent 5.5px),
                    radial-gradient(circle at 2.9rem 100%, var(--ground) 5px, transparent 5.5px);
}
.theater .programme a::before {
  content: "";
  position: absolute;
  left: 2.9rem;
  top: 8px;
  bottom: 8px;
  border-left: 1.5px dashed rgba(42, 32, 23, 0.35);
}
.theater .programme .n { color: rgba(42, 32, 23, 0.6); font-family: var(--title); font-weight: 600; }
.theater .programme .t { font-family: var(--title); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: 0.04em; padding-left: 10px; color: var(--paper-ink); }
.theater .programme .y { color: rgba(42, 32, 23, 0.6); }
.theater .programme a[aria-current="true"] { background-color: var(--ember); transform: rotate(-1.5deg) translateX(-6px); }
.theater .programme a[aria-current="true"] .n { color: var(--ember-ink); }
.theater .programme li:nth-child(even) a[aria-current="true"] { transform: rotate(1.5deg) translateX(-6px); }
@media (hover: hover) and (pointer: fine) {
  .theater .programme a:hover { color: var(--paper-ink); }
}

.now__meta { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; color: var(--moss); }
.now__title { font-family: var(--title); font-weight: 600; letter-spacing: 0.04em; }

.archive summary { font-family: var(--title); font-weight: 600; letter-spacing: 0.08em; }
.archive .tt { font-family: var(--title); font-weight: 600; letter-spacing: 0.03em; }

/* About chapters */
.scene__nav a { font-family: var(--title); font-weight: 600; letter-spacing: 0.08em; }
.scene__nav a[aria-current="true"] { background: var(--paper); color: var(--paper-ink); }
.line__big { font-family: var(--title); font-weight: 400; letter-spacing: 0.02em; }
.scene__pin::after {
  background: linear-gradient(to top, rgba(17, 22, 15, 0.95) 0%, rgba(17, 22, 15, 0.6) 36%, rgba(17, 22, 15, 0) 64%),
              linear-gradient(to bottom, rgba(17, 22, 15, 0.6), rgba(17, 22, 15, 0) 24%);
}

/* Contact: a parchment card pinned to the cabin wall. */
.contact__lede { font-size: 1.1rem; }
.contact__mail { font-family: var(--title); font-weight: 600; }
.contact__photo { outline: 1px solid var(--line-strong); outline-offset: 8px; transform: rotate(-1.2deg); }
.form { background: var(--paper); color: var(--paper-ink); padding: clamp(20px, 4vw, 32px); border-radius: 4px; }
.form label { color: rgba(42, 32, 23, 0.75); }
.form input, .form textarea { background: #f4ecda; color: var(--paper-ink); border-color: rgba(42, 32, 23, 0.25); }
.form input:focus-visible, .form textarea:focus-visible { background: #fffaf0; border-color: var(--ember); }
.form__status { color: rgba(42, 32, 23, 0.75); }
.form__status[data-state="ok"] { color: var(--paper-ink); }
.form__status[data-state="err"] { color: #9b3d1d; }

/* Film page */
.film__head h1 { font-family: var(--title); font-weight: 600; letter-spacing: 0.04em; }
.player { outline: 1px solid var(--line-strong); outline-offset: 8px; }
.credits { position: relative; padding-top: 40px; padding-bottom: 40px; }
.credits::before { content: ""; position: absolute; left: 50%; top: 0; width: 64px; height: 1px; margin-left: -32px; background: var(--ember); }
.credits dd { font-family: var(--title); font-weight: 600; letter-spacing: 0.04em; }
.sheet-head h1 { font-family: var(--title); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.foot { font-family: var(--title); letter-spacing: 0.12em; }

@media (prefers-reduced-motion: reduce) {
  .sound[aria-pressed="true"] .sun { animation: none; }
}
.theater .programme a { background-image: none; }
@media (min-width: 980px) {
  .showing { padding-top: clamp(40px, 5vw, 64px); }
  .theater { grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr); }
  .now { padding-top: 18px; }
  .now .now__cta { margin-top: 14px; }
}
@media (min-width: 561px) and (max-width: 979px) { .theater .screen { top: 64px; } }
.line__big { font-size: clamp(1.35rem, 2.8vw, 2.05rem); }
.scene__bg img[data-pos="film"] { object-position: 50% 22%; }

/* ============================================================
   v3: walking into the theater.
   ============================================================ */

/* Opening: the reel fills the screen, then shrinks into a framed screen in the
   dark cabin as you scroll. --p runs 0 to 1, set from scroll in app.js. */
.opening { height: 175vh; position: relative; --p: 0; }
.opening__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.opening__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
  transform: scale(calc(1 - var(--p) * 0.2));
  border-radius: calc(var(--p) * 6px);
  outline: 1px solid rgba(232, 220, 194, calc(var(--p) * 0.35));
  outline-offset: calc(var(--p) * 14px);
}
.opening__frame video { width: 100%; height: 100%; object-fit: cover; }
.opening__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(17, 22, 15, 0) 40%, rgba(17, 22, 15, 0.55) 100%);
}

/* The title card: Grand Budapest, a parchment plate with a double rule. */
.titlecard {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(232, 220, 194, 0.94);
  color: var(--paper-ink);
  padding: clamp(18px, 3vw, 30px) clamp(26px, 5vw, 56px);
  border: 1.5px solid var(--paper-ink);
  outline: 1.5px solid rgba(232, 220, 194, 0.94);
  outline-offset: 5px;
  box-shadow: inset 0 0 0 5px rgba(232, 220, 194, 0.94), inset 0 0 0 6.5px var(--paper-ink);
  opacity: calc(1 - var(--p) * 1.6);
  transform: translateY(calc(var(--p) * -24px));
  max-width: calc(100% - 32px);
}
.titlecard__pre { margin: 0; font-family: var(--font); font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; }
.titlecard__name { margin: 6px 0 4px; font-family: var(--title); font-weight: 600; font-size: clamp(2rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: 0.1em; text-transform: uppercase; }
.titlecard__role { margin: 0; font-family: var(--font); font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: #7a4a22; }
.opening .sound {
  position: absolute; z-index: 3; bottom: clamp(20px, 5vh, 44px); left: 50%; transform: translateX(-50%);
  margin: 0; background: rgba(17, 22, 15, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.opening .sound:active { transform: translateX(-50%) scale(0.97); }

/* Featured films: one full-screen chapter each. */
.reels { padding: 0; border-top: 0; }
.scene--films { height: 700vh; }
.scene--films .scene__bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity 600ms ease-out, transform 7s linear;
}
.scene--films .scene__bg video.is-on { opacity: 1; transform: scale(1); }
.scene--films .scene__pin::after {
  background: linear-gradient(to top, rgba(17, 22, 15, 0.92) 0%, rgba(17, 22, 15, 0.45) 38%, rgba(17, 22, 15, 0) 62%),
              linear-gradient(to bottom, rgba(17, 22, 15, 0.6), rgba(17, 22, 15, 0) 26%);
}
.reels__label {
  position: absolute; z-index: 2; top: clamp(80px, 12vh, 120px); left: 0; right: 0; margin: 0; text-align: center;
  font-family: var(--title); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.85rem; color: var(--paper);
}
.reels__label::before, .reels__label::after { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--ember); vertical-align: middle; margin: 0 14px; }
.scene--films .scene__copy { width: min(44rem, 100%); }
.card__no { margin: 0 0 8px; font-family: var(--font); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); }
.card__title { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(2.2rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: 0.04em; color: var(--ink); }
.card__meta { margin: 12px 0 0; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.card__syn { margin: 14px auto 0; max-width: 34rem; color: var(--ink); opacity: 0.86; }
.card__fest { margin: 10px 0 0; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.03em; }
.scene--films .line .btn { margin-top: 20px; }

/* Ticket stubs ride along the right edge on desktop. */
.tickets { display: none; }
@media (min-width: 1100px) {
  .tickets {
    display: block; position: absolute; z-index: 3; right: clamp(20px, 3vw, 48px); top: 50%; left: auto;
    transform: translateY(-50%); padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .tickets ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .tickets a {
    position: relative; display: grid; grid-template-columns: 2rem 1fr; align-items: baseline;
    min-width: 230px; padding: 9px 16px 9px 10px; border-radius: 3px;
    background: rgba(232, 220, 194, 0.9); color: var(--paper-ink);
    font-family: var(--title); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em;
    transition: transform 160ms ease-out, background-color 160ms ease-out;
  }
  .tickets a::before { content: ""; position: absolute; left: 2.3rem; top: 6px; bottom: 6px; border-left: 1.5px dashed rgba(42, 32, 23, 0.35); }
  .tickets .n { color: rgba(42, 32, 23, 0.6); font-size: 0.75rem; }
  .tickets .t { padding-left: 8px; }
  .tickets a[aria-current="true"] { background: var(--ember); transform: rotate(-2deg) translateX(-10px); color: var(--paper-ink); }
  .tickets li:nth-child(even) a[aria-current="true"] { transform: rotate(2deg) translateX(-10px); }
  @media (hover: hover) and (pointer: fine) { .tickets a:not([aria-current="true"]):hover { transform: translateX(-4px); background: var(--paper); color: var(--paper-ink); } }
}
.reels .archive { padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(56px, 9vw, 96px); margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .opening__frame, .titlecard { transform: none; }
  .scene--films .scene__bg video { transition: opacity 200ms linear; transform: none; }
}

/* All Films: the lobby wall. Every poster framed on a mat, in Parker's order. */
.lobby { padding: clamp(64px, 9vw, 112px) var(--gutter) clamp(56px, 8vw, 96px); max-width: 1280px; margin: 0 auto; }
.lobby .head { margin-bottom: 10px; }
.lobby__sub { margin: 0 0 40px; text-align: center; color: var(--muted); }
.lobby__wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 44vw), 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(14px, 2vw, 28px); }
.frame { display: block; text-align: center; color: var(--ink); }
.frame__mat {
  display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 12px;
  background: var(--bark);
  border: 1px solid rgba(232, 220, 194, 0.18);
  box-shadow: inset 0 0 0 6px #241b13, inset 0 0 0 7px rgba(232, 220, 194, 0.12);
  transition: transform 160ms ease-out, border-color 160ms ease-out;
}
.frame__mat img { max-width: 100%; max-height: 100%; object-fit: contain; }
.frame__title { display: block; margin-top: 12px; font-family: var(--title); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; line-height: 1.3; }
.frame__meta { display: block; margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.lobby__wall li:nth-child(3n+1) .frame__mat { transform: rotate(-0.6deg); }
.lobby__wall li:nth-child(3n+2) .frame__mat { transform: rotate(0.5deg); }
@media (hover: hover) and (pointer: fine) {
  .frame:hover .frame__mat { transform: rotate(0deg) translateY(-4px); border-color: var(--ember); }
  .frame:hover .frame__title { color: var(--ember); }
}
.frame:active .frame__mat { transform: scale(0.98); }
.film__poster { width: min(380px, 80vw); margin: clamp(40px, 6vw, 64px) auto 0; padding: 14px; background: var(--bark); border: 1px solid rgba(232, 220, 194, 0.18); box-shadow: inset 0 0 0 6px #241b13; transform: rotate(-0.8deg); }
.film__poster img { width: 100%; height: auto; }
.reels .archive { display: none; }
.frame__mat { aspect-ratio: 1 / 1; padding: 10px; }
.scene__bg img[data-pos="outdoors"] { object-position: 68% 62%; }
.scene__bg img[data-pos="faith"] { object-position: 30% 40%; }
/* Safari sizes a ratio box by its content when the child uses a % max-height,
   so the poster sits absolutely inside a box that only the ratio sizes. */
.frame__mat { position: relative; display: block; }
.frame__mat img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); max-width: none; max-height: none; object-fit: contain; }

/* ============================================================
   v4: old-film craft. Leader, cue marks, festival program,
   end credits, slate, slide projector.
   ============================================================ */

/* Academy leader: rings, crosshair, a sweeping hand and the number. */
.leader { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: #1b1914; color: #e8dcc2; cursor: pointer; }
.leader.is-on { display: grid; animation: weave 160ms steps(2) infinite; }
.leader.is-done { opacity: 0; transition: opacity 450ms ease-out; }
.leader::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.7) 100%); }
.leader__dial { position: absolute; width: min(72vmin, 560px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0.75; }
.leader__sweep {
  position: absolute; width: min(72vmin, 560px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(rgba(232, 220, 194, 0.16) var(--a), transparent 0);
  --a: 0deg;
}
.leader.is-tick .leader__sweep { animation: sweep 800ms linear; }
.leader__n { position: relative; font-family: var(--title); font-weight: 600; font-size: min(38vmin, 300px); line-height: 1; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sweep { from { --a: 0deg; } to { --a: 360deg; } }
@keyframes weave { 0% { transform: translate(0, 0); } 100% { transform: translate(0.6px, -0.8px); } }

/* Cue marks: two blips near the reel change, top right. */
.cue { position: fixed; z-index: 40; top: 96px; right: clamp(24px, 6vw, 72px); width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 244, 220, 0.9) 30%, rgba(255, 244, 220, 0.35) 55%, transparent 72%); opacity: 0; pointer-events: none; }
.cue.is-on { opacity: 1; }

/* About: chapters scroll on their own now, the labels say which. */
.about .card__no { margin-bottom: 14px; }

/* All Films: a festival program. One chapter per year, the year's screen
   sticks beside its films and shows whichever one you point at. */
.lobby { max-width: 1180px; }
.lobby__sub { margin-bottom: clamp(32px, 5vw, 56px); }
.yr { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.yr__stick { position: sticky; top: 96px; }
.yr__n { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(3.6rem, 8vw, 6.4rem); line-height: 0.9; letter-spacing: 0.02em; color: var(--paper); }
.yr__count { margin: 10px 0 20px; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember); }
.yr__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; outline: 1px solid var(--line-strong); outline-offset: 6px; }
.yr__screen img, .yr__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yr__now { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-family: var(--title); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink); background: linear-gradient(to top, rgba(17, 22, 15, 0.9), transparent); }
.yr__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px 24px; align-content: start; }
.bill { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; padding: 10px 8px; border-radius: 4px; color: var(--ink); transition: background-color 120ms ease-out; }
.bill__mat { position: relative; display: block; aspect-ratio: 1; background: var(--bark); box-shadow: inset 0 0 0 4px #241b13, inset 0 0 0 5px rgba(232, 220, 194, 0.12); }
.bill__mat img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); object-fit: contain; }
.bill__text { display: grid; gap: 3px; min-width: 0; }
.bill__title { font-family: var(--title); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; line-height: 1.25; }
.bill__meta { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.bill__role { font-size: 0.8125rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .bill:hover { background: var(--s1); }
  .bill:hover .bill__title { color: var(--ember); }
}
.bill:active { transform: scale(0.99); }
@media (max-width: 760px) {
  .yr { grid-template-columns: 1fr; gap: 16px; }
  .yr__stick { position: static; display: flex; align-items: baseline; gap: 14px; }
  .yr__count { margin: 0; }
  .yr__screen { display: none; }
  .yr__list { grid-template-columns: 1fr; }
}

/* Contact: end credits, then the end card, then the slate. */
.contact { padding-top: clamp(80px, 12vw, 140px); }
.roll { max-width: 760px; margin: 0 auto; text-align: center; }
.roll__pre { margin: 0 0 clamp(40px, 6vw, 64px); font-size: 0.75rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.roll__pairs { margin: 0 0 clamp(48px, 7vw, 80px); display: grid; gap: 18px; }
.roll__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: baseline; }
.roll__pair dt { text-align: right; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.roll__pair dd { margin: 0; text-align: left; font-family: var(--title); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.06em; color: var(--ink); }
.roll__h { margin: 0 0 22px; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ember); }
.roll__cols { list-style: none; margin: 0 auto clamp(48px, 7vw, 80px); padding: 0; columns: 2; column-gap: 48px; max-width: 560px; }
.roll__cols li { break-inside: avoid; padding: 4px 0; font-family: var(--title); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--ink); }
.roll__cols--names { columns: 3; max-width: 680px; }
.roll__cols--names li { font-family: var(--font); font-weight: 400; font-size: 0.9rem; letter-spacing: 0.02em; color: var(--muted); }
@media (max-width: 560px) {
  .roll__pair { grid-template-columns: 1fr; gap: 2px; }
  .roll__pair dt, .roll__pair dd { text-align: center; }
  .roll__cols { columns: 1; }
  .roll__cols--names { columns: 2; column-gap: 20px; }
}

/* End card: the iris opens on "Your film". */
.nextup { display: grid; justify-items: center; gap: 36px; margin: clamp(40px, 8vw, 96px) auto 48px; text-align: center; }
.nextup__iris { padding: clamp(48px, 8vw, 96px) var(--gutter); clip-path: circle(0% at 50% 50%); transition: clip-path 1100ms var(--ease); }
.nextup.is-open .nextup__iris { clip-path: circle(75% at 50% 50%); }
.nextup__title { margin: 0 0 18px; font-family: var(--title); font-weight: 600; font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper); }
.nextup .contact__photo { margin: 0; }

/* Slate: a chalk board with the clapper sticks on top. */
.slate { width: min(640px, 100%); margin: 0 auto; }
.slate__clap { position: relative; height: 44px; }
.slate__stick {
  position: absolute; left: 0; right: 0; height: 22px; bottom: 0;
  background: repeating-linear-gradient(-55deg, var(--paper) 0 26px, #1c1a16 26px 52px);
  border: 1px solid rgba(232, 220, 194, 0.4);
}
.slate__stick--top { bottom: 22px; transform-origin: 0 100%; transform: rotate(-14deg); background: repeating-linear-gradient(55deg, var(--paper) 0 26px, #1c1a16 26px 52px); }
.slate.is-clap .slate__stick--top { animation: clap 380ms ease-out; }
@keyframes clap { 0% { transform: rotate(-14deg); } 45% { transform: rotate(0deg); } 100% { transform: rotate(-14deg); } }
.form.slate__board { background: #1c1f19; color: var(--ink); border: 1px solid rgba(232, 220, 194, 0.25); border-radius: 0 0 4px 4px; }
.slate__info { display: grid; grid-template-columns: 2fr 1.4fr 0.6fr; margin: 0 0 18px; border: 1px solid rgba(232, 220, 194, 0.25); }
.slate__info span { padding: 8px 12px; font-family: var(--title); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; }
.slate__info span + span { border-left: 1px solid rgba(232, 220, 194, 0.25); }
.slate__info small { display: block; font-family: var(--font); font-weight: 400; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.slate__board label { color: var(--muted); }
.slate__board input, .slate__board textarea { background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid rgba(232, 220, 194, 0.35); border-radius: 0; }
.slate__board input:focus-visible, .slate__board textarea:focus-visible { background: rgba(232, 220, 194, 0.05); border-color: var(--ember); }
.slate__board .form__status { color: var(--muted); }
.slate__board .form__status[data-state="ok"] { color: var(--ink); }
.slate__board .form__status[data-state="err"] { color: #e58a6a; }
@media (max-width: 560px) { .slate__info { grid-template-columns: 1fr 1fr; } .slate__info span:last-child { display: none; } }

/* Photography: the projector. One slide in a paper mount, the tray below. */
.photos[data-view="projector"] .sheet { display: none; }
.photos[data-view="sheet"] .projector { display: none; }
.projector { position: relative; display: grid; justify-items: center; gap: 20px; padding: 8px var(--gutter) clamp(48px, 8vw, 80px); min-height: calc(100svh - 220px); }
.projector__beam { position: absolute; inset: -40px 0 0; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(255, 236, 200, 0.08), transparent 70%); }
.projector.is-flick .projector__beam { animation: flick 260ms steps(3); }
@keyframes flick { 0% { opacity: 0.3; } 50% { opacity: 1.2; } 100% { opacity: 1; } }
.slide { position: relative; margin: 0; cursor: pointer; transition: transform 170ms ease-in, opacity 170ms ease-in; }
.slide.is-out { transform: translateY(36px); opacity: 0; }
.slide.is-in { transform: translateY(-24px); opacity: 0; transition: none; }
.slide__mount { padding: clamp(14px, 2.6vw, 30px) clamp(14px, 2.6vw, 30px) clamp(34px, 5vw, 52px); background: var(--paper); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(42, 32, 23, 0.2); }
.slide__mount img { display: block; max-width: min(84vw, 1000px); max-height: calc(100svh - 300px); width: auto; height: auto; border-radius: 4px; background: #000; animation: develop 900ms ease-out; }
.slide:not(.is-in):not(.is-out) .slide__mount img { animation: develop 900ms ease-out; }
@keyframes develop { from { filter: brightness(0.15) sepia(0.6); } to { filter: none; } }
.slide__no { position: absolute; left: 0; right: 0; bottom: clamp(8px, 1.4vw, 14px); text-align: center; font-family: var(--title); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--paper-ink); }
.projector__pv, .projector__nx { position: absolute; top: 40%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(17, 22, 15, 0.6); color: var(--ink); font-size: 1.2rem; transition: border-color 120ms ease-out, transform 120ms ease-out; }
.projector__pv { left: var(--gutter); }
.projector__nx { right: var(--gutter); }
.projector__pv:active, .projector__nx:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .projector__pv:hover, .projector__nx:hover { border-color: var(--ember); } }
.tray { position: relative; width: 120px; height: 120px; cursor: pointer; }
.tray svg { width: 100%; height: 100%; }
.tray__rim { fill: var(--s1); stroke: var(--line-strong); }
.tray__hub { fill: var(--s3); stroke: var(--line-strong); }
.tray__slots rect { fill: var(--faint); opacity: 0.55; }
.tray__slots rect.is-on { fill: var(--ember); opacity: 1; }
.tray__count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.6rem; letter-spacing: 0.08em; color: var(--ink); pointer-events: none; }
@media (max-width: 700px) {
  .projector__pv, .projector__nx { top: auto; bottom: clamp(48px, 8vw, 80px); }
  .slide__mount img { max-height: calc(100svh - 360px); }
}
.sizes button[data-view] { min-width: 120px; }

@media (prefers-reduced-motion: reduce) {
  .leader { display: none !important; }
  .nextup__iris { clip-path: none; transition: none; }
  .slide, .slide__mount img { transition: none; animation: none; }
  .projector.is-flick .projector__beam { animation: none; }
}
.yr__screen { aspect-ratio: var(--ar, 1.78); }
.slate { margin-top: clamp(56px, 8vw, 88px); }
.sheet-head { padding-bottom: 8px; }
.slide__mount img { max-height: max(260px, calc(100svh - 440px)); }
@media (max-width: 700px) {
  .projector__pv, .projector__nx { bottom: calc(clamp(48px, 8vw, 80px) + 36px); }
}
.yr__screen[data-ar="2.39"] { --ar: 2.39; }
.yr__screen[data-ar="1.85"] { --ar: 1.85; }
.yr__screen[data-ar="1.66"] { --ar: 1.66; }
.yr__screen[data-ar="1.37"] { --ar: 1.37; }

/* ============================================================
   v5: no plain parts left. Tickets, film pages, contact sheet
   as negatives, tail-leader footer, 404.
   ============================================================ */

/* A ticket: parchment, notched ends, a dashed tear line before the label. */
.btn--ticket, .player button span.btn--ticket {
  position: relative; border-radius: 3px; padding: 12px 24px 12px 30px;
  background: var(--paper); color: var(--paper-ink);
  font-family: var(--title); font-weight: 600; letter-spacing: 0.06em;
  -webkit-mask: radial-gradient(circle at 0 50%, transparent 7px, #000 7.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 7px, #000 7.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent 7px, #000 7.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, transparent 7px, #000 7.5px) right / 51% 100% no-repeat;
  transition: background-color 120ms ease-out, transform 140ms ease-out;
}
.btn--ticket::before { content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px; border-left: 1.5px dashed rgba(42, 32, 23, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .btn--ticket:hover, .player button:hover span.btn--ticket { background: var(--ember); color: var(--ember-ink); transform: rotate(-1.5deg); }
}
.btn--ticket:active { transform: scale(0.97); }

/* Film page: the screen plays its loop until you ask for the film. */
.player__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player button { background: linear-gradient(to top, rgba(17, 22, 15, 0.55), rgba(17, 22, 15, 0) 55%); }
.film__plate {
  position: relative; z-index: 2; width: fit-content; max-width: calc(100% - 32px); margin: clamp(-56px, -4vw, -28px) auto 0; text-align: center;
  background: rgba(232, 220, 194, 0.96); color: var(--paper-ink);
  padding: clamp(16px, 2.6vw, 26px) clamp(24px, 5vw, 52px);
  border: 1.5px solid var(--paper-ink); outline: 1.5px solid rgba(232, 220, 194, 0.96); outline-offset: 5px;
  box-shadow: inset 0 0 0 5px rgba(232, 220, 194, 0.96), inset 0 0 0 6.5px var(--paper-ink);
}
.film__plate .titlecard__name { font-size: clamp(1.7rem, 4.6vw, 3.2rem); letter-spacing: 0.06em; }
.film__head { margin-top: clamp(28px, 4vw, 40px); }
.film__body { max-width: 1000px; margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 var(--gutter); }
.film__body--art { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.film__body .credits { margin: 0; padding: 0; max-width: none; }
.film__body .credits::before { display: none; }
.film__body--art .film__poster { width: 100%; margin: 0; transform: rotate(-1deg); }
@media (max-width: 760px) {
  .film__body--art { grid-template-columns: 1fr; }
  .film__body--art .film__poster { width: min(340px, 86%); margin: 0 auto; }
}

/* Stills as a strip of film: sprocket holes above and below, edge numbers. */
.strip { max-width: 1100px; margin: clamp(48px, 7vw, 80px) auto 0; padding: 0 var(--gutter); }
.strip__frames {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px;
  padding: 26px 10px; background-color: #0b0b09;
  background-image: radial-gradient(ellipse 4px 5px at 50% 50%, var(--ground) 92%, transparent 100%),
                    radial-gradient(ellipse 4px 5px at 50% 50%, var(--ground) 92%, transparent 100%);
  background-size: 22px 26px, 22px 26px; background-position: 6px 0, 6px 100%; background-repeat: repeat-x;
  border-radius: 2px;
}
.strip__frame { position: relative; margin: 0; }
.strip__frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.strip__frame figcaption { position: absolute; left: 4px; bottom: -20px; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--ember); opacity: 0.85; }
@media (max-width: 560px) { .strip__frames { grid-auto-flow: row; } .strip__frame figcaption { display: none; } }

/* Pager: the neighbours as ticket stubs with their posters. */
.pager { grid-template-columns: 1fr auto 1fr; border-top: 0; }
.stub { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); transition: border-color 120ms ease-out, transform 140ms ease-out; }
.pager .stub:last-child { grid-template-columns: 1fr 64px; text-align: right; }
.pager .stub:last-child .stub__mat { order: 2; }
.stub__mat { position: relative; aspect-ratio: 1; background: var(--bark); }
.stub__mat img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; }
.stub__text { font-family: var(--title); font-weight: 600; letter-spacing: 0.03em; line-height: 1.3; }
.stub__text small { display: block; margin-bottom: 4px; font-family: var(--font); font-weight: 400; font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); }
.stub--empty { border: 0; }
.pager__all { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .stub:hover { border-color: var(--ember); } .pager__all:hover { color: var(--ink); } }
.stub:active { transform: scale(0.98); }
@media (max-width: 560px) {
  .pager { grid-template-columns: 1fr; gap: 10px; }
  .pager .pager__all { order: 3; text-align: center; padding-top: 8px; }
  .pager .stub:last-child { grid-template-columns: 64px 1fr; text-align: left; }
  .pager .stub:last-child .stub__mat { order: 0; }
  .stub--empty { display: none; }
}

/* Contact sheet: the photos as negatives on a strip, edge numbers in orange. */
.sheet { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 44vw), 1fr)); gap: 18px 0; }
.sheet button {
  position: relative; margin: 0; padding: 22px 5px; border-radius: 0; cursor: pointer;
  background-color: #0b0b09;
  background-image: radial-gradient(ellipse 3.5px 4.5px at 50% 50%, var(--ground) 92%, transparent 100%),
                    radial-gradient(ellipse 3.5px 4.5px at 50% 50%, var(--ground) 92%, transparent 100%);
  background-size: 18px 22px, 18px 22px; background-position: 4px 0, 4px 100%; background-repeat: repeat-x;
}
.sheet img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheet .edge { position: absolute; left: 10px; bottom: 4px; font-size: 0.6rem; letter-spacing: 0.1em; color: var(--ember); opacity: 0.85; }
@media (hover: hover) and (pointer: fine) { .sheet button:hover img { filter: brightness(1.12); } }

/* Mobile projector: no dead space between the slide and the tray. */
@media (max-width: 700px) { .projector { min-height: 0; } }

/* Footer: the tail leader, a strip with edge print. */
.foot { padding: 0; border-top: 0; }
.foot__edge {
  display: block; padding: 24px var(--gutter); font-family: var(--font); font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember);
  background-color: #0b0b09;
  background-image: radial-gradient(ellipse 3.5px 4.5px at 50% 50%, var(--ground) 92%, transparent 100%),
                    radial-gradient(ellipse 3.5px 4.5px at 50% 50%, var(--ground) 92%, transparent 100%);
  background-size: 18px 16px, 18px 16px; background-position: 4px 0, 4px 100%; background-repeat: repeat-x;
}

/* 404: a reel that never made it to the booth. */
.lost { min-height: calc(100svh - 140px); display: grid; place-content: center; justify-items: center; gap: 10px; padding: 48px var(--gutter); text-align: center; }
.lost__dial { position: relative; width: 160px; height: 160px; margin-bottom: 24px; border-radius: 50%; border: 1.4px solid var(--line-strong); display: grid; place-items: center; background: conic-gradient(rgba(232, 220, 194, 0.08) 0 25%, transparent 0); }
.lost__dial::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; border: 1.4px solid var(--line-strong); }
.lost__dial span { font-family: var(--title); font-weight: 600; font-size: 4.4rem; color: var(--paper); }
.lost__title { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: 0.04em; color: var(--paper); }
.lost__sub { margin: 0 0 18px; color: var(--muted); }

/* ============================================================
   v6: the photography room. Lights off, the slide on the wall,
   a carousel projector throwing a beam from the bottom.
   ============================================================ */
.photos[data-view="projector"] .sheet-wrap { display: none; }
.photos[data-view="sheet"] .room { display: none; }
.room {
  position: relative; display: grid; grid-template-rows: 1fr auto; justify-items: center;
  min-height: calc(100svh - 72px); padding: clamp(20px, 3vh, 36px) var(--gutter) 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 38%, #1a1914 0%, #0d0d0b 70%); overflow: hidden;
}
@media (max-width: 700px) { .room { min-height: calc(100svh - 92px); } }

/* The beam: a cone of warm light from the lens up to the wall, dust inside. */
.room__beam {
  position: absolute; inset: 0; pointer-events: none;
  clip-path: polygon(47.5% calc(100% - 120px), 52.5% calc(100% - 120px), 96% 2%, 4% 2%);
  background: linear-gradient(to top, rgba(255, 238, 205, 0.16), rgba(255, 238, 205, 0.035) 70%, rgba(255, 238, 205, 0.02));
  transition: opacity 90ms linear;
}
.room__beam i {
  position: absolute; bottom: 140px; width: 2px; height: 2px; border-radius: 50%; background: rgba(255, 240, 215, 0.55);
  animation: dust 9s linear infinite;
}
.room__beam i:nth-child(1) { left: 49%; animation-duration: 11s; }
.room__beam i:nth-child(2) { left: 51%; animation-delay: -3s; }
.room__beam i:nth-child(3) { left: 46%; animation-delay: -6s; animation-duration: 13s; }
.room__beam i:nth-child(4) { left: 54%; animation-delay: -1.5s; animation-duration: 10s; }
.room__beam i:nth-child(5) { left: 50%; animation-delay: -8s; width: 3px; height: 3px; }
.room__beam i:nth-child(6) { left: 47.5%; animation-delay: -4.5s; animation-duration: 12s; }
@keyframes dust {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(calc((var(--d, 1) * 40px)), -70vh); opacity: 0; }
}
.room__beam i:nth-child(odd) { --d: -1; }

/* The wall: the slide thrown big, soft at the edges like real projection. */
.wall { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; align-self: center; }
.wall__img {
  display: block; max-width: min(90vw, 1500px); max-height: calc(100svh - 260px); width: auto; height: auto;
  -webkit-mask: radial-gradient(ellipse 72% 72% at 50% 50%, #000 78%, rgba(0, 0, 0, 0.82) 100%);
          mask: radial-gradient(ellipse 72% 72% at 50% 50%, #000 78%, rgba(0, 0, 0, 0.82) 100%);
  filter: saturate(1.05) contrast(1.03);
}
.wall__no { position: absolute; right: 0; bottom: -26px; margin: 0; font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember); opacity: 0.8; }
.wall__title { display: none; text-align: center; max-width: 40rem; }
.wall.is-title .wall__title { display: block; }
.wall.is-title .wall__img, .wall.is-title .wall__no { display: none; }
.wall__h {
  margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1; letter-spacing: 0.12em; text-transform: uppercase;
  color: #f6ecd4; text-shadow: 0 0 28px rgba(255, 230, 190, 0.25);
}
.wall__sub { margin: 18px auto 0; color: var(--ink); opacity: 0.85; font-size: 1.05rem; }
.wall__hint { margin: 28px 0 0; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ember); }
.wall__hit { position: absolute; top: 0; bottom: 0; width: 50%; background: none; border: 0; padding: 0; }
.wall__hit--pv { left: 0; cursor: w-resize; }
.wall__hit--nx { right: 0; cursor: e-resize; }

/* Slide change: black for a beat, then the bulb catches. */
.room.is-dark .wall { opacity: 0; }
.room.is-dark .room__beam { opacity: 0.25; }
.room.is-flick .wall { animation: catch 280ms steps(4); }
@keyframes catch { 0% { opacity: 0.35; transform: translate(0.5px, -0.5px); } 40% { opacity: 1; } 60% { opacity: 0.78; transform: none; } 100% { opacity: 1; } }

/* The machine: carousel tray on top, controls either side. */
.machine { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; padding-top: 20px; }
.machine__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: #151510; color: var(--ink); font-size: 0.8rem; transition: border-color 120ms ease-out, transform 140ms ease-out; }
.machine__btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .machine__btn:hover { border-color: var(--ember); color: var(--ember); } }
.machine__body { position: absolute; z-index: -1; left: 50%; bottom: -30px; width: 190px; height: 70px; transform: translateX(-50%); border-radius: 10px 10px 0 0; background: #1e1d17; border: 1px solid var(--line); }
.machine__lens { position: absolute; left: 50%; top: -9px; width: 26px; height: 12px; transform: translateX(-50%); border-radius: 6px 6px 2px 2px; background: radial-gradient(ellipse at 50% 30%, #fff3d8, #c9a970 60%, #3a3226); box-shadow: 0 -6px 20px rgba(255, 235, 195, 0.35); }
.room .tray { width: 116px; height: 116px; }
.room .tray__slots { transition: transform 300ms var(--ease); }
.room .tray__count { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }
.room__sheet { position: absolute; z-index: 2; left: var(--gutter); bottom: 22px; background: none; border: 0; padding: 8px 0; font: inherit; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .room__sheet:hover { color: var(--ember); } }
@media (max-width: 700px) {
  .wall__img { max-width: 100%; max-height: calc(100svh - 330px); }
  .room .tray { width: 92px; height: 92px; }
  .room__sheet { position: static; grid-row: 3; margin-top: 34px; }
  .machine__body { width: 150px; }
}
.sheet-wrap .sheet-head .btn { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .room__beam i { animation: none; opacity: 0; }
  .room.is-flick .wall { animation: none; }
}

/* ============================================================
   v7: the marquee, the edit timeline, the leader gate, scratches.
   ============================================================ */

/* Leader gate: one click rolls the film with sound. */
.leader__gate { position: absolute; left: 0; right: 0; bottom: clamp(48px, 12vh, 120px); display: grid; justify-items: center; gap: 12px; }
.leader__sound { margin: 0; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(232, 220, 194, 0.6); }
.leader.is-rolling .leader__gate { display: none; }
.leader:not(.is-rolling) .leader__sweep { background: conic-gradient(rgba(232, 220, 194, 0.12) 0 90deg, transparent 0); }
.leader { cursor: default; }

/* Reel: scratches and dust on the print, faint, jumping frame to frame. */
.opening__pin::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.22; mix-blend-mode: screen;
  background:
    linear-gradient(to right, transparent 23.1%, rgba(255, 255, 255, 0.55) 23.15%, transparent 23.25%),
    linear-gradient(to right, transparent 71.6%, rgba(255, 255, 255, 0.35) 71.65%, transparent 71.72%),
    radial-gradient(circle at 18% 64%, rgba(255, 255, 255, 0.8) 0 1.5px, transparent 2px),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 54% 81%, rgba(255, 255, 255, 0.6) 0 2px, transparent 2.6px);
  animation: print 0.5s steps(4) infinite;
}
@keyframes print {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; opacity: 0.22; }
  25% { background-position: 37px 0, -60px 0, 140px -80px, -90px 40px, 30px -120px; opacity: 0.12; }
  50% { background-position: -15px 0, 22px 0, -60px 50px, 200px -30px, -140px 20px; opacity: 0.26; }
  75% { background-position: 80px 0, -10px 0, 90px 120px, -40px -60px, 60px 70px; opacity: 0.08; }
}

/* Now Showing: the marquee. Chasing bulbs, a backlit board, black letters. */
.scene--films .card__title, .scene--films .card__meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reels__label { display: none; }
.marquee {
  position: absolute; z-index: 2; top: clamp(76px, 11vh, 112px); left: 50%; transform: translateX(-50%);
  width: min(880px, calc(100% - 24px)); padding: 18px 24px 16px; text-align: center;
  background: #1c1610; border-radius: 6px; border: 1px solid rgba(255, 214, 150, 0.25);
}
.marquee::before {
  content: ""; position: absolute; inset: 4px; padding: 7px; border-radius: 4px; pointer-events: none;
  background: radial-gradient(circle, #ffefc4 0 2.4px, rgba(255, 196, 110, 0.35) 3.2px, transparent 4.6px) 0 0 / 16px 16px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: chase 0.9s steps(2) infinite;
}
@keyframes chase { to { background-position: 16px 0; } }
.marquee__top { margin: 0 0 10px; font-family: "Oswald", var(--font); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.4em; text-transform: uppercase; color: #ffd79a; text-shadow: 0 0 12px rgba(255, 190, 100, 0.5); }
.marquee__board {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 0.55em; margin: 0; padding: 10px 14px; min-height: 1.3em;
  background: repeating-linear-gradient(to bottom, #f6eed9 0 calc(1.15em + 6px), #d8ccb0 calc(1.15em + 6px) calc(1.15em + 8px)), #f6eed9;
  border-radius: 2px; perspective: 600px;
  font-family: "Oswald", var(--font); font-weight: 600; font-size: clamp(1.25rem, 3.6vw, 2.7rem); line-height: 1.15; color: #16120c;
}
.marquee__word { display: inline-flex; }
.tile { display: inline-block; min-width: 0.62em; text-align: center; transform-origin: 50% 0; animation: flip 260ms ease-out both; }
.tile.is-still { animation: none; }
@keyframes flip { from { transform: rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.marquee__bottom { margin: 10px 0 0; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--paper); }
@media (max-width: 700px) {
  .marquee { padding: 14px 14px 12px; }
  .marquee__top { font-size: 0.75rem; margin-bottom: 8px; }
}

/* All Films: the edit. Program monitor on top, V1 and A1 below, playhead. */
.lobby { max-width: none; padding-left: 0; padding-right: 0; }
.lobby .head, .lobby__sub { padding: 0 var(--gutter); }
.edit { position: relative; }
.edit__pin { position: sticky; top: 72px; height: calc(100svh - 72px); display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 16px; padding: 12px var(--gutter) 16px; max-width: 1280px; margin: 0 auto; }
.monitor { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; min-height: 0; }
.monitor__screen { position: relative; aspect-ratio: 16 / 9; max-height: 100%; width: 100%; justify-self: center; background: #000; outline: 1px solid var(--line-strong); outline-offset: 6px; overflow: hidden; }
.monitor__screen img, .monitor__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.monitor__tc { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 3px 8px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8rem; letter-spacing: 0.06em; color: #ffd79a; background: rgba(0, 0, 0, 0.65); border-radius: 2px; }
.monitor__label { margin: 0 0 10px; font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.monitor__label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #d8483a; vertical-align: 1px; animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: 0.25; } }
.monitor__title { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: 0.04em; color: var(--ink); }
.monitor__meta { margin: 10px 0 0; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.monitor__role { margin: 8px 0 18px; color: var(--muted); }
.timeline { display: grid; grid-template-columns: 34px minmax(0, 1fr); background: #0e0f0c; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.timeline__heads { display: grid; grid-template-rows: 22px 74px 36px; border-right: 1px solid var(--line); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--muted); }
.timeline__heads span { display: grid; place-items: center; }
.timeline__heads span:first-child { grid-row: 2; }
.timeline__window { position: relative; overflow: hidden; }
.timeline__strip { position: relative; width: max-content; will-change: transform; }
.ruler { position: relative; height: 22px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to right, rgba(232, 220, 194, 0.22) 0 1px, transparent 1px 30px) bottom / 100% 6px no-repeat; }
.ruler__year { position: absolute; top: 3px; padding-left: 5px; border-left: 1px solid var(--ember); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.65rem; color: var(--ember); }
.track { display: flex; }
.clip { flex: none; display: grid; grid-template-rows: 74px 36px; color: #fff; }
.clip__v { position: relative; display: flex; align-items: center; gap: 8px; margin: 3px 1px; padding: 5px; overflow: hidden; border-radius: 3px; background: var(--clip); }
.clip__v img { height: 100%; aspect-ratio: 1; object-fit: cover; flex: none; border-radius: 2px; }
.clip__name { font-size: 0.75rem; line-height: 1.25; letter-spacing: 0.02em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.clip__a { margin: 0 1px 3px; border-radius: 3px; background-color: color-mix(in srgb, var(--clip) 45%, #0e0f0c);
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 3px);
  -webkit-mask: linear-gradient(#000 0 0), radial-gradient(ellipse 9px 40% at 50% 50%, #000 60%, transparent 100%) 0 0 / 13px 100%; }
.clip--y3 { --clip: #3d5a6c; } /* 2023 */
.clip--y0 { --clip: #6b4e7a; } /* 2024 */
.clip--y1 { --clip: #56703c; } /* 2025 */
.clip--y2 { --clip: #8c5a2c; } /* 2026 */
.clip.is-on .clip__v { box-shadow: inset 0 0 0 2px #ffd79a; }
@media (hover: hover) and (pointer: fine) { .clip:hover .clip__v { filter: brightness(1.15); } }
.playhead { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ember); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--ember); }
.edit__hint { margin: 0; text-align: center; font-size: 0.65rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 760px) {
  .edit__pin { top: 92px; height: calc(100svh - 92px); gap: 12px; }
  .monitor { grid-template-columns: 1fr; gap: 12px; align-content: center; }
  .monitor__screen { max-height: 32svh; width: auto; }
  .monitor__info { text-align: center; }
  .monitor__role { display: none; }
  .monitor__meta { margin-top: 6px; }
  .monitor__open { margin-top: 12px; }
  .timeline__heads { grid-template-rows: 22px 60px 28px; }
  .clip { grid-template-rows: 60px 28px; }
  .clip__name { font-size: 0.68rem; }
}

/* Photography title fits a phone. */
@media (max-width: 560px) { .wall__h { font-size: 10.5vw; letter-spacing: 0.06em; } }

@media (prefers-reduced-motion: reduce) {
  .opening__pin::before, .marquee::before, .monitor__label::before { animation: none; }
  .tile { animation: none; }
}

/* ============================================================
   v8: Director, Cinematographer, Editor. Intertitles and the lens.
   ============================================================ */

/* Silent-film intertitle: black card, double rule, corner flourishes. */
.intertitle { display: grid; place-items: center; min-height: 72svh; padding: 48px var(--gutter); background: #0b0b09; }
.intertitle__card {
  position: relative; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(32px, 8vw, 96px);
  border: 1.5px solid rgba(232, 220, 194, 0.7); outline: 1px solid rgba(232, 220, 194, 0.35); outline-offset: 7px;
  animation: intertitle-flicker 3.2s steps(1) infinite;
}
.intertitle__card::before, .intertitle__card::after {
  content: "\2766"; position: absolute; left: 50%; transform: translateX(-50%); padding: 0 12px; background: #0b0b09; color: var(--paper); font-size: 1.1rem; line-height: 1;
}
.intertitle__card::before { top: -10px; }
.intertitle__card::after { bottom: -10px; transform: translateX(-50%) rotate(180deg); }
.intertitle__part { margin: 0 0 14px; font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ember); }
.intertitle__h { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.05; letter-spacing: 0.08em; color: #f2e8d0; }
.intertitle__line { margin: 16px 0 0; font-family: var(--title); font-size: clamp(0.95rem, 1.8vw, 1.15rem); letter-spacing: 0.06em; color: var(--muted); }
@keyframes intertitle-flicker { 0%, 100% { opacity: 1; } 47% { opacity: 0.93; } 48% { opacity: 1; } 81% { opacity: 0.96; } }
.reels + .reels { border-top: 0; }
.lobby { padding-top: 0; }

/* The lens: through the viewfinder, each frame racks into focus. */
.scene--lens { height: 520vh; }
.scene--lens .scene__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: blur(14px); transform: scale(1.06);
  transition: opacity 260ms ease-out, filter 900ms cubic-bezier(0.3, 0.7, 0.2, 1) 120ms, transform 1.4s var(--ease);
}
.scene--lens .scene__bg img.is-on { opacity: 1; filter: blur(0); transform: scale(1); }
.scene--lens .scene__pin::after { background: linear-gradient(to top, rgba(10, 10, 8, 0.75), rgba(10, 10, 8, 0) 40%), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }
.vf { position: absolute; inset: clamp(16px, 3vw, 40px); z-index: 2; pointer-events: none; color: #f4f0e6; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(0.62rem, 1vw, 0.78rem); letter-spacing: 0.08em; text-transform: uppercase; }
.vf::before, .vf::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid rgba(244, 240, 230, 0.85); }
.vf::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf__grid { position: absolute; inset: 0; background:
  linear-gradient(to right, transparent calc(33.33% - 0.5px), rgba(255, 255, 255, 0.14) calc(33.33% - 0.5px) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px) calc(66.66% - 0.5px), rgba(255, 255, 255, 0.14) calc(66.66% - 0.5px) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px)),
  linear-gradient(to bottom, transparent calc(33.33% - 0.5px), rgba(255, 255, 255, 0.14) calc(33.33% - 0.5px) calc(33.33% + 0.5px), transparent calc(33.33% + 0.5px) calc(66.66% - 0.5px), rgba(255, 255, 255, 0.14) calc(66.66% - 0.5px) calc(66.66% + 0.5px), transparent calc(66.66% + 0.5px)); }
/* 2.39 frame lines inside the 16:9 sensor area. */
.vf__frame { position: absolute; left: 6%; right: 6%; top: 50%; height: calc(88vw / 2.39); max-height: 70%; transform: translateY(-50%); border-top: 1px dashed rgba(255, 215, 154, 0.7); border-bottom: 1px dashed rgba(255, 215, 154, 0.7); }
.vf__focus { position: absolute; left: 50%; top: 50%; width: 76px; height: 56px; transform: translate(-50%, -50%); border: 1.5px solid rgba(255, 255, 255, 0.85); border-radius: 2px; }
.scene--lens .is-tickle .vf__focus { animation: focus-hunt 700ms ease-out; }
.vf__rec { position: absolute; top: 6px; left: 48px; color: #ff5a4a; }
.vf__rec::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #ff3b2f; vertical-align: -1px; animation: rec 1.2s steps(2) infinite; }
.vf__tc { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); }
.vf__spec { position: absolute; top: 6px; right: 6px; }
.vf__meters { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; height: 120px; align-items: flex-end; }
.vf__meters i { width: 5px; height: 100%; background: linear-gradient(to top, #6fd36f 0 60%, #e8d34f 60% 85%, #e35a4a 85%); transform-origin: bottom; animation: meter 0.9s steps(6) infinite; }
.vf__meters i + i { animation-duration: 1.1s; animation-delay: -0.4s; }
@keyframes meter { 0% { transform: scaleY(0.35); } 30% { transform: scaleY(0.62); } 60% { transform: scaleY(0.48); } 80% { transform: scaleY(0.71); } 100% { transform: scaleY(0.4); } }
.scene--lens .scene__copy { padding-bottom: clamp(70px, 13vh, 130px); }
.lens__title { font-family: var(--title); font-weight: 600; font-size: clamp(1.8rem, 5vw, 3.6rem); letter-spacing: 0.05em; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lens__title:hover { color: var(--ember); } }
.lens__meta { margin: 8px 0 0; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--paper); }
@media (max-width: 700px) {
  .vf__spec { display: none; }
  .vf__meters { height: 70px; }
  .vf__rec { left: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .intertitle__card, .vf__meters i, .vf__rec::before { animation: none; }
  .scene--lens .scene__bg img { transition: opacity 200ms linear; filter: none; transform: none; }
}

/* ============================================================
   v9: splices, the pan, the edit bay, the call sheet, iris-out,
   a slate that is one object. No border lines, no fade bands.
   ============================================================ */

/* Kill the old seams: hairlines between sections and fade-to-ground bands. */
.about, .reels, .contact, .lobby, .yr, .foot { border-top: 0 !important; }
.scene__pin::after, .scene--films .scene__pin::after {
  background: radial-gradient(ellipse 85% 80% at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.62) 100%), rgba(0, 0, 0, 0.18) !important;
}
.scene--films .scene__copy { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.85); }

/* Splice: a strip of film between reels, edge print naming the next one. */
.splice {
  position: relative; display: flex; justify-content: space-around; gap: 40px; overflow: hidden; white-space: nowrap;
  padding: 22px 0; background-color: #0b0b09;
  background-image: radial-gradient(ellipse 3.5px 4.5px at 50% 50%, #1d1d18 92%, transparent 100%),
                    radial-gradient(ellipse 3.5px 4.5px at 50% 50%, #1d1d18 92%, transparent 100%);
  background-size: 18px 15px, 18px 15px; background-position: 4px 0, 4px 100%; background-repeat: repeat-x;
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ember);
}
.splice::after { content: ""; position: absolute; top: 0; bottom: 0; left: 37%; width: 2px; background: rgba(232, 220, 194, 0.18); }
@media (max-width: 700px) { .splice span + span { display: none; } }
.intertitle { min-height: 64svh; }

/* Cinematographer: one row of frames, the camera pans across it. */
.pan { position: relative; height: 420vh; }
.pan__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #0b0b09; }
.pan__set { position: absolute; top: 50%; left: 0; display: flex; gap: 6vw; transform: translateX(0); margin-top: calc(min(62svh, 52vw * 9 / 16) / -2); will-change: transform; }
.pan__frame { flex: none; margin: 0; width: min(52vw, 62svh * 16 / 9); aspect-ratio: 16 / 9; overflow: hidden; }
.pan__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .pan__frame { width: 78vw; } .pan__set { margin-top: calc(78vw * 9 / 32 * -1); } }
.pan .vf { inset: clamp(70px, 10vh, 100px) clamp(16px, 3vw, 40px) clamp(110px, 16vh, 150px); }
.pan__cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(24px, 5vh, 52px); margin: 0; display: grid; justify-items: center; gap: 8px; text-align: center; }
.vf__f { font-weight: 400; color: #ffd79a; }

/* Editor: Effect Controls, Program monitor, meters, then the timeline. */
.edit__pin { grid-template-rows: minmax(0, 1fr) auto auto; }
.ws { display: grid; grid-template-columns: 250px minmax(0, 1fr) 22px; gap: 12px; min-height: 0; }
.panel__tab { margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.panel__tab span { color: var(--ink); text-transform: none; letter-spacing: 0.02em; }
.fxc { align-self: start; padding: 12px; background: #121410; border: 1px solid var(--line); border-radius: 4px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.7rem; color: var(--muted); }
.fxc__clip { margin: 0 0 10px; color: var(--ink); font-family: var(--title); font-size: 0.85rem; font-weight: 600; }
.fxc__row { display: flex; justify-content: space-between; padding: 4px 0 4px 12px; }
.fxc__row b { font-weight: 400; color: #6fb3ff; }
.fxc__group { padding-left: 0; margin-top: 6px; color: var(--ink); }
.fxc__group::before { content: "\25BE  "; color: var(--faint); }
.fxc__tr em { font-style: normal; color: var(--ember); }
.fxc__bar { position: relative; height: 14px; margin: 6px 0 4px 12px; background: #1c1f19; border-radius: 2px; }
.fxc__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(224, 138, 67, 0.45); }
.fxc__key { position: absolute; top: 3px; left: -4px; width: 8px; height: 8px; background: #ffd79a; transform: rotate(45deg); }
.fxc__key--end { left: auto; right: -4px; }
.monitor { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; grid-template-columns: none; gap: 0; align-items: stretch; }
.monitor__screen { position: relative; aspect-ratio: 16 / 9; height: 100%; max-height: 100%; width: auto; max-width: 100%; justify-self: center; background: #000; overflow: hidden; outline: 1px solid var(--line-strong); outline-offset: 0; }
.monitor__a, .monitor__b { position: absolute; inset: 0; }
.monitor__a img, .monitor__a video, .monitor__b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.monitor__b { opacity: 0; }
.monitor__b.is-on { opacity: 1; }
.monitor__trlabel { position: absolute; z-index: 3; top: 10px; right: 10px; padding: 3px 8px; border-radius: 2px; background: rgba(0, 0, 0, 0.65); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); opacity: 0; }
.monitor__trlabel.is-on { opacity: 1; }
.monitor__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; }
.monitor__bar .monitor__title { font-size: clamp(1.1rem, 2.2vw, 1.7rem); }
.monitor__bar .monitor__meta { margin-top: 4px; }
.meters { display: flex; gap: 4px; align-items: flex-end; padding-bottom: 60px; }
.meters i { flex: 1; height: 60%; background: linear-gradient(to top, #4fbf5a 0 65%, #e8d34f 65% 85%, #e35a4a 85%); transform-origin: bottom; animation: meter 0.8s steps(5) infinite; }
.meters i + i { animation-delay: -0.3s; animation-duration: 1s; }
.fxlane { position: relative; height: 0; }
.fxlane__tr { position: absolute; z-index: 2; top: 3px; height: 74px; display: grid; place-items: center; padding: 0 4px; text-align: center; font-size: 0.58rem; line-height: 1.2; letter-spacing: 0.04em; color: #1a120b; background: linear-gradient(135deg, rgba(255, 215, 154, 0.95) 0 50%, rgba(224, 160, 90, 0.95) 50%); border-radius: 2px; opacity: 0.92; pointer-events: none; }
@media (max-width: 760px) {
  .ws { grid-template-columns: 1fr; }
  .fxc, .meters { display: none; }
  .monitor__bar { flex-direction: column; text-align: center; gap: 8px; }
  .fxlane__tr { height: 60px; font-size: 0.5rem; }
}

/* About: a production call sheet with continuity polaroids clipped on. */
.about { padding: clamp(64px, 9vw, 112px) var(--gutter); background: #0f120d; }
.callsheet-wrap { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.callsheet { background: #f3ecdb; color: #221a12; padding: clamp(20px, 3vw, 36px); border-radius: 2px; transform: rotate(-0.6deg); font-family: var(--font); }
.cs__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid #221a12; }
.cs__right { text-align: right; }
.cs__title { margin: 0; font-family: "Oswald", var(--font); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.6rem); letter-spacing: 0.12em; text-transform: uppercase; }
.cs__label { margin: 0; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: #7a6a52; }
.cs__val { margin: 2px 0 0; font-family: var(--title); font-weight: 600; font-size: 1rem; }
.cs__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid rgba(34, 26, 18, 0.35); }
.cs__strip > div { padding: 10px 12px 10px 0; }
.cs__strip > div + div { padding-left: 12px; border-left: 1px solid rgba(34, 26, 18, 0.35); }
.cs__strip p { margin: 0; font-size: 0.85rem; }
.cs__sched { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; }
.cs__sched th { padding: 6px 8px; text-align: left; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: #f3ecdb; background: #221a12; }
.cs__sched td { padding: 12px 8px; vertical-align: top; border-bottom: 1px solid rgba(34, 26, 18, 0.25); }
.cs__sc { width: 2.4rem; font-family: "Oswald", var(--font); font-weight: 600; font-size: 1.2rem; }
.cs__loc { width: 9rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #5a4a35; }
.polaroids { position: relative; display: grid; gap: 0; }
.polaroid { margin: 0; padding: 10px 10px 36px; background: #fbf8f0; color: #2a2017; width: min(260px, 70vw); justify-self: center; transition: transform 500ms var(--ease), opacity 400ms ease-out; }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { margin-top: 8px; font-family: var(--title); font-size: 0.8rem; text-align: center; }
.polaroid:nth-child(1) { transform: rotate(-5deg) translateX(-30px); }
.polaroid:nth-child(2) { transform: rotate(4deg) translateX(40px); margin-top: -80px; }
.polaroid:nth-child(3) { transform: rotate(-2deg) translateX(-10px); margin-top: -80px; }
.polaroid::before { content: ""; position: absolute; left: 50%; top: -10px; width: 70px; height: 22px; margin-left: -35px; background: rgba(232, 220, 194, 0.55); transform: rotate(-3deg); }
.polaroid { position: relative; }
@media (max-width: 900px) {
  .callsheet-wrap { grid-template-columns: 1fr; }
  .polaroids { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .polaroid { width: 100%; padding: 6px 6px 24px; }
  .polaroid:nth-child(n) { margin-top: 0; transform: rotate(var(--rot, -3deg)); }
  .polaroid:nth-child(2) { --rot: 3deg; }
  .polaroid figcaption { font-size: 0.6rem; }
  .cs__strip { grid-template-columns: 1fr; }
  .cs__strip > div + div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(34, 26, 18, 0.2); }
  .cs__loc { display: none; }
  .cs__head { grid-template-columns: 1fr; text-align: center; }
  .cs__right { text-align: center; }
}

/* End card: iris-out, closing on Parker and the camera. */
.irisout { position: relative; height: 260vh; margin-top: clamp(40px, 8vw, 96px); --r: 140vmax; }
.irisout__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.irisout__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 30%; }
.irisout__mask { position: absolute; inset: 0; background: radial-gradient(circle at 52% 34%, transparent calc(var(--r) - 1px), #0b0b09 var(--r)); }
.irisout__card { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(40px, 9vh, 96px); text-align: center; padding: 0 var(--gutter); opacity: 0; transform: translateY(16px); transition: opacity 500ms ease-out, transform 500ms var(--ease); }
.irisout.is-closed .irisout__card { opacity: 1; transform: none; }
.nextup__title { margin: 6px 0 14px; }
@media (min-width: 900px) {
  .irisout__mask { background: radial-gradient(circle at 30% 42%, transparent calc(var(--r) - 1px), #0b0b09 var(--r)); }
  .irisout__img { object-position: 52% 34%; transform: translateX(-22%); }
  .irisout__card { left: 46%; right: 4%; top: 50%; bottom: auto; transform: translateY(calc(-50% + 16px)); text-align: left; }
  .irisout.is-closed .irisout__card { transform: translateY(-50%); }
}

/* The slate is one object: sticks hinged flush on the board, same width. */
.slate { width: min(620px, 100%); margin: 0 auto; }
.slate__clap { height: 56px; }
.slate__stick { height: 26px; left: 0; right: 0; border-radius: 2px 2px 0 0; }
.slate__stick--top { bottom: 30px; transform: rotate(-11deg); transform-origin: 2px 100%; }
.slate__clap::after { content: ""; position: absolute; left: -4px; bottom: 22px; width: 14px; height: 14px; border-radius: 50%; background: #2a2a24; border: 2px solid var(--paper); }
.form.slate__board { max-width: none; margin: 0; border-radius: 0 0 4px 4px; }
@keyframes clap { 0% { transform: rotate(-11deg); } 40% { transform: rotate(0deg); } 100% { transform: rotate(-11deg); } }

@media (prefers-reduced-motion: reduce) { .meters i { animation: none; } .irisout__card { transition: none; } }

/* ============================================================
   v10: the festival circuit and the camera monitor.
   ============================================================ */

/* Festival circuit: gold laurels stamp onto one poster. */
.circuit { position: relative; height: 240vh; background: #0b0b09; }
.circuit__pin { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; justify-items: center; gap: clamp(20px, 3vh, 36px); padding: 80px var(--gutter) 40px; overflow: hidden; }
.circuit__count { margin: 0; text-align: center; font-family: var(--title); font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: 0.06em; color: var(--muted); }
.circuit__count b { font-weight: 600; font-size: 1.6em; color: #e2bd6e; }
.circuit__wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 1.6vw, 22px) clamp(14px, 2.4vw, 34px); max-width: 1180px; }
.laurel { opacity: 0; transform: scale(1.5) rotate(-6deg); transition: opacity 160ms ease-out, transform 260ms cubic-bezier(0.2, 1.4, 0.4, 1); }
.laurel.is-in { opacity: 1; transform: none; }
.laurel:nth-child(even).is-in { transform: rotate(1.5deg); }
.laurel a { display: flex; align-items: center; gap: 6px; color: #e2bd6e; }
.laurel svg { width: clamp(16px, 1.6vw, 22px); height: auto; aspect-ratio: 12 / 22; }
.laurel__r svg { transform: scaleX(-1); }
.laurel__t { display: grid; text-align: center; font-family: var(--title); font-weight: 600; font-size: clamp(0.72rem, 1.15vw, 0.95rem); line-height: 1.2; letter-spacing: 0.04em; max-width: 13em; }
.laurel__t small { font-family: var(--font); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(226, 189, 110, 0.75); }
.laurel__t em { font-style: normal; font-family: var(--font); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .laurel a:hover .laurel__t { color: #f4d48c; } }
@media (max-width: 700px) { .circuit__wall { gap: 10px 14px; } .laurel__t em { display: none; } }

/* Cinematographer: a cinema camera's monitor, bezel and buttons. */
.cam { position: relative; height: 640vh; }
.cam__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; align-content: center; gap: 18px; padding: 80px var(--gutter) 24px; background: #0b0b09; overflow: hidden; }
.cam__body { position: relative; width: min(1100px, 100%, (100svh - 220px) * 16 / 9 + 36px); padding: 18px 18px 46px; background: #161714; border: 1px solid #2c2d27; border-radius: 16px; }
.cam__tally { position: absolute; top: 6px; right: 26px; width: 26px; height: 5px; border-radius: 3px; background: #ff3b2f; box-shadow: 0 0 10px rgba(255, 59, 47, 0.7); }
.cam__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 3px; }
.cam__frame { position: absolute; inset: 0; overflow: hidden; }
.cam__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, filter; }
.cam__tint { position: absolute; inset: 0; background: #2a6bd8; mix-blend-mode: color; opacity: 0; pointer-events: none; }
.cam__screen .vf { inset: 0; }
.cam__screen .vf::before, .cam__screen .vf::after { display: none; }
.cam__frame.is-adjusting ~ .vf .vf__focus { border-color: #ffd23a; }
.cam__hud { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 12px; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(0.58rem, 0.95vw, 0.75rem); letter-spacing: 0.06em; color: #f1efe6; text-transform: uppercase; }
.cam__rec { color: #ff5a4a; }
.cam__rec::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #ff3b2f; animation: rec 1.2s steps(2) infinite; }
.cam[data-kind="wb"] [data-k="wb"], .cam[data-kind="iris"] [data-k="iris"], .cam[data-kind="nd"] [data-k="nd"], .cam[data-kind="zoom"] [data-k="zoom"] { color: #111; background: #ffd23a; padding: 0 4px; border-radius: 2px; }
.cam__scale { position: absolute; z-index: 2; left: 10%; right: 10%; bottom: 14px; height: 22px; border-top: 1px solid rgba(255, 255, 255, 0.5);
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 10%) top / 100% 6px no-repeat; display: none; }
.cam[data-kind="focus"] .cam__scale { display: block; }
.cam__mark { position: absolute; top: -7px; width: 2px; height: 14px; margin-left: -1px; background: #ffd23a; }
.cam__dist { position: absolute; right: 0; top: 6px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.7rem; color: #ffd23a; }
.cam__call { position: absolute; z-index: 2; left: 14px; bottom: 48px; max-width: min(360px, 60%); padding: 12px 14px; background: rgba(0, 0, 0, 0.72); border-left: 3px solid #ffd23a; border-radius: 2px; }
.cam__what { margin: 0; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: #ffd23a; }
.cam__val { margin: 4px 0 6px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(1.4rem, 3vw, 2.2rem); color: #fff; line-height: 1; }
.cam__why { margin: 0; font-size: 0.85rem; line-height: 1.4; color: #e9e4d6; }
.cam__meters { position: absolute; z-index: 2; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 3px; height: 90px; align-items: flex-end; }
.cam__meters i { width: 5px; height: 100%; background: linear-gradient(to top, #6fd36f 0 60%, #e8d34f 60% 85%, #e35a4a 85%); transform-origin: bottom; animation: meter 0.9s steps(6) infinite; }
.cam__meters i + i { animation-delay: -0.4s; }
.cam__buttons { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 10px; }
.cam__buttons i { font-style: normal; padding: 3px 10px; border: 1px solid #34352f; border-radius: 3px; font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8d8b80; background: #1d1e1a; }
.lens .pan__cap { position: static; }
@media (max-width: 700px) {
  .cam__body { padding: 10px 10px 34px; border-radius: 10px; }
  .cam__call { left: 8px; right: 8px; bottom: 34px; max-width: none; padding: 8px 10px; }
  .cam__why { font-size: 0.72rem; }
  .cam__hud span:nth-child(n+3):not([data-k]) { display: none; }
  .cam__meters { display: none; }
  .cam__buttons i:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .laurel { transition: none; } .cam__rec::before, .cam__meters i { animation: none; } }

/* v10 fixes: phone widths, the monitor callout, the end card. */
main { overflow-x: clip; }
@media (max-width: 560px) {
  .intertitle__card { padding: 32px 18px; max-width: 100%; }
  .intertitle__h { font-size: 8.2vw; letter-spacing: 0.04em; }
}
@media (max-width: 700px) {
  .cam__pin { align-content: start; padding-top: 110px; }
  .cam__body { padding-bottom: 12px; }
  .cam__call { position: static; margin-top: 10px; max-width: none; background: #10110e; }
  .cam__buttons { display: none; }
  .cam__scale { bottom: 8px; }
}
@media (min-width: 900px) {
  .irisout__card { left: 54%; right: 4%; }
}

/* ============================================================
   v11: one continuous take. The theaters, the light table,
   the slider move.
   ============================================================ */

/* Now Showing: theaters one behind the other, curtains round each screen. */
.scene--films .scene__bg { perspective: 900px; perspective-origin: 50% 46%; transform-style: preserve-3d; background: #070605; overflow: hidden; }
.scene--films .scene__bg video {
  opacity: 1; transform: none; transition: none; box-sizing: border-box;
  border: clamp(18px, 3vw, 44px) solid #4a0f12;
  border-image: repeating-linear-gradient(90deg, #3c0b0e 0 14px, #6a171b 14px 22px, #4a0f12 22px 34px) 30;
  will-change: transform, opacity;
}
.scene--films .scene__bg video:not(.is-on) { opacity: 1; }
.scene--films .scene__pin::after { background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%) !important; }
@media (prefers-reduced-motion: reduce) { .scene--films .scene__bg video:not(.is-on) { visibility: hidden; } }

/* The ticket at the door: ADMIT ONE, torn to roll the film. */
.leader__gate { bottom: auto; top: 50%; transform: translateY(-50%); }
.leader:not(.is-rolling) .leader__dial, .leader:not(.is-rolling) .leader__sweep, .leader:not(.is-rolling) .leader__n { opacity: 0.18; }
.admit {
  position: relative; display: flex; width: min(560px, 88vw); aspect-ratio: 2.05; padding: 0; border: 0; cursor: pointer;
  background: none; color: #3a2416; font: inherit; transform: rotate(-2deg);
  transition: transform 140ms ease-out;
}
@media (hover: hover) and (pointer: fine) { .admit:hover { transform: rotate(-1deg) scale(1.02); } }
.admit:active { transform: rotate(-2deg) scale(0.98); }
.admit__main, .admit__stub {
  position: relative; display: flex; height: 100%;
  background: radial-gradient(ellipse at 30% 30%, #f3dfc4, #e3c7a4 70%, #d4b48e);
  box-shadow: inset 0 0 0 clamp(8px, 1.6vw, 12px) transparent;
}
.admit__main { flex: 1; border-radius: 6px 0 0 6px; padding: clamp(10px, 2vw, 16px); }
.admit__stub { width: 22%; border-radius: 0 6px 6px 0; padding: clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px) 0; border-left: 2px dashed rgba(58, 36, 22, 0.45); flex-direction: column; justify-content: space-between; align-items: center; }
.admit__main::before, .admit__stub::before { content: ""; position: absolute; inset: clamp(8px, 1.6vw, 12px); border: 2px solid #c8344a; border-radius: 10px / 14px; pointer-events: none; }
.admit__stub::before { left: 0; border-left: 0; border-radius: 0 10px 10px 0 / 0 14px 14px 0; }
.admit__main::before { border-right: 0; border-radius: 10px 0 0 10px / 14px 0 0 14px; }
.admit__serial { writing-mode: vertical-rl; font-family: ui-monospace, "Courier New", monospace; font-size: clamp(1rem, 3vw, 1.6rem); letter-spacing: 0.08em; align-self: center; }
.admit__serial--l { transform: rotate(180deg); margin-left: clamp(8px, 2vw, 16px); }
.admit__body { flex: 1; display: grid; place-content: center; text-align: center; border-left: 2px solid #c8344a; margin-left: clamp(8px, 2vw, 14px); }
.admit__big { font-family: "Oswald", var(--font); font-weight: 600; font-size: clamp(2.4rem, 9vw, 4.6rem); line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; color: #3a2416; }
.admit__line { margin-top: 10px; font-family: "Oswald", var(--font); font-weight: 600; font-size: clamp(0.75rem, 2vw, 1rem); letter-spacing: 0.14em; text-transform: uppercase; }
.admit__fine { margin-top: 4px; font-size: clamp(0.55rem, 1.4vw, 0.7rem); letter-spacing: 0.18em; text-transform: uppercase; color: #6a4a32; }
.admit__tear { writing-mode: vertical-rl; font-size: 0.55rem; letter-spacing: 0.24em; text-transform: uppercase; color: #c8344a; }
/* The tear: the stub drops away, the ticket flies up and off. */
.admit.is-torn { pointer-events: none; }
.admit.is-torn .admit__stub { animation: stub-fall 700ms cubic-bezier(0.4, 0, 0.8, 0.6) forwards; }
.admit.is-torn .admit__main { animation: ticket-off 560ms cubic-bezier(0.5, 0, 0.75, 0) 80ms forwards; }
.leader__gate:has(.admit.is-torn) .leader__sound { opacity: 0; transition: opacity 200ms; }
@keyframes stub-fall { 0% { transform: none; } 20% { transform: translate(8px, -4px) rotate(4deg); } 100% { transform: translate(60px, 70vh) rotate(38deg); opacity: 0; } }
@keyframes ticket-off { 0% { transform: none; } 100% { transform: translate(-30px, -80vh) rotate(-14deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .admit.is-torn .admit__stub, .admit.is-torn .admit__main { animation: none; opacity: 0; } }

/* Photography: the light table and the loupe. */
.photos[data-view="table"] .room { display: none; }
.photos[data-view="projector"] .lighttable { display: none; }
.lighttable { position: relative; height: 420vh; }
.lighttable__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #0b0b09; }
.lighttable__head { position: absolute; z-index: 3; top: 84px; left: 0; right: 0; text-align: center; pointer-events: none; padding: 0 var(--gutter); }
.lighttable__h { margin: 0; font-family: var(--title); font-weight: 600; font-size: clamp(2rem, 6vw, 4rem); letter-spacing: 0.12em; text-transform: uppercase; color: #f6ecd4; text-shadow: 0 0 24px rgba(0, 0, 0, 0.9); }
.lighttable__sub { margin: 10px auto 0; max-width: 34rem; color: var(--ink); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9); }
.lighttable__surface {
  position: absolute; left: 0; top: 230px; display: grid; grid-template-columns: repeat(9, 210px); gap: 26px; padding: 60px;
  width: max-content; background-color: #eef3f2;
  background-image: linear-gradient(rgba(120, 150, 160, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 150, 160, 0.16) 1px, transparent 1px);
  background-size: 40px 40px; border-radius: 6px; will-change: transform;
}
.lighttable__surface button {
  position: relative; display: block; aspect-ratio: 1; padding: 22px; margin: 0; border: 0; border-radius: 6px; cursor: zoom-in;
  background: #fbfbf7; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.lighttable__surface button:nth-child(3n) { transform: rotate(1.4deg); }
.lighttable__surface button:nth-child(4n+1) { transform: rotate(-1.2deg); }
.lighttable__surface img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; aspect-ratio: auto; }
.lighttable__surface .edge { left: 10px; bottom: 3px; color: #c8344a; font-family: ui-monospace, "Courier New", monospace; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .lighttable__surface button:hover { box-shadow: inset 0 0 0 2px var(--ember); } }
.loupe { position: absolute; z-index: 2; left: 0; top: 0; width: clamp(160px, 22vw, 280px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; pointer-events: none;
  border: 10px solid #1a1a16; outline: 2px solid #3a3a32; }
.loupe__view { position: absolute; inset: 0; }
.loupe__view .lighttable__surface { top: 0 !important; transform-origin: 0 0; }
@media (max-width: 700px) {
  .lighttable__surface { grid-template-columns: repeat(9, 150px); gap: 18px; padding: 40px; top: 210px; }
  .lighttable__surface button { padding: 14px; }
}

/* Part I: the back of a director's chair. */
.intertitle--chair { display: grid; justify-items: center; align-content: center; gap: 22px; }
.chair { position: relative; width: min(440px, 80vw); aspect-ratio: 1.15; }
.chair__post { position: absolute; top: 0; width: 7%; height: 62%; background: linear-gradient(90deg, #6a4526, #8c5e36 50%, #5a3a20); border-radius: 3px; }
.chair__post--l { left: 4%; } .chair__post--r { right: 4%; }
.chair__canvas { position: absolute; left: 6%; right: 6%; top: 6%; height: 32%; display: grid; place-content: center; text-align: center; background: #12110d; border-top: 3px solid #26241d; border-bottom: 3px solid #26241d; }
.chair__part { font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ember); }
.chair__h { font-family: "Oswald", var(--font); font-weight: 600; font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1; letter-spacing: 0.18em; text-transform: uppercase; color: #f4ecd8; }
.chair__name { margin-top: 4px; font-family: var(--title); font-size: clamp(0.8rem, 2vw, 1rem); letter-spacing: 0.16em; color: var(--paper); }
.chair__seat { position: absolute; left: 4%; right: 4%; top: 58%; height: 8%; background: #12110d; border-radius: 2px; box-shadow: inset 0 3px 0 #26241d; }
.chair__leg { position: absolute; top: 64%; bottom: 0; width: 6%; background: linear-gradient(90deg, #6a4526, #8c5e36 50%, #5a3a20); border-radius: 2px; }
.chair__leg--a { left: 22%; transform: rotate(22deg); transform-origin: top; }
.chair__leg--b { right: 22%; transform: rotate(-22deg); transform-origin: top; }

/* Premiere night: searchlights sweeping behind the laurels. */
.searchlights { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.searchlights i { position: absolute; bottom: -10%; width: 9vw; height: 130%; transform-origin: 50% 100%;
  background: linear-gradient(to top, rgba(255, 236, 190, 0.22), rgba(255, 236, 190, 0.04) 70%, transparent);
  clip-path: polygon(42% 100%, 58% 100%, 100% 0, 0 0); animation: sweep-light 7s ease-in-out infinite alternate; }
.searchlights i:nth-child(1) { left: 12%; animation-delay: -1s; }
.searchlights i:nth-child(2) { left: 34%; animation-delay: -4s; animation-duration: 8s; }
.searchlights i:nth-child(3) { right: 34%; animation-delay: -2.5s; animation-duration: 6.5s; }
.searchlights i:nth-child(4) { right: 12%; animation-delay: -5.5s; }
@keyframes sweep-light { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
.circuit__count, .circuit__wall { position: relative; z-index: 1; }

/* The footer: a star on the Walk of Fame, then the tail of the film. */
.walk { display: grid; place-items: center; padding: clamp(40px, 7vw, 72px) var(--gutter);
  background-color: #6f5c58; background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px), radial-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px; }
.walk__star {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 6px; width: min(300px, 74vw); aspect-ratio: 1;
  background: #d78a90; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: inset 0 0 0 4px #c9a25a;
}
.walk__star::before { content: ""; position: absolute; inset: 0; background: #c9a25a; clip-path: inherit; z-index: -1; transform: scale(1.04); }
.walk__name { margin-top: 18%; font-family: var(--title); font-weight: 600; font-size: clamp(0.85rem, 2.6vw, 1.15rem); letter-spacing: 0.08em; text-transform: uppercase; color: #8a6a2e; text-align: center; max-width: 9ch; line-height: 1.1; }
.walk__emblem { width: 22%; color: #8a6a2e; }
@media (prefers-reduced-motion: reduce) { .searchlights i { animation: none; } }

/* Cinematographer, one take: the push into his camera, then the slider. */
.cam { height: 760vh; }
.cam__pov { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; object-fit: cover; object-position: 30% 18%; transform-origin: 30% 17%; pointer-events: none; will-change: transform, opacity; }
@media (min-aspect-ratio: 1/1) { .cam__pov { object-fit: contain; background: #0b0b09; } }
.cam__body { will-change: transform, opacity; }
.cam__strip { position: absolute; inset: 0; display: flex; will-change: transform; }
.cam__strip img { flex: none; width: 100%; height: 100%; object-fit: cover; }

/* Masthead sound: a little projector, struck through when off. */
.mast { position: relative; }
.mast__sound { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; transition: border-color 120ms ease-out, color 120ms ease-out; }
.mast__sound svg { width: 20px; height: 20px; }
.mast__sound[aria-pressed="true"] { color: var(--ember); border-color: rgba(224, 138, 67, 0.6); }
.mast__sound-off { position: absolute; width: 26px; height: 1.5px; background: currentColor; transform: rotate(-40deg); opacity: 0; }
.mast__sound[aria-pressed="false"] .mast__sound-off { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .mast__sound:hover { border-color: var(--ember); } }
.mast__sound:active { transform: translateY(-50%) scale(0.95); }
@media (max-width: 700px) { .mast__sound { top: 22px; transform: none; width: 32px; height: 32px; } .mast__sound:active { transform: scale(0.95); } }

/* One end card: the iris closes on him, the slate sits beside him. */
.irisout__card .slate { width: 100%; max-width: 520px; margin: 22px 0 0; }
.irisout__card .slate__clap { height: 44px; }
.irisout__card .form.slate__board { padding: 16px 18px; }
.irisout__card .slate__board textarea { min-height: 76px; }
.irisout__card .nextup__title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 4px 0 8px; }
.irisout__card .contact__lede { margin: 0 0 4px; }
@media (min-width: 900px) {
  .irisout__card { top: 50%; bottom: auto; max-height: calc(100svh - 120px); overflow: visible; }
}
@media (max-width: 899px) {
  .irisout { height: auto; }
  .irisout__pin { position: relative; height: auto; min-height: 100svh; padding-bottom: 32px; }
  .irisout__img, .irisout__mask { height: 72svh; }
  .irisout__mask { background: radial-gradient(circle at 52% 40%, transparent calc(30vmax - 1px), #0b0b09 30vmax); }
  .irisout__card { position: relative; inset: auto; margin-top: 62svh; opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .circuit__wall { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .laurel svg { width: 12px; }
  .laurel__t { font-size: 0.66rem; }
  .circuit__pin { padding-top: 96px; }
}
.irisout__card .slate { margin-top: clamp(52px, 7vh, 72px); }

/* The rendered slate (Nalana, two layers): the top stick claps on Action.
   Pivot from media/props/clapper/clapper.json: 8.74% 27.36%, rendered 14 deg open. */
.slate__clap { display: none; }
.slate__art { position: relative; width: 240px; aspect-ratio: 847 / 1049; margin: 0 0 -46px 18px; z-index: 1; transform: rotate(-4deg); }
.slate__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slate__stick-img { transform-origin: 8.74% 27.36%; }
.slate.is-clap .slate__stick-img { animation: clap-real 420ms cubic-bezier(0.6, 0, 0.4, 1); }
@keyframes clap-real { 0% { transform: none; } 38% { transform: rotate(14deg); } 52% { transform: rotate(13deg); } 100% { transform: none; } }
.slate__chalk { position: absolute; font-family: "Caveat", "Bradley Hand", "Segoe Print", cursive; font-size: 17px; color: #ece8df; white-space: nowrap; opacity: 0.92; }
.slate__chalk--prod { left: 30%; top: 38.5%; }
.slate__chalk--dir { left: 45%; top: 60%; }
.slate__chalk--take { left: 82%; top: 50.5%; }
.irisout__card .slate { margin-top: 18px; }
@media (max-width: 700px) { .slate__art { width: 200px; margin-bottom: -38px; } .slate__chalk { font-size: 14px; } }

/* The leader as a worn print: gray stock, thick rings, sprockets running past,
   dirt and flicker. The references are real Academy and SMPTE leaders. */
.leader { background: radial-gradient(ellipse 75% 70% at 50% 50%, #c9c5b8 0%, #a7a294 55%, #6b675e 100%); color: #22211d; filter: brightness(var(--flick, 1)) contrast(1.08) sepia(0.12); }
.leader::after { background: radial-gradient(ellipse at center, transparent 48%, rgba(20, 18, 12, 0.65) 100%); }
.leader__dial { stroke: #262520; stroke-width: 2.6; opacity: 0.9; }
.leader__sweep { background: conic-gradient(rgba(30, 28, 22, 0.32) var(--a), transparent 0); }
.leader:not(.is-rolling) .leader__sweep { background: conic-gradient(rgba(30, 28, 22, 0.18) 0 90deg, transparent 0); }
.leader__n { font-family: "Oswald", "Helvetica Neue", sans-serif; font-weight: 700; color: #1f1e1a; font-size: min(42vmin, 340px); }
.leader:not(.is-rolling) .leader__dial, .leader:not(.is-rolling) .leader__sweep, .leader:not(.is-rolling) .leader__n { opacity: 0.32; }
.leader__dirt { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: multiply; z-index: 2; }
.leader__sprockets { position: absolute; top: -40px; bottom: -40px; width: clamp(34px, 5vw, 60px); z-index: 1; background-color: #141310;
  background-image: radial-gradient(ellipse 34% 26% at 50% 50%, #d8d4c6 0 92%, transparent 100%); background-size: 100% 40px; background-repeat: repeat-y;
  animation: run 0.42s steps(10) infinite; }
.leader__sprockets--l { left: 0; } .leader__sprockets--r { right: 0; }
@keyframes run { to { background-position: 0 40px; } }
.leader__gate { z-index: 3; }
.leader__sound { color: rgba(34, 33, 29, 0.75); }
@media (prefers-reduced-motion: reduce) { .leader__sprockets { animation: none; } }

/* v12: props out. A quiet form, a quiet footer. */
.walk { display: none; }
.foot { padding: 28px var(--gutter) 40px; text-align: center; font-family: var(--font); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); background: none; }
.irisout__card .slate { margin-top: 26px; }
.form.slate__board { background: none; border: 0; padding: 0; }
.slate__board .btn { border-radius: 2px; padding: 10px 28px; min-height: 42px; background: var(--paper); color: var(--paper-ink); font-family: var(--font); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
@media (hover: hover) and (pointer: fine) { .slate__board .btn:hover { background: var(--ember); } }
.scene--films .card__laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 14px 0 0; font-family: var(--title); font-size: 0.78rem; letter-spacing: 0.04em; color: #e2bd6e; }
.card__laurels span { display: inline-flex; align-items: center; gap: 5px; }
.card__laurels svg { width: 9px; height: 16px; }
.card__laurels span svg:last-child { transform: scaleX(-1); }
.slate__board .is-invalid { border-bottom-color: var(--ember) !important; }
.slate__board .form__status { margin-top: 12px; min-height: 1.4em; font-size: 0.85rem; text-align: left; }

/* ============================================================
   v13: the edit bay as Premiere Pro. Its own grays, its blue,
   its system type, its violet video and teal audio clips.
   ============================================================ */
.lobby { padding: 0; background: #0f0f0f; }
.pr { --pr-bg: #161616; --pr-panel: #1e1e1e; --pr-head: #232323; --pr-line: #2c2c2c; --pr-text: #b5b5b5; --pr-dim: #7c7c7c; --pr-blue: #2d8ceb; --pr-violet: #a08bd6; --pr-teal: #2f9a86;
  max-width: none; padding: 0 8px 8px; background: var(--pr-bg); gap: 6px; grid-template-rows: auto minmax(0, 1fr) auto;
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--pr-text); font-size: 12px; letter-spacing: 0; }
.pr * { letter-spacing: 0; }
.pr__menu { display: flex; align-items: center; gap: 22px; height: 30px; padding: 0 10px; margin: 0 -8px; background: #101010; border-bottom: 1px solid #000; font-size: 12px; color: var(--pr-dim); }
.pr__menu span { color: var(--pr-text); font-weight: 600; margin-right: 18px; }
.pr__menu i { font-style: normal; }
.pr__menu i:first-of-type { color: #fff; box-shadow: inset 0 -2px 0 var(--pr-blue); padding: 7px 0; }
.pr__top { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) 26px; gap: 6px; min-height: 0; }
.pr__panel { display: flex; flex-direction: column; min-height: 0; background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 4px; overflow: hidden; }
.pr__tabs { display: flex; align-items: center; gap: 18px; height: 28px; padding: 0 10px; background: var(--pr-head); border-bottom: 1px solid #111; color: var(--pr-dim); flex: none; }
.pr__tabs .is-on { color: #e6e6e6; }
.pr__tabs .monitor__title { font-family: inherit; font-size: 12px; font-weight: 400; color: #e6e6e6; margin: 0; line-height: 1; }
.pr .monitor__open { margin-left: auto; color: var(--pr-blue); font-size: 12px; }
@media (hover: hover) and (pointer: fine) { .pr .monitor__open:hover { color: #6cb4ff; } }
.pr .fxc { flex: 1; padding: 8px 10px; background: none; border: 0; border-radius: 0; font-family: inherit; font-size: 12px; color: var(--pr-text); }
.pr .fxc__clip { margin: 0 0 8px; font-family: inherit; font-size: 12px; font-weight: 400; color: var(--pr-dim); }
.pr .fxc__clip b { color: #e6e6e6; font-weight: 400; }
.pr .fxc__row { padding: 3px 0 3px 22px; }
.pr .fxc__row b { color: var(--pr-blue); }
.pr .fxc__group { padding-left: 0; margin-top: 8px; color: #dcdcdc; }
.pr .fxc__group::before { content: "\203A  "; color: var(--pr-dim); }
.pr .fxc__group em { font-style: italic; color: var(--pr-dim); margin-right: 4px; }
.pr .fxc__bar { height: 12px; margin: 6px 0 6px 22px; background: #141414; border-radius: 0; }
.pr .fxc__fill { background: rgba(160, 139, 214, 0.55); }
.pr .fxc__key { width: 7px; height: 7px; top: 2.5px; background: #d9d9d9; }
.pr .monitor { display: flex; }
.pr .monitor__screen { flex: 1; min-height: 0; width: auto; height: auto; max-height: none; aspect-ratio: auto; margin: 0; background: #000; outline: 0; border-radius: 0; }
.pr .monitor__a img, .pr .monitor__a video, .pr .monitor__b img { object-fit: contain; background: #000; }
.pr .monitor__trlabel { top: 8px; right: 8px; font-family: inherit; font-size: 11px; text-transform: none; letter-spacing: 0; color: #e6e6e6; background: rgba(0, 0, 0, 0.6); }
.pr__transport { display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 14px; height: 34px; padding: 0 10px; flex: none; border-top: 1px solid #111; }
.pr .monitor__tc { position: static; padding: 0; background: none; font-family: inherit; font-size: 15px; color: var(--pr-blue); font-variant-numeric: tabular-nums; }
.pr__fit, .pr__res { color: var(--pr-text); font-size: 11px; }
.pr__btns { display: flex; justify-content: center; gap: 16px; color: var(--pr-text); font-size: 10px; }
.pr__btns i { font-style: normal; }
.pr__play { color: #e6e6e6; font-size: 12px; }
.pr .monitor__meta { margin: 0; font-size: 11px; color: var(--pr-dim); text-transform: none; letter-spacing: 0; font-family: inherit; }
.pr .meters { padding: 28px 0 34px; background: var(--pr-panel); border: 1px solid var(--pr-line); border-radius: 4px; gap: 3px; justify-content: center; }
.pr .meters i { flex: none; width: 6px; height: 100%; background: linear-gradient(to top, #2aa33f 0 72%, #d8c22f 72% 88%, #d23c2c 88%); }
.pr .timeline { display: flex; grid-template-columns: none; background: var(--pr-panel); border: 1px solid var(--pr-line); }
.pr .pr__seq-tc { margin-left: auto; color: var(--pr-blue); font-size: 13px; font-variant-numeric: tabular-nums; }
.timeline__body { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.pr .timeline__heads { grid-template-rows: 24px 66px 40px; border-right: 1px solid #111; background: #1a1a1a; font-size: 11px; }
.pr .timeline__heads .th { display: flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 0 8px; border-top: 1px solid #111; color: var(--pr-dim); }
.pr .timeline__heads .th b { font-weight: 600; color: #dcdcdc; background: #2f2f2f; padding: 1px 5px; border-radius: 2px; }
.pr .timeline__heads .th i { font-style: normal; font-size: 10px; filter: grayscale(1); opacity: 0.7; }
.pr .ruler { height: 24px; background: #1a1a1a; border-bottom: 1px solid #111; background-image: repeating-linear-gradient(to right, #4a4a4a 0 1px, transparent 1px 30px); background-size: 100% 5px; background-position: bottom; background-repeat: no-repeat; }
.ruler__tc { position: absolute; top: 4px; padding-left: 3px; font-size: 10px; color: var(--pr-dim); font-variant-numeric: tabular-nums; border-left: 1px solid #4a4a4a; height: 18px; font-family: "Inter", sans-serif; white-space: nowrap; }
.pr .ruler__year { top: 3px; z-index: 1; padding: 0 5px; border: 0; border-radius: 2px; background: #3aa35a; color: #0d1a10; font-family: inherit; font-size: 10px; font-weight: 600; }
.pr .clip { grid-template-rows: 66px 40px; }
.pr .clip__v { margin: 2px 0; padding: 4px; gap: 6px; align-items: flex-start; border-radius: 2px; background: var(--pr-violet); border-left: 1px solid rgba(0, 0, 0, 0.35); border-right: 1px solid rgba(0, 0, 0, 0.35); }
.pr .clip__v img { height: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
.pr .clip__name { font-family: inherit; font-size: 11px; color: #120d1d; -webkit-line-clamp: 2; }
.pr .clip--y0 .clip__v, .pr .clip--y1 .clip__v, .pr .clip--y2 .clip__v, .pr .clip--y3 .clip__v { background: var(--pr-violet); }
.pr .clip__a { margin: 0 0 2px; border-radius: 2px; background-color: var(--pr-teal); background-image: repeating-linear-gradient(to right, rgba(5, 30, 24, 0.75) 0 1px, transparent 1px 3px); border-left: 1px solid rgba(0, 0, 0, 0.35); }
.pr .clip.is-on .clip__v { box-shadow: inset 0 0 0 2px #fff; }
.pr .fxlane__tr { top: 26px; height: 32px; font-family: inherit; font-size: 10px; color: #e6e6e6; background: linear-gradient(135deg, #5d5d6b 0 50%, #4a4a56 50%); border: 1px solid #2a2a33; border-radius: 2px; opacity: 1; }
.pr .playhead { width: 1px; margin-left: 0; background: var(--pr-blue); }
.pr .playhead::before { left: -7px; top: 0; width: 15px; height: 14px; border: 0; background: var(--pr-blue); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.edit__hint { display: none; }
@media (max-width: 760px) {
  .pr__menu i:nth-child(n+4) { display: none; }
  .pr__top { grid-template-columns: 1fr; }
  .pr__fx, .pr .meters { display: none; }
  .pr__btns, .pr__res { display: none; }
  .pr__transport { grid-template-columns: auto auto 1fr; }
  .timeline__body { grid-template-columns: 54px minmax(0, 1fr); }
  .pr .timeline__heads .th i { display: none; }
  .pr .timeline__heads { grid-template-rows: 24px 56px 32px; }
  .pr .clip { grid-template-rows: 56px 32px; }
}
.pr .pr__panel { padding: 0; }
.pr { grid-template-rows: auto minmax(0, 1.15fr) minmax(170px, 0.85fr); }
.pr .timeline { min-height: 0; }
.pr .timeline__body { flex: 1; align-content: start; }
.pr .fxc__row { gap: 14px; }
.pr .fxc__group { justify-content: flex-start; gap: 6px; }
.pr { grid-template-rows: auto minmax(0, 1fr) auto; }
.pr .timeline__body { padding-bottom: 10px; }

/* ============================================================
   v14: the edit bay copied from FilmCraft (storytold/filmcraft,
   MIT OR Apache-2.0): colors from crates/ui-egui/src/theme.rs,
   clip and wave colors sampled from docs/images/filmcraft-*.png.
   ============================================================ */
.fc { --fc-app: #000; --fc-panel: #1d1d1d; --fc-tab: #b0b0b0; --fc-tab-on: #d1d1d1; --fc-text: #d1d1d1; --fc-dim: #b0b0b0; --fc-faint: #6e6e6e;
  --fc-focus: #5794ec; --fc-accent: #2f6bdf; --fc-tc: #4096f3; --fc-sep: #303030; --fc-field: #0e0e0e; --fc-clip: #1d4a64; --fc-wave: #79c0f9;
  --fc-playhead: #5895ec; --fc-render: #f0f04f; --fc-title: #8a1c3a;
  display: grid; grid-template-rows: 28px minmax(0, 1.05fr) minmax(0, 1fr) 20px; gap: 3px; padding: 0 3px; max-width: none; background: var(--fc-app);
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif; font-size: 11.5px; color: var(--fc-text); letter-spacing: 0; }
.fc * { letter-spacing: 0; }
.fc .fc__panel { display: flex; flex-direction: column; min-height: 0; padding: 0; background: var(--fc-panel); border: 0; border-radius: 3px; overflow: hidden; }
.fc__bar { display: flex; align-items: center; gap: 20px; padding: 0 12px; color: var(--fc-tab); font-size: 12.5px; }
.fc__bar i { font-style: normal; }
.fc__bar .is-on { color: var(--fc-tab-on); text-decoration: underline; text-underline-offset: 4px; }
.fc__home { font-size: 15px; }
.fc__title { margin: 0 auto; font-weight: 400; color: var(--fc-text); transform: translateX(-60px); }
.fc__icons { color: var(--fc-tab); font-size: 12px; letter-spacing: 6px; }
.fc__tabs { display: flex; align-items: center; gap: 16px; height: 26px; padding: 0 10px; flex: none; color: var(--fc-tab); font-size: 11.5px; }
.fc__tabs .is-on { color: var(--fc-tab-on); text-decoration: underline; text-underline-offset: 4px; }
.fc__now { color: var(--fc-faint); }
.fc .monitor__title { font: inherit; color: var(--fc-tab); margin: 0; }
.fc .monitor__open { margin-left: auto; color: var(--fc-tc); font-size: 11.5px; }
@media (hover: hover) and (pointer: fine) { .fc .monitor__open:hover { color: #7ab6ff; } }
.fc__top { display: grid; grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.6fr) minmax(220px, 0.75fr); gap: 3px; min-height: 0; }
.fc__ec { outline: 1px solid var(--fc-focus); outline-offset: -1px; }
.ec__src { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 8px; font-size: 11px; color: var(--fc-dim); }
.ec__src > span { padding: 3px 6px; background: var(--fc-field); border-radius: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ec__src b { font-weight: 400; color: var(--fc-text); }
.ec__body { position: relative; flex: 1; padding: 2px 8px; overflow: hidden; }
.ec__h { margin: 2px 0 2px; color: var(--fc-text); font-size: 11px; }
.ec__row { display: grid; grid-template-columns: 16px 92px 90px 1fr; align-items: center; height: 21px; font-size: 11px; color: var(--fc-dim); }
.ec__sw { color: var(--fc-faint); font-size: 10px; }
.ec__v { color: var(--fc-tc); font-family: inherit; font-variant-numeric: tabular-nums; }
.ec__k { display: flex; gap: 8px; color: var(--fc-dim); font-size: 8px; }
.ec__k i, .ec__k b { font-style: normal; font-weight: 400; }
.ec__fx { display: flex; gap: 6px; color: var(--fc-text); }
.ec__fx em { font-style: italic; font-weight: 600; font-size: 10px; color: var(--fc-text); }
.ec__ph { position: absolute; top: 0; bottom: 0; left: 72%; width: 1px; background: var(--fc-playhead); }
.fc .fxc__bar { height: 8px; margin: 2px 0 2px 16px; width: 170px; background: var(--fc-field); }
.fc .fxc__fill { background: rgba(87, 148, 236, 0.6); }
.ec__tc { padding: 4px 8px; color: var(--fc-tc); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.fc .monitor { display: flex; }
.fc .monitor__screen { flex: 1; min-height: 0; width: auto; height: auto; max-height: none; aspect-ratio: auto; margin: 0 6px; background: #000; outline: 0; border-radius: 0; }
.fc .monitor__a img, .fc .monitor__a video, .fc .monitor__b img { object-fit: contain; background: #000; }
.fc .monitor__trlabel { top: 8px; right: 8px; font: 11px "Inter", sans-serif; text-transform: none; letter-spacing: 0; color: var(--fc-text); background: rgba(0, 0, 0, 0.6); }
.pm__row { display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 12px; height: 26px; padding: 0 8px; flex: none; }
.fc .monitor__tc { position: static; padding: 0; background: none; font: 13px "Inter", sans-serif; color: var(--fc-tc); font-variant-numeric: tabular-nums; }
.pm__dd { padding: 1px 8px; border: 1px solid var(--fc-sep); border-radius: 2px; color: var(--fc-text); font-size: 10.5px; }
.pm__marks { position: relative; height: 10px; border-bottom: 1px solid var(--fc-sep); }
.pm__marks i { position: absolute; bottom: 1px; width: 7px; height: 8px; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.pm__marks i:nth-child(1) { left: 4%; background: #e68a2e; } .pm__marks i:nth-child(2) { left: 22%; background: #5794ec; } .pm__marks i:nth-child(3) { left: 41%; background: #8a9b3b; }
.pm__marks i:nth-child(4) { left: 57%; background: #d84a5a; } .pm__marks i:nth-child(5) { left: 73%; background: #b47ad6; } .pm__marks i:nth-child(6) { left: 90%; background: #e6b42e; }
.pm__dur { color: var(--fc-text); font-size: 12px; font-variant-numeric: tabular-nums; }
.pm__transport { display: flex; justify-content: center; gap: 20px; height: 24px; align-items: center; flex: none; color: var(--fc-dim); font-size: 10px; }
.pm__transport i { font-style: normal; }
.pm__play { color: var(--fc-text); }
.fc .monitor__meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lu__master { margin: 4px 10px 6px; font-size: 11px; color: var(--fc-dim); }
.lu__master b { font-weight: 400; color: var(--fc-text); }
.lu__sec { display: flex; align-items: center; gap: 8px; margin: 6px 10px; font-size: 11.5px; font-weight: 600; color: var(--fc-text); }
.lu__sec span { color: var(--fc-faint); font-weight: 400; }
.lu__sw { margin-left: auto; width: 24px; height: 12px; border-radius: 6px; background: #4a4a4a; position: relative; }
.lu__sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #1d1d1d; }
.lu__sw.is-on { background: var(--fc-accent); } .lu__sw.is-on::after { left: 14px; background: #fff; }
.lu__grp { margin: 6px 18px 2px; font-size: 10.5px; color: var(--fc-dim); }
.lu__row { display: grid; grid-template-columns: 76px 1fr 40px; align-items: center; gap: 8px; height: 20px; padding: 0 10px 0 18px; font-size: 10.5px; color: var(--fc-dim); }
.lu__track { position: relative; height: 2px; background: #4a4a4a; }
.lu__track--temp { background: linear-gradient(90deg, #4a7bd6, #ddd, #e0a43a); }
.lu__track--tint { background: linear-gradient(90deg, #3aa04a, #ddd, #c04ac0); }
.lu__track i { position: absolute; top: -4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #e0e0e0; transition: left 200ms ease-out; }
.lu__v { color: var(--fc-tc); text-align: right; font-variant-numeric: tabular-nums; }
.fc__bottom { display: grid; grid-template-columns: 30px minmax(0, 1fr) 92px; gap: 3px; min-height: 0; }
.fc__tools { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; background: var(--fc-panel); border-radius: 3px; color: var(--fc-dim); font-size: 12px; }
.fc__tools i { font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 3px; }
.fc__tools .is-on { background: var(--fc-accent); color: #fff; }
.fc .timeline { display: flex; }
.tl__head { display: flex; align-items: center; gap: 14px; padding: 0 10px; height: 26px; flex: none; }
.tl__tc { color: var(--fc-tc); font-size: 13px; font-variant-numeric: tabular-nums; }
.tl__btns { display: flex; gap: 6px; color: var(--fc-dim); }
.tl__btns i { font-style: normal; display: grid; place-items: center; width: 22px; height: 20px; border-radius: 3px; background: #2a2a2a; font-size: 11px; }
.fc .timeline__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); flex: 1; min-height: 0; padding: 0; }
.fc .timeline__heads { display: grid; grid-template-rows: 30px 26px 24px 64px 52px; border-right: 1px solid #000; background: var(--fc-panel); font-size: 11px; }
.fc .th { display: flex; align-items: center; gap: 7px; padding: 0 8px; border-top: 1px solid #000; color: var(--fc-dim); }
.fc .th--ruler { border-top: 0; }
.fc .th i { font-style: normal; font-size: 9.5px; color: var(--fc-dim); filter: grayscale(1); }
.fc .th u { text-decoration: none; color: var(--fc-text); }
.th__p, .th__src { display: grid; place-items: center; width: 22px; height: 100%; color: #fff; font-weight: 600; font-size: 10.5px; background: var(--fc-accent); }
.th__src { margin-left: -8px; margin-right: 4px; background: #265bc1; }
.fc .ruler { height: 30px; background: var(--fc-panel); border-bottom: 2px solid var(--fc-render); background-image: repeating-linear-gradient(to right, #8d8d8d 0 1px, transparent 1px 30px); background-size: 100% 5px; background-position: 0 calc(100% - 2px); background-repeat: no-repeat; }
.fc .ruler__tc { top: 9px; height: auto; border: 0; padding-left: 2px; font-size: 10.5px; color: var(--fc-dim); font-family: "Inter", sans-serif; }
.fc .ruler__year { top: 0; z-index: 1; width: 9px; height: 10px; padding: 0; margin-left: -4px; border: 0; font-size: 0; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); background: #e68a2e; }
.fc .ruler__year:nth-of-type(2) { background: #5794ec; } .fc .ruler__year:nth-of-type(3) { background: #8a9b3b; } .fc .ruler__year:nth-of-type(4) { background: #d84a5a; }
.fc .clip { display: grid; grid-template-rows: 26px 24px 64px 52px; border-top: 0; }
.fc .clip__t { grid-row: 1; align-self: stretch; justify-self: start; margin: 2px 0; padding: 2px 5px; max-width: 46px; background: var(--fc-title); color: #fff; font-size: 10.5px; border-radius: 1px; }
.fc .clip__v { grid-row: 3; display: grid; grid-template-rows: 16px 1fr; gap: 0; margin: 1px 0; padding: 0; border-radius: 1px; background: var(--fc-clip); border: 0; border-right: 1px solid #0b2231; align-items: stretch; overflow: hidden; }
.fc .clip__v img { grid-row: 2; height: 100%; width: auto; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.fc .clip__name { grid-row: 1; padding: 1px 5px 0; font-size: 11px; line-height: 15px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: clip; display: block; -webkit-line-clamp: unset; }
.fc .clip__a { grid-row: 4; margin: 1px 0; border-radius: 1px; border: 0; border-right: 1px solid #0b2231; background-color: var(--fc-clip);
  background-image: linear-gradient(var(--fc-clip), var(--fc-clip)), repeating-linear-gradient(to right, var(--fc-wave) 0 2px, transparent 2px 3px);
  background-size: 100% 16px, 100% 100%; background-repeat: no-repeat; -webkit-mask: none; mask: none; }
.fc .clip.is-on .clip__v, .fc .clip.is-on .clip__a { box-shadow: inset 0 0 0 1.5px #ebebeb; }
@media (hover: hover) and (pointer: fine) { .fc .clip:hover .clip__v { filter: brightness(1.15); } }
.fc .fxlane__tr { top: 87px; height: 62px; padding: 0; font-size: 0; color: transparent; background: repeating-linear-gradient(135deg, #3a3a46 0 3px, #24242c 3px 6px); border: 1px solid #0b2231; border-radius: 1px; }
.fc .playhead { width: 1px; margin-left: 0; background: var(--fc-playhead); top: 0; }
.fc .playhead::before { left: -7px; top: 4px; width: 15px; height: 22px; border: 0; border-radius: 4px 4px 0 0; background: var(--fc-playhead); clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); }
.fc__meter { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: 1fr auto; gap: 4px; padding: 8px 6px; }
.mt__scale { display: flex; flex-direction: column; justify-content: space-between; font-size: 9px; color: var(--fc-dim); text-align: right; }
.mt__scale i { font-style: normal; }
.fc .meters { display: flex; gap: 4px; align-items: flex-end; padding: 0; background: #141414; border: 0; }
.fc .meters i { flex: 1; width: auto; height: 62%; background: #5fb355; animation: meter 0.9s steps(6) infinite; transform-origin: bottom; }
.mt__lufs { grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 1px 4px; font-size: 9px; color: var(--fc-dim); font-family: "JetBrains Mono", ui-monospace, monospace; }
.mt__lufs b { font-weight: 400; color: var(--fc-text); text-align: right; } .mt__lufs .is-hot { color: var(--fc-tc); } .mt__lufs .is-red { color: #e34850; }
.fc__status { display: flex; align-items: center; padding: 0 8px; font-size: 10.5px; color: var(--fc-dim); }
.fc ~ .edit__hint, .edit__hint { display: none; }
@media (max-width: 900px) {
  .fc { grid-template-rows: 28px minmax(0, 1fr) minmax(0, 1fr) 0; }
  .fc__top { grid-template-columns: 1fr; }
  .fc__ec, .fc__lu, .fc__tools, .fc__meter, .fc__status, .fc__icons, .fc__title, .pm__transport, .pm__marks, .pm__dd { display: none; }
  .fc__bottom { grid-template-columns: 1fr; }
  .pm__row { grid-template-columns: auto 1fr auto; }
  .fc .timeline__body { grid-template-columns: 74px minmax(0, 1fr); }
  .fc .th u, .fc .th i, .th__src { display: none; }
}
.fc .fxc__clip { font-family: "Inter", sans-serif; font-weight: 400; font-size: 11px; text-transform: none; letter-spacing: 0; margin: 0; }
.fc .meters { height: 100%; }
.fc .fxlane__tr { top: 91px; height: 46px; }

/* Leader to reel: one strip of film. */
.leader.is-handoff { animation: handoff-frame 2.6s linear forwards; pointer-events: none; }
.leader.is-handoff .leader__dial, .leader.is-handoff .leader__sweep, .leader.is-handoff .leader__n, .leader.is-handoff .leader__gate { display: none; }
.leader.is-handoff .leader__sprockets--l { animation: run 0.42s steps(10) infinite, off-l 1.4s cubic-bezier(0.6, 0, 0.8, 0.4) 1s forwards; }
.leader.is-handoff .leader__sprockets--r { animation: run 0.42s steps(10) infinite, off-r 1.4s cubic-bezier(0.6, 0, 0.8, 0.4) 1s forwards; }
.leader.is-handoff .leader__dirt { mix-blend-mode: overlay; animation: thin 2.6s linear forwards; }
/* 0 to 3%: black frame. Then the picture comes up through the gate. */
@keyframes handoff-frame { 0% { background: #000; } 3% { background: #000; } 40% { background: transparent; } 100% { background: transparent; } }
@keyframes off-l { to { transform: translateX(-110%); } }
@keyframes off-r { to { transform: translateX(110%); } }
@keyframes thin { 0% { opacity: 1; } 70% { opacity: 0.5; } 100% { opacity: 0; } }
.leader.is-handoff::after { animation: thin 2.6s linear forwards; }

/* The header waits until the reel is behind you. */
.mast { transition: opacity 400ms ease-out, transform 400ms var(--ease); }
html.at-opening .mast, html.has-leader .mast { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.mast__side--r { margin-left: auto; }
/* Header: his name on the left, the two pages that aren't this one on the right, the sound. */
.mast { grid-template-columns: auto 1fr auto; padding-right: calc(var(--gutter) + 52px); }
.mast__name { justify-self: start; padding-left: 0; }
.mast__side--r { justify-content: flex-end; }
body.is-home .mast { position: fixed; left: 0; right: 0; }
@media (max-width: 560px) {
  .mast { grid-template-columns: auto 1fr; padding-right: calc(var(--gutter) + 42px); }
  .mast__name { grid-column: 1; justify-self: start; font-size: 0.78rem; letter-spacing: 0.24em; }
  .mast__side--r { grid-row: 1; grid-column: 2; gap: 14px; font-size: 0.8rem; }
  .mast__sound { top: 50%; transform: translateY(-50%); }
}
/* Now Showing: one picture, full bleed, no frames inside frames. */
.scene--films .scene__bg video { border: 0; border-image: none; }
/* Now Showing: a straight cut between films, on the same beat as the marquee. */
.scene--films .scene__bg { perspective: none; }
.scene--films .scene__bg video { visibility: visible !important; opacity: 0 !important; transform: none !important; transition: none !important; }
.scene--films .scene__bg video.is-on { opacity: 1 !important; }

/* Titles burned into the picture, the way a film credits itself:
   white letters on the image, halation, grain, a little weave. */
.titlecard { background: none; border: 0; outline: 0; box-shadow: none; color: #f4f0e6; padding: 0; max-width: 90vw;
  text-shadow: 0 0 1px rgba(255, 250, 240, 0.7), 0 0 14px rgba(255, 120, 60, 0.28), 0 1px 24px rgba(0, 0, 0, 0.5);
  filter: blur(0.25px); animation: weave 0.25s steps(2) infinite, title-flicker 4s steps(1) infinite; }
.titlecard__pre { font-family: var(--font); font-size: clamp(0.7rem, 1.2vw, 0.85rem); letter-spacing: 0.5em; color: #f4f0e6; }
.titlecard__name { font-weight: 400; letter-spacing: 0.24em; font-size: clamp(2rem, 6.2vw, 4.6rem); color: #f4f0e6; margin: 14px 0 12px; }
.titlecard__role { font-size: clamp(0.62rem, 1vw, 0.78rem); letter-spacing: 0.42em; color: rgba(244, 240, 230, 0.82); }
@keyframes title-flicker { 0%, 100% { opacity: calc(1 - var(--p, 0) * 1.6); } 37% { opacity: calc(0.94 - var(--p, 0) * 1.6); } }
.marquee { display: none; }
.scene--films .card__title, .scene--films .card__meta { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.scene--films .scene__copy { position: absolute; left: clamp(20px, 5vw, 72px); bottom: clamp(64px, 11vh, 110px); width: min(36rem, calc(100% - 40px)); padding: 0; text-align: left;
  color: #f4f0e6; text-shadow: 0 0 1px rgba(255, 250, 240, 0.6), 0 0 12px rgba(255, 120, 60, 0.22), 0 1px 22px rgba(0, 0, 0, 0.75); filter: blur(0.2px); }
.scene--films .card__no { display: none; }
.scene--films .card__title { font-family: var(--title); font-weight: 400; font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.05; color: #f4f0e6; }
.scene--films .card__meta { margin: 10px 0 0; font-size: 0.72rem; letter-spacing: 0.32em; color: rgba(244, 240, 230, 0.8); }
.scene--films .card__syn { margin: 14px 0 0; max-width: 30rem; font-size: 0.95rem; color: rgba(244, 240, 230, 0.9); }
.scene--films .card__fest { color: rgba(244, 240, 230, 0.7); }
.scene--films .card__laurels { justify-content: flex-start; }
.scene--films .line .btn, .scene--films .btn--ticket { all: unset; display: inline-block; margin-top: 16px; cursor: pointer; font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: #f4f0e6; border-bottom: 1px solid rgba(244, 240, 230, 0.6); padding-bottom: 3px; }
@media (hover: hover) and (pointer: fine) { .scene--films .line .btn:hover { color: #fff; border-color: #fff; } }
.scene--films .line .btn::before { display: none; }
/* Grain over the pictures. */
.opening__pin::after, .scene--films .scene__pin::before { content: ""; position: absolute; inset: -20%; z-index: 2; pointer-events: none; background: url("/media/grain.png"); opacity: 0.14; mix-blend-mode: overlay; animation: grain 0.42s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, -1%); } }
@media (max-width: 700px) { .scene--films .scene__copy { bottom: 56px; } .scene--films .card__syn { font-size: 0.85rem; } }
@media (prefers-reduced-motion: reduce) { .titlecard, .opening__pin::after, .scene--films .scene__pin::before { animation: none; } }

/* Real objects instead of CSS boxes: the printed title card and the marquee board. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.titlecard { background: none; border: 0; outline: 0; box-shadow: none; padding: 0; text-shadow: none; filter: none; width: min(760px, 92vw); max-width: none; }
.titlecard__img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.marquee { display: block; background: none; border: 0; padding: 0; width: min(900px, calc(100% - 24px)); }
.marquee::before { display: none; }
.marquee__img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.5)); }
.scene--films .card__title, .scene--films .card__meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.scene--films .scene__copy { left: 50%; transform: translateX(-50%); text-align: center; bottom: clamp(56px, 9vh, 96px); }
.scene--films .card__laurels { justify-content: center; }
/* Camera OSD: readouts sit in one row like a real monitor's overlay, white
   with a black edge, no bar behind them. */
.cam__hud { background: none; text-shadow: 0 0 2px #000, 0 0 1px #000, 1px 1px 0 #000; }
.cam__hud .vf__tc { position: static; transform: none; }
/* The editor's cursor: one small arrow over the panels, out of the grid. */
.fc { position: sticky; }
.fc__cursor { position: absolute; left: 0; top: 0; z-index: 20; width: 16px; height: 24px; pointer-events: none; transition: none; will-change: transform; }
.fc__cursor svg { display: block; width: 16px; height: 24px; transition: transform 80ms ease-out; transform-origin: 2px 2px; }
.fc__cursor.is-down svg { transform: scale(0.88); }
.fc__ghost { position: absolute; left: 14px; top: 18px; padding: 2px 6px; font-size: 10.5px; white-space: nowrap; color: #e6e6e6; background: rgba(58, 58, 70, 0.92); border: 1px solid #5794ec; border-radius: 2px; opacity: 0; }
.fc__cursor.is-dragging .fc__ghost { opacity: 1; }
.fc .cutline { position: absolute; z-index: 3; top: 60px; height: 120px; width: 1px; background: #fff; opacity: 0; }
.fc .cutline.is-on { opacity: 0.9; }
.fc .fxlane__tr.is-pending { opacity: 0; }
.fc .fxlane__tr.is-pending.is-dropped { opacity: 1; }
@media (max-width: 899px) { .fc__cursor { display: none; } }

/* One black for the whole site. Sections had five near-blacks between them,
   which showed as bands and lines where they met. */
:root { --ground: #0b0b09; }
html, body { background: var(--ground); }
body::before { display: none; }
.about, .lobby, .room, .lighttable__pin, .irisout__pin, .cam__pin, .circuit, .intertitle, .contact, .reels, .lens, .edit, .foot, .scene__pin, .scene__bg { background-color: var(--ground) !important; }
.mast { background: rgba(11, 11, 9, 0.92); border-bottom: 0; }
.fc { background: var(--ground); }

/* End card: the photo always fills the frame; the iris closes on his face. */
.irisout__img { inset: 0 auto 0 0; width: 112vw; transform: none !important; object-position: 50% 30%; }
.irisout__mask { background: radial-gradient(circle at 62% 40%, transparent calc(var(--r) - 1px), var(--ground) var(--r)) !important; }
@media (min-width: 900px) {
  .irisout__card { left: 5%; right: auto; width: 36%; }
}
@media (max-width: 899px) {
  .irisout__img { width: 100%; inset: 0; object-position: 50% 30%; }
  .irisout__mask { background: radial-gradient(circle at 50% 40%, transparent calc(30vmax - 1px), var(--ground) 30vmax) !important; }
}

/* The call sheet as a printout: office paper (ambientCG scan, CC0), toner
   type, a fold across the middle from being carried in a pocket. */
.callsheet { background: url("/media/paper/printer.jpg") center / 600px; color: #232220; border-radius: 0; transform: rotate(-0.8deg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 18px 40px rgba(0, 0, 0, 0.55); position: relative; }
.callsheet::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 49.6%, rgba(0, 0, 0, 0.07) 49.9%, rgba(255, 255, 255, 0.35) 50.2%, transparent 50.8%),
              linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 40%, rgba(0, 0, 0, 0.06)); }
.callsheet, .callsheet * { text-shadow: 0 0 0.35px rgba(20, 20, 18, 0.55); }
.cs__head { border-bottom-color: #232220; }
.cs__sched th { background: #2a2926; color: #f3f1ea; }
.cs__label, .cs__loc { color: #55534d; }
/* The footer: the star, photographed on the Boulevard. */
.foot { padding: 0 0 28px; }
.foot__star { display: block; width: 100%; height: auto; max-height: 70svh; object-fit: cover; margin-bottom: 22px; }

/* The ticket is two printed pieces of cardstock now, not a drawn box. */
.admit { display: flex; align-items: stretch; width: min(620px, 90vw); aspect-ratio: auto; padding: 0; background: none; border: 0; outline: 0; transform: rotate(-3deg);
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.35)) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45)); }
.admit:focus { outline: 0; }
.admit:focus-visible { filter: drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45)); }
.admit img { display: block; height: auto; }
.admit__main { width: 79.2%; } .admit__stub { width: 20.8%; }
.admit__main, .admit__stub { background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.admit__main::before, .admit__stub::before { display: none !important; }
@media (hover: hover) and (pointer: fine) { .admit:hover { transform: rotate(-2deg) translateY(-3px); } }

/* v13: no dead air between the last two frames. The links ride in the
   card, the contact section ends where its pinned frame ends, and the star
   is a whole frame of its own, so scrolling into it reads as a cut. */
.contact { padding-bottom: 0 !important; }
.irisout__card .elsewhere { display: flex; gap: 22px; justify-content: flex-start; margin: 10px 0 0; padding: 0; }
.irisout__card .elsewhere a { font-size: 0.95rem; }
.foot { position: relative; padding: 0 !important; margin: 0; }
.foot__star { height: 100svh; max-height: none; width: 100%; object-fit: cover; margin: 0; }
.foot__line { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; color: rgba(236,228,210,0.82); text-shadow: 0 1px 6px rgba(0,0,0,0.7); }

/* v14: the ending is one frame. Iris closes on Parker, the card holds, then
   a straight cut to the star. Desktop only; phones keep the stacked star. */
.irisout__star { display: none; }
@media (min-width: 900px) {
  .irisout { height: 380vh; }
  .irisout__star { display: block; position: absolute; inset: 0; z-index: 3; visibility: hidden; }
  .irisout__star img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .irisout.is-star .irisout__star { visibility: visible; }
  .foot { display: none; }
}
@media (min-width: 900px) {
  .irisout__star { inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); }
  .irisout__star .foot__line { font-family: var(--font); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
}
@media (min-width: 900px) {
  .irisout__pin { width: 100vw; margin-left: calc(50% - 50vw); }
  .irisout__star { inset: 0; width: auto; transform: none; }
}

/* v15: a film opens as a screening in the room you're already in. The
   house goes dark, the screen comes up, credits sit under it. */
html.is-screening, html.is-screening body { overflow: hidden; }
.scr { position: fixed; inset: 0; z-index: 90; overflow-y: auto; background: var(--ground); opacity: 0; transition: opacity 450ms ease-out; padding: 0 var(--gutter) 80px; }
.scr.is-on { opacity: 1; }
.scr__up { position: sticky; top: 0; display: block; margin: 0 0 0 auto; padding: 22px 0 14px; background: none; border: 0; font-family: var(--font); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(236,228,210,0.62); cursor: pointer; text-decoration: none; transition: color 120ms ease-out; z-index: 2; }
@media (hover: hover) and (pointer: fine) { .scr__up:hover { color: #ece4d2; } }
.scr__screen { position: relative; width: min(1180px, 100%, calc((100svh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; margin: 8px auto 0; background: #000; box-shadow: 0 0 140px 10px rgba(255, 244, 220, 0.05); }
.scr__screen img, .scr__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.scr__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.25); border: 0; cursor: pointer; color: #ece4d2; }
.scr__play span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(236,228,210,0.7); font-size: 1.3rem; padding-left: 5px; transition: transform 140ms ease-out, background-color 140ms ease-out; }
@media (hover: hover) and (pointer: fine) { .scr__play:hover span { transform: scale(1.06); background: rgba(236,228,210,0.12); } }
.scr__under { max-width: 720px; margin: 0 auto; padding-top: 44px; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity 500ms ease-out 500ms, transform 500ms var(--ease) 500ms; }
.scr.is-on .scr__under { opacity: 1; transform: none; }
.scr__meta { margin: 0; font-family: var(--font); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(236,228,210,0.55); }
.scr__title { margin: 10px 0 14px; font-family: var(--title); font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: 0.04em; color: #ece4d2; }
.scr__syn { margin: 0 auto; max-width: 560px; color: rgba(236,228,210,0.78); line-height: 1.6; }
.scr__fest { margin: 14px 0 0; font-size: 0.8rem; letter-spacing: 0.08em; color: rgba(236,228,210,0.6); }
.scr__credits { margin-top: 40px; }
.film-page .scr { position: relative; min-height: 100svh; opacity: 1; z-index: auto; padding-top: 64px; }
.film-page .scr__under { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .scr__screen { width: 100%; margin-top: 0; }
  .scr__under { padding-top: 28px; }
}
.scr__up { width: max-content; }
.scr__up:focus:not(:focus-visible) { outline: none; }
.film-page .scr { padding-top: 40px; }

/* v16: things on the desk answer the hand. A polaroid lifts off the sheet
   when you reach for it; a scene on the call sheet gets highlighted the way
   an AD marks your scene before handing the sheet over. */
@media (hover: hover) and (pointer: fine) {
  .polaroid { transition: translate 150ms ease-out, scale 150ms ease-out, box-shadow 150ms ease-out, filter 150ms ease-out; }
  .polaroid:hover { translate: 0 -12px; scale: 1.06; z-index: 6; box-shadow: 0 26px 40px rgba(0,0,0,0.55), 0 6px 12px rgba(0,0,0,0.35); }
  .polaroids:hover .polaroid:not(:hover) { filter: brightness(0.82); }
  .cs__sched tbody b { background-image: linear-gradient(100deg, rgba(255, 226, 40, 0) 0, rgba(255, 226, 40, 0.62) 4px, rgba(255, 226, 40, 0.55) calc(100% - 4px), rgba(255, 226, 40, 0) 100%); background-repeat: no-repeat; background-position: 0 60%; background-size: 0% 72%; padding: 0 3px; margin: 0 -3px; transition: background-size 240ms ease-out; mix-blend-mode: multiply; }
  .cs__sched tbody tr:hover b { background-size: 100% 72%; }
}

/* Hand-torn tape: ragged short ends. */
.polaroid::before { clip-path: polygon(3% 0, 97% 2%, 99% 18%, 96% 34%, 100% 52%, 97% 70%, 99% 86%, 96% 100%, 4% 98%, 1% 82%, 4% 66%, 0 48%, 3% 30%, 0 14%); }
.polaroid:nth-child(2)::before { clip-path: polygon(1% 2%, 99% 0, 96% 16%, 100% 30%, 97% 48%, 100% 64%, 96% 82%, 99% 100%, 2% 97%, 5% 80%, 1% 62%, 4% 44%, 0 26%, 4% 12%); transform: rotate(4deg); }
.polaroid:nth-child(3)::before { clip-path: polygon(4% 0, 96% 3%, 100% 20%, 97% 38%, 99% 56%, 95% 74%, 99% 94%, 97% 100%, 1% 100%, 4% 84%, 0 66%, 3% 46%, 1% 28%, 5% 12%); transform: rotate(-6deg); }

/* The edit bay's how-to lives where an editing app puts one: an info bar
   under the menu, in the app's own blue, readable at a glance. */
.fc__note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px; background: rgba(87, 151, 236, 0.13); border-top: 1px solid rgba(87, 151, 236, 0.35); border-bottom: 1px solid rgba(87, 151, 236, 0.35); color: #d1d1d1; font-family: "Inter", var(--font); font-size: 15px; letter-spacing: 0; }
.fc__note-i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #5794ec; color: #0b0b0b; font: 700 12px/1 Georgia, serif; font-style: italic; flex: none; }
@media (max-width: 700px) { .fc__note { font-size: 13px; } }
.fc { grid-template-rows: 28px auto minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 900px) { .fc { grid-template-rows: 28px auto minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 900px) {
  .fc .fc__ec, .fc .fc__lu, .fc .fc__meter, .fc .fc__tools { display: none !important; }
  .fc .fc__top, .fc .fc__bottom { grid-template-columns: minmax(0, 1fr) !important; }
}

/* The scratches and grain are on the film, so they stay inside the frame as
   it pulls back. The room around it is the same black as the next scene,
   so there is no edge between the reel and the call sheet. */
.opening__pin::before, .opening__pin::after { clip-path: inset(calc(var(--p) * 10%) round calc(var(--p) * 6px)); inset: 0; }
.opening__frame { outline: none; }
.opening, .opening__pin { background: var(--ground); }

/* ===== v17: Parker's Apple TV. A TV on the wall in the dark, tvOS home
   with two apps. The home screen is drawn in container units so it reads
   like the same 1080p screen at any size; the apps open full screen. */
.tv { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(60px, 8vw, 120px); background: var(--ground); }
.tv__set { position: relative; width: min(1180px, 100%); margin: 0 auto; padding: clamp(5px, 0.7vw, 10px); background: linear-gradient(#141414, #0a0a0a); border-radius: clamp(6px, 0.8vw, 12px); box-shadow: 0 0 0 1px #262626, 0 40px 120px -20px rgba(0, 0, 0, 0.9); }
.tv__set::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 64px; height: 4px; margin-left: -32px; border-radius: 2px; background: #1b1b1b; }
.tv__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #000; container-type: size; }
.tv__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 32%); }
.tv::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1500px, 120%); height: 70%; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(closest-side, var(--tv-glow, rgba(150, 30, 30, 0.16)), transparent); filter: blur(30px); transition: background 600ms ease-out; }
.tv[data-glow="aer"]::before { --tv-glow: rgba(90, 130, 170, 0.16); }

.tvos { position: absolute; inset: 0; font-family: "Inter", var(--font); color: #fff; }
.tvos__shelf { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms ease-out; }
.tvos__shelf img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.tvos__shelf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 44%, rgba(0,0,0,0) 70%); }
.tvos[data-focus="mfx"] .tvos__shelf--mfx, .tvos[data-focus="aer"] .tvos__shelf--aer { opacity: 1; }
.tvos__dock { position: absolute; left: 4.6cqw; bottom: 7cqh; display: flex; gap: 2.4cqw; }
.tvos__app { position: relative; display: block; width: 17cqw; padding: 0; background: none; border: 0; cursor: pointer; color: inherit; perspective: 60cqw; }
.tvos__icon { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 3; border-radius: 1.3cqw; overflow: hidden; background: #000; box-shadow: 0 0.6cqw 1.6cqw rgba(0,0,0,0.5); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform 180ms ease-out, box-shadow 180ms ease-out; }
.tvos__app.is-focus .tvos__icon { --s: 1.14; box-shadow: 0 2.2cqw 3.6cqw rgba(0,0,0,0.6); }
.tvos__icon .mfx-m { width: 46%; height: auto; }
.tvos__icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tvos__icon b { position: relative; font-weight: 500; font-size: 2.1cqw; letter-spacing: 0.02em; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.tvos__gloss { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 180ms ease-out; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,0.32), rgba(255,255,255,0) 55%); }
.tvos__app.is-focus .tvos__gloss { opacity: 1; }
.tvos__label { display: block; margin-top: 2.3cqw; text-align: center; font-size: 1.45cqw; font-weight: 500; opacity: 0; transform: translateY(-0.4cqw); transition: opacity 150ms ease-out, transform 150ms ease-out; }
.tvos__app.is-focus .tvos__label { opacity: 1; transform: none; }
.tvos__app:focus-visible { outline: none; }

/* The app takes the whole screen, grown out of the TV it was opened on. */
html.is-app, html.is-app body { overflow: hidden; }
.mfx, .aer { position: fixed; inset: 0; z-index: 80; transform-origin: 0 0; }
.mfx[hidden], .aer[hidden] { display: none; }

/* ManleyFlix */
.mfx { overflow-y: auto; overflow-x: hidden; background: #141414; color: #fff; font-family: "Inter", var(--font); }
.mfx__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 18px 4vw; background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0)); }
.mfx__back { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background-color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .mfx__back:hover { background: rgba(255,255,255,0.24); } }
.mfx__word { font-family: "Bebas Neue", "Oswald", sans-serif; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: 0.02em; color: #e50914; transform: perspective(300px) rotateX(10deg); text-shadow: 0 2px 0 #5e0207; }
.mfx__bill { position: relative; height: min(82vh, 56.25vw); min-height: 420px; }
.mfx__bill-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mfx__bill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(77deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 62%), linear-gradient(to top, #141414 0%, rgba(20,20,20,0) 30%); }
.mfx__bill-copy { position: absolute; z-index: 1; left: 4vw; bottom: 26%; max-width: min(560px, 80vw); }
.mfx__kind { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: #ddd; }
.mfx__kind .mfx-m { width: 22px; }
.mfx__bill-t { margin: 0 0 14px; font-family: "Bebas Neue", "Oswald", sans-serif; font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: 0.9; letter-spacing: 0.01em; text-shadow: 0 3px 20px rgba(0,0,0,0.5); }
.mfx__bill-s { margin: 0 0 22px; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.4; text-shadow: 0 2px 6px rgba(0,0,0,0.6); }
.mfx__play { display: inline-flex; align-items: center; padding: 10px 28px 10px 22px; border-radius: 4px; background: #fff; color: #000; font-weight: 700; font-size: 18px; text-decoration: none; transition: background-color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .mfx__play:hover { background: rgba(255,255,255,0.78); } }
.mfx__play:active { transform: scale(0.97); }

.mfx-row { position: relative; z-index: 1; margin-top: -3vw; padding: 0 0 2.6vw; }
.mfx-row + .mfx-row { margin-top: 0; }
.mfx-row__h { margin: 0 0 0.6vw; padding: 0 4vw; font-size: clamp(16px, 1.4vw, 22px); font-weight: 600; color: #e5e5e5; }
.mfx-row__track { display: flex; gap: 0.5vw; overflow-x: auto; overflow-y: visible; padding: 1vw 4vw 7vw; margin-bottom: -6vw; scroll-snap-type: x proximity; scroll-padding: 0 4vw; scrollbar-width: none; }
.mfx-row__track::-webkit-scrollbar { display: none; }
.mfx-tile { position: relative; flex: 0 0 calc((100vw - 8vw - 2.5vw) / 6); scroll-snap-align: start; color: #fff; text-decoration: none; z-index: 0; transition: transform 220ms ease-out, z-index 0s 220ms; }
.mfx-tile__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #222; }
.mfx-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.mfx-tile__img .mfx-m { position: absolute; top: 6%; left: 3%; width: 9%; }
.mfx-tile__name { position: absolute; left: 6%; right: 6%; bottom: 7%; font-family: "Bebas Neue", "Oswald", sans-serif; font-size: clamp(14px, 1.45vw, 24px); line-height: 0.95; letter-spacing: 0.02em; text-shadow: 0 2px 8px rgba(0,0,0,0.85); }
.mfx-tile__card { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 4px; padding: 10px 12px 12px; background: #181818; border-radius: 0 0 4px 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 160ms ease-out; }
.mfx-tile__play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #000; font-size: 11px; padding-left: 2px; }
.mfx-tile__meta { font-size: 11px; color: #bcbcbc; }
.mfx-tile__syn { font-size: 11px; line-height: 1.35; color: #e5e5e5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .mfx-tile:hover { transform: scale(1.32) translateY(-12%); z-index: 4; transition: transform 240ms ease-out 320ms, z-index 0s 0s; }
  .mfx-tile:hover .mfx-tile__img { border-radius: 4px 4px 0 0; }
  .mfx-tile:hover .mfx-tile__card { opacity: 1; transition-delay: 380ms; }
  .mfx-tile:first-child:hover { transform-origin: left center; }
}
.mfx-row--top .mfx-row__track { gap: 1.2vw; }
.mfx-top { position: relative; flex: 0 0 calc((100vw - 8vw) / 5.4); display: flex; align-items: flex-end; text-decoration: none; scroll-snap-align: start; transition: transform 160ms ease-out; }
.mfx-top__n { flex: 0 0 48%; margin-right: -12%; font-family: "Bebas Neue", "Oswald", sans-serif; font-size: clamp(110px, 13.5vw, 230px); line-height: 0.72; color: #141414; -webkit-text-stroke: 3px #595959; text-align: right; letter-spacing: -0.04em; }
.mfx-top__img { position: relative; flex: 0 0 52%; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; }
.mfx-top__img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .mfx-top:hover { transform: scale(1.04); } }
@media (max-width: 700px) {
  .mfx-tile { flex-basis: 42vw; }
  .mfx-top { flex-basis: 52vw; }
  .mfx-row__h { padding: 0 16px; }
  .mfx-row__track { padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
  .mfx__bill { height: 72svh; }
  .mfx__bill-copy { left: 16px; right: 16px; bottom: 18%; }
  .mfx-tile__name { font-size: 18px; }
}

/* Aerials: his photographs as the TV's screensaver. Each one drifts for
   eleven seconds and dissolves into the next. */
.aer { background: #000; overflow: hidden; cursor: none; }
.aer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2200ms ease-in-out; will-change: transform, opacity; }
.aer img.is-on { opacity: 1; }
.aer__cap { position: absolute; left: 4.5vw; bottom: 6vh; margin: 0; font-family: "Inter", var(--font); font-weight: 500; font-size: clamp(14px, 1.4vw, 22px); color: rgba(255,255,255,0.88); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.aer__hint { position: absolute; right: 4.5vw; bottom: 6vh; margin: 0; font-family: "Inter", var(--font); font-size: 13px; color: rgba(255,255,255,0.55); opacity: 0; transition: opacity 300ms ease-out; }
.aer.is-moved { cursor: default; }
.aer.is-moved .aer__hint { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .aer img { transition: none; } }

.mfx__bill-v { z-index: 0; }
.mfx__bill::after { z-index: 1; }
.mfx__bill-copy { z-index: 2; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mfx-top__n { color: #141414; -webkit-text-stroke: 4px #6d6d6d; }

/* v18: credits roll after the slate, then the star fades up out of black
   as its own frame. A fade from black is the one transition here. */
.irisout { height: 300vh; }
.foot { display: block !important; position: relative; height: 190vh; padding: 0 !important; background: var(--ground) !important; }
.foot__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; opacity: var(--fade, 0); }
.foot__star { width: 100%; height: 100%; max-height: none; object-fit: cover; margin: 0; }
.foot__pin .foot__line { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; font-family: var(--font); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(236,228,210,0.82); text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
body:not(.is-home) .foot { height: auto; }
body:not(.is-home) .foot__pin { position: relative; height: 60svh; opacity: 1; }
.mfx__bill::after { background: linear-gradient(to top, #141414 0%, rgba(20,20,20,0) 32%), linear-gradient(77deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 62%); }
/* Tape is a texture of real torn masking tape, not a box. */
.polaroid::before { clip-path: none !important; background: url("/media/props/tape/tape-1.png") center / 100% 100% no-repeat !important; width: 96px; height: 28px; margin-left: -48px; top: -12px; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }
.polaroid:nth-child(2)::before { background-image: url("/media/props/tape/tape-2.png") !important; }
.polaroid:nth-child(3)::before { background-image: url("/media/props/tape/tape-3.png") !important; }

/* ===== /preview/ only: draft renders standing in for the real ones. */
.draft-tag { display: none; }
.is-preview .draft-tag { display: inline-block; position: absolute; z-index: 30; top: 14px; left: 14px; padding: 4px 9px; border-radius: 3px; background: #ffd400; color: #111; font: 600 11px/1.3 "Inter", sans-serif; letter-spacing: 0.04em; text-transform: uppercase; max-width: 60vw; }
.is-preview .scene--films .scene__pin { --W: max(100vw, 177.78vh); --H: max(56.25vw, 100vh); }
.is-preview .draft-hall { position: absolute; left: 50%; top: 50%; width: var(--W); height: var(--H); transform: translate(-50%, -50%); object-fit: fill; z-index: 0; }
.is-preview .scene--films .scene__bg { position: absolute; inset: auto; z-index: 1; left: calc(50% - var(--W) / 2 + var(--W) * 0.297); top: calc(50% - var(--H) / 2 + var(--H) * 0.295); width: calc(var(--W) * 0.4068); height: calc(var(--H) * 0.3954); transform: none !important; }
.is-preview .scene--films .marquee { display: none; }
.is-preview .scene--films .scene__copy { z-index: 2; }
.is-preview .cam__screen { position: relative; overflow: visible !important; aspect-ratio: 933 / 555; }
.is-preview .draft-mon { position: absolute; z-index: 5; pointer-events: none; left: -46.9%; top: 0; margin-top: -33.86%; width: 192.94%; max-width: none; }
.is-preview .cam__body { background: none !important; box-shadow: none !important; border: 0 !important; }
.is-preview .cam__tally { display: none; }
.is-preview .draft-frame { position: relative; margin: 0 auto; width: min(1200px, 100%); padding: 0 var(--gutter) 80px; }
.is-preview .draft-frame img { width: 100%; display: block; }
.is-preview .fl { position: relative; padding: 80px var(--gutter) 120px; background: var(--ground); }
.is-preview .fl__beats { list-style: none; margin: 40px auto 0; padding: 0; width: min(1200px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.is-preview .fl__beat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; filter: saturate(0.7); }
.is-preview .fl__where { margin: 10px 0 4px; font: 600 12px/1.4 "Inter", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #ffd400; }
.is-preview .fl__cap { margin: 0; color: rgba(236,228,210,0.8); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 700px) { .is-preview .fl__beats { grid-template-columns: 1fr; } }
.draft-slate { position: relative; width: min(380px, 86vw); aspect-ratio: 5 / 6; background: url("/media/props/slate/slate.webp") center / 100% 100% no-repeat; margin-top: 20px; }
.draft-slate .slate__board { position: absolute; inset: 0; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.draft-slate label { position: absolute; left: 14.2%; width: 74.4%; height: 6.4%; margin: 0; font-size: 0; color: transparent; }
.draft-slate .row { display: contents; }
.draft-slate .row label:nth-child(1) { top: 67.2%; }
.draft-slate .row label:nth-child(2) { top: 76.5%; }
.draft-slate .slate__board > label { top: 85.9%; }
.draft-slate input, .draft-slate textarea { width: 100%; height: 100%; min-height: 0 !important; padding: 0 8px; border: 0 !important; background: transparent !important; font: 500 22px/1 "Caveat", cursive; color: #1e1d1b; resize: none; }
.draft-slate input::placeholder, .draft-slate textarea::placeholder { color: rgba(30,29,27,0.45); }
.draft-slate .btn { position: absolute; left: 50%; bottom: -64px; transform: translateX(-50%); }
.draft-slate .form__status { position: absolute; bottom: -100px; left: 0; right: 0; }
/* The star opens the way Parker closed: an iris. The iris-out on him, the
   credits on the black, then an iris-in on the star. Same move, bookended. */
.is-home .foot__pin { opacity: 1; clip-path: circle(calc(var(--fade, 0) * 78%) at 50% 46%); }
/* Preview: the monitor body has to fit inside the frame, so the feed is
   drawn at half width and the body grows around it. */
.is-preview .cam__screen { width: min(46vw, 70vh * 933 / 555 * 0.52) !important; margin: 18vh auto 0 !important; }

/* v19: the end card. Parker's photo of himself filming, full frame, and the
   slate held into his shot. Send claps it and pulls it back out of frame. */
.irisout__mask { display: none !important; }
.irisout__img { inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 30% 30% !important; }
@media (min-width: 900px) {
  .irisout { height: 240vh !important; }
  .irisout__card { top: 50% !important; bottom: auto !important; left: auto !important; right: 6vw !important; width: auto !important; max-height: none !important; opacity: 1 !important; transform: translate(calc((1 - var(--in, 0)) * 120%), -50%) rotate(calc((1 - var(--in, 0)) * 8deg - 2deg)) !important; transition: none !important; text-align: left; padding: 0 !important; }
  .irisout__card .draft-slate { width: min(440px, 34vw, 58vh * 5 / 6) !important; margin: 0 !important; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55)); }
}
.draft-slate { transition: transform 700ms cubic-bezier(.5,0,.75,0); }
.draft-slate.is-pulled { transform: translateX(160%) rotate(10deg); }
.draft-slate .btn { bottom: -66px !important; }
.end__links { display: flex; gap: 20px; margin: 96px 0 0; font-family: var(--font); font-size: 0.92rem; }
.end__links a { color: #ece4d2; text-shadow: 0 1px 8px rgba(0,0,0,0.8); text-decoration: none; border-bottom: 1px solid rgba(236,228,210,0.35); transition: border-color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .end__links a:hover { border-color: #ece4d2; } }
.draft-slate .sl-prod { top: 67.2%; } .draft-slate .sl-dir { top: 76.5%; } .draft-slate .sl-cam { top: 85.9%; }
.draft-slate label { position: absolute; left: 14.2%; width: 74.4%; height: 6.4%; margin: 0; font-size: 0; color: transparent; }
@media (max-width: 899px) {
  .irisout__img { position: relative !important; height: 64svh !important; }
  .irisout__card { margin-top: -18svh !important; padding: 0 var(--gutter) 40px !important; }
  .irisout__card .draft-slate { margin: 0 auto !important; }
  .end__links { justify-content: center; }
}
/* The star fades up out of black. No circle. */
.is-home .foot__pin { clip-path: none !important; opacity: var(--fade, 0); }
.draft-slate .slate__board > label.sl-prod { top: 67.2%; }
.draft-slate .slate__board > label.sl-dir { top: 76.5%; }
.draft-slate .slate__board > label.sl-cam { top: 85.9%; }
/* No Send box: the clapper sticks are the button. Clap it to send. */
.draft-slate .slate__board .btn { position: absolute !important; left: 4% !important; top: 3% !important; bottom: auto !important; width: 92% !important; height: 22% !important; transform: none !important; opacity: 0; cursor: pointer; padding: 0 !important; }
.draft-slate .btn:focus-visible { opacity: 1; background: transparent !important; outline: 2px solid #ece4d2; color: transparent; }
.draft-slate::after { content: "Clap it to send"; position: absolute; left: 0; right: 0; bottom: -46px; text-align: center; font: 500 26px/1 "Caveat", cursive; color: #ece4d2; text-shadow: 0 1px 8px rgba(0,0,0,0.85); pointer-events: none; }
.draft-slate .form__status { bottom: -84px !important; text-align: center; color: #ece4d2; text-shadow: 0 1px 8px rgba(0,0,0,0.85); }
.end__links { margin-top: 110px; }

/* Green screen into the real shot. All three layers are the same photo
   size with the same crop, so the cutout lands exactly on himself. */
.end__green, .end__parker { display: none; }
@media (min-width: 900px) {
  .end__green, .end__parker { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; pointer-events: none; }
  .end__green { opacity: calc(1 - var(--key, 0)); }
  .end__parker { transform: translateX(calc((1 - var(--enter, 0)) * -42%)); }
  .irisout { height: 320vh !important; }
}
@media (min-width: 900px) { .irisout__card { transform: translate(calc((1 - var(--in, 0)) * 170%), -50%) rotate(calc((1 - var(--in, 0)) * 8deg - 2deg)) !important; } }

/* Boulder to LA, until Parker answers: an index card on the black. */
.flight-todo { padding: clamp(80px, 12vw, 160px) var(--gutter); background: var(--ground); }
.flight-todo__card { position: relative; width: min(560px, 100%); margin: 0 auto; padding: 34px 38px 30px; color: #232220; transform: rotate(-1.2deg); background: url("/media/paper/printer.jpg") center / 520px, #f3efe6; background-blend-mode: multiply; box-shadow: 0 1px 1px rgba(0,0,0,0.3), 0 18px 34px rgba(0,0,0,0.5); background-image: repeating-linear-gradient(transparent 0 33px, rgba(70,110,170,0.28) 33px 34px), url("/media/paper/printer.jpg"); background-position: 0 58px, center; }
.flight-todo__card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 26px; width: 1px; background: rgba(200,60,70,0.45); }
.ft__h { margin: 0 0 10px; font: 600 30px/1.1 "Caveat", cursive; }
.ft__what, .ft__ask, .ft__qs { font: 500 23px/34px "Caveat", cursive; margin: 0; }
.ft__ask { margin-top: 8px; }
.ft__qs { padding-left: 22px; }

/* v20 slate: the board and the clapper stick are separate renders, graded
   to Parker's golden-hour shot. The stick hinges on its real pivot and comes
   down on send. The pitch is written in marker in the ROLL/SCENE/TAKE row. */
.draft-slate { background: none !important; container-type: inline-size; }
.sl__board, .sl__stick { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sl__stick { transform-origin: 16.36% 27.65%; transition: transform 110ms cubic-bezier(.6,0,1,1); }
.draft-slate.is-clap .sl__stick { transform: rotate(14deg); }
.sl__cells { position: absolute; left: 12.5%; right: 9.5%; top: 39.2%; height: 13.9%; margin: 0; display: grid; grid-template-columns: 24.6fr 2.7fr 24.9fr 2.5fr 23.5fr; align-items: center; pointer-events: none; }
.sl__cells span { font: 600 7.6cqw/1 "Caveat", cursive; color: #1d1c1a; text-align: center; transform: rotate(-2deg); }
.sl__cells span:nth-child(2) { grid-column: 3; }
.sl__cells span:nth-child(3) { grid-column: 5; }
.draft-slate input, .draft-slate textarea { font-size: 5.6cqw !important; color: #141312 !important; }
.draft-slate input::placeholder { color: rgba(20,19,18,0.5) !important; }
.draft-slate::after, .end__links a, .draft-slate .form__status { text-shadow: 0 0 2px rgba(0,0,0,0.9), 0 2px 14px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.7) !important; }
.draft-slate::after { font-size: 30px; }
.end__links { font-size: 1.02rem; }
/* After the clap lands, the slate is pulled out of frame. */
.draft-slate.is-pulled { transition: transform 700ms cubic-bezier(.5,0,.75,0) 250ms; }

.end__sent { position: absolute; left: 0; right: 0; top: 40%; margin: 0; text-align: center; font: 600 40px/1.15 "Caveat", cursive; color: #f4efe4; opacity: 0; transition: opacity 500ms ease-out 900ms; pointer-events: none; text-shadow: 0 0 2px rgba(0,0,0,0.9), 0 2px 14px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.7); }
.draft-slate.is-pulled ~ .end__sent { opacity: 1; }

/* No header on the home take (Caleb, 2026-10-25: "I don't think we need a
   header"). The one control that stays is sound, as a small projector
   button in the corner. */
.is-home .mast { background: none !important; border: 0 !important; pointer-events: none; height: 0; padding: 0 !important; }
.is-home .mast > :not(.mast__sound) { display: none !important; }
.is-home .mast__sound { position: fixed !important; right: 18px; bottom: 18px; top: auto !important; pointer-events: auto; z-index: 70; }
.is-home .mast { transform: none !important; opacity: 1 !important; visibility: visible !important; filter: none !important; }
.is-home .mast { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.is-home .mast__sound { transform: none !important; }

/* Hand-off from the camera: the last shot sits on top of the program
   monitor until Premiere's panels have grown in. */
.fc__handoff { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; pointer-events: none; }
.monitor__screen { position: relative; }
.cam__frame { transform-origin: 50% 50%; will-change: transform; }

.fc__handoff { inset: auto !important; z-index: 50 !important; }
/* The edit bay rides in under the camera's last 100vh, so the hand-off frame
   is already in place when the camera section lets go. */
@media (min-width: 900px) { .edit { margin-top: -100svh; position: relative; z-index: 3; } }
@media (min-width: 900px) {
  .lens { padding-bottom: 0 !important; }
  .fc { top: 0 !important; height: 100svh !important; }
}

@media (min-width: 900px) {
  .irisout__pin::after { content: ""; position: absolute; inset: 0; z-index: 60; background: var(--ground); opacity: var(--out, 0); pointer-events: none; }
}

.fc__handoff { inset: 0 !important; width: 100% !important; height: 100% !important; left: 0 !important; top: 0 !important; z-index: 6 !important; }
.edit { overflow: clip; }
/* The edit bay's section slides up under the camera's last screenful, so it
   must not paint its own black over the camera while it does. */
@media (min-width: 900px) { section.reels:has(.edit) { background: transparent !important; } }
@media (min-width: 900px) { .edit { background: transparent !important; } }

/* Skinny panels keep their content, cut off at the edge like Premiere does. */
.fc__ec, .fc__lu, .fc .monitor, .fc__bottom > * { min-width: 0; overflow: hidden; }
.fc__cursor.is-resize-x svg, .fc__cursor.is-resize-y svg { opacity: 0; }
.fc__cursor.is-resize-x::after, .fc__cursor.is-resize-y::after { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12l5-4v3h10V8l5 4-5 4v-3H7v3z' fill='white' stroke='black' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fc__cursor.is-resize-y::after { transform: rotate(90deg); }
/* The camera's pin is full bleed, so its last frame can grow edge to edge. */
@media (min-width: 900px) { .lens { padding-left: 0 !important; padding-right: 0 !important; } }

/* v21 chain: edit bay -> Mac -> end card. */
.desk__grow { position: fixed; z-index: 5; object-fit: cover; object-position: 30% 30%; pointer-events: none; opacity: 0; border-radius: 2px; }
.fc.is-windowed { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 40px 80px rgba(0,0,0,0.6); }
@media (min-width: 900px) {
  .desk-run { position: relative; z-index: 1; height: 260vh; }
  .desk-run > .desk { position: sticky; top: 0; }
  .edit { z-index: 3; }
  section.contact { background: transparent !important; position: relative; z-index: 4; }
  .irisout { position: relative; z-index: 4; }
}

/* v22: the premiere hall is the Director scene, and the camera rolls in. */
.scene--films .scene__pin { --W: max(100vw, 177.78vh); --H: max(56.25vw, 100vh); }
.hall__img { position: absolute; left: 50%; top: 50%; width: var(--W); height: var(--H); transform: translate(-50%, -50%); object-fit: fill; z-index: 0; }
.scene--films .scene__bg { position: absolute !important; inset: auto !important; z-index: 1; left: calc(50% - var(--W) / 2 + var(--W) * 0.3004) !important; top: calc(50% - var(--H) / 2 + var(--H) * 0.2305) !important; width: calc(var(--W) * 0.3993) !important; height: calc(var(--H) * 0.3885) !important; transform: none !important; }
.scene--films .scene__bg::before, .scene--films .scene__bg::after { display: none !important; }
.hall__banner { display: grid; place-items: center; position: absolute; z-index: 1; left: calc(50% - var(--W) / 2 + var(--W) * 0.378); top: calc(50% - var(--H) / 2 + var(--H) * 0.1181); width: calc(var(--W) * 0.2441); height: calc(var(--H) * 0.0628); }
.hall__banner span { font: 600 clamp(9px, 1.05vw, 17px)/1 "Oswald", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: #f3e6c4; text-shadow: 0 0 6px rgba(255, 210, 140, 0.55); white-space: nowrap; }
.scene--films .scene__copy { z-index: 2; }
.scene--films .marquee { display: none !important; }
.rollin { position: relative; height: 340vh; background: var(--ground); }
.rollin__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.rollin__c { display: block; width: 100%; height: 100%; }
.cam { position: relative; z-index: 2; }
@media (max-width: 899px) { .rollin { height: 220vh; } }

/* Hand-in: the Program monitor is the whole screen; its tabs and transport
   rows open with the top drag, and the frame is fit, letterboxed in black. */
.fc { --dt: 1; }
.fc .monitor > .fc__tabs, .fc .monitor > .pm__row, .fc .monitor > .pm__transport, .fc .monitor > .pm__marks { max-height: calc(var(--dt) * 80px); overflow: hidden; }
.fc.is-handin .monitor__screen { margin: 0 calc(var(--dt) * 6px); }
.fc.is-handin { background: #000 !important; }
.fc__handoff { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; background: #000; z-index: 6 !important; }
.cam__pin { background: #000 !important; }

/* The Mac stays on screen long enough to actually use: two screens under
   the edit bay's exit, then three to browse. */
@media (min-width: 900px) { .desk-run { height: 600vh !important; } }
/* The reel holds full frame until the hand-off into the camera on Parker's
   table is built; a shrink with no destination read as a mistake. */
.opening__frame { transform: none !important; border-radius: 0 !important; }
.opening__pin::before, .opening__pin::after { clip-path: none !important; }

/* One sound control: the speaker in the corner. */
.opening .sound { display: none !important; }
.mast__sound[aria-pressed="false"] .mast__wave { opacity: 0; }

/* The leader is up from the very first paint (an inline script decides
   before CSS paints), so the page never flashes before the 3 2 1. */
html.has-leader .leader { display: grid; animation: weave 160ms steps(2) infinite; }
html.no-leader .leader { display: none !important; }
html.has-leader body { overflow: hidden; }

/* The send line is a director's call, set like the site's title cards. */
.end__sent { font: inherit !important; display: grid; gap: 14px; justify-items: center; }
.end__sent b { font-family: "Cinzel", var(--title, serif); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: 0.06em; line-height: 1; color: #f4efe4; }
.end__sent span { font-family: var(--font); font-size: 0.82rem; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(244,239,228,0.85); }
.end__sent b { white-space: nowrap; font-size: clamp(2rem, 3.4vw, 3.3rem); }
.end__sent span { white-space: nowrap; font-size: 0.78rem; }
@media (max-width: 700px) { .end__sent span { white-space: normal; letter-spacing: 0.2em; text-align: center; padding: 0 16px; } }

/* Work-in-progress frames for Parker's review. */
.wip { position: absolute; inset: 0; z-index: 95; pointer-events: none; border: 4px solid #e3262b; }
.wip__tag { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; gap: 12px; align-items: baseline; width: max-content; max-width: min(760px, calc(100% - 32px)); margin: 0; padding: 10px 16px; background: #e3262b; color: #fff; font: 500 14px/1.4 "Inter", var(--font); border-radius: 3px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.wip__tag b { flex: none; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 700px) { .wip__tag { flex-direction: column; gap: 4px; font-size: 12px; top: 10px; } }

/* v23 hall: whole-frame renders, one per film. */
.hall__stack { position: absolute; left: 50%; top: 50%; width: var(--W); height: var(--H); transform: translate(-50%, -50%); z-index: 0; background: #000; }
.hall__f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 260ms ease-in-out; }
.hall__f.is-on { opacity: 1; }
.scene--films .scene__bg, .hall__banner, .hall__img { display: none !important; }
.scene--films .scene__copy { background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0)); padding-top: 60px; }
/* The film's card sits to the side so the P. MANLEY chair stays clear. */
@media (min-width: 900px) {
  .scene--films .scene__copy { left: 4vw !important; right: auto !important; width: min(380px, 30vw) !important; text-align: left !important; background: none !important; padding-top: 0 !important; bottom: 8vh !important; }
  .scene--films .scene__copy .line { text-align: left !important; align-items: flex-start !important; }
  .scene--films .scene__copy .card__syn, .scene--films .scene__copy p { text-shadow: 0 1px 10px rgba(0,0,0,0.9); margin-left: 0 !important; }
}
@media (min-width: 900px) { .scene--films .scene__copy { transform: none !important; } }
@media (min-width: 900px) { .scene--films .card__laurels, .scene--films .card__fest { justify-content: flex-start !important; text-align: left !important; } }

/* Phone: the same order, with clean cuts. The hall frame sits whole at the
   top with the film's card under it; the camera roll-in is a desktop move. */
@media (max-width: 899px) {
  .rollin { display: none !important; }
  .scene--films .scene__pin { --W: 100vw; --H: 56.25vw; }
  .hall__stack { top: 18svh; transform: translateX(-50%); }
  .scene--films .scene__copy { top: calc(18svh + 56.25vw + 24px) !important; bottom: auto !important; background: none !important; }
}

/* v24: the cinematography scene plays on the 3D camera's own monitor. */
.rig__base, .rig__glass { display: none; }
@media (min-width: 900px) {
  .cam__pin { padding: 0 !important; display: block !important; }
  .rig__base, .rig__glass { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
  .rig__base { z-index: 1; }
  .rig__glass { z-index: 4; mix-blend-mode: screen; }
  .cam__body { position: static !important; width: auto !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  .cam__buttons, .cam__tally { display: none !important; }
  .cam__screen.is-mapped { position: absolute !important; left: 0; top: 0; width: 960px !important; height: 540px !important; aspect-ratio: auto !important; transform-origin: 0 0; z-index: 2; border-radius: 0 !important; }
  .cam__screen.is-mapped .cam__hud { font-size: 15px; }
  .pan__cap { position: absolute !important; z-index: 5; left: 0; right: 0; bottom: 3vh; margin: 0 !important; }
}
@media (min-width: 900px) { .cam__body { will-change: auto !important; transform: none !important; contain: none !important; filter: none !important; } }
@media (min-width: 900px) { .cam .pan__cap { top: 2.5vh; bottom: auto !important; } .cam .lens__title { font-size: clamp(1.6rem, 2.4vw, 2.4rem) !important; } }

/* v25: the reel lives on Parker's camera, on his table. */
.knoll { display: none; }
@media (min-width: 900px) {
  .about { display: none !important; }
  .knoll { display: block; position: relative; height: 520vh; background: var(--ground); z-index: 1; }
  .knoll__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #1c120d; }
  .knoll__world { position: absolute; left: 0; top: 0; width: 1920px; height: 1200px; transform-origin: 0 0; will-change: transform; }
  .knoll__table { position: absolute; inset: 0; width: 1920px; height: 1200px; }
  .knoll__lcd { position: absolute; background: #000; }
  .knoll__paper { position: absolute; overflow: visible; }
  .knoll .callsheet { position: absolute; left: 0; top: 0; width: 700px; transform-origin: 0 0; background: none !important; box-shadow: none !important; border: 0 !important; mix-blend-mode: multiply; rotate: none !important; padding: 28px 30px !important; }
  .knoll .callsheet::before, .knoll .callsheet::after { display: none !important; }
}

@media (min-width: 900px) { .knoll { background: transparent !important; } }

@media (min-width: 900px) { .rollin { position: relative; z-index: 2; background: transparent !important; } }
.rollin { padding: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }

/* The hall's screen and the camera's monitor both open the film. */
.hall__screen { position: absolute; left: 33.4%; top: 26%; width: 33.2%; height: 32.5%; display: grid; place-items: center; pointer-events: auto; cursor: pointer; text-decoration: none; }
.hall__screen span { padding: 9px 18px; border-radius: 999px; background: rgba(0,0,0,0.55); color: #fff; font: 600 13px/1 "Inter", var(--font); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transform: scale(0.96); transition: opacity 140ms ease-out, transform 140ms ease-out; }
@media (hover: hover) and (pointer: fine) { .hall__screen:hover span { opacity: 1; transform: none; } }
.hall__stack { pointer-events: none; }
.cam__watch { display: inline-block; margin-top: 10px; padding: 9px 18px; border: 1px solid rgba(236,228,210,0.6); border-radius: 999px; color: #ece4d2; text-decoration: none; font: 600 12px/1 "Inter", var(--font); letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 120ms ease-out, color 120ms ease-out; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { .cam__watch:hover { background: #ece4d2; color: #111; } }
.pan__cap { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.pan__cap a { pointer-events: auto; }
.cam__screen.is-mapped { cursor: pointer; pointer-events: auto; }
/* Camera: the film's title and its Watch button sit to the left of the rig,
   the way the hall puts the film's card beside the chair. */
@media (min-width: 900px) {
  .cam .pan__cap { top: auto !important; bottom: 8vh !important; left: 4vw !important; right: auto !important; width: min(300px, 22vw); align-items: flex-start; text-align: left; }
  .cam .lens__title { font-size: clamp(1.4rem, 2vw, 2rem) !important; text-shadow: 0 2px 12px rgba(0,0,0,0.9); }
  .cam .lens__meta { text-align: left; }
}
.cam__screen.is-mapped, .cam__screen.is-mapped .cam__frame { overflow: hidden !important; }
@media (min-width: 900px) { .cam .lens__meta { max-width: 220px; } }
/* The camera stays in the theater: the roll-in's last frame is the room
   behind the rig, so the cut lands on the same monitor in the same place. */
@media (min-width: 900px) { .cam__pin { background: #000 url("/media/hall/rollin/060-screenless.webp") center / cover no-repeat !important; } }

/* The credits roll over the night sky above Hollywood Blvd; when they end
   the camera tilts down onto the star, which is the footer's frame. */
.sky { position: relative; }
.sky__pin { display: none; }
.sky[data-frames]:not([data-frames="0"]) .sky__pin { display: block; position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; z-index: 0; }
.sky__c { display: block; width: 100%; height: 100%; }
.sky__roll { position: relative; z-index: 1; }
.sky[data-frames]:not([data-frames="0"]) .sky__roll { padding-bottom: 160svh; }
.sky[data-frames]:not([data-frames="0"]) .sky__roll .roll { text-shadow: 0 1px 10px rgba(0,0,0,0.8); }

.foot.is-landed .foot__pin { opacity: 1 !important; }

/* Full bleed. The generic section gutter (40px a side) was framing the
   table and the end card, so the reel behind showed in strips on both edges
   during the flip-screen pull back (Caleb's screenshots, 2026-10-25). */
@media (min-width: 900px) {
  .knoll, #contact { padding: 0 !important; }
}

/* Credits read in beats, the way a film's end crawl does: the title alone
   and large, then the three Parker Manley cards, then the cast, then thanks,
   music and locations each with room of their own. */
.roll__pre { font-family: var(--title); font-size: clamp(1.9rem, 4.2vw, 3.4rem); letter-spacing: 0.08em; color: var(--ink); text-transform: none; margin: 0 0 clamp(120px, 22vh, 220px); }
.roll__pairs--top { margin-bottom: clamp(200px, 34vh, 340px); }
.roll__cols--names { margin-bottom: clamp(200px, 34vh, 340px); }
.roll__pairs--alone { margin: 0 auto clamp(140px, 24vh, 240px); }
.roll__pairs--alone:last-child { margin-bottom: 0; }

/* The slate is a prop in Parker's shot, not a form laid over it: held toward
   the lens at an angle, lit by the same low sun from the right, its shadow
   falling left. The links move to the credits so nothing sits on the photo. */
@media (min-width: 900px) {
  .irisout__card { top: 54% !important; right: 4vw !important; perspective: 1400px; }
  .irisout__card .draft-slate { width: min(500px, 37vw, 62vh * 5 / 6) !important; transform: rotateY(-18deg) rotateX(5deg) rotateZ(-2deg); transform-origin: 70% 60%; filter: drop-shadow(-26px 34px 30px rgba(20,14,6,0.55)) sepia(0.06) brightness(0.96) !important; }
  .irisout__card .draft-slate.is-pulled { transform: translateX(160%) rotate(10deg); }
  .irisout__card .end__links { display: none; }
}
.roll__reach a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(236,228,210,0.35); transition: border-color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .roll__reach a:hover { border-color: currentColor; } }
.cam__live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
@media (max-width: 899px) { .cam__live { display: none; } }
/* The credits roll down the middle of the sky, so its draft tag sits low. */
.sky__pin .wip__tag { top: auto !important; bottom: 14px; }

/* The edit bay's section stays laid over the Mac for two screens after its
   window has slid away; transparent, but it ate every click on the Chrome
   tabs for the first third of the Mac (2026-10-25). Only the window itself
   takes the pointer. */
@media (min-width: 900px) {
  .edit { pointer-events: none; }
  .edit .fc, .edit a, .edit button { pointer-events: auto; }
}

/* The end card inside the Contact tab (computer only). */
@media (min-width: 900px) {
  .irisout.is-in-tab { display: none; }
  .cpm.cpm--end { position: relative; overflow: hidden; height: 100%; container-type: size; }
  .cpm.cpm--end .cpm__shot { display: none; }
  .cpm--end .irisout__img, .cpm--end .end__green, .cpm--end .end__parker { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 30% 30% !important; }
  .cpm--end .irisout__mask { display: none; }
  .cpm--end .irisout__card { position: absolute; top: 45% !important; right: 5% !important; }
  .cpm--end .irisout__card .draft-slate { width: min(440px, 36cqw, 66cqh * 5 / 6) !important; }
  /* The Mac dissolves into the credits rolling up beneath it. */
  .desk-run { z-index: 5 !important; }
  .desk-run > .desk { opacity: calc(1 - var(--out, 0)); }
  .cpm--end .draft-slate::after { white-space: nowrap; }
}

/* The Mac finishes dissolving into the night sky before any credit is on
   screen: the roll starts a full window below the fold (Caleb, 2026-10-25,
   "start the text way lower"). */
@media (min-width: 900px) { .sky__roll { padding-top: 115svh !important; } }
/* Room after the last credit for the tilt down to the star. */
@media (min-width: 900px) { .sky[data-frames]:not([data-frames="0"]) .sky__roll { padding-bottom: 320svh; } }
/* A blurred shadow on every credit forced a repaint of each line over the
   sky on every frame of the roll; a tight one reads the same on a still sky. */
.sky[data-frames]:not([data-frames="0"]) .sky__roll .roll { text-shadow: 0 1px 2px rgba(0,0,0,0.85); }
.sky__roll { will-change: transform; }
/* The edit bay sits above the Mac while its window leaves (the Mac's run is
   raised over the credits, so the edit bay has to be raised over it). */
@media (min-width: 900px) { .edit { z-index: 6 !important; } }

/* Until End Credits is opened from the Dock, the Mac is the end of the page. */
@media (min-width: 900px) {
  html.credits-locked .is-home #contact, html.credits-locked .is-home ~ .foot, html.credits-locked body.is-home .foot { display: none !important; }
}
.roll__pre { white-space: nowrap; }
@media (max-width: 700px) { .roll__pre { white-space: normal; } }
/* A note from the slate takes the place of "Clap it to send", in the same
   hand, so the two never stack and nothing runs off the bottom of the tab. */
.draft-slate .form__status { bottom: -46px !important; margin: 0; font: 500 28px/1 "Caveat", cursive !important; color: #f2c9b6 !important; white-space: nowrap; }
.draft-slate .form__status[data-state="ok"] { display: none; }
.draft-slate:has(.form__status[data-state="err"]:not(:empty))::after { opacity: 0; }
/* In the tab the slate sits near the right edge, so its notes hang right. */
@media (min-width: 900px) {
  .cpm--end .draft-slate::after, .cpm--end .draft-slate .form__status { left: auto !important; right: 0 !important; text-align: right !important; font-size: clamp(18px, 2.2cqw, 28px) !important; }
}

/* Credits on pure black, then the palm-tree night comes up from under them:
   its dark sky melts into the black, it pins, and tilts down to the star. */
@media (min-width: 900px) {
  .sky[data-frames]:not([data-frames="0"]) { background: #0b0b0a; }
  /* A full window of black after the last credit: the scene only starts
     to come up once every credit has left (Caleb, 2026-10-26). */
  .sky[data-frames]:not([data-frames="0"]) .sky__roll { padding-bottom: 100svh !important; }
  /* Sticky only travels inside its parent's content box, and a last child's
     margin collapses out of it, so the room to hold the scene while it
     tilts is a spacer after it. */
  .sky[data-frames]:not([data-frames="0"])::after { content: ""; display: block; height: 220svh; }
  .sky[data-frames]:not([data-frames="0"]) .sky__pin { margin-bottom: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
  .sky[data-frames]:not([data-frames="0"]) .sky__pin .wip__tag { bottom: 14px; }
}
@media (min-width: 900px) { .sky[data-frames]:not([data-frames="0"]) .sky__pin.is-pinned { -webkit-mask-image: none; mask-image: none; } }

/* The tilt lands on the star, so the separate star footer would be a second
   star under the first. On the home page it ends on the render's last frame. */
@media (min-width: 900px) { body.is-home:has(.sky[data-frames]:not([data-frames="0"])) .foot { display: none !important; } }

/* Phone: same order, credits on black, then the scene. */
@media (max-width: 899px) { .sky[data-frames]:not([data-frames="0"]) .sky__pin { margin-bottom: 0; } .sky[data-frames]:not([data-frames="0"])::after { content: ""; display: block; height: 120svh; } .sky[data-frames]:not([data-frames="0"]) .sky__roll { padding-bottom: 20svh; } }
/* Any note from the slate (sending, sent, didn't go through) takes the
   hint's place; the two never stack. */
.draft-slate:has(.form__status:not(:empty))::after { opacity: 0; }
.draft-slate .form__status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; pointer-events: auto; }

/* Hover previews: a short muted loop of the film, faded in. */
.hover-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 200ms ease-out; pointer-events: none; }
.hover-loop.is-on { opacity: 1; }
.hover-loop--hall { inset: auto; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; z-index: 1; filter: brightness(0.92) contrast(0.96); }
.hover-loop--hall.is-on { opacity: 0.94; }
.scr { cursor: pointer; }
.scr .scr__screen, .scr a, .scr button { cursor: auto; }
.scr a, .scr button { cursor: pointer; }

/* The section you're in, beside the sound button: faint until you want it. */
.where { position: fixed; z-index: 90; transform: translateY(-50%); font-family: var(--font); }
.where.is-hidden { display: none; }
.where__now { padding: 6px 10px; border: 0; background: none; color: rgba(236,228,210,0.42); font: 500 11px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; text-shadow: 0 1px 6px rgba(0,0,0,0.7); transition: color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .where__now:hover { color: rgba(236,228,210,0.9); } }
.where__now[aria-expanded="true"] { color: rgba(236,228,210,0.9); }
.where__list { position: absolute; right: 0; bottom: calc(100% + 8px); margin: 0; padding: 6px 0; list-style: none; min-width: 180px; background: rgba(14,12,10,0.92); border: 1px solid rgba(236,228,210,0.14); border-radius: 8px; backdrop-filter: blur(10px); }
.where__list button { display: block; width: 100%; padding: 8px 14px; border: 0; background: none; color: rgba(236,228,210,0.8); font: 500 12px/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; text-align: right; cursor: pointer; transition: color 120ms ease-out, background-color 120ms ease-out; }
@media (hover: hover) and (pointer: fine) { .where__list button:hover { color: #fff; background: rgba(236,228,210,0.06); } }
@media (max-width: 700px) { .where__now { font-size: 10px; letter-spacing: 0.16em; } }

/* Parker, 2026-10-26: "Have the clap it to send a little more noticeable",
   "Can you include link to my youtube". The sticks themselves nudge open
   every few seconds until the slate is clapped, and the hint is bigger. */
@media (min-width: 900px) {
  .cpm--end .draft-slate::after { font-size: clamp(26px, 3.4cqw, 40px) !important; font-weight: 700 !important; color: #fff6e6 !important; bottom: -56px !important; }
  .cpm--end .draft-slate:not(.is-clap):not(.is-pulled) .sl__stick { animation: stick-nudge 4.2s ease-in-out 2.4s infinite; }
  .cpm--end .irisout__card .end__links { display: flex !important; justify-content: flex-end; gap: 0; margin: 64px 0 0 !important; }
  .cpm--end .irisout__card .end__links a:not([href*="youtube"]) { display: none; }
  .cpm--end .irisout__card .end__links a { display: inline-flex; align-items: center; gap: 7px; font-size: clamp(14px, 1.7cqw, 19px); font-weight: 600; border-bottom: 0; }
  /* The YouTube mark itself, so the link reads at a glance on the forest. */
  .cpm--end .irisout__card .end__links a[href*="youtube"]::before { content: ""; width: 1.45em; height: 1em; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 20'%3E%3Crect width='29' height='20' rx='5.5' fill='%23ff0033'/%3E%3Cpath d='M11.6 5.7v8.6l7.5-4.3z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6)); }
}
@keyframes stick-nudge { 0%, 70%, 100% { transform: rotate(0deg); } 78% { transform: rotate(-9deg); } 86% { transform: rotate(0deg); } 91% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .cpm--end .draft-slate .sl__stick { animation: none !important; } }

/* Parker, 2026-10-26: the title card holds a steady ~80% over the reel. The
   flicker made it read as changing through the video; it only fades as you
   scroll away now. */
.opening .titlecard { animation: weave 0.25s steps(2) infinite !important; opacity: max(0, calc(0.8 - var(--p, 0) * 1.6)) !important; }
@media (prefers-reduced-motion: reduce) { .opening .titlecard { animation: none !important; } }
/* Parker, 2026-10-26: "There's a weird glare on the monitor, could you remove
   that". The glass layer was the glare. */
.rig__glass { display: none !important; }

/* Photos on the table open big on click (Parker, 2026-10-26). */
.knoll__photo { position: absolute; z-index: 3; padding: 0; border: 0; background: none; cursor: zoom-in; pointer-events: auto; }
.knoll__pin, .knoll__world { pointer-events: auto; }
.photo-open { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8,7,6,0.86); opacity: 0; transition: opacity 200ms ease-out; cursor: zoom-out; }
.photo-open.is-on { opacity: 1; }
.photo-open img { max-width: min(88vw, 1400px); max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: scale(0.97); transition: transform 220ms ease-out; }
.photo-open.is-on img { transform: none; }

/* The hall screen behind the camera rig plays the film being shot. */
.cam__hallfilm { display: none; }
@media (min-width: 900px) {
  .cam__hallfilm { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
  .cam__hallfilm-in { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; -webkit-mask: url("/media/rig/hallscreen_mask.png") 0 0 / 100% 100% no-repeat; mask: url("/media/rig/hallscreen_mask.png") 0 0 / 100% 100% no-repeat; }
  .cam__hallfilm-in img { position: absolute; left: 0; top: 0; width: 960px; height: 540px; object-fit: cover; transform-origin: 0 0; filter: brightness(0.88) saturate(0.95); }
}

/* Parker's story beats and journey photos: the phone version of My Journey. */
.ft__beats { margin: 18px 0 0; padding: 0 0 0 1.2em; display: grid; gap: 10px; line-height: 1.5; }
.ft__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.ft__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
@media (max-width: 700px) { .ft__photos { grid-template-columns: repeat(2, 1fr); } }

/* My Journey (computer): a pinned frame sequence with his lines up top. */
.journey { display: none; }
@media (min-width: 900px) {
  .journey { display: block; position: relative; height: 520vh; background: transparent; }
  .journey__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #1c120d; }
  .journey__c { position: absolute; inset: 0; width: 100%; height: 100%; }
  /* His lines sit on a lined card like the phone version, so they read on
     wood and on the pale paper mountains alike. White text with a shadow
     disappeared over the Rockies (audit, 2026-10-26). */
  .jy__card { position: absolute; top: 3.5vh; left: 50%; z-index: 2; width: min(680px, 74vw); padding: 14px 22px 16px 40px; color: #232220; transform: translateX(-50%) rotate(-0.8deg); background-color: #f3efe6; background-image: repeating-linear-gradient(transparent 0 25px, rgba(70,110,170,0.24) 25px 26px), url("/media/paper/printer.jpg"); background-position: 0 44px, center; background-size: auto, 520px; background-blend-mode: multiply; box-shadow: 0 1px 1px rgba(0,0,0,0.3), 0 14px 30px rgba(0,0,0,0.45); transition: opacity 360ms ease-out; }
  .jy__card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 26px; width: 1px; background: rgba(200,60,70,0.45); }
  .jy__card.is-off { opacity: 0; }
  .jy__h { margin: 0 0 6px; font: 700 clamp(22px, 2.2vw, 32px)/1 "Caveat", cursive; color: #232220; }
  .jy__beats { list-style: none; margin: 0; padding: 0; display: grid; }
  .jy__beat { grid-area: 1 / 1; display: flex; gap: 16px; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity 320ms ease-out, transform 320ms ease-out; }
  .jy__beat.is-on { opacity: 1; transform: none; }
  .jy__beat p { margin: 0; flex: 1; font: 500 clamp(14px, 1.25vw, 19px)/1.45 var(--font); color: #232220; }
  .jy__beat img { width: clamp(64px, 7vw, 96px); aspect-ratio: 3 / 4; height: auto; object-fit: cover; border: 4px solid #fbfaf6; box-shadow: 0 6px 14px rgba(0,0,0,0.35); transform: rotate(3deg); flex: none; margin: -2px 0 -6px; }
  .flight-todo { display: none; }
}
@media (min-width: 900px) {
  .journey { padding: 0 !important; }
  .journey__pin .wip__tag { top: auto !important; bottom: 14px; }
  /* Bottom tags stay clear of the section label and sound button at the
     bottom right; at 1000 wide a 760px tag ran under them. */
  .journey__pin .wip__tag, .sky__pin .wip__tag { max-width: max(300px, calc(100% - 460px)); }
}
@media (min-width: 900px) { .journey { z-index: 2; } }

/* Phone: Parker's six desk photos, which on a computer sit on the table
   render. Below 900px the table is hidden and they never showed (audit,
   2026-10-26). Scattered prints, each opens big on a tap. */
.about__prints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; margin-top: 34px; }
.about__prints img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 5px solid #fbf8f0; box-shadow: 0 8px 18px rgba(0,0,0,0.45); }
.about__prints img:nth-child(3n+1) { rotate: -2.5deg; }
.about__prints img:nth-child(3n+2) { rotate: 1.5deg; translate: 0 6px; }
.about__prints img:nth-child(3n) { rotate: -1deg; }
.polaroid img, .about__prints img, .ft__photos img, .jy__beat img { cursor: zoom-in; }
/* The section label gets a backing on a phone, where it sits over call
   sheet text and credit names, and a tap target big enough for a thumb. */
@media (max-width: 899px) {
  .where__now { min-height: 36px; padding: 8px 12px; border-radius: 999px; background: rgba(11,11,10,0.62); color: rgba(236,228,210,0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}

/* Phone: the star is a 5:3 frame, and covering a portrait screen cut his
   name to "ARKER MANLE" (audit, 2026-10-26). Size it so the name spans the
   width, center it, and let its top and bottom melt into the black so no
   hard edge shows. The line under it clears the label and sound button. */
@media (max-width: 899px) {
  .is-home .foot__pin { background: #0b0b0a; }
  .is-home .foot__star { position: absolute; left: 50%; top: 46%; width: 236vw; height: auto; max-width: none; transform: translate(-50%, -50%); object-fit: initial; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%); }
  .is-home .foot__pin .foot__line { bottom: 76px; padding: 0 24px; line-height: 1.7; }
}

/* Phone: the end card is a plain section (its pin isn't sticky), but a later
   unconditional 300vh gave it three screens of scroll room, leaving about two
   screens of black between the links and the credits (audit, 2026-10-26). */
@media (max-width: 899px) {
  .irisout { height: auto !important; }
}

/* Phone camera scene: the pin was #000 on the #0b0b09 page, so every take
   sat in a visible black box, and the monitor hung at the top with half the
   screen empty under it (audit, 2026-10-26). Same ground, centered. */
@media (max-width: 899px) {
  .cam__pin { background: var(--ground, #0b0b09) !important; align-content: center; padding-top: 0 !important; }
}
