/* Holiday Special hero: clock and pill per canva-spec.md. Photo and panel are separate Canva layers filling the stage with a cover rule; lettering and tag are contained like the other heroes. */
/* No background colour on the hero: the old #f6000a showed as a solid red block trailing the photo when it slid away (the photo's own
   right side is also flat red, normally under the panel). Behind the art there is now only what OPEN reveals. */
.vsa-sh--holiday.vsa-sh--link{ background:#0d3a52;
  --clk-l:calc(486.74 * var(--f)); --clk-t:calc(463.54 * var(--f)); --clk-w:calc(946.53 * var(--f));
  --pill-x:calc(955.3 * var(--f)); --pill-y:calc(907.1 * var(--f)); --pill-w:calc(368.8 * var(--f));
  --dp:var(--f); --cut:calc(var(--cy) + 535 * var(--dp)); }   /* the split line: design y 535, between the words, through the clock's centre. --dp = one design px */
.vsa-hol__bg{ position:absolute; left:0; top:0; width:100%; height:100%; max-width:none; margin:0; object-fit:cover; object-position:50% 50%; user-select:none; -webkit-user-drag:none; }
.vsa-hol__half{ position:absolute; inset:0; }
.vsa-hol__half--up{ clip-path:inset(0 0 calc(100% - var(--cut)) 0); }
.vsa-hol__half--down{ clip-path:inset(calc(var(--cut) - 1px) 0 0 0); }   /* a 1 px overlap: no hairline seam at rest */
@media (max-width:767px), (orientation:portrait){
  /* a taller crop: cover already shows the same part of the photo, the contain layer follows it */
  .vsa-sh--holiday.vsa-sh--link{ --ar-h:81.8;
    --clk-l:calc(10 * var(--v)); --clk-t:calc(34.5 * var(--v)); --clk-w:calc(80 * var(--v));
    --pill-x:calc(49.5 * var(--v)); --pill-y:calc(68.5 * var(--v)); --pill-w:calc(46 * var(--v));
    --dp:calc(145.5 * var(--v) / 1920); --cut:calc(535 * var(--dp)); }
  .vsa-sh--holiday .vsa-art{ width:calc(145.5 * var(--v)); height:auto; aspect-ratio:16 / 9; left:calc(var(--cx) - 22.9 * var(--v)); }
}

/* ---- OPEN: split and part. Each side travels exactly far enough to clear the hero: the top by the cut plus the tail of "Holiday"
   (design y 651), the bottom by the rest plus the top of "Special" (design y 489). So both leave the frame together on the last frame, and
   the band is uncovered in proportion all the way through. 1.1 s, both halves together, an in-out curve so they start as one and leave decisively. The clock and
   OPEN sit on the seam, so they go first (0.25 s fade and a slight shrink) and nothing is torn. Transform, opacity, filter only. ---- */
.vsa-sh--holiday{ --split:1.1s; --part:cubic-bezier(.65,0,.25,1); --go-up:calc(-1 * (var(--cut) + 125 * var(--dp))); --go-down:calc(100cqh - var(--cut) + 55 * var(--dp)); }
.vsa-hol__half,.vsa-hol__word{ transition:transform var(--split) var(--part); }
.vsa-sh--holiday.is-opening .vsa-hol__half--up,.vsa-sh--holiday.is-opening .vsa-hol__word--up{ transform:translate3d(0,var(--go-up),0); will-change:transform; }
.vsa-sh--holiday.is-opening .vsa-hol__half--down,.vsa-sh--holiday.is-opening .vsa-hol__word--down{ transform:translate3d(0,var(--go-down),0); will-change:transform; }
.vsa-sh--holiday .vsa-sh__clock,.vsa-sh--holiday .vsa-open--link{ transition:opacity .25s ease-out, scale .25s ease-out; }
.vsa-sh--holiday .vsa-open--link{ transition:opacity .25s ease-out, scale .25s ease-out, translate var(--t-down,.42s) var(--ease-card,ease-out), box-shadow var(--t-down,.42s) var(--ease-card,ease-out); }   /* keeps the pill's hover lift (engine.css) */
.vsa-sh--holiday.is-opening .vsa-sh__clock,.vsa-sh--holiday.is-opening .vsa-open--link{ opacity:0; scale:.96; pointer-events:none; }

/* what the split reveals: the band (the campaign page's), then the sections. It comes up out of focus: from slightly low, slightly
   small, blurred and clear, to sharp and in place, over the same 1.1 s, a beat behind the halves. The navy behind it is the band's
   own base colour, so a scaled-down band never shows a light edge. */
