/* ===== Vibrant turquoise-led tokens ===== */
:root {
  --bg: #f5f4ec;
  --bg-alt: #ecebe1;
  --paper: #fbfaf3;
  --ink: #0e1f30;              /* deep navy ink */
  --ink-2: #1d3146;
  --ink-mute: #5b6878;
  --line: #d6d4c5;
  --line-strong: #939a89;
  --cream: #f5f4ec;

  /* Vibrant accent palette */
  --turquoise: #4FBCD4;        /* primary brand accent */
  --turquoise-deep: #2A93B0;
  --turquoise-light: #B7E3ED;
  --coral: #E89A5C;            /* secondary */
  --coral-deep: #C77442;
  --coral-light: #F5C39A;
  --dusty-blue: #7A9AB2;
  --mint: #A8D5C0;
  --lavender: #B5A8D4;
  --warm-yellow: #E8C56C;

  --accent: var(--turquoise);
  --green: var(--turquoise-deep);

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --f-display: 'Fraunces', 'Tiempos Headline', 'Times New Roman', serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

sup { font-size: 0.5em; vertical-align: super; line-height: 0; }

/* ===== Universal section-title reveal — clean mask + rise ===== */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  padding-bottom: 0.12em;
}
.word__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.05s cubic-bezier(.22,.8,.18,1);
  will-change: transform;
}
.title-in .word__inner {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .word__inner {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Animated fractal noise (delv.tools formula) =====
   Apply by adding .noise-overlay class to any section. */
.noise-overlay { position: relative; overflow: hidden; }
.noise-overlay::before {
  content: "";
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  animation: noiseShift 0.5s steps(3, end) infinite;
  mix-blend-mode: overlay;
}
.noise-overlay > * { position: relative; z-index: 2; }
@keyframes noiseShift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-5%, -5%); }
  66%  { transform: translate(5%, 5%); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .noise-overlay::before { animation: none; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  cursor: pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #0c1c08; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 15px; }

/* Arrow pill button - dark capsule with a contrasting arrow disc on the right */
.btn-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 6px 0 26px; height: 52px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border: 0.75px solid transparent;
  transition: background .25s, color .25s, transform .25s;
  cursor: pointer;
}
.btn-arrow:hover { transform: translateY(-2px); }
.btn-arrow__circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--ink);
  transition: transform .35s cubic-bezier(.22,.8,.18,1);
}
.btn-arrow:hover .btn-arrow__circle { transform: translateX(2px) rotate(-12deg); }

/* ===== Utility bar - solid turquoise ===== */
.utility-bar {
  position: relative;
  z-index: 55;
  background: var(--turquoise);
  color: #fff;
  font-size: 13px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.utility-bar__msg {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.utility-bar__msg .arr { display: inline-block; transition: transform .3s cubic-bezier(.22,.8,.18,1); font-weight: 400; }
.utility-bar__msg:hover .arr { transform: translateX(6px); }

/* ===== Nav - split glassmorphic pills ===== */
.nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 60;
  padding: 16px var(--gutter);
  pointer-events: none;
}
.nav__shell {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  /* 1fr auto 1fr: left + right share equal flexible space so the centre
     (menu links) sits in the true horizontal centre of the shell, not
     biased by whichever segment is wider. */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  transition: max-width .7s cubic-bezier(.22,.8,.18,1);
}

/* Unified lozenge background (at rest) */
.nav__bg {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(245,244,236,0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
  transform-origin: center center;
  transition:
    opacity .45s cubic-bezier(.65,.05,.36,1) .35s,
    transform .55s cubic-bezier(.34,1.25,.64,1) .35s,
    border-color .45s ease .35s;
  z-index: 0;
  pointer-events: none;
}

/* Segments */
.nav__seg {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 0.5px solid transparent;
  box-shadow: none;
  z-index: 2;
  transform-origin: center center;
  transition:
    background .45s cubic-bezier(.22,.8,.18,1) .15s,
    border-color .45s cubic-bezier(.22,.8,.18,1) .15s,
    transform .55s cubic-bezier(.34,1.25,.64,1) .15s,
    padding .45s cubic-bezier(.22,.8,.18,1) .15s;
}
.nav__seg--left  { justify-self: start; }
.nav__seg--right { justify-self: end; }

.nav__logo {
  display: inline-flex; align-items: center;
  height: 36px;
  transition: height .5s cubic-bezier(.22,.8,.18,1);
}
.nav__logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: filter .4s ease;
}
/* When the nav is over a dark section, knock the logo to white */
.nav--on-dark .nav__logo img {
  filter: brightness(0) invert(1);
}

/* Menu icon - hidden at rest, draws in on scroll, morphs to X when open */
.nav__menu {
  width: 0;
  height: 22px;
  border: 0; background: transparent; padding: 0;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition:
    width .35s cubic-bezier(.22,.8,.18,1) 0s,
    opacity .22s ease 0s;
}
.nav__menu span {
  display: block;
  width: 0;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center center;
  transition:
    width .3s cubic-bezier(.22,.8,.18,1),
    transform .35s cubic-bezier(.22,.8,.18,1),
    opacity .22s ease,
    background .25s ease;
}
.nav__menu:hover span { background: var(--turquoise-deep); }

.nav__links {
  display: flex; gap: 32px; justify-self: center; font-size: 14px;
  /* Reverse-direction stage: links drop back LAST */
  transition:
    opacity .35s ease .55s,
    transform .45s cubic-bezier(.22,.8,.18,1) .55s;
}
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.25px; background: var(--turquoise-deep);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .35s cubic-bezier(.22,.8,.18,1);
}
.nav__links a:hover { color: var(--turquoise-deep); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }

.nav__signin { font-size: 14px; padding: 6px 4px; }
.nav__signin:hover { opacity: 0.7; }

/* Nav actions — icon + label pills for My profile / My basket. Lucide icons. */
.nav__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.nav__action:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.7);
}
.nav__action-icon { flex: 0 0 16px; }
.nav__action--basket {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  padding-right: 18px;
}
.nav__action--basket:hover {
  background: #1c2e44;
  border-color: transparent;
  transform: translateY(-1px);
}
.nav__action-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 2px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
/* Dark-section nav variant: actions flip light */
.nav--on-dark .nav__action { color: var(--cream); }
.nav--on-dark .nav__action:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }
.nav--on-dark .nav__action--basket { background: var(--cream); color: var(--ink); }
.nav--on-dark .nav__action--basket .nav__action-count { background: var(--ink); color: var(--cream); }

/* ===== Nav drawer - left-side glass menu ===== */
.nav__drawer {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  padding: 0;
  border-radius: 22px;
  /* Match the nav pill's glass exactly */
  background: rgba(245, 244, 236, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 0.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 60px -32px rgba(14, 31, 48, 0.28);
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transform-origin: top left;
  transition:
    opacity .35s cubic-bezier(.22,.8,.18,1),
    transform .45s cubic-bezier(.22,.8,.18,1);
  z-index: 5;
}
.nav__drawer[hidden] { display: none; }
.nav.is-menu-open .nav__drawer {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nav__drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
}
.nav__drawer-links a {
  display: block;
  padding: 12px 18px;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--ink);
  border-radius: 12px;
  transition: background .25s ease, color .25s ease, padding .35s cubic-bezier(.22,.8,.18,1);
}
.nav__drawer-links a:hover {
  background: rgba(79, 188, 212, 0.12);
  color: var(--turquoise-deep);
  padding-left: 22px;
}
.nav__drawer-footer {
  padding: 12px 22px 18px;
  border-top: 0.5px solid rgba(14, 31, 48, 0.08);
}
.nav__drawer-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--turquoise-deep);
  transition: gap .3s ease;
}
.nav__drawer-sub:hover { gap: 12px; }

/* Hamburger morphs into close icon when menu is open */
.nav.is-menu-open .nav__menu span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav.is-menu-open .nav__menu span:nth-child(2) {
  opacity: 0;
}
.nav.is-menu-open .nav__menu span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* === SCROLLED STATE - staged split ===
   Trick: delays live on BOTH base and scrolled state so that scroll-down and
   scroll-up each play their cascade in the right order (CSS reads transition
   values from the target state, so each direction uses its own delays). */
.nav--scrolled .nav__shell {
  max-width: calc(var(--maxw) + 60px);
}
/* Stage 1: bg pinches inward + fades */
.nav--scrolled .nav__bg {
  opacity: 0;
  transform: scaleX(0.55) scaleY(0.88);
  border-color: rgba(255,255,255,0);
  transition:
    opacity .42s cubic-bezier(.65,.05,.36,1) .18s,
    transform .6s cubic-bezier(.65,.05,.36,1) .12s,
    border-color .42s ease .18s;
}
/* Stage 0: links lift first */
.nav--scrolled .nav__links {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity .28s ease 0s,
    transform .4s cubic-bezier(.22,.8,.18,1) 0s;
}
/* Stage 2: segments inherit their own glass pills with a small grow */
.nav--scrolled .nav__seg {
  background: rgba(245,244,236,0.52);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: none;
  padding: 8px 16px;
  transition:
    background .52s cubic-bezier(.22,.8,.18,1) .32s,
    border-color .52s cubic-bezier(.22,.8,.18,1) .32s,
    transform .72s cubic-bezier(.34,1.25,.64,1) .3s,
    padding .52s cubic-bezier(.22,.8,.18,1) .32s;
}
.nav--scrolled .nav__logo { height: 30px; }

