/* ============================================================
   KSHN — "Sky / sticker" brand layer
   The playful identity from the brand wallpaper: cyan sky washes,
   drifting clouds, mountain ridges, and the white line-art
   sticker pattern.

   EVERYTHING here is gated by [data-skin="sky"] (set on <main> in
   app/(public)/page.tsx). Removing that one attribute reverts the
   whole treatment; this sheet stays loaded and inert.
   ============================================================ */

/* ---------------- Seamless page flow (client: no white, no blocky seams) ----
   The home page (<main data-flow>) is ONE continuous brand teal<->blue gradient
   running its full length; every section rides it transparently (see the
   [data-flow] overrides at the end of this file) so the colour flows with no
   per-section seams and no white gaps. Distinct "moments" — cards, the
   newsletter panel, the marquee stripe — still paint their own surfaces on top. */
[data-flow] {
  /* Flat brand blue across the whole page. This replaced a 5-stop teal->blue
     ramp: sections ride it transparently (see the [data-flow] overrides at the
     end of this file), so one solid colour keeps every seam invisible without
     the wash drifting lighter toward the top of long pages. */
  background: var(--brand-blue);
}

/* ---------------- Hero: the sky canvas ---------------- */
[data-skin="sky"] .hero-sky { background: var(--sky-grad-v); }
/* the white radial "sun" glow behind the hero tins reads as a washed-out blob on
   the blue sky — removed per client */
[data-skin="sky"] .hero-sun { display: none; }
[data-skin="sky"] .hero-wordmark { color: color-mix(in srgb, var(--glass-color) 30%, transparent); }
[data-skin="sky"] .hero-sub { color: color-mix(in srgb, var(--ink) 88%, var(--text-light)); }
[data-skin="sky"] .hero .eyebrow {
  background: var(--paper); color: var(--ink);
  padding: .35em .9em; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--shadow-color) 38%, transparent);
}

/* drifting clouds (decor only — transform/opacity, off under reduced motion) */
[data-skin="sky"] .hero-sky::before,
[data-skin="sky"] .hero-sky::after {
  content: ""; position: absolute; pointer-events: none;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
}
[data-skin="sky"] .hero-sky::before {
  width: clamp(180px, 22vw, 320px); aspect-ratio: 54/25;
  left: 4%; top: 12%; opacity: .85;
}
[data-skin="sky"] .hero-sky::after {
  width: clamp(120px, 15vw, 230px); aspect-ratio: 54/25;
  right: 8%; top: 7%; opacity: .8;
}
[data-skin="sky"] .hero-deco::after {
  content: ""; position: absolute; pointer-events: none;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
  width: clamp(140px, 16vw, 250px); aspect-ratio: 54/25;
  left: 38%; bottom: 14%; opacity: .75;
}
/* extra drifting clouds across the whole hero (the fixed spans in
   _home-main.ts .hero-clouds) — varied sizes/depths so the sky feels alive */
[data-skin="sky"] .hcloud {
  position: absolute; pointer-events: none;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
  aspect-ratio: 54/25;
}
/* the left anchors are the reduced-motion resting spots; the animated
   vibeCross override (below) replaces them with the drift */
[data-skin="sky"] .hcloud.hc1 { width: clamp(150px, 18vw, 290px); top: 34%; left: 12%; opacity: .85; }
[data-skin="sky"] .hcloud.hc2 {
  width: clamp(100px, 11vw, 180px); top: 58%; left: 64%; opacity: .78;
  -webkit-mask-image: url("/design/vibe/cloud-solid.svg"); mask-image: url("/design/vibe/cloud-solid.svg"); aspect-ratio: 54/25;
}
[data-skin="sky"] .hcloud.hc3 { width: clamp(190px, 23vw, 350px); bottom: 4%; left: 30%; opacity: .8; }

/* ---- Solid brand-colour clouds: each cloud is ONE flat palette colour (no
   gradient). The shape is a CSS mask; --cloud-c sets the fill per cloud. ---- */
