.home-film {
  display: grid;
  grid-template-columns: .8fr 1.8fr;
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  padding-block: 100px;
  border-bottom: 1px solid var(--line, #d8dede);
}
.home-film-copy h2 { margin: 18px 0 22px; font-size: clamp(1.9rem, 2.8vw, 2.75rem); line-height: 1.65; letter-spacing: -.035em; }
.home-film-copy > p:not(.eyebrow) { font-size: 14px; line-height: 2; }
.home-film-duration { display: block; margin-top: 30px; color: var(--blue, #4056aa); font-size: 10px; letter-spacing: .12em; }
.home-film-duration > span { margin-inline: 10px; color: #a8b1bb; }
.home-film-trigger { position: relative; display: block; overflow: hidden; background: #edf0f5; color: #fff; aspect-ratio: 16 / 9; isolation: isolate; }
.home-film-trigger > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-film-trigger::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 0; background: linear-gradient(transparent, #172033a6); pointer-events: none; }
.home-film-play { position: absolute; z-index: 1; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: #4056aa; box-shadow: 0 0 0 9px #ffffff4d; transition: background .2s ease, box-shadow .2s ease; }
.home-film-play svg { width: 26px; height: 26px; margin-left: -2px; }
.home-film-caption { position: absolute; z-index: 1; inset: auto 26px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.home-film-caption > span:last-child { font-size: 11px; font-weight: 400; }
.home-film-caption > span > span { margin-left: 12px; }
.home-film-trigger:focus-visible { outline: 3px solid #d98339; outline-offset: 5px; }
@media (hover: hover) {
  .home-film-trigger:hover > img { transform: scale(1.025); }
  .home-film-trigger:hover .home-film-play { background: #314590; box-shadow: 0 0 0 13px #ffffff50; }
}
html.film-is-open { overflow: hidden; }
.film-dialog { width: min(1100px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 0; border-radius: 6px; background: #fff; color: #202b2c; box-shadow: 0 24px 100px #0006; overflow: auto; overscroll-behavior: contain; }
.film-dialog:not([open]) { display: none; }
.film-dialog::backdrop { background: #111a2bd9; backdrop-filter: blur(5px); }
.film-dialog-header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 14px 8px 26px; }
.film-dialog-header p { margin: 0; font-size: 16px; font-weight: 700; }
.film-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; border-radius: 50%; color: #202b2c; background: #eef1f5; font-size: 30px; line-height: 1; cursor: pointer; }
.film-player { display: block; width: 100%; height: auto; max-height: calc(100dvh - 156px); aspect-ratio: 16 / 9; object-fit: contain; background: #111820; }
.film-dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 12px 26px; font-size: 12px; }
.film-dialog-footer > span { color: #647080; }
.film-dialog-footer > a { color: #4056aa; text-decoration: underline; text-underline-offset: 4px; }
.film-dialog-message { margin: 0; padding: 0 26px 20px; font-size: 13px; color: #4056aa; }
@media (max-width: 760px) {
  .home-film { grid-template-columns: 1fr; gap: 28px; padding-block: 66px; }
  .home-film-copy h2 { font-size: 1.9rem; margin-block: 14px 16px; }
  .home-film-duration { margin-top: 18px; }
  .home-film-play { width: 56px; height: 56px; box-shadow: 0 0 0 6px #ffffff4d; }
  .home-film-play svg { width: 22px; height: 22px; }
  .home-film-caption { inset: auto 16px 12px; font-size: 12px; }
  .home-film-caption > span:last-child { font-size: 10px; }
  .film-dialog { width: calc(100% - 24px); }
  .film-dialog-header { padding-left: 16px; }
  .film-dialog-header p { font-size: 14px; }
  .film-dialog-footer { padding-inline: 16px; }
  .film-dialog-message { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-film-trigger > img, .home-film-play { transition: none; }
}
