/* Keep the copy and film controls in normal flow on every screen. Visitors can switch from the
   documentary poster to the original film with the playback control. */
#cinematic-hero {
  display: grid;
  align-content: end;
  height: auto;
  min-height: max(650px, 96svh);
  padding: calc(var(--occupied-header, 90px) + 90px) var(--gutter) 0;
  color: #f7f6ef;
  background: #080e0b;
}
#cinematic-hero .cine-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
#cinematic-hero .cine-hero-media img,
#cinematic-hero .cine-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 62% center;
}
#cinematic-hero .cine-hero-shade {
  z-index: -1;
  display: block;
  background: linear-gradient(90deg, #06100ce8 0%, #06100cb8 34%, #06100c42 68%, transparent),
    linear-gradient(0deg, #060d0be6, transparent 65%);
}
#cinematic-hero .cine-hero-copy {
  display: block;
  position: relative;
  inset: auto;
  order: 0;
  width: 100%;
  max-width: 61rem;
  padding: 0 0 clamp(36px, 6svh, 85px);
}
#cinematic-hero .cine-kicker {
  display: block;
  margin: 0 0 clamp(16px, 2.2vw, 28px);
  font-size: clamp(12px, .92vw, 15px);
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: .05em;
  text-transform: none;
  color: #f2e9db;
}
#cinematic-hero .cine-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  vertical-align: middle;
  background: #e16155;
  margin-right: 12px;
}
#cinematic-hero h1 {
  position: static;
  max-width: none;
  margin: 0;
  font-size: clamp(54px, 6.5vw, 112px);
  font-weight: 450;
  line-height: .99;
  letter-spacing: -.055em;
  text-shadow: none;
  text-wrap: initial;
}
:lang(ru) #cinematic-hero h1 {
  font-size: clamp(48px, 5.8vw, 98px);
  line-height: 1.04;
  letter-spacing: -.047em;
}
#cinematic-hero .cine-support {
  display: block;
  max-width: 53ch;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.3vw, 22px);
  line-height: 1.5;
  letter-spacing: 0;
  color: #eeefe8;
}
#cinematic-hero .cine-hero-actions {
  position: static;
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  gap: 8px 25px;
  margin-top: 25px;
}
#cinematic-hero .cine-cta,
#cinematic-hero .cine-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-height: 46px;
  font-size: 15px;
  line-height: 1.3;
}
#cinematic-hero .cine-cta {
  border: 1px solid #b43638;
  background: #a3262d;
  color: #fff;
  padding: 12px 22px;
}
#cinematic-hero .cine-cta:hover { background: #872129; }
#cinematic-hero .cine-secondary {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #d1c7bd;
}
#cinematic-hero .cine-hero-bottom {
  position: relative;
  inset: auto;
  order: 0;
  justify-content: flex-start;
  border-top: 1px solid #ffffff40;
  padding: 10px 0 max(12px, env(safe-area-inset-bottom));
}
#cinematic-hero .cine-hero-bottom > a {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: none;
}
@media (max-width: 700px) {
  #cinematic-hero {
    min-height: min(830px, max(600px, 96svh));
    padding: calc(var(--occupied-header, 64px) + 80px) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  }
  #cinematic-hero .cine-hero-media img { object-position: center 43%; }
  #cinematic-hero .cine-hero-shade {
    background: linear-gradient(0deg, #07100cf8 4%, #07100cd9 45%, #07100c89 76%, #07100c18);
  }
  #cinematic-hero .cine-hero-copy { padding-bottom: 20px; }
  #cinematic-hero h1 { font-size: clamp(36px, 8.8vw, 57px); line-height: 1; }
  :lang(ru) #cinematic-hero h1 { font-size: clamp(31px, 8.1vw, 53px); }
  #cinematic-hero .cine-kicker { margin-bottom: 15px; letter-spacing: .015em; }
  #cinematic-hero .cine-support { margin-top: 15px; font-size: 16px; line-height: 1.5; }
  #cinematic-hero .cine-hero-actions { gap: 3px 17px; margin-top: 18px; }
  #cinematic-hero .cine-cta, #cinematic-hero .cine-secondary { font-size: 14px; }
  #cinematic-hero .cine-cta { padding: 11px 16px; }
}
@media (max-height: 560px) and (min-width: 701px) {
  #cinematic-hero { min-height: 0; padding-top: calc(var(--occupied-header, 64px) + 70px); }
  #cinematic-hero h1, :lang(ru) #cinematic-hero h1 { font-size: clamp(44px, 5.4vw, 68px); }
  #cinematic-hero .cine-hero-copy { padding-bottom: 25px; }
}

/* The poster is the opening scene; the film sits above it only when selected. */
#cinematic-hero .cine-hero-media { overflow: hidden; }
#cinematic-hero .hero-poster img { object-position: 70% 45%; }
#cinematic-hero .cine-hero-video { display: block; pointer-events: none; }
#cinematic-hero .cine-play-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 13px;
  border-radius: 30px;
  color: #fff;
  background: #0b1513a6;
}
#cinematic-hero .cine-play-toggle[hidden] { display: none; }
#cinematic-hero .cine-play-toggle b { font: 500 13px/1.3 var(--font); white-space: nowrap; }
#cinematic-hero .cine-play-toggle span {
  width: 0;
  height: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
#cinematic-hero .cine-play-toggle[aria-pressed="true"] span {
  width: 9px;
  height: 9px;
  border: 0;
  background: currentColor;
}
@media (prefers-reduced-motion: no-preference) and (min-width: 701px) {
  #cinematic-hero .hero-poster img {
    animation: field-reveal 4.8s cubic-bezier(.2,.5,.4,1) both paused;
    transform-origin: 75% 44%;
  }
  #cinematic-hero.hero-visible .hero-poster img { animation-play-state: running; }
  @keyframes field-reveal {
    from { transform: scale(1.055) translateX(-.6%); }
    to { transform: scale(1); }
  }
}
@media (max-width: 700px) {
  #cinematic-hero .hero-poster img { object-position: 65% 38%; }
  #cinematic-hero .cine-hero-bottom { justify-content: space-between; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #cinematic-hero .cine-hero-video { transition: none; }
}
