/* =========================================================
   PLAYR1 — The Life Sciences Beverage
   v2 — Seed.com-inspired design language
   Light, scientific, multi-system color palette.
   Orange reserved for CTAs & key accents only.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&display=swap');

:root {
  /* ---- Neutrals (Primary Surfaces) ---- */
  --p1-bone:        #FFFFFF;   /* pure white — primary background */
  --p1-paper:      #FAFAF8;   /* subtle off-white for alt sections */
  --p1-mist:       #F1F1EE;   /* light cool gray */
  --p1-stone:      #E4E4E0;   /* light gray */
  --p1-fog:        #B5B0A4;   /* mid neutral */
  --p1-graphite:   #2A2A2E;   /* deep charcoal */
  --p1-ink:        #14141A;   /* near-black for text & dark nav */
  --p1-white:      #FFFFFF;
  --p1-cream:      #FFFFFF;   /* alias for bone */
  --p1-black:      #14141A;   /* alias for ink (back-compat for inner-page inline styles) */
  --p1-charcoal:   #2A2A2E;   /* alias for graphite */

  /* ---- Brand Accent (Orange — CTAs only) ---- */
  --p1-orange:       #FF5A1F;
  --p1-orange-deep:  #E64A0E;
  --p1-orange-light: #FF7A45;
  --p1-orange-soft:  #FFE3D5;

  /* ---- Body System Palette (Primary) ---- */
  --neural:        #3B6EE0;   /* brighter cobalt — mind/brain */
  --neural-soft:   #DCE5FA;
  --vascular:      #0E7C7B;   /* medical teal — vascular */
  --vascular-soft: #CFE8E7;
  --hydration:     #2F855A;   /* deep green — cellular hydration */
  --hydration-soft:#D9EDDF;
  --energy:        #B91C1C;   /* clinical red — mitochondrial energy */
  --energy-soft:   #F9DADA;
  --drive:         #9B4AD9;   /* brighter aubergine — drive/mood */
  --drive-soft:    #E3DAF5;

  /* ---- Type ---- */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-serif:   'Inter', system-ui, sans-serif;  /* italic accent/statement face — PDFs use Inter Italic (token kept for back-compat) */
  --font-mono:    'Inter', system-ui, sans-serif;  /* label/eyebrow face — PDFs use Inter tracked caps (token kept for back-compat) */

  /* ---- Layout ---- */
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius:    14px;
  --radius-lg: 22px;

  /* ---- Motion ---- */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.15, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--p1-bone);
  color: var(--p1-ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s var(--ease-out), color .25s var(--ease-out); }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container--wide   { max-width: 1480px; }
.container--narrow { max-width: 920px; }

section { padding: var(--section-y) 0; position: relative; }

/* ---------- Section themes ---------- */
.is-light    { background: var(--p1-bone);  color: var(--p1-ink); }
.is-paper    { background: var(--p1-paper); color: var(--p1-ink); }
.is-mist     { background: var(--p1-mist);  color: var(--p1-ink); }
.is-stone    { background: var(--p1-stone); color: var(--p1-ink); }
.is-dark     { background: var(--p1-graphite); color: var(--p1-bone); }
.is-ink      { background: var(--p1-ink); color: var(--p1-bone); }
.is-blue     { background: var(--neural); color: var(--p1-bone); }
.is-teal     { background: var(--vascular); color: var(--p1-bone); }
.is-green    { background: var(--hydration); color: var(--p1-bone); }
.is-red      { background: var(--energy); color: var(--p1-bone); }

.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4, .is-dark h5,
.is-blue h1, .is-blue h2, .is-blue h3, .is-blue h4, .is-blue h5,
.is-teal h1, .is-teal h2, .is-teal h3, .is-teal h4, .is-teal h5,
.is-green h1, .is-green h2, .is-green h3, .is-green h4, .is-green h5,
.is-red h1, .is-red h2, .is-red h3, .is-red h4, .is-red h5 { color: var(--p1-bone); }
.is-dark p, .is-blue p, .is-teal p, .is-green p, .is-red p { color: rgba(246,242,233,0.85); }
.is-dark .lead, .is-blue .lead, .is-teal .lead, .is-green .lead, .is-red .lead { color: rgba(246,242,233,0.9); }
.is-dark .muted, .is-blue .muted, .is-teal .muted, .is-green .muted, .is-red .muted { color: rgba(246,242,233,0.6); }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p1-graphite);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--p1-orange);
}
.eyebrow--muted   { color: rgba(20,20,26,0.55); }
.is-dark .eyebrow, .is-ink .eyebrow, .is-blue .eyebrow, .is-teal .eyebrow, .is-green .eyebrow, .is-red .eyebrow,
.cta-block .eyebrow, .insight-callout .eyebrow { color: var(--p1-bone); }
.eyebrow--blue::before    { background: var(--neural); }
.eyebrow--teal::before    { background: var(--vascular); }
.eyebrow--green::before   { background: var(--hydration); }
.eyebrow--red::before     { background: var(--energy); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--p1-ink);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.027em;
  text-wrap: balance;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.h-4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  letter-spacing: -0.01em;
}

.h-serif em, em.serif {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: rgba(20,20,26,0.82);
  max-width: 60ch;
}
p {
  font-size: 1.0rem;
  line-height: 1.65;
  color: rgba(20,20,26,0.78);
}
p.large { font-size: 1.15rem; }

.muted     { color: rgba(20,20,26,0.55); }
.accent    { color: var(--p1-orange); }
.text-blue   { color: var(--neural); }
.text-teal   { color: var(--vascular); }
.text-green  { color: var(--hydration); }
.text-red    { color: var(--energy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .28s var(--ease-out), background .28s, color .28s, border-color .28s, box-shadow .28s;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--p1-orange);
  color: var(--p1-ink);
  box-shadow: 0 8px 24px -10px rgba(255,90,31,0.55);
}
.btn-primary:hover { background: var(--p1-orange-deep); color: var(--p1-bone); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(255,90,31,0.65); }

.btn-ghost {
  background: transparent;
  color: var(--p1-ink);
  border: 1.5px solid rgba(20,20,26,0.22);
}
.btn-ghost:hover { border-color: var(--p1-orange); color: var(--p1-orange); transform: translateY(-2px); }

/* White-box variant — used on dark CTA blocks. Orange copy by default, flips to ink on hover. */
.btn-white {
  background: var(--p1-bone);
  color: var(--p1-orange);
  border: 1.5px solid var(--p1-bone);
}
.btn-white:hover {
  background: var(--p1-bone);
  color: var(--p1-ink);
  transform: translateY(-2px);
  border-color: var(--p1-bone);
}

.is-dark .btn-ghost, .is-blue .btn-ghost, .is-teal .btn-ghost, .is-green .btn-ghost, .is-red .btn-ghost {
  color: var(--p1-bone);
  border-color: rgba(246,242,233,0.35);
}
.is-dark .btn-ghost:hover, .is-blue .btn-ghost:hover, .is-teal .btn-ghost:hover, .is-green .btn-ghost:hover, .is-red .btn-ghost:hover {
  border-color: var(--p1-orange); color: var(--p1-orange);
}

.btn-arrow::after {
  content: "→";
  display: inline-block;
  transition: transform .25s var(--ease-out);
}
.btn-arrow:hover::after { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p1-ink);
  border-bottom: 1px solid var(--p1-orange);
  padding-bottom: 4px;
}
.text-link::after { content: "→"; transition: transform .25s var(--ease-out); }
.text-link:hover { color: var(--p1-orange); }
.text-link:hover::after { transform: translateX(4px); }
.is-dark .text-link, .is-blue .text-link, .is-teal .text-link, .is-green .text-link, .is-red .text-link { color: var(--p1-bone); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(20,20,26,0.06);
  transition: background .35s var(--ease-out), padding .3s, border-color .35s;
}
.nav.is-scrolled {
  padding: 0.75rem 0;
  background: rgba(20,20,26,0.95);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.6rem; }
.nav__logo img { height: 26px; width: auto; transition: filter .35s var(--ease-out); }
.nav.is-scrolled .nav__logo img { filter: brightness(0) invert(1); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.nav__links a { color: var(--p1-ink); opacity: 0.7; position: relative; padding-bottom: 4px; transition: color .35s var(--ease-out), opacity .25s var(--ease-out); }
.nav.is-scrolled .nav__links a { color: var(--p1-bone); opacity: 0.78; }
.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__links a.is-active { opacity: 1; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--p1-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
  border-radius: 2px;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--p1-orange); }
.nav.is-scrolled .nav__links a.is-active { color: var(--p1-orange); }
.nav__cta { display: flex; align-items: center; gap: 0.8rem; }
.nav__menu-btn {
  display: none;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
}
.nav__menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--p1-ink);
  position: relative;
  transition: background .35s var(--ease-out);
}
.nav__menu-btn span::before, .nav__menu-btn span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--p1-ink);
  transition: background .35s var(--ease-out);
}
.nav__menu-btn span::before { top: -7px; }
.nav__menu-btn span::after  { top: 7px; }
.nav.is-scrolled .nav__menu-btn span,
.nav.is-scrolled .nav__menu-btn span::before,
.nav.is-scrolled .nav__menu-btn span::after { background: var(--p1-bone); }

@media (max-width: 980px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__menu-btn { display: inline-flex; }
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--p1-bone);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  transform: translateY(-100%);
  transition: transform .4s var(--ease-out);
}
.nav-drawer.is-open { transform: translateY(0); }
.nav-drawer a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(20,20,26,0.1);
  color: var(--p1-ink);
}

/* ---------- Decorative motifs ---------- */
.bg-contour {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='1000' viewBox='0 0 1400 1000'%3E%3Cg fill='none' stroke='%231E3A8A' stroke-width='0.7' opacity='0.45'%3E%3Cpath d='M-50,500 Q200,300 500,400 T1100,350 T1500,500'/%3E%3Cpath d='M-50,540 Q220,340 520,440 T1100,400 T1500,540'/%3E%3Cpath d='M-50,580 Q240,380 540,480 T1100,450 T1500,580'/%3E%3Cpath d='M-50,620 Q260,420 560,520 T1100,500 T1500,620'/%3E%3Cpath d='M-50,460 Q180,260 480,360 T1100,300 T1500,460'/%3E%3Cpath d='M-50,420 Q160,220 460,320 T1100,260 T1500,420'/%3E%3Cpath d='M-50,380 Q140,180 440,280 T1100,220 T1500,380'/%3E%3Cpath d='M-50,340 Q120,140 420,240 T1100,180 T1500,340'/%3E%3Cpath d='M-50,300 Q100,100 400,200 T1100,140 T1500,300'/%3E%3Cpath d='M-50,660 Q280,460 580,560 T1100,540 T1500,660'/%3E%3Cpath d='M-50,700 Q300,500 600,600 T1100,580 T1500,700'/%3E%3Cpath d='M-50,740 Q320,540 620,640 T1100,620 T1500,740'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  animation: contour-drift 30s ease-in-out infinite alternate;
}
.is-dark .bg-contour, .is-blue .bg-contour, .is-teal .bg-contour, .is-green .bg-contour, .is-red .bg-contour {
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.14;
}

@keyframes contour-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-20px, -10px, 0) scale(1.04); }
}

/* ---------- HERO — Rotating Cans + Rotating Photo Backgrounds ---------- */
.hero {
  --hero-lime: #D6E84A; /* yellow-green accent specific to dark hero */
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  /* leave room for the absolute-positioned marquee at the bottom + breathing room */
  padding-bottom: 8rem;
  overflow: hidden;
  isolation: isolate;
  color: var(--p1-bone);
  background: #0B130E;
}

/* Background layer — 4 crossfading photo slots */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg-slot {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease-soft), transform 9s ease-out;
  will-change: opacity, transform;
}
.hero__bg-slot.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero__bg-slot[data-bg="track"]  { background-image: url('../assets/hero/bg-track.jpg');  background-position: center 35%; }
.hero__bg-slot[data-bg="hikers"] { background-image: url('../assets/hero/bg-hikers.jpg'); background-position: center 30%; }
.hero__bg-slot[data-bg="bike"]   { background-image: url('../assets/hero/bg-bike.jpg');   background-position: center 38%; }
.hero__bg-slot[data-bg="gym"]    { background-image: url('../assets/hero/bg-gym.jpg');    background-position: center 40%; }

