/* ==========================================================================
   Moments: The Screening Room + Happy Clients
   Uses the site's tokens from styles.css (ink, ivory, gold, wine, Newsreader).
   ========================================================================== */

.moments-page [id] {
  scroll-margin-top: 7rem;
}

/* ---------- Intro and program ---------- */
.screening-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: end;
  padding: clamp(9rem, 13vw, 12rem) 6vw clamp(4rem, 7vw, 6.5rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(80, 24, 37, 0.55), transparent 42%),
    var(--ink);
}

.screening-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -1rem; }

.screening-intro h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 8vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.screening-intro__lede {
  grid-column: 1;
  max-width: 34rem;
  margin: 0;
  color: rgba(243, 237, 227, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.65;
}

/* One sentence per line. */
.screening-intro__lede span { display: block; }

.program {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
  padding: 1.6rem 0 1.4rem;
  border-top: 1px solid rgba(210, 183, 121, 0.55);
  border-bottom: 1px solid rgba(210, 183, 121, 0.55);
}

.program__title {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

.program__list a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, auto) 1fr auto;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.42rem 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  transition: color 0.4s ease;
}

.program__list a::after {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  height: 0;
  border-bottom: 1px dotted rgba(243, 237, 227, 0.28);
  content: "";
}

.program__numeral {
  color: var(--gold-light);
  font-style: italic;
}

.program__time {
  grid-column: 4;
  color: rgba(243, 237, 227, 0.55);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.program__list a:hover,
.program__list a:focus-visible { color: var(--gold-light); }

.program__clients {
  display: inline-block;
  margin-top: 1.1rem;
  border-bottom: 1px solid rgba(210, 183, 121, 0.5);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Movements ---------- */
.screening {
  padding: 0 6vw clamp(6rem, 10vw, 10rem);
  background: var(--ink);
}

.screening__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3.5rem, 6vw, 6rem) clamp(1.5rem, 3vw, 3rem);
  margin-top: clamp(5rem, 9vw, 9rem);
}

/* An odd last film sits centered rather than leaving a gap. */
.screening__grid > .movement:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - clamp(0.75rem, 1.5vw, 1.5rem));
  justify-self: center;
}

.movement__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(210, 183, 121, 0.32);
  background: var(--ink-soft);
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.5);
}

.movement__screen::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 9, 0.1), transparent 35%, transparent 55%, rgba(10, 9, 9, 0.72));
  content: "";
  pointer-events: none;
}

.movement__screen picture,
.movement__screen img,
.movement__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movement__screen img {
  transform: scale(1.015);
  transition: transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1.2s ease;
  filter: saturate(0.92);
}

