/* Film band (templates/eg/_film.html): one quiet film per page in the Espresso Glass frame. Used by eg pages, the RevEyeQ landing
   and the Hotel AI Visibility landing. Photography rule from the kit: saturate .88, brightness under .9, soft veil at the bottom. */
.eg-film-sec{padding-top:24px!important;padding-bottom:72px!important}
.eg-film{position:relative;overflow:hidden;aspect-ratio:21/9;border-radius:30px;border:1px solid rgba(241,221,191,.18);background:#120c09;box-shadow:inset 0 1px rgba(255,240,220,.08),0 28px 70px -25px rgba(0,0,0,.82);isolation:isolate}
.eg-film-v{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.88) brightness(.86)}
.eg-film::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(9,7,6,.18) 0,transparent 30%,transparent 62%,rgba(9,7,6,.55) 100%)}
.eg-film-btn{position:absolute;right:16px;bottom:16px;z-index:2;width:40px;height:40px;padding:0;display:grid;place-items:center;border-radius:999px;border:1px solid rgba(241,221,191,.35);background:rgba(20,14,10,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#F1DDBF;cursor:pointer;transition:background .2s cubic-bezier(.2,.7,.2,1)}
.eg-film-btn[hidden]{display:none}
.eg-film-btn:hover{background:rgba(40,27,19,.8)}
.eg-film-btn:focus-visible{outline:2px solid #E2BE92;outline-offset:3px}
.eg-film-btn .i-play{display:none}.eg-film-btn.is-paused .i-play{display:block}.eg-film-btn.is-paused .i-pause{display:none}
@media (max-width:700px){.eg-film{aspect-ratio:4/3;border-radius:22px}.eg-film-sec{padding-bottom:48px!important}}
@media (prefers-reduced-transparency:reduce){.eg-film-btn{background:#1B120E;-webkit-backdrop-filter:none;backdrop-filter:none}}
/* RevEyeQ landing has no .wrap: use its own page width */
.x .eg-film-sec{max-width:1120px;margin:0 auto;padding-left:clamp(18px,4vw,58px);padding-right:clamp(18px,4vw,58px)}
/* Hotel AI Visibility landing: the band sits inside .hav-lp, which already sets the page width */
.hav-lp .eg-film-sec{padding-left:0!important;padding-right:0!important}

/* Header film (Macky, 25 Oct 2026: "on header, blur the video on all headers"): the video plays as delivered (no colour change), blurred,
   full width behind the page hero. A dark veil on the text side keeps the headline readable (kit: 4.5:1 at the brightest pixel). */
.has-hero-film{position:relative!important;isolation:isolate}
.hero-film{position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);z-index:-1;pointer-events:none;overflow:hidden;background:#0E0A08}
.hero-film-v{width:100%;height:100%;object-fit:cover;filter:blur(4px) brightness(1.08);transform:scale(1.04)}
.hero-film::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,7,6,.7) 0%,rgba(9,7,6,.5) 40%,rgba(9,7,6,.2) 72%,rgba(9,7,6,.12) 100%),linear-gradient(180deg,rgba(9,7,6,.4) 0%,transparent 22%,transparent 76%,#0E0A08 100%)}
.hero-film-btn{position:absolute;right:clamp(16px,3vw,40px);bottom:28px;z-index:3}
.has-hero-film :is(h1,.x-lead,p,.eyebrow,.eyebrow-line,.x-eb,.crumb){text-shadow:0 1px 2px rgba(0,0,0,.5)}
@media (max-width:899px){.hero-film::after{background:linear-gradient(180deg,rgba(9,7,6,.45) 0%,rgba(9,7,6,.6) 55%,#0E0A08 100%)}}

/* Tagline on a body film (templates/eg/_film.html, film(slug, tag)): a line already on the page, shown over the calm lower-left of the
   film in the book serif; drawn from data-t so it adds no text to the page. Veil keeps it readable (kit: 4.5:1 at the brightest pixel). */
.eg-film-tag{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:80px clamp(22px,4vw,48px) clamp(22px,3.4vw,40px);background:linear-gradient(180deg,transparent 0%,rgba(9,7,6,.55) 45%,rgba(9,7,6,.82) 100%);pointer-events:none}
.eg-film-tag::before{content:attr(data-t);display:block;max-width:720px;font:400 clamp(22px,2.6vw,36px)/1.22 'Iowan Old Style','Newsreader',Georgia,serif;letter-spacing:-.02em;color:#F4ECE2;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.eg-film-tag::after{content:"";display:block;width:46px;height:1px;margin-top:16px;background:#E2BE92}
@media (prefers-reduced-motion:no-preference){.eg-film-tag::before{animation:egTagIn .9s cubic-bezier(.2,.7,.2,1) both;animation-timeline:view();animation-range:entry 10% cover 35%}}
@keyframes egTagIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (max-width:700px){.eg-film-tag{padding:60px 18px 18px}.eg-film-tag::before{font-size:20px}}
