/* HOMEPAGE REDESIGN 2 (2026-11-07): the hero.
   What it is: the flavor slider in the sun circle (restored below), the two wrapper
   photos float tilted at the circle's edge, and the hero sits on the second cream with a straight bottom edge
   (the dome curve was removed 2026-11-07 at his word: it meant nothing).
   Depends only on the tokens block added by change 1 at the end of ftbars.css
   (--ft-cream-2, --ft-radius). Revert: delete this file, its <link> in index.html, and the
   video and two .hero-pack blocks in the hero markup.
   Reduced motion: no video (the poster image under it shows), no float.
   The wrapper photos are opaque (white backgrounds, no alpha), so they are small cards with
   a radius, a cream border and a soft shadow, cropped by the card to the pack itself.
   Video files (Cloudflare Pages caps a file at 25 MiB): hero.mp4 4.4 MB, poster 0.19 MB. */
.ftbars-hero .ft-hero{background:var(--ft-cream-2);padding-bottom:clamp(2.5rem,5vw,4.5rem)}

.hero-pack{position:absolute;z-index:2;width:27%;aspect-ratio:.66;overflow:hidden;border-radius:var(--ft-radius);background:#fff;border:3px solid var(--cream);box-shadow:0 18px 36px #3f27173d}
.hero-pack img{position:absolute;left:-39.3%;top:-3.2%;width:178.6%;max-width:none;height:auto}
.hero-pack--nut{left:-7%;bottom:-12%;rotate:-8deg}
.hero-pack--berry{right:-4%;top:6%;rotate:6deg}
@media(prefers-reduced-motion:no-preference){
.hero-pack{animation:ft-float 7s ease-in-out infinite}
.hero-pack--berry{animation-delay:-3.5s}
}
@keyframes ft-float{50%{translate:0 -8px}}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}}
@media(max-width:900px){
.ftbars-hero .ft-hero{padding-bottom:clamp(2.5rem,8vw,3.5rem)}
.hero-pack{width:26%}
.hero-pack--nut{left:-2%;bottom:-2%}
.hero-pack--berry{right:-2%}
}

/* Hero flavor slider, brought back 2026-11-07 at his word ("the hero was the 2 bar side by
   side with the slider"). Copied verbatim from Website/assets/ftbars.css.liquid, where it
   went live 2026-10-05 on the Shopify theme; the static port of 2026-10-03 predated it. */
/* The hero flavor slider, 2026-10-05. `.hero-still-clip` above gives it the disc:
   the gold ring, the circle and the overflow. The theme's comparison-slider script
   sets `--compare` (0 to 100) on the media wrapper as the range input moves, and
   on first view it nudges the line 40, 60, 50 to show it can be dragged. Strawberry
   Parfait is the left layer, cut back from the right as the line moves left;
   Banana Nut is the right layer, cut from the left. */
.hero-compare { display: block; }

.hero-compare__media {
  --compare: 50;
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template: 1fr / 1fr;
}

.hero-compare__layer {
  grid-area: 1 / 1;
  position: relative;
  transition: clip-path var(--transition-duration, 0s) ease-in-out;
}

.hero-compare__layer--before { clip-path: inset(0 calc((100 - var(--compare)) * 1%) 0 0); }
.hero-compare__layer--after  { clip-path: inset(0 0 0 calc(var(--compare) * 1%)); z-index: 1; }

