/* Public landing page and photographic sequence. */
.hero-title .line { animation: none; }
.hero-word { display: inline-block; }
.portrait-stage { position: relative; overflow: hidden; }
.portrait-stage .hero-image { animation: none; }
.studio-play {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  color: var(--cream-dim);
  font: 600 .82rem var(--font-body);
}
.studio-play span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding-left: 2px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: .66rem;
}
.studio-play:hover span, .studio-play:focus-visible span { background: var(--gold); color: var(--ink); }
.film-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; cursor: zoom-in; }
.film-thumbnail:focus-visible { outline-offset: -4px; }
.gallery-item:focus-within .gallery-caption { opacity: 1; transform: none; }
.film-open { overflow: hidden; }
.studio-film {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(92vw, 1000px);
  max-width: none;
  max-height: 96dvh;
  border: 1px solid var(--line-strong);
  background: var(--ink-soft);
  color: var(--cream);
  overflow: auto;
  box-shadow: 0 24px 100px #000b;
}
.studio-film::backdrop { background: rgb(4 5 6 / 94%); }
.film-stage {
  position: relative;
  height: min(62dvh, 610px);
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.film-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-close, .film-nav button {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
}
.film-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgb(8 9 10 / 82%);
  border-radius: 50%;
  font: 300 1.8rem/1 var(--font-body);
}
.film-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 3vw, 32px); }
.film-title { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.film-count { color: var(--gold-bright); font: 600 .78rem var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.film-title h2 { font: 500 clamp(1.65rem, 4vw, 3rem)/1.1 var(--font-display); }
.film-nav { display: flex; align-items: center; gap: 6px; }
.film-nav button { font-size: 1.6rem; }
.film-nav [data-film="play"] { min-width: 94px; padding-inline: 12px; color: var(--gold-bright); font: 600 .85rem var(--font-body); }
.film-nav button:hover, .film-close:hover { border-color: var(--gold); }
.film-progress { height: 3px; background: var(--line); }
.film-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 600px) {
  .studio-film { width: calc(100vw - 20px); }
  .film-stage { height: min(55dvh, 125vw); }
  .film-controls { flex-direction: column; align-items: stretch; gap: 12px; }
  .film-nav { justify-content: flex-end; }
  .hero-trust { margin-top: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-word { animation: lettering 820ms cubic-bezier(.15,.8,.18,1) backwards; transform-origin: 50% 95%; }
  .hero-word:nth-child(2) { animation-delay: 65ms; }
  .hero-word:nth-child(3) { animation-delay: 120ms; }
  em .hero-word:first-child { animation-delay: 150ms; }
  em .hero-word:nth-child(2) { animation-delay: 220ms; }
  .portrait-stage.is-visible .hero-image { animation: portrait-focus 1350ms cubic-bezier(.2,.8,.2,1) backwards; }
  .portrait-stage.is-visible::before, .portrait-stage.is-visible::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: -2px -36%;
    pointer-events: none;
    background: var(--ink-soft);
    border-inline: 2px solid var(--gold);
    animation: shutter-left 850ms cubic-bezier(.72,.02,.18,1) both;
  }
  .portrait-stage.is-visible::after { animation-name: shutter-right; }
  .studio-film[open] { animation: screening-room 330ms var(--ease-out); }
}
@keyframes lettering {
  from { opacity: 0; transform: perspective(600px) translateY(.42em) rotateX(-50deg); }
  to { opacity: 1; transform: none; }
}
@keyframes portrait-focus {
  from { transform: scale(1.13); }
  to { transform: scale(1); }
}
@keyframes shutter-left {
  from { transform: skewX(-14deg) translateX(-50%); }
  to { transform: skewX(-14deg) translateX(-110%); }
}
@keyframes shutter-right {
  from { transform: skewX(-14deg) translateX(50%); }
  to { transform: skewX(-14deg) translateX(110%); }
}
@keyframes screening-room {
  from { opacity: .25; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
