/* The film occupies the slot between the engineering caption and the 3D CTA. */
.journey-sticky {
  --film-foot: 32px;
  --film-thumb-height: clamp(51px,4.5vw,70px);
  --film-base: calc(var(--film-foot) + 49px + 12px);
}
.hero-film-teaser {
  position: absolute;
  z-index: 8;
  right: var(--gutter);
  bottom: var(--film-base);
  display: grid;
  grid-template-columns: clamp(65px,6.8vw,105px) minmax(0,1fr);
  gap: clamp(8px,.76vw,14px);
  align-items: center;
  width: clamp(171px,16.6vw,244px);
  padding: 4px clamp(7px,.65vw,11px) 4px 4px;
  color: #f5f0ee;
  text-align: left;
  background: linear-gradient(119deg,#2c282a,#161517 74%);
  border: 1px solid #535054;
  border-bottom-color: #66363e;
  box-shadow: 0 8px 20px #0004;
  cursor: pointer;
  touch-action: pan-y pinch-zoom;
  transition: opacity .28s,visibility .28s,transform .28s,border-color .22s;
}
.hero-film-teaser[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
}
.hero-film-thumb {
  position: relative;
  height: var(--film-thumb-height);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #252329;
}
.hero-film-thumb img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 48%;
  transition: transform .5s ease;
}
.film-play-symbol {
  display: grid;
  place-items: center;
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid #ffffffb5;
  border-radius: 50%;
  background: #121114b5;
  color: white;
}
.film-play-symbol::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 2px;
  border: solid transparent;
  border-width: 4px 0 4px 6px;
  border-left-color: currentColor;
}
.hero-film-copy, .hero-film-copy strong, .hero-film-copy > span { display:block; }
.hero-film-copy strong {
  color: #f4f0f0;
  font: 750 clamp(10px,.72vw,13px)/1.15 Manrope,Arial,sans-serif;
  letter-spacing: .045em;
}
.hero-film-copy > span {
  margin-top: 5px;
  color: #e5c2c9;
  font: 500 clamp(10px,.65vw,12px)/1.2 Manrope,Arial,sans-serif;
}
.journey-sticky .model-caption {
  bottom: max(23%,calc(var(--film-base) + var(--film-thumb-height) + 23px));
}
@media (hover:hover) {
  .hero-film-teaser:hover { border-color: #b26874; }
  .hero-film-teaser:hover img { transform: scale(1.065); }
}
.hero-film-teaser:focus-visible, .production-film-dialog button:focus-visible {
  outline: 2px solid #ffbac8; outline-offset: 3px;
}
@media(max-width:760px) {
  .journey-sticky { --film-foot: 6%; --film-thumb-height: 44px; }
  .hero-film-teaser { width: min(187px,52vw); grid-template-columns: clamp(48px,13vw,74px) minmax(0,1fr); }
  .journey-sticky .model-caption {
    bottom: calc(var(--film-base) + 10px); left: var(--gutter); right:auto;
    max-width: 33%; text-align:left; justify-items: start; gap: 3px;
  }
  .journey-sticky .model-caption .caption-line { justify-self:start; margin-bottom: 3px; }
}
@media(max-width:600px) { .journey-sticky { --film-foot:7%; --film-base:calc(var(--film-foot) + 46px + 11px); } }
@media(min-width:761px) and (max-height:620px) {
  .journey-sticky { --film-foot:16px; --film-thumb-height:43px; }
}
@media(max-width:760px) and (max-height:570px) {
  .journey-sticky { --film-foot: 12px; --film-base:68px; --film-thumb-height:38px; }
  .journey-sticky .hero-bottom, .journey-sticky .view-open { bottom:var(--film-foot); }
  .hero-film-teaser { width:155px; gap:7px; grid-template-columns:43px 1fr; }
  .hero-film-copy strong { font-size:10px; }
  .hero-film-copy > span { margin-top:3px; }
}
@media(max-width:360px) { .hero-film-teaser { right:15px; } }
@media(prefers-reduced-motion:reduce) {
  .hero-film-teaser, .hero-film-thumb img { transition:none; }
}
body:has(#production-film[open]) { overflow:hidden; }
dialog.production-film-dialog {
  position:fixed;
  inset:0;
  margin:auto;
  width:min(470px, 94vw, calc((94dvh - 112px) * .5625 + 2px));
  padding:0;
  max-width:94vw;
  max-height:95dvh;
  border:1px solid #625258;
  background:#121113;
  color:#f7eff1;
  overflow:auto;
  box-shadow:0 28px 100px #000b;
}
.production-film-dialog::backdrop { background:#070608ec; backdrop-filter:blur(7px); }
.production-film-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:3px 4px 3px 14px; border-bottom:1px solid #73263a; }
.production-film-head h2 { margin:0; font:650 clamp(13px,1.15vw,17px)/1.2 Manrope,Arial,sans-serif; }
.production-film-close { display:grid; flex:none; place-items:center; width:42px; height:42px; border:0; color:#eee; background:transparent; font:300 29px/1 Arial,sans-serif; cursor:pointer; }
.production-film-screen { display:block; width:100%; height:auto; aspect-ratio:9/16; background:#050505; object-fit:contain; }
.production-film-error { padding:12px 14px; margin:0; font-size:14px; }
.production-film-error a { color:#ffc3d0; text-decoration:underline; }
.film-sr-only { position:absolute; height:1px; width:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
@media (orientation:landscape) and (max-height:600px) {
  dialog.production-film-dialog { width:min(670px,94vw); }
  .production-film-screen { height:calc(94dvh - 104px); aspect-ratio:auto; }
}

.production-film-choices { display: flex; gap: 6px; padding: 6px; }
.production-film-choices button {
  flex: 1; min-height: 40px; padding: 5px 8px; cursor: pointer;
  background: transparent; border: 1px solid #51494c; color: #e6dfe1;
  font: 600 14px/1.3 Manrope, Arial, sans-serif;
}
.production-film-choices button[aria-pressed="true"] { background: #3d1c22; border-color: #c85969; color: #fff; }