.hero-compare__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The two bars line up exactly at the line (his ask 2026-11-18: a strip of Strawberry
   Parfait rose beside the Banana Nut bite). It is baked into the files, not done here:
   hero-bn-v3 is v2 moved 25 px left; hero-sp-v4 is v3 scaled up 2.8% (its bar was 465 px
   wide to Banana Nut's 478 in the 1200 px frame) and moved so both bars share one outline.
   The bites differ in shape, so the line sits where the two outlines are the same height
   (column 625 of v2), which is now the middle; checked by eye at the line. Strawberry's last 26 px on the right are
   mirrored from its edge, inside the thin crescent at the rim.
   2026-11-23: replaced by hero-bn-v5 and hero-sp-v6, from the studio shoot (DSC07755,
   DSC07911): each scaled so the bar is 840 px tall and centred, the two bars about 400 px
   wide, sides filled with each counter's own white, faded over 70 px. Earlier pair:
   Zoomed out the same day (his pick: plain background sides): hero-bn-v4 and
   hero-sp-v5 are those two shrunk to 83.3% about the centre (sp-v5 then 2 px right, matched by eye at the bite), so the line still lands on
   the bite, on a plain fill of each photo's own counter colour, the photo's edge faded
   into it over 70 px (cut-off fruit is fine, his words). Bars now fill about 64% of the
   height, from 78%. */

/* Each label rides inside its own photo, so it is cut away with it. Below the bars
   (his ask 2026-11-18: the labels covered them on a phone), each one tucked against
   the line, where the circle is still wide enough for "Strawberry Parfait" on one line. The dark chip is the one the old slider gained on 2026-08-09, when gold text
   vanished on the pale strawberry photo. */
.hero-compare__label {
  position: absolute;
  bottom: 11%;
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(0.62rem, 0.95vw, 0.85rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--cream);
  background: #2b0101d9;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  pointer-events: none;
}
.hero-compare__label--before { right: calc(50% + 0.6rem); }
.hero-compare__label--after  { left: calc(50% + 0.6rem); }

/* The divider line */
.hero-compare__media::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--compare) * 1%);
  width: 3px;
  transform: translateX(-50%);
  background: var(--cream);
  box-shadow: 0 0 10px oklch(30% 0.045 55 / 0.25);
  z-index: 2;
  pointer-events: none;
  transition: left var(--transition-duration, 0s) ease-in-out;
}

.hero-compare__handle {
  position: absolute;
  top: 50%;
  left: calc(var(--compare) * 1%);
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 2px 12px oklch(30% 0.045 55 / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  pointer-events: none;
  transition: left var(--transition-duration, 0s) ease-in-out;
}
.hero-compare__handle svg { width: 0.7rem; height: 0.7rem; }

/* The real control: an invisible range input over the whole disc, so a drag
   anywhere moves the line and the keyboard arrows work. Its focus ring is drawn
   on the handle, since the input itself cannot be seen. */
.hero-compare__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  /* On a phone a vertical swipe across the disc still scrolls the page; only a
     sideways drag moves the line. */
  touch-action: pan-y;
}
/* No thumb styling, on purpose. A 2.75rem `::-webkit-slider-thumb` was added on
   2026-10-05 and it stopped the input taking mouse clicks or drags at all in
   Chrome; it went live with the slider and was found the same night by clicking
   the live page. Left at the browser default, the whole disc moves the line. */
.hero-compare__media:has(.hero-compare__range:focus-visible) .hero-compare__handle {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-compare__layer,
  .hero-compare__media::after,
  .hero-compare__handle { transition: none; }
}

/* On a phone the circle's foot is too narrow for "Strawberry Parfait" at a readable size
   below the bars (measured at 390, 360 and 320 px), so there the names sit just under
   the circle, each under its own half, and stay put while the line moves. Inside the
   circle they fit once it is 375 px or wider; between 901 and 950 px wide the two-column
   hero makes it 354-371 px, so those widths take the phone layout too. */
.hero-names{display:none}
@media(max-width:700px),(min-width:901px) and (max-width:950px){
.hero-compare__label{display:none}
.ftbars-hero .ft-hero{padding-bottom:4.5rem}
.hero-names{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;position:absolute;top:calc(100% + .7rem);left:24%;right:24%;font-family:var(--body);font-weight:700;font-size:.72rem;line-height:1;color:var(--cream);pointer-events:none}
.hero-names span{justify-self:end;white-space:nowrap;background:#2b0101d9;border-radius:4px;padding:.4rem .55rem}
.hero-names span+span{justify-self:start}
}
/* Phones and tablets: the berry card sits higher on the disc, so the labels ride above it (Christian 2026-11-16: the card covered "Strawberry Parfait"). */
@media(max-width:900px){.hero-pack{width:22%}.hero-pack--nut{left:1%;bottom:-9%}.hero-pack--berry{top:2%}}
