/* Cross-document View Transitions — smooth cross-fade between same-origin pages. */
@view-transition { navigation: auto; }

  /* Unified Satoshi family driven by the variable font — supports any weight 300–900 */
  @font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
         url('../fonts/Satoshi-Variable.woff') format('woff'),
         url('../fonts/Satoshi-Variable.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2'),
         url('../fonts/Satoshi-VariableItalic.woff') format('woff'),
         url('../fonts/Satoshi-VariableItalic.ttf') format('truetype');
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'Supreme';
    src: url('../fonts/Supreme-Regular.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Supreme';
    src: url('../fonts/Supreme-Medium.otf') format('opentype');
    font-weight: 500; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Supreme';
    src: url('../fonts/Supreme-Bold.otf') format('opentype');
    font-weight: 700; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Supreme';
    src: url('../fonts/Supreme-Extrabold.otf') format('opentype');
    font-weight: 800; font-style: normal; font-display: swap;
  }
  /* Arrow / icon character helper — keep these in Satoshi while body is Supreme */
  .ar { font-family: 'Satoshi', sans-serif; }

  @property --glow-color {
    syntax: '<color>';
    inherits: true;
    initial-value: #d93e2a;
  }

  :root {
    --flavor-yellow: #e19223;
    --flavor-red:    #d93e2a;
    --flavor-purple: #454e97;

    --bg-primary: rgb(10, 10, 10);
    --text-primary: rgb(240, 237, 232);
    --orange: rgb(249, 66, 58);
    --mango: rgb(255, 152, 0);
    --berry: rgb(68, 73, 156);
    --black: rgb(0, 0, 0);
    --white: rgb(255, 255, 255);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: #fff; color: #000; font-family: "Supreme", system-ui, sans-serif; }
  body { min-width: 1440px; }
  img { display: block; max-width: none; }

  /* Type tokens */
  .t-display  { font-weight: 700; font-size: 160px; line-height: 0.88; letter-spacing: -0.04em; }
  .t-h1       { font-weight: 700; font-size: 80px;  line-height: 1.10; letter-spacing: -0.03em; }
  .t-h2       { font-weight: 700; font-size: 52px;  line-height: 1.05; letter-spacing: -0.03em; }
  .t-h3       { font-weight: 700; font-size: 30px;  line-height: 1.20; letter-spacing: -0.03em; }
  .t-body-lg  { font-weight: 400; font-size: 18px;  line-height: 1.80; }
  .t-body     { font-weight: 400; font-size: 15px;  line-height: 1.60; }
  .t-body-sm  { font-weight: 400; font-size: 13px;  line-height: 1.50; }
  .t-label-lg { font-weight: 400; font-size: 12px;  line-height: 1;    letter-spacing: 0.10em; }
  .t-label-sm { font-weight: 400; font-size: 10px;  line-height: 1;    letter-spacing: 0.15em; }
  .t-label-tn { font-weight: 400; font-size: 9px;   line-height: 1;    letter-spacing: 0.15em; }

  /* Frame wrapper — 1440px reference */
  .frame {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    /* overflow: visible (default) so descendants can use position: sticky */
  }
  
  /* ─── DEV Settings ──────────────────── */
  :root {
    --opacity: 0;
    --grid-margin: 72px;
    --text-padding: 24px;
  }

  body.dev-mode section,
  body.dev-mode footer,
  body.dev-mode .home-footer-inner {
    border: 0px solid blue !important;
  }

  header, section, footer {
    width: 1440px;
    margin: 0 auto;
    max-width: 100%;
  }

  /* Dev grid overlay — 12 col, margin 72px, gutter 24px, #FFE500 10% */
  .dev-grid {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 100vh;
    pointer-events: none;
    z-index: 99998;
    grid-template-columns: repeat(12, 1fr);
    padding: 0 72px;
    column-gap: 24px;
  }
  body.dev-mode .dev-grid { display: grid; }
  .dev-grid-col { background: rgba(255, 229, 0, 0.10); }

  /* Dev toggle button */
  .dev-toggle {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 6px 10px;
    background: #2563eb;
    color: #fff;
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.85;
  }
  .dev-toggle:hover { opacity: 1; }
  body.dev-mode .dev-toggle { background: #16a34a; }

  /* ─── Main nav (reused for page switching) ──────────────────── */
  .page-nav {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1000;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 28px;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    font-family: "Supreme", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    transition: color 0.25s ease;
  }
  .page-nav.on-light { color: #000; }
  .page-nav.on-dark  { color: #fff; }
  .page-nav button {
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0;
    text-transform: inherit;
    color: inherit;
    font-size: 18px;
    font-weight: 500;
    padding: 0 24px;
    line-height: 1;
    transition: opacity 0.2s;
  }
  .page-nav button:hover { opacity: 0.7; }
  .page-nav button.nav-baze {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.10em;
    color: inherit;
    padding: 0 10px;
  }
  .page-nav .baze-logo { display: block; color: inherit; fill: currentColor; }

  /* Navs nested inside Product / Story sections — absolute at section top, scroll with section. */
  .product-section .section-nav,
  #story .section-nav {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    transition: opacity 0.4s ease;
    z-index: 50;
  }
  /* Product section nav — fades with the .active state */
  .product-section .section-nav { opacity: 0; pointer-events: none; }
  .product-section.active .section-nav { opacity: 1; pointer-events: auto; }
  /* Story nav — hidden until the user clicks a STORY menu item */
  #story .section-nav { opacity: 0; pointer-events: none; }
  #story.story-nav-revealed .section-nav { opacity: 1; pointer-events: auto; }

  /* Quote section fades out while the product section is active.  */
  .quote-section { transition: opacity 0.5s ease; }
  .product-section.active + .quote-section { opacity: 0; pointer-events: none; }

  /* ─── HERO ──────────────────────────────────────────────────── */
  .hero-mask {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .hero-mask .hero-bg {
    position: absolute;
    inset: 0;
  }
  .hero-mask .hero-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Static placeholder image shown until the HLS hero-short can play */
  .hero-mask .hero-bg-placeholder {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
  }
  .hero-mask .hero-bg-placeholder.is-hidden { opacity: 0; }
  .hero-logo {
    position: relative;
  }
  
	.hero-logo img.baze-logo {
	    width: 395px;
	    margin: 0 auto;
	    filter: brightness(0) invert(1);
	    max-width: 100%;
	    display: block;
	}
	
	button .baze-logo {
	    width: 75px;
	    top: -2px;
		position: relative;
	}

  .watch-cta {
    position: absolute;
    left: 50%;
    bottom: 240px; /* 50 (pip bottom) + 180 (pip height) + 10 (gap) */
    top: auto;
    transform: translateX(-50%);
    height: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    white-space: nowrap;
  }
  .watch-cta .label { font-size: 12px; letter-spacing: 0.10em; line-height: 1; text-transform: uppercase; }
  .watch-cta .circle {
    width: 16px; height: 16px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .watch-cta .circle svg { width: 7px; height: 9px; fill: #fff; left: 1px;
    position: relative;
    top: -1px; }

  .video-thumb {
    position: absolute;
    left: 50%;
    bottom: 50px;
    top: auto;
    transform: translateX(-50%);
    width: 320px;
    height: 180px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
  }
  .video-thumb img,
  .video-thumb video {
    position: absolute;
    left: -36px; top: -31px;
    width: 396px; height: 264px;
    object-fit: cover;
  }

  /* Hero "focused" state — full video playing, decorations fade out */
  .hero-section .hero-logo,
  .hero-section .hero-side-label-left,
  .hero-section .hero-side-label-right,
  .hero-section .watch-cta,
  .hero-section .video-thumb { transition: opacity 0.5s ease; }
  .hero-section.video-active .hero-logo,
  .hero-section.video-active .hero-side-label-left,
  .hero-section.video-active .hero-side-label-right,
  .hero-section.video-active .watch-cta,
  .hero-section.video-active .video-thumb {
    opacity: 0; pointer-events: none;
  }
  body.hero-video-active .page-nav {
    opacity: 0; pointer-events: none;
  }

  /* Black fade overlay used during full-video swap (confined to hero section) */
  .hero-fade {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.4s ease;
  }
  body.hero-fading .hero-fade { opacity: 1; }

  /* ─── HOME page sections ─────────────────────────────────────── */
  .hero-section {
    position: relative;
    /* Break out of the 1440-wide page-host: span full viewport width regardless of scale */
    width: calc(100vw / var(--page-scale, 1));
    left: 50%;
    margin-left: calc(-50vw / var(--page-scale, 1));
    height: calc(100vh / var(--page-scale, 1));
    height: calc(100dvh / var(--page-scale, 1));
    overflow: hidden;
  }

  /* Front-page hero gets the placeholder image as a base-layer background so
     a flash of white can't appear if the HLS video starts before its first
     frame is decoded (the foreground .hero-bg-placeholder fades out, the
     video shows on top — this stays behind both as a permanent fallback). */
  body.page-front .hero-section {
    background: #000 url('../img/baze-16x9-clean-short.jpg') center/cover no-repeat;
  }

  .focus-section {
    position: relative;
    width: 1440px;
    padding: 100px 0;
    
  }
  .focus-headline {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
    font-weight: 700;
    font-size: 157px;
    line-height: 0.88;
    letter-spacing: -0.04em;
    color: #000;
  }

  /* "YOUR DAILY BAZE" side labels — horizontally centered within focus-section */
  .brand-side-label-left {
    position: absolute;
    left: 76px;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
  }
  .brand-side-label-right {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateX(50%) translateY(-50%) rotate(90deg);
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
  }
  /* Centered 1440-wide overlay that holds the hero side labels + BAZE logo on top of the video */
  .hero-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1440px;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
  }
  .hero-overlay > * { pointer-events: auto; }

  /* Hero side labels — same vertical-rotate technique as brand-side-label, white. */
  .hero-side-label-left,
  .hero-side-label-right {
    position: absolute;
    top: 50%;
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
  }
  .hero-side-label-left  { left: 76px;  transform: translateX(-50%) translateY(-50%) rotate(-90deg); }
  .hero-side-label-right { right: 76px; transform: translateX(50%) translateY(-50%) rotate(90deg); }

  .brand-block {
    position: relative;
    width: 1190px;
    padding: 80px 0;
    overflow: visible;
    
  }
  .brand-block .eyebrow {
    display: block;
    width: 100%;
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 54px;
  }
  .brand-block .headline {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #000;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
  }

  .drop {
    display: inline;
    width: 29.28px;
    height: 40.63px;
    vertical-align: 0px;
    margin: 0 2px;
  }

  /* ─── HOME: PRODUCT SECTION ─────────────────────────────────── */
  
	a#the-product {
	    position: relative;
	    display: block;
	    margin-top: -130px;
	    margin-bottom: 130px;
	}
  
  .product-section {
    position: relative;
    width: 100%;
    padding: 80px 0 60px;
    overflow: visible;
    
  }
  .prod-eyebrow {
    display: block;
    text-align: center;
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-transform: uppercase; color: #000;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
  }
  .prod-headline {
    margin: 0 auto;
    width: 690px;
    text-align: center;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #000;
    position: relative;
    z-index: 1;
  }

  .bottle-stage {
    position: relative;
    height: 640px;
    margin-top: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    cursor: grab;
    user-select: none;
  }
  .bottle-stage.dragging { cursor: grabbing; }
  
  
  x.bottle-glow {
    position: absolute;
    width: 680px; height: 680px;
    xborder-radius: 50%;
    xbackground: radial-gradient(circle, rgba(249,66,58,1) 0%, rgba(249,66,58,0.20) 45%, transparent 68%);
    top: 40%; left: 50%;
    xtransform: translate(-50%, -40%);
    pointer-events: none;
    z-index: 0;
  }
  
  .bottle-glow {
    width: 1100px;
    height: 934px;             /* matches the 1438×1221 glow JPEG aspect ratio */
    position: absolute;
    top: 50px;                  /* push the glow down behind the bottle */
    left: 50%;
    margin-left: -550px;        /* centre behind the bottles */
    z-index: 0;
    pointer-events: none;
    transform: translateY(82px);
    /* The glow JPEG is cropped hard at its own top edge — fade the top so the
       cut blends out instead of showing a straight line. */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 20%);
  }
  /* One layer per flavour; the slider cross-fades their opacity. */
  .bottle-glow .glow-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
  }
  .bottle-glow .glow-img {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* whole pre-blurred JPEG — no hard crop edge */
    display: block;
  }
  
  
  
  
  .bottle-slide {
    position: absolute;
    bottom: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.48s ease,
                bottom 0.48s ease;
    z-index: 1;
  }
  .bottle-slide img {
    display: block;
    object-fit: contain;
    transform-origin: center bottom;
    transition: width 0.48s ease, height 0.48s ease, transform 0.7s ease;
  }
  /* Side bottles grow slowly on hover, shrink back on mouse-out */
  .bottle-slide:not(.active):hover img { transform: scale(1.15); }
  .bottle-slide.active { opacity: 1; z-index: 10; cursor: default; bottom: 0; }
  .bottle-slide.active img { width: 195px; height: 538px; }
  .bottle-slide:not(.active) { opacity: 0.65; }
  .bottle-slide:not(.active) img { width: 116px; height: 320px; }
  .bottle-stage.dragging .bottle-slide,
  .bottle-stage.dragging .bottle-slide.active { cursor: grabbing; }
  
  
  .bottle-flav {
    text-align: center;
    margin-top: 45px;
  }
  
.bottle-slide.active .bottle-flav {
    text-align: center;
    margin-top: -140px;
    xborder: 1px solid red;
    position: relative;
    display: block;
    top: 170px;
    width: 600px;
    height: 200px;
    pointer-events: none;
}
  

  
	.bottle-flav .flav-small, .bottle-flav .flav-name {
	    display: block;
	    font-size: 15px;
	    line-height: 1.6;
	    letter-spacing: 0;
	    color: #000;
	    font-weight: 200;
	}
  
  


  .prod-cta-area { text-align: center; margin-top: 36px; }
  
  .jetzt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    xheight: 45px;
    border: 1px solid #000;
    background: transparent;
    font-family: "Supreme", sans-serif;
    font-weight: 700;
    font-size: 18px;
    xletter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    color: #000;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
  }
  .jetzt-btn:hover { background: #000; color: #fff; }

  /* ── product section active state ──────────────────────────────────────── */
  
  
  
  
  .product-section.active .prod-cta-area { margin-top: 110px; }
  .product-section.active .jetzt-btn { display: none; }
  
.flav-name {
  position: relative;
  top: 0;
  opacity: 1;
  font-family: 'Supreme', sans-serif;

  transition:
    opacity 0s,
    font-size 0s,
    top 0s,
    font-weight 0s;
}

.flav-small {
  opacity: 1;

  transition:
    opacity 0s,
    margin-top 0s,
    font-size 0s;
}


/* When product section is active, hide all slide text first */
.product-section.active .flav-name,
.product-section.active .flav-small {
  opacity: 0;
}


/* Active slide: flav-small fades/animates IN */
.product-section.active .bottle-slide.active .bottle-flav .flav-small {
  opacity: 1;
  font-size: 12px;
  margin-top: 50px;

  transition:
    margin-top 0.4s linear 0.2s,
    font-size 0.6s ease 0.2s,
    opacity 0.6s ease 0.9s; /* slow + delayed IN */
}


/* Active slide: flav-name fades/animates IN */
.product-section.active .bottle-slide.active .bottle-flav .flav-name {
  opacity: 1;
  font-size: 52px;
  font-weight: 700;
  top: 35px;

  transition:
    font-size 0.4s ease 0.5s,
    top 0.5s ease 0.5s,
    opacity 0.4s ease 0.9s, /* slow + delayed IN */
    font-weight 0s linear 0.5s;
}
  
  .prod-eyebrow, 
  .prod-cta-area,
  .prod-headline { transition: all 0.5s ease; }
  .product-section.active .prod-eyebrow,
  .product-section.active .prod-headline { opacity: var(--opacity); }

  .legal-fine { opacity: 1; transition: opacity 0.4s ease; }

  /* side bottles: shrink and fade flav on active */
  .product-section.active .bottle-slide:not(.active) { bottom: 165px; }
  .product-section.active .bottle-slide:not(.active) img { width: 60px; height: 165px; }
  .product-section.active .bottle-slide:not(.active) .bottle-flav { opacity: var(--opacity); transition: opacity 0.48s ease; }

  /* ── info ring ───────────────────────────────────────────────────────────── */
  .info-ring-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--opacity);
    transition: opacity 0.7s ease;
    z-index: 5;
    top: -160px;
  }
  .product-section.active .info-ring-wrap { opacity: 1; }

  /* Rotating dashed ring — 58% down = approx center of active bottle */
  .info-ring-track {
    position: absolute;
    width: 700px; height: 700px;
    left: 50%; top: 58%;
    margin-left: -350px; margin-top: -350px;
    animation: ring-spin 240s linear infinite;
    animation-play-state: paused;
  }
  .product-section.active .info-ring-track { animation-play-state: running; }
  @keyframes ring-spin { to { transform: rotate(360deg); } }

  /* Info points — fixed in stage, horizontal layout, dot on the ring edge */
  .info-point {
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    pointer-events: all;
    cursor: pointer;
  }
  /* r=200px from ring center (50%, 58% of stage) at clock positions:
     1 o'clock (30°):  sin30=.5,   cos30=.866  → x=+100, y=−173
     4 o'clock (120°): sin120=.866,cos120=−.5  → x=+173, y=+100
     8:30     (255°):  sin255=−.966,cos255=−.259→ x=−193, y=+52
     Dot is 25px → half=12.5px; left anchors dot left-edge (right-side points),
     right anchors dot right-edge (left-side point) so dot CENTER sits on ring. */
  /* right-side: dot leftmost, label extends right */
  .ip-0 { left: calc(50% + 255px);  top: calc(58% - 173px); transform: translateY(-50%); }
  .ip-1 { left: calc(50% + 265px); top: calc(58% + 160px);  transform: translateY(-50%); }
  /* left-side: dot rightmost (row-reverse), label extends left;
     right edge of container = dot right edge = ring_x + 12.5 = 50%−193+12.5 = 50%−180.5px
     → right: 50%+180.5px (measured from stage right edge) */
  .ip-2 {
    right: calc(50% + 275px); top: calc(58% + 145px);
    transform: translateY(-50%);
    flex-direction: row-reverse;
  }

  .ip-dot {
    width: 25px; height: 25px;
    border-radius: 50%;
    background: #d93e2a; /* updated by JS to match active flavour */
    flex-shrink: 0;

  animation: pulse 2s ease-in-out infinite;
  animation-play-state: paused;
  transition: transform 0.6s ease, background-color 0.7s ease;
}