[data-skin="sky"] .hero-sky::before { --cloud-c: var(--c-sky); }
[data-skin="sky"] .hero-sky::after  { --cloud-c: var(--cloud-orange); }
[data-skin="sky"] .hero-deco::after { --cloud-c: var(--cloud-pink); }
[data-skin="sky"] .hcloud.hc1 { --cloud-c: var(--c-green); }
[data-skin="sky"] .hcloud.hc2 { --cloud-c: var(--c-gold); }
[data-skin="sky"] .hcloud.hc3 { --cloud-c: var(--c-magenta); }
[data-skin="sky"] #flavors::after { --cloud-c: var(--c-aqua); }
[data-skin="sky"] .states-band::after { --cloud-c: var(--cloud-orange); }
[data-skin="sky"] section[data-screen-label="Values"]::after { --cloud-c: var(--cloud-pink); }
[data-skin="sky"] section[data-screen-label="News index"]::before { --cloud-c: var(--c-sky); }
[data-skin="sky"] section[data-screen-label="News index"]::after { --cloud-c: var(--c-gold); }
[data-skin="sky"] .band::before { --cloud-c: var(--c-green); }
[data-skin="sky"] .band::after { --cloud-c: var(--c-magenta); }
body:has(main[data-skin="sky"]) .site-footer::before { --cloud-c: var(--c-sky); }
body:has(main[data-skin="sky"]) .site-footer::after { --cloud-c: var(--cloud-orange); }
/* pouches / education / suggest / locations hero cloud spans */
.fh-cloud--1 { --cloud-c: var(--c-sky); }
.fh-cloud--2 { --cloud-c: var(--cloud-orange); }
.fh-cloud--3 { --cloud-c: var(--c-green); }
.fh-cloud--4 { --cloud-c: var(--cloud-pink); }
.fh-cloud--5 { --cloud-c: var(--c-gold); }

/* Every cloud slowly floats left → right across its section and loops. One
   traversal keyframe, shared; per-cloud duration + a negative delay give
   parallax and spread so they never march in lockstep. The sections they live
   in all clip overflow (and the page clips overflow-x), so the off-screen ends
   stay hidden and the reset is seamless. Static (no anchor reset) under reduced
   motion — the resting left/right anchors below still place them. */
@keyframes vibeCross {
  from { transform: translateX(-28vw); }
  to   { transform: translateX(108vw); }
}
@media (prefers-reduced-motion: no-preference) {
  [data-skin="sky"] .hero-sky::before,
  [data-skin="sky"] .hero-sky::after,
  [data-skin="sky"] .hero-deco::after,
  [data-skin="sky"] .hcloud,
  [data-skin="sky"] #flavors::after,
  [data-skin="sky"] .states-band::after,
  [data-skin="sky"] section[data-screen-label="Values"]::after,
  [data-skin="sky"] section[data-screen-label="News index"]::before,
  [data-skin="sky"] section[data-screen-label="News index"]::after,
  body:has(main[data-skin="sky"]) .site-footer::before,
  body:has(main[data-skin="sky"]) .site-footer::after,
  [data-skin="sky"] .band::before,
  [data-skin="sky"] .band::after {
    animation: kshnFloat 12s ease-in-out infinite alternate;
    animation-delay: var(--cloud-delay, 0s);
    will-change: transform;
  }
  [data-skin="sky"] .hero-sky::before  { --cloud-dur: 108s; --cloud-delay: -10s; }
  [data-skin="sky"] .hero-sky::after   { --cloud-dur: 138s; --cloud-delay: -70s; }
  [data-skin="sky"] .hero-deco::after  { --cloud-dur: 160s; --cloud-delay: -44s; }
  [data-skin="sky"] .hcloud.hc1        { --cloud-dur: 122s; --cloud-delay: -34s; }
  [data-skin="sky"] .hcloud.hc2        { --cloud-dur: 168s; --cloud-delay: -96s; }
  [data-skin="sky"] .hcloud.hc3        { --cloud-dur: 134s; --cloud-delay: -52s; }
  [data-skin="sky"] #flavors::after    { --cloud-dur: 146s; --cloud-delay: -24s; }
  [data-skin="sky"] .states-band::after{ --cloud-dur: 126s; --cloud-delay: -78s; }
  [data-skin="sky"] section[data-screen-label="Values"]::after { --cloud-dur: 142s; --cloud-delay: -36s; }
  [data-skin="sky"] section[data-screen-label="News index"]::before { --cloud-dur: 118s; --cloud-delay: -20s; }
  [data-skin="sky"] section[data-screen-label="News index"]::after  { --cloud-dur: 156s; --cloud-delay: -88s; }
  body:has(main[data-skin="sky"]) .site-footer::before { --cloud-dur: 130s; --cloud-delay: -42s; }
  body:has(main[data-skin="sky"]) .site-footer::after  { --cloud-dur: 164s; --cloud-delay: -102s; }
  [data-skin="sky"] .band::before      { --cloud-dur: 116s; --cloud-delay: -14s; }
  [data-skin="sky"] .band::after       { --cloud-dur: 152s; --cloud-delay: -60s; }
}

/* ---------------- Shared: sections that go full sky ---------------- */
[data-skin="sky"] #flavors,
[data-skin="sky"] .states-band { background: var(--sky-grad-v); }
[data-skin="sky"] #flavors .lead,
[data-skin="sky"] .states-band .lead,
[data-skin="sky"] .states-band .states-foot { color: color-mix(in srgb, var(--ink) 86%, var(--text-light)); }
[data-skin="sky"] #flavors .eyebrow,
[data-skin="sky"] .states-band .eyebrow,
[data-skin="sky"] section[data-screen-label="Instagram"] .eyebrow {
  background: var(--paper); color: var(--ink);
  padding: .35em .9em; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--shadow-color) 38%, transparent);
}
[data-skin="sky"] #flavors .lnav { background: var(--paper); border-color: transparent; }


