:root {
  /* brand: between cobalt and navy */
  --brand: #1c4596;
  --brand-deep: #163a80;
  --brand-ink: #10295c;
  --sky: #2ea8e0;
  --sky-soft: #8fd6f6;
  --ink: #142a52;
  --muted: #4f6283;
  --line: rgba(16, 41, 92, .55);
  --paper: #f4f8fc;
  --white: #ffffff;

  --logo-main: #1d3a6b;
  --logo-accent: #2ea8e0;
  --logo-is: #2ea8e0;

  --bar-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--brand);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
a { color: inherit; }

/* ================================================================ top bar (logo centred) */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--bar-h);
  padding: 0 clamp(16px, 3vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(16, 41, 92, .08);
  transition: box-shadow .3s var(--ease);
}
.topbar.scrolled { box-shadow: 0 6px 24px rgba(16, 41, 92, .12); }
.brand { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: center; }
.logo { width: 100px; height: 54px; display: block; }
.nav { display: contents; }
.nav-side { grid-row: 1; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-left { grid-column: 1; }
.nav-right { grid-column: 3; justify-content: flex-end; }
.nav a:not(.btn) {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.topbar .menu-btn, .topbar .mobile-cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.nav-cta { height: 42px; }

.menu-btn {
  width: 42px; height: 42px;
  border: 0; border-radius: 12px;
  background: #eef3fa;
  place-content: center; gap: 6px;
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ================================================================ scroll stage */
.scroller { position: relative; height: 1100vh; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--brand);
  contain: layout paint;
}
.layer { position: absolute; inset: 0; }
/* same sky as the photo, plus one soft key light, so the scene keeps its lighting when the bottle leaves */
.studio {
  background:
    radial-gradient(60% 50% at var(--lx, 38%) 52%, rgba(236, 245, 252, .95) 0%, rgba(236, 245, 252, 0) 70%),
    linear-gradient(180deg, rgb(150 178 205) 0%, rgb(184 210 234) 45%, rgb(206 228 247) 100%);
  opacity: 0;
}

.world-clip { position: absolute; inset: 0; will-change: clip-path; }
.world {
  position: absolute;
  left: 0; top: 0;
  transform-origin: 0 0;
  will-change: transform, opacity;
}
.world-ext {
  position: absolute;
  left: -500%; width: 1100%;
  top: -100%; height: 300%;
  background: linear-gradient(180deg, rgb(126 156 185) 0%, rgb(126 156 185) 33.33%, rgb(132 162 190) 34.16%, rgb(139 167 194) 34.98%, rgb(146 173 201) 35.81%, rgb(151 178 206) 36.63%, rgb(154 181 208) 37.46%, rgb(156 184 211) 38.28%, rgb(159 187 214) 39.11%, rgb(163 191 217) 39.93%, rgb(166 193 219) 40.76%, rgb(168 195 221) 41.58%, rgb(171 197 224) 42.41%, rgb(171 197 224) 43.23%, rgb(171 197 224) 44.06%, rgb(172 198 225) 44.88%, rgb(175 201 227) 45.71%, rgb(178 203 227) 46.53%, rgb(178 204 228) 47.36%, rgb(180 205 230) 48.18%, rgb(182 207 233) 49.01%, rgb(183 208 233) 49.83%, rgb(183 209 233) 50.66%, rgb(184 210 233) 51.48%, rgb(187 212 236) 52.31%, rgb(189 214 238) 53.13%, rgb(191 215 238) 53.96%, rgb(193 217 239) 54.78%, rgb(195 220 241) 55.61%, rgb(199 222 242) 56.43%, rgb(201 224 244) 57.26%, rgb(201 225 243) 58.08%, rgb(203 225 244) 58.91%, rgb(205 225 245) 59.73%, rgb(188 209 229) 60.56%, rgb(174 193 214) 61.38%, rgb(183 200 218) 62.21%, rgb(188 204 222) 63.03%, rgb(169 186 205) 63.86%, rgb(175 189 208) 64.68%, rgb(167 179 198) 65.50%, rgb(157 168 180) 66.33%, rgb(107 114 121) 66.67%, rgb(107 114 121) 100%);
}
.world > img, .w-head { position: absolute; }
.w-body {
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
/* crop boxes inside the 1024×1536 exploded photo */
.w-head { left: 31.25%; top: 4.557%; width: 35.156%; height: 23.438%; will-change: transform; }
.w-head img { width: 100%; height: 100%; }
.w-cup { left: 32.227%; top: 27.995%; width: 33.008%; height: 12.044%; will-change: transform, opacity; }
/* the 768×1024 assembled photo, scaled 1.461× so its bottle matches the exploded bottle's width and base */
.w-assembled { position: absolute; left: -5.38%; top: 10.05%; width: 109.57%; height: 97.4%; will-change: opacity, filter; }
.w-assembled img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.wa-ext { position: absolute; left: -500%; width: 1100%; top: -100%; height: 300%; background: linear-gradient(180deg, rgb(167 186 199) 0%, rgb(167 186 199) 33.33%, rgb(166 186 199) 34.16%, rgb(167 187 199) 34.99%, rgb(169 189 201) 35.82%, rgb(170 190 202) 36.65%, rgb(172 190 203) 37.49%, rgb(173 192 205) 38.32%, rgb(175 194 207) 39.15%, rgb(177 196 209) 39.98%, rgb(178 197 209) 40.81%, rgb(180 200 211) 41.64%, rgb(181 200 212) 42.47%, rgb(182 201 213) 43.30%, rgb(183 202 214) 44.13%, rgb(184 203 216) 44.96%, rgb(185 205 218) 45.79%, rgb(186 206 219) 46.62%, rgb(188 207 220) 47.45%, rgb(189 209 222) 48.28%, rgb(190 209 223) 49.11%, rgb(192 212 225) 49.94%, rgb(193 212 226) 50.77%, rgb(194 214 228) 51.60%, rgb(195 216 229) 52.43%, rgb(197 218 231) 53.26%, rgb(198 219 232) 54.10%, rgb(199 220 234) 54.93%, rgb(200 221 235) 55.76%, rgb(201 223 237) 56.59%, rgb(202 222 235) 57.42%, rgb(177 193 204) 58.25%, rgb(179 195 206) 59.08%, rgb(180 194 203) 59.91%, rgb(161 177 188) 60.74%, rgb(161 176 188) 61.57%, rgb(174 185 194) 62.40%, rgb(174 185 194) 63.23%, rgb(112 121 126) 64.06%, rgb(109 118 124) 64.89%, rgb(112 118 123) 65.72%, rgb(113 118 122) 66.55%, rgb(113 119 123) 66.67%, rgb(113 119 123) 100%); }
.sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 40%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 60%) no-repeat;
  background-size: 260% 100%;
  -webkit-mask: url(assets/v3-head.webp) center / 100% 100% no-repeat;
          mask: url(assets/v3-head.webp) center / 100% 100% no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0;
}

/* 3D filter cup */
.cup3d {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.cup3d canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, rgba(0, 0, 0, .55) 68%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 50%, rgba(0, 0, 0, .55) 68%, transparent 100%);
}
/* cartridge + cutaway + labels */
.cartridge, .cutaway, .rig {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.cartridge, .cutaway { filter: drop-shadow(0 26px 28px rgba(16, 41, 92, .22)); }
.cutaway img { width: 100%; height: 100%; }
.scan {
  position: absolute;
  top: -2%; bottom: -2%;
  width: 2px;
  left: 0;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(120, 210, 255, .9), 0 0 36px 8px rgba(46, 168, 224, .55);
  opacity: 0;
}
.rig { margin: 0; padding: 0; list-style: none; }
.rig li {
  position: absolute;
  left: 56%;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}
.rig .dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(16, 41, 92, .85), 0 0 10px rgba(255, 255, 255, .9);
  transform: scale(0);
}
.rig .line { flex: none; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left center; }
.rig .txt { padding-left: 12px; opacity: 0; width: var(--txt-w, 300px); }
.rig .name {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.rig .fn { display: block; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--muted); margin-top: 3px; }
.silver .name, .mcard.silver h3 {
  background: linear-gradient(180deg, #8794a1 0%, #4c5865 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rig .white .name {
  color: #fff;
  background: var(--brand-ink);
  padding: 2px 8px 3px;
  margin-left: -8px;
  border-radius: 7px;
}

/* slim leader lines for the captions */
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.leaders path { fill: none; stroke: var(--line); stroke-width: 1.25; }
.leaders circle { fill: #fff; stroke: var(--brand-ink); stroke-width: 2; }

/* ================================================================ stage copy */
.hero-copy {
  position: absolute;
  left: 52%;
  right: clamp(20px, 4vw, 64px);
  top: 50%;
  text-align: center;
  color: #fff;
  will-change: transform, opacity;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sky);
}
.hero-copy .eyebrow { color: var(--sky-soft); }
.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero-copy h1 span { color: var(--sky-soft); font-style: italic; }
.lede { margin: 22px auto 32px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .84); max-width: 28em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.scroll-cue {
  position: absolute;
  left: 75%; bottom: 22px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.scroll-cue span { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); position: relative; }
.scroll-cue span::after {
  content: "";
  position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: #fff;
  animation: cue 1.6s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

.caption {
  position: absolute;
  top: 50%;
  width: min(30vw, 390px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.caption[data-side="right"] { left: 60%; }
.caption[data-side="left"] { left: clamp(24px, 5vw, 80px); width: min(26vw, 340px); }
.caption .kicker { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.caption h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--brand-ink);
}
.caption p:last-child { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.progress {
  position: absolute;
  right: clamp(12px, 1.6vw, 24px);
  top: 50%;
  width: 3px; height: 120px;
  margin-top: -60px;
  border-radius: 3px;
  background: rgba(16, 41, 92, .12);
  overflow: hidden;
}
.progress span { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(0); }

/* ================================================================ content sections */
.section { position: relative; padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px); background: var(--paper); }
.wrap { max-width: 1160px; margin: 0 auto; }
.center { text-align: center; }
.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--brand-ink);
}
.accent { color: var(--brand); }
.intro { margin: 18px auto 0; max-width: 36em; font-size: 17px; line-height: 1.6; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* pH scale */
.ph { background: #fff; }
.ph-scale { position: relative; max-width: 860px; margin: 64px auto 0; padding-top: 64px; }
.ph-cells { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; }
.ph-cell { text-align: center; }
.ph-cell i {
  display: block;
  height: 44px;
  border-radius: 6px;
  background: var(--c);
  transform-origin: bottom;
  transform: scaleY(.2);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .5s;
  transition-delay: calc(var(--i) * 40ms);
}
.ph-scale.in .ph-cell i { transform: none; opacity: 1; }
.ph-cell b { display: block; margin-top: 10px; font-family: var(--display); font-size: 14px; font-weight: 800; color: var(--muted); }
.ph-marker {
  position: absolute;
  top: 0;
  left: calc((var(--at) + .5) / 15 * 100%);
  transform: translateX(-50%);
  display: flex; flex-direction: column-reverse; align-items: center;
  opacity: 0;
  transition: opacity .6s var(--ease) .7s;
}
.ph-scale.in .ph-marker { opacity: 1; }
.ph-tag {
  white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  color: #fff; background: var(--brand);
  padding: 7px 12px; border-radius: 999px;
}
.ph-pin { width: 2px; height: 22px; background: var(--brand); }
.ph-groups { position: relative; height: 40px; margin-top: 14px; }
.ph-groups span {
  position: absolute;
  left: calc(var(--from) / 15 * 100%);
  width: calc((var(--to) - var(--from) + 1) / 15 * 100%);
  padding-top: 10px;
  text-align: center;
  font-size: 14px; font-weight: 700; color: var(--muted);
  border-top: 1.5px dashed rgba(16, 41, 92, .35);
}

/* minerals */
.minerals { background: var(--paper); }
.mineral-grid {
  list-style: none;
  margin: 56px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mcard {
  background: #fff;
  border-radius: 22px;
  padding: 24px 22px 26px;
  box-shadow: 0 1px 0 rgba(16, 41, 92, .06), 0 14px 34px rgba(16, 41, 92, .06);
  position: relative;
}
.mcard img { width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--c, #ccd6e2); }
.mcard .num { position: absolute; top: 20px; right: 22px; font-family: var(--display); font-weight: 900; font-size: 30px; color: rgba(16, 41, 92, .09); }
.mcard h3 { margin: 20px 0 8px; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.15; color: var(--c); }
.mcard.white h3 { color: var(--brand-ink); }
.mcard p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.mcard.lead { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 0 22px; align-items: center; }
.mcard.lead img { width: 120px; height: 120px; grid-row: span 2; }
.mcard.lead h3 { margin-top: 0; font-size: 22px; }

.stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.stats div { padding: 26px 24px; }
.stats div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .14); }
.stats strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .78); }

/* filter */
.filter { background: #fff; }
.filter-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.filter-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(236, 245, 252, .95), rgba(236, 245, 252, 0) 70%),
    linear-gradient(180deg, rgb(172 196 213), rgb(213 230 241));
  overflow: hidden;
}
.fv-cart { position: absolute; height: 78%; left: 30%; top: 11%; filter: drop-shadow(0 24px 26px rgba(16, 41, 92, .25)); }
.fv-cup { position: absolute; width: 52%; right: 6%; bottom: 14%; }
.filter-parts { display: grid; gap: 14px; margin: 28px 0; }
.part { padding: 20px 22px; border-radius: 18px; background: var(--paper); }
.part h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--brand-ink); }
.part p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.specs div { padding: 14px 0; border-bottom: 1px solid #e3eaf3; }
.specs dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.specs dd { margin: 4px 0 0; font-weight: 700; font-size: 15.5px; color: var(--ink); }
.tbc { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-size: 13px; }

/* how it works */
.how { background: var(--paper); }
.principle { max-width: 820px; margin: 40px auto 0; display: grid; gap: 16px; }
.principle p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--muted); text-align: center; }
.principle strong { color: var(--brand-ink); }
.subhead { margin: 72px 0 24px; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); color: var(--brand-ink); }
.functions { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 10px; }
.functions li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 600;
}
.functions span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--display); font-weight: 800; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.steps li { position: relative; padding: 26px 20px 24px; border-radius: 20px; background: #fff; }
.steps .n { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; color: var(--brand); }
.steps h4 { margin: 14px 0 6px; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--brand-ink); }
.steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.tip { margin: 26px auto 0; max-width: 640px; text-align: center; font-weight: 700; color: var(--brand); }


