/* Film presentation. All selectors are scoped to the film components. */
.film-section,
.film-page {
  box-sizing: border-box;
  background: #080808;
  color: #fffdfa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.film-section *,
.film-page * {
  box-sizing: border-box;
}

.film-section {
  padding: clamp(76px, 8vw, 128px) 0;
  border-bottom: 1px solid #252321;
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 90px);
}

.film-shell {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.film-heading {
  max-width: 1050px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.film-eyebrow {
  margin: 0 0 22px;
  color: #f0b9bd;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.5;
}

.film-title {
  margin: 0;
  color: #fffdfa;
  font-size: clamp(34px, 5.6vw, 80px);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 1.03;
  text-wrap: balance;
}

.film-title span {
  color: #f0b9bd;
}

.film-description {
  margin: 24px 0 0;
  color: #b9b2aa;
  font-size: 17px;
  line-height: 1.6;
}

.film-player-frame {
  overflow: hidden;
  border: 1px solid #35312e;
  border-radius: clamp(12px, 2vw, 24px);
  background: #f4f1eb;
  box-shadow: 0 22px 70px rgb(0 0 0 / 20%);
}

.film-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #f4f1eb;
  object-fit: contain;
  color-scheme: dark;
}

.film-player:focus-visible {
  outline: 3px solid #fffdfa;
  outline-offset: -5px;
}

.film-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 24px;
}

.film-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
  color: #d8d2cb;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 160ms ease, background-color 160ms ease;
}

.film-link:hover {
  color: #fffdfa;
}

.film-link-primary {
  padding: 12px 20px;
  border: 1px solid #5d5650;
  border-radius: 999px;
  color: #fffdfa;
  text-decoration: none;
}

.film-link-primary:hover {
  background: #211e1c;
}

.film-link:focus-visible,
.film-brand:focus-visible {
  outline: 3px solid #f0b9bd;
  outline-offset: 5px;
  border-radius: 4px;
}

.film-page {
  min-width: 0;
  min-height: 100svh;
  margin: 0;
  line-height: 1.5;
}

.film-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
}

.film-brand {
  color: #fffdfa;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.film-brand span {
  color: #e51d32;
}

.film-section-standalone {
  padding-top: clamp(52px, 6vw, 88px);
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  border-bottom: 0;
}

@media (max-width: 800px) {
  .film-shell {
    width: calc(100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 420px) {
  .film-title {
    font-size: clamp(32px, 8.6vw, 36px);
  }

  .film-description {
    font-size: 16px;
  }

  .film-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .film-page-header .film-link {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-link {
    transition: none;
  }
}