.movement__preview {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.movement__screen.is-previewing .movement__preview { opacity: 1; }
.movement__screen:hover img { transform: scale(1.045); filter: saturate(1); }

.movement__watch {
  position: absolute;
  z-index: 2;
  bottom: clamp(0.9rem, 1.6vw, 1.5rem);
  left: clamp(0.9rem, 1.6vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 1.15rem 0.6rem 0.6rem;
  border: 1px solid rgba(243, 237, 227, 0.45);
  background: rgba(10, 9, 9, 0.5);
  color: var(--ivory);
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.4s ease, border-color 0.4s ease;
}

/* The whole poster is clickable; the button stays the accessible control. */
.movement__watch::before {
  position: absolute;
  inset: -100vmax;
  content: "";
}

.movement__screen { cursor: pointer; }

.movement__watch:hover,
.movement__watch:focus-visible {
  border-color: var(--gold-light);
  background: rgba(10, 9, 9, 0.72);
}

.movement__watch-icon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
}

.movement__watch-icon::before {
  width: 0;
  height: 0;
  margin-left: 0.18rem;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
  border-left: 0.7rem solid var(--ink);
  content: "";
}

.movement__runtime {
  padding-left: 0.85rem;
  border-left: 1px solid rgba(243, 237, 227, 0.35);
  color: rgba(243, 237, 227, 0.75);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.movement__notes {
  padding-top: 1.6rem;
}

.movement__numeral {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.movement__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.movement__occasion {
  margin: 0.5rem 0 0;
  color: rgba(243, 237, 227, 0.55);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.movement__desc {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(243, 237, 227, 0.7);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.65;
}

.movement__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 1.4rem;
}

.movement__link {
  color: rgba(243, 237, 227, 0.55);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.movement__link:hover,
.movement__link:focus-visible { color: var(--ivory); border-color: rgba(243, 237, 227, 0.4); }

.movement__link.is-copied { color: var(--gold-light); }

/* Featured: Movement I */
.movement--featured .movement__screen {
  border-color: rgba(210, 183, 121, 0.5);
}

.movement--featured .movement__notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(2rem, 6vw, 6rem);
  padding-top: 2.2rem;
}

.movement--featured .movement__numeral,
.movement--featured .movement__title,
.movement--featured .movement__occasion { grid-column: 1; }

.movement--featured .movement__title { font-size: clamp(2.8rem, 5vw, 5.4rem); }

.movement--featured .movement__desc,
.movement--featured .movement__actions { grid-column: 2; }

.movement--featured .movement__desc { grid-row: 1 / span 2; align-self: end; margin-top: 0; font-size: 1.25rem; }

/* Arriving from a shared link: a slow gold glow on that film. */
.movement.is-linked .movement__screen,
.review.is-linked .review__screen {
  animation: linked-glow 3.2s ease-out 1;
}

@keyframes linked-glow {
  0%, 30% { box-shadow: 0 0 0 1px var(--gold-light), 0 0 3rem rgba(210, 183, 121, 0.35); }
  100% { box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.5); }
}

/* ---------- Happy clients ---------- */
.clients {
  padding: clamp(6rem, 10vw, 10rem) 6vw;
  background:
    radial-gradient(circle at 90% 15%, rgba(80, 24, 37, 0.45), transparent 38%),
    var(--ink-soft);
}

.clients__intro h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.review {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 32rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.review__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(210, 183, 121, 0.45);
  background: var(--ink);
  box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.review__screen::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 9, 9, 0.75));
  content: "";
  pointer-events: none;
}

.review__screen picture,
.review__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.review__desc {
  margin: 1.2rem 0 0;
  color: rgba(243, 237, 227, 0.7);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.65;
}

.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  --col: calc((100% - 2 * clamp(1.5rem, 3vw, 2.5rem)) / 3);
}

.client-card { width: var(--col); }
.client-card--pair { width: calc(2 * var(--col) + clamp(1.5rem, 3vw, 2.5rem)); }

.client-card figure { margin: 0; }

.client-card__photos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}

.client-card__photo {
  --frame: rgba(210, 183, 121, 0.62);
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  padding: clamp(0.55rem, 1.1vw, 0.85rem);
  border: 1px solid var(--frame);
  background: linear-gradient(145deg, #1d1715 0%, #0c0a0a 48%, #1d1715 100%);
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 4px rgba(210, 183, 121, 0.22),
    0 2rem 4.5rem rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

/* Corner flourishes, just inside the outer line. */
.client-card__photo::before {
  --c: var(--gold-light);
  --l: clamp(0.9rem, 1.6vw, 1.3rem);
  position: absolute;
  z-index: 1;
  inset: 6px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
  content: "";
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.client-card__photo picture {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(210, 183, 121, 0.5), 0 0 1.2rem rgba(0, 0, 0, 0.6);
}

.client-card__photo:hover,
.client-card__photo:focus-visible {
  --frame: var(--gold-light);
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 4px rgba(210, 183, 121, 0.4),
    0 2rem 4.5rem rgba(0, 0, 0, 0.55),
    0 0 2.2rem rgba(210, 183, 121, 0.14);
}

.client-card__photo:hover::before,
.client-card__photo:focus-visible::before { opacity: 1; }

.client-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.client-card__photo:hover img,
.client-card__photo:focus-visible img { transform: scale(1.04); }

.client-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.9rem;
  padding-top: 1rem;
}

/* A photo's own label (e.g. who is in it), shown under that photo. */
.client-card__item { display: flex; flex-direction: column; min-width: 0; }

.client-card__label {
  display: block;
  padding-top: 0.8rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  text-align: center;
}

/* A pair shares one caption, centered between gold lines that run under both photos. */
.client-card--pair figcaption {
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  padding-top: 1.1rem;
}

.client-card--pair figcaption::before,
.client-card--pair figcaption::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 183, 121, 0.6));
  content: "";
}