/* a slow extra cloud per sky section */
[data-skin="sky"] #flavors::after,
[data-skin="sky"] .states-band::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
  width: clamp(150px, 18vw, 280px); aspect-ratio: 54/25;
  right: -3%; bottom: 10%; opacity: .5;
}
[data-skin="sky"] .states-band::after { right: auto; left: -2%; bottom: auto; top: 6%; }

/* ---------------- Pick Your Vibe: the tin carries the card ---------------- */
/* the availability-map silhouette recedes behind the tin */
[data-skin="sky"] .vibe-ultra .vu-map { opacity: .8; }

/* ---------------- Why KSHN: brand-sky backdrop so the white pouch pops ----------------
   The Function-First Formula section was white, so the pale pouch had zero
   contrast. It now sits on the same brand teal->blue wash as the hero: the
   leader lines + dots turn white to read on the blue, the copy darkens to ink,
   and the pouch gets a soft white halo instead of the (now invisible) blue one. */
[data-skin="sky"] section[data-screen-label="Why KSHN"] { background: var(--sky-grad-v); }
[data-skin="sky"] section[data-screen-label="Why KSHN"] .lead,
[data-skin="sky"] section[data-screen-label="Why KSHN"] .hero-hint { color: var(--ink); }
[data-skin="sky"] section[data-screen-label="Why KSHN"] .formula-lines path { stroke: var(--burnt); }
[data-skin="sky"] section[data-screen-label="Why KSHN"] .co-dot {
  background: var(--paper); box-shadow: 0 0 0 4px color-mix(in srgb, var(--glass-color) 35%, transparent); animation: none;
}
/* the "All Natural" marker keeps its green here too — the rule above repaints
   every dot white on this skin and would otherwise flatten the emphasis */
[data-skin="sky"] section[data-screen-label="Why KSHN"] .callout.is-key .co-dot {
  background: var(--c-green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--glass-color) 55%, transparent);
}
[data-skin="sky"] section[data-screen-label="Why KSHN"] .callout.is-key:hover .co-dot,
[data-skin="sky"] section[data-screen-label="Why KSHN"] .callout.is-key:focus-within .co-dot {
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--glass-color) 50%, transparent);
}
[data-skin="sky"] section[data-screen-label="Why KSHN"] .formula-glow {
  background: radial-gradient(closest-side, rgb(var(--glass-color-rgb) / .6), rgb(var(--glass-color-rgb) / .15) 55%, transparent 75%);
}

/* ---------------- Best of Both Worlds: same brand-sky backdrop ----------------
   The smoking-vs-pouch scoreboard sat on white; on the brand teal->blue wash
   the orange "win" card and the light "Smoking" card both pop harder. Copy
   darkens to ink for contrast; the cards keep their own colors. */
[data-skin="sky"] section[data-screen-label="Best of Both Worlds"] { background: var(--sky-grad-v); }
[data-skin="sky"] section[data-screen-label="Best of Both Worlds"] .lead { color: var(--ink); }

/* ---------------- The Ritual: white line-art icons on sky chips ---------------- */
[data-skin="sky"] section[data-screen-label="How it works"] {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--brand-blue) 6%, var(--paper)) 0%,
    color-mix(in srgb, var(--brand-blue) 13%, var(--paper)) 100%);
}
[data-skin="sky"] .step .ic {
  width: clamp(84px, 9vw, 124px); height: auto; aspect-ratio: 1;
  padding: clamp(13px, 1.5vw, 20px);
  border-radius: clamp(22px, 2.4vw, 32px); background: var(--sky-grad);
  box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--shadow-color) 45%, transparent);
}
[data-skin="sky"] .step .ic svg { width: 100%; height: 100%; }

/* ---------------- Find a Store: mountain ridge under the cards ----------------
   Two matched ranges anchored to the two bottom corners. Sized by HEIGHT
   (auto 72%) so both layers render at EXACTLY the same size regardless of each
   SVG's own width, and the 72% leaves sky headroom so the peaks are never
   flush/clipped even when the box hits its height cap. */