/* Dark gradient sits over the active photo */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8,18,12,0.20);
  pointer-events: none;
}

/* No contour overlay on the hero — the hero photos carry the pattern in the artwork */
/* Soft vignette behind the copy column only so the lead text stays readable */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(0,0,0,0.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.0fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.hero__copy h1 { margin-bottom: 1.5rem; color: var(--p1-bone); }
.hero__copy .lead { margin-bottom: 2.2rem; color: rgba(246,242,233,0.92); max-width: 52ch; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Hero headline: brand line stays bold display, sub-lines drop to IBM Plex Sans
   at a smaller size; accent-marks stack as blocks tucked tight to MAD SCIENCE */
.hero__copy .h-display {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.0;
  white-space: nowrap;
}
.hero__copy .accent-mark {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--hero-lime);
  letter-spacing: -0.005em;
  font-size: 0.55em;
  line-height: 1.1;
  display: block;
  white-space: normal;
}
.hero__copy .accent-mark:first-of-type { margin-top: 0.25em; }

/* Hero-specific overrides for dark surface */
.hero .eyebrow { color: rgba(246,242,233,0.92); gap: 0; }
.hero .eyebrow::before { display: none; }
.hero .tag {
  border-color: rgba(246,242,233,0.3);
  color: rgba(246,242,233,0.9);
  background: rgba(8,18,12,0.35);
  backdrop-filter: blur(6px);
}
.hero .btn-ghost {
  color: var(--p1-bone);
  border-color: rgba(246,242,233,0.45);
}
.hero .btn-ghost:hover { border-color: var(--p1-orange); color: var(--p1-orange); }

/* Rotating cans carousel */
.cans-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 640px;
  margin-inline: auto;
}
.cans-stage__halo {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,90,31,0.22) 0%, transparent 55%),
    radial-gradient(circle, rgba(214,232,74,0.10) 0%, transparent 70%);
  filter: blur(28px);
  animation: halo-pulse 8s ease-in-out infinite;
}
@keyframes halo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.06); opacity: 1; }
}
.cans-stage__ring {
  position: absolute;
  inset: 6%;
  border: 1px dashed rgba(246,242,233,0.35);
  border-radius: 50%;
  animation: ring-rotate 60s linear infinite;
}
.cans-stage__ring::before, .cans-stage__ring::after {
  content: ""; position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--p1-orange);
  box-shadow: 0 0 14px rgba(255,90,31,0.7);
}
.cans-stage__ring::before { top: -4px; left: calc(50% - 4px); }
.cans-stage__ring::after  { bottom: -4px; left: calc(50% - 4px); background: var(--hero-lime, #D6E84A); box-shadow: 0 0 14px rgba(214,232,74,0.6); }
@keyframes ring-rotate { to { transform: rotate(360deg); } }

.can-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
  pointer-events: none;
}
.can-slot.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.can-slot.is-prev { opacity: 0; transform: scale(0.8) translateX(-30%) rotate(-8deg); }
.can-slot.is-next { opacity: 0; transform: scale(0.8) translateX(30%) rotate(8deg); }
.can-slot img {
  height: 88%;
  width: auto;
  object-fit: contain;
  animation: can-bob 7s ease-in-out infinite;
}
@keyframes can-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-18px) rotate(1deg); }
}
.can-slot[data-flavor="tropical"]  img { filter: drop-shadow(0 32px 50px rgba(255,122,26,0.55)) drop-shadow(0 0 60px rgba(255,90,31,0.25)); }
.can-slot[data-flavor="berry"]     img { filter: drop-shadow(0 32px 50px rgba(255,80,80,0.45)) drop-shadow(0 0 60px rgba(255,80,80,0.20)); }
.can-slot[data-flavor="blue"]      img { filter: drop-shadow(0 32px 50px rgba(80,140,255,0.45)) drop-shadow(0 0 60px rgba(80,140,255,0.20)); }
.can-slot[data-flavor="puckr"]     img { filter: drop-shadow(0 32px 50px rgba(150,210,80,0.45)) drop-shadow(0 0 60px rgba(150,210,80,0.20)); }

/* Flavor dot selectors */
.flavor-dots {
  position: absolute;
  bottom: -1.5rem;
  left: 0; right: 0;
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  z-index: 4;
}
.flavor-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(246,242,233,0.35);
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s, width .25s;
  border: 0;
}
.flavor-dot:hover { transform: scale(1.25); background: rgba(246,242,233,0.6); }
.flavor-dot.is-active { width: 28px; border-radius: 999px; background: var(--p1-orange); box-shadow: 0 0 16px rgba(255,90,31,0.55); }

.flavor-label {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p1-bone);
  padding: 0.45rem 0.95rem;
  background: rgba(8,18,12,0.65);
  border: 1px solid rgba(246,242,233,0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 3;
  white-space: nowrap;
}

.hero__marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(246,242,233,0.15);
  border-bottom: 1px solid rgba(246,242,233,0.15);
  background: rgba(8,18,12,0.7);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 3;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 55s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,242,233,0.85);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after {
  content: "◆";
  color: var(--p1-orange);
  font-size: 0.55rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .cans-stage { aspect-ratio: 4/5; max-width: 420px; }
}

/* ---------- Manifesto / Big Type Section ---------- */
.manifesto {
  text-align: center;
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
  background:
    linear-gradient(180deg, var(--p1-paper) 0%, var(--p1-bone) 100%);
}
.manifesto h2 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-inline: auto;
}
.manifesto h2 em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--p1-orange);
}

/* Split layout: copy left, figure right (with rollover) */
.manifesto--split { text-align: left; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.manifesto__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.manifesto--split h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  margin-inline: 0;
  max-width: 18ch;
  text-align: left;
}
.manifesto--split .lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 50ch;
}
.manifesto--split .text-link { margin-top: 2.5rem; }

.manifesto__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--p1-mist);
  aspect-ratio: 4/5;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  box-shadow: 0 18px 40px -22px rgba(20,20,26,0.18);
}
.manifesto__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-soft), filter .5s var(--ease-out);
  transform: scale(1.02);
}
.manifesto__figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.6rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--p1-bone);
  background: linear-gradient(180deg, transparent 0%, rgba(8,8,12,0.7) 60%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.manifesto__figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -30px rgba(20,20,26,0.30);
}
.manifesto__figure:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.04);
}
.manifesto__figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .manifesto__inner { grid-template-columns: 1fr; }
  .manifesto__figure { aspect-ratio: 4/4; }
}

/* ---------- Story Block (alternating image/text) ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.story--reverse .story__visual { order: 2; }
.story__copy h2 { margin-bottom: 1.4rem; }
.story__copy p + p { margin-top: 1rem; }
.story__copy .text-link { margin-top: 2rem; }
.story__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.story__visual img { width: 100%; border-radius: var(--radius-lg); display: block; }

/* Hoverable story visual */
.story__visual--hover {
  background: var(--p1-mist);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  box-shadow: 0 18px 40px -22px rgba(20,20,26,0.18);
}
.story__visual--hover img {
  transition: transform 1s var(--ease-soft), filter .5s var(--ease-out);
  transform: scale(1.02);
}
.story__visual--hover figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--p1-bone);
  background: linear-gradient(180deg, transparent 0%, rgba(8,8,12,0.72) 65%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.story__visual--hover:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -30px rgba(20,20,26,0.30); }
.story__visual--hover:hover img { transform: scale(1.06); filter: saturate(1.1) contrast(1.04); }
.story__visual--hover:hover figcaption { opacity: 1; transform: translateY(0); }

/* Can close-up — fractal backdrop, can centered, caption fades in on hover */
.can-closeup {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--p1-ink);
  isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(20,20,26,0.45);
}
/* Brand fractal mask — fills the entire square */
.can-closeup::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-color: var(--p1-orange);
  -webkit-mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
          mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  opacity: 0.55;
  animation: contour-drift 40s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.can-closeup img {
  position: relative;
  z-index: 1;
  display: block;
  width: 70%;
  height: 70%;
  margin: 15% auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  transition: transform .55s var(--ease-soft);
}
.can-closeup:hover img { transform: scale(1.06) rotate(-1.5deg); }
.can-closeup figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p1-bone);
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(8,8,12,0.75) 60%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
  z-index: 2;
}
.can-closeup:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; }
  .story--reverse .story__visual { order: -1; }
}

/* ---------- Stat Grid (the Life Sciences Standard) ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.stat {
  padding: 1.6rem 1.4rem;
  background: var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  border-radius: var(--radius);
  transition: transform .35s var(--ease-out), background .35s, border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--p1-orange);
  transition: width .4s var(--ease-out);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(20,20,26,0.16); box-shadow: 0 20px 40px -20px rgba(20,20,26,0.18); }
.stat:hover::before { width: 100%; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.6rem;
  color: var(--p1-orange);
}
/* Rotate stat number colors across the system palette so a row isn't all one hue */
.stat-grid .stat:nth-child(4n+1) .stat__num { color: var(--neural); }
.stat-grid .stat:nth-child(4n+1):hover::before { background: var(--neural); }
.stat-grid .stat:nth-child(4n+2) .stat__num { color: var(--vascular); }
.stat-grid .stat:nth-child(4n+2):hover::before { background: var(--vascular); }
.stat-grid .stat:nth-child(4n+3) .stat__num { color: var(--hydration); }
.stat-grid .stat:nth-child(4n+3):hover::before { background: var(--hydration); }
.stat-grid .stat:nth-child(4n+4) .stat__num { color: var(--p1-orange); }
.stat__label { font-size: 0.88rem; line-height: 1.45; color: rgba(20,20,26,0.78); }
.stat__sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(20,20,26,0.5);
  margin-top: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-dark .stat, .is-blue .stat, .is-teal .stat, .is-green .stat, .is-red .stat {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.is-dark .stat__label, .is-blue .stat__label, .is-teal .stat__label, .is-green .stat__label, .is-red .stat__label { color: rgba(246,242,233,0.85); }
.is-dark .stat__sub, .is-blue .stat__sub, .is-teal .stat__sub, .is-green .stat__sub, .is-red .stat__sub { color: rgba(246,242,233,0.55); }

@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Product Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.product-card {
  position: relative;
  padding: 2rem 1.4rem 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 460px;
  color: var(--p1-ink);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, var(--p1-color, var(--p1-orange)) 0%, transparent 65%);
  opacity: 0.10;
  transition: opacity .4s;
  z-index: 0;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--p1-color, var(--p1-orange)); box-shadow: 0 30px 60px -30px rgba(20,20,26,0.2); }
.product-card:hover::before { opacity: 0.22; }
.product-card > * { position: relative; z-index: 1; }
.product-card img {
  height: 280px;
  width: auto;
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 14px 28px rgba(20,20,26,0.18));
  transition: transform .55s var(--ease-out);
}
.product-card:hover img { transform: scale(1.06) rotate(-3deg); }
.product-card h3 { margin-bottom: 0.4rem; }
.product-card .product__flavor {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(20,20,26,0.55);
  margin-bottom: 0.6rem;
}
.product-card .product__benefit { font-size: 0.86rem; color: rgba(20,20,26,0.7); }