/* Stage 3: menu icon draws in (width + line draws) */
.nav--scrolled .nav__menu { width: 24px; opacity: 1; pointer-events: auto; }
.nav--scrolled .nav__menu span { width: 22px; }
/* Per-line WIDTH delay only on draw-in (forward). transform/opacity delays stay 0. */
.nav--scrolled .nav__menu span:nth-child(1) { transition-delay: .60s, 0s, 0s, 0s; }
.nav--scrolled .nav__menu span:nth-child(2) { transition-delay: .68s, 0s, 0s, 0s; }
.nav--scrolled .nav__menu span:nth-child(3) { transition-delay: .76s, 0s, 0s, 0s; }
/* When menu opens, kill all per-line delays so the X morph snaps in */
.nav.is-menu-open .nav__menu span { transition-delay: 0s, 0s, 0s, 0s; }

.nav--scrolled .nav__seg--right .btn--sm { height: 34px; padding: 0 16px; font-size: 12.5px; }

/* Tuck - slight outward shift, plus a tiny vertical pop so the segments feel like they "land" */
.nav--scrolled .nav__seg--left  { transform: translateX(-6px) translateY(0); }
.nav--scrolled .nav__seg--right { transform: translateX(6px) translateY(0); }

/* === Initial (un-scrolled / reverse) timing tweaks ===
   On reverse (scroll back to top), play stages in inverse order so it feels symmetrical. */
.nav__shell:not(.nav--bypass) .nav__seg {
  /* fallback inherited above */
}


/* ===== HERO - clean static rebuild (site-4) =====
   ------------------------------------------------
   One section, one layout. No video, no mode-toggle, no absolute-positioning
   hacks. A simple 2-column grid: copy on the left, pack image on the right.
   Per-slide gradient lives on `.hero` itself via the [data-active] attribute. */

.hero {
  position: relative;
  z-index: 1;
  margin-top: -130px;            /* pull up under the utility bar + nav */
  height: 100vh;                 /* fixed - pager must always stay on-screen */
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  perspective: 1600px;           /* enables 3D tilt on the pack media on scroll */
  /* Hero lags behind scroll - content below rises up over it */
  transform: translateY(var(--hero-parallax-y, 0));
  will-change: transform;
  /* per-slide gradient swapped via [data-active] below */
  transition: background 0.6s cubic-bezier(.22,.8,.18,1);
}

/* The section immediately after the hero sits above it so the parallax lag
   reads as content "coming up over" the hero rather than appearing below it. */
.intro-banner {
  position: relative;
  z-index: 2;
}

.hero[data-active="1"] {
  background:
    /* Airy highlight top-left - lifts the eye */
    radial-gradient(ellipse 55% 40% at 8% 12%, rgba(255, 255, 255, 0.22), transparent 60%),
    /* Soft mist mid-frame - atmospheric depth */
    radial-gradient(ellipse 60% 45% at 55% 55%, rgba(150, 170, 235, 0.16), transparent 65%),
    /* TURQUOISE temperature shift - subtle cyan glow upper-right, ties pack + bg */
    radial-gradient(ellipse 50% 35% at 78% 18%, rgba(79, 188, 212, 0.32), transparent 65%),
    /* Cool teal pool low-left - depth + temperature variation */
    radial-gradient(ellipse 45% 40% at 12% 65%, rgba(46, 130, 180, 0.28), transparent 70%),
    /* Aqua wash mid-right - hint of the SlimBiome adjacency */
    radial-gradient(ellipse 38% 30% at 88% 50%, rgba(120, 200, 220, 0.22), transparent 70%),
    /* Bright accent blobs (existing) */
    radial-gradient(circle at 78% 28%, rgba(125, 145, 240, 0.55), transparent 44%),
    radial-gradient(circle at 20% 80%, rgba(175, 140, 240, 0.48), transparent 46%),
    radial-gradient(circle at 90% 90%, rgba(232, 155, 215, 0.32), transparent 40%),
    /* Deep shadow corner - anchors composition */
    radial-gradient(ellipse 50% 40% at 95% 100%, rgba(28, 38, 100, 0.32), transparent 70%),
    /* Cool indigo bloom lower-mid for grounding */
    radial-gradient(ellipse 70% 50% at 40% 100%, rgba(60, 75, 160, 0.22), transparent 70%),
    /* Base gradient */
    linear-gradient(160deg, #BAB4EA 0%, #5C66BE 100%);
  color: #ffffff;
}
.hero[data-active="2"] {
  background:
    /* Airy highlight top-left */
    radial-gradient(ellipse 55% 40% at 8% 12%, rgba(255, 255, 255, 0.22), transparent 60%),
    /* Mid-frame mist */
    radial-gradient(ellipse 60% 45% at 55% 55%, rgba(155, 220, 200, 0.18), transparent 65%),
    /* TURQUOISE bloom upper-right - bridges to SlimBiome pack's teal */
    radial-gradient(ellipse 50% 35% at 78% 18%, rgba(79, 188, 212, 0.36), transparent 65%),
    /* Cool aqua pool low-left for depth */
    radial-gradient(ellipse 45% 40% at 12% 65%, rgba(40, 145, 165, 0.30), transparent 70%),
    /* Soft sage hint mid-right */
    radial-gradient(ellipse 38% 30% at 88% 50%, rgba(160, 220, 200, 0.24), transparent 70%),
    /* Existing accent blobs - pulled back slightly so the new layers can sing */
    radial-gradient(circle at 78% 28%, rgba(135, 220, 195, 0.45), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(180, 220, 175, 0.32), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(95, 195, 175, 0.28), transparent 38%),
    /* Deep emerald vignette bottom-right */
    radial-gradient(ellipse 50% 40% at 95% 100%, rgba(20, 70, 60, 0.32), transparent 70%),
    /* Cool teal bloom lower-mid grounds the composition */
    radial-gradient(ellipse 70% 50% at 40% 100%, rgba(35, 120, 110, 0.22), transparent 70%),
    /* Base */
    linear-gradient(160deg, #B5DCC8 0%, #3FA088 100%);
  color: #ffffff;
}
.hero[data-active="3"] {
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 220, 130, 0.55), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(255, 195, 130, 0.45), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 175, 100, 0.35), transparent 38%),
    linear-gradient(160deg, #F4E5A8 0%, #E8B85C 100%);
  color: var(--ink);
}
.hero[data-active="4"] {
  background:
    radial-gradient(circle at 78% 28%, rgba(120, 145, 220, 0.55), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(155, 130, 220, 0.40), transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(80, 100, 180, 0.35), transparent 38%),
    linear-gradient(160deg, #2B3F66 0%, #0e1f30 100%);
  color: var(--cream);
}

/* Animated fractal noise overlay — adds subtle organic texture over the
   gradient. Sits between the bg and content (::before is painted before
   children in the default stacking order). */
.hero::before {
  content: '';
  position: absolute;
  inset: -8%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.10;
  mix-blend-mode: overlay;
  animation: hero-noise 0.5s steps(4, end) infinite;
  pointer-events: none;
  z-index: 0;
}
/* On the bright periwinkle slide the noise pops a bit too much — soften it */
.hero[data-active="1"]::before { opacity: 0.08; }
/* Force the inner column above the noise */
.hero__inner { position: relative; z-index: 1; }

@keyframes hero-noise {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-8px, 4px); }
  50%  { transform: translate(6px, -5px); }
  75%  { transform: translate(-3px, -6px); }
  100% { transform: translate(4px, 5px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(135px, 14vh, 165px) var(--gutter) clamp(85px, 10vh, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  height: 100%;
}

/* --- LEFT: copy stack --- */
.hero__copy { max-width: 760px; }

.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.hero__stars   { font-size: 14px; letter-spacing: 0.18em; color: currentColor; }
.hero__rating  { font-size: 13px; letter-spacing: 0.01em; font-weight: 500; color: currentColor; }
.hero__rating span { opacity: 0.78; font-weight: 400; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: currentColor;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: #f3c896;     /* warm peach accent - works against jade slide 2 */
}
/* Slide 1: no italics, vibrant Thryve-brand turquoise */
.hero[data-active="1"] .hero__title em {
  font-style: normal;
  color: var(--turquoise);
}
.hero[data-active="3"] .hero__title em { color: #6a4810; }
.hero[data-active="4"] .hero__title em { color: var(--turquoise-light); }

.hero__sub {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  color: currentColor;
  opacity: 0.92;
  margin: 0 0 36px;
  max-width: 540px;
}
.hero__sub b { font-weight: 600; opacity: 1; }

.hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero[data-active="1"] .btn-arrow,
.hero[data-active="2"] .btn-arrow {
  background: var(--cream);
  color: var(--ink);
  border-color: transparent;
}
.hero[data-active="1"] .btn-arrow__circle {
  background: var(--turquoise);   /* matches the Gut Health accent */
  color: var(--ink);
}
.hero[data-active="2"] .btn-arrow__circle {
  background: var(--ink);
  color: var(--cream);
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: currentColor;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.hero__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.22,.8,.18,1);
}
.hero__link:hover::after { transform: scaleX(1); transform-origin: left; }
.hero__link span { transition: transform .25s; display: inline-block; }
.hero__link:hover span { transform: translateX(4px); }

/* --- RIGHT: media (pack shots stacked, one shown per slide) --- */
.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  /* Scroll-driven tilt — pivots from the bottom so the top of the pack
     "lays back" as you scroll down and returns as you scroll up. JS sets
     --scroll-tilt in degrees. */
  transform: rotateX(var(--scroll-tilt, 0deg));
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.08s linear;
}

.hero__pack {
  display: none;
  width: 194%;
  height: auto;
  max-width: 194%;
  max-height: 92vh;     /* pack must fit inside hero (100vh) minus padding so the pager stays visible */
  margin-left: -30%;    /* shift pack right within the right column */
  margin-right: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 50px rgba(14, 31, 48, 0.28));
}
.hero[data-active="1"] .hero__pack[data-slide="1"],
.hero[data-active="2"] .hero__pack[data-slide="2"],
.hero[data-active="3"] .hero__pack[data-slide="3"],
.hero[data-active="4"] .hero__pack[data-slide="4"] {
  display: block;
  will-change: transform, filter, opacity;
  transform-origin: 50% 90%;       /* pivot near the bottom so the tilt feels like a placement, not a spin */
  animation:
    hero-pack-enter .95s cubic-bezier(.22, 1, .26, 1) both,
    hero-pack-float 7s ease-in-out .95s infinite;
}