.info-point:hover .ip-dot {
  animation-play-state: running;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
  .ip-label {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #000;
    white-space: nowrap;
  }

  .legal-fine {
    margin: 30px auto 0;
    max-width: 620px;
    text-align: center;
    font-size: 9px; line-height: 1.2; letter-spacing: 0.15em;
    color: rgba(0,0,0,0.4);
    text-transform: uppercase;
  }

  /* ── Functional Water popup ─────────────────────────────────────────── */
  .fw-popup {
    display: none;
    position: absolute;
    left: 290px;
    top: 470px;
    width: 630px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.15);
    padding: 44px 52px 52px;
    z-index: 1500;   /* above .center-click (1000), info-ring + nav + footer (1001) */
    font-family: "Supreme", sans-serif;
  }
  .fw-popup.open { display: block; }
  .fw-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
  }
  .fw-popup-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000;
  }
  .fw-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #000;
    padding: 0;
  }
  .fw-popup-headline {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000;
    margin: 0 0 24px;
  }
  .fw-popup-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #000;
    margin: 0 0 16px;
  }
  #taste-popup .fw-popup-body {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.7;
    color: #000;
    margin: 0 0 16px;
  }
  .fw-popup-note {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(0,0,0,0.45);
    margin: 0;
  }
  .fw-popup--right {
    left: auto;
    right: 152px;
  }
  /* Wide variant used by the NUTRITION popup — fits the 5-col Nährwerte table */
  .fw-popup--wide {
    left: 100px;
    top: 200px;
    width: 1080px;
    padding: 40px 40px 40px;
  }
  .fw-popup--wide .fw-popup-body { font-size: 18px; font-weight: 700; line-height: 1.55; max-width: 640px; }
  /* Essentials popup: centered on viewport (overrides .fw-popup absolute coords). */
  .fw-popup--essentials {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100vw - 80px);
  }
  .fw-popup--essentials .fw-popup-header { margin-bottom: 8px; justify-content: flex-end; }
  .fw-popup-essentials-intro { font-weight: 700 !important; font-size: 18px !important; line-height: 1.45; margin: 0 0 18px; max-width: 640px; }
  .essentials-list { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; color: #000; }
  .essentials-list li { padding: 2px 0; }
  .essentials-list .ess-label { text-transform: uppercase; letter-spacing: 0.04em; }
  .fw-popup-table--nutri {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.5;
    margin: 20px 0 10px;
    border: 1px solid rgba(0,0,0,0.18);
  }
  .fw-popup-table--nutri th,
  .fw-popup-table--nutri td { padding: 3px 10px; font-weight: 400; text-align: left; }
  .fw-popup-table--nutri .nutri-num { text-align: right; white-space: nowrap; }
  .fw-popup-table--nutri .nutri-title { font-weight: 400; padding: 6px 10px; }
  /* Title row gets a bottom border across all cells */
  .fw-popup-table--nutri thead tr:first-child th { border-bottom: 1px solid rgba(0,0,0,0.18); padding: 6px 10px; }
  /* Vertical divider between the macro pair (cols 1-2) and the vitamin block (cols 3-5) */
  .fw-popup-table--nutri td.nutri-sep,
  .fw-popup-table--nutri th:nth-child(3) { border-left: 1px solid rgba(0,0,0,0.18); }
  /* Divider before the "pro 500 ml" right column (col 5) */
  .fw-popup-table--nutri td:nth-child(5),
  .fw-popup-table--nutri th:nth-child(5) { border-left: 1px solid rgba(0,0,0,0.18); }
  /* Underline of the second header row (pro 100 ml / pro 500 ml column
     labels) — apply to ALL cells in the row, not just the labelled ones,
     so the line is continuous and doesn't break under the empty cells. */
  .fw-popup-table--nutri thead tr:nth-child(2) th { border-bottom: 1px solid rgba(0,0,0,0.18); padding-bottom: 4px; }
  .fw-popup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px;
  }
  .fw-popup-table td { padding: 3px 0; }
  .fw-popup-table td:last-child { text-align: right; color: rgba(0,0,0,0.6); }
  .fw-popup-table tr + tr td { border-top: 1px solid rgba(0,0,0,0.07); }
  .fw-indent { padding-left: 16px !important; color: rgba(0,0,0,0.5); }
  .fw-popup--shop .fw-popup-body { margin-bottom: 20px; }
  .fw-popup-shoplink {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.01em;
    padding: 14px 0;
    border-top: 1px solid rgba(0,0,0,0.12);
  }
  .fw-popup-shoplink:last-child { border-bottom: 1px solid rgba(0,0,0,0.12); }
  .fw-popup-shoplink:hover { opacity: 0.6; }

  /* ─── HOME: QUOTE SECTION ────────────────────────────────────── */
  .quote-section {
    position: relative;
    width: 1440px;
    padding: 80px 125px 100px;
    
  }
  .quote-eyebrow {
    display: block;
    text-align: center;
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-transform: uppercase; color: #000;
    margin-bottom: 60px;
  }
  .quote-text {
    margin: 0;
    text-align: center;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #000;
  }

  /* ─── HOME: GRID SECTION ─────────────────────────────────────── */
  #grid {
    position: relative;
    width: 100vw;
    margin: 0;
    background: transparent;
    overflow: visible;
  }

  #grid-pin {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent;
  }

  #grid-labels {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1440px, 100vw);
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    will-change: opacity;
  }

  .grid-side-label {
    position: absolute;
    top: 50%;
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    pointer-events: none;
  }
  .grid-side-label--left {
    left: 76px;
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
  }
  .grid-side-label--right {
    right: 76px;
    transform: translateX(50%) translateY(-50%) rotate(90deg);
  }

  #grid-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 1440px;
    transform-origin: 0 0;
    will-change: transform;
  }

  .grid-mosaic {
    display: flex;
    flex-direction: column;
  }
  .grid-row { display: flex; }
  .g-cell {
    position: relative;
    overflow: hidden;
    flex: 1;
    aspect-ratio: 16 / 9;
    background: transparent;
    opacity: var(--grid-image-opacity, 1);
    will-change: opacity;
  }
  .g-cell.g-video {
    flex: 2;
    opacity: 1;
    z-index: 2;
  }
  .g-cell img,
  .g-cell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ─── HOME: FOOTER ───────────────────────────────────────────── */
  .home-footer {
    position: relative;
    width: 1440px;
    padding: 150px 72px 60px;
    
  }