.product-card[data-flavor="tropical"] { --p1-color: #E66A1A; }
.product-card[data-flavor="berry"]    { --p1-color: var(--energy); }
.product-card[data-flavor="blue"]     { --p1-color: var(--neural); }
.product-card[data-flavor="puckr"]    { --p1-color: var(--hydration); }

/* Dark product card — for stick photos shot on a cosmic black background */
.product-card--dark {
  background: var(--p1-ink);
  border-color: rgba(246,242,233,0.08);
  color: var(--p1-bone);
}
.product-card--dark::before {
  background: radial-gradient(circle at 50% 25%, var(--p1-color, var(--p1-orange)) 0%, transparent 70%);
  opacity: 0.18;
}
.product-card--dark:hover {
  border-color: var(--p1-color, var(--p1-orange));
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.product-card--dark:hover::before { opacity: 0.36; }
.product-card--dark h3 { color: var(--p1-bone); }
.product-card--dark .product__flavor { color: rgba(246,242,233,0.55); }
.product-card--dark .product__benefit { color: rgba(246,242,233,0.72); }
.product-card--dark img { filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5)); }

@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Element Table (formula page) ---------- */
.element-table {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.7rem;
  margin-top: 3rem;
}
.element {
  position: relative;
  padding: 1rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid currentColor;
  background: var(--p1-paper);
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s, box-shadow .25s;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.element:hover { transform: translateY(-4px); background: var(--p1-bone); box-shadow: 0 10px 24px -14px rgba(20,20,26,0.25); }
.element__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.85;
}
.element__symbol {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.element__name {
  font-size: 0.66rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.el-neural    { color: var(--neural); }
.el-vascular  { color: var(--vascular); }
.el-hydration { color: var(--hydration); }
.el-energy    { color: var(--energy); }
.el-drive     { color: var(--drive); }
.el-empty     { border-color: transparent; pointer-events: none; background: transparent; }

@media (max-width: 900px) { .element-table { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Pillar Grid (3-up systems) ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.pillar {
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  background: var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.pillar:hover { transform: translateY(-5px); border-color: var(--pillar-color, var(--p1-orange)); box-shadow: 0 30px 60px -30px rgba(20,20,26,0.2); }
.pillar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--pillar-color, var(--p1-orange));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.pillar:hover::after { transform: scaleY(1); }
.is-dark .pillar, .is-blue .pillar, .is-teal .pillar, .is-green .pillar, .is-red .pillar {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.pillar[data-system="neural"]    { --pillar-color: var(--neural); }
.pillar[data-system="vascular"]  { --pillar-color: var(--vascular); }
.pillar[data-system="hydration"] { --pillar-color: var(--hydration); }
.pillar[data-system="energy"]    { --pillar-color: var(--energy); }
.pillar[data-system="drive"]     { --pillar-color: var(--drive); }

.pillar__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--pillar-color, var(--p1-orange));
  color: var(--p1-bone);
  margin-bottom: 1.3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
/* Oversized glyph variant for non-text icons that want to fill the box */
.pillar__icon--xl { font-size: 2.6rem; line-height: 1; font-weight: 400; }
.pillar h3 { margin-bottom: 0.7rem; }

@media (max-width: 800px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar-grid--equal { align-items: stretch; }
.pillar-grid--equal > .pillar { display: flex; flex-direction: column; height: 100%; }

/* Three Fractal Systems section backdrop — fractal-can mask instead of wavy SVG */
.fractal-systems-section {
  position: relative;
  isolation: isolate;
  padding: var(--section-y) 0;
  overflow: hidden;
}
.fractal-systems-section__bg {
  position: absolute;
  inset: -6%;
  background-color: var(--p1-orange);
  -webkit-mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
          mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  opacity: 0.08;
  pointer-events: none;
  animation: contour-drift 40s ease-in-out infinite alternate;
  z-index: 0;
}
.fractal-systems-section > .container { position: relative; z-index: 1; }

/* Media-backed pillar cards with rollover images (science page Three Fractal Systems) */
.pillar--media {
  padding: 0;
  overflow: hidden;
  min-height: 540px;
  isolation: isolate;
  cursor: pointer;
}
.pillar--media .pillar__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .55s var(--ease-soft), transform 1.4s var(--ease-soft);
  z-index: 0;
}
/* System-color fractal mask treatment on the rollover layer */
.pillar--media[data-system="neural"]    { --system-color: var(--neural); }
.pillar--media[data-system="vascular"]  { --system-color: var(--vascular); }
.pillar--media[data-system="metabolic"] { --system-color: var(--energy); }
.pillar--media .pillar__media {
  background-color: var(--p1-ink);
  background-image: none;
}
.pillar--media .pillar__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--system-color, var(--p1-orange));
  -webkit-mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
          mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  opacity: 0.9;
  animation: contour-drift 40s ease-in-out infinite alternate;
  pointer-events: none;
}

.pillar--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,12,0) 0%, rgba(8,8,12,0.55) 55%, rgba(8,8,12,0.88) 100%);
  opacity: 0;
  transition: opacity .55s var(--ease-soft);
  z-index: 1;
  pointer-events: none;
}
.pillar--media .pillar__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
  justify-content: flex-end;
  transition: color .4s var(--ease-out);
}
.pillar--media .pillar__icon { margin-bottom: 1rem; }
.pillar--media h3 { margin-bottom: 0.8rem; }
.pillar--media p { transition: color .4s var(--ease-out); }
.pillar--media .tag {
  transition: border-color .4s var(--ease-out), color .4s var(--ease-out), background .4s var(--ease-out);
}

.pillar--media:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -30px rgba(20,20,26,0.45);
}
.pillar--media:hover .pillar__media { opacity: 1; transform: scale(1); }
.pillar--media:hover::after { opacity: 1; }
.pillar--media:hover h3 { color: var(--p1-bone); }
.pillar--media:hover p { color: rgba(246,242,233,0.94); }
.pillar--media:hover .tag {
  border-color: rgba(246,242,233,0.4);
  color: rgba(246,242,233,0.92);
  background: rgba(255,255,255,0.08);
}

@media (hover: none) {
  .pillar--media .pillar__media { opacity: 0.35; transform: scale(1); }
  .pillar--media::after { opacity: 0.55; }
}

/* ---------- Generalized full-bleed photo section (Pattern, Founding Truth, Hydration) ---------- */
.pattern-section {
  position: relative;
  padding: var(--section-y) 0;
  isolation: isolate;
  color: var(--p1-bone);
  overflow: hidden;
  background: var(--p1-ink);
}
.pattern-section__bg {
  position: absolute;
  inset: 0;
  background: var(--pattern-bg, none) center/cover no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 12s ease-out;
}
.pattern-section[data-bg="woman"]  .pattern-section__bg {
  background-image: url('../assets/lifestyle/woman-walking-wide.jpg');
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* PDF layout: image carries its own orange-to-brown gradient; only a faint
   right-side deepen so the copy column stays readable */
.pattern-section[data-bg="woman"]::before {
  background:
    linear-gradient(90deg,
      rgba(40,18,4,0) 0%,
      rgba(40,18,4,0) 40%,
      rgba(40,18,4,0.16) 58%,
      rgba(40,18,4,0.26) 100%);
}
.pattern-section[data-bg="runner"] .pattern-section__bg { background-image: url('../assets/lifestyle/track-runner-water.jpg'); }
.pattern-section[data-bg="kid"]    .pattern-section__bg {
  background-image: url('../assets/lifestyle/young-boys-backpack-wide.jpg');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pattern-section[data-bg="nature"] .pattern-section__bg { background-image: url('../assets/lifestyle/fractal-nature.jpg'); }
.pattern-section[data-bg="body"]   .pattern-section__bg { background-image: url('../assets/lifestyle/fractal-body.jpg'); }

.pattern-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(8,8,12,0.55) 0%, rgba(8,8,12,0.78) 75%, rgba(8,8,12,0.88) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Lighter overlay on the runner section so the lifestyle photo reads brighter */
.pattern-section[data-bg="runner"]::before {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(8,8,12,0.30) 0%, rgba(8,8,12,0.55) 75%, rgba(8,8,12,0.70) 100%);
}
/* Kid (Three-Layer Hydration): PDF layout — teal image reads as-is, faint
   left-side deepen behind the copy, fully clear where the boy runs */
.pattern-section[data-bg="kid"]::before {
  background:
    linear-gradient(90deg,
      rgba(10,38,42,0.35) 0%,
      rgba(10,38,42,0.14) 42%,
      rgba(10,38,42,0) 62%);
}
.pattern-section > .container { position: relative; z-index: 2; }
.pattern-section h2, .pattern-section h3 { color: var(--p1-bone); }
.pattern-section p, .pattern-section .lead { color: rgba(246,242,233,0.88); }
.pattern-section .eyebrow { color: rgba(246,242,233,0.92); }
.pattern-section .eyebrow::before { background: var(--p1-orange); }
.pattern-section .divider { background: var(--p1-orange); }
.pattern-section .text-link { color: var(--p1-bone); border-color: rgba(246,242,233,0.5); }
.pattern-section .text-link:hover { color: var(--p1-orange); border-color: var(--p1-orange); }
.pattern-section .pillar {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.pattern-section .pillar h3 { color: var(--p1-bone); transition: color .35s var(--ease-out); }
.pattern-section .pillar p { color: rgba(246,242,233,0.82); transition: color .35s var(--ease-out); }

/* Hover state — flip to white card with ink text for legibility */
.pattern-section .pillar:hover {
  background: var(--p1-bone);
  border-color: rgba(20,20,26,0.1);
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -30px rgba(8,8,12,0.55);
}
.pattern-section .pillar:hover h3 { color: var(--p1-ink); }
.pattern-section .pillar:hover p { color: rgba(20,20,26,0.78); }
.pattern-section .btn-ghost { color: var(--p1-bone); border-color: rgba(246,242,233,0.4); }
.pattern-section .btn-ghost:hover { border-color: var(--p1-orange); color: var(--p1-orange); }

/* Stretchy content for story-style pattern sections */
.pattern-section .story-narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.pattern-section .story-narrow .lead { margin-left: auto; margin-right: auto; }
.pattern-section .story-narrow .divider { margin: 1.8rem auto 2rem; }
.pattern-section .story-narrow p { margin-left: auto; margin-right: auto; }

/* ---------- Inside-the-Can (Interactive System Grid) ---------- */
.systems {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
  align-items: stretch;
}
.systems__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.system-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(20,20,26,0.08);
  background: var(--p1-paper);
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.system-row:hover, .system-row.is-active {
  transform: translateX(4px);
  border-color: var(--system-color);
  background: var(--p1-bone);
}
.system-row__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--system-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--system-color) 18%, transparent);
  transition: box-shadow .3s, transform .3s;
}
.system-row.is-active .system-row__dot { box-shadow: 0 0 0 8px color-mix(in srgb, var(--system-color) 24%, transparent); }
.system-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--p1-ink);
}
.system-row__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--system-color);
  opacity: 0.85;
}
.system-row[data-system="neural"]    { --system-color: var(--neural); }
.system-row[data-system="vascular"]  { --system-color: var(--vascular); }
.system-row[data-system="hydration"] { --system-color: var(--hydration); }
.system-row[data-system="energy"]    { --system-color: var(--energy); }
.system-row[data-system="drive"]     { --system-color: var(--drive); }

.systems__visual {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--active-color, var(--neural)) 18%, transparent) 0%, transparent 60%),
    var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  padding: 2.2rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 1.2s var(--ease-soft);
}
/* Fractal-orange topo lines, tinted to the active system color */
.systems__visual::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-color: var(--active-color, var(--neural));
  -webkit-mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
          mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  opacity: 0.85;
  pointer-events: none;
  animation: contour-drift 30s ease-in-out infinite alternate;
  transition: background-color 1s var(--ease-soft), opacity .6s var(--ease-soft);
}
.systems__visual > * { position: relative; }
.systems__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20,20,26,0.6);
}
.systems__head strong { color: var(--active-color, var(--neural)); }
.systems__symbol {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--active-color, var(--neural));
  margin: 1rem 0;
}
.systems__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--p1-ink);
}
.systems__mech {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(20,20,26,0.78);
  margin-top: 0.8rem;
  max-width: 42ch;
}
.systems__footer {
  display: flex;
  gap: 1.6rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(20,20,26,0.1);
}
.systems__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.systems__stat span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20,20,26,0.5);
}
.systems__stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--p1-ink);
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .systems { grid-template-columns: 1fr; }
  .systems__visual { min-height: 360px; }
}