/* Snappy entrance: pack rises with a slight tilt, shadow drops in, settles. */
@keyframes hero-pack-enter {
  0% {
    opacity: 0;
    transform: translateY(90px) rotateZ(-4deg) scale(0.95);
    filter: drop-shadow(0 8px 16px rgba(14, 31, 48, 0.06));
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateZ(0) scale(1);
    filter: drop-shadow(0 30px 50px rgba(14, 31, 48, 0.28));
  }
}

/* Ambient float: super-subtle continuous breathing once the pack has landed.
   Uses the `translate` property (not `transform`) so it composes cleanly. */
@keyframes hero-pack-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero[data-active="1"] .hero__pack[data-slide="1"],
  .hero[data-active="2"] .hero__pack[data-slide="2"],
  .hero[data-active="3"] .hero__pack[data-slide="3"],
  .hero[data-active="4"] .hero__pack[data-slide="4"] {
    animation: hero-pack-enter .4s ease-out both;
  }
}

/* --- SLIDE TRANSITION WAVE
   A skewed, soft-blurred colour brushstroke that sweeps diagonally across the
   hero whenever a new slide becomes active. JS sets --wave-from / --wave-to to
   the incoming slide's gradient colours, then adds .is-wiping for one sweep. */
.hero__wave {
  position: absolute;
  inset: -15% -20%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--wave-from, rgba(255,255,255,0.4)) 18%,
    var(--wave-to, rgba(255,255,255,0.4)) 82%,
    transparent 100%
  );
  filter: blur(22px) saturate(120%);
  transform: translate3d(-135%, 0, 0) skewX(-14deg) scaleY(1.45);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.hero.is-wiping .hero__wave {
  animation: hero-wave-sweep 1s cubic-bezier(.55, 0, .25, 1) forwards;
}
@keyframes hero-wave-sweep {
  0%   { opacity: 0; transform: translate3d(-135%, 0, 0) skewX(-14deg) scaleY(1.45); }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(135%, 0, 0) skewX(-14deg) scaleY(1.45); }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-wiping .hero__wave { animation: none; }
}

/* --- PAGER --- */
.hero__pager {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 4vh, 48px);
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-end;
  z-index: 4;       /* above the wave so the pager stays visible during a sweep */
}
.hero__pager-btn {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  font: inherit;
  color: currentColor;
  flex: 1;
  text-align: left;
  opacity: 0.55;
  transition: opacity .35s ease;
}
.hero__pager-btn:hover     { opacity: 0.85; }
.hero__pager-btn.is-active { opacity: 1; }
.hero__pager-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero__pager-num {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.22em;
}
.hero__pager-name {
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  font-family: var(--f-body, inherit);
}
.hero__pager-bar {
  position: relative;
  height: 0.75px;
  background: currentColor;
  opacity: 0.22;
  overflow: hidden;
  width: 100%;
}
.hero__pager-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: currentColor;
  opacity: 1;
  transition: none;
}
.hero__pager-btn.is-active .hero__pager-fill {
  width: 100%;
  transition: width var(--pager-duration, 6s) linear;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 56px);
    padding-bottom: clamp(140px, 16vh, 180px);
  }
  .hero__media { min-height: 40vh; }
  .hero__pack { max-height: 95vh; }
}


/* ===== Intro banner - stacked credential rows ===== */
.intro-banner {
  background:
    radial-gradient(ellipse 60% 50% at 10% 15%, rgba(79, 188, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(181, 168, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 65% 55% at 80% 90%, rgba(79, 188, 212, 0.15), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 85%, rgba(232, 154, 92, 0.10), transparent 55%),
    var(--ink);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0;
}
.intro-banner__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.intro-banner__head {
  text-align: center;
  margin: 0 auto clamp(40px, 5vw, 70px);
  max-width: 760px;
}
.intro-banner__head .eyebrow {
  color: var(--turquoise);
  margin-bottom: 18px;
}
.intro-banner__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0;
}
.intro-banner__title em {
  font-style: normal; font-weight: 400;
  color: var(--turquoise);
}

/* === Credential cards - immersive 2x2 grid === */
.credentials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 28px);
  perspective: 1400px;
}

.credential {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(32px, 3.4vw, 52px);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: default;
  isolation: isolate;
  /* Pointer-tilt: JS writes the rotation via CSS vars; we keep transition smooth */
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition:
    transform .45s cubic-bezier(.22,.8,.18,1),
    background .45s ease,
    border-color .45s ease,
    box-shadow .45s ease;
}

/* Soft turquoise glow inside each card on hover - a contained radial that
   blooms behind the content. Pseudo so we can fade it independently. */
.credential::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 0%, rgba(79, 188, 212, 0.22), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  z-index: -1;
}

.credential:hover {
  background: linear-gradient(150deg, rgba(79, 188, 212, 0.08) 0%, rgba(255,255,255,0.02) 100%);
  border-color: rgba(79, 188, 212, 0.32);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(79, 188, 212, 0.08);
}
.credential:hover::before { opacity: 1; }

/* Oversized faint number, top-right corner */
.credential__num {
  position: absolute;
  top: clamp(18px, 2vw, 28px);
  right: clamp(22px, 2.2vw, 32px);
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(78px, 9vw, 140px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--cream);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  transition:
    opacity .55s cubic-bezier(.22,.8,.18,1),
    color .55s ease,
    transform .65s cubic-bezier(.22,.8,.18,1);
}
.credential:hover .credential__num {
  opacity: 0.22;
  color: var(--turquoise);
  transform: translate(-4px, 4px) scale(1.04);
}

/* Icon - prominent, stroke-drawn on entry */
.credential__icon {
  width: clamp(22px, 2vw, 28px);
  height: clamp(22px, 2vw, 28px);
  stroke: var(--turquoise-light);
  fill: none;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  order: -1;
  opacity: 0.85;
  transition:
    opacity .5s ease,
    stroke .5s ease,
    transform .6s cubic-bezier(.22,.8,.18,1);
}
.credential__icon path {
  /* Stroke draws in on entry. dasharray 200 covers our SVG path lengths. */
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.6s cubic-bezier(.22,.8,.18,1);
}
.credential:hover .credential__icon {
  stroke: var(--turquoise);
  opacity: 1;
  transform: rotate(-4deg) scale(1.05);
}

.credential__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}
.credential__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--cream);
  transition: color .4s ease;
  max-width: 18ch;
}
.credential:hover .credential__title { color: var(--turquoise-light); }
.credential__detail {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: rgba(245,244,236,0.72);
  max-width: 38ch;
}