.ph-legend { max-width: 860px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ph-legend div { padding: 16px 18px; border-radius: 16px; background: var(--paper); text-align: center; }
.ph-legend span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.ph-legend strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--brand-ink); }
.ph-legend .hl { background: var(--brand); }
.ph-legend .hl span { color: rgba(255, 255, 255, .8); }
.ph-legend .hl strong { color: #fff; }

.active-water { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.active-water article { padding: 24px 22px; border-radius: 20px; background: #fff; border-top: 3px solid var(--sky); }
.active-water h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--brand-ink); }
.active-water p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  font-size: 14px; font-weight: 700; color: #fff;
}
.badge span {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, #d9a21b 70%);
  color: #3b2a00; font-family: var(--display); font-weight: 900; font-size: 12px;
  box-shadow: 0 0 0 3px rgba(255, 224, 138, .35);
}

/* buy + footer */
.buy { position: relative; background: var(--brand); color: #fff; padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 80px); }
.buy-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.buy .eyebrow { color: var(--sky-soft); }
.buy h2 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; }
.script { font-family: var(--script); font-size: clamp(22px, 2.2vw, 30px); color: var(--sky-soft); margin: 22px 0 0; }
.buy-card {
  background: #fff; color: var(--ink);
  border-radius: 28px; padding: 22px;
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  box-shadow: 0 30px 80px rgba(6, 20, 52, .35);
}
.buy-thumb { width: 120px; height: 176px; border-radius: 18px; overflow: hidden; background: rgb(196 211 220); }
.buy-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.35); }
.buy-card h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--brand-ink); }
.included { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 7px; }
.included li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; }
.included li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

