/* Wellness hero: the concept film shown at its original 3:2 frame (1764×1172), never cropped or zoomed,
   with the copy set directly on the image. An even, light darkening (no coloured fade) keeps Star White text legible.
   Headline follows the brand guide spec: Poppins Medium, tracking -68, line spacing 0.88. */
.experience-wellness .home-hero.film-hero{
 --stone:122 91 62;--film-ratio:1764/1172;--edge:clamp(12px,1.8vw,28px);
 position:relative;display:flex;align-items:flex-end;min-height:0;overflow:hidden;isolation:isolate;container-type:inline-size;
 /* The card takes the film's own proportions and is sized to fit the screen height on desktops. */
 width:min(calc(100% - var(--edge) * 2),calc((100svh - 104px) * 1764 / 1172));aspect-ratio:var(--film-ratio);
 margin:clamp(4px,1svh,12px) auto 0;padding:clamp(28px,3.6vw,56px);
 border-radius:var(--hero-radius,40px);background:rgb(var(--stone));color:var(--white)}
/* Rounded, inset card: echoes the Wellness arch photographs and the guide's tagline capsule. */
.experience-wellness .home-hero.film-hero.hero-arch{--hero-radius:clamp(110px,14vw,240px) clamp(110px,14vw,240px) 28px 28px}
.film-bg{position:absolute;inset:0;z-index:-1;overflow:hidden}
.film-bg img,.film-bg video{position:absolute;inset:0;width:100%;max-width:none;height:100%;object-fit:cover;object-position:50% 50%}
.film-bg video{opacity:0;transition:opacity 700ms cubic-bezier(.22,1,.36,1)}
.film-hero.is-playing .film-bg video{opacity:1}


.film-hero .film-layout{width:100%;max-width:none;padding-inline:0}
/* The packet occupies the middle 40–60% of the frame; the copy stays within the left third. */
/* No overlay on the film (user feedback: it read as a dark film). Legibility comes from a soft glow on the letters only. */
.film-copy{max-width:34%;text-shadow:0 1px 2px rgb(48 39 31 / .6),0 0 18px rgb(48 39 31 / .55),0 0 42px rgb(48 39 31 / .4)}
.experience-wellness .film-hero .film-copy h1{font-family:var(--heading);font-weight:500;font-size:clamp(40px,6.2cqi,76px);letter-spacing:-.068em;line-height:.88;max-width:none;margin:18px 0 20px;color:var(--white)}
.experience-wellness .film-hero .lead{margin:0;max-width:30ch;font-size:clamp(15px,1.65cqi,20px);line-height:1.4;letter-spacing:-.012em;color:var(--white)}
.experience-wellness .film-hero .actions{margin:28px 0 0;gap:12px 24px;text-shadow:none}
.experience-wellness .film-hero .actions .button{background:var(--white);color:var(--red);border-color:var(--white)}
.experience-wellness .film-hero .actions .button:hover{background:var(--yellow);border-color:var(--yellow)}
.experience-wellness .film-hero .actions .text-link{color:var(--white);font-weight:500;text-decoration-color:rgb(239 239 232 / .75);text-shadow:0 1px 2px rgb(48 39 31 / .7),0 0 18px rgb(48 39 31 / .65)}
.experience-wellness .film-hero :is(a,button):focus-visible{outline-color:var(--yellow)}

.film-seal{--seal:clamp(56px,5vw,76px);position:relative;display:block;width:var(--seal);aspect-ratio:1;border-radius:50%;background:var(--yellow);transform:rotate(var(--seal-turn,0deg))}
.film-seal::after{content:"";position:absolute;inset:14%;background:var(--red);-webkit-mask:url("assets/brand-mark-mask-280.webp") center/contain no-repeat;mask:url("assets/brand-mark-mask-280.webp") center/contain no-repeat}

.brand-ribbon{overflow:hidden;padding-block:clamp(36px,5vw,56px) 24px;margin-bottom:8px}
.ribbon-track{display:flex;align-items:center;gap:44px;width:max-content;margin-left:-6%;padding:16px 44px;background:var(--green);transform:rotate(-2deg) translateX(calc(var(--ribbon-shift,0) * -1px))}
.ribbon-word,.ribbon-seal{flex:none;background:var(--yellow)}
.ribbon-word{width:58px;aspect-ratio:256/137;-webkit-mask:url("assets/logo-secondary-mask-256.webp") center/contain no-repeat;mask:url("assets/logo-secondary-mask-256.webp") center/contain no-repeat}
.ribbon-seal{width:30px;aspect-ratio:1;-webkit-mask:url("assets/brand-mark-mask-280.webp") center/contain no-repeat;mask:url("assets/brand-mark-mask-280.webp") center/contain no-repeat}