/* === Cinematic entry === */
.credential {
  opacity: 0;
  transform:
    perspective(1000px)
    rotateX(-16deg)
    translateY(80px)
    scale(0.94);
  transform-origin: 50% 100%;
  transition:
    opacity 1.1s cubic-bezier(.22,.8,.18,1),
    transform 1.1s cubic-bezier(.22,.8,.18,1),
    background .45s ease,
    border-color .45s ease,
    box-shadow .45s ease;
}
.intro-banner.is-in .credential {
  opacity: 1;
  transform:
    perspective(1000px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0px))
    scale(1);
  transition:
    opacity .9s cubic-bezier(.22,.8,.18,1),
    transform .9s cubic-bezier(.22,.8,.18,1),
    padding .45s cubic-bezier(.22,.8,.18,1);
}
.intro-banner.is-in .credential:nth-child(1) { transition-delay: 0ms,   0ms,   0ms; }
.intro-banner.is-in .credential:nth-child(2) { transition-delay: 140ms, 140ms, 0ms; }
.intro-banner.is-in .credential:nth-child(3) { transition-delay: 280ms, 280ms, 0ms; }
.intro-banner.is-in .credential:nth-child(4) { transition-delay: 420ms, 420ms, 0ms; }

/* Icon stroke-draws in once the card has settled */
.intro-banner.is-in .credential__icon path { stroke-dashoffset: 0; }
.intro-banner.is-in .credential:nth-child(1) .credential__icon path { transition-delay: 0.5s; }
.intro-banner.is-in .credential:nth-child(2) .credential__icon path { transition-delay: 0.64s; }
.intro-banner.is-in .credential:nth-child(3) .credential__icon path { transition-delay: 0.78s; }
.intro-banner.is-in .credential:nth-child(4) .credential__icon path { transition-delay: 0.92s; }

@media (max-width: 900px) {
  .credentials { grid-template-columns: 1fr; }
  .credential__num { font-size: clamp(60px, 14vw, 100px); }
}

/* ===== Section heads ===== */
.section-title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(36px, 4.4vw, 64px); line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.section-sub {
  font-size: 16px; color: var(--ink-2); max-width: 56ch; margin: 0 0 24px;
}
.link-underline {
  display: inline-block; font-size: 14px; letter-spacing: 0.02em;
  color: var(--turquoise-deep);
  border-bottom: 1px solid var(--turquoise);
  padding-bottom: 3px;
  transition: padding .2s, color .25s;
}
.link-underline:hover { padding-bottom: 5px; color: var(--ink); }
.link-underline--light { border-color: var(--turquoise-light); color: var(--turquoise-light); }
.link-underline--light:hover { color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--turquoise-deep); font-weight: 600;
}

/* ===== Products ===== */
.products { padding: clamp(80px, 10vw, 140px) 0; }
.products__head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); margin-bottom: 60px; }
.products__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.product-card {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(22,46,15,0.04);
  transform-style: preserve-3d;
}
.product-card:hover { box-shadow: 0 26px 50px -28px rgba(22,46,15,0.35); }
.product-card__media {
  aspect-ratio: 1/1;
  display: grid; place-items: center;
  position: relative;
}
.product-card__media img { max-width: 60%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18)); }
/* WellBiome: matches the periwinkle hero gradient */
.product-card__media--violet {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(125, 145, 240, 0.55), transparent 55%),
    radial-gradient(ellipse 55% 45% at 22% 78%, rgba(170, 145, 235, 0.45), transparent 60%),
    linear-gradient(160deg, #BAB4EA 0%, #5C66BE 100%);
}
/* SlimBiome: matches the jade-to-teal hero gradient */
.product-card__media--green {
  background:
    radial-gradient(ellipse 55% 45% at 78% 22%, rgba(79, 188, 212, 0.50), transparent 60%),
    radial-gradient(ellipse 55% 45% at 22% 78%, rgba(155, 215, 195, 0.45), transparent 60%),
    linear-gradient(160deg, #B5DCC8 0%, #3FA088 100%);
}
.product-card__media--sun    { background: linear-gradient(135deg, #F4E5A8, #E8C56C); } /* warm yellow */
.product-card__media--night  { background: linear-gradient(135deg, #C9BFE0, #8E7FBE); } /* lavender */

/* "Scene" variant: the v2 packshots include their own background tint and have
   significant empty/shadow area on the left side of the PNG canvas. We let the
   image fill the card via cover, then bias the object-position right so the
   actual pack visually centres in the card rather than the canvas centre. */
.product-card__media--scene { overflow: hidden; }
.product-card__media--scene img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 62% center;
  filter: none;            /* the PNG already has its own drop shadow baked in */
}
.product-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.badge {
  align-self: flex-start;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  padding: 5px 10px; border-radius: 999px;
  font-weight: 500;
}
.badge--new { background: var(--turquoise); color: var(--ink); }

.product-card__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  color: var(--ink);
}
.product-card__name span {
  display: block;
  font-weight: 300;
  color: var(--ink-2);
  font-size: 0.92em;
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: -2px;
}
.stars {
  color: var(--turquoise-deep);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.product-card__rating-count {
  font-size: 12px;
  color: var(--ink-mute);
}

.product-card__benefits {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card__benefits li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.product-card__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 0.75px;
  background: var(--turquoise-deep);
}
.product-card__benefits li b {
  color: var(--ink);
  font-weight: 500;
}
.product-card__benefits[data-collapsed="true"] li:nth-child(n+3) {
  display: none;
}

.product-card__toggle {
  align-self: flex-start;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--turquoise-deep);
  transition: color .25s ease;
}
.product-card__toggle:hover { color: var(--ink); }
.product-card__toggle:empty { display: none; }

.product-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 0.75px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.product-card__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-card__price-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-card__price-old {
  font-size: 12px;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.product-card__price-discount {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--cream);
}
.product-card__price-now {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}

.product-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  transition: background .25s ease, transform .35s cubic-bezier(.22,.8,.18,1);
}
.product-card__buy:hover {
  background: var(--turquoise-deep);
  transform: translateY(-2px) scale(1.05);
}

/* ===== Bundle - Subscribe ===== */
.bundle {
  padding: clamp(80px, 10vw, 140px) 0;
}
.bundle__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.bundle__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.bundle__head .section-title {
  margin: 0 auto;
  max-width: 22ch;
}
.bundle__accent {
  color: var(--turquoise-deep);
  font-weight: 400;
}

.bundle__card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: stretch;
  background: var(--bg-alt);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  /* Entry state - animates to neutral when .is-in */
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition:
    opacity .9s cubic-bezier(.22,.8,.18,1),
    transform 1.1s cubic-bezier(.22,.8,.18,1);
}
.bundle.is-in .bundle__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Bundle media now holds the pack carousel - see Bundle pack carousel block below */
.bundle__media { overflow: visible; padding: 0; background: transparent; }

/* Title animation is now handled by the universal .word / .title-in system at the top of this file */

/* Benefits - staggered fade + hairline draw */
.bundle__benefits li {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity .6s cubic-bezier(.22,.8,.18,1),
    transform .6s cubic-bezier(.22,.8,.18,1);
}
.bundle.is-in .bundle__benefits li { opacity: 1; transform: translateX(0); }
.bundle.is-in .bundle__benefits li:nth-child(1) { transition-delay: .55s; }
.bundle.is-in .bundle__benefits li:nth-child(2) { transition-delay: .68s; }
.bundle.is-in .bundle__benefits li:nth-child(3) { transition-delay: .81s; }

/* Benefit icon pills - scale-pop entry */
.bundle__benefits li .bundle__benefit-icon {
  transform: scale(0.5);
  opacity: 0;
  transition: transform .55s cubic-bezier(.34,1.4,.64,1), opacity .4s ease;
}
.bundle.is-in .bundle__benefits li .bundle__benefit-icon { transform: scale(1); opacity: 1; }
.bundle.is-in .bundle__benefits li:nth-child(1) .bundle__benefit-icon { transition-delay: .65s; }
.bundle.is-in .bundle__benefits li:nth-child(2) .bundle__benefit-icon { transition-delay: .78s; }
.bundle.is-in .bundle__benefits li:nth-child(3) .bundle__benefit-icon { transition-delay: .91s; }

/* (Old single-image float removed - carousel handles its own motion) */

/* Price fade-in */
.bundle__price,
.bundle__bottom .btn-arrow {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity .6s ease,
    transform .6s cubic-bezier(.22,.8,.18,1);
}
.bundle.is-in .bundle__price { opacity: 1; transform: translateY(0); transition-delay: .9s; }
.bundle.is-in .bundle__bottom .btn-arrow { opacity: 1; transform: translateY(0); transition-delay: 1.0s; }

/* Subscribe arrow chevron - subtle continuous bob while card in view */
@keyframes subscribe-arrow-bob {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}
.bundle.is-in .bundle__bottom .btn-arrow__circle svg {
  animation: subscribe-arrow-bob 2.4s ease-in-out infinite;
}
/* ===== Bundle pack carousel ===== */
.b-car {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  user-select: none;
  /* Entry state - subtle drop-in feel when card scrolls into view */
  box-shadow: 0 30px 60px -30px rgba(14, 31, 48, 0.35);
  touch-action: pan-y;
}
.b-car__track {
  display: flex;
  width: 100%;
  height: 100%;
  /* Use translate3d to GPU-accelerate. JS sets --b-car-x in % units */
  transform: translate3d(var(--b-car-x, 0%), 0, 0);
  /* Snappy ease-out for slide changes. Cleared during drag, restored on release. */
  transition: transform .55s cubic-bezier(.32, .94, .26, 1);
  will-change: transform;
}
.b-car__track.is-dragging { transition: none; }
.b-car__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.b-car__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Pack canvas has empty/shadow padding on the left - bias right so the
     actual pack sits in the visual centre. */
  object-position: 62% center;
  pointer-events: none;
}