[data-skin="sky"] .states-band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: clamp(260px, 34vw, 600px); pointer-events: none; z-index: 0;
  background:
    url("/design/vibe/mountain-deep.svg") no-repeat left  bottom / auto 72%,
    url("/design/vibe/mountain-deep.svg") no-repeat right bottom / auto 72%;
  opacity: .5;
}
@media (max-width: 720px) {
  /* small screens: one big centered range reads better than two tiny ones */
  [data-skin="sky"] .states-band::before {
    height: clamp(160px, 40vw, 300px);
    background:
      url("/design/vibe/mountain-deep.svg") no-repeat center bottom / auto 68%;
  }
}
/* city ticker sits on the blue flow: ink text + a soft dark rule read cleanly */
[data-skin="sky"] .states-band .city-ticker { position: relative; z-index: 1; border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
[data-skin="sky"] .states-band .city-ticker span { color: var(--ink); }

/* ---------------- Instagram band: the sticker wallpaper ---------------- */
[data-skin="sky"] section[data-screen-label="Instagram"] {
  background: var(--sky-grad) !important;
  position: relative; overflow: hidden; isolation: isolate;
}
[data-skin="sky"] section[data-screen-label="Instagram"]::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("/design/vibe/sticker-tile.svg") 0 0 / clamp(440px, 56vw, 760px) auto;
  opacity: .22;
}
[data-skin="sky"] section[data-screen-label="Instagram"] > .wrap { position: relative; z-index: 1; }
[data-skin="sky"] section[data-screen-label="Instagram"] .lead { color: color-mix(in srgb, var(--ink) 86%, var(--text-light)); }

/* ---------------- News index: rides the seamless flow, clouds throughout ----------------
   No per-section background here — the [data-flow] wash carries the colour so the
   hero and index blend into one continuous field (was var(--sky-grad-v), which
   painted the index as its own blue block and broke the blend). */
[data-skin="sky"] section[data-screen-label="News index"] {
  position: relative; overflow: hidden;
}
[data-skin="sky"] section[data-screen-label="News index"] > .wrap { position: relative; z-index: 1; }
[data-skin="sky"] section[data-screen-label="News index"]::before,
[data-skin="sky"] section[data-screen-label="News index"]::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
  aspect-ratio: 54/25;
}
[data-skin="sky"] section[data-screen-label="News index"]::before {
  width: clamp(170px, 20vw, 300px); top: 7%; opacity: .7;
}
[data-skin="sky"] section[data-screen-label="News index"]::after {
  width: clamp(120px, 13vw, 210px); top: 46%; opacity: .5;
}
[data-skin="sky"] section[data-screen-label="News index"] .loc-empty { color: var(--ink); }

/* ---------------- About · Values: a cloud adrift over the wash ---------------- */
[data-skin="sky"] section[data-screen-label="Values"] { position: relative; overflow: hidden; }
[data-skin="sky"] section[data-screen-label="Values"] > .wrap { position: relative; z-index: 1; }
[data-skin="sky"] section[data-screen-label="Values"]::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
  width: clamp(150px, 17vw, 260px); aspect-ratio: 54/25;
  right: 5%; top: 10%; opacity: .5;
}

/* ---------------- Journal: a whisper of sky ---------------- */
[data-skin="sky"] section[data-screen-label="Journal"] { background: color-mix(in srgb, var(--brand-teal) 9%, var(--paper)); }

/* ---------------- Testimonials: soft sky instead of cream ---------------- */
[data-skin="sky"] section[data-screen-label="Testimonials"] {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--brand-blue) 7%, var(--paper)) 0%,
    color-mix(in srgb, var(--brand-blue) 13%, var(--paper)) 100%) !important; /* the section carries an inline cream background */
}

/* ---------------- No dark content bands (client directive) ----------------
   Every ".dark" section becomes the bright brand wash with ink copy — the
   same family as the home science band. Only the footer + age gate keep the
   guideline black. !important is needed where the markup inlines color:#fff. */
[data-skin="sky"] .dark {
  background: linear-gradient(165deg, var(--brand-blue) 0%, var(--sky-mid) 62%, var(--sky-deep) 100%);
  color: var(--ink);
}
/* (the pinned home science band carries its own sticker layer — skip it) */
[data-skin="sky"] .dark:not(.anatomy)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/design/vibe/sticker-tile.svg") 0 0 / clamp(440px, 56vw, 760px) auto;
  opacity: .14;
}
[data-skin="sky"] .dark > .wrap { position: relative; z-index: 1; }
[data-skin="sky"] .dark .h2,
[data-skin="sky"] .dark :is(h3, h4) { color: var(--ink) !important; }
[data-skin="sky"] .dark .lead,
[data-skin="sky"] .dark .muted { color: color-mix(in srgb, var(--ink) 68%, transparent) !important; }
[data-skin="sky"] .dark .eyebrow {
  background: var(--paper); color: var(--ink) !important;
  padding: .35em .9em; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--shadow-color) 38%, transparent);
}
[data-skin="sky"] .dark .btn-secondary { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
[data-skin="sky"] .dark .btn-secondary:hover { background: var(--ink); color: var(--text-light); }

/* About · Science: the onset race re-inked for the bright band (the KSHN bar
   goes warm so it pops on blue) */
[data-skin="sky"] .dark .race-name,
[data-skin="sky"] .dark .race-time,
[data-skin="sky"] .dark .race-lane-row--muted .race-name,
[data-skin="sky"] .dark .race-lane-row--muted .race-time { color: var(--ink); }
[data-skin="sky"] .dark .race-track { background: color-mix(in srgb, var(--shadow-color) 14%, transparent); }
[data-skin="sky"] .dark .race-fill--kshn { background: linear-gradient(90deg, var(--brand-orange), var(--peach)); }
[data-skin="sky"] .dark .race-fill--edible,
[data-skin="sky"] .dark .race-fill--dab,
[data-skin="sky"] .dark .race-fill--joint { background: color-mix(in srgb, var(--shadow-color) 28%, transparent); }
[data-skin="sky"] .dark .race-dot { background: var(--brand-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-orange) 25%, transparent); }
[data-skin="sky"] .dark .race-dot--edible { background: color-mix(in srgb, var(--shadow-color) 35%, transparent); box-shadow: none; }
[data-skin="sky"] .dark .race-scale .ticks { color: color-mix(in srgb, var(--ink) 60%, transparent); }
[data-skin="sky"] .dark .race-caption { color: color-mix(in srgb, var(--ink) 68%, transparent); }
[data-skin="sky"] .dark .race-caption b { color: var(--ink); }