/* ---------- Audience Grid ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.audience {
  padding: 2rem 1.6rem;
  background: var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  border-radius: var(--radius);
  transition: background .3s, transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  position: relative;
}
.audience:hover {
  background: var(--p1-bone);
  border-color: var(--p1-orange);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(20,20,26,0.2);
}

/* Media-backed audience cards with image rollover */
.audience--media {
  padding: 0;
  overflow: hidden;
  min-height: 520px;
  border-color: rgba(20,20,26,0.1);
  background: var(--p1-paper);
  isolation: isolate;
  cursor: pointer;
}
.audience--media .audience__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .55s var(--ease-soft), transform 1.4s var(--ease-soft);
  z-index: 0;
}
.audience--media[data-persona="athlete"]      .audience__media { background-image: url('../assets/lifestyle/track-runner-water.jpg'); }
.audience--media[data-persona="student"]      .audience__media { background-image: url('../assets/lifestyle/young-boys-backpack.png'); }
.audience--media[data-persona="parent"]       .audience__media { background-image: url('../assets/lifestyle/woman-walking.png'); }
.audience--media[data-persona="professional"] .audience__media { background-image: url('../assets/hero/bg-gym.jpg'); }
.audience--media[data-persona="warrior"]      .audience__media { background-image: url('../assets/hero/bg-sprint.jpg'); }
.audience--media[data-persona="senior"]       .audience__media { background-image: url('../assets/lifestyle/active-senior.jpg'); }

.audience-grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .audience-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .audience-grid--6 { grid-template-columns: 1fr; } }

.audience--media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,12,0.0) 0%, rgba(8,8,12,0.55) 60%, rgba(8,8,12,0.85) 100%);
  opacity: 0;
  transition: opacity .55s var(--ease-soft);
  z-index: 1;
  pointer-events: none;
}
.audience--media .audience__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
  justify-content: flex-end;
  transition: color .4s var(--ease-out);
}
.audience--media .audience__tag {
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
}
.audience--media h3 { margin-bottom: 0.8rem; font-size: 1.5rem; }
.audience--media p { transition: color .4s var(--ease-out); }
.audience--media ul {
  opacity: 0.85;
  transition: opacity .35s var(--ease-out), color .4s var(--ease-out);
}

.audience--media:hover {
  transform: translateY(-6px);
  border-color: var(--p1-orange);
  box-shadow: 0 40px 80px -30px rgba(20,20,26,0.45);
}
.audience--media:hover .audience__media { opacity: 1; transform: scale(1); }
.audience--media:hover::after { opacity: 1; }
.audience--media:hover .audience__inner { color: var(--p1-bone); }
.audience--media:hover .audience__tag { color: #ffd5b8; }
.audience--media:hover h3 { color: var(--p1-bone); }
.audience--media:hover p,
.audience--media:hover li { color: rgba(246,242,233,0.92); }
.audience--media:hover li::before { color: var(--p1-orange); }
.audience--media:focus-within { outline: 2px solid var(--p1-orange); outline-offset: 4px; }
.audience--media:hover .audience__inner ul { opacity: 1; }

@media (hover: none) {
  .audience--media .audience__media { opacity: 0.45; transform: scale(1); }
  .audience--media::after { opacity: 0.6; }
}
.audience__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p1-orange);
  margin-bottom: 1rem;
}
.audience h3 { margin-bottom: 0.7rem; font-size: 1.4rem; }
.audience ul { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.audience li {
  font-size: 0.9rem;
  padding-left: 1.1rem;
  position: relative;
  color: rgba(20,20,26,0.75);
}
.audience li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--p1-orange);
}
.is-dark .audience, .is-blue .audience, .is-teal .audience, .is-green .audience, .is-red .audience {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.is-dark .audience li, .is-blue .audience li, .is-teal .audience li, .is-green .audience li, .is-red .audience li { color: rgba(246,242,233,0.85); }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- Cert Bar ---------- */
.cert-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(20,20,26,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
  background: var(--p1-paper);
}
.cert-bar--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .cert-bar--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .cert-bar--5 { grid-template-columns: repeat(2, 1fr); } }
.cert {
  padding: 1.5rem 1.2rem;
  border-right: 1px solid rgba(20,20,26,0.1);
  text-align: center;
  transition: background .25s;
}
.cert:last-child { border-right: 0; }
.cert:hover { background: var(--p1-bone); }
.cert__title { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--p1-ink); }
.cert__desc { font-size: 0.78rem; color: rgba(20,20,26,0.65); margin-top: 0.5rem; line-height: 1.4; }
.is-dark .cert-bar, .is-blue .cert-bar, .is-teal .cert-bar, .is-green .cert-bar, .is-red .cert-bar {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1);
}
.is-dark .cert, .is-blue .cert, .is-teal .cert, .is-green .cert, .is-red .cert { border-right-color: rgba(255,255,255,0.1); }
.is-dark .cert__title, .is-blue .cert__title, .is-teal .cert__title, .is-green .cert__title, .is-red .cert__title { color: var(--p1-bone); }
.is-dark .cert__desc, .is-blue .cert__desc, .is-teal .cert__desc, .is-green .cert__desc, .is-red .cert__desc { color: rgba(246,242,233,0.7); }
.is-dark .cert:hover, .is-blue .cert:hover, .is-teal .cert:hover, .is-green .cert:hover, .is-red .cert:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 800px) {
  .cert-bar { grid-template-columns: repeat(2, 1fr); }
  .cert:nth-child(2) { border-right: 0; }
  .cert:nth-child(1), .cert:nth-child(2) { border-bottom: 1px solid rgba(20,20,26,0.1); }
}

/* ---------- Tag Pills ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem;
  border: 1px solid rgba(20,20,26,0.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(20,20,26,0.78);
  background: rgba(255,255,255,0.5);
}
.is-dark .tag, .is-blue .tag, .is-teal .tag, .is-green .tag, .is-red .tag { border-color: rgba(246,242,233,0.25); color: rgba(246,242,233,0.85); background: rgba(255,255,255,0.06); }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }

/* ---------- Quote Block ---------- */
.quote { padding: 2.5rem 0; text-align: center; }
.quote__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 28ch;
  margin: 0 auto 1.2rem;
}
.quote__text em {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--p1-orange);
}
.quote__attr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(20,20,26,0.55);
}
.is-dark .quote__attr, .is-blue .quote__attr, .is-teal .quote__attr, .is-green .quote__attr, .is-red .quote__attr { color: rgba(246,242,233,0.65); }

/* ---------- CTA Section ---------- */
.cta-block {
  padding: clamp(1.25rem, 2.2vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  max-width: 880px;
  margin-inline: auto;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(30,58,138,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(14,124,123,0.45) 0%, transparent 55%),
    var(--p1-ink);
  color: var(--p1-bone);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Brand fractal overlay — tiled at 1600px so the pattern reads zoomed-out
   (matches the banner treatment), then repeats for full coverage */
.cta-block::before {
  content: "";
  position: absolute;
  inset: -4%;
  background: url('../assets/hero/fractal-orange.png') center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
  animation: contour-drift 40s ease-in-out infinite alternate;
  z-index: 0;
}
/* Soft bottom vignette so copy reads cleanly */
.cta-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(8,8,12,0.4) 90%);
  pointer-events: none;
  z-index: 0;
}
.cta-block > * { position: relative; z-index: 1; }
/* Keep the closing CTA compact — h-1 at full display scale made the box enormous */
.cta-block h2 {
  color: var(--p1-bone);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.08;
}
.cta-block .lead { font-size: clamp(0.85rem, 1vw, 0.95rem); }
.cta-block p { color: rgba(246,242,233,0.85); }
.cta-block .btn-ghost {
  color: var(--p1-bone);
  border-color: var(--p1-bone);
}
.cta-block .btn-ghost:hover {
  color: var(--p1-orange);
  border-color: var(--p1-orange);
}
/* (cta-block--flip variant removed — obsolete once the can-shape mask was
   replaced by the full-coverage contour tile; all CTAs share the base style) */

/* ---------- Footer ---------- */
.footer {
  background: var(--p1-mist);
  padding: 5rem 0 2rem;
  color: rgba(20,20,26,0.75);
  border-top: 1px solid rgba(20,20,26,0.08);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(20,20,26,0.08);
}
.footer__brand img { height: 32px; margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.92rem; max-width: 32ch; color: rgba(20,20,26,0.7); }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p1-graphite);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { font-size: 0.92rem; opacity: 0.78; color: var(--p1-ink); }
.footer__col a:hover { opacity: 1; color: var(--p1-orange); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: rgba(20,20,26,0.5);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__legal {
  font-size: 0.7rem;
  text-align: center;
  margin-top: 2.5rem;
  color: rgba(20,20,26,0.45);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .48s; }

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  padding: 10rem 0 5rem;
  background: var(--p1-bone);
  position: relative;
  overflow: hidden;
}
.page-header h1 { margin-bottom: 1.4rem; max-width: 18ch; }
.page-header .lead { max-width: 64ch; }

/* Media-backed dark variant (mirrors pattern-section) */
.page-header--media {
  background: var(--p1-ink);
  color: var(--p1-bone);
  isolation: isolate;
  padding: 11rem 0 6rem;
  min-height: 56vh;
  display: flex;
  align-items: center;
}
.page-header--media .page-header__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 14s ease-out;
}
.page-header--media[data-bg="couple"] .page-header__bg { background-image: url('../assets/lifestyle/couple.jpg'); }
.page-header--media[data-bg="woman"]  .page-header__bg { background-image: url('../assets/lifestyle/woman-walking.png'); }
.page-header--media[data-bg="kid"]    .page-header__bg { background-image: url('../assets/lifestyle/young-boys-backpack.png'); }
.page-header--media[data-bg="hikers"] .page-header__bg { background-image: url('../assets/lifestyle/hikers.jpg'); }
.page-header--media[data-bg="formula"] .page-header__bg { background-image: url('../assets/hero/formula-hero.jpg'); background-position: center right; }

/* ---------- Formula page hero layout ---------- */
.page-header--formula {
  min-height: clamp(520px, 50vw, 780px);
  padding-top: clamp(5rem, 8vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
/* Lighter overlay — the formula-hero photo already has dark mid-tones; the
   global page-header--media::before gradient was crushing the blues */
.page-header--formula::before {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(8,8,12,0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,8,12,0.30) 0%, rgba(8,8,12,0.20) 50%, rgba(8,8,12,0.45) 100%);
}
.formula-hero__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}
/* Headline scaled down so each line ("Every ingredient.", "Every system.",
   "Every mechanism.") fits on its own row in the copy column */
.formula-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 5.2rem) !important;
  line-height: 1.0;
  text-wrap: nowrap;
}
/* "Every mechanism." stays in Archivo bold (NOT the global IBM Plex accent),
   just shifted to PLAYR1 orange */
.formula-hero__accent {
  color: var(--p1-orange);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: inherit;
  display: inline;
}
.formula-hero__products {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(360px, 38vw, 540px);
  aspect-ratio: 1/1;
  margin-inline: auto;
  width: 100%;
  max-width: 560px;
}
/* Halo + ring borrowed from .cans-stage on the home hero so the formula
   products sit in the same orange/lime glow with the rotating dashed ring */
.formula-hero__products::before,
.formula-hero__products::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.formula-hero__products::before {
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,90,31,0.22) 0%, transparent 55%),
    radial-gradient(circle, rgba(214,232,74,0.10) 0%, transparent 70%);
  filter: blur(28px);
  animation: halo-pulse 8s ease-in-out infinite;
  z-index: 0;
}
.formula-hero__products::after {
  inset: 6%;
  border: 1px dashed rgba(246,242,233,0.35);
  border-radius: 50%;
  animation: ring-rotate 60s linear infinite;
  z-index: 0;
}
.formula-hero__can,
.formula-hero__stick {
  position: absolute;
  transition: transform .6s var(--ease-out);
  will-change: transform;
}
.formula-hero__can {
  height: 90%;
  width: auto;
  z-index: 2;
  transform: translate(15%, 0) rotate(2deg);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}