/* Per-product backgrounds matching the hero gradients. Add a rule per product. */
.b-car__slide[data-product="wellbiome"] {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(125, 145, 240, 0.55), transparent 55%),
    radial-gradient(ellipse 55% 45% at 22% 78%, rgba(170, 145, 235, 0.45), transparent 60%),
    linear-gradient(160deg, #BAB4EA 0%, #5C66BE 100%);
}
.b-car__slide[data-product="slimbiome"] {
  background:
    radial-gradient(ellipse 55% 45% at 78% 22%, rgba(79, 188, 212, 0.50), transparent 60%),
    radial-gradient(ellipse 55% 45% at 22% 78%, rgba(155, 215, 195, 0.45), transparent 60%),
    linear-gradient(160deg, #B5DCC8 0%, #3FA088 100%);
}
/* Placeholder backgrounds for slides 3 & 4 - update when those products land */
.b-car__slide[data-product="snackbar"] {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(255, 195, 130, 0.55), transparent 55%),
    radial-gradient(ellipse 55% 45% at 22% 78%, rgba(255, 175, 100, 0.40), transparent 60%),
    linear-gradient(160deg, #F4E5A8 0%, #E8B85C 100%);
}
.b-car__slide[data-product="gummies"] {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(120, 145, 220, 0.55), transparent 55%),
    radial-gradient(ellipse 55% 45% at 22% 78%, rgba(155, 130, 220, 0.40), transparent 60%),
    linear-gradient(160deg, #2B3F66 0%, #0e1f30 100%);
}

/* Arrows - subtle glass pills, fade in on hover */
.b-car__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity .3s ease,
    transform .35s cubic-bezier(.34, 1.4, .64, 1),
    background .25s ease;
  z-index: 2;
}
.b-car:hover .b-car__arrow,
.b-car:focus-within .b-car__arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.b-car__arrow:hover { background: rgba(255, 255, 255, 0.35); }
.b-car__arrow--prev { left: 14px; }
.b-car__arrow--next { right: 14px; }

/* Dot indicators - elongated active state for a polished feel */
.b-car__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.b-car__dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background .3s ease, width .3s cubic-bezier(.32, .94, .26, 1);
}
.b-car__dot:hover { background: rgba(255, 255, 255, 0.7); }
.b-car__dot.is-active {
  background: rgba(255, 255, 255, 0.98);
  width: 44px;
}

.bundle__copy {
  display: flex; flex-direction: column;
  padding: clamp(8px, 2vw, 16px) clamp(4px, 1vw, 12px);
}
.bundle__copy-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.bundle__copy-title strong {
  font-weight: 500;
  color: var(--ink);
}
.bundle__copy-sub {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.bundle__separator {
  height: 0.75px;
  background: var(--line);
  margin: clamp(20px, 2.4vw, 28px) 0;
}

.bundle__includes-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}

.bundle__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bundle__benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.bundle__benefit-icon {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--coral-light);
  color: var(--coral-deep);
  display: grid;
  place-items: center;
  transition: transform .35s cubic-bezier(.22,.8,.18,1);
}
.bundle__benefits li:hover .bundle__benefit-icon { transform: scale(1.08) rotate(-4deg); }
.bundle__benefit-icon svg { width: 18px; height: 18px; stroke-width: 1.5; }

.bundle__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
}
.bundle__price-row { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.bundle__price-original {
  font-size: 14px;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.bundle__price-discount {
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
}
.bundle__price-final {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

@media (max-width: 800px) {
  .bundle__card { grid-template-columns: 1fr; }
  .bundle__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bundle__bottom .btn-arrow { align-self: stretch; justify-content: space-between; }
}

/* ===== Science ===== */
.science {
  background: var(--bg-alt);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.science__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.science__head { text-align: center; max-width: 880px; margin: 0 auto 40px; position: relative; }
.science__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 28px; }
.science__title .em { font-style: italic; padding: 0 0.05em; }
.science__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); padding: 10px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.02em;
}
.science__chip-note { color: var(--ink-mute); margin-left: 6px; font-size: 11px; }

.science__visual {
  margin: 50px auto 60px;
  max-width: 1100px;
}
.science__visual img { width: 100%; }

.science__details {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  max-width: 980px; margin: 0 auto;
}
.science__detail { border-top: 1px solid var(--line); padding-top: 24px; }
.science__detail .eyebrow { margin-bottom: 14px; }
.science__detail p { margin: 0; line-height: 1.6; color: var(--ink-2); }

/* ===== Rooted in nature - pin & expand ===== */
.rooted {
  background: var(--bg);
  padding: 0;
}
.rooted__track {
  position: relative;
  /* Card expand + cards-rise animations fit in ~200vh of scroll; pin releases after */
  height: 240vh;
}
.rooted__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main card - starts at the same content gutter as the Subscribe card,
   expands to full bleed as scroll progresses.
   NOTE: no `isolation: isolate` here - it would create a stacking context
   that prevents the sibling satellites' backdrop-filter from sampling the
   video inside this card. */
.rooted__card {
  position: relative;
  /* width = viewport minus the JS-driven horizontal inset; at pad=0 it goes
     full-bleed edge-to-edge */
  width: calc(100% - 2 * var(--rooted-pad, 0px));
  height: calc(100% - 2 * var(--rooted-pad-v, 80px));
  border-radius: var(--rooted-radius, 28px);
  overflow: clip;
  background: var(--ink);
  color: var(--cream);
  transition:
    width .12s linear,
    height .12s linear,
    border-radius .12s linear;
}
.rooted__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rooted__video,
.rooted__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(var(--rooted-zoom, 1));
  transition: transform .25s linear;
  will-change: transform;
}
.rooted__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 35%, transparent 60%);
  pointer-events: none;
}

.rooted__copy {
  position: absolute;
  left: clamp(28px, 5vw, 80px);
  bottom: clamp(28px, 5vw, 80px);
  max-width: 560px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 16px;
}
.rooted__copy .eyebrow { color: var(--turquoise-light); }
.rooted__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(42px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 22px rgba(0,0,0,0.35);
}
.rooted__title em { font-style: normal; color: var(--turquoise-light); }
.rooted__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.5;
  color: rgba(245,244,236,0.9);
  margin: 0;
  max-width: 38ch;
}

/* Satellites — 2 cards, diagonally staggered on the right of the video.
   Cards rise UP from below in phase B (translateY 100% -> 0). */
.rooted__satellites {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.rooted__sat {
  position: absolute;
  width: clamp(240px, 22vw, 320px);
  padding: clamp(22px, 1.8vw, 30px) clamp(20px, 1.6vw, 26px);
  border-radius: 20px;
  /* Mostly opaque white — no backdrop blur needed since we're not relying on it */
  background: rgba(255, 255, 255, 0.92);
  border: 0.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 50px -22px rgba(14,31,48,0.4);
  color: var(--ink);
  pointer-events: auto;
  transform: translate3d(0, var(--sat-y, 100%), 0);
  opacity: var(--sat-op, 0);
  will-change: transform, opacity;
}
/* Top card — further left from the right edge */
.rooted__sat[data-sat="1"] {
  top: 22%;
  right: clamp(180px, 18vw, 260px);
}
/* Bottom card — 50-60px from right edge, mirroring the left-side gutter the
   "Rooted in nature" headline sits in */
.rooted__sat[data-sat="2"] {
  top: 52%;
  right: clamp(40px, 4vw, 60px);
}
.rooted__sat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--turquoise-light);
  color: var(--turquoise-deep);
  margin-bottom: 14px;
}
.rooted__sat-icon svg { width: 18px; height: 18px; }
.rooted__sat h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--turquoise-deep);
}
.rooted__sat p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 900px) {
  .rooted__track { height: 180vh; }
  .rooted__satellites { display: none; }
  .rooted__title { font-size: clamp(36px, 8vw, 56px); }
}

