/* Film opening: timed titles over full-screen footage, with navigation after the film. */
.hero.cinema {
  height: 100svh;
  min-height: 520px;
  max-height: none;
  isolation: isolate;
}

.cinema .hero-film video {
  animation: none;
  transform: none;
}

.cinema .hero-shade {
  background: linear-gradient(0deg, #080906a6, transparent 38%, #08090630), radial-gradient(ellipse at center, #08090618, #08090660);
}

.cinema .hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  height: 100%;
  pointer-events: none;
}

.cinema #hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: clamp(58px, 7vw, 104px);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.05;
  min-height: 2.2em;
  width: 100%;
  margin: 0;
  color: #fff9ed;
  text-shadow: 0 3px 40px #000b;
}

.cinema #hero-title em {
  color: #e9b589;
  font-family: inherit;
  font-style: normal;
  font-size: 1em;
}

.cinema .cinema-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 20px;
}

.cinema .hero-description {
  font-size: 15px;
  max-width: 440px;
  color: #fff6e8;
  margin: 20px auto 24px;
  text-shadow: 0 2px 12px #000;
}

.cinema .hero-actions {
  pointer-events: auto;
  justify-content: center;
}

.cinema .hero-actions .primary {
  background: #efe2cd;
}

.cinema .hero-footer {
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
}

.cinema #film-toggle {
  font-size: 11px;
  background: #15151275;
  border-color: #ffffff45;
  padding: 8px 13px;
  min-height: 36px;
}

.cinema .cinema-skip {
  color: #fff5e8;
  font-size: 11px;
  padding: 10px 0;
}

.cinema .film-credit {
  display: inline;
  margin-left: auto;
  align-self: center;
  color: #d0c6b8;
  font-size: 9px;
}

.site-header {
  position: sticky;
  top: 0;
  inset-inline: auto;
  width: 100%;
  height: 90px;
  background: #131411;
  border-bottom: 1px solid #ffffff18;
}

@media(max-width:760px) {
  .hero.cinema {
    min-height: 480px;
  }

  .cinema #hero-title {
    font-size: clamp(42px, 9.5vw, 68px);
    min-height: 2.6em;
    line-height: 1.08;
  }

  .cinema .hero-copy {
    padding: 0 0 20px;
  }

  .cinema .cinema-logo {
    width: 66px;
    height: 66px;
    margin-bottom: 20px;
  }

  .cinema .hero-description {
    font-size: 14px;
    margin: 16px auto 20px;
  }

  .cinema .hero-actions {
    gap: 8px;
  }

  .cinema .hero-actions .button {
    padding: 12px 14px;
    font-size: 12px;
  }

  .cinema .hero-footer {
    gap: 16px;
    bottom: 16px;
    flex-wrap: nowrap;
  }

  .cinema .film-credit {
    font-size: 8px;
    max-width: 48px;
  }

  .site-header {
    height: 78px;
  }
}

@media(max-height:550px) and (min-width:761px) {
  .hero.cinema {
    min-height: 420px;
  }

  .cinema #hero-title {
    font-size: 58px;
  }

  .cinema .cinema-logo {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
  }

  .cinema .hero-description {
    margin: 10px auto;
  }
}

/* Titles are baked into both video exports; no competing HTML title animation. */
.cinema .hero-shade { background: linear-gradient(0deg, #08090680, transparent 20%); }
.cinema.ad-playing .cinema-logo,
.cinema.ad-playing #hero-title,
.cinema.ad-playing .hero-description { visibility: hidden; }
.cinema.ad-playing .hero-actions {
  position: absolute;
  bottom: 22px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .cinema .hero-actions { transition: none; }
}

/* The opening is the film, never the former text-led hero. Keep a semantic H1. */
.cinema #hero-title {
  position: absolute;
  width: 1px; height: 1px; min-height: 0;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.cinema .hero-description { display: none; }
.cinema:not(.ad-playing) .hero-shade { background: #080906c9; }
.cinema:not(.ad-playing) .cinema-logo { width: 160px; height: 160px; }

/* Quiet editorial links under the final logo. */
.cinema .hero-actions { gap: clamp(24px, 4vw, 54px); align-items: center; }
.cinema .film-link {
  display: inline-flex; align-items: center; gap: 12px;
  position: relative; padding: 12px 0;
  color: #f3e6d5; background: transparent; border: 0;
  text-decoration: none; font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500; letter-spacing: .035em;
}
.cinema .film-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 5px;
  height: 1px; background: currentColor;
  transform: scaleX(.25); transform-origin: left; opacity: .45;
  transition: transform .25s ease, opacity .25s ease;
}
.cinema .film-link:hover::after,
.cinema .film-link:focus-visible::after { transform: scaleX(1); opacity: 1; }
.cinema .film-link:focus-visible { outline: 1px solid #e8a166; outline-offset: 6px; }
.cinema .film-link-secondary { color: #b9aa98; }
@media (prefers-reduced-motion: reduce) { .cinema .film-link::after { transition: none; } }

.cinema .film-link { text-shadow: 0 2px 12px #000, 0 0 24px #0009; }

@media (max-width: 760px) {
  .cinema.ad-playing .hero-actions { bottom: 16px; }
  .cinema .hero-footer { bottom: 3px; }
  .cinema .film-credit { font-size: 7px; max-width: none; }
}