.formula-hero__stick {
  height: 55%;
  width: auto;
  z-index: 1;
  transform: translate(-50%, 8%) rotate(-6deg);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.formula-hero__products:hover .formula-hero__can {
  transform: translate(18%, -10px) rotate(5deg) scale(1.04);
}
.formula-hero__products:hover .formula-hero__stick {
  transform: translate(-56%, 2%) rotate(-10deg) scale(1.05);
}

@media (max-width: 900px) {
  .formula-hero__layout { grid-template-columns: 1fr; }
  .formula-hero__products { min-height: 340px; margin-top: 1.5rem; }
  .formula-hero__title { white-space: normal; }
}
.page-header--media[data-bg="runner"] .page-header__bg { background-image: url('../assets/lifestyle/track-runner-water.jpg'); }
.page-header--media[data-bg="forest"] .page-header__bg { background-image: url('../assets/hero/bg-forest.jpg'); }
.page-header--media[data-bg="dune"]   .page-header__bg { background-image: url('../assets/hero/bg-dune.jpg'); }
.page-header--media[data-bg="sprint"] .page-header__bg { background-image: url('../assets/hero/bg-sprint.jpg'); }
.page-header--media[data-bg="olly"]   .page-header__bg {
  background-image: url('../assets/lifestyle/olly-header.jpg');
  background-position: right center;
  background-size: cover;
  background-color: #2d1b5e;
  background-repeat: no-repeat;
}

/* When the science h1 should size down to match the section .h-1 in the next slide */
.page-header__h1--smaller {
  font-size: clamp(2.2rem, 5.5vw, 4.6rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.025em !important;
}

/* Dark media page-header with split layout — copy left, image right (foreground) */
.page-header--media-split {
  padding: 10rem 0 5rem;
  min-height: 0;
  display: block;
}
.page-header--media-split .page-header__bg,
.page-header--media-split::before,
.page-header--media-split::after {
  display: none !important;
}
.page-header__media-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.page-header__media-copy { text-align: left; }
.page-header__media-copy h1,
.page-header__media-copy .lead,
.page-header__media-copy p { max-width: none; }
.page-header__media-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header__media-img img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
@media (max-width: 900px) {
  .page-header__media-grid { grid-template-columns: 1fr; }
  .page-header__media-img { order: -1; max-width: 480px; margin: 0 auto; }
}

/* Split page header — no bg image. Copy on one side, product on the other. */
.page-header--split {
  background: var(--p1-bone);
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header__split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.page-header__product {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header__product img {
  max-height: 88%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(20,20,26,0.18));
}
@media (max-width: 900px) {
  .page-header__split-grid { grid-template-columns: 1fr; }
  .page-header__product { aspect-ratio: 4/5; }
}

/* About — Brand Platform with video + fractal backdrop */
.brand-platform {
  position: relative;
  isolation: isolate;
  padding: var(--section-y) 0;
  overflow: hidden;
}
.brand-platform__bg {
  position: absolute;
  inset: -6%;
  background-color: var(--p1-orange);
  -webkit-mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
          mask: url('../assets/lifestyle/fractal-can.png') center/cover no-repeat;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  opacity: 0.10;
  pointer-events: none;
  animation: contour-drift 40s ease-in-out infinite alternate;
  z-index: 0;
}
.brand-platform > .container { position: relative; z-index: 1; }
.brand-platform__video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--p1-ink);
  box-shadow: 0 30px 60px -30px rgba(20,20,26,0.3);
}
.brand-platform__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shop format row with product visuals instead of icon boxes */
.format-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.format-pillar {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 2rem 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  border-top: 4px solid var(--p1-orange);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.format-pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20,20,26,0.2); }
.format-pillar--green { border-top-color: var(--hydration); }
.format-pillar__visual {
  position: relative;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.format-pillar__visual img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(20,20,26,0.2));
  transition: transform .4s var(--ease-out);
}
.format-pillar:hover .format-pillar__visual img { transform: scale(1.05) rotate(-2deg); }
.format-pillar__copy h3 { margin-bottom: 0.6rem; }
@media (max-width: 900px) { .format-row { grid-template-columns: 1fr; } }