/* the proof cards go frosted white with ink copy (like the home phase cards) */
[data-skin="sky"] .dark .ing-card {
  background: color-mix(in srgb, var(--glass-color) 88%, transparent); border-color: color-mix(in srgb, var(--glass-color) 95%, transparent);
  backdrop-filter: blur(6px); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--shadow-color) 35%, transparent);
}
[data-skin="sky"] .dark .ing-card p { color: color-mix(in srgb, var(--ink) 65%, transparent); }
[data-skin="sky"] .dark .ing-card.proof:hover { border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
[data-skin="sky"] .dark .ghost-num { -webkit-text-stroke: 2px color-mix(in srgb, var(--ink) 14%, transparent); }

/* Per-card colour: each proof tile carries a brand accent (blue / teal /
   orange) — a top bar, a filled ghost numeral and the chip show it at rest;
   hovering floods the tile with a soft accent wash + glow. */
[data-skin="sky"] .ing-card.proof { --pc: var(--brand-blue); }
[data-skin="sky"] .proof-grid .ing-card:nth-child(2) { --pc: var(--c-teal); }
[data-skin="sky"] .proof-grid .ing-card:nth-child(3) { --pc: var(--brand-orange); }
[data-skin="sky"] .ing-card.proof {
  box-shadow: inset 0 3px 0 0 color-mix(in srgb, var(--pc) 70%, transparent), 0 14px 30px -18px color-mix(in srgb, var(--shadow-color) 35%, transparent);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .35s var(--ease);
}
[data-skin="sky"] .ing-card.proof .ghost-num {
  color: color-mix(in srgb, var(--pc) 88%, transparent);
  -webkit-text-stroke: 0;
}
[data-skin="sky"] .ing-card.proof .kchip {
  background: color-mix(in srgb, var(--pc) 16%, var(--paper));
  color: color-mix(in srgb, var(--pc) 72%, var(--ink));
}
[data-skin="sky"] .ing-card.proof:hover {
  transform: translateY(-6px);
  background: color-mix(in srgb, var(--pc) 9%, var(--paper));
  box-shadow: inset 0 3px 0 0 var(--pc), 0 28px 52px -22px color-mix(in srgb, var(--pc) 50%, color-mix(in srgb, var(--shadow-color) 50%, transparent));
}

/* The Session Club: black card -> vivid brand-blue duotone over the photo
   (white copy stays, now on colorful blue instead of black) */
[data-skin="sky"] .newsletter {
  background:
    radial-gradient(130% 160% at 85% -20%, rgb(var(--brand-teal-rgb) / .55) 0%, rgb(var(--brand-teal-rgb) / 0) 58%),
    var(--brand-blue-deep);
}
[data-skin="sky"] .newsletter .nl-scrim { background: color-mix(in srgb, var(--brand-blue-deep) 78%, transparent); }

/* ---------------- The Science: bright + funky (client: no dark band here) ----
   Brand blue -> teal wash with the sticker wallpaper and a drifting cloud;
   ink copy on frosted white cards keeps everything AA-readable. */
[data-skin="sky"] .anatomy.dark,
[data-skin="sky"] .anatomy {
  background: linear-gradient(165deg, var(--brand-blue) 0%, var(--sky-mid) 62%, var(--sky-deep) 100%);
}
[data-skin="sky"] .anatomy .anatomy-pin::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url("/design/vibe/sticker-tile.svg") 0 0 / clamp(440px, 56vw, 760px) auto;
  opacity: .16;
}
[data-skin="sky"] .anatomy .anatomy-pin > .wrap { position: relative; z-index: 1; }
[data-skin="sky"] .anatomy-copy .h2 { color: var(--ink); }
[data-skin="sky"] .anatomy .eyebrow {
  background: var(--paper); color: var(--ink);
  padding: .35em .9em; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--shadow-color) 38%, transparent);
}
[data-skin="sky"] .acard {
  background: color-mix(in srgb, var(--glass-color) 86%, transparent); border-color: color-mix(in srgb, var(--glass-color) 95%, transparent);
  color: var(--ink); backdrop-filter: blur(6px);
  box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--shadow-color) 35%, transparent);
}
/* touch: a backdrop-filter inside the pinned, scroll-scrubbed science section
   re-samples the blurred region every scroll frame — drop it on phones and use
   a more opaque card instead (no visible difference, big scroll win) */