/* ===== Six Pillars - Why care about your gut? ===== */
.pillars {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
  overflow: hidden;
}
.pillars__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pillars__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(56px, 7vw, 96px);
}
.pillars__head .eyebrow { margin-bottom: 18px; }
.pillars__head .section-title {
  font-size: clamp(36px, 4vw, 60px);
  margin: 0 0 14px;
}
.pillars__head .section-sub {
  margin: 0 auto;
  font-size: 16px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(30px, 4vw, 70px);
  max-width: 960px;
  margin: 0 auto;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  --tint: #244b1d;
  --px: 0px;     /* icon mouse parallax */
  --py: 0px;
  --sy: 0px;     /* scroll-driven drift */
  --sr: 0deg;    /* scroll-driven rotation */

  /* Entry state - uses individual transform properties */
  opacity: 0;
  translate: 0 26px;
  scale: 0.9;
  rotate: -3deg;
  /* Scroll-driven drift composes via the transform shorthand
     (translate/scale/rotate apply IN ADDITION to transform per CSS spec) */
  transform: translateY(var(--sy)) rotate(var(--sr));
  will-change: transform;

  transition:
    opacity .9s cubic-bezier(.22,.8,.18,1),
    translate .9s cubic-bezier(.22,.8,.18,1),
    scale .9s cubic-bezier(.22,.8,.18,1),
    rotate .9s cubic-bezier(.22,.8,.18,1);
}

.pillar__core {
  position: relative;
  width: clamp(108px, 11vw, 144px);
  height: clamp(108px, 11vw, 144px);
  border-radius: 50%;
  background: var(--paper);
  border: 0.75px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  isolation: isolate;
  transition:
    transform .55s cubic-bezier(.22,.8,.18,1),
    background .55s cubic-bezier(.22,.8,.18,1),
    border-color .55s cubic-bezier(.22,.8,.18,1),
    color .55s cubic-bezier(.22,.8,.18,1),
    box-shadow .55s cubic-bezier(.22,.8,.18,1);
}

/* Ambient breath - soft outline pulse */
.pillar__core::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 0.75px solid var(--line-strong);
  opacity: 0.35;
  animation: pillar-breathe 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.pillar:nth-child(1) .pillar__core::before { animation-delay: 0s; }
.pillar:nth-child(2) .pillar__core::before { animation-delay: -1.2s; }
.pillar:nth-child(3) .pillar__core::before { animation-delay: -2.4s; }
.pillar:nth-child(4) .pillar__core::before { animation-delay: -3.6s; }
.pillar:nth-child(5) .pillar__core::before { animation-delay: -4.8s; }
.pillar:nth-child(6) .pillar__core::before { animation-delay: -6.0s; }

@keyframes pillar-breathe {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.06); opacity: 0; }
}

/* Hover ripple - fires on hover only */
.pillar__core::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 0.75px solid var(--tint);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.pillar:hover .pillar__core::after {
  animation: pillar-ripple 1.6s cubic-bezier(.22,.8,.18,1) infinite;
}
@keyframes pillar-ripple {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.35); opacity: 0; }
}

.pillar__icon {
  width: 44%;
  height: 44%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  translate: var(--px) var(--py);
  transition:
    opacity .8s cubic-bezier(.22,.8,.18,1),
    stroke .5s ease;
  position: relative;
  z-index: 1;
}

.pillar__label {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
  margin: 26px 0 6px;
}
.pillar__detail {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 22ch;
  transition: color .4s ease, transform .4s ease;
}

/* Hover state - coloured wash + lift */
.pillar:hover .pillar__core {
  transform: translateY(-6px) scale(1.06);
  background: var(--tint);
  border-color: var(--tint);
  color: var(--cream);
  box-shadow: 0 28px 50px -22px rgba(22,46,15,0.35);
}
.pillar:hover .pillar__core::before { opacity: 0; animation-play-state: paused; }
.pillar:hover .pillar__label { color: var(--ink); }
.pillar:hover .pillar__detail { color: var(--ink); transform: translateY(-2px); }

/* Dim others when the grid is being explored */
.pillars__grid:hover .pillar:not(:hover) {
  opacity: 0.45;
  scale: 0.97;
}

/* Entry - clockwise stagger (TL, TC, TR, BR, BC, BL) */
.pillars.in-view .pillar {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  rotate: 0deg;
}
.pillars.in-view .pillar:nth-child(1) { transition-delay: 0ms; }
.pillars.in-view .pillar:nth-child(2) { transition-delay: 90ms; }
.pillars.in-view .pillar:nth-child(3) { transition-delay: 180ms; }
.pillars.in-view .pillar:nth-child(6) { transition-delay: 270ms; }
.pillars.in-view .pillar:nth-child(5) { transition-delay: 360ms; }
.pillars.in-view .pillar:nth-child(4) { transition-delay: 450ms; }

.pillars.in-view .pillar__icon { opacity: 1; }
.pillars.in-view .pillar:nth-child(1) .pillar__icon { transition-delay: 250ms; }
.pillars.in-view .pillar:nth-child(2) .pillar__icon { transition-delay: 340ms; }
.pillars.in-view .pillar:nth-child(3) .pillar__icon { transition-delay: 430ms; }
.pillars.in-view .pillar:nth-child(6) .pillar__icon { transition-delay: 520ms; }
.pillars.in-view .pillar:nth-child(5) .pillar__icon { transition-delay: 610ms; }
.pillars.in-view .pillar:nth-child(4) .pillar__icon { transition-delay: 700ms; }

@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars.in-view .pillar:nth-child(n) { transition-delay: calc((var(--i, 0)) * 80ms); }
}
@media (max-width: 560px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ===== Process - Simple science. Real results. ===== */
.process {
  background:
    /* Vibrant turquoise + complementary blobs layered on the base blue */
    radial-gradient(circle at 8% 20%, rgba(79, 188, 212, 0.65), transparent 32%),
    radial-gradient(circle at 92% 14%, rgba(95, 195, 214, 0.55), transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(79, 188, 212, 0.30), transparent 40%),
    radial-gradient(circle at 78% 78%, rgba(168, 213, 192, 0.45), transparent 38%),
    radial-gradient(circle at 22% 88%, rgba(181, 168, 212, 0.40), transparent 38%),
    radial-gradient(circle at 95% 55%, rgba(232, 154, 92, 0.25), transparent 28%),
    linear-gradient(180deg, #DCEFF4 0%, #A6D8E5 100%);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  /* overflow: clip preserves sticky positioning of children (unlike overflow: hidden) */
  overflow: clip;
}
/* Animated fractal noise overlay matching the dark sections */
.process::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  animation: noiseShift 0.5s steps(3, end) infinite;
  mix-blend-mode: overlay;
}
.process > * { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .process::before { animation: none; }
}
.process__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.process__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(60px, 7vw, 100px);
}
.process__head .section-title { margin: 0; }
.process__head .section-title em { font-style: italic; font-weight: 300; }

/* === Split layout === */
.process__layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  margin-bottom: clamp(80px, 10vw, 130px);
}