.vsa-sh--holiday .vsa-sh__reveal{ background:#0d3a52; }
.vsa-sh--holiday.is-open .vsa-sh__reveal{ background:#fbf8f3; }
.vsa-hol-band{ position:relative; height:var(--closed-h,100svh); overflow:hidden; background:#0d3a52; display:flex; justify-content:center; align-items:flex-start; text-align:center; }
.vsa-hol-band__img{ position:absolute; inset:0; display:block; width:100%!important; height:100%!important; max-width:none; margin:0; object-fit:cover; object-position:85% 50%; }
.vsa-hol-band::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 62% 34% at 50% 30%, rgba(4,26,42,.42), rgba(4,26,42,0) 70%),
             linear-gradient(180deg, rgba(4,26,42,.62) 0%, rgba(4,26,42,.34) 34%, rgba(4,26,42,.08) 58%, rgba(4,26,42,.12) 78%, rgba(4,26,42,.5) 100%); }
.vsa-hol-band__t{ position:relative; z-index:1; margin:clamp(56px,20%,220px) 0 0!important; padding:0 16px!important; color:#fff; font-family:"Fraunces",Georgia,serif; font-weight:400; font-size:min(8.6vw, 15svh); line-height:.98; letter-spacing:-.018em; text-shadow:0 2px 30px rgba(2,18,30,.35); }
.vsa-hol-band__t2{ font-weight:300; font-style:italic; letter-spacing:-.01em; }
.vsa-sh--holiday .vsa-hol-band,.vsa-sh--holiday .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; }   /* in step with the halves, so it sharpens as they clear */
.vsa-sh--holiday .vsa-sh__secs{ transform-origin:50% 0; }
.vsa-sh--holiday.is-opening .vsa-hol-band,.vsa-sh--holiday.is-opening .vsa-sh__secs{ opacity:1; transform:none; filter:none; will-change:transform,filter,opacity; }
.vsa-sh--holiday.is-open .vsa-hol-band,.vsa-sh--holiday.is-open .vsa-sh__secs{ will-change:auto; }
@media (max-width:767px), (orientation:portrait){
  .vsa-hol-band__img{ object-position:78% 50%; }
  .vsa-hol-band__t{ margin-top:clamp(56px,16%,200px)!important; font-size:min(19vw, 11.5svh); line-height:1; }
  .vsa-hol-band__t span{ display:block; }
}

/* reduced motion: a plain crossfade, art out, band and sections in, nothing moves or blurs */
@media (prefers-reduced-motion:reduce){
  .vsa-hol__half,.vsa-hol__word{ transition:opacity .4s ease-out; }
  .vsa-sh--holiday.is-opening .vsa-hol__half,.vsa-sh--holiday.is-opening .vsa-hol__word{ transform:none; opacity:0; }
  .vsa-sh--holiday .vsa-hol-band,.vsa-sh--holiday .vsa-sh__secs{ transform:none; filter:none; transition:opacity .4s ease-out; }
  /* the engine's reduced-motion fade-in animation on OPEN (fill both) outranks the fade-out; switch it off here so the pill leaves too */
  .vsa-sh--holiday.is-opening .vsa-open--link{ animation:none; }
}

/* Festive Specials (10 Nov): the reveal band carries the same gifts photo as the campaign page (gold "Specials" and the bokeh are in campaign.css). */
.vsa-hol-band{ background:#173a33; }
.vsa-hol-band__img{ object-position:50% 70%; }
.vsa-hol-band__t{ z-index:2; }
@media (max-width:767px), (orientation:portrait){ .vsa-hol-band__img{ object-position:58% 50%; } }

/* ---- 10 Nov (Seb): the hub tile matches the Festive Specials campaign page. The gifts photo in both halves (a deep green scrim at the top
   so the type reads, the warm bokeh from campaign.css), "Festive" white Fraunces above the clock, "Specials" gold italic below it, the pill
   under that. Every piece has its own band, so the clock never sits on a word: desktop in design px (--f), phone in --v. ---- */
.vsa-sh--holiday.vsa-sh--link{ background:#173a33; }
.vsa-sh--holiday .vsa-hol__photo{ object-position:50% 72%; }
.vsa-hol__half::before{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(6,24,20,.5) 0%, rgba(6,24,20,.2) 45%, rgba(6,24,20,.05) 62%, rgba(6,24,20,.35) 100%); }
.vsa-hol__half::after{ z-index:2; }
.vsa-hol__t{ position:absolute; z-index:3; left:var(--cx); top:calc(var(--cy) + 150 * var(--f)); width:calc(1920 * var(--f)); margin:0!important; padding:0!important; text-align:center; pointer-events:none;
  font:400 calc(225 * var(--f))/1.05 "Fraunces",Georgia,serif; letter-spacing:-.018em; color:#fff; text-shadow:0 2px 30px rgba(6,24,20,.45); }
.vsa-hol__t2{ font-weight:300; font-style:italic; letter-spacing:-.01em; color:#f2cf86; text-shadow:0 0 18px rgba(242,190,96,.55), 0 0 42px rgba(242,190,96,.3), 0 2px 24px rgba(6,24,20,.4); }
@media (max-width:767px), (orientation:portrait){
  /* phones: two lines above the clock, the clock moved down under them, the split line between them */
  .vsa-sh--holiday.vsa-sh--link{ --clk-t:calc(41 * var(--v)); --cut:calc(39 * var(--v)); }
  .vsa-sh--holiday .vsa-hol__photo{ object-position:58% 60%; }
  .vsa-hol__t{ left:0; top:calc(4.5 * var(--v)); width:100%; font-size:calc(16.5 * var(--v)); line-height:1; }
  .vsa-hol__t1,.vsa-hol__t2{ display:block; }
  .vsa-hol__t2{ margin-top:calc(.5 * var(--v)); font-size:calc(15.5 * var(--v)); }
  .vsa-hol__half::after{ inset:0 0 45% 0; }
}
.vsa-sh--holiday .vsa-sh__reveal{ background:#173a33; }   /* behind the parting halves: the photo's green */
.vsa-sh--holiday.is-open .vsa-sh__reveal{ background:#fbf8f3; }