.client-card--pair figcaption::after {
  background: linear-gradient(90deg, rgba(210, 183, 121, 0.6), transparent);
}

.client-card--pair figcaption::before { margin-right: 0.4rem; }
.client-card--pair figcaption::after { margin-left: 0.4rem; }

.client-card__name {
  font-family: var(--serif);
  font-size: 1.45rem;
}

.client-card__caption {
  color: rgba(243, 237, 227, 0.58);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

/* ---------- Theater (film player) ---------- */
body.theater-open { overflow: hidden; }

.theater,
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: var(--ivory);
  overflow: hidden;
}

.theater::backdrop,
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.94);
}

.theater[open],
.lightbox[open] {
  animation: theater-dim 0.7s ease both;
}

@keyframes theater-dim {
  from { background: rgba(0, 0, 0, 0); }
  to { background: #000; }
}

.theater__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-origin: 0 0;
}

.theater__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* letterbox */
  background: #000;
}

.theater__chrome {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

.theater.is-idle .theater__chrome { opacity: 0; }
.theater.is-idle { cursor: none; }

.theater__top,
.theater__bar {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 3vw, 2.5rem);
  pointer-events: auto;
}

.theater__top {
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
}

.theater__bar {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
}

.theater__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.theater__numeral {
  color: var(--gold-light);
  font-style: italic;
}

.theater button {
  border: 0;
  background: none;
  color: var(--ivory);
  font: inherit;
  cursor: pointer;
}

.theater__close,
.lightbox__close {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(243, 237, 227, 0.5) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
}

.theater__toggle,
.theater__mute {
  display: grid;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
}

.theater__toggle-icon {
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
  border-left: 0.82rem solid var(--ivory);
}

.theater.is-playing .theater__toggle-icon {
  width: 0.8rem;
  height: 1rem;
  margin: 0;
  border: 0;
  border-right: 0.26rem solid var(--ivory);
  border-left: 0.26rem solid var(--ivory);
}

/* Sound: a speaker (waves when on, a small x when muted) and a gold volume line. */
.theater__sound {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.2rem;
}

.theater__mute svg { overflow: visible; }
.theater__speaker { fill: var(--ivory); }

.theater__waves path,
.theater__muted-x path {
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.theater__muted-x { display: none; }
.theater__mute.is-muted .theater__waves { display: none; }
.theater__mute.is-muted .theater__muted-x { display: inline; }
.theater__mute:hover .theater__speaker { fill: var(--gold-light); }
.theater__mute:hover path { stroke: var(--gold-light); }

.theater__volume {
  --level: 100%;
  width: 5.5rem;
  height: 1.6rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.theater__volume::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light) var(--level), rgba(243, 237, 227, 0.25) var(--level));
}

.theater__volume::-moz-range-track {
  height: 2px;
  background: rgba(243, 237, 227, 0.25);
}

.theater__volume::-moz-range-progress {
  height: 2px;
  background: var(--gold-light);
}

.theater__volume::-webkit-slider-thumb {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: calc(-0.375rem + 1px);
  border: 0;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0.5rem rgba(210, 183, 121, 0.5);
  -webkit-appearance: none;
  appearance: none;
}

.theater__volume::-moz-range-thumb {
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--gold-light);
}

.theater.no-volume .theater__volume { display: none; }

/* The gold line: the site's progress bar, made seekable. */
.theater__line {
  position: relative;
  flex: 1;
  height: 1.6rem;
  cursor: pointer;
  touch-action: none;
}

