/* The 30-second film, shared by the home page and the AI product page, in
   both languages. Copy on one side, the vertical film in a phone-shaped frame
   on the other; stacked on narrow screens. */
.film{ padding:var(--section) 0; border-top:1px solid var(--line); }
.film-in{
  display:grid; grid-template-columns:minmax(0, 1fr) auto;
  gap:clamp(40px, 7vw, 110px); align-items:center;
}
.film-copy{ max-width:52ch; }
.film-copy h2{ margin:18px 0 0; }
.film-copy h2 em{ font-style:italic; color:var(--brass); }
.film-copy .lede{ margin-top:18px; }

.film-langs{ margin-top:28px; display:flex; flex-wrap:wrap; gap:8px; }
.film-lang{
  font:500 13px/1 var(--body); letter-spacing:.04em;
  color:var(--paper-soft); background:transparent;
  padding:11px 17px; border-radius:999px; border:1px solid var(--line-strong);
  cursor:pointer;
  transition:color var(--fast) ease, border-color var(--fast) ease, background var(--fast) ease;
}
.film-lang:hover{ color:var(--paper); border-color:var(--paper-faint); }
.film-lang[aria-pressed="true"]{ color:var(--ink); background:var(--brass); border-color:var(--brass); }
.film-lang:focus-visible, .film-play:focus-visible{ outline:2px solid var(--brass-lit); outline-offset:3px; }

.film-frame{
  position:relative; width:clamp(260px, 26vw, 340px); aspect-ratio:9 / 16;
  border-radius:34px; overflow:hidden; background:var(--ink-card);
  border:1px solid var(--line-strong);
  box-shadow:0 40px 120px rgba(0,0,0,.55), 0 0 0 8px rgba(236,232,225,.03), 0 0 140px var(--brass-faint);
}
.film-frame video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
/* Fullscreen hands the element to the browser, but this rule's object-fit
   went with it: a 9:16 film filled a wide screen by its middle — one face,
   no captions. In fullscreen the whole film shows, letterboxed. Two rules on
   purpose: a selector list with a pseudo-class the browser does not know is
   dropped entirely. */
.film-frame video:fullscreen{ object-fit:contain; background:#000; }
.film-frame video:-webkit-full-screen{ object-fit:contain; background:#000; }
/* The studio player wraps the video; in the frame it fills the frame, and the
   frame's crop stays until the player itself goes full screen. */
.film-frame .nxp{ position:absolute; inset:0; border-radius:inherit; }

.film-play{
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-end; gap:14px; padding-bottom:30px;
  border:0; cursor:pointer; color:var(--paper);
  font:600 13px/1 var(--body); letter-spacing:.08em; text-transform:uppercase;
  background:linear-gradient(180deg, rgba(10,11,13,0) 42%, rgba(10,11,13,.78) 100%);
}
.film-play-ico{
  width:68px; height:68px; border-radius:50%; background:var(--brass);
  display:grid; place-items:center; box-shadow:0 12px 40px rgba(209,160,90,.35);
  transition:transform var(--fast) var(--ease);
}
.film-play:hover .film-play-ico{ transform:scale(1.06); }
.film-play svg{ width:24px; height:24px; margin-left:4px; }
.film.is-playing .film-play{ display:none; }

@media (max-width:860px){
  .film-in{ grid-template-columns:1fr; }
  .film-frame{ width:min(78vw, 340px); margin-inline:auto; }
}
@media (prefers-reduced-motion:reduce){
  .film-play-ico, .film-lang{ transition:none; }
}