.page-header--media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(8,8,12,0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(8,8,12,0.5) 0%, transparent 65%),
    linear-gradient(180deg, rgba(8,8,12,0.78) 0%, rgba(8,8,12,0.6) 50%, rgba(8,8,12,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
/* No fractal overlay on media page-headers — the header photos carry the pattern in the artwork */
.page-header--media > .container { position: relative; z-index: 2; }
.page-header--media h1, .page-header--media h2 { color: var(--p1-bone); }
.page-header--media p, .page-header--media .lead { color: rgba(246,242,233,0.88); }
.page-header--media .eyebrow { color: rgba(246,242,233,0.92); gap: 0; }
.page-header--media .eyebrow::before { display: none; }
.page-header--media .accent-mark { color: var(--p1-orange); }
.page-header--media .bg-contour { display: none; }
.accent-mark {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  color: var(--p1-orange);
  letter-spacing: -0.005em;
}

/* ---------- Body Map (illustrative) ---------- */
.body-map {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.body-map__visual {
  aspect-ratio: 3/4;
  background:
    radial-gradient(circle at 50% 28%, rgba(30,58,138,0.18) 0%, transparent 30%),
    radial-gradient(circle at 50% 60%, rgba(14,124,123,0.16) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(47,133,90,0.12) 0%, transparent 55%),
    var(--p1-paper);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(20,20,26,0.08);
}
.body-map__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600'%3E%3Cg fill='none' stroke='%231E3A8A' stroke-width='1' opacity='0.7'%3E%3Cpath d='M200,80 Q220,100 200,160 Q180,180 200,260 Q170,300 200,360 Q230,420 200,500'/%3E%3Cpath d='M200,160 Q160,180 130,220 Q100,260 90,320'/%3E%3Cpath d='M200,160 Q240,180 270,220 Q300,260 310,320'/%3E%3Cpath d='M200,260 Q160,300 140,360 Q120,420 130,500'/%3E%3Cpath d='M200,260 Q240,300 260,360 Q280,420 270,500'/%3E%3Cpath d='M130,220 Q120,250 110,290'/%3E%3Cpath d='M270,220 Q280,250 290,290'/%3E%3Cpath d='M90,320 Q80,360 80,400'/%3E%3Cpath d='M310,320 Q320,360 320,400'/%3E%3Ccircle cx='200' cy='80' r='30'/%3E%3Ccircle cx='200' cy='80' r='40'/%3E%3Ccircle cx='200' cy='80' r='50'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6;
}
.body-map__list { display: flex; flex-direction: column; gap: 1.2rem; }
.body-map__item {
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--p1-orange);
  background: var(--p1-paper);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.body-map__item h4 {
  color: var(--p1-orange);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.body-map__item p { font-size: 0.92rem; }
@media (max-width: 800px) { .body-map { grid-template-columns: 1fr; } }

/* ---------- Insight callout (science / formula) ---------- */
.insight-callout {
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(30,58,138,0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(14,124,123,0.40) 0%, transparent 55%),
    var(--p1-ink);
  color: var(--p1-bone);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Brand fractal overlay — zoomed-out tile to match .cta-block treatment */
.insight-callout::before {
  content: "";
  position: absolute;
  inset: -4%;
  background: url('../assets/hero/fractal-orange.png') center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: contour-drift 40s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.insight-callout > * { position: relative; z-index: 1; color: var(--p1-bone); }
.insight-callout h3 { color: var(--p1-bone); }
.insight-callout p, .insight-callout .lead { color: rgba(246,242,233,0.92); }
.insight-callout .eyebrow { color: var(--p1-bone); gap: 0; }
.insight-callout .eyebrow::before { display: none; }
.insight-callout strong { color: var(--p1-bone); }
.insight-callout .divider { background: rgba(246,242,233,0.4); }

/* ---------- Founder Quote / Story ---------- */
.founder-block {
  padding: clamp(3rem, 7vw, 5.5rem);
  background: var(--p1-paper);
  border: 1px solid rgba(20,20,26,0.08);
  border-radius: var(--radius-lg);
  margin-top: 3rem;
}
.founder-block .h-3 { color: var(--p1-orange); margin-bottom: 2rem; }
.founder-block p + p { margin-top: 1.2rem; }
.founder-block .signature {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(20,20,26,0.12);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20,20,26,0.7);
}
.is-dark .founder-block, .is-blue .founder-block, .is-teal .founder-block, .is-green .founder-block, .is-red .founder-block {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}

/* ---------- Misc helpers ---------- */
.divider { width: 60px; height: 3px; background: var(--p1-orange); margin: 1.6rem 0 2rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.flex { display: flex; gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ---------- Parallax helpers ---------- */
.parallax { will-change: transform; }

/* ---------- Reduced-motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   PDF REPLACEMENT LAYOUTS — Site Content Update 3.0
   Rebuilt to match "P1 Web Replacement layouts.pdf"
   ============================================================ */

/* Centered eyebrow over a left-aligned copy column (all three slides) */
.eyebrow--center { display: flex; justify-content: center; }

/* ---- Slide 1: The Founding Truth — copy left, large image card right ---- */
.truth-split {
  display: grid;
  grid-template-columns: 43fr 50fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.truth-split__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  line-height: 1.07;
  letter-spacing: -0.022em;
  color: var(--p1-ink);
  margin: 1.5rem 0 2.2rem;
  text-wrap: balance;
}
/* Sub-header sits on its own line in IBM Plex Sans (matches the hero/manifesto pattern) */
.truth-split__title .accent-mark {
  display: block;
  margin-top: 0.3em;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.018em;
}
.truth-split__copy p:not(.eyebrow) { font-size: 0.97rem; max-width: 48ch; }
.truth-split__copy p + p { margin-top: 1.05rem; }
.truth-split__cta { text-align: center; margin-top: 2.4rem; }
.truth-split__visual { margin: 0; }
.truth-split__visual img { width: 100%; display: block; border-radius: var(--radius-lg); }

/* ---- Slides 3 & 4: full-bleed photo, copy on one side (PDF 2:1 framing) ---- */
.pattern-section--pdf {
  display: flex;
  align-items: center;
  min-height: clamp(440px, 46vw, 660px);
  padding: clamp(3.2rem, 6.5vw, 5rem) 0;
}
.pattern-section--pdf > .container { width: 100%; }
.pattern-section--pdf .pattern-section__bg { transform: none; }

.bleed-copy { max-width: min(60%, 680px); }
.bleed-copy--right { margin-left: auto; max-width: min(62%, 720px); }
.bleed-copy__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 1.5rem 0 1.8rem;
  text-wrap: balance;
}
/* Sub-header runs inline in IBM Plex Sans on the bleed slides */
.bleed-copy__title .accent-mark {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: inherit;
}
.bleed-copy p:not(.eyebrow) { font-size: 1.1rem; max-width: 58ch; line-height: 1.55; }
.bleed-copy p + p { margin-top: 1.1rem; }
.bleed-copy__cta { text-align: center; margin-top: 2.4rem; max-width: 58ch; }

/* Cream cards on the Pattern slide (the PDF's three light boxes) */
.pillar-grid--paper { gap: 1.1rem; margin-top: 2.4rem; }
.pattern-section .pillar-grid--paper .pillar {
  background: #EFE9E0;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 14px;
  padding: 1.5rem 1.3rem;
}
.pattern-section .pillar-grid--paper .pillar h3 { color: var(--p1-ink); font-size: 1.02rem; margin-bottom: 0.55rem; }
.pattern-section .pillar-grid--paper .pillar p { color: rgba(20,20,26,0.72); font-size: 0.8rem; line-height: 1.5; }
.pillar-grid--paper .pillar__icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 0.9rem; font-size: 0.88rem; }

@media (max-width: 880px) {
  .truth-split { grid-template-columns: 1fr; gap: 2rem; }
  .truth-split__visual { order: -1; }
  .bleed-copy, .bleed-copy--right { max-width: 100%; }
  .pattern-section--pdf { min-height: 0; }
  .pattern-section[data-bg="kid"]::before { background: rgba(10,38,42,0.55); }
  .pattern-section[data-bg="woman"]::before { background: rgba(40,18,4,0.5); }
}

/* ---- Science page header: PDF Olly replacement layout ----
   Full-bleed purple skater, copy left, no overlays (image carries contrast) */
.page-header--olly {
  padding: 9.5rem 0 5.5rem;
  min-height: clamp(480px, 48vw, 700px);
}
/* Mirror the skater image so the figure sits on the LEFT and the copy column
   has the clean right half of the banner to live in */
.page-header--olly .page-header__bg { transform: scaleX(-1); }
.page-header--olly::before,
.page-header--olly::after { display: none; }
/* Copy block pushed to the right side of the container */
.page-header--olly .olly-copy {
  max-width: min(58%, 780px);
  margin-left: auto;
}
.page-header--olly .eyebrow {
  gap: 0.55rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}
.page-header--olly .eyebrow::before { display: inline-block; }
.page-header--olly h1.olly-copy__title {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: none;
  margin: 1.5rem 0 1.4rem;
  text-wrap: balance;
}
/* Sub-header sits on its own line in IBM Plex Sans, tight against the headline */
.olly-copy__title .accent-mark {
  display: block;
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.page-header--olly .lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.page-header--olly .lead { max-width: 56ch; font-size: 1.02rem; }
@media (max-width: 880px) {
  .page-header--olly .olly-copy { max-width: 100%; }
  .page-header--olly::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30,15,75,0.55);
    z-index: 1;
  }
}

/* ============================================================
   FAINT CAN-CONTOUR TEXTURE ON WHITE/LIGHT SURFACES
   Photo-backed sections (hero, pattern-section, media headers)
   are excluded — their artwork carries the fractal already.
   ============================================================ */
.is-light, .is-paper, .is-mist,
.page-header--split,
.manifesto,
section:not([class]) {
  isolation: isolate;
}
.is-light::before, .is-paper::before, .is-mist::before,
.page-header--split::before,
.manifesto::before,
section:not([class])::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Full-coverage contour tile; grayscale + multiply renders it as faint
     neutral lines on any light surface (the texture's white field vanishes) */
  background: url('../assets/hero/contour-orange.png') center top / 1100px auto repeat;
  /* brightness lifts the line gray toward white so even the darkest strokes
     can't exceed a whisper of contrast under multiply */
  filter: grayscale(1) brightness(1.55);
  mix-blend-mode: multiply;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

/* truth-split refinements (MTHFR slide): tight headline (no gap before the
   orange line) and a visual card that stretches flush with the copy column.
   The callout's content is top-aligned (not centered) so its first eyebrow
   reads in parallel with the left column's eyebrow/headline. */
.truth-split__title--tight .accent-mark { margin-top: -0.15em; }
.truth-split--stretch { align-items: stretch; }
.truth-split--stretch .truth-split__visual { display: flex; }
.truth-split--stretch .truth-split__visual > .insight-callout {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: clamp(1.4rem, 2.6vw, 2rem);
  padding-bottom: clamp(1.4rem, 2.6vw, 2rem);
}
.truth-split--stretch .truth-split__visual > .insight-callout > .eyebrow:first-child {
  margin-top: 0.4rem;
}
.truth-split--stretch .truth-split__visual > .insight-callout .divider {
  margin-top: auto;
}

/* ============================================================
   SITE 4.0 — Updated sitemap + content (Site C)
   Clean 2:1 banner headers, fractal cards, element categories,
   schools layouts, management grid, orange/zero feature bands.
   ============================================================ */

/* ---- Clean 2:1 banner page-headers (copy sits on the open side) ---- */
.page-header--banner {
  padding: 9.5rem 0 5.5rem;
  min-height: clamp(440px, 44vw, 640px);
  display: flex;
  align-items: center;
}
.page-header--banner .ph-copy { position: relative; max-width: min(54%, 660px); }
.page-header--banner.copy-right .ph-copy { margin-left: auto; }
.page-header--banner .ph-copy .lead { max-width: 52ch; }
.page-header--banner h1 { max-width: 17ch; }

/* Banner art + focal positions (subject stays clear of the copy column) */
.page-header[data-bg="our-story"] .page-header__bg { background-image: url('../assets/hero/hdr-our-story.jpg'); background-position: right center; }
.page-header[data-bg="science2"]  .page-header__bg { background-image: url('../assets/hero/science-header.jpg');   background-position: left 18%; filter: brightness(1.13) saturate(1.03); }
.page-header[data-bg="science2"] > .container { width: 100%; }
.page-header[data-bg="science2"] .ph-copy { max-width: min(52%, 620px); }
.page-header[data-bg="science2"] .h-1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); max-width: none; line-height: 1.06; }
.page-header[data-bg="science2"] .h-1 .accent-mark { display: block; font-style: italic; }
.page-header[data-bg="formula2"]  .page-header__bg { background-image: url('../assets/hero/hdr-formula.jpg');   background-position: left center; }
.page-header[data-bg="schools"]   .page-header__bg { background-image: url('../assets/hero/hdr-schools.jpg');   background-position: right center; }
.page-header[data-bg="press2"]    .page-header__bg { background-image: url('../assets/hero/hdr-press.jpg');     background-position: right center; }
.page-header[data-bg="shop2"]     .page-header__bg { background-image: url('../assets/hero/hdr-shop.jpg');      background-position: right center; }
/* ---- Home hero: full-bleed banner + left copy + rotating can/stick overlay ---- */
.page-header[data-bg="home"] .page-header__bg {
  background-image: url('../assets/hero/hdr-home.jpg');
  background-position: right top;
  background-size: cover;
  top: clamp(3.5rem, 5vw, 5.25rem);   /* push the figures down so their heads clear the fixed nav */
  filter: brightness(1.18) saturate(1.04);   /* lighten the banner to match the PDF */
}
/* lighter copy-side overlay on the home hero (match the PDF's brighter banner) */
.page-header--hero.copy-left::before {
  background: linear-gradient(90deg, rgba(10,14,20,0.5) 0%, rgba(10,14,20,0.28) 34%, rgba(10,14,20,0.06) 56%, rgba(10,14,20,0) 72%);
}
.page-header--hero {
  min-height: clamp(620px, 92vh, 940px);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* matches the banner's dark top edge so the pushed-down strip blends under the nav */
  background: linear-gradient(105deg, #23303a 0%, #212e37 46%, #2a2a33 72%, #32262e 100%);
}
/* copy hugs the left edge on every width — no centered-container dead space */
.page-header--hero .hero-wrap {
  position: relative; z-index: 3;
  width: 100%;
  padding: 5.5rem clamp(1.5rem, 5vw, 5.5rem) 4rem;
}
.page-header--hero .ph-copy { max-width: min(52%, 780px); }
.page-header--hero h1 { max-width: none; font-size: clamp(2.4rem, 6.6vw, 6rem); line-height: 0.94; white-space: nowrap; }
.page-header--hero .lead { max-width: 42ch; }

/* rotating can + stick, seated in the dashed ring over the figures */
.hero-stage {
  position: absolute;
  top: 53%; left: 59%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 30vw, 460px);
  aspect-ratio: 1;
  z-index: 2;
  pointer-events: none;
}
.hero-stage .can-slot { display: flex; align-items: center; justify-content: center; }
.hero-stage .hero-can { height: 78%; width: auto; filter: drop-shadow(0 24px 44px rgba(0,0,0,0.55)); }
.hero-stage .hero-stick { position: absolute; left: 13%; bottom: 14%; height: 42%; width: auto; transform: rotate(-7deg); filter: drop-shadow(0 16px 30px rgba(0,0,0,0.5)); }
/* hero ring lower accent dot → blue (matches mockup) */
.hero-stage .cans-stage__ring::after { background: #2E7DE0; box-shadow: 0 0 14px rgba(46,125,224,0.6); }
/* the can render already includes a stick → hide the duplicate overlay stick */
.hero-stage .hero-stick { display: none; }
.hero-stage .hero-can { height: 86%; }
/* home section eyebrows: orange, no leading dot (matches mockups) */
.eyebrow--bare { color: var(--p1-orange); }
.eyebrow--bare::before { display: none; }

@media (max-width: 980px) {
  .page-header--hero { min-height: 0; flex-direction: column; }
  .page-header--hero .page-header__bg { top: 0; opacity: 0.4; }
  .page-header--hero .hero-wrap { order: 1; }
  .page-header--hero .ph-copy { max-width: 100%; }
  .hero-stage { order: 2; position: relative; top: auto; left: auto; transform: none; margin: 0 auto 3rem; width: min(320px, 70%); }
}

/* Side-weighted overlay so the photo subject reads while copy stays legible.
   Higher specificity than the base .page-header--media::before, so it wins. */
.page-header--media.copy-left::before {
  background: linear-gradient(90deg, rgba(8,10,14,0.84) 0%, rgba(8,10,14,0.62) 34%, rgba(8,10,14,0.16) 56%, rgba(8,10,14,0) 72%);
}
.page-header--media.copy-right::before {
  background: linear-gradient(270deg, rgba(8,10,14,0.84) 0%, rgba(8,10,14,0.62) 34%, rgba(8,10,14,0.16) 56%, rgba(8,10,14,0) 72%);
}
@media (max-width: 880px) {
  .page-header--banner .ph-copy { max-width: 100%; }
  .page-header--media.copy-left::before,
  .page-header--media.copy-right::before { background: rgba(8,10,14,0.62); }
}

/* ---- "You are a fractal" — three system cards (home), no boxes ---- */
.frac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); margin-top: 3rem; }
.frac-card { display: flex; flex-direction: column; color: var(--fc, var(--p1-orange)); }
.frac-card__img { aspect-ratio: 16/10; background: #07060a center/cover no-repeat; border-radius: 18px; }
.frac-card__sym { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--fc); line-height: 1; margin-top: 1.1rem; display: flex; align-items: center; min-height: 1.8rem; }
.frac-card__sym svg { width: 1.85rem; height: 1.85rem; display: block; }
.frac-card__label { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--fc); margin: 0.5rem 0 0.7rem; }
.frac-card__desc { font-size: 0.9rem; line-height: 1.55; color: var(--p1-ink); }
.frac-card--neural   { --fc: #17A5DD; }
.frac-card--vascular { --fc: #E5392C; }
.frac-card--cellular { --fc: #8FC63F; }
@media (max-width: 800px) { .frac-grid { grid-template-columns: 1fr; } }

/* ---- MAD brand-statement segment list (home) ---- */
.mad-letters { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.8rem, 5.5vw, 4.5rem); letter-spacing: 0.04em; line-height: 1; }
.mad-letters span { color: var(--p1-orange); font-size: 0.5em; vertical-align: 0.3em; }
.seg-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.seg { padding-left: 1.1rem; border-left: 3px solid var(--sc, var(--p1-orange)); }
.seg h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc, var(--p1-orange)); margin-bottom: 0.3rem; font-weight: 600; }
.seg p { font-size: 0.9rem; }
.seg--1 { --sc: var(--p1-orange); } .seg--2 { --sc: var(--neural); } .seg--3 { --sc: var(--vascular); }
.seg--4 { --sc: var(--hydration); } .seg--5 { --sc: var(--energy); } .seg--6 { --sc: var(--drive); }