.theater__line::before,
.theater__buffered,
.theater__played {
  position: absolute;
  top: 50%;
  left: 0;
  height: 2px;
  transform: translateY(-50%);
  transition: height 0.25s ease;
}

.theater__line::before { right: 0; background: rgba(243, 237, 227, 0.2); content: ""; }
.theater__buffered { width: 0; background: rgba(243, 237, 227, 0.3); }
.theater__played { width: 0; background: var(--gold-light); box-shadow: 0 0 0.6rem rgba(210, 183, 121, 0.45); }

.theater__line:hover::before, .theater__line:focus-visible::before,
.theater__line:hover .theater__buffered, .theater__line:focus-visible .theater__buffered,
.theater__line:hover .theater__played, .theater__line:focus-visible .theater__played { height: 4px; }

.theater__mark {
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border-radius: 50%;
  background: var(--ivory) !important;
  transform: translate(-50%, -50%);
  opacity: 0.85;
}

.theater__mark::after {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  padding: 0.35rem 0.6rem;
  background: rgba(10, 9, 9, 0.85);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  white-space: nowrap;
  content: attr(data-label);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.theater__mark:hover::after,
.theater__mark:focus-visible::after { opacity: 1; }

.theater__time {
  flex: none;
  min-width: 5.6rem;
  color: rgba(243, 237, 227, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.theater__end,
.theater__error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  animation: theater-dim 1.2s ease both;
}

.theater__end[hidden],
.theater__error[hidden] { display: none; }

.theater__end-line {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
}

.theater__error p {
  max-width: 32rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.6;
}

.theater__end-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2.4rem;
}

.theater .text-link {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(243, 237, 227, 0.5);
  font: 600 0.84rem/1.4 var(--sans);
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

/* ---------- Lightbox ---------- */
.lightbox__figure {
  position: absolute;
  inset: clamp(3.5rem, 7vh, 5rem) clamp(1rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  touch-action: pan-y;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100% - 3rem);
  object-fit: contain;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lightbox__img.is-leaving { opacity: 0; }

.lightbox__caption {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.lightbox__count {
  margin-left: 0.6rem;
  color: rgba(243, 237, 227, 0.55);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.lightbox button {
  border: 0;
  background: none;
  color: var(--ivory);
  font: inherit;
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: clamp(1rem, 3vw, 2.5rem);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(243, 237, 227, 0.35) !important;
  border-radius: 50%;
  font-family: var(--serif) !important;
  font-size: 2rem !important;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); }

.theater :focus-visible,
.lightbox :focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .screening-intro { grid-template-columns: 1fr; }
  .screening-intro .eyebrow { margin-bottom: 0; }
  .program { grid-column: 1; grid-row: auto; }
  .screening, .clients { padding-inline: 1.5rem; }
  .screening-intro { padding-inline: 1.5rem; }
  .movement--featured .movement__notes { grid-template-columns: 1fr; }
  .movement--featured .movement__desc,
  .movement--featured .movement__actions { grid-column: 1; grid-row: auto; margin-top: 1rem; }
  .client-card { width: calc((100% - clamp(1.5rem, 3vw, 2.5rem)) / 2); }
  .client-card--pair { width: 100%; }
}

@media (max-width: 700px) {
  .screening__grid { grid-template-columns: 1fr; }
  .screening__grid > .movement:last-child:nth-child(odd) { width: 100%; }
  .review { grid-template-columns: 1fr; justify-items: start; }
  .review__screen { width: min(100%, 20rem); }
  .client-card { width: 100%; }
  .theater__time { min-width: 0; }
  .theater__volume { width: 4rem; }
  .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .movement__screen img,
  .movement__preview,
  .client-card__photo img,
  .theater__chrome,
  .lightbox__img { transition: none; }
  .movement__screen:hover img,
  .client-card__photo:hover img { transform: none; }
  .theater[open], .lightbox[open], .theater__end, .theater__error { animation: none; }
  .movement.is-linked .movement__screen, .review.is-linked .review__screen { animation: none; outline: 1px solid var(--gold-light); }
}
