/* The movie lives inside the existing .photo-hero layer, so scroll opacity,
   chapter changes and the original image fallback continue to work unchanged. */
.photo-hero > picture { display:block; position:absolute; inset:0; }
.hero-commercial { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:68% 50%; opacity:0; transition:opacity .8s ease; pointer-events:none; }
.hero-commercial.is-playing { opacity:1; }
/* Reserve this area in the final edit: no faces, box or vehicle key detail
   inside it. One benefit is visible at a time; text remains real HTML. */
.hero-benefit-overlay { position:absolute; z-index:1; right:var(--margin); bottom:100px; width:min(370px,36vw); min-height:78px; color:#fff; font-family:Archivo,sans-serif; pointer-events:none; }
.hero-benefit-overlay[hidden] { display:none; }
.hero-benefit-cue { position:absolute; inset:0; display:flex; align-items:center; gap:14px; padding:10px 20px 10px 12px; border:1px solid #a3c6ed33; border-radius:16px; background:linear-gradient(110deg,#071422e8,#071422b8); backdrop-filter:blur(14px); opacity:0; visibility:hidden; transform:translateY(7px); transition:opacity .32s ease,transform .45s cubic-bezier(.22,.61,.36,1),visibility .32s; }
.hero-benefit-cue.is-active { opacity:1; visibility:visible; transform:none; }
.hero-benefit-icon { flex:none; width:54px; height:54px; }
.hero-benefit-icon svg { display:block; width:100%; height:100%; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.hero-benefit-icon svg path,.hero-benefit-icon svg circle { vector-effect:non-scaling-stroke; stroke-width:1.35; }
.hero-benefit-words { min-width:0; }
.hero-benefit-words strong { display:block; font-size:22px; font-weight:550; letter-spacing:-.03em; line-height:1.12; }
.commercial-a11y-summary { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.hero-commercial-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px; margin-top:28px; }
.hero-commercial-actions .text-link { margin:0; }
.watch-commercial { display:inline-flex; align-items:center; gap:12px; padding:12px 20px 12px 12px; min-height:48px; border:1px solid #ffffff45; border-radius:999px; color:#fff; background:#09132265; backdrop-filter:blur(12px); font:inherit; font-size:15px; font-weight:550; cursor:pointer; }
.watch-commercial > span[aria-hidden] { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#123452; font-size:16px; }
.hero-commercial-toggle { display:grid; place-items:center; flex:none; width:46px; height:46px; padding:0; border:1px solid #ffffff55; border-radius:50%; background:#09132265; backdrop-filter:blur(12px); color:#fff; cursor:pointer; }
.hero-commercial-toggle[hidden] { display:none; }
.hero-commercial-toggle svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.8; }
.hero-commercial-toggle .icon-pause, .hero-commercial-toggle[data-playing=true] .icon-play { display:none; }
.hero-commercial-toggle[data-playing=true] .icon-pause { display:block; }
.watch-commercial:hover, .hero-commercial-toggle:hover { background:#164a7c; }
.watch-commercial:focus-visible, .hero-commercial-toggle:focus-visible, .commercial-dialog button:focus-visible { outline:3px solid #83b8ff; outline-offset:5px; }
.commercial-is-open { overflow:hidden; }
.commercial-dialog { padding:16px; border:0; border-radius:24px; background:#0b1522; color:#fff; width:min(1180px,94vw); max-height:94dvh; box-shadow:0 20px 100px #0007; }
.commercial-dialog::backdrop { background:#050c15ed; backdrop-filter:blur(12px); }
.commercial-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:14px; }
.commercial-dialog-head h2 { margin:0; font-size:22px; font-weight:500; letter-spacing:-.02em; }
.commercial-dialog-head button { width:46px; height:46px; border:0; border-radius:50%; background:#ffffff12; color:#fff; font:inherit; font-size:30px; cursor:pointer; }
.commercial-dialog video { display:block; width:100%; max-height:76dvh; aspect-ratio:16/9; background:#070e17; border-radius:12px; }
.commercial-status { margin:10px 0 0; font-size:14px; color:#ccd8e8; }
.commercial-status:empty { display:none; }
@media(max-width:759px) {
  /* Use a purpose-made vertical/mobile edit. Do not crop the widescreen box. */
  .hero-commercial { object-fit:contain; object-position:50% 50%; background:#0b1017; }
  .photo-hero.has-commercial-poster img { top:0; bottom:auto; left:0; width:100%; height:100%; object-fit:contain; object-position:50% 50%; transform-origin:50% 50%; }
  .hero-benefit-overlay { left:24px; right:24px; bottom:85px; width:auto; min-height:72px; }
  .hero-benefit-cue { padding:10px 16px 10px 10px; gap:10px; border-radius:14px; }
  .hero-benefit-icon { width:46px; height:46px; }
  .hero-benefit-words strong { font-size:20px; }
  .hero-commercial-actions { gap:10px 14px; margin-top:20px; max-width:330px; }
  .hero-commercial-actions .text-link { order:3; flex-basis:auto; margin-top:0; }
  .watch-commercial { font-size:14px; min-height:46px; padding:10px 17px 10px 10px; }
  .hero-commercial-toggle { width:46px; height:46px; }
  .commercial-dialog { padding:10px; border-radius:18px; }
  .commercial-dialog-head { padding-left:5px; margin-bottom:10px; }
  .commercial-dialog-head h2 { font-size:19px; }
  .commercial-dialog video { border-radius:10px; }
}
@media(max-height:720px) and (max-width:759px) {
  .hero-benefit-overlay { bottom:76px; min-height:70px; }
  .hero-benefit-cue { padding-top:10px; padding-bottom:10px; }
  .hero-benefit-words strong { font-size:19px; }
  .hero-commercial-actions { margin-top:14px; gap:8px 12px; }
  .hero-commercial-actions .text-link { font-size:12px; }
}
@media(max-height:740px) and (min-width:760px) {
  .hero-benefit-overlay { left:auto; right:var(--margin); bottom:96px; width:min(350px,35vw); min-height:80px; }
  .hero-benefit-words strong { font-size:20px; }
}
@media(prefers-reduced-motion:reduce) { .hero-commercial,.hero-benefit-cue { transition:none; transform:none; } }