@media (pointer: coarse) {
  [data-skin="sky"] .acard { backdrop-filter: none; background: color-mix(in srgb, var(--glass-color) 94%, transparent); }
}
[data-skin="sky"] .acard :is(h3, h4) { color: var(--ink); }
[data-skin="sky"] .acard p { color: color-mix(in srgb, var(--ink) 62%, transparent); }
[data-skin="sky"] .acard .ak { color: var(--brand-blue-deep); }
/* the onset-chart card (phase 1) wears the tropical flavor gradient so the
   hero chart pops off the white siblings; its copy + chart flip to white. */
[data-skin="sky"] .acard[data-phase="1"] {
  background: linear-gradient(135deg, var(--c-purple), var(--cloud-pink) 38%, var(--cloud-orange) 72%, var(--peach));
  border-color: transparent; color: var(--text-light);
  box-shadow: 0 18px 38px -18px color-mix(in srgb, var(--c-purple) 50%, transparent);
}
[data-skin="sky"] .acard[data-phase="1"] :is(h3, h4) { color: var(--text-light); }
[data-skin="sky"] .acard[data-phase="1"] p { color: color-mix(in srgb, var(--glass-color) 90%, transparent); }
[data-skin="sky"] .acard[data-phase="1"] .ak { color: var(--text-light); }
/* The card runs magenta -> orange -> yellow, and white measures 1.84:1 against
   that yellow end — the KSHN line's tail, which is exactly the mellow-down half
   of the curve, faded into the card. A dark halo carries it across all three
   stops without giving up the white line. */