.process__visual-col {
  position: relative;
  align-self: stretch;
}
.process__visual {
  position: sticky;
  top: 14vh;
  height: clamp(440px, 72vh, 640px);
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* Photo iris reveal - circular portraits */
.process__photos {
  position: relative;
  width: clamp(280px, 34vw, 440px);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 36px 64px rgba(22,46,15,0.28));
}
.process__photo {
  position: absolute;
  inset: 0;
  margin: 0;
  /* Iris collapsed by default - invisible until this step is active */
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1.15s cubic-bezier(.65,.05,.36,1);
  pointer-events: none;
  will-change: clip-path;
}
.process__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transform: scale(1.08);
  transition: transform 10s ease-out;
}
/* Captions live as siblings of photos so the clip-path doesn't clip them */
.process__caption {
  position: absolute;
  left: 50%;
  bottom: -56px;
  transform: translateX(-50%) translateY(8px);
  white-space: nowrap;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.005em;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(251,250,243,0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 0.75px solid rgba(22,46,15,0.08);
  box-shadow: 0 12px 26px -16px rgba(22,46,15,0.3);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .55s ease,
    transform .65s cubic-bezier(.22,.8,.18,1);
}

/* Active photo - iris opens fully + Ken Burns zoom out */
.process__visual[data-step="1"] .process__photo[data-step="1"],
.process__visual[data-step="2"] .process__photo[data-step="2"],
.process__visual[data-step="3"] .process__photo[data-step="3"],
.process__visual[data-step="4"] .process__photo[data-step="4"] {
  clip-path: circle(50% at 50% 50%);
}
.process__visual[data-step="1"] .process__photo[data-step="1"] img,
.process__visual[data-step="2"] .process__photo[data-step="2"] img,
.process__visual[data-step="3"] .process__photo[data-step="3"] img,
.process__visual[data-step="4"] .process__photo[data-step="4"] img {
  transform: scale(1);
}
.process__visual[data-step="1"] .process__caption[data-step="1"],
.process__visual[data-step="2"] .process__caption[data-step="2"],
.process__visual[data-step="3"] .process__caption[data-step="3"],
.process__visual[data-step="4"] .process__caption[data-step="4"] {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Step counter pill */
.process__step-indicator {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 16px;
  background: rgba(245,244,236,0.7);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 0.75px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(22,46,15,0.25);
  z-index: 2;
}
.step-indicator__current {
  font-weight: 400;
  font-size: 18px;
  display: inline-block;
  min-width: 22px;
  text-align: right;
  transition: opacity .3s ease;
}
.step-indicator__divider { opacity: 0.4; }
.step-indicator__total { opacity: 0.55; }

/* === Steps === */
.process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  left: 6.5px;
  top: 12px;
  bottom: 12px;
  width: 0.75px;
  background: linear-gradient(180deg, var(--turquoise), var(--turquoise-deep));
  opacity: 0.5;
}
.step {
  position: relative;
  padding: clamp(80px, 14vh, 160px) 0 clamp(80px, 14vh, 160px) 44px;
  min-height: clamp(480px, 68vh, 700px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.step:first-child { padding-top: 4vh; }
.step:last-child  { padding-bottom: 4vh; }

.step__dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: transparent;
  border: 0.75px solid var(--turquoise-deep);
  transition: all .5s cubic-bezier(.22,.8,.18,1);
  z-index: 1;
  opacity: 0.55;
}

.step__num {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0.6;
  transition: opacity .5s, color .5s;
}
.step__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0;
  transition: opacity .5s cubic-bezier(.22,.8,.18,1), transform .5s cubic-bezier(.22,.8,.18,1);
}
.step__detail {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  margin: 6px 0 0;
  max-width: 42ch;
  transition: opacity .5s cubic-bezier(.22,.8,.18,1);
}
.step:not(.is-active) .step__title,
.step:not(.is-active) .step__detail,
.step:not(.is-active) .step__num { opacity: 0.32; }

.step.is-active .step__dot {
  background: var(--turquoise-deep);
  border-color: var(--turquoise-deep);
  box-shadow: 0 0 0 5px rgba(79, 188, 212, 0.18);
  transform: translateY(-50%) scale(1.1);
}
.step.is-active .step__num { color: var(--turquoise-deep); opacity: 1; }

/* === Proof block === */
.proof {
  background: var(--paper);
  border: 0.75px solid var(--line);
  border-radius: 24px;
  padding: clamp(40px, 5vw, 70px) clamp(28px, 4vw, 60px);
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -40px rgba(22,46,15,0.18);
}
.proof__head { text-align: center; margin-bottom: clamp(40px, 5vw, 60px); }
.proof__head .eyebrow { margin-bottom: 14px; }
.proof__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.proof__sub {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.01em;
}

.proof__chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.4vw, 22px);
  align-items: end;
  margin-bottom: clamp(28px, 3vw, 44px);
  justify-content: center;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.bar__rail {
  position: relative;
  width: 100%;
  max-width: 140px;
  height: clamp(220px, 30vh, 300px);
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 14px,
    rgba(22,46,15,0.05) 14px,
    rgba(22,46,15,0.05) 15px
  );
  border-radius: 14px 14px 4px 4px;
  border: 0.75px dashed rgba(22,46,15,0.18);
  border-bottom: none;
  transition: transform .35s cubic-bezier(.22,.8,.18,1);
}
.bar__fill {
  position: absolute;
  left: -0.75px; right: -0.75px; bottom: 0;
  height: 0;
  background: linear-gradient(180deg, var(--turquoise) 0%, var(--turquoise-deep) 100%);
  border-radius: 14px 14px 4px 4px;
  transition: height 1.6s cubic-bezier(.22,.8,.18,1);
  box-shadow:
    0 -10px 22px -10px rgba(42, 147, 176, 0.55) inset,
    0 0.75px 0 rgba(255,255,255,0.35) inset;
}
.bar.in-view .bar__fill { height: var(--target-pct, 0%); }

.bar__value {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -130%);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .7s ease 1.3s;
}
.bar.in-view .bar__value { opacity: 1; }

.bar__label {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.45;
  letter-spacing: 0.01em;
  max-width: 18ch;
  text-align: center;
}
.bar:hover .bar__rail { transform: translateY(-4px); }

.proof__cite {
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.02em;
  font-style: italic;
}

@media (max-width: 900px) {
  .process__layout { grid-template-columns: 1fr; gap: 40px; }
  .process__visual { position: relative; top: 0; height: 360px; }
  .proof__chart { grid-template-columns: 1fr; gap: 40px; }
  .bar__rail { max-width: 100%; height: 200px; }
}

/* ===== More than human ===== */
.more-human {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.more-human__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
.more-human__visual { position: relative; }
.more-human__visual img { width: 100%; border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; }
.more-human__chip {
  position: absolute; left: 24px; top: 24px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(79, 188, 212, 0.18); color: var(--turquoise-light);
  padding: 8px 14px; border-radius: 999px;
  backdrop-filter: blur(8px);
  border: 0.75px solid rgba(79, 188, 212, 0.35);
}
.brand-wordmark { font-family: var(--f-display); font-size: 22px; margin: 0 0 18px; letter-spacing: -0.01em; opacity: 0.8; }
.brand-wordmark span { font-size: 14px; margin-left: 2px; }
.more-human__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(48px, 6.2vw, 96px); line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 28px; }
.more-human__title em { font-style: italic; font-weight: 400; }
.more-human__sub { font-size: 16px; line-height: 1.65; opacity: 0.78; max-width: 50ch; margin: 0 0 32px; }
.more-human .btn--ghost { color: var(--cream); border-color: var(--cream); }
.more-human .btn--ghost:hover { background: var(--cream); color: var(--ink); }

/* ===== Testimonials - pinned horizontal scroll ===== */
.testimonials {
  /* No vertical padding - track height handles the scroll budget */
  padding: 0;
}
.testimonials__track {
  position: relative;
  /* Height = viewport + horizontal scroll distance. JS reads this. */
  height: calc(100vh + 240vh);
}
.testimonials__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Top padding clears the sticky nav; bottom lifts caption away from edge */
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px);
  background: var(--paper);
}
.testimonials__head {
  max-width: 920px; margin: 0 auto clamp(28px, 4vh, 48px); padding: 0 var(--gutter);
  text-align: center; flex-shrink: 0;
}
.testimonials__head .section-title {
  /* Tighter cap so the heading doesn't blow up on wide screens */
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.0;
  margin-left: auto; margin-right: auto;
  margin-bottom: 14px;
}
.testimonials__head .section-sub {
  font-size: 15px;
  margin: 0 auto;
}

.testimonials__row {
  display: flex;
  gap: 22px;
  padding: 0 var(--gutter);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  /* No transition - JS drives the transform every frame for smoothness */
}

.ugc-card { margin: 0; flex: 0 0 clamp(240px, 22vw, 320px); }
.ugc-card__media {
  position: relative;
  /* Height locked to viewport so cards always fit between heading and caption */
  height: clamp(320px, 48vh, 460px);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: var(--ink-on);
  box-shadow:
    0 0.75px 0 rgba(255,255,255,0.18) inset,
    0 22px 50px -28px rgba(22,46,15,0.4);
  transition: transform .35s cubic-bezier(.22,.8,.18,1);
}
.ugc-card__media::after {
  /* Subtle film grain / vignette for depth */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(120% 100% at 50% 100%, rgba(0,0,0,0.22), transparent 50%);
  pointer-events: none;
}
.ugc-card:hover .ugc-card__media { transform: translateY(-6px); }

.ugc-card figcaption {
  margin-top: 16px; font-size: 14px; letter-spacing: 0.01em;
}
.ugc-card figcaption span { color: var(--ink-mute); margin-left: 6px; }

.testimonials__caption {
  text-align: center; margin: clamp(24px, 3vh, 40px) auto 0;
  font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--ink-2);
  padding: 0 var(--gutter);
  flex-shrink: 0;
}

/* Mobile fallback - native horizontal swipe instead of pinned */
@media (max-width: 1024px) {
  .testimonials__track { height: auto; }
  .testimonials__stage { position: static; height: auto; padding: clamp(60px, 8vw, 100px) 0; }
  .testimonials__row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonials__row::-webkit-scrollbar { display: none; }
  .ugc-card { scroll-snap-align: start; flex: 0 0 78%; }
  .ugc-card:first-child { margin-left: 0; }
}

/* ===== FAQ ===== */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 188, 212, 0.07), transparent 60%),
    var(--bg-alt);
}
.faq__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.faq__head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 90px);
}
.faq__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}
.faq__title-q {
  color: var(--turquoise-deep);
  font-weight: 300;
  display: inline-block;
  margin-left: -0.08em;
  transform: translateY(0.04em);
}

.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 0.75px solid var(--line);
}
.faq__item {
  border-bottom: 0.75px solid var(--line);
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows .5s cubic-bezier(.22,.8,.18,1);
}
.faq__item[data-open="true"] {
  grid-template-rows: auto 1fr;
}