/* Tablets: the same 3:2 frame with copy on the image; the column is a little wider. */
@media(max-width:1000px){
 .film-copy{max-width:40%}
 .experience-wellness .film-hero .film-copy h1{font-size:clamp(36px,6.8cqi,56px);margin:12px 0 14px}
 .experience-wellness .film-hero .lead{font-size:15px;max-width:none}
 .experience-wellness .film-hero .actions{margin-top:20px;flex-direction:column;align-items:flex-start;gap:4px}
 .film-seal{--seal:48px}
}
/* Phones: a portrait film composed for the screen (the same scene extended upward and downward),
   shown whole at its own 9:16-like frame. Headline over the wall above the packet, actions over the steps below. */
@media(max-width:700px){
 .experience-wellness .home-hero.film-hero{--film-ratio:1080/1936;width:auto;margin-inline:var(--edge);padding:clamp(22px,6vw,32px) clamp(20px,5.5vw,28px) clamp(20px,5vw,28px);align-items:stretch}
 .experience-wellness .home-hero.film-hero.hero-arch{--hero-radius:clamp(90px,26vw,150px) clamp(90px,26vw,150px) 24px 24px}
 .film-hero .film-layout{display:flex}
 .film-copy{max-width:none;display:flex;flex-direction:column;width:100%;padding-top:clamp(28px,9vw,48px)}
 .film-seal{--seal:44px}
 .experience-wellness .film-hero .film-copy h1{font-size:clamp(40px,12.5cqi,54px);margin:12px 0 12px}
 .experience-wellness .film-hero .lead{font-size:16px;line-height:1.4;max-width:28ch}
 .experience-wellness .film-hero .actions{margin-top:auto;flex-direction:row;align-items:center;gap:8px 20px}
 .brand-ribbon{padding-block:28px}
 .ribbon-track{gap:32px;padding:12px 32px}
 .ribbon-word{width:46px}.ribbon-seal{width:24px}
}
@media(max-width:360px){.film-copy{padding-top:20px}.film-seal{--seal:36px}.experience-wellness .film-hero .film-copy h1{font-size:36px;margin:10px 0}.experience-wellness .film-hero .lead{font-size:14px;line-height:1.35}}
.motion-paused .film-bg video{transition:none}
@media(prefers-reduced-motion:reduce){.film-bg video{transition:none}}

/* Scroll expansion: a full-screen film panel stays pinned while its visible window grows from the rounded
   card above to the whole screen, then the page scrolls on. hero-film.js measures the starting card
   (--it/--ir/--ib/--il) and sets --p from 0 to 1. Reduced motion, Pause motion and no-JS keep the static card. */
/* Pre-paint reservation (index.html head gate): the stage already has its full scroll height when the page first paints. */
.film-expand [data-film-stage]{position:relative;height:calc(100svh + var(--expand,75svh))}
@media(max-width:700px){.film-expand [data-film-stage]{--expand:65svh}}
.film-stage{--p:0;--rt:clamp(110px,14vw,240px);--rb:28px;--k:calc(1 - var(--p));position:relative;height:calc(100svh + var(--expand,75svh))}
.experience-wellness .film-stage .home-hero.film-hero{position:sticky;top:0;width:100%;height:100svh;max-width:none;aspect-ratio:auto;margin:0;padding:0;border-radius:0;background:transparent;container-type:normal;
 clip-path:inset(calc(var(--it) * var(--k)) calc(var(--ir) * var(--k)) calc(var(--ib) * var(--k)) calc(var(--il) * var(--k)) round calc(var(--rt) * var(--k)) calc(var(--rt) * var(--k)) calc(var(--rb) * var(--k)) calc(var(--rb) * var(--k)))}
.film-stage .film-bg{background:rgb(122 91 62)}
.film-stage .film-hero .film-layout{position:absolute;top:var(--it);right:var(--ir);bottom:var(--ib);left:var(--il);width:auto;display:flex;align-items:flex-end;padding:clamp(28px,3.6vw,56px);container-type:inline-size}
@media(max-width:700px){
 .film-stage{--rt:clamp(90px,26vw,150px);--rb:24px;--expand:65svh}
 .film-stage .film-hero .film-layout{align-items:stretch;padding:clamp(22px,6vw,32px) clamp(20px,5.5vw,28px) clamp(20px,5vw,28px)}
}
/* The film starts scaled to fit the card and eases to full-screen cover as the window opens. */
.film-stage .film-bg img,.film-stage .film-bg video{inset:auto;left:50%;top:50%;width:var(--fw,100%);height:var(--fh,100%);translate:-50% -50%;
 transform:translateY(calc(var(--dy,0px) * var(--k))) scale(calc(var(--s0,1) + (1 - var(--s0,1)) * var(--p)));will-change:transform}

/* Phones: headline and actions only (user feedback: the hero felt clustered; the next section explains the product). */
@media(max-width:700px){.film-hero .film-copy .lead{display:none}}
