@font-face{font-family:ArketicomFilmTitle;src:url("/assets/fonts/cormorant-film-title.woff") format("woff");font-style:normal;font-weight:400;font-display:swap}
/* Retain the original Full HD video stream; warmth is applied only at display time. */
.ed-home.home-renewal .ed-hero.home-film{height:auto;min-height:0;max-height:none;aspect-ratio:16/9;width:calc(100% - 64px);max-width:1760px;margin-inline:auto;background:#d5c7b3}
.home-film>picture{position:absolute;inset:0;display:block}
.ed-home.home-renewal .home-film .ed-hero-image,.home-film-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.home-film .home-film-video{filter:sepia(.10) saturate(.94) contrast(.985) brightness(1.002)}
.home-film-video{opacity:0;transition:opacity .3s ease;pointer-events:none}
.home-film.film-ready .home-film-video{opacity:1}
.home-film-toggle{position:absolute;right:24px;bottom:24px;z-index:3;min-height:44px;min-width:90px;padding:10px 12px;border:0;border-radius:0;background:transparent;color:#fff;font:300 11px/1.4 ArketicomSans,Arial,sans-serif;text-shadow:0 1px 5px #000,0 0 12px #0008;cursor:pointer}
.home-film-toggle[hidden]{display:none}
.home-film-toggle:hover{background:transparent;text-decoration:underline;text-underline-offset:5px}
.home-film-toggle:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
@media(max-width:760px){.ed-home.home-renewal .ed-hero.home-film{width:calc(100% - 24px);margin-top:var(--shell-height);aspect-ratio:16/9}.home-film-toggle{right:12px;bottom:12px;min-width:80px;padding:10px 12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.home-film-video{transition:none}}

.ed-home.home-renewal .home-film>h1.home-film-title{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:2;width:calc(100% - 48px);max-width:1400px;margin:0;padding:0;color:#fff;font-family:ArketicomFilmTitle,ArketicomSerif,Georgia,serif;font-size:clamp(20px,3.5vw,60px);font-weight:400;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1,"onum" 0;line-height:1.15;letter-spacing:.055em;text-align:center;text-transform:uppercase;text-wrap:balance;text-shadow:0 2px 18px #0005;pointer-events:none}
@media(max-width:480px){.ed-home.home-renewal .home-film>h1.home-film-title{width:calc(100% - 32px);font-size:clamp(16px,4.2vw,20px);letter-spacing:.035em}}

/* Mobile film control: override the site-wide button font without reducing its touch target. */
@media(max-width:760px){.ak-site .home-film .home-film-toggle{right:0;bottom:0;font-size:9px;line-height:1.4;min-height:44px;min-width:64px;padding:8px 10px;text-align:right;color:#fff}}

/* Mobile campaign: edge-to-edge portrait viewport, center crop, equal-size stacked title. */
@media(max-width:760px){
 body:has([data-home-film]){padding-top:0}
 .ed-home.home-renewal .ed-hero.home-film{width:100%;max-width:none;height:100svh;min-height:100svh;aspect-ratio:auto;margin:0}
 .ed-home.home-renewal .home-film .ed-hero-image,.home-film .home-film-video{object-fit:cover;object-position:50% 50%}
 .ed-home.home-renewal .home-film>h1.home-film-title{width:calc(100% - 48px);font-size:clamp(25px,7.6vw,38px);line-height:1.15;letter-spacing:.055em}
 .home-film>h1.home-film-title>span{display:block;font:inherit;color:inherit}
}

/* Full-viewport film on desktop too; original 1920px video source retained. */
body:has([data-home-film]){padding-top:0}
.ed-home.home-renewal .ed-hero.home-film{width:100%;max-width:none;height:100svh;min-height:100svh;aspect-ratio:auto;margin:0}
.ed-home.home-renewal .home-film .ed-hero-image,.home-film .home-film-video{object-fit:cover;object-position:50% 50%}

/* Film-only controls. The existing hero geometry, crop, grading and title are unchanged. */
.home-film-controls{position:absolute;left:24px;bottom:24px;z-index:3;display:flex;align-items:center;gap:6px;color:#fff;max-width:230px}
.home-film-controls[hidden]{display:none}
.home-film-controls .home-film-toggle,.home-film-controls .home-film-audio{position:static;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px 8px;border:0;background:transparent;color:#fff;font-size:11px;line-height:1.4;text-align:center;text-shadow:0 1px 5px #000,0 0 12px #0008;cursor:pointer}
.home-film-controls .home-film-audio svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;filter:drop-shadow(0 1px 2px #000)}
.home-film-controls [hidden]{display:none!important}
.home-film-controls .home-film-volume{display:flex;align-items:center;min-height:44px;width:76px;margin:0;padding:0}
.home-film-controls input[type=range]{width:76px;max-width:100%;min-height:32px;margin:0;accent-color:#fff;cursor:pointer}
.home-film-controls :focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:760px){.home-film-controls{left:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));gap:4px}}

/* AI credit pilot: homepage film only. */
[data-home-film] > .home-film-ai-credit {
  position: absolute;
  z-index: 3;
  bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  left: max(32px, calc(12px + env(safe-area-inset-left, 0px)));
  display: none;
  color: #fff;
  font: 400 12px/1.35 ArketicomBody, ArketicomSans, Arial, sans-serif;
  text-shadow: 0 1px 3px #000, 0 0 7px #000b;
  pointer-events: none;
}
[data-home-film].film-ready > .home-film-ai-credit { display: block; }
@media (max-width: 760px) {
  [data-home-film] > .home-film-ai-credit {
    left: calc(18px + env(safe-area-inset-left, 0px));
    bottom: calc(67px + env(safe-area-inset-bottom, 0px));
    font-size: 10px;
  }
}