.faq__row {
  display: grid;
  grid-template-columns: clamp(50px, 6vw, 80px) 1fr clamp(42px, 5vw, 56px);
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(22px, 2.8vw, 36px) 0;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: padding .35s cubic-bezier(.22,.8,.18,1);
}
.faq__row:hover { padding-left: 10px; padding-right: 10px; }

.faq__num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  color: var(--ink-mute);
  opacity: 0.5;
  transition: opacity .35s ease, color .35s ease;
}
.faq__item[data-open="true"] .faq__num,
.faq__row:hover .faq__num { opacity: 1; color: var(--turquoise-deep); }

.faq__q {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.4;
  transition: color .35s ease;
}
.faq__row:hover .faq__q { color: var(--turquoise-deep); }

.faq__icon {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 4vw, 44px);
  height: clamp(36px, 4vw, 44px);
  border-radius: 50%;
  background: rgba(14,31,48,0.06);
  color: var(--ink);
  transition:
    background .35s cubic-bezier(.22,.8,.18,1),
    color .35s ease,
    transform .55s cubic-bezier(.22,.8,.18,1);
}
.faq__icon svg { width: 50%; height: 50%; transition: transform .5s cubic-bezier(.22,.8,.18,1); }
.faq__item[data-open="true"] .faq__icon {
  background: var(--turquoise);
  color: #fff;
}
.faq__item[data-open="true"] .faq__icon svg { transform: rotate(180deg); }
.faq__row:hover .faq__icon { background: rgba(79,188,212,0.18); color: var(--turquoise-deep); }
.faq__item[data-open="true"] .faq__row:hover .faq__icon {
  background: var(--turquoise-deep);
  color: #fff;
}

.faq__answer {
  overflow: hidden;
}
.faq__answer-inner {
  padding: 0 clamp(16px, 3vw, 32px) clamp(24px, 3vw, 36px) clamp(66px, 9vw, 112px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .45s ease .05s, transform .55s cubic-bezier(.22,.8,.18,1) .05s;
}
.faq__item[data-open="true"] .faq__answer-inner {
  opacity: 1;
  transform: translateY(0);
}
.faq__answer-inner p {
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 65ch;
}

.btn-arrow--ghost {
  background: transparent;
  color: var(--ink);
  border: 0.75px solid var(--ink);
  align-self: flex-start;
}
.btn-arrow--ghost .btn-arrow__circle {
  background: var(--ink);
  color: var(--cream);
}
.btn-arrow--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-arrow--ghost:hover .btn-arrow__circle {
  background: var(--turquoise);
  color: var(--ink);
}

@media (max-width: 700px) {
  .faq__row { grid-template-columns: clamp(40px, 12vw, 52px) 1fr clamp(36px, 10vw, 44px); }
  .faq__answer-inner { padding-left: clamp(48px, 16vw, 64px); }
}

/* ===== Journal - editorial index ===== */
.journal {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
}
.journal + * { border-top: 0.75px solid var(--line); }
.journal__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.journal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 70px);
  gap: 24px;
  flex-wrap: wrap;
}
.journal__head-left { display: flex; flex-direction: column; gap: 14px; }
.journal__head .section-title {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 60px);
}

.journal__layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* === Article list (left) === */
.journal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 0.75px solid var(--line);
}
.journal__item {
  border-bottom: 0.75px solid var(--line);
}
.journal__row {
  display: grid;
  grid-template-columns: clamp(38px, 4.5vw, 56px) 1fr clamp(28px, 3vw, 40px);
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 3vw, 36px) 0;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding .45s cubic-bezier(.22,.8,.18,1);
}
.journal__row::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.75px;
  height: 0.75px;
  background: var(--turquoise);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .65s cubic-bezier(.22,.8,.18,1);
}
.journal__item.is-active .journal__row::before {
  transform: scaleX(1);
}
.journal__item.is-active .journal__row,
.journal__row:hover { padding-left: 14px; padding-right: 14px; }

.journal__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink-mute);
  opacity: 0.5;
  transition: opacity .4s ease, color .4s ease;
}
.journal__item.is-active .journal__num,
.journal__row:hover .journal__num {
  opacity: 1;
  color: var(--turquoise-deep);
}

.journal__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.journal__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
  transition: color .4s ease;
}
.journal__item.is-active .journal__title,
.journal__row:hover .journal__title {
  color: var(--turquoise-deep);
}
.journal__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.journal__dot { opacity: 0.5; }

.journal__arrow {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  opacity: 0.45;
  transition: opacity .35s ease, color .35s ease, transform .45s cubic-bezier(.22,.8,.18,1);
}
.journal__item.is-active .journal__arrow,
.journal__row:hover .journal__arrow {
  opacity: 1;
  color: var(--turquoise-deep);
  transform: translateX(6px);
}

/* === Preview (right) === */
.journal__preview {
  position: sticky;
  top: 140px;
}
.journal__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
}
.journal__card {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity .9s cubic-bezier(.22,.8,.18,1),
    transform 1.6s cubic-bezier(.22,.8,.18,1);
  pointer-events: none;
}
.journal[data-active="1"] .journal__card[data-article="1"],
.journal[data-active="2"] .journal__card[data-article="2"],
.journal[data-active="3"] .journal__card[data-article="3"],
.journal[data-active="4"] .journal__card[data-article="4"],
.journal[data-active="5"] .journal__card[data-article="5"],
.journal[data-active="6"] .journal__card[data-article="6"],
.journal[data-active="7"] .journal__card[data-article="7"] {
  opacity: 1;
  transform: scale(1);
}

.journal__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.journal__card figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  background: rgba(245,244,236,0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 0.75px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.journal__card-cat {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--turquoise-deep);
}
.journal__card-excerpt {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 900px) {
  .journal__layout { grid-template-columns: 1fr; gap: 32px; }
  .journal__preview { position: relative; top: 0; order: -1; }
  .journal__stack { aspect-ratio: 4 / 3; }
}

/* ===== Newsletter ===== */
.newsletter {
  background:
    radial-gradient(ellipse 55% 60% at 8% 20%, rgba(79, 188, 212, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 50% at 92% 80%, rgba(181, 168, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 65% 45% at 50% 50%, rgba(232, 154, 92, 0.07), transparent 55%),
    var(--ink);
  color: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0;
}
.newsletter__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end;
}
.newsletter__pillar {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.02em;
  margin: 0;
}
.newsletter__pillar em { font-style: italic; }
.newsletter__form label { display: block; font-size: 14px; letter-spacing: 0.02em; opacity: 0.85; margin-bottom: 14px; }
.newsletter__row {
  display: flex; gap: 8px;
  border-bottom: 1px solid rgba(245,244,236,0.4); padding-bottom: 10px;
}
.newsletter__row input {
  flex: 1; background: transparent; border: 0; color: var(--cream);
  font-family: var(--f-body); font-size: 16px; padding: 8px 0;
  outline: none;
}
.newsletter__row input::placeholder { color: rgba(245,244,236,0.5); }
.newsletter__row button {
  background: transparent; border: 0; color: var(--cream);
  font-size: 14px; letter-spacing: 0.02em; cursor: pointer;
  padding: 8px 6px; transition: opacity .2s;
}
.newsletter__row button:hover { opacity: 0.75; }
.newsletter__fine { font-size: 11px; opacity: 0.55; margin-top: 12px; }

/* ===== Footer ===== */
.footer {
  background:
    radial-gradient(ellipse 60% 70% at 12% 30%, rgba(79, 188, 212, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 60% at 88% 70%, rgba(168, 213, 192, 0.10), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(181, 168, 212, 0.08), transparent 55%),
    var(--ink);
  color: var(--cream);
  padding: 60px 0 50px;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.footer__disclaimer { font-size: 11px; opacity: 0.5; max-width: 70ch; margin: 0 0 50px; line-height: 1.55; }
.footer__columns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; padding-bottom: 50px; border-bottom: 1px solid rgba(245,244,236,0.15); }
.footer__columns h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; opacity: 0.7; font-weight: 500; }
.footer__columns ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__columns a { font-size: 14px; opacity: 0.85; transition: opacity .2s; }
.footer__columns a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; justify-content: space-between; align-items: baseline; margin-top: 28px; font-size: 12px; opacity: 0.55; }
.footer__wordmark {
  display: inline-flex;
  align-items: center;
  height: 28px;
}
.footer__wordmark img {
  height: 100%;
  width: auto;
  display: block;
  /* PNG logo has turquoise gradient — knock to white for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__inner,
  .bundle__inner,
  .newsletter__inner { grid-template-columns: 1fr; }
  .products__grid,
  .testimonials__row { grid-template-columns: repeat(2, 1fr); }
  .footer__columns { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__cta { gap: 8px; }
  .products__grid,
  .testimonials__row { grid-template-columns: 1fr; }
  .footer__columns { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 44px; }
}