.home-footer-inner {
    display: grid;
    grid-template-columns: 1fr 180px 135px;
    gap: 25px;
    font-size: 18px;
    line-height: 1;
    color: #000;
}
  .home-footer .copy { align-self: end;}
  .home-footer .links { display: flex; flex-direction: column; gap: px; }
  .home-footer .links a {
    color: #000; letter-spacing: 0.10em; text-transform: uppercase;
    text-decoration: none; line-height: 180%;
  }
  .home-footer .links a:hover { text-decoration: underline; }
  .home-footer .social a {
    text-align: left;
  }
  .home-footer .social a:hover { text-decoration: underline; }

  /* ─── STORY SECTION ─────────────────────────────────────────── */
  #story { position: relative; padding: 0; overflow: hidden; }

  .story-hero {
    position: relative;
    width: 1440px;
    height: 810px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
  }
  .story-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .story-hero-img { position: absolute; inset: 0; overflow: hidden; }
  .story-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .story-hero .brand-side-label-left,
  .story-hero .brand-side-label-right { color: #fff; }
  .story-lorem {
    margin: 100px auto;
    padding: var(--text-padding);
    max-width: 1080px;
    font-weight: 700; font-size: 52px; line-height: 1.05; letter-spacing: -0.03em; color: #000;
    text-align: center;
  }

  .story-content-row {
    display: grid;
    grid-template-columns: 525px 1fr;
    column-gap: 0;
    margin: 0 var(--grid-margin);
    padding: 0 0 120px;
    align-items: center;
  }
  .story-col-text { }
  .story-body {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #000;
    margin: 0;
    padding: var(--text-padding);
    max-width: 490px;
  }
  .story-watch {
    display: flex; width: 631px; align-items: center; gap: 9px;
    color: #000; text-decoration: none; font-size: 12px;
    letter-spacing: 0.10em; text-transform: uppercase;
  }
  .story-watch .circle {
    width: 16px; height: 16px; border: 1px solid #000; border-radius: 50%;
    display: grid; place-items: center; flex-shrink: 0;
  }
  .story-watch .circle svg { width: 7px; height: 9px; fill: #000; left: 1px;
    position: relative;
    top: -1px;}
  .story-col-img { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
  .story-col-img img,
  .story-col-img video { width: 631px; height: 421px; object-fit: cover; display: block; padding: 0; }

  .story-split-row {
    display: flex;
    margin: 0 var(--grid-margin);
    padding: 0 0 160px;
    gap: 24px;
    align-items: flex-start;
  }
  .story-couch { width: 746px; height: 497px; object-fit: cover; flex-shrink: 0; display: block; padding: 0; }
  .story-quote {
    font-weight: 700; font-size: 52px; line-height: 1.05; letter-spacing: -0.03em;
    color: #000; flex: 0 0 526px; margin: 0; padding: var(--text-padding);
  }

  .story-daily-wrap {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    height: 497px;
  }
  .story-daily-card { display: block; width: 746px; height: 497px; object-fit: cover; }
  .story-daily-label-left,
  .story-daily-label-right {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 12px; line-height: 1; letter-spacing: 0.10em;
    text-transform: uppercase; color: #000; white-space: nowrap;
  }
  .story-daily-label-left  { left: 180px; }
  .story-daily-label-right { right: 180px; }

  .story-fine {
    width: 746px; margin: 0 auto;
    padding: 0 0 28px;
    font-size: 9px; line-height: 1.4; letter-spacing: 0.15em;
    color: rgba(0,0,0,0.5); white-space: pre-line; text-align: center;
        text-transform: uppercase;
  }

  /* 3 bottles + CTA → product page */
  .story-bottles-link { display: block; width: 746px; margin: 90px auto 40px auto; text-align: center; }
  .story-bottles { display: block; width: 240px; height: auto; margin: 0 auto; }
  .story-cta {
    display: block; width: max-content; margin: 0 auto 80px;
    padding: 14px 28px; border: 1px solid #000;
    font-size: 12px; line-height: 1; letter-spacing: 0.12em;
    text-transform: uppercase; color: #000; text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .story-cta:hover { background: #000; color: #fff; }

  /* ─── Viewport scaling ───────────────────────────────────────── */
  @media (max-width: 1440px) {
    body { min-width: 0; }
    .page-host { transform-origin: top left; }
  }
	  
	  /* Breakpoint <br>s — show desktop-only by default, swap inside the
	     mobile media query (≤767px). See bottom of file for the swap. */
	  br.desktop { display: block; }
	  br.mobile  { display: none; }
	  
	
	
  /* ─── HOME: GRID SECTION  ───────────────────── */
  #grid-container {
    position: relative;
    z-index: 40;
    height: 350vh;
    width: 100%;
  }

  .grid-section {
    position: sticky;
    top: 0;
    width: 100%;
    overflow: hidden;
    background: transparent;
  }

  .translate-wrapper {
    position: relative;
    width: 1440px;
    margin: 0 auto;
    inset: 0;
    will-change: transform;
  }

  .translate-wrapper.pinned {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
  }

  .grid-wrapper {
    position: absolute;
    inset: 0;
    will-change: transform;
    transform-origin: 50% 50%;
  }

  .grid-bg {
    position: absolute;
    inset: 0;
    background: transparent;
  }

  .story-grid-desktop {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-inline: 0;
    background: #000000;
    width: 1440px;
    height: 1035px;
  }

  .grid-col-left   { width: 415px;  display: flex; flex-direction: column; }
  .grid-col-right  { width: 1025px; display: flex; flex-direction: column; }
  .grid-row-top    { display: flex; width: 1025px; height: 275px; }
  .grid-row-bot    { display: flex; width: 1025px; height: 760px; }
  .grid-col-inner-left  { width: 615px; display: flex; flex-direction: column; }
  .grid-col-inner-right { width: 410px; height: 760px; }

  .grid-section .cell {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
  }
  .grid-col-left   .cell.cell-l-top  { width: 415px; height: 760px; }
  .grid-col-left   .cell.cell-l-bot  { width: 415px; height: 275px; }
  .grid-row-top    .cell.cell-rt-l   { width: 485px; height: 275px; }
  .grid-row-top    .cell.cell-rt-r   { width: 540px; height: 275px; }
  .grid-col-inner-left  .cell.cell-bl-bot { width: 615px; height: 350px; }
  .grid-col-inner-right .cell.cell-br    { width: 410px; height: 760px; }

  .grid-section .cell img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .grid-section .video-cell {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    width: 615px;
    height: 410px;
    background: transparent;
  }

  .grid-section .video-cell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transform-origin: center center;
  }

  .gradient-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(180deg,
      rgba(14,15,17,0.15) 0%,
      transparent           25%,
      rgba(14,15,17,0.35) 100%
    );
    opacity: 0;
  }

  .text-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 20;
    color: #F9F7F5;
    opacity: 0;
  }

  .text-overlay-inner {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 8vw, 9rem);
  }

  .text-eyebrow {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
  }

  .text-headline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.01em;
  }

  .grid-section .f-druk      { font-family: 'Satoshi', sans-serif; font-weight: 400; }
  .grid-section .f-druk-wide { font-family: 'Satoshi', sans-serif; font-weight: 900; font-style: italic; letter-spacing: 0.03em; }

  .text-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .text-body {
    max-width: min(68ch, 70vw);
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: 1.05;
    color: rgba(255,255,255,0.92);
  }

  .text-tag {
    flex-shrink: 0;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    text-align: right;
    line-height: 1.6;
  }

  @media (max-width: 767px) {
    #grid-container { height: 260vh; }
  }
	
.grid-section .video-cell .stacked {
    position: absolute;
    inset: 0;
}