[data-skin="sky"] .acard[data-phase="1"] .onset-chart text {
  fill: var(--text-light); paint-order: stroke fill;
  stroke: color-mix(in srgb, var(--plum-shadow) 55%, transparent); stroke-width: 2.5px; stroke-linejoin: round;
}
[data-skin="sky"] .acard[data-phase="1"] .onset-chart .oc-kshn {
  stroke: var(--text-light); filter: drop-shadow(0 1px 2.5px color-mix(in srgb, var(--plum-shadow) 60%, transparent));
}
[data-skin="sky"] .acard[data-phase="1"] .onset-chart .oc-edible { stroke: color-mix(in srgb, var(--glass-color) 62%, transparent); }
[data-skin="sky"] .acard[data-phase="1"] .onset-chart .oc-dot {
  fill: var(--text-light); filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--plum-shadow) 55%, transparent));
}
[data-skin="sky"] .acard[data-phase="1"] .onset-chart line { stroke: color-mix(in srgb, var(--glass-color) 45%, transparent); }
[data-skin="sky"] .anatomy-glow {
  background: radial-gradient(circle, rgb(var(--glass-color-rgb) / .5), rgb(var(--glass-color-rgb) / .14) 55%, transparent 75%);
}
/* on the bright band the secondary button uses its light-surface (ink) form */
[data-skin="sky"] .anatomy .btn-secondary { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
[data-skin="sky"] .anatomy .btn-secondary:hover { background: var(--ink); color: var(--text-light); }

/* ---------------- Session ticker (marquee): bright brand blue ---------------- */
[data-skin="sky"] .marquee { background: var(--brand-blue); color: var(--ink); }
[data-skin="sky"] .marquee::before {
  background: linear-gradient(90deg, var(--brand-orange), var(--peach) 45%, var(--c-magenta));
}
/* ---------------- Footer: bright sky, no black (client directive) ----------
   The footer is injected outside <main>, so everything gates on body:has().
   Teal -> blue wash, ink copy, the full-color logo, a white newsletter card,
   and two clouds drifting through. */
body:has(main[data-skin="sky"]) .site-footer {
  /* colourful like the body: starts at the flow's END blue (#16ace3) so it joins
     the page with no seam, then flows back through the brand teal — same light
     teal<->blue palette as the rest of the page, ink copy on top */
  background: linear-gradient(180deg, var(--bg-footer) 0%, var(--sky-mid) 55%, var(--sky-light) 100%);
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  position: relative; overflow: hidden;
}
body:has(main[data-skin="sky"]) .site-footer::before,
body:has(main[data-skin="sky"]) .site-footer::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
  aspect-ratio: 54/25; opacity: .45;
}
body:has(main[data-skin="sky"]) .site-footer::before { width: clamp(150px, 17vw, 260px); top: 10%; }
body:has(main[data-skin="sky"]) .site-footer::after { width: clamp(110px, 12vw, 190px); bottom: 12%; opacity: .35; }
body:has(main[data-skin="sky"]) .site-footer > .wrap { position: relative; z-index: 1; }
body:has(main[data-skin="sky"]) .site-footer :is(h5, .fcol-h) { color: var(--ink); }
body:has(main[data-skin="sky"]) .site-footer p { color: color-mix(in srgb, var(--ink) 68%, transparent) !important; }
body:has(main[data-skin="sky"]) .site-footer a:hover { color: var(--ink); }
body:has(main[data-skin="sky"]) .site-footer .footer-compliance { color: color-mix(in srgb, var(--ink) 68%, transparent); }
body:has(main[data-skin="sky"]) .site-footer .fc-health,
body:has(main[data-skin="sky"]) .site-footer .fc-health b { color: var(--ink); }
body:has(main[data-skin="sky"]) .site-footer .fc-licensee { color: color-mix(in srgb, var(--ink) 55%, transparent); }
/* the logo keeps its full brand colors on the bright footer */
body:has(main[data-skin="sky"]) .site-footer .logo.on-dark .logo-img { filter: none; }
body:has(main[data-skin="sky"]) .site-footer .logo.on-dark .word { color: var(--ink); }
body:has(main[data-skin="sky"]) .site-footer .socials a {
  color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--shadow-color) 35%, transparent);
}
body:has(main[data-skin="sky"]) .site-footer .socials a:hover { color: var(--text-light); box-shadow: none; }
body:has(main[data-skin="sky"]) .site-footer .footer-bottom {
  border-top-color: color-mix(in srgb, var(--ink) 18%, transparent); color: color-mix(in srgb, var(--ink) 62%, transparent);
}
/* the Stay-in-the-loop mini card goes frosted white with ink copy */
body:has(main[data-skin="sky"]) .site-footer .newsletter {
  background: color-mix(in srgb, var(--glass-color) 92%, transparent); color: var(--ink);
  box-shadow: 0 16px 34px -22px color-mix(in srgb, var(--shadow-color) 45%, transparent);
}
body:has(main[data-skin="sky"]) .site-footer .newsletter h5 { color: var(--ink); }
body:has(main[data-skin="sky"]) .site-footer .newsletter .ok { color: var(--ink); }
body:has(main[data-skin="sky"]) .site-footer .newsletter .nl-tag { color: color-mix(in srgb, var(--ink) 60%, transparent); opacity: 1; }
body:has(main[data-skin="sky"]) .site-footer .newsletter .nl-form .input {
  box-shadow: inset 0 0 0 1.5px var(--line);
}
body:has(main[data-skin="sky"]) .site-footer .newsletter [data-fail] { color: var(--crimson) !important; }

/* ---------------- Interior page heroes: same sky as home ----------------
   The interior ".band" heroes were night-teal with a sunset glow — they now
   match the home hero: light sky, ink type, a cloud adrift. */
[data-skin="sky"] .band.sky-band,
[data-skin="sky"] .band.sunset-band { background: var(--sky-grad-v); }
[data-skin="sky"] .band .display,
[data-skin="sky"] .band .h1 { color: var(--ink); }
/* the flavor hero stays a DARK scrimmed gradient — its heading is white */
[data-skin="sky"] .band.flavor-band .h1 { color: var(--text-light); }
[data-skin="sky"] .band .lead { color: color-mix(in srgb, var(--ink) 86%, var(--text-light)); }

[data-skin="sky"] .band .eyebrow {
  background: var(--paper); color: var(--ink) !important; /* about's eyebrow is inline-colored #fff */
  padding: .35em .9em; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--shadow-color) 38%, transparent);
}
[data-skin="sky"] .band > .wrap { position: relative; z-index: 1; }
[data-skin="sky"] .band::before,
[data-skin="sky"] .band::after {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  -webkit-mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; mask: url("/design/vibe/cloud-solid.svg") no-repeat center / contain; background: var(--cloud-c, var(--brand-teal));
}
[data-skin="sky"] .band::before {
  width: clamp(150px, 17vw, 260px); aspect-ratio: 54/25;
  right: 6%; top: 18%; opacity: .8;
}
[data-skin="sky"] .band::after {
  width: clamp(100px, 11vw, 170px); aspect-ratio: 54/25;
  left: -2%; bottom: 10%; opacity: .5;
}
@media (max-width: 720px) {
  [data-skin="sky"] .band::before { top: 6%; width: 130px; opacity: .6; }
  [data-skin="sky"] .band::after { display: none; }
}