/* M·A·D brand statement — 3-column (image | statement | segments) */
/* Five criteria — copy + lineup on top, 5 icon columns below */
.crit-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(0.5rem, 1.5vw, 1.25rem); align-items: center; }
.crit-top__copy { position: relative; z-index: 3; }
.crit-top__copy h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.0; letter-spacing: -0.035em; }
.crit-top__copy h2 .accent-mark { display: block; white-space: nowrap; font-size: 0.8em; font-weight: 500; letter-spacing: -0.015em; margin-top: 0.04em; }
.crit-lineup { position: relative; z-index: 1; margin: 0; display: flex; justify-content: flex-end; align-items: center; }
.crit-lineup img { width: 88%; max-width: none; height: auto; display: block; }
.crit-icons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.crit-icon { text-align: center; display: flex; flex-direction: column; align-items: center; }
.crit-icon__art { height: 104px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; color: var(--p1-ink); }
.crit-icon__art img { max-height: 100px; width: auto; }
.crit-icon__art svg { height: 84px; width: auto; }
.crit-icon__art .maha-word, .crit-icon__art .usda-ph { font-family: var(--font-display); font-weight: 900; font-size: 2.5rem; letter-spacing: 0.01em; color: var(--p1-ink); line-height: 1; }
.crit-icon__art .usda-ph { border-bottom: 4px solid var(--p1-ink); padding-bottom: 4px; }
.crit-icon h3 { font-family: var(--font-display); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.15; color: var(--cc, var(--p1-orange)); margin-bottom: 0.8rem; }
.crit-icon p { font-size: 0.86rem; line-height: 1.5; color: var(--p1-ink); max-width: 25ch; }
.crit-icon--nsf    { --cc: var(--p1-orange); }
.crit-icon--usda   { --cc: #2E7DE0; }
.crit-icon--maha   { --cc: #E5392C; }
.crit-icon--pharma { --cc: #8FC63F; }
.crit-icon--batch  { --cc: #E5249A; }
@media (max-width: 900px) {
  .crit-top { display: flex; flex-direction: column; }
  .crit-top__copy { max-width: 100%; }
  .crit-lineup { position: static; transform: none; width: 100%; order: -1; margin-bottom: 1.5rem; }
  .crit-lineup img { width: 100%; margin-left: 0; }
  .crit-icons { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.5rem; }
}
@media (max-width: 520px) { .crit-icons { grid-template-columns: 1fr; } }

/* Same Formula. Every body. — purple block, group photo left, 6 cards right */
.sameformula {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: url('../assets/lifestyle/whoitsfor-bg.jpg') left center / cover no-repeat, #4a2bae;
  color: #fff;
}
.sameformula::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,14,72,0.55) 0%, rgba(28,14,72,0) 36%);
  pointer-events: none; z-index: 1;
}
.sf-people { display: none; }
.sf-people--legacy {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: clamp(320px, 52%, 940px);
  background: url('../assets/lifestyle/group-6.jpg') left center / cover no-repeat;
  z-index: 1;
}
.sf-people::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(52,28,120,0) 64%, #4a2bae 100%),
    linear-gradient(0deg, rgba(40,20,95,0.55) 0%, rgba(40,20,95,0) 32%);
}
/* full-bleed content so the card group reaches the right edge on wide screens (not stuck in a 1280 box) */
.sameformula > .container { max-width: none; padding-left: clamp(1.5rem, 5.5vw, 6rem); padding-right: clamp(1.5rem, 3.5vw, 3.5rem); }
.sf-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.82fr 1.2fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem); align-items: stretch;
}
.sf-intro { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 0.5rem; min-height: 460px; }
.sf-cards { align-self: start; }
.sf-intro .eyebrow { color: var(--p1-orange); }
.sf-intro h2 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 0.98; margin-top: 1rem; }
.sf-intro h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--p1-orange); display: block; }
.sf-intro p { color: rgba(255,255,255,0.92); font-size: 0.95rem; line-height: 1.55; margin-top: 1.3rem; max-width: 44ch; }
.sf-cards { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(0.6rem, 1vw, 1rem); }
.sf-card { background: rgba(236, 233, 247, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 16px; padding: 1.2rem 1.35rem; }
.sf-card__tag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #2E7DE0; text-align: center; font-weight: 600; margin-bottom: 0.5rem; }
.sf-card__head { font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; text-transform: uppercase; text-align: center; color: var(--p1-ink); line-height: 1.15; margin-bottom: 0.8rem; }
.sf-card__sub { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; text-align: center; color: var(--p1-ink); margin-bottom: 0.7rem; }
.sf-card__body { font-size: 0.78rem; line-height: 1.45; color: rgba(20,20,26,0.82); margin-bottom: 0.7rem; }
.sf-card__list { display: flex; flex-direction: column; gap: 0.42rem; }
.sf-card__list li { position: relative; padding-left: 1.15rem; font-size: 0.78rem; line-height: 1.4; color: rgba(20,20,26,0.82); }
.sf-card__list li::before { content: "→"; position: absolute; left: 0; color: var(--p1-orange); }
@media (max-width: 1000px) {
  .sf-grid { grid-template-columns: 1fr; }
  .sf-people { position: relative; width: 100%; height: 300px; left: 0; }
  .sf-people::after { background: linear-gradient(0deg, rgba(40,20,95,0.85) 4%, rgba(40,20,95,0) 55%); }
  .sf-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .sf-cards { grid-template-columns: 1fr; } }

/* Founding-principle quote — orange band on white */
.quote-band {
  max-width: 1080px; margin: 0 auto;
  background: var(--p1-orange);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.8vw, 2.4rem) clamp(2rem, 5vw, 4.5rem);
}
.quote-band__text {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.16;
  color: #fff; letter-spacing: -0.01em; text-wrap: balance;
}
.quote-band__attr {
  text-align: right; margin-top: 1.4rem;
  font-family: var(--font-body); font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--p1-ink); font-weight: 500;
}
/* visible fractal/topo backdrop on the closing quote section */
.quote-section { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.quote-section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../assets/hero/fractal-master.png') center / 132% no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.07;
}
.quote-section > .container { position: relative; z-index: 1; }

.mad-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.05fr 1.18fr;
  gap: clamp(1.25rem, 2.6vw, 2.6rem);
  align-items: stretch;
}
.mad-figure { margin: 0; display: flex; align-items: flex-end; justify-content: flex-start; min-height: 520px; }
.mad-figure img { width: 100%; max-width: 100%; height: 100%; object-fit: contain; object-position: left bottom; }
/* M·A·D section: tighter top/bottom padding so the figure + columns sit high (matches PDF) */
.mad-section { padding-top: clamp(3.5rem, 5vw, 4.75rem); padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
/* middle column is TOP-aligned (eyebrow near the top, whitespace below the last paragraph) */
.mad-statement { align-self: start; padding-top: clamp(1.5rem, 4vw, 3.2rem); }
.mad-statement .mad-letters { color: var(--p1-ink); }
.mad-statement p:not(.eyebrow) { color: var(--p1-ink); }
.mad-statement .mad-italic { font-family: var(--font-serif); font-style: italic; font-size: 1.06rem; line-height: 1.55; color: var(--p1-ink); }
.mad-segs { display: flex; flex-direction: column; gap: 1rem; align-self: start; padding-top: clamp(1.25rem, 2.5vw, 2rem); }
.mad-seg__cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--p1-orange); font-weight: 600; }
.mad-seg__head { font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.01em; color: var(--p1-ink); margin: 0.16rem 0 0.26rem; display: flex; gap: 0.5rem; align-items: baseline; }
.mad-seg__head::before { content: "→"; color: var(--p1-orange); font-weight: 700; }
.mad-seg__desc { font-size: 0.82rem; line-height: 1.45; color: rgba(20,20,26,0.66); margin-left: 1.5rem; }
@media (max-width: 1000px) {
  .mad-grid { grid-template-columns: 1fr 1fr; }
  .mad-figure { grid-column: 1 / -1; order: -1; min-height: 0; align-items: center; }
  .mad-figure img { height: auto; max-height: 360px; }
}
@media (max-width: 680px) { .mad-grid { grid-template-columns: 1fr; } }

/* ---- Element-table category legend (formula) ---- */
.el-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; margin-top: 2.5rem; }
.el-cat { padding: 0.9rem 1rem; border-radius: 12px; background: var(--p1-paper); border: 1px solid rgba(20,20,26,0.08); border-top: 3px solid var(--ec, var(--p1-orange)); }
.el-cat h4 { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; color: var(--ec, var(--p1-orange)); text-transform: uppercase; letter-spacing: 0.01em; }
.el-cat p { font-size: 0.72rem; color: rgba(20,20,26,0.6); margin-top: 0.3rem; line-height: 1.4; }
.el-cat--neural { --ec: var(--neural); } .el-cat--vascular { --ec: var(--vascular); } .el-cat--cellular { --ec: var(--hydration); } .el-cat--energy { --ec: var(--energy); } .el-cat--drive { --ec: var(--drive); }
@media (max-width: 900px) { .el-cats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Arrow list (schools / shop / universities bullet lists) ---- */
.arrow-list { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1rem; }
.arrow-list li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; color: rgba(20,20,26,0.78); line-height: 1.45; }
.arrow-list li::before { content: "→"; position: absolute; left: 0; color: var(--p1-orange); font-weight: 700; }
.is-dark .arrow-list li, .is-ink .arrow-list li { color: rgba(246,242,233,0.85); }

/* ---- Orange feature band (schools CTA + formula/shop zero band) ---- */
.band-orange {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem);
  background: linear-gradient(120deg, var(--p1-orange) 0%, var(--p1-orange-deep) 100%);
  color: #fff;
}
.band-orange::before {
  content: ""; position: absolute; inset: -4%;
  background: url('../assets/hero/contour-orange.png') center / 1100px auto repeat;
  filter: grayscale(1) brightness(2); mix-blend-mode: overlay; opacity: 0.18; pointer-events: none; z-index: 0;
}
.band-orange > * { position: relative; z-index: 1; }
.band-orange h2, .band-orange h3 { color: #fff; }
.band-orange p, .band-orange .lead { color: rgba(255,255,255,0.92); }
.band-orange .eyebrow { color: #fff; }
.band-orange .btn-white { background: #fff; color: var(--p1-orange); border-color: #fff; }
.band-orange .btn-white:hover { color: var(--p1-orange-deep); border-color: #fff; }

/* Zero band: big 0 + inline facts (formula + shop) */
.zero-band { display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3rem); flex-wrap: wrap; }
.zero-band__0 { font-family: var(--font-display); font-weight: 900; font-size: clamp(4rem, 12vw, 8.5rem); line-height: 0.8; }
.zero-band__txt { flex: 1; min-width: 260px; }
.zero-band__txt h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); margin-bottom: 0.5rem; }

/* ---- Shop 5-up flavor grid ---- */
.product-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .product-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .product-grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* ---- Management team / press contact avatar ---- */
.avatar-mono {
  width: 88px; height: 88px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--p1-ink); color: var(--p1-bone);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.02em;
}
.mgmt-card { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; }
.mgmt-card .role { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p1-orange); margin-bottom: 0.5rem; }
.mgmt-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.mgmt-card .bio { font-size: 0.9rem; }
.mgmt-card .pull { font-family: var(--font-serif); font-style: italic; color: var(--p1-graphite); font-size: 0.92rem; margin-top: 0.8rem; line-height: 1.5; }
@media (max-width: 520px) { .mgmt-card { grid-template-columns: 1fr; } }

/* ===================== OUR STORY PAGE (Site 4.0) ===================== */
/* Header banner — football player art (player right, topo left, dark) */
.page-header--media[data-bg="our-story"] .page-header__bg { background-image: url('../assets/hero/our-story-header.jpg'); background-position: right 22%; }
.page-header--media[data-bg="our-story"] > .container { width: 100%; }
.page-header--media[data-bg="our-story"] .ph-copy { max-width: min(56%, 640px); }
.page-header--media[data-bg="our-story"] .h-1 { font-size: clamp(2rem, 3.4vw, 3.05rem); max-width: none; line-height: 1.06; }
.page-header--media[data-bg="our-story"] .h-1 .accent-mark { display: block; }
.os-hero-quote { font-style: italic; font-size: clamp(0.95rem, 1.5vw, 1.15rem); line-height: 1.5; color: rgba(255,255,255,0.9); max-width: 38ch; margin-top: 1.5rem; }