.grid-section .video-cell .stacked img,
.grid-section .video-cell .stacked video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid videoCell placeholder image — shown until the HLS video starts playing */
.grid-section .video-cell .video-cell-placeholder {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 2;
}
.grid-section .video-cell .video-cell-placeholder.is-hidden { opacity: 0; }

  /* v7 simplified story-hero: scroll-driven story-grid-desktop zoom only */
  #story-hero {
    position: relative;     /* override .grid-section's sticky */
    top: auto;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;     /* clip horizontal overflow from scaled story-grid-desktop */
    overflow-y: visible;
    border: 0px solid red;
    background: #00000000;
    box-sizing: border-box;
  }
  #story-hero .story-grid-desktop {
    will-change: transform;
  }
  #scroll-position {
    position: fixed;
    top: 50px;
    left: 8px;
    z-index: 60;
    padding: 4px 8px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #fff;
    pointer-events: none;
    white-space: pre;
  }
  #story-hero .story-grid-desktop {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    transform: none;
    max-width: 1440px;
    margin: 0 auto;
  }

  /* v7 hero overlay — fades in when videoCell hits viewport top, scrolls out with content */
  #story-hero-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    z-index: 50;
    pointer-events: none;
    overflow: hidden;
    background: #000;
  }
  #story-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* Story thumb / WATCH FULL VIDEO → true fixed fullscreen player.
     Background image (same as hero placeholder) ensures we never flash
     white/black if the HLS stream hasn't produced a first frame yet. */
  #story-full-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #000 url('../img/baze-16x9-clean-short.jpg') center/cover no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
  }
  #story-full-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  #story-full-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
  }
  /* 1440px inner container — keeps side labels aligned to the page grid */
  #story-hero-video .hero-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    pointer-events: none;
  }
  /* Side labels — child opacity multiplies with hero opacity */
  #story-hero-video .hero-side-label {
    position: absolute;
    top: 50%;
    writing-mode: vertical-rl;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.6s ease;
  }
  #story-hero-video .hero-side-label-left  { left: 24px;  transform: translateY(-50%) rotate(180deg); }
  #story-hero-video .hero-side-label-right { right: 24px; transform: translateY(-50%); }
  /* After the WATCH FULL VIDEO clip plays through, lock the side labels visible */
  #story-hero-video.labels-locked .hero-side-label { opacity: 1 !important; }

  /* 100vh spacer: reserves scroll-room for the hero to scroll out before #story enters */
  .story-hero-spacer { height: 100vh; }

  /* Mobile-only story grid — hidden on desktop. 3 rows: B1/C1 — A1/B2(video,9x16)/C2 — A3/B3 */
  .story-grid-mobile {
    display: none;
    border: 0px solid blue;
    margin: 0;
    padding: 0;
    background: #000000;
  }
  .story-grid-mobile .row { display: flex; gap: 0; margin: 0; padding: 0; }
  .story-grid-mobile .cell {
    flex: 1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
  }
  .story-grid-mobile .row-top .cell    { aspect-ratio: 16 / 9; }
  .story-grid-mobile .row-bot .cell    { aspect-ratio: 16 / 9; }
  /* Middle row: B2 (video) gets 3 units of width, flanking A1/C2 each get 2.
     Flex stretches A1/C2 to B2's height so the row has a single skyline. */
  .story-grid-mobile .row-middle .cell           { flex: 2; aspect-ratio: auto; }
  .story-grid-mobile .row-middle .cell.video     { flex: 3; aspect-ratio: 9 / 16; }
  .story-grid-mobile .cell img,
  .story-grid-mobile .cell video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  @media (max-width: 767px) {
    .story-grid-desktop { display: none !important; }
    .story-grid-mobile  { display: block; }
  }


  /* ══════════════════════════════════════════════════════════════════════════
     MOBILE OVERRIDES (≤767px) — mobile-first refactor.
     Below 767px the JS scale-down is disabled and CSS handles layout natively.
     Everything sized to viewport width via vw / vmin / clamp().
  ══════════════════════════════════════════════════════════════════════════ */
  @media (max-width: 767px) {

    /* — Globals — */
    html, body { min-width: 0 !important; overflow-x: hidden; }
    body       { min-width: 0 !important; }
    .page-host { width: 100% !important; min-width: 0; transform: none !important; }
    .frame     { width: 100% !important; }

    /* Wholesale collapse of every desktop-fixed-width section to viewport width */
    .focus-section,
    .brand-block,
    .product-section,
    .quote-section,
    .hero-overlay,
    .home-footer {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box;
    }

    /* Hide dev grid overlay on mobile */
    .dev-grid     { display: none !important; }
    .dev-grid-col { display: none !important; }

    /* — Top nav — */
    .page-nav {
      padding: 16px 20px;
      font-size: 11px;
      gap: 12px;
    }
    .page-nav .baze-logo { width: 56px; height: auto; }
    /* Tighten the desktop 140px button slots on mobile so PRODUCT / BAZE / STORY
       sit closer together while staying visually balanced. */
    body.page-product .page-nav button,
    body.page-front   .page-nav button,
    body.page-story   .page-nav button {
      width: 90px;
    }

    /* — Hero — */
    /* 100dvh = the actually-visible viewport (excludes the iOS Safari bar) so the
       hero never overflows behind the browser chrome. */
    .hero-section { min-height: 100dvh; }
    .hero-overlay { padding: 0 20px; }
    .hero-side-label-left,
    .hero-side-label-right { display: none; }  /* hide side labels on mobile, too narrow */
    .hero-logo img.baze-logo { width: 165px; max-width: 100%; }
    .hero-logo svg { width: min(70vw, 320px); height: auto; }
    /* Keep watch-cta + video-thumb absolute-positioned at the BOTTOM of the
       hero section (same model as desktop) — just size them for a phone. */
    .watch-cta {
      bottom: calc(24px + min(80vw, 320px) * 9 / 16 + 16px) !important; /* sits above the thumb */
      height: auto;
    }
    .watch-cta .label { font-size: 12px; letter-spacing: 0.10em; }

    .video-thumb {
      position: absolute !important;
      left: 50% !important;
      bottom: 24px !important;
      top: auto !important;
      transform: translateX(-50%) !important;
      width: min(80vw, 320px) !important;
      height: auto !important;
      aspect-ratio: 16 / 9;
      margin: 0;
      background: #000;
      overflow: hidden;
    }
    .video-thumb video,
    .video-thumb img {
      position: absolute !important;
      inset: 0 !important;
      left: 0 !important;
      top: 0 !important;
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
      transform: scale(1.2);
      transform-origin: center center;
    }

    /* — FOCUS ON YOUR BAZE — */
    .focus-section { padding: 60px 20px; min-height: auto; padding-bottom: 10px; }
    .focus-headline {
      font-size: clamp(48px, 13vw, 88px);
      line-height: 0.95;
      max-width: 100%;
      width: 100%;
    }
    /* Hide the right vertical side label; promote the left one to a flat eyebrow
       at the top of the section. */
    .brand-side-label-right { display: none !important; }
    .brand-side-label-left {
      position: static !important;
      transform: none !important;
      display: block;
      width: 100%;
      text-align: center;
      font-size: 12px;
      line-height: 1;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      color: inherit;
      margin: 0 0 32px;
      white-space: normal;
    }

    /* — Brand block — */
    .brand-block { padding: 60px 20px; min-height: auto; padding-bottom: 10px; }
    .brand-block .eyebrow { margin-bottom: 21px; }
    .brand-block .headline {
      font-size: 36px;
      line-height: 1.1;
    }
    .drop { width: 0.7em; height: auto; vertical-align: -0.15em; }

    /* — Product section — single-column mobile flow: eyebrow → headline → bottle
       → flavour name → JETZT ENTDECKEN → fine print */
    .product-section {
      padding: 60px 20px 80px;
      min-height: auto;
      height: auto;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    .prod-eyebrow,
    .prod-headline {
      width: 100% !important;
      max-width: 100% !important;
      text-align: center;
      margin-left: 0;
      margin-right: 0;
    }
    .prod-headline {
      font-size: clamp(24px, 6.5vw, 36px);
      line-height: 1.15;
      margin: 0 0 32px;
      letter-spacing: -0.02em;
    }
    .bottle-stage {
      position: relative;
      width: 100%;
      height: 60vh;
      max-height: 540px;
      margin-top: 60px;            /* push the bottle down off the headline */
      overflow: visible;           /* let the glow + side bottles peek out */
      touch-action: pan-y;         /* let JS handle horizontal swipes, OS keeps vertical scroll */
    }
    /* Force pixel-based bottle heights on mobile (% heights weren't resolving
       since .bottle-slide doesn't have an explicit height) */
    .bottle-slide.active img {
      width: auto !important;
      height: clamp(280px, 50vh, 460px) !important;
    }
    .bottle-slide:not(.active) img {
      width: auto !important;
      height: clamp(160px, 30vh, 280px) !important;
    }
    /* Side bottles need to be obvious tap targets */
    .bottle-slide { cursor: pointer; touch-action: pan-y; }
    /* On mobile, drop filter:blur entirely — the SVG inside .bottle-glow already
       has a radialGradient that fades out smoothly. The blur was the single
       most expensive paint on the page and not visually necessary. */
    .bottle-glow {
      width: 320px !important;
      height: 320px !important;
      filter: none !important;
      left: 50% !important;
      top: 50% !important;
      transform: translate(-50%, -50%) !important;
    }
    .bottle-slide img { object-fit: contain; }
    /* (active/non-active heights set above via clamp + !important) */
    .info-ring-wrap { display: none; }  /* hide info ring on mobile, too cramped (baze.html keeps it hidden) */

    /* product.html mobile: re-enable + scale the ring so it encircles the
       center bottle on the .product-details slide. */
    body.page-product .info-ring-wrap {
      display: block;
      top: 0;        /* reset desktop -160px offset */
    }
    body.page-product .info-ring-track {
      width: 60vw;
      height: 60vw;
      left: 50%;
      top: 50%;
      margin-left: -30vw;
      margin-top: -30vw;
    }
    body.page-product .info-ring-track svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    /* Dot centers placed geometrically ON the 60vw ring (radius 30vw).
       Clock positions:
         ip-0 — 1 o'clock (30°):  x = +15vw, y = -25.98vw
         ip-1 — 4 o'clock (120°): x = +25.98vw, y = +15vw
         ip-2 — 8:30   (255°):    x = -28.98vw, y = +7.76vw  (label extends left)
       Dot is 12px so we subtract 6px from the .info-point edge offset to
       align the dot's CENTER on the ring (ip-0/ip-1 anchor by left edge,
       ip-2 by right edge via row-reverse). */
    body.page-product .ip-0 { left: calc(50% + 15vw - 6px);    top: calc(50% - 25.98vw); transform: translateY(-50%); }
    body.page-product .ip-1 { left: calc(50% + 25.98vw - 6px); top: calc(50% + 15vw);    transform: translateY(-50%); }
    body.page-product .ip-2 {
      right: calc(50% + 28.98vw - 6px); top: calc(50% + 7.76vw);
      left: auto;
      transform: translateY(-50%);
      flex-direction: row-reverse;
    }
    body.page-product .ip-dot   { width: 12px; height: 12px; }
    body.page-product .ip-label { font-size: 9px; letter-spacing: 0.10em; }

    /* pv4 mobile: the dots above are placed on a 30vw-radius circle, but the
       page-product ring track (60vw) renders the dashed SVG circle at only
       320/700 × 60vw ≈ 27.4vw radius — so the dots floated ~2.6vw OUTSIDE the
       ring. Resize the track so the dashed circle's rendered radius equals the
       dot radius: 30vw × 700/320 = 65.6vw. Now the three dots sit exactly on
       the dashed ring. (top/left:50% inherited from the page-product rule.) */
    /* ── pv4 mobile info-ring: lock the dots to the dashed circle ──────────
       SINGLE SOURCE OF TRUTH: --ring-r is the circle/dot radius (any unit).
       The dashed SVG circle is r=320 in a 700 viewBox, so its rendered radius
       = 320/700 × track. We want that to equal --ring-r, hence
       track = --ring-r × 700/320 = --ring-r × 2.1875 (margins = half that).
       Each dot offset is --ring-r × {sin,cos} of its clock angle. Because the
       circle AND the dots are derived from the SAME variable in the SAME unit,
       they coincide at EVERY viewport (SE, XR, …) — no per-device px nudging.
       To resize the whole ring, change --ring-r alone. */
    body.page-pv4 .info-ring-wrap { --ring-r: 30vw; }
    body.page-pv4 .info-ring-track {
      width:  calc(var(--ring-r) * 2.1875);
      height: calc(var(--ring-r) * 2.1875);
      margin-left: calc(var(--ring-r) * -1.09375);
      margin-top:  calc(var(--ring-r) * -1.09375);
    }
    /* TO MOVE A DOT ON THE RING: change its --a (clock angle, measured
       clockwise from 12 o'clock). 30° per hour:
         12→0deg  1→30  2→60  3→90  4→120  5→150  6→180
          7→210   8→240  9→270  10→300  11→330
       Position is computed from the angle: the dot CENTRE lands on the circle
       at (sin·r right, −cos·r up). −6px = half the 12px dot, to centre it on
       the anchored edge. Right-side dots (label flows right) anchor by their
       left edge; the left-side dot anchors by its right edge (it has
       row-reverse + left:auto from the page-product rule, so its label flows
       left, away from the bottle). If you drag a dot across to the other
       half, swap which of the two blocks below it uses. */
    body.page-pv4 .ip-0 { --a:  50deg; }   /* TASTE     */
    body.page-pv4 .ip-1 { --a: 130deg; }   /* SHOP HERE */
    body.page-pv4 .ip-2 { --a: 230deg; }   /* NUTRITION */

    /* Right-side dots (label extends right, anchored by left edge) */
    body.page-pv4 .ip-0,
    body.page-pv4 .ip-1 {
      left: calc(50% + var(--ring-r) * sin(var(--a)) - 6px);
      top:  calc(50% - var(--ring-r) * cos(var(--a)));
    }
    /* Left-side dot (label extends left, anchored by right edge) */
    body.page-pv4 .ip-2 {
      right: calc(50% - var(--ring-r) * sin(var(--a)) - 6px);
      top:   calc(50% - var(--ring-r) * cos(var(--a)));
    }
    .prod-flavour {
      text-align: center;
      margin: 16px auto 8px;
    }
    .prod-cta-area {
      width: 100% !important;
      max-width: 100% !important;
      left: auto !important;
      right: auto !important;
      top: auto !important;
      position: static !important;
      transform: none !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 44px;
      padding: 0 20px;
      margin: 24px 0 0;
      box-sizing: border-box;
    }
    /* Compact bordered box (matches original mobile layout): centered, not
       stretched, generous vertical padding. */
    .jetzt-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: auto;
      min-width: 220px;
      max-width: 80vw;
      min-height: 0;
      padding: 18px 36px;
      font-size: 13px;
      letter-spacing: 0.10em;
      line-height: 1;
    }
    /* Health claim — constrained width so it wraps the same way as the original
       (instead of running edge-to-edge under a full-width button). */
    .legal-fine {
      width: auto !important;
      max-width: min(420px, 92vw) !important;
      padding: 0 !important;
      text-align: center;
      font-size: 9px;
      line-height: 1.55;
      letter-spacing: 0.13em;
      margin: 0 auto;
    }
    .prod-fine {
      padding: 0 16px;
      font-size: 10px;
      line-height: 1.4;
    }

    /* — Quote — */
    .quote-section { padding: 60px 20px; min-height: auto; }
    .quote-text {
      font-size: clamp(22px, 5.5vw, 32px);
      line-height: 1.2;
      text-align: center;
    }

    /* — Story header text — left-aligned, large bold, padded on both sides — */
    .story-lorem {
      font-size: clamp(28px, 8vw, 44px);
      font-weight: 700;
      line-height: 1.05;
      letter-spacing: -0.02em;
      padding: 60px 20px 40px;
      text-align: left;
      text-transform: uppercase;
      margin: 0;
    }
    .story-lorem .ar { font-size: 0.85em; }

    /* — Story content row: image first (WATCH FULL VIDEO above), caption below — */
    .story-content-row {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
      padding: 0 20px 60px;
      margin: 0;
    }
    .story-col-img  {
      width: 100%;
      order: 1;
      align-items: stretch;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .story-col-text {
      width: 100%;
      order: 2;
    }
    .story-col-img img,
    .story-col-img video {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }
    .story-watch {
      align-self: flex-start;
      width: auto;
      font-size: 11px;
      padding: 0;
      letter-spacing: 0.10em;
    }
    .story-body {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: 0;
      max-width: none;
      text-transform: uppercase;
      text-align: left;
      padding: 0;
      padding-right: 70px;
    }

    /* — Story image + quote split row — image, then left-aligned quote — */
    .story-split-row {
      flex-direction: column;
      gap: 24px;
      padding: 0 20px 60px;
      margin: 0;
    }
    .story-couch {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 10;
    }
    .story-quote {
      flex: 1 1 auto;
      width: 100%;
      font-size: 32px;
      line-height: 1.15;
      letter-spacing: -0.02em;
      padding: 0;
      text-align: left;
    }

    /* — Story daily card — labels stacked above + below the card — */
    .story-daily-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      padding: 0 20px;
      margin: 0;
    }
    .story-daily-card {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      order: 2;
    }
    .story-daily-label-left  { order: 1; }
    .story-daily-label-right { order: 3; }
    .story-daily-label-left,
    .story-daily-label-right {
      position: static !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
      display: block;
      width: 100%;
      text-align: center;
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: inherit;
    }
    .story-fine {
      width: auto;
      max-width: 100%;
      box-sizing: border-box;
      padding: 0 20px 24px;
      font-size: 10px;
      line-height: 1.4;
    }
    .story-bottles-link { width: auto; padding: 0 20px; margin: 0px auto 40px auto; }
    .story-bottles { width: 200px; }
    .story-cta { margin-bottom: 56px; }

    /* — Story-hero (grid + zoom) — */
    /* The scroll-zoom is desktop-only. On mobile, show the grid as a static
       single-column stack and skip the fullscreen-zoom mechanic entirely. */
    #story-hero {
      min-height: auto;
    }
    #story-hero .story-grid-desktop {
      transform: none !important;
      transform-origin: 0 0 !important;
      max-width: 100%;
    }
    #story-hero .grid-col-left,
    #story-hero .grid-col-right,
    #story-hero .grid-row-top,
    #story-hero .grid-row-bot,
    #story-hero .grid-col-inner-left,
    #story-hero .grid-col-inner-right {
      width: 100% !important;
      height: auto !important;
      display: flex;
      flex-direction: column;
    }
    #story-hero .story-grid-desktop {
      display: flex;
      flex-direction: column;
    }
    #story-hero .story-grid-desktop .cell,
    #story-hero .story-grid-desktop .video-cell {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 10;
    }
    #story-hero .story-grid-desktop .video-cell { aspect-ratio: 615 / 410; }

    /* — Footer — */
    .home-footer { padding: 60px 20px 40px; width: 100%; }
    .home-footer-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;   /* two equal columns */
      column-gap: 24px;
      row-gap: 24px;
      font-size: 13px;
    }
    .home-footer .copy {
      text-align: center;
      align-self: center;
      grid-column: 1 / -1;               /* span both columns */
      margin-bottom: 8px;
    }
    /* Each nav is one vertical stack — col 1 = legal, col 2 = social */
    .home-footer .links {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .home-footer .links a { text-align: left; }
    .home-footer .social a { text-align: left; }

    /* — Hide dev tools on mobile — */
    #scroll-position,
    .dev-toggle,
    #dev-toggle,
    .dev-grid { display: none !important; }

    /* — fw-popup as a mobile-friendly centered modal — */
    .fw-popup {
      position: fixed !important;
      left: 50% !important;
      top: 50% !important;
      right: auto !important;
      bottom: auto !important;
      transform: translate(-50%, -50%) !important;
      width: min(90vw, 420px) !important;
      max-width: 90vw !important;
      max-height: 80vh;
      overflow-y: auto;
      border-radius: 24px;
      padding: 24px 24px 28px;
      z-index: 1500;   /* above .center-click (1000), info-ring + nav + footer (1001) */
    }
  }

  /* Video-thumb placeholder image + buffered-% counter (shown while the HLS clip preloads) */
  .video-thumb .video-thumb-placeholder {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
  }
  .video-thumb .video-thumb-placeholder.is-hidden { opacity: 0; }
  .video-thumb .video-thumb-progress {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.10em;
    background: rgba(0,0,0,0.5);
    padding: 6px 12px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.4s ease;
    white-space: nowrap;
  }
  .video-thumb .video-thumb-progress.is-hidden { opacity: 0; }
  /* HLS video sits between placeholder (z:1) and progress (z:3) */
  .video-thumb video { position: absolute; z-index: 2; }

  /* page-front: thumb video is letterboxed (black stripes left/right) — zoom in to crop them out */
  body.page-front .video-thumb video { transform: scale(1.18); transform-origin: center center; }

  /* page-front: JETZT ENTDECKEN is a real link to product.html.
     Keep the CTA + health claim visible no matter what — never inherit the
     legacy .product-section.active hide rules used by the in-page detail mode. */
  body.page-front .product-section .prod-cta-area {
    display: block !important;
    opacity: 1 !important;
    margin-top: 36px !important;
    /* Lift above .bottle-glow (z-index 0, absolutely positioned inside
       .bottle-stage). Without this the static CTA paints UNDER the glow
       and only flashes through during the flavour-glow cross-fade. */
    position: relative;
    z-index: 2;
  }
  body.page-front .product-section .jetzt-btn     { display: inline-flex !important; opacity: 1 !important; }
  body.page-front .product-section .legal-fine    { display: block !important; opacity: 1 !important; }
  /* Mobile: switch the cta-area back to flex so the `gap` between the
     button and legal-fine actually applies (the !important above is
     block-typed; this overrides at ≤767px only). */
  @media (max-width: 767px) {
    body.page-front .product-section .prod-cta-area { display: flex !important; }
  }

  /* Mobile swap for the breakpoint <br>s defined near the top of the file:
     hide desktop-only line breaks, show mobile-only line breaks. To always
     break in both layouts, use two adjacent tags: <br class="mobile"><br class="desktop">. */
  @media (max-width: 767px) {
    br.desktop { display: none; }
    br.mobile  { display: block; }
  }


  /* ════════════════════════════════════════════════════════════════════════
     PRODUCT PAGE — section model
     - 3 fixed layers (menu, glow, main-bottle) overlay always
     - 4 relative sections stack and scroll naturally
     - debug borders called out per spec; remove when shipping
     ════════════════════════════════════════════════════════════════════════ */

  body.page-product { margin: 0; background: #fff; }

  /* Native scroll-snap is OFF. All navigation between slides is JS-driven
     (via goToSlide() in product.html) so wheel/touch input becomes one
     gesture = one slide transition. The scrollbar is hidden — JS handles
     positioning via window.scrollTo({behavior:'smooth'}). */
  html:has(body.page-product) {
    scrollbar-width: none;             /* Firefox */
  }
  html:has(body.page-product)::-webkit-scrollbar {
    display: none;                     /* Chrome / Safari / Edge */
  }

  /* ── Fixed menu ───────────────────────────────────────────────────────── */
  #product-menue {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 90px;
    pointer-events: none;        /* let scroll pass through outside the nav */
  }
  #product-menue .page-nav {
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translate(-50%, 0);
    pointer-events: auto;        /* nav itself stays clickable */
  }
  @media (max-width: 767px) {
    #product-menue .page-nav { top: 24px; }
  }
  /* Fixed-width nav buttons so BAZE sits perfectly centered, with PRODUCT
     hugging the right edge of its slot and STORY the left.
     Applies to all three main pages (product, front, story). page-product
     pins the nav (fixed); page-front/page-story keep it in normal flow. */
  body.page-product .page-nav button,
  body.page-front   .page-nav button,
  body.page-story   .page-nav button {
    width: 140px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
  body.page-product .page-nav button[data-scroll="product"],
  body.page-front   .page-nav button[data-scroll="product"],
  body.page-story   .page-nav button[data-scroll="product"] {
    justify-content: flex-end;
  }
  body.page-product .page-nav button.nav-baze,
  body.page-front   .page-nav button.nav-baze,
  body.page-story   .page-nav button.nav-baze {
    justify-content: center;
  }
  body.page-product .page-nav button[data-scroll="story"],
  body.page-front   .page-nav button[data-scroll="story"],
  body.page-story   .page-nav button[data-scroll="story"] {
    justify-content: flex-start;
  }

  /* ── Fixed glow layer ─────────────────────────────────────────────────── */
  body.page-product .product-glow {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.page-product .product-glow .glow-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1100px, 90vw);
    height: auto;
    xxobject-fit: contain;
    /* fade the hard top crop edge of the source jpeg */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 20%);
  }
  /* Desktop: nudge the glow a little lower behind the bottle. */
  @media (min-width: 768px) {
    body.page-product .product-glow .glow-img { top: 57%; height: 100%; }
  }
  /* Two-layer cross-fade: .glow-bottom holds the incoming flavor, .glow-top
     fades out over it. Long, soft transition. */
  body.page-product .product-glow .glow-top    { z-index: 2; opacity: 1; transition: opacity 700ms ease; }
  body.page-product .product-glow .glow-bottom { z-index: 1; }
  body.page-product.glow-swap .product-glow .glow-top { opacity: 0; }
  /* Instant reset of .glow-top opacity (after fade completes, when its src
     has been synced to match .glow-bottom and we want to be ready for the
     next swap). */
  body.page-product.no-glow-trans .product-glow .glow-top { transition: none; }

  /* ── Bottle carousel (replaces .main-bottle + .side-bottle imgs) ──────── */
  body.page-product .bottle-carousel {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;     /* slots opt back in below */
    outline: none;
  }
  /* Slot — owns position (animated `left`). Sits at a fixed viewport
     location. Side bottles just fade out (opacity), they don't translate. */
  body.page-product .bot-slot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    outline: none;
    transition: left    600ms cubic-bezier(0.32, 0.72, 0, 1),
                opacity 300ms ease;
  }
  body.page-product .bot-slot img {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
  }
  /* Inner wrapper — owns the scale (animated 600ms for rotation). Because
     this is a separate element, its transition doesn't fight the slot's
     scroll-shift updates. */
  body.page-product .bot-inner {
    transform: scale(var(--bot-scale, 0.6));
    transform-origin: center;
    transition: transform 600ms cubic-bezier(0.32, 0.72, 0, 1);
  }
  body.page-product .bot-inner img {
    display: block;
    width: auto;
    height: clamp(380px, 70vh, 600px);
  }
  /* Slot positions */
  body.page-product .bot-slot[data-position="left"]      { left: 16%; }
  body.page-product .bot-slot[data-position="center"]    { left: 50%; z-index: 2; cursor: pointer; }
  body.page-product .bot-slot[data-position="right"]     { left: 84%; }
  body.page-product .bot-slot[data-position="off-left"]  { left: -22%; opacity: 0; pointer-events: none; }
  body.page-product .bot-slot[data-position="off-right"] { left: 122%; opacity: 0; pointer-events: none; }
  /* Scale lives on the inner wrapper, not the slot */
  body.page-product .bot-slot[data-position="center"] .bot-inner { --bot-scale: 1; }
  /* Side slot originals — asymmetric fade:
     - Slide 1 → 2 (fade out): fast (100ms, no delay)
     - Slide 2 → 1 (fade in): waits 600ms so the .side-bottle-fly clones
       can finish sliding back into place before the originals appear.
     Each rule sets its OWN transition so the override controls how the
     transition is timed when entering that state. The slot's `left`
     transition is repeated in each rule so the rotation animation is
     preserved. */
  body.page-product .bot-slot[data-position="left"],
  body.page-product .bot-slot[data-position="right"] {
    opacity: 0;
    pointer-events: none;
    transition: left    600ms cubic-bezier(0.32, 0.72, 0, 1),
                opacity 100ms ease;
  }
  body.page-product.on-side-bottles .bot-slot[data-position="left"],
  body.page-product.on-side-bottles .bot-slot[data-position="right"] {
    opacity: 1;
    pointer-events: auto;
    transition: left    600ms cubic-bezier(0.32, 0.72, 0, 1),
                opacity 300ms ease 600ms;
  }

  /* pv2: side bottles never fade — they stay fully visible across the whole
     page (no slide-deck, no on-side-bottles gating). */
  body.page-cinema .bot-slot[data-position="left"],
  body.page-cinema .bot-slot[data-position="right"] {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* pv2: bot-slots compose the base centering translate with a JS-driven
     translateX (--pv2-*-tx) so the scroll-cinema can slide bottles in/out
     while the carousel rotation logic still works. */
  body.page-cinema .bot-slot[data-position="center"] {
    transform: translate(-50%, -50%) translateX(var(--pv2-center-tx, 0px));
  }
  body.page-cinema .bot-slot[data-position="left"] {
    transform: translate(-50%, -50%) translateX(var(--pv2-left-tx, 0px));
  }
  body.page-cinema .bot-slot[data-position="right"] {
    transform: translate(-50%, -50%) translateX(var(--pv2-right-tx, 0px));
  }

  /* pv2: tall .product-info section drives the pinned horizontal cinema.
     !important beats the page-product rule (body has both classes). */
  body.page-cinema .product-info {
    position: relative;
    height: 400vh !important;            /* scroll distance for the choreography */
    display: block !important;           /* reset page-product flex centering */
    background: transparent;
    min-height: 0;
  }
  body.page-cinema .product-info-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }
  body.page-cinema .product-info-intro,
  body.page-cinema .product-info-copy {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(420px, 86vw);
    box-sizing: border-box;
    padding: 0;
    color: #000;
    /* Composes (–50%, –50%) centering with the JS-driven X offset. */
    transform: translate(calc(-50% + var(--pv2-panel-x, -120vw)), -50%);
    will-change: transform;
  }
  body.page-cinema .product-info-intro {
    transform: translate(calc(-50% + var(--pv2-intro-x, -120vw)), -50%);
  }
  body.page-cinema .product-info-copy {
    transform: translate(calc(-50% + var(--pv2-copy-x, -120vw)), -50%);
  }
  body.page-cinema .product-info-intro h2 {
    font-family: 'Supreme', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1.0;
    margin: 0 0 32px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
  }
  body.page-cinema .product-info-intro p {
    font-family: 'Supreme', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 0;
  }
  body.page-cinema .product-info-copy p {
    font-family: 'Supreme', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
  }
  body.page-cinema .product-info-copy p strong {
    font-weight: 700;
  }

  /* Mobile: push side bottles further out and shrink them a bit so they
     read clearly as "secondary" relative to the center bottle.
     Center bottle is scaled down to 80% so it doesn't dominate the viewport. */
  @media (max-width: 767px) {
    body.page-product .bot-slot[data-position="left"]  { left: 12%; }
    body.page-product .bot-slot[data-position="right"] { left: 88%; }
    body.page-product .bot-slot[data-position="left"]  .bot-inner,
    body.page-product .bot-slot[data-position="right"] .bot-inner {
      --bot-scale: 0.5;
    }
    body.page-product .bot-slot[data-position="center"] .bot-inner {
      --bot-scale: 0.8;
    }
    /* pv4: side bottles shrunk to 95px tall and pinned 25px in from the
       viewport edges (outer edge → screen edge gap). translate(0, -50%)
       left-anchors the left slot and right-anchors the right slot, while the
       JS slide var (--pv2-*-tx) still slides them fully off-screen. */
    body.page-pv4 .bot-slot[data-position="left"]  .bot-inner img,
    body.page-pv4 .bot-slot[data-position="right"] .bot-inner img {
      height: 95px;
    }
    body.page-pv4 .bot-slot[data-position="left"]  .bot-inner,
    body.page-pv4 .bot-slot[data-position="right"] .bot-inner {
      --bot-scale: 1;
    }
    body.page-pv4 .bot-slot[data-position="left"] {
      left: 25px;
      right: auto;
      transform: translate(0, -50%) translateX(var(--pv2-left-tx, 0px));
    }
    body.page-pv4 .bot-slot[data-position="right"] {
      left: auto;
      right: 25px;
      transform: translate(0, -50%) translateX(var(--pv2-right-tx, 0px));
    }
    /* Anchor the flavour label to the bottle's bottom edge so it follows the
       (fixed) center bottle vertically. Bottle img height = clamp(380, 70vh,
       600), scaled to 0.8 → effective height = 0.8 × clamp(...). Bottle
       center is at viewport 50%, so bottom edge ≈ 50% + 0.4 × bottle-h. */
    body.page-product .center-flavor-label {
      top: calc(50% + 0.4 * clamp(380px, 70vh, 600px) + 16px);
      bottom: auto;
    }
    /* Health claim sits just below the flavor name (≈40px under the label
       anchor). Fades with the centre bottle via --pv4-label-opacity so it's
       visible at rest / at the end ring state and hidden mid-choreography. */
    body.page-pv4 .center-flavor-claim {
      display: block;
      position: absolute;   /* inside .pv4-stage → rides up with the footer */
      left: 50%;
      transform: translateX(-50%);
      top: calc(50% + 0.4 * clamp(380px, 70vh, 600px) + 16px + 40px);
      width: min(355px, 88vw);
      margin: 0;
      text-align: center;
      font-family: "Supreme", sans-serif;
      font-size: 9px;
      line-height: 1.35;
      letter-spacing: 0.15em;   /* Figma "15%" = 0.15 × font-size */
      text-transform: uppercase;
      color: rgba(0, 0, 0, 0.4);
      z-index: 4;
      pointer-events: none;
      opacity: var(--pv4-label-opacity, 1);
    }
    /* Tighter copy on mobile so all six STAY_ paragraphs fit the viewport. */
    body.page-cinema .product-info-copy p {
      font-family: 'Supreme', sans-serif;
      font-size: 14px;
      line-height: 1.6;
      letter-spacing: 0;
      margin: 0 0 3px;
      font-weight: 400;
    }
  }

  /* Centered tap targets — narrow vertical strip aligned to the center
     bottle. Top half = previous slide, bottom half = next slide. They
     replace the previous "click center bot-slot" wiring (which mis-fired
     after every rotation since rotate() reassigns data-position to
     'center' synchronously). Active on every slide; .info-ring-wrap,
     .home-footer and #product-menue are raised above (z-index 1001) so
     they stay interactive. */
  body.page-product .center-click {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 47vw;
    height: 50vh;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
  }
  body.page-product .center-click-up   { top:  0;    background: rgba(0, 80, 255, 0.2); }
  body.page-product .center-click-down { top: 50vh;  background: rgba(255, 0, 0, 0.2); }

  /* Keep the main nav, info ring and footer above the click overlays so
     they remain interactive (nav buttons stay tappable; ring labels click
     through to popups; footer links remain clickable). */
  body.page-product #product-menue  { z-index: 1001; }
  body.page-product .info-ring-wrap { z-index: 1001; }
  body.page-product .home-footer    { position: relative; z-index: 1001; }

  /* Hidden carousel-state shim — .bottle-slide rule above sets display:flex,
     which overrides the [hidden] attribute. Force it back to none. */
  body.page-product #active-flav-shim { display: none !important; }

  /* Centered flavor name under the main bottle. Text is updated in
     finalize() to match the current center flavor. */
  body.page-product .center-flavor-label {
    position: fixed;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    font-family: "Supreme", sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 32px);
    letter-spacing: 0.02em;
    color: #000;
    z-index: 4;
    pointer-events: none;
    white-space: nowrap;
  }

  /* pv4: the flavour label belongs to the centre bottle, so it fades out as
     the side bottles slide away and fades back in as they return. Opacity is
     driven by --pv4-label-opacity in pv4.js, in lock-step with the side
     bottles' exit/return phases.
     position:absolute (not fixed) anchors it INSIDE .pv4-stage so it rides up
     with the stage (like the bottle) when the stage releases and the footer
     scrolls in — instead of staying pinned and overlapping the footer. */
  body.page-pv4 .center-flavor-label {
    position: absolute;
    opacity: var(--pv4-label-opacity, 1);
  }

  /* Health-claim footnote — only shown on pv4 mobile, sat below the flavor
     name. Hidden everywhere else by default. */
  .center-flavor-claim { display: none; }

  /* ── Side-bottle "fly" clones ───────────────────────────────────────────
     Independent of the carousel. Fixed-positioned at the same X position as
     the carousel side slots. On slide 1 (body.on-side-bottles) they sit at
     top: 50%; on slides 2+ they animate to top: -15vh (above viewport).
     z-index 2 keeps them BEHIND the carousel layer (5) so the sliding
     bottles render in front. Synced by the carousel JS after every rotation.

     Opacity choreography:
       - Rest at slide 1     → 0 (hidden, originals do the talking)
       - Rest at slides 2+   → 0 (off-viewport)
       - DURING the slide    → 1.0 (fully visible) via body.clone-transitioning
                                    which is added briefly by the carousel JS
                                    whenever the IntersectionObserver fires.
     Asymmetric fade: 100ms IN (snappy ramp at start of slide), 400ms OUT
     (soft drop when clone-transitioning is removed). The OUT side uses the
     base rule's transition; the IN side comes from clone-transitioning. */
  body.page-product .side-bottle-fly {
    position: fixed;
    top: -22vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: top     600ms cubic-bezier(0.32, 0.72, 0, 1),
                opacity 400ms ease;
  }
  body.page-product .side-bottle-fly-l { left: 16%; }
  body.page-product .side-bottle-fly-r { left: 84%; }
  body.page-product .side-bottle-fly img {
    display: block;
    width: auto;
    /* Matches the rendered side slot size (slot's img height × bot-inner
       scale 0.6 ≈ clamp(228, 42vh, 360)) */
    height: clamp(228px, 42vh, 360px);
  }
  body.page-product.on-side-bottles .side-bottle-fly {
    top: 50%;
  }
  body.page-product.clone-transitioning .side-bottle-fly {
    opacity: 1;
    transition: top     600ms cubic-bezier(0.32, 0.72, 0, 1),
                opacity 100ms ease;
  }
  /* No-transition phase used during wrap-around teleport.
     SCOPED TO THE INDIVIDUAL SLOT — must NOT be on the carousel parent,
     otherwise sibling slots (the new center + the one going to the side)
     get their in-progress transitions cut short and snap to final values. */
  body.page-product .bot-slot.no-trans,
  body.page-product .bot-slot.no-trans .bot-inner,
  body.page-product .bot-slot.no-trans img {
    transition: none !important;
  }
  /* After the wrap teleport, the bottle slides in from the opposite side.
     Use a shorter transition than the default 600ms so the reappear feels
     snappier — the exit phase takes ~HALF (300ms), so a 300ms reappear
     totals to the same duration as the other slots' rotation.
     Both selectors are needed so wrap-in wins specificity-wise both with
     and without .on-side-bottles on body (otherwise the side-slot fade-in
     rule's 300ms-with-600ms-delay would override the wrap-in opacity here,
     leaving the wrap bottle invisible until it had already reached its
     destination — looks like fading in in place instead of sliding in). */
  body.page-product .bot-slot.wrap-in,
  body.page-product.on-side-bottles .bot-slot.wrap-in {
    transition: left    300ms cubic-bezier(0.32, 0.72, 0, 1),
                opacity 200ms ease;
  }
  /* Center bottle scroll inertia (set via --bottle-scroll-y on body) */
  body.page-product .bot-slot[data-position="center"] .bot-inner img {
    transform: translate3d(0, var(--bottle-scroll-y, 0px), 0);
  }

  /* ── Scrollable sections (each one viewport tall) ──────────────────────
     100dvh = dynamic viewport height; matches the actually-visible area on
     mobile (excludes browser chrome). 100vh fallback for browsers without
     dvh support. */
  body.page-product .side-bottles,
  body.page-product .text-anim,
  body.page-product .product-info,
  body.page-product .product-details {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0;
  }

  body.page-product .side-bottles {
    z-index: 10;
    /* empty marker; carousel above provides the bottles visually.
       pointer-events: none so its 100dvh box doesn't block clicks on the
       bot-slots that sit underneath (carousel z-index 5 < side-bottles 10). */
    pointer-events: none;
  }
  /* (Glow cross-fade rules live in the .product-glow block above —
     two-layer .glow-top / .glow-bottom approach.) */

  body.page-product .text-anim {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  body.page-product .text-anim .bg-ticker {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
  }
  body.page-product .text-anim .bg-ticker-row {
    display: flex;
    white-space: nowrap;
  }
  /* Animate the .bg-ticker-text span (sized by its own content, max-content
     wide) — NOT the row, which is stretched to viewport width. translateX(-50%)
     of the span = exactly half of the actual content width, which lands on a
     phrase boundary when the phrase count is even → seamless loop. */
  body.page-product .text-anim .bg-ticker-row:nth-child(1) .bg-ticker-text { animation: tickL  90s linear infinite; }
  body.page-product .text-anim .bg-ticker-row:nth-child(2) .bg-ticker-text { animation: tickR  82s linear infinite; }
  body.page-product .text-anim .bg-ticker-row:nth-child(3) .bg-ticker-text { animation: tickL 100s linear infinite; }
  body.page-product .text-anim .bg-ticker-text {
    font-family: "Supreme", sans-serif;
    font-size: clamp(64px, 11vw, 135px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #000;
    padding: 0 16px;
    white-space: nowrap;
  }
  body.page-product .text-anim .bg-ticker-text .red { color: inherit; }
  @keyframes tickL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes tickR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

  body.page-product .product-info {
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Product info card fade in/out — same .in-view pattern as the ring */
  body.page-product .product-info .info-card {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity   0.7s ease 0.25s,
      transform 0.7s ease 0.25s;
  }
  body.page-product .product-info.in-view .info-card {
    opacity: 1;
    transform: translateY(0);
  }
  body.page-product .info-card {
    background: #fff;
    border-radius: 32px;
    padding: 32px 40px 36px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    font-family: "Supreme", sans-serif;
    color: #000;
    width: min(720px, 80vw);
    max-height: 80vh;
    overflow-y: auto;
  }
  body.page-product .info-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
  }
  body.page-product .info-card-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  body.page-product .info-card-title p {
    margin: 4px 0 0;
    font-size: 16px;
    font-weight: 400;
    color: #000;
  }
  body.page-product .info-card-drop svg {
    width: 22px;
    height: auto;     /* preserve viewBox 32×48 aspect so the drop isn't clipped */
    display: block;
  }
  body.page-product .info-card-intro {
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 18px;
  }
  body.page-product .info-card .essentials-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  body.page-product .info-card .essentials-list li {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 8px;
  }
  body.page-product .info-card .ess-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  body.page-product .product-details {
    z-index: 8;
    /* Sticky pin: once the user reaches this section, it stays glued to the
       top of the viewport. The footer (next in flow, higher z-index) then
       scrolls UP over its bottom edge instead of replacing it. */
    position: sticky;
    top: 0;
  }

  /* Footer push-up effect — when the footer is in view, the bottle layer
     AND the ring get translated upward so the footer visually pushes them
     out of the way. (Transform is applied to .info-ring-wrap rather than
     to .product-details itself: that element is position:sticky, and
     transforming a sticky element creates a new containing block which
     interferes with the carousel rotation animation.) */
  body.page-product .bottle-carousel {
    transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
  }
  body.page-product.footer-visible .bottle-carousel {
    transform: translateY(-220px);
  }

  /* Popups inside .product-details — override the shared display:none/block
     toggle with an opacity-based reveal so we can fade them on scroll out. */
  body.page-product .product-details .fw-popup {
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  body.page-product .product-details .fw-popup.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Popup positioning (match original design) ─────────────────────────
     The legacy .fw-popup, .fw-popup--right, .fw-popup--wide rules give the
     popups oversized boxes that take most of the viewport on this page.
     Re-target each popup to a compact card next to its corresponding dot. */

  /* TASTE popup — anchored to the upper-right dot (ip-0), extending left
     from the right side of the viewport. Matches the original design:
     compact rounded card, just "TASTE_" label (no flavor suffix), bold
     body text wrapping to ~2 lines. */
  body.page-product .product-details #taste-popup {
    left: auto;
    right: 5%;
    top: calc(50% - 60px);
    transform: translateY(-50%);
    width: min(820px, 62vw);
    padding: 36px 48px 40px;
    border-radius: 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  }
  body.page-product .product-details #taste-popup .fw-popup-header {
    margin-bottom: 24px;
  }
  body.page-product .product-details #taste-popup .fw-popup-body {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
  }

  /* NUTRITION popup — anchored to the left dot (ip-2), compact left card. */
  body.page-product .product-details #ni-popup {
    left: 5%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    width: min(640px, 56vw);
    padding: 28px 36px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  }
  body.page-product .product-details #ni-popup .fw-popup-body {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
    font-weight: 400;
    max-width: none;
  }
  body.page-product .product-details #ni-popup .fw-popup-table--nutri {
    font-size: 12px;
  }

  /* ── pv4 nutrition tables: full-width title + two data tables ─────────────
     Title is its own element (border-bottom:0 so the tables' top border draws
     the single line beneath it — no double seam). Each table keeps a hairline
     border; adjacent borders are overlapped 1px so seams stay 1px.
       Desktop: title 100%, then macros (40%) | vitamins (60% = pro-100 40% of
                total + pro-500 20%) side by side.
       Mobile : title 67.2% + macros 67.2% stacked above the full-width
                vitamins table (pro-100 67.2% / pro-500 the rest). */
  /* Every border on these tables is 1px solid #000 (or 0 where seams overlap),
     and every bit of text is #000 — including the NRV note. */
  body.page-pv4 .product-details #ni-popup .nutri-heading {
    box-sizing: border-box;
    border: 1px solid #000;
    border-bottom: 0;
    padding: 6px 14px;
    font-weight: 400;
    color: #000;
  }
  body.page-pv4 .product-details #ni-popup .nutri-cols { display: flex; }
  body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri {
    margin: 0;
    border: 1px solid #000;
    color: #000;
  }
  body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri th,
  body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri td { color: #000; }
  body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri thead tr:first-child th {
    border-bottom: 1px solid #000;
  }
  /* vertical divider before the pro-500 column (header + body) */
  body.page-pv4 .product-details #ni-popup .nutri-vitamins .nutri-500 {
    border-left: 1px solid #000;
  }
  body.page-pv4 .product-details #ni-popup .fw-popup-note  { color: #000; }
  body.page-pv4 .product-details #ni-popup .fw-popup-body,
  body.page-pv4 .product-details #ni-popup .fw-popup-label { color: #000; }

  @media (min-width: 768px) {
    body.page-pv4 .product-details #ni-popup .nutri-heading { width: 100%; }
    body.page-pv4 .product-details #ni-popup .nutri-cols    { flex-direction: row; align-items: stretch; }
    body.page-pv4 .product-details #ni-popup .nutri-macros   { flex: 0 0 40%; }
    body.page-pv4 .product-details #ni-popup .nutri-vitamins { flex: 1 1 60%; margin-left: -1px; }
    /* pro-500 column = 20% of the whole block = 1/3 of the 60% vitamins table */
    body.page-pv4 .product-details #ni-popup .nutri-vitamins .nutri-500 { width: 33.33%; }
  }

  /* pv4 mobile nutrition popup type sizes — NUTRITION_ label 12px, Zutaten /
     ingredients line 10px. Placed after the page-product #ni-popup rules so it
     wins on mobile at equal specificity (the .ni-ingredients body otherwise
     inherits the 14px rule above). */
  /* ── pv4 mobile NUTRITION popup — Figma "NUTRITION_" design ───────────────
     Card with a large radius + hairline border; NUTRITION_ heading 12px and
     all body/table type 9px; the data is split into two stacked tables
     (macros 2-col, vitamins 3-col) so nothing overflows. Selectors carry
     .product-details so they match the page-product #ni-popup specificity
     (1,3,1) and win by source order. */
  @media (max-width: 767px) {
    body.page-pv4 .product-details #ni-popup {
      border-radius: 40px;
      padding: 42px 32px 34px;
    }
    body.page-pv4 .product-details #ni-popup .fw-popup-header { margin-bottom: 22px; }
    body.page-pv4 .product-details #ni-popup .fw-popup-label  { font-size: 12px; letter-spacing: 0.18em; }
    body.page-pv4 .product-details #ni-popup .fw-popup-close  { font-size: 22px; }
    body.page-pv4 .product-details #ni-popup .fw-popup-body   { font-size: 10px; line-height: 1.6; margin: 0 0 14px; }

    /* Stacked: title (67.2%) + macros (67.2%) above the full-width vitamins
       table. border-bottom:0 + margin-top:-1px overlap the seams to 1px. */
    body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri {
      font-size: 10px;
      line-height: 1.5;
      width: 100%;
    }
    body.page-pv4 .product-details #ni-popup .nutri-heading  { margin-top: 24px; width: 67.3%; font-size: 10px; padding: 5px 12px; }
    body.page-pv4 .product-details #ni-popup .nutri-cols     { flex-direction: column; }
    body.page-pv4 .product-details #ni-popup .nutri-macros   { width: 67.3%; border-bottom: 0; margin-top: -1px; }
    body.page-pv4 .product-details #ni-popup .nutri-vitamins { width: 100%; margin-top: -1px; margin-bottom: 4px; }
    /* Tight horizontal padding so the 3-column vitamins table fits the popup
       width — otherwise its right border (and the pro-500 values) overflow. */
    body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri th,
    body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri td {
      padding: 0px 6px;
    }
    body.page-pv4 .product-details #ni-popup .fw-popup-table--nutri thead tr:first-child th {
      padding: 5px 6px;
    }
    /* pro-500 column = the rest (~32.8%); pro-100 + name fill 67.2% so they
       line up under the macros table above. */
    body.page-pv4 .product-details #ni-popup .nutri-vitamins .nutri-500 {
      width: 32.8%;
    }
    body.page-pv4 .product-details #ni-popup .fw-popup-note { font-size: 10px; margin: 10px 0 0; }
  }

  /* SHOP HERE dot navigates directly to ready2drink.de — no popup. */
  /* When the footer enters view, fade open popups out (they stay positioned
     with the sticky section, they just visually disappear). */
  body.page-product.footer-visible .product-details .fw-popup.open {
    opacity: 0;
    pointer-events: none;
  }
  /* Ring starts invisible; the .in-view class (added by IntersectionObserver
     when the section is mostly in viewport) triggers a delayed fade-in.
     The delay creates the "fades in in place" feel — the snap movement
     finishes first, then the ring appears. */
  body.page-product .product-details .info-ring-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity   0.7s ease 0.25s,
      transform 0.7s ease 0.25s;
  }
  body.page-product .product-details.in-view .info-ring-wrap {
    opacity: 1;
    transform: translateY(0);
  }
  /* When the footer comes up, push the ring upward together with the
     bottle-carousel. Override transition to match the carousel's 500ms so
     they move in sync. */
  body.page-product.footer-visible .product-details.in-view .info-ring-wrap {
    transform: translateY(-220px);
    transition:
      opacity   0.7s ease 0.25s,
      transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
  }

  /* ─── pv4 overrides ─────────────────────────────────────────────────────
     Single-stage cinema. main is a 600vh scroll spacer; .pv4-stage sticks
     at top:0/100vh and holds every "section" as a layer (all absolute,
     fullscreen). One JS update() reads main's progress and drives every
     layer via CSS vars + a single class toggle (.ring-active) for opacity.
     baze.css's page-product / page-cinema rules use position:fixed on the
     glow and carousel — pv4 promotes them to absolute so they're contained
     by the sticky stage instead of escaping it. */

  /* main — tall scroll spacer. dvh tracks the *visible* viewport on mobile
     (URL-bar aware), which keeps it in sync with the sticky stage below. */
  body.page-pv4 main#page-home {
    position: relative;
    width: 100%;
    height: 600vh;          /* fallback */
    height: 600dvh;
    margin: 0;
    padding: 0;
  }

  /* Fixed stage — pinned to viewport top via position:fixed. iOS Safari
     has bugs with position:sticky in this exact layout (everything inside
     scrolls with main instead of pinning), so we drive the sticky-style
     behaviour manually: stage is `fixed` while the user is anywhere inside
     main, then JS toggles `.released` near main's end, which switches to
     `position: absolute; bottom: 0` so the stage rides main's last
     viewport up into the footer. */
  body.page-pv4 .pv4-stage {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;          /* fallback */
    height: 100dvh;
    overflow: hidden;
  }
  body.page-pv4 .pv4-stage.released {
    position: absolute !important;
    top: auto;
    bottom: 0;
  }
  /* The popups (#ni-popup etc.) live inside .pv4-stage, which is position:fixed
     — its own stacking context, sitting BELOW the nav (#product-menue, z-index
     1001) at the root. So a popup's own z-index can never beat the nav. While a
     popup is open, lift the whole stage above the nav so the modal overlays
     everything, header included. */
  body.page-pv4 .pv4-stage:has(.fw-popup.open) { z-index: 2000; }

  /* All layered sections sit absolutely inside the stage, fullscreen.
     z-index ladder: glow 1 < text-anim 2 < product-info 3 < carousel 5
     < ring 8. height:100dvh !important beats page-cinema's 400vh !important
     on .product-info and matches the stage. */
  body.page-pv4 .pv4-stage > .product-glow,
  body.page-pv4 .pv4-stage > .text-anim,
  body.page-pv4 .pv4-stage > .product-info,
  body.page-pv4 .pv4-stage > .product-details,
  body.page-pv4 .pv4-stage > .bottle-carousel {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0;
    padding: 0;
  }

  body.page-pv4 .pv4-stage > .product-glow     { z-index: 1; }
  body.page-pv4 .pv4-stage > .text-anim        { z-index: 2; pointer-events: none; }
  body.page-pv4 .pv4-stage > .product-info     { z-index: 3; display: block !important; min-height: 0; background: transparent; pointer-events: none; }
  body.page-pv4 .pv4-stage > .bottle-carousel  { z-index: 5; }
  body.page-pv4 .pv4-stage > .product-details  { z-index: 8; pointer-events: none; }

  /* The product-info-pin is just a passthrough wrapper inside .product-info
     on pv4 — let the intro/copy children (already absolute, JS-driven X)
     position themselves directly. */
  body.page-pv4 .product-info-pin {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    top: 0; left: 0;
  }

  /* text-anim — drive vertical position via --pv4-text-y. Starts below the
     viewport (+100vh), rises into the centre, then exits upward (-100vh).
     The .bg-ticker wraps the rows; in-row horizontal ticker (tickL/tickR)
     animation keeps running independently. */
  body.page-pv4 .text-anim {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  body.page-pv4 .text-anim .bg-ticker {
    width: 100%;
    transform: translateY(var(--pv4-text-y, 100vh));
    will-change: transform;
  }

  /* Re-enable pointer events on interactive children inside the layered
     sections (carousel slots, ring dots, popups). */
  body.page-pv4 .pv4-stage .bot-slot,
  body.page-pv4 .pv4-stage .info-point,
  body.page-pv4 .pv4-stage .fw-popup.open {
    pointer-events: auto;
  }

  /* product-details — ring always rendered in place, opacity 0; the
     .ring-active class added by JS at the trigger progress fades it in.
     Drop the page-product translateY(20px) at-rest transform — the ring
     should never move on pv4. */
  body.page-pv4 .product-details .info-ring-wrap {
    opacity: 0;
    transform: none;
    transition: opacity 0.8s ease;
  }
  body.page-pv4 .product-details.ring-active .info-ring-wrap {
    opacity: 1;
    transform: none;
  }

  /* ── Desktop / iPad info-ring (>767px): same angle technique as mobile ────
     The base/page-product rules place the dots at a ~200px radius, but the
     dashed circle on the fixed 700px track renders at r=320px — so the dots
     sat INSIDE the ring. Here we reuse the --ring-r + --a (clock angle)
     approach: --ring-r = 320px makes the dot CENTRES land on the dashed
     circle (centre is 50%/58%, shared with the track, so they always
     coincide). Dots are 25px on desktop, so the half-dot offset is 12.5px.
     To move a dot: change its --a (clockwise from 12 o'clock, 30°/hr).
     Mutually exclusive with the max-width:767px mobile block. */
  @media (min-width: 768px) {
    body.page-pv4 .info-ring-wrap { --ring-r: 320px; }
    body.page-pv4 .ip-0 { --a:  50deg; }   /* TASTE     */
    body.page-pv4 .ip-1 { --a: 130deg; }   /* SHOP HERE */
    body.page-pv4 .ip-2 { --a: 225deg; }   /* NUTRITION */
    body.page-pv4 .ip-0,
    body.page-pv4 .ip-1 {
      left: calc(50% + var(--ring-r) * sin(var(--a)) - 12.5px);
      top:  calc(58% - var(--ring-r) * cos(var(--a)));
    }
    body.page-pv4 .ip-2 {
      right: calc(50% - var(--ring-r) * sin(var(--a)) - 12.5px);
      top:   calc(58% - var(--ring-r) * cos(var(--a)));
    }
  }

  /* Footer — sibling of main. Transparent and behind the stage (z-index 0)
     so the stage shows through / over it as it scrolls up. */
  body.page-pv4 .home-footer {
    position: relative;
    background: transparent;
    z-index: 0;
  }

  /* ── pv6 DESKTOP (≥768px): intro + copy flank the stationary centre bottle.
     pv6.js rests the panels at ±0.30·vw from centre, so narrow them to
     min(400px, 32vw) and left/right-align their text away from the bottle so
     the two panels + the centre bottle don't collide. Mobile pv6 is untouched
     (identical to pv4). */
  @media (min-width: 768px) {
    body.page-pv6 .product-info-intro,
    body.page-pv6 .product-info-copy {
      width: min(400px, 32vw);
    }
    body.page-pv6 .product-info-intro { text-align: left; }
  }

  /* ─── DEV: 5px coloured outlines on every layered section ───────────────
     Outline (not border) so it doesn't change layout / box-model. Each box
     gets a distinct hue so we can see exactly which one is misbehaving on
     mobile. Gated behind body.dev — remove the `dev` class from <body> to
     hide every outline at once (or delete this whole block when done).
       red      main
       blue     .pv4-stage
       green    .product-glow
       orange   .text-anim
       purple   .product-info
       cyan     .bottle-carousel
       magenta  .product-details
       brown    .home-footer
       yellow   .product-info-intro
       lime     .product-info-copy
       pink     .bot-slot                    */
  body.page-pv4.dev main#page-home          { outline: 5px solid red; outline-offset: -5px; }
  body.page-pv4.dev .pv4-stage              { outline: 5px solid blue; outline-offset: -5px; }
  body.page-pv4.dev .pv4-stage > .product-glow     { outline: 5px solid green;   outline-offset: -5px; }
  body.page-pv4.dev .pv4-stage > .text-anim        { outline: 5px solid orange;  outline-offset: -5px; }
  body.page-pv4.dev .pv4-stage > .product-info     { outline: 5px solid purple;  outline-offset: -5px; }
  body.page-pv4.dev .pv4-stage > .bottle-carousel  { outline: 5px solid cyan;    outline-offset: -5px; }
  body.page-pv4.dev .pv4-stage > .product-details  { outline: 5px solid magenta; outline-offset: -5px; }
  body.page-pv4.dev .home-footer            { outline: 5px solid #8b4513; outline-offset: -5px; }
  body.page-pv4.dev .product-info-intro     { outline: 5px solid yellow; outline-offset: -5px; }
  body.page-pv4.dev .product-info-copy      { outline: 5px solid #00ff00; outline-offset: -5px; }
  body.page-pv4.dev .bot-slot               { outline: 5px solid #ff69b4; outline-offset: -5px; }

  /* On pv4 the footer is reached via natural flow at the end of main —
     no footer-visible carousel push-up. Disable the inherited translate
     so it doesn't fight the stage's sticky un-pin. */
  body.page-pv4.footer-visible .bottle-carousel,
  body.page-pv4.footer-visible .product-details.in-view .info-ring-wrap,
  body.page-pv4.footer-visible .product-details.ring-active .info-ring-wrap {
    transform: none;
  }

