/* Viridian sale heroes: shared styles (hero frame, flip clock, OPEN button, reveal layer, sale cards). */
/* --hdr = what sits above and below the hero in the first view (site header + bottom sticky bar on the mirror). Override per page: .vsa-sh{--hdr:130px} */
.vsa-sh{
  --ar:var(--ar-d,1.7786); --ease:cubic-bezier(.32,.72,0,1); --slide:cubic-bezier(.76,0,.24,1);
  --h:min(calc(100vw / var(--ar)), max(560px, calc(100svh - var(--hdr,200px))));
  position:relative; width:100%; height:var(--h); overflow:hidden; isolation:isolate; line-height:1.2; margin:0; padding:0;
  background:#000; color:#fff; -webkit-font-smoothing:antialiased; font-family:"Plus Jakarta Sans",system-ui,sans-serif;
}
@media (max-width:767px){ .vsa-sh{ --ar:var(--ar-m,.9909); --h:calc(100vw / var(--ar)); } }
.vsa-sh *{ box-sizing:border-box; }
.vsa-sh__sr{ position:absolute!important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
.vsa-sh__cover{ position:absolute; inset:0; z-index:3; }
.vsa-sh__stage{ position:absolute; left:50%; top:50%; width:max(100%, calc(var(--h) * var(--ar))); aspect-ratio:var(--ar); transform:translate(-50%,-50%); container-type:inline-size; }
.vsa-sh__shard{ position:absolute; inset:0; }
.vsa-sh__img{ display:block; width:100%; height:100%; max-width:none; object-fit:fill; user-select:none; -webkit-user-drag:none; }

/* ---- flip clock: grouped light-grey frames, dark cells, hinge line, condensed digits (after the Canva design) ---- */
.vsa-clock{ --cw:var(--clock-cw,3.4cqw); --ch:var(--clock-ch,5.6cqw); --fs:calc(var(--ch) * .8); display:flex; align-items:flex-start; justify-content:center; gap:var(--clock-gap,1.9cqw); }
.vsa-clock__g{ display:flex; flex-direction:column; align-items:center; }
.vsa-clock__cells{ display:flex; gap:2px; padding:3px; background:#050505; border:max(2px,.22cqw) solid #cfcfcf; border-radius:3px; }
.vsa-clock__l{ margin-top:calc(var(--ch) * .12); font:500 calc(var(--ch) * .28)/1 "Bebas Neue","Arial Narrow",sans-serif; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.62); }
.vsa-clock__sep{ display:flex; flex-direction:column; justify-content:center; gap:calc(var(--ch) * .22); height:calc(var(--ch) + 6px + .44cqw); }
.vsa-clock__sep i{ width:max(3px,.5cqw); height:max(3px,.5cqw); background:#5b5b5b; }
.vsa-fc{ position:relative; display:block; width:var(--cw); height:var(--ch); perspective:calc(var(--ch) * 5); font-style:normal; }
.vsa-fc>span{ position:absolute; left:0; width:100%; height:50%; overflow:hidden; background:linear-gradient(135deg,#2a2a2a,#1c1c1c 60%,#232323); backface-visibility:hidden; }
.vsa-fc__t,.vsa-fc__ft{ top:0; border-radius:2px 2px 0 0; }
.vsa-fc__b,.vsa-fc__fb{ bottom:0; border-radius:0 0 2px 2px; background:linear-gradient(135deg,#242424,#171717 60%,#1e1e1e)!important; }
.vsa-fc i{ position:absolute; left:0; width:100%; height:var(--ch); display:block; text-align:center; font:400 var(--fs)/var(--ch) "Bebas Neue","Arial Narrow",sans-serif; font-style:normal; color:#ececec; letter-spacing:.01em; font-variant-numeric:tabular-nums; }
.vsa-fc__t i,.vsa-fc__ft i{ top:0; } .vsa-fc__b i,.vsa-fc__fb i{ top:-100%; }
.vsa-fc__ft{ transform-origin:50% 100%; z-index:2; } .vsa-fc__fb{ transform-origin:50% 0; transform:rotateX(90deg); z-index:2; }
.vsa-fc::after{ content:""; position:absolute; left:0; right:0; top:calc(50% - .5px); height:1px; background:#000; z-index:4; }
.vsa-fc::before{ content:""; position:absolute; left:-2px; right:-2px; top:calc(50% - 2px); height:4px; z-index:3; background:
  linear-gradient(#0a0a0a,#0a0a0a) left/3px 100% no-repeat, linear-gradient(#0a0a0a,#0a0a0a) right/3px 100% no-repeat; }
.vsa-fc.is-flip .vsa-fc__ft{ animation:vsa-ft .24s cubic-bezier(.55,0,.9,.6) both; }
.vsa-fc.is-flip .vsa-fc__fb{ animation:vsa-fb .24s .24s cubic-bezier(.1,.6,.4,1) both; }
@keyframes vsa-ft{ from{ transform:rotateX(0); } to{ transform:rotateX(-90deg); } }
@keyframes vsa-fb{ from{ transform:rotateX(90deg); } to{ transform:rotateX(0); } }

/* ---- OPEN: real button, hidden until zero, then pops in ----
   Shadow = the card token set (guide.css --sh-rest / --sh-hover / --lift). The heroes also render without guide.css (shortcode on
   another page), so the fallbacks are the same token values, not a second shadow design. Hover lifts with the individual `translate`
   property so it composes with the transform the pop, press and exit animations own. Fine pointers only, like the cards. */
.vsa-sh{ --pill-sh:var(--sh-rest, 0 1px 2px rgb(36 31 27/.06),0 8px 20px -14px rgb(36 31 27/.22),0 24px 48px -32px rgb(36 31 27/.28));
  --pill-sh-up:var(--sh-hover, 0 2px 4px rgb(36 31 27/.07),0 16px 32px -16px rgb(36 31 27/.28),0 36px 64px -30px rgb(36 31 27/.34)); }
.vsa-open{ position:absolute; left:calc(var(--px) * 1cqw); top:calc(var(--py) * 1cqw); width:calc(var(--pw) * 1cqw); height:calc(var(--pw) * .264cqw); transform:translate(-50%,-50%); z-index:6;
  display:flex; align-items:center; justify-content:center; padding:0; margin:0; border:0; border-radius:999px; cursor:pointer; color:#fff;
  background:linear-gradient(#ffbd0c,#fdb90b); box-shadow:inset 0 calc(var(--pw) * -.03cqw) 0 #d99a0a, var(--pill-sh); -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
.vsa-open[hidden]{ display:none; }
.vsa-open__t{ font:300 calc(var(--pw) * .136cqw)/1 "Montserrat","Plus Jakarta Sans",sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#fff; padding:0 0 calc(var(--pw) * .03cqw) .08em; }   /* OPEN centred on the amber face: bottom padding = the lip height, left = the trailing letter-spacing */
.vsa-open{ transition:translate var(--t-down,.42s) var(--ease-card,cubic-bezier(.32,.72,0,1)), box-shadow var(--t-down,.42s) var(--ease-card,cubic-bezier(.32,.72,0,1)); }
.vsa-open:hover{ filter:brightness(1.05); }
@media (hover:hover) and (pointer:fine){
  .vsa-open:hover{ translate:0 calc(var(--lift,-6px) / 2); box-shadow:inset 0 calc(var(--pw) * -.03cqw) 0 #d99a0a, var(--pill-sh-up); transition-duration:var(--t-up,.28s); }
  .vsa-open.vsa-open--link:hover{ box-shadow:inset 0 calc(var(--w) * -.03) 0 #d99a0a, var(--pill-sh-up); }
}
.vsa-open:active{ transform:translate(-50%,-50%) scale(.97); }
.vsa-open:focus-visible{ outline:3px solid #fff; outline-offset:4px; box-shadow:0 0 0 8px #0a2f35, inset 0 calc(var(--pw) * -.03cqw) 0 #d99a0a, var(--pill-sh-up); }
.vsa-sh.is-zero .vsa-open{ animation:vsa-pop .55s var(--ease) both; }
@keyframes vsa-pop{ 0%{ opacity:0; transform:translate(-50%,-50%) scale(.5); } 62%{ opacity:1; transform:translate(-50%,-50%) scale(1.07); } 100%{ opacity:1; transform:translate(-50%,-50%) scale(1); } }
.vsa-sh.is-opening .vsa-open{ transition:opacity .25s ease-out, transform .25s var(--ease); opacity:0; transform:translate(-50%,-50%) scale(.9); pointer-events:none; animation:none; }
.vsa-sh.is-opening .vsa-sh__clock{ transition:opacity .3s ease-out; opacity:0; }
.vsa-sh__nojs{ position:absolute; z-index:8; left:50%; bottom:12px; transform:translateX(-50%); background:#fdb90b; color:#111; padding:.6em 1.2em; border-radius:999px; font-weight:700; text-decoration:none; }

/* ---- reveal layer: sale cards in the site's own card look (after the home carousel) ---- */
.vsa-sh__reveal{ position:absolute; inset:0; z-index:1; background:#fbf8f3; --teal:#1fa9a4; --teal-d:#0c757e; --terra:#bf4a28; --ink:#241f1b; --muted:#8b857c; --line2:rgba(36,31,27,.06); color:var(--ink); }
.vsa-sh__cards{ list-style:none; margin:0; padding:clamp(14px,2.2vw,34px); height:100%; display:flex; gap:clamp(14px,1.6vw,26px); overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; scroll-padding-inline:clamp(14px,2.2vw,34px); align-items:center; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.vsa-sh__cards::-webkit-scrollbar{ display:none; }
.vsa-sh__card{ flex:0 0 clamp(210px,19.5vw,300px); max-height:100%; display:flex; flex-direction:column; min-height:0; margin:0!important; padding:clamp(12px,1.3vw,22px); list-style:none; scroll-snap-align:start; background:#fff; border:1px solid var(--line2); border-radius:24px;
  box-shadow:0 24px 50px -30px rgba(36,31,27,.30),0 8px 20px -16px rgba(36,31,27,.16); opacity:0; transform:translate3d(0,26px,0); filter:blur(8px); }
.vsa-sh__cards .vsa-sh__card:first-child{ margin-left:auto!important; } .vsa-sh__cards .vsa-sh__card:last-child{ margin-right:auto!important; }
.vsa-sh.is-opening .vsa-sh__card,.vsa-sh.is-open .vsa-sh__card{ opacity:1; transform:none; filter:none; transition:opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay:calc(.35s + min(var(--i), 8) * .08s); }   /* capped: a 20-card section must not take 2 s to arrive */
.vsa-sh.is-open .vsa-sh__card{ transition:none; }
.vsa-sh__clink{ --lc:var(--ink,#241f1b); --lch:var(--ink,#241f1b); display:flex; flex-direction:column; flex:0 1 auto; min-height:0; text-decoration:none; color:inherit; border-radius:16px; }
.vsa-sh__clink:focus-visible,.vsa-sh__card .button:focus-visible{ outline:3px solid var(--teal-d); outline-offset:3px; }
.vsa-sh__cmedia{ display:flex; flex:0 1 auto; width:100%; aspect-ratio:1/1; min-height:0; align-items:center; justify-content:center; margin:0 0 clamp(8px,1vw,14px); }
.vsa-sh__cimg{ display:block; width:100%!important; height:100%!important; object-fit:contain; border-radius:14px; }
.vsa-sh__ctitle{ margin:0 0 6px; padding:0; font:500 clamp(15px,1.45vw,20px)/1.24 "Fraunces",Georgia,serif; color:var(--ink); text-wrap:balance; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.vsa-sh__cprice{ display:flex; align-items:baseline; gap:9px; flex-wrap:wrap; margin:0; padding:0; font-family:"Plus Jakarta Sans",sans-serif; }
.vsa-sh__cprice .screen-reader-text{ display:none; }
.vsa-sh__cprice del,.vsa-sh__cprice del .woocommerce-Price-amount{ color:var(--muted); opacity:1; font-size:clamp(12px,1.05vw,15px); font-weight:400; }
.vsa-sh__cprice ins,.vsa-sh__cprice ins .woocommerce-Price-amount{ color:var(--terra); font-weight:700; text-decoration:none; font-size:clamp(16px,1.5vw,22px); background:none; }
.vsa-sh__card .button{ display:block; width:100%; margin-top:clamp(8px,1vw,16px); padding:clamp(10px,1vw,14px) 14px; text-align:center; text-decoration:none; background:var(--teal); --lc:#fff; --lch:#fff; border:0; border-radius:999px; font:700 clamp(10.5px,.95vw,12.5px)/1.2 "Plus Jakarta Sans",sans-serif; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 10px 22px -12px rgba(13,110,106,.6); transition:background .3s var(--ease), transform .3s var(--ease); }
.vsa-sh__card .button:hover{ background:var(--teal-d); transform:translateY(-2px); }
.vsa-sh__card .button .vsa-btxt{ color:#fff; } .vsa-sh__card a.added_to_cart{ display:block; text-align:center; font-size:12px; font-weight:600; --lc:var(--teal-d,#0c757e); --lch:var(--teal-d,#0c757e); margin-top:6px; }
@media (max-width:767px){ .vsa-sh__card{ flex-basis:min(62vw,250px); } }

/* ---- reduced motion: no pop travel, no slide, no flip, no bob. Fades only. ---- */
@media (prefers-reduced-motion:reduce){
  .vsa-sh.is-zero .vsa-open{ animation:vsa-fadein .3s ease-out both; }
  .vsa-fc.is-flip .vsa-fc__ft,.vsa-fc.is-flip .vsa-fc__fb{ animation:none; }
  .vsa-sh__card{ transform:none; filter:none; }
  .vsa-sh.is-opening .vsa-sh__card,.vsa-sh.is-open .vsa-sh__card{ transition:opacity .4s ease-out; transition-delay:0s; }
}
@keyframes vsa-fadein{ from{ opacity:0; } to{ opacity:1; } }

/* ==== link mode: every hero fits the visible height. The hero box is the smaller of 16:9 and the visible space, so it never leaves a gap and never hides under the fold.
   Inside, the 1920 x 1080 composition is contained: 1 design px = var(--f) = min(stage width / 1920, stage height / 1080), offset by --cx, --cy. The background fills the rest (per hero css).
   Portrait screens and phones use a taller window per hero, in --v units: --v = stage height / --ar-h, which equals 1cqw until the visible height caps it.
   --vsa-top is the theme header + announcement bar; engine.js measures it, the value here is the no-JS fallback. The header is not sticky, so only the first hero loses it. The theme's fixed bar is off on these pages. ==== */
.vsa-stack{ --vsa-top:122px; }
@media (max-width:767px){ .vsa-stack{ --vsa-top:116px; } }
.vsa-sh.vsa-sh--link{ --vis:max(260px, 100vh); --vis:max(260px, 100svh);
  --f:min(calc(100cqw / 1920), calc(100cqh / 1080)); --cx:calc((100cqw - 1920 * var(--f)) / 2); --cy:calc((100cqh - 1080 * var(--f)) / 2);
  width:100%; height:auto; aspect-ratio:16 / 9; max-height:var(--vis); }
.vsa-stack > .vsa-sh.vsa-sh--link:first-of-type{ --vis:max(260px, calc(100vh - var(--vsa-top,0px))); --vis:max(260px, calc(100svh - var(--vsa-top,0px))); }
@media (max-width:767px), (orientation:portrait){
  .vsa-sh.vsa-sh--link{ --v:calc(100cqh / var(--ar-h)); --cx:calc((100cqw - 100 * var(--v)) / 2); --cy:0px; aspect-ratio:100 / var(--ar-h); }
}
.vsa-sh.vsa-sh--link .vsa-sh__stage{ left:0; top:0; width:100%; height:100%; aspect-ratio:auto; transform:none; container-type:size; }
.vsa-art{ position:absolute; left:var(--cx); top:var(--cy); display:block; width:calc(1920 * var(--f)); height:calc(1080 * var(--f)); max-width:none; margin:0; user-select:none; -webkit-user-drag:none; }

/* clock: same parts as the 3 Nov clock, sized in --cu so it scales as one object. 930 is the Canva clock width; each hero sets where and how wide. */
.vsa-sh.vsa-sh--link .vsa-sh__clock{ position:absolute; left:calc(var(--cx) + var(--clk-l)); top:calc(var(--cy) + var(--clk-t)); width:var(--clk-w); right:auto; bottom:auto; transform:none; z-index:5; --cu:calc(var(--clk-w) / 930); }
.vsa-sh--link .vsa-clock{ --cw:calc(82 * var(--cu)); --ch:calc(140 * var(--cu)); --fs:calc(118 * var(--cu)); justify-content:space-between; gap:0; align-items:center; width:100%; }
.vsa-sh--link .vsa-clock__l{ display:none; }   /* the design crops the labels off */
.vsa-sh--link .vsa-clock__cells{ gap:0; padding:0; border:max(1px, calc(4 * var(--cu))) solid #cfcfcf; border-radius:calc(2 * var(--cu)); }
.vsa-sh--link .vsa-clock__sep{ height:auto; gap:calc(30 * var(--cu)); }
.vsa-sh--link .vsa-clock__sep i{ width:calc(14 * var(--cu)); height:calc(14 * var(--cu)); background:#4b4b4b; }
.vsa-sh--link .vsa-fc + .vsa-fc{ box-shadow:-1px 0 0 #0c0c0c; }
.vsa-sh--link .vsa-fc:first-child::before{ left:0; } .vsa-sh--link .vsa-fc:last-child::before{ right:0; }
.vsa-sh--link .vsa-fc::before{ left:calc(-6 * var(--cu)); right:calc(-6 * var(--cu)); top:calc(50% - 4 * var(--cu)); height:calc(8 * var(--cu));
  background:linear-gradient(#0a0a0a,#0a0a0a) left/calc(12 * var(--cu)) 100% no-repeat, linear-gradient(#0a0a0a,#0a0a0a) right/calc(12 * var(--cu)) 100% no-repeat; }

/* pill: a real link that only exists after zero. Never smaller than a 44 px tap target, whatever the frame scale. */
.vsa-open.vsa-open--link{ --w:max(176px, var(--pill-w)); left:calc(var(--cx) + var(--pill-x)); top:min(calc(var(--cy) + var(--pill-y)), calc(100cqh - var(--w) * .255)); width:var(--w); height:calc(var(--w) * .254); padding:0; text-decoration:none; color:#fff; overflow:visible;
  background:#fdb90b; box-shadow:inset 0 calc(var(--w) * -.03) 0 #d99a0a, var(--pill-sh); }
.vsa-open--link .vsa-open__t{ font:300 calc(var(--w) * .1486)/1 "Montserrat","Plus Jakarta Sans",sans-serif; letter-spacing:0; padding:0 0 calc(var(--w) * .03); color:var(--open-ink,#fff); }   /* bottom padding = the lip height, so OPEN sits on the face's centre */
.vsa-open--link:focus-visible{ outline:3px solid #fff; outline-offset:4px; box-shadow:0 0 0 7px #000, inset 0 calc(var(--w) * -.03) 0 #d99a0a, var(--pill-sh-up); }
@media (max-width:767px){ .vsa-open--link .vsa-open__t{ font-weight:500; } }   /* white on amber is the design's colour and low contrast; heavier strokes where it is small */
.vsa-stack{ display:block; margin:0; padding:0; }

/* ---- link mode reveal: OPEN slides the pieces off and the sale cards are there, in the section. The section keeps its height while the pieces leave, then grows to fit the cards. ---- */
.vsa-sh--link .vsa-sh__reveal{ overflow:hidden; visibility:hidden; }
.vsa-sh--link.is-opening .vsa-sh__reveal,.vsa-sh--link.is-open .vsa-sh__reveal{ visibility:visible; }
/* Closed reveal: skip rendering it altogether (7 Nov, scroll stutter). Every closed hero on /promotions/ carries its whole campaign
   (sections, cards, glass squares, a disclaimer strip) hidden behind the cover, and every style or layout pass on the page was paying
   for all three. The box is absolutely placed with inset:0, so the size containment this brings changes nothing on screen. OPEN adds
   .is-opening, which renders it on the first frame of the slide. */
.vsa-sh--link:not(.is-opening):not(.is-open) .vsa-sh__reveal{ content-visibility:hidden; }
.vsa-sh.vsa-sh--link.is-open{ aspect-ratio:auto; max-height:none; height:auto; min-height:var(--closed-h,0px); transition:height .45s var(--ease); }
.vsa-sh--link.is-open .vsa-sh__reveal{ position:relative; inset:auto; min-height:var(--closed-h,0px); overflow:visible; }
.vsa-sh--link .vsa-sh__cards{ --gap:clamp(12px,1.6vw,26px); height:auto; display:flex; flex-wrap:wrap; justify-content:center; align-items:stretch; align-content:flex-start; gap:var(--gap); overflow:visible; padding:clamp(20px,3vw,48px) clamp(14px,3vw,48px) clamp(28px,4vw,64px); scroll-snap-type:none; }
.vsa-sh--link .vsa-sh__card{ flex:0 0 clamp(220px,18.5vw,300px); max-height:none; }
.vsa-sh--link .vsa-sh__cards .vsa-sh__card:first-child,.vsa-sh--link .vsa-sh__cards .vsa-sh__card:last-child{ margin:0!important; }
.vsa-sh--link .vsa-sh__clink{ flex:1 1 auto; }
.vsa-sh--link .vsa-sh__cprice{ margin-top:auto; }
.vsa-sh--link .vsa-sh__card .button{ min-height:44px; display:flex; align-items:center; justify-content:center; touch-action:manipulation; }
.vsa-sh__close{ display:none; position:absolute; z-index:4; right:max(12px,env(safe-area-inset-right,0px)); top:12px; width:44px; height:44px; padding:0; margin:0; border:0; border-radius:50%; align-items:center; justify-content:center; cursor:pointer; background:rgba(36,31,27,.72); color:#fff; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.vsa-sh__close:hover{ background:#241f1b; }
.vsa-sh__close:focus-visible{ outline:3px solid #0c757e; outline-offset:2px; }
.vsa-sh__close svg{ display:block; width:18px; height:18px; }
.vsa-sh--link.is-open .vsa-sh__close{ display:flex; }
@media (max-width:767px){
  .vsa-sh--link .vsa-sh__card{ flex:0 0 calc(50% - var(--gap) / 2); padding:10px; border-radius:18px; }
  .vsa-sh--link .vsa-sh__cards{ padding-top:64px; }
}
@media (prefers-reduced-motion:reduce){ .vsa-sh.vsa-sh--link.is-open{ transition:none; } }

/* ==== /promotions/ sticky stack (Seb, 6 Nov): each hero pins at the top and the next one slides up over it.
   Plain position:sticky inside .vsa-stack, so the page really scrolls and the scrollbar tells the truth. The stack is the
   containing block: when its end passes, all three leave together. Every hero is at most one visible height, so nothing is
   ever pinned out of reach. An OPEN hero grows taller than the screen, so it drops out of the stack (position:relative) and its
   cards scroll like any content; engine.js first scrolls it to its own place in the flow so the switch does not jump.
   No ancestor clips sticky on the mirror at 1440 or 800 (checked 6 Nov: every ancestor overflow is visible). The Divi header is
   not fixed, so the pin line is 0; override with --vsa-stick if a fixed header ever arrives.
   Reduced motion: no pinning, no dim, no smooth scrolling. The heroes simply follow each other, as before. ==== */
@media (prefers-reduced-motion:no-preference){
  html:has(.vsa-stack){ scroll-behavior:smooth; }   /* anchors, keyboard paging and the OPEN scroll; touch scrolling is untouched */
  .vsa-stack > .vsa-sh.vsa-sh--link{ position:sticky; top:var(--vsa-stick,0px); }
  .vsa-stack > .vsa-sh.vsa-sh--link.is-open{ position:relative; top:auto; }
  /* the edge that slides over: a soft shadow cast up onto the hero below it. ~ not +: style and font links sit between the heroes */
  .vsa-stack > .vsa-sh.vsa-sh--link ~ .vsa-sh.vsa-sh--link{ box-shadow:0 -22px 44px -18px rgba(0,0,0,.55); }
}
/* Depth: the covered hero dims while the next one rides in. Compositor only, no script, no per-frame work.
   Scroll-driven animations: Chrome and Edge 115+, Safari 26+. Elsewhere (Firefox) there is simply no dim. */
@supports (animation-timeline:view()) and (timeline-scope:--a){
  @media (prefers-reduced-motion:no-preference){
    .vsa-stack{ timeline-scope:--vsa-in-holiday,--vsa-in-summer; }
    .vsa-stack > .vsa-sh--link[data-hero="holiday"]{ view-timeline-name:--vsa-in-holiday; }
    .vsa-stack > .vsa-sh--link[data-hero="summer"]{ view-timeline-name:--vsa-in-summer; }
    .vsa-stack > .vsa-sh--link[data-hero="bf"]::after,.vsa-stack > .vsa-sh--link[data-hero="holiday"]::after{
      content:""; position:absolute; inset:0; z-index:9; pointer-events:none; background:#000; opacity:0;
      animation:vsa-stack-dim linear both; animation-range:cover 50vh cover 100vh; }   /* from the next hero's top at mid screen to the pin line: never dimmed at load, even on a tall tablet where two heroes show at once */
    .vsa-stack > .vsa-sh--link[data-hero="bf"]::after{ animation-timeline:--vsa-in-holiday; }
    .vsa-stack > .vsa-sh--link[data-hero="holiday"]::after{ animation-timeline:--vsa-in-summer; }
    .vsa-stack > .vsa-sh--link.is-open::after{ display:none; }   /* never dim cards someone is reading */
  }
}
@keyframes vsa-stack-dim{ to{ opacity:.5; } }

/* ==== campaign sections (sections.php): heading, one line, that section's cards. Shared by the OPEN reveal and the campaign page.
   The cards are the engine's own card. Section wording and products live in vsa_sh_sections(), never here. ==== */
.vsa-sh--bf,.vsa-camp--bf{ --sec-accent:#1fa9a4; }
.vsa-sh--holiday,.vsa-camp--holiday{ --sec-accent:#d9000b; }
.vsa-sh--summer,.vsa-camp--summer{ --sec-accent:#e9a21a; }
.vsa-sh__secs{ --gap:clamp(12px,1.6vw,26px); display:flex; flex-direction:column; gap:clamp(56px,6.4vw,112px); padding:0 0 clamp(40px,5.4vw,96px); }
.vsa-sec{ margin:0; padding:0 clamp(14px,3vw,48px); }   /* sections are full width, so a photo can bleed edge to edge; the inset lives here */
.vsa-sec:first-child:not(.vsa-sec--photo){ padding-top:clamp(36px,4.6vw,80px); }
.vsa-sec__head{ max-width:44rem; margin:0 auto clamp(20px,2.6vw,40px); padding:0 8px; text-align:center; }
.vsa-sec__head::before{ content:""; display:block; width:44px; height:3px; margin:0 auto clamp(12px,1.2vw,18px); border-radius:2px; background:var(--sec-accent,#1fa9a4); }
.vsa-sh__secs .vsa-sec__h{ margin:0 0 .3em!important; padding:0!important; font:500 clamp(26px,3.1vw,46px)/1.08 "Fraunces",Georgia,serif!important; letter-spacing:-.012em; color:#241f1b!important; text-wrap:balance; text-transform:none; }
.vsa-sh__secs .vsa-sec__line{ margin:0!important; padding:0!important; font:400 clamp(15px,1.15vw,18px)/1.5 "Plus Jakarta Sans",system-ui,sans-serif; color:#625b52; text-wrap:pretty; }
.vsa-sh__secs .vsa-sh__cards.vsa-sec__cards{ height:auto; display:flex; flex-wrap:wrap; justify-content:center; align-items:stretch; align-content:flex-start; gap:var(--gap); margin:0; padding:0; overflow:visible; scroll-snap-type:none; }
.vsa-sh__secs .vsa-sec__cards .vsa-sh__card:first-child,.vsa-sh__secs .vsa-sec__cards .vsa-sh__card:last-child{ margin:0!important; }
.vsa-camp__body .vsa-sh__secs{ padding:0; }
.vsa-camp__body.vsa-camp__body--secs{ padding:0 0 clamp(32px,5vw,80px); }
@media (max-width:767px){
  .vsa-sh--link .vsa-sec:first-child:not(.vsa-sec--photo){ padding-top:72px; }   /* clear of the close button */
  .vsa-sh__secs .vsa-sh__cards.vsa-sec__cards{ padding:0; }
}
/* in the OPEN reveal the headings arrive with the cards: fade, rise, de-blur */
.vsa-sh .vsa-sec__head{ opacity:0; transform:translateY(14px); filter:blur(7px); }
.vsa-sh.is-opening .vsa-sec__head,.vsa-sh.is-open .vsa-sec__head{ opacity:1; transform:none; filter:none; transition:opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); transition-delay:calc(.3s + min(var(--n,0), 3) * .1s); }
.vsa-sh.is-open .vsa-sec__head{ transition:none; }
@media (prefers-reduced-motion:reduce){
  .vsa-sh .vsa-sec__head{ transform:none; filter:none; }
  .vsa-sh.is-opening .vsa-sec__head,.vsa-sh.is-open .vsa-sec__head{ transition:opacity .4s ease-out; transition-delay:0s; }
}

/* ==== section photo (sections.php 'bg'): a full-bleed band behind the heading, the line and the top of the cards, melting into the
   page colour below. The cards keep their white surfaces and sit over it. Readability first: the heading is white on a scrim that is
   darkest where the words are. The photo is a lazy <img> with its own width and height in an absolutely placed box, so it never
   moves anything while it loads. No parallax: it would add per-frame work inside a section that has just left the sticky stack, and
   the photos are not big enough to travel without going soft. ==== */
.vsa-sec--photo{ position:relative; isolation:isolate; padding-top:clamp(72px,7.6vw,132px); }
.vsa-sec__bg{ position:absolute; z-index:-1; top:0; left:0; right:0; height:clamp(460px,50.5vw,880px); overflow:hidden; background:#2b2420; pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,#000 58%,transparent 100%); mask-image:linear-gradient(180deg,#000 58%,transparent 100%); }
.vsa-sec__img{ display:block; width:100%!important; height:100%!important; max-width:none; margin:0; object-fit:cover; object-position:var(--bg-pos,50% 50%); }
.vsa-sec__bg::after{ content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse 58% 34% at 50% calc(clamp(72px,7.6vw,132px) + 60px), rgba(14,10,8,.5), rgba(14,10,8,0) 72%),
             linear-gradient(180deg, rgba(14,10,8,.6) 0%, rgba(14,10,8,.46) 30%, rgba(14,10,8,.2) 62%, rgba(14,10,8,0) 100%); }
.vsa-sh__secs .vsa-sec--photo .vsa-sec__h{ color:#fff!important; text-shadow:0 1px 22px rgba(0,0,0,.45); }
.vsa-sh__secs .vsa-sec--photo .vsa-sec__line{ color:#fff; text-shadow:0 1px 14px rgba(0,0,0,.55); }
.vsa-sec--photo .vsa-sh__card{ box-shadow:0 18px 40px -18px rgba(20,14,10,.45); }
@media (max-width:767px){ .vsa-sec--photo{ padding-top:84px; } .vsa-sec__bg{ height:clamp(420px,112vw,560px); } }
/* narrower screens crop the photo closer, so brighter parts land behind the words: a firmer scrim keeps the small line above 4.5:1 */
@media (max-width:1024px){
  .vsa-sec__bg::after{ background:radial-gradient(ellipse 80% 30% at 50% 150px, rgba(14,10,8,.55), rgba(14,10,8,0) 75%),
    linear-gradient(180deg, rgba(14,10,8,.7) 0%, rgba(14,10,8,.58) 30%, rgba(14,10,8,.26) 62%, rgba(14,10,8,0) 100%); }
}

/* ==== solo: an opened campaign stands alone (engine.js solo()). The other heroes fade while it opens, then leave the flow, so the
   opened state is the campaign page: header, this campaign, its sections, footer. Close brings them back. ==== */
.vsa-stack.is-solo-going > .vsa-sh:not(.is-solo){ opacity:0; transition:opacity .5s ease-out .15s; }
.vsa-stack.is-solo > .vsa-sh:not(.is-solo){ display:none; }
@media (prefers-reduced-motion:reduce){ .vsa-stack.is-solo-going > .vsa-sh:not(.is-solo){ transition:none; } }
/* the "Black Friday is coming" bar (wp-anticipation) is not part of the Holiday or Summer page: it leaves with the other heroes */
html.vsa-solo-going:not(.vsa-solo-bf) .vsa-ant-bar{ opacity:0; transition:opacity .5s ease-out .15s; }
html.vsa-solo-on:not(.vsa-solo-bf) .vsa-ant-bar{ display:none!important; }

/* ==== split OPEN for Black Friday and Summer (Seb, 6 Nov: "work the same way as Holiday Special"). Holiday has its own copy in holiday.css.
   The hero is two full-stage halves, each clipped to one side of --cut (the line between the two words, under the clock's centre), so no
   letter is cut. The clock and OPEN fade first (the engine's 0.25 s). The top half rises by exactly --cut, the bottom falls by the rest, so
   both clear on the last frame. Behind them the campaign page's own band, then the sections, come up out of focus, as on Holiday.
   No colour of the hero's own trails: Black Friday's halves carry their black, Summer's colour pieces run past the stage. ==== */
.vsa-sh--split{ --split:1.1s; --part:cubic-bezier(.65,0,.25,1); }
.vsa-sh--bf.vsa-sh--split{ --cut:calc(var(--cy) + 540 * var(--f)); }                    /* design y 540: between BLACK and FRIDAY */
.vsa-sh--summer.vsa-sh--split{ --cut:calc(var(--wy) + 345.06 * var(--u)); }           /* design y 485 of 1920 x 1080: between SUMMER and SALE */
@media (max-width:767px), (orientation:portrait){ .vsa-sh--bf.vsa-sh--split{ --cut:calc(38 * var(--v)); } }   /* the black band the phone layout opens for the clock */
.vsa-split{ position:absolute; inset:0; transition:transform var(--split) var(--part); }
.vsa-split--up{ clip-path:inset(0 0 calc(100% - var(--cut)) 0); }
.vsa-split--down{ clip-path:inset(calc(var(--cut) - 1px) 0 0 0); }
.vsa-sh--bf .vsa-split{ background:#000; }
.vsa-sh--split.is-opening .vsa-split--up{ transform:translate3d(0,calc(-1 * var(--cut)),0); will-change:transform; }
.vsa-sh--split.is-opening .vsa-split--down{ transform:translate3d(0,calc(100cqh - var(--cut) + 1px),0); will-change:transform; }
/* the old OPEN moves are switched off: Black Friday's cover no longer rises, Summer's pieces no longer fly apart and its vignette rides along */
.vsa-sh--split .vsa-sh__cover,.vsa-sh--split .vsa-sh__shard{ background:transparent!important; }
.vsa-sh--split.is-opening .vsa-sh__cover{ transform:none!important; }
.vsa-sh--split.is-opening [data-piece]{ --tx:0px!important; --ty:0px!important; }
.vsa-sh--split.is-opening .vsa-clone--vig{ opacity:1!important; }
/* what the split reveals: the band (campaign.css, the same markup as the campaign page), then the sections */
.vsa-sh--bf.vsa-sh--split .vsa-sh__reveal{ background:#000; }
.vsa-sh--summer.vsa-sh--split .vsa-sh__reveal{ background:linear-gradient(108deg,#5db8b3 0 54%,#ffbe40 54.05% 100%); }
.vsa-sh--split.is-open .vsa-sh__reveal{ background:#fbf8f3; }
.vsa-sh--split .vsa-sh__secs{ background:#fbf8f3; }
.vsa-sh--split .vsa-camp--reveal,.vsa-sh--split .vsa-sh__secs{ opacity:0; transform:translate3d(0,4%,0) scale(.92); filter:blur(12px); transform-origin:50% 50%;
  transition:opacity var(--split) cubic-bezier(.4,0,.2,1) .1s, transform var(--split) cubic-bezier(.4,0,.2,1) .1s, filter var(--split) cubic-bezier(.4,0,.2,1) .1s; }
.vsa-sh--split .vsa-sh__secs{ transform-origin:50% 0; }
.vsa-sh--split.is-opening .vsa-camp--reveal,.vsa-sh--split.is-opening .vsa-sh__secs{ opacity:1; transform:none; filter:none; will-change:transform,filter,opacity; }
.vsa-sh--split.is-open .vsa-camp--reveal,.vsa-sh--split.is-open .vsa-sh__secs{ will-change:auto; }
@media (prefers-reduced-motion:reduce){
  .vsa-split{ transition:opacity .4s ease-out; }
  .vsa-sh--split.is-opening .vsa-split{ transform:none; opacity:0; }
  .vsa-sh--split .vsa-camp--reveal,.vsa-sh--split .vsa-sh__secs{ transform:none; filter:none; transition:opacity .4s ease-out; }
  .vsa-sh--split.is-opening .vsa-open--link{ animation:none; }   /* the reduced-motion fade-in kept OPEN visible during OPEN */
}

/* An opened hero grows to its cards, and its stage grows with it, so the halves parked off the bottom ("100cqh - cut") travel further
   and pushed the hero's scroll height ~400 px past its content: the section grew too tall, then snapped back half a second later
   (Seb, 6 Nov: "is it a second reveal?"). The cover clips what it holds, so parked halves never count. Nothing visible changes:
   the hero already clips at the same box. */
.vsa-sh--link .vsa-sh__cover{ overflow:hidden; }

/* ==== LINK COLOURS, every link in our units (7 Nov). Divi's customizer sets #page-container a:hover{ color:#00788a!important }, an ID
   selector that beat every class rule we had, so hover turned white-on-colour labels teal. Rule: a link here never sets color itself;
   it sets --lc (rest) and --lch (hover), and these two rules apply them. :is(#page-container, body) carries ID weight whichever one
   matches, so it holds also where #page-container does not wrap the content. Visited never differs. Hover feedback is per link type
   (tiles lift, pills fill or brighten, text links thicken the underline), never a colour swap from the theme. ==== */
:is(#page-container, body) :is(.vsa-g, .vsa-camp, .vsa-sh) a:is(:link, :visited, :active, :focus-visible){ color:var(--lc, currentColor)!important; }
:is(#page-container, body) :is(.vsa-g, .vsa-camp, .vsa-sh) a:hover{ color:var(--lch, var(--lc, currentColor))!important; }
.vsa-sh a.vsa-open{ --lc:#fff; --lch:#fff; }