.footer { background: var(--brand-ink); color: rgba(255, 255, 255, .7); text-align: center; padding: 56px 20px 40px; --logo-main: #ffffff; --logo-is: #6fd0f6; --logo-accent: #6fd0f6; }
.footer .logo { width: 150px; height: 82px; margin: 0 auto; }
.footer .script { margin-top: 10px; }
.footer .fine { font-size: 13px; margin: 26px 0 0; }

/* ================================================================ tablet */
@media (max-width: 1080px) {
  .mineral-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
  .stats div:nth-child(4) { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .14); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================ mobile */
@media (max-width: 819px) {
  :root { --bar-h: 62px; }
  .topbar { grid-template-columns: 1fr auto 1fr; }
  .logo { width: 84px; height: 46px; }
  .topbar .menu-btn { display: grid; grid-column: 1; grid-row: 1; }
  .topbar .mobile-cta { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .nav {
    display: flex;
    position: fixed;
    top: var(--bar-h); left: 0; right: 0;
    flex-direction: column;
    padding: 8px 20px 20px;
    background: #fff;
    box-shadow: 0 18px 30px rgba(16, 41, 92, .14);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav-side { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { font-size: 17px; padding: 14px 0; border-bottom: 1px solid #edf1f7; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: none; }

  .scroller { height: 1000vh; }
  .hero-copy { top: calc(var(--bar-h) + 4.5vh); left: 20px; right: 20px; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hero-copy h1 { font-size: clamp(36px, 11vw, 52px); }
  .lede { margin: 12px auto 18px; font-size: 15px; }
  .hero-actions .btn { height: 44px; padding: 0 18px; font-size: 14px; }
  .scroll-cue { display: none; }

  .caption, .caption[data-side] {
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px; right: 14px;
    width: auto;
    padding: 16px 18px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(16, 41, 92, .12);
  }
  .caption .kicker { margin-bottom: 6px; font-size: 11px; }
  .caption h2 { font-size: 22px; margin-bottom: 6px; }
  .caption p:last-child { font-size: 14px; line-height: 1.45; }
  .progress { display: none; }

  .rig .name { font-size: 14px; }
  .rig .fn { font-size: 11.5px; margin-top: 2px; }
  .rig .txt { padding-left: 8px; }

  .section { padding: 72px 18px; }
  .ph-scale { padding-top: 58px; margin-top: 44px; }
  .ph-cells { gap: 2px; }
  .ph-cell i { height: 34px; border-radius: 4px; }
  .ph-cell b { font-size: 10.5px; }
  .ph-tag { font-size: 12px; padding: 6px 10px; }
  .ph-groups span { font-size: 12px; }
  .mineral-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .mcard, .mcard.lead { grid-column: auto; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: center; padding: 18px; }
  .mcard img, .mcard.lead img { width: 72px; height: 72px; grid-row: span 2; }
  .mcard h3, .mcard.lead h3 { margin: 0 0 4px; font-size: 17px; }
  .mcard p { font-size: 14px; }
  .mcard .num { top: 14px; right: 16px; font-size: 22px; }
  .mcard h3 { padding-right: 30px; }
  .stats div { padding: 20px 18px; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-visual { aspect-ratio: 1 / 1; }
  .specs { grid-template-columns: 1fr; }
  .principle p { font-size: 16px; }
  .ph-legend, .active-water { grid-template-columns: 1fr; }
  .ph-legend { gap: 8px; margin-top: 28px; }
  .ph-legend div { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 14px 18px; }
  .ph-legend strong { margin: 0; font-size: 20px; }
  .badge { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .buy-inner { grid-template-columns: 1fr; }
  .buy-card { grid-template-columns: 96px 1fr; padding: 18px; gap: 16px; }
  .buy-thumb { width: 96px; height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ?clean: product-only footage for ad videos (ads/video) */
body.clean .topbar, body.clean .caption, body.clean .leaders, body.clean .progress,
body.clean .hero-copy, body.clean .scroll-cue { display: none !important; }
body.clean .rig .name { font-size: 19px; }
body.clean .rig .fn { font-size: 15.5px; }