/* Founder slide — BLACK; full-bleed so the copy fits like the PDF (not boxed in 1280) */
.os-founder-sec { background: #000; color: #fff; }
.os-founder-sec > .container { max-width: none; padding-left: clamp(1.5rem, 4vw, 4.5rem); padding-right: clamp(1.5rem, 4vw, 4.5rem); }
.os-founder { display: grid; grid-template-columns: 0.62fr 1.2fr 0.92fr; gap: clamp(0.5rem, 1.2vw, 1rem) clamp(1.1rem, 1.8vw, 2rem); align-items: start; }
.os-can { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
.os-can img { width: 100%; max-width: 340px; height: auto; display: block; }
/* body copy smaller (per direction); centered against the can so it reads the same size */
.os-body { grid-column: 2; grid-row: 1; align-self: center; }
.os-body p { font-size: clamp(0.82rem, 0.95vw, 0.9rem); line-height: 1.62; color: rgba(255,255,255,0.9); margin: 0 0 1.15rem; }
.os-body p:last-child { margin-bottom: 0; }
.os-stats { grid-column: 3; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.os-stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 3vw, 3rem); color: var(--p1-orange); line-height: 1; display: block; }
.os-stat__desc { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.45; color: rgba(255,255,255,0.82); margin-top: 0.45rem; padding-left: 1.4rem; position: relative; }
.os-stat__desc::before { content: "→"; position: absolute; left: 0; color: var(--p1-orange); }
.os-traction { grid-column: 3; grid-row: 2; align-self: start; margin-top: calc(clamp(0.4rem, 0.8vw, 0.85rem) + 2.1rem); border: 1.5px solid var(--p1-orange); border-radius: 12px; padding: 1.1rem 1.35rem; }
.os-traction__tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p1-orange); font-weight: 600; margin-bottom: 0.55rem; }
.os-traction__text { font-size: 0.84rem; line-height: 1.5; color: rgba(255,255,255,0.82); }
/* AJ bio — horizontal, spans under the can + body */
.os-bio { grid-column: 1 / 3; grid-row: 2; margin-top: clamp(0.4rem, 0.8vw, 0.85rem); }
.os-bio__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p1-orange); font-weight: 600; margin-bottom: 0.95rem; }
.os-bio__row { display: flex; gap: 1.4rem; align-items: flex-start; }
.os-bio__photo { width: 118px; height: 118px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.os-bio__body { flex: 1; }
.os-bio__name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: #fff; margin-bottom: 0.45rem; }
.os-bio__text { font-size: 0.84rem; line-height: 1.55; color: rgba(255,255,255,0.66); }
.os-bio__quote { font-style: italic; font-size: 0.86rem; line-height: 1.55; color: var(--p1-orange); margin-top: 1rem; max-width: 70ch; }

/* Management team — dark grid, square headshots (black placeholders) */
.os-team { background: #0a0a10; color: #fff; position: relative; }
.os-team > .container { position: relative; z-index: 1; }
.os-team__eyebrow { color: var(--p1-orange); margin-bottom: clamp(2rem, 4vw, 3rem); }
.os-team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 4vw, 3.2rem) clamp(2.5rem, 5vw, 5rem); }
.os-member { display: grid; grid-template-columns: 128px 1fr; gap: 1.5rem; align-items: start; }
.os-member__photo { width: 128px; height: 128px; background: #000; border: 1px solid rgba(255,255,255,0.16); border-radius: 5px; flex-shrink: 0; }
.os-member__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; display: block; }
.os-member__role { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p1-orange); font-weight: 600; margin-bottom: 0.4rem; }
.os-member__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 0.7rem; }
.os-member__bio { font-size: 0.76rem; line-height: 1.5; color: rgba(255,255,255,0.66); margin-bottom: 0.75rem; }
.os-member__quote { font-style: italic; font-size: 0.76rem; line-height: 1.5; color: rgba(255,170,120,0.92); }
@media (max-width: 1000px) {
  .os-founder { grid-template-columns: 1fr; }
  .os-can, .os-body, .os-stats, .os-bio { grid-column: 1; grid-row: auto; }
  .os-stats { flex-direction: column; }
  .os-team__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .os-member { grid-template-columns: 96px 1fr; gap: 1rem; }
  .os-member__photo { width: 96px; height: 96px; }
}

/* ===================== THE SCIENCE PAGE (Site 4.0) ===================== */
/* Four fractal-system cards: square image (left) + label + MAD SCIENCE headline + copy */
.sci-systems { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 4vw, 3.6rem) clamp(2.5rem, 4.5vw, 4.5rem); margin-top: clamp(2rem, 4vw, 3.2rem); }
.sci-system { display: grid; grid-template-columns: clamp(150px, 14vw, 200px) 1fr; gap: clamp(1.1rem, 2vw, 1.7rem); align-items: start; }
.sci-system__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: #07070b; }
.sci-system__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.55rem; color: var(--sc, var(--p1-orange)); }
.sci-system__head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 1.55vw, 1.32rem); color: var(--p1-ink); line-height: 1.18; margin-bottom: 0.85rem; }
.sci-system p { font-size: 0.84rem; line-height: 1.55; color: rgba(20,20,26,0.8); margin-bottom: 0.7rem; }
.sci-system p:last-child { margin-bottom: 0; }
.sci-system--vascular    { --sc: #E5392C; }
.sci-system--nervous     { --sc: #2E7DE0; }
.sci-system--cellular    { --sc: #E5392C; }
.sci-system--respiratory { --sc: #2BB6A3; }
@media (max-width: 1000px) {
  .sci-systems { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 560px) {
  .sci-system { grid-template-columns: 1fr; }
  .sci-system__img { max-width: 200px; }
}

/* Science systems — full-bleed + compact so the 2x2 grid fits one viewport (wider copy) */
.sci-sys-sec { padding-top: clamp(1.6rem, 3vw, 2.6rem); padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.sci-sys-sec > .container { max-width: none; padding-left: clamp(1.5rem, 4vw, 4.5rem); padding-right: clamp(1.5rem, 4vw, 4.5rem); }
.sci-sys-sec .sci-systems { gap: clamp(1.4rem, 2.6vw, 2.4rem) clamp(2.5rem, 4.5vw, 5rem); margin-top: 0; }
.sci-sys-sec .sci-system { grid-template-columns: clamp(140px, 12vw, 180px) 1fr; gap: clamp(1.1rem, 1.8vw, 1.6rem); }
.sci-sys-sec .sci-system__head { font-size: clamp(1rem, 1.4vw, 1.22rem); margin-bottom: 0.55rem; }
.sci-sys-sec .sci-system p { font-size: clamp(0.78rem, 0.95vw, 0.86rem); line-height: 1.5; margin-bottom: 0.55rem; }

/* Pharma-grade — white box, orange border; can left + black headline + one wide paragraph */
.sci-pharma { display: grid; grid-template-columns: clamp(108px, 11vw, 150px) 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; background: #fff; border: 1.5px solid var(--p1-orange); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.8rem, 3.5vw, 3rem); }
.sci-pharma__can { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 28px rgba(0,0,0,0.2)); }
.sci-pharma__head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.15rem); color: var(--p1-ink); line-height: 1.12; margin-bottom: 0.9rem; letter-spacing: -0.01em; }
.sci-pharma__body { font-size: clamp(0.95rem, 1.2vw, 1.06rem); line-height: 1.55; color: rgba(20,20,26,0.82); max-width: 70ch; }

/* B12 — orange box; black 40-60% stat left + white copy + two columns w/ divider */
.sci-b12 { display: grid; grid-template-columns: clamp(150px, 15vw, 210px) 1fr; gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; background: var(--p1-orange); border-radius: 16px; padding: clamp(1.8rem, 3.5vw, 3rem); color: #fff; }
.sci-b12__stat { text-align: center; }
.sci-b12__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 5.2vw, 4.3rem); color: #14141a; line-height: 0.95; }
.sci-b12__num span { font-size: 0.42em; font-weight: 700; }
.sci-b12__statlabel { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.92); margin-top: 0.9rem; line-height: 1.45; }
.sci-b12__head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.15rem); color: #fff; margin-bottom: 0.95rem; line-height: 1.12; letter-spacing: -0.01em; }
.sci-b12__body { font-size: clamp(0.95rem, 1.2vw, 1.06rem); line-height: 1.55; color: rgba(255,255,255,0.95); margin-bottom: clamp(1.4rem, 2.5vw, 2rem); }
.sci-b12__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.sci-b12__col:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.35); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.sci-b12__coltag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: #fff; margin-bottom: 0.55rem; }
.sci-b12__coltext { font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.9); }
@media (max-width: 760px) {
  .sci-pharma, .sci-b12 { grid-template-columns: 1fr; }
  .sci-b12__cols { grid-template-columns: 1fr; }
  .sci-b12__col:nth-child(2) { border-left: 0; padding-left: 0; }
}

/* Science bottom — pharma + B12 close-stacked with a faint fractal behind both */
.sci-bottom { position: relative; }
.sci-bottom::after { content: ""; position: absolute; inset: 0; z-index: 0; background: url('../assets/hero/fractal-master.png') center / 115% no-repeat; mix-blend-mode: multiply; opacity: 0.17; pointer-events: none; }
.sci-bottom > .container { position: relative; z-index: 1; }
.sci-b12 { margin-top: clamp(0.6rem, 1.1vw, 0.95rem); }
.sci-b12__body strong { color: #14141a; }

/* Science bottom — full-bleed so both boxes fill the screen width and fit together */
.sci-bottom { padding-top: clamp(1.3rem, 2.6vw, 2rem); padding-bottom: clamp(1.3rem, 2.6vw, 2rem); }
.sci-bottom > .container { max-width: none; padding-left: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(1.5rem, 4vw, 4rem); }
.sci-pharma { padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.8rem, 3vw, 2.6rem); }
.sci-b12 { padding: clamp(1.6rem, 2.8vw, 2.3rem) clamp(1.8rem, 3vw, 2.6rem); }

/* Science bottom — taller boxes to fill more vertical space (both still fit one screen) */
.sci-pharma { padding: clamp(1.9rem, 3.4vw, 3rem) clamp(1.8rem, 3vw, 2.6rem); }
.sci-b12 { padding: clamp(2.1rem, 3.8vw, 3.3rem) clamp(1.8rem, 3vw, 2.6rem); }
.sci-b12 { align-items: center; }

/* ===== Science bottom — client revisions 2026-06-17 ===== */
/* 1: make the drink + stick bigger */
.sci-pharma { grid-template-columns: clamp(170px, 17vw, 240px) 1fr; align-items: center; }
/* discussed: pharma body fills the full width (kill the empty right gap), a touch smaller */
.sci-pharma__body { max-width: none; font-size: clamp(0.9rem, 1.05vw, 1rem); }
/* 2: stack 40 / to / 60% directly on top of each other; discussed: top-align the stat */
.sci-b12 { align-items: start; }
.sci-b12__num { display: flex; flex-direction: column; align-items: center; line-height: 0.9; }
.sci-b12__num span { font-size: 0.4em; font-weight: 700; margin: 0.06em 0; }
/* 3 + 4: both column tags black */
.sci-b12__coltag { color: #14141a; }

/* ===== Science bottom — revisions 2 (2026-06-17): tighten can box, true-center the stat ===== */
.sci-pharma { padding: clamp(1.3rem, 2.2vw, 1.9rem) clamp(1.8rem, 3vw, 2.6rem); grid-template-columns: clamp(170px, 16vw, 230px) 1fr; }
.sci-b12__num { display: flex; flex-direction: column; align-items: center; line-height: 0.88; }
.sci-b12__num .b12n { position: relative; font-size: 1em; font-weight: 900; margin: 0; }
.sci-b12__num .b12to { font-size: 0.4em; font-weight: 700; margin: 0.1em 0; }
.sci-b12__num .b12n--pct > i { position: absolute; left: 100%; bottom: 0.02em; top: auto; right: auto; margin-left: 0.06em; font-size: 0.7em; font-style: normal; font-weight: 800; line-height: 1; }
/* give the right-hanging % room in the stat column */
.sci-b12 { grid-template-columns: clamp(170px, 16vw, 235px) 1fr; }