/* ---------------- Mobile: fewer floaters, same sky ---------------- */
@media (max-width: 720px) {
  [data-skin="sky"] .hero-deco::after,
  [data-skin="sky"] .hero-stage3::before { display: none; }
  [data-skin="sky"] .states-band::before { opacity: .38; }
  /* smaller, fainter drifters on small screens (they still cross behind copy) */
  [data-skin="sky"] .hero-sky::before { top: 1.5%; width: 150px; opacity: .55; }
  [data-skin="sky"] .hero-sky::after { top: 30%; width: 110px; opacity: .4; }
}

/* ============================================================
   Seamless flow (client: no white, no blocky seams, colour everywhere)
   Any page tagged <main data-flow> rides ONE continuous brand gradient (defined
   at the top of this file); every section is cleared so the colour flows with
   no per-section seams and no white/near-white blocks. Cards, the newsletter
   panel and the marquee keep their own surfaces on top. The flavor-detail hero
   (.flavor-band) and the blacked-out drop teaser (.drop006) keep their dark
   scrim. Home / About / Pouches / News / Locations / Contact are tagged.
   Placed last so it wins by source order over the per-section rules above.
   ============================================================ */
/* The sky skin lets the page-level wash show through every section so the whole
   page reads as one canvas. The Pouching-101 panels used to opt out for their
   own deeper ground; the brief is now a single flat #13ace3 across the page and
   its sections, so they ride the wash like everything else. That costs contrast
   — white on #13ace3 is 2.61:1, where the old #0f7ba9 ground gave 4.74:1. */
[data-flow][data-skin="sky"] section:not(.flavor-band):not(.drop006),
[data-flow] .hero-sky,
[data-flow] .band:not(.flavor-band),
[data-flow] .anatomy { background: transparent !important; }
/* the /pouches flavor-hero wash normally fades to near-white paper, which reads
   as a separate block on the blue flow. On a flow page melt it into the gradient:
   just a soft flavor glow, no white — so the hero and the sections below are one
   seamless field of colour. */
[data-flow] .flavor-hero .fh-wash {
  background: radial-gradient(62% 56% at 50% 40%, color-mix(in srgb, var(--f2, var(--brand-teal)) 30%, transparent) 0%,
    color-mix(in srgb, var(--f4, var(--brand-blue)) 14%, transparent) 46%, transparent 72%) !important; }
/* muted/near-white copy on the flow darkens to stay AA-readable on the blue.
   rgba ink reads on both the blue flow and any white cards it also sits on. */
[data-flow] .lead,
[data-flow] section[data-screen-label="How it works"] .step p,
[data-flow] .states-band .states-foot { color: var(--ink); }
[data-flow] .muted,
[data-flow] .gal-cap,
[data-flow] .loc-foot { color: color-mix(in srgb, var(--ink) 72%, transparent); }

/* ============================================================
   ABOUT — all-white copy, per the brand direction.
   The sky-skin rules above set near-black on several of these and this file
   loads last, so the override is deliberate rather than a specificity race.
   Contrast trade to be aware of: white on the page's flat #13ace3 measures
   2.61:1, where the near-black it replaces measured about 8:1.
   ============================================================ */
/* The [data-skin="sky"] .dark rules above already force var(--ink) !important
   at (0,3,0); adding the skin attribute here lifts this to (0,3,1) so it wins
   on specificity rather than on source order alone. */
main[data-about][data-skin="sky"] :is(.display, .h1, .h2, .h3, h1, h2, h3, h4, h5,
  .lead, p, li, figcaption, .yr, small, b, em, strong) { color: var(--text-light) !important; }
/* the skin turns eyebrows into a white pill with dark ink — on an all-white
   page that pill is the one dark thing left, so drop it and let the label go
   white with the rest */
main[data-about][data-skin="sky"] .eyebrow {
  background: none !important; color: var(--text-light) !important;
  padding: 0 !important; box-shadow: none !important;
}
/* Cards keep their own ink. The sky skin gives .ing-card and the value tiles a
   WHITE ground, so the blanket rule above turned their copy white-on-white and
   the three proof cards and the 01/02/03 tiles went blank. */
main[data-about][data-skin="sky"] :is(.ing-card, .tile, .value-tile, .value-folio, .aj-lane)
  :is(h1, h2, h3, h4, h5, p, li, small, b, em, strong, .lead, .kchip) { color: var(--ink) !important; }
main[data-about][data-skin="sky"] :is(.ing-card, .tile, .value-tile, .aj-lane) { color: var(--ink) !important; }
/* the journey's lanes are white cards; their node labels and notes keep their
   own greys rather than going white with the rest of the page */
main[data-about][data-skin="sky"] .aj-lane :is(.aj-node, .aj-note, .aj-sub) { color: var(--ink-soft) !important; }
main[data-about][data-skin="sky"] .aj-lane .aj-meta > b { color: var(--ink) !important; }
/* the photo captions sit on a near-white pill over the image */
main[data-about][data-skin="sky"] .life-card figcaption { color: var(--ink) !important; }
