/* =============================================================
   HELIX PURE LABS — Design System
   Clinical white. Apple-grade restraint, hexagonal geometry,
   one decisive blue. Pure CSS, no build step.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --bg:        #FFFFFF;
  --bg-2:      #F5F5F7;   /* Apple-style quiet gray */
  --bg-3:      #EDEDF0;
  --paper:     #FFFFFF;
  --line:      #E3E3E8;   /* hairline */
  --line-2:    #D2D2D7;

  /* Ink */
  --ink:       #1D1D1F;
  --text:      #1D1D1F;
  --text-2:    #515154;   /* secondary — 8.1:1 on white */
  --text-3:    #6E6E73;   /* tertiary  — 4.9:1 on white */
  --text-inv:  #F5F5F7;

  /* Helix blue — the single accent */
  --accent:      #0B63E5;
  --accent-hover:#0956C9;
  --accent-2:    #3B8BFF;
  --accent-ink:  #0848B0;
  --accent-soft: #EEF4FF;
  --accent-line: #C9DCFB;
  --accent-glow: rgba(11,99,229,.22);

  /* Legacy aliases (older templates reference these) */
  --gold: var(--accent); --gold-2: var(--accent-2); --gold-ink: var(--accent-ink);
  --gold-soft: var(--accent-soft); --gold-line: var(--accent-line);
  --text-inv-2: var(--text-3); --line-dark: var(--line); --ink-2: var(--bg-2); --ink-3: var(--line);

  /* States */
  --ok:     #1A8F5A;
  --warn:   #B86E00;
  --danger: #D70015;

  /* Geometry */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Elevation — soft, Apple-like */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow:    0 6px 24px rgba(16,24,40,.06), 0 2px 6px rgba(16,24,40,.04);
  --shadow-lg: 0 24px 60px rgba(16,24,40,.10), 0 8px 20px rgba(16,24,40,.05);

  /* Motion */
  --ease:     cubic-bezier(.23,1,.32,1);   /* strong ease-out */
  --ease-io:  cubic-bezier(.77,0,.175,1);
  --ease-expo:cubic-bezier(.16,1,.3,1);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 56px;
  --banner-h: 32px;

  /* Type */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--text); }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.025em; line-height: 1.2; }
p { text-wrap: pretty; }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 9px; height: 10px; flex: none; background: currentColor;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--text-2); letter-spacing: -0.015em; }
.muted { color: var(--text-3); }
.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 24px; }
/* .dark is the legacy "feature band" — now a quiet gray canvas */
.dark { background: var(--bg-2); color: var(--text); }
.dark .lead, .dark .muted { color: var(--text-2); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 14px 0 14px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 44px; border-radius: var(--r-pill);
  font-weight: 500; font-size: .98rem; letter-spacing: -0.01em; line-height: 1;
  transition: transform .16s var(--ease), background-color .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #000; }
  .btn--accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px var(--accent-glow); }
  .btn--ghost:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
}
.btn--lg { padding: 15px 28px; font-size: 1.04rem; min-height: 52px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s var(--ease); }
.link-arrow:hover { gap: 10px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 500; letter-spacing: .01em;
}
.badge--purity { background: rgba(255,255,255,.86); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: .68rem; }
.badge--ruo { background: #FFF6E5; color: #7A4B00; }
.badge--cat { background: var(--bg-2); color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* =============================================================
   RUO sitewide banner
   ============================================================= */
.ruo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55;
  background: var(--bg-2); color: var(--text-2);
  font-size: .76rem; letter-spacing: 0; text-align: center;
  padding: 8px 16px; line-height: 1.3; border-bottom: 1px solid var(--line);
}
.ruo-banner strong { color: var(--text); font-weight: 600; }
.ruo-short { display: none; }
@media (max-width: 640px) {
  .ruo-banner { font-size: .72rem; padding: 7px 12px; }
  .ruo-full { display: none; }
  .ruo-short { display: inline; }
  .nav__inner { gap: 12px; }
  .nav__cart span:not(.cart-count) { display: none; }
  .nav__cart { padding: 8px 10px; }
}

/* =============================================================
   Navigation — frosted white, Apple-style
   ============================================================= */
.nav {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.nav__inner {
  height: var(--nav-h); display: flex; align-items: center; gap: 28px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__mark { height: 30px; width: 30px; flex: none; }
.brand__word { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 600; font-size: 1.06rem; letter-spacing: -0.03em; }
.brand__word small { font-family: var(--mono); font-weight: 500; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.brand small { display: inline; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav__links a {
  padding: 8px 12px; border-radius: var(--r-pill); font-size: .88rem; font-weight: 450;
  color: var(--text-2); transition: color .15s ease, background-color .15s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.active { color: var(--text); font-weight: 550; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__cart {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 40px;
  border-radius: var(--r-pill); font-weight: 500; font-size: .88rem; transition: background-color .15s ease;
}
.nav__cart:hover { background: var(--bg-2); }
.cart-count {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__toggle:hover { background: var(--bg-2); }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: var(--header-h, 88px) 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 8px 16px 20px; margin: 0;
    gap: 0; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 15px 8px; font-size: 1.15rem; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links a:last-child { border-bottom: none; }
  .nav__toggle { display: inline-flex; }
}

/* =============================================================
   Hero — centered, Apple product-page composition
   ============================================================= */
.hero { position: relative; overflow: hidden; background: var(--bg); color: var(--text); }
.hero__lattice {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7v32.3M0 97V80.8M56 97V80.8' fill='none' stroke='%23D9DCE3' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 35%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 120px) 0; text-align: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: .82rem; color: var(--text-2);
}
.hero__kicker b { font-family: var(--mono); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: var(--r-pill); }
.display {
  font-size: clamp(3.4rem, 10.5vw, 9rem); line-height: .92; letter-spacing: -0.055em; font-weight: 600;
  margin: 26px auto 24px; max-width: 12ch;
}
.display span { color: var(--text-3); }
.display em { font-style: normal; background: linear-gradient(180deg, var(--accent-2), var(--accent) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 600px; margin-inline: auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }

/* Product stage */
.stage { position: relative; margin: clamp(48px, 7vw, 84px) auto 0; max-width: 980px; height: clamp(320px, 46vw, 520px); }
.stage__plinth {
  position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%);
  width: min(100%, 900px); height: 40%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(11,99,229,.10), rgba(11,99,229,0) 70%);
}
.stage__hex {
  position: absolute; left: 50%; top: -2%; width: clamp(280px, 40vw, 460px); aspect-ratio: 1 / 1.1547;
  transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23EEF4FF'/%3E%3Cstop offset='1' stop-color='%23FFFFFF' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23B9D0F7'/%3E%3Cstop offset='1' stop-color='%23B9D0F7' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M50 .6 99.4 29.1v57.2L50 114.9.6 86.3V29.1z' fill='url(%23g)' stroke='url(%23s)' stroke-width='.5'/%3E%3Cpath d='M50 14 87.6 35.7v43.4L50 101 12.4 79.1V35.7z' fill='none' stroke='url(%23s)' stroke-width='.35' stroke-dasharray='1.2 1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.stage__vials { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.stage__vials img { height: 82%; width: auto; filter: drop-shadow(0 30px 30px rgba(16,24,40,.08)); }
.stage__vials img:nth-child(1), .stage__vials img:nth-child(3) { height: 62%; margin-inline: -7%; position: relative; z-index: 0; }
.stage__vials img:nth-child(2) { position: relative; z-index: 1; }
.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px; text-align: left;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), var(--shadow);
}
.chip__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.chip__k { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.chip__v { display: block; font-size: .92rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip--a { left: 2%; top: 30%; }
.chip--b { right: 2%; top: 18%; }
.chip--c { right: 6%; bottom: 14%; }
@media (max-width: 720px) {
  .chip--a { left: 0; top: auto; bottom: 6%; }
  .chip--b { right: 0; top: 4%; }
  .chip--c { display: none; }
  .chip { padding: 8px 12px 8px 8px; }
  .chip__ic { width: 28px; height: 28px; }
}

/* Spec strip under hero */
.specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.specs__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: 28px 24px; border-right: 1px solid var(--line); }
.spec:last-child { border-right: none; }
.spec__n { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.spec__l { margin-top: 8px; font-size: .86rem; color: var(--text-3); }
@media (max-width: 760px) {
  .specs__grid { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(2) { border-right: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Legacy hero parts (kept for older templates) */
.hero__grid { display: none; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; }
.hero__stat .n { font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hero__stat .l { font-size: .84rem; color: var(--text-3); }

/* Interior page hero (about / quality) */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 128px) clamp(48px, 7vw, 88px); text-align: center; }
.page-hero .hero__lattice { opacity: .45; }
.page-hero__inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .96; letter-spacing: -0.05em; margin: 20px 0 22px; }
.page-hero h1 span { color: var(--text-3); }
.page-hero .lead { max-width: 620px; margin-inline: auto; }

/* =============================================================
   Bento — quality tiles
   ============================================================= */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 30px;
  background: var(--bg-2); display: flex; flex-direction: column;
}
.tile--w4 { grid-column: span 4; }
.tile--w3 { grid-column: span 3; }
.tile--w2 { grid-column: span 2; }
.tile--ink { background: var(--ink); color: #F5F5F7; }
.tile--ink .tile__p { color: #A1A1A6; }
.tile--blue { background: var(--accent); color: #fff; }
.tile--blue .tile__p { color: rgba(255,255,255,.8); }
.tile__k { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.tile--ink .tile__k, .tile--blue .tile__k { color: rgba(255,255,255,.62); }
.tile__big { font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -0.06em; line-height: .9; margin-top: auto; font-variant-numeric: tabular-nums; }
.tile__h { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin-top: 14px; }
.tile__p { color: var(--text-2); font-size: .96rem; margin-top: 10px; max-width: 44ch; }
.tile__chart { margin: 18px -6px 4px; width: calc(100% + 12px); height: auto; color: var(--accent); }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--accent); box-shadow: var(--shadow-sm); margin-bottom: auto; }
.tile--ink .tile__icon { background: rgba(255,255,255,.08); color: var(--accent-2); box-shadow: none; }
.tile .link-arrow { margin-top: 18px; }
.tile--blue .link-arrow { color: #fff; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--w4, .tile--w3 { grid-column: span 2; }
  .tile--w2 { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile--w4, .tile--w3, .tile--w2 { grid-column: span 1; }
}

/* =============================================================
   Trust pillars
   ============================================================= */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { background: var(--bg-2); border-radius: var(--r-lg); padding: 32px 30px; }
.pillar__icon {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 40px;
  background: var(--paper); color: var(--accent); border-radius: 13px; box-shadow: var(--shadow-sm);
}
.pillar h3 { font-size: 1.22rem; margin-bottom: 8px; }
.pillar p { color: var(--text-2); font-size: .96rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* =============================================================
   Product cards / grid — Apple Store tiles
   ============================================================= */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card__body { padding: 14px 4px 6px; gap: 4px; }
  .card__name { font-size: 1rem; }
  .card__desc { display: none; }
  .card__cat { font-size: .62rem; }
  .card__price { font-size: .98rem; }
  .card__btn { width: 36px; height: 36px; }
}
.card { position: relative; display: flex; flex-direction: column; background: transparent; }
.card__media {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-2); display: grid; place-items: center;
}
.card__media img { width: 86%; height: 86%; object-fit: contain; transition: transform .6s var(--ease-expo); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media img { transform: scale(1.04) translateY(-2px); }
  .card__btn:hover { background: var(--accent); }
}
.card__tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.card__body { padding: 18px 6px 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.card__name { font-size: 1.16rem; font-weight: 600; letter-spacing: -0.025em; }
.card__desc { font-size: .9rem; color: var(--text-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; position: relative; z-index: 2; }
.card__price { font-size: 1.04rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.card__price small { font-size: .82rem; color: var(--text-3); font-weight: 400; }
.card__btn {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; transition: background-color .2s ease, transform .16s var(--ease);
}
.card__btn:active { transform: scale(.9); }
.card__link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r-lg); }

/* Sold-out states */
.soldout-overlay {
  position: absolute; z-index: 2; top: 14px; right: 14px;
  background: var(--ink); color: #fff; font-size: .66rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill);
}
.card.is-soldout .card__media img { opacity: .45; filter: grayscale(1); }
.card__soldout { font-size: .78rem; font-weight: 500; color: var(--text-3); }
.badge--soldout { background: var(--ink); color: #fff; }
.pdp.is-soldout .pdp__media img { opacity: .5; filter: grayscale(1); }
.pdp__media .soldout-overlay { top: 18px; right: 18px; font-size: .76rem; padding: 7px 12px; }

/* =============================================================
   Category browser — list rows
   ============================================================= */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 4px; border-bottom: 1px solid var(--line); color: var(--text);
}
.cat-tile > div { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cat-tile h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.03em; transition: color .2s ease; }
.cat-tile .count { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--text-3); }
.cat-tile .go {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--text);
  font-size: 0; transition: background-color .2s ease, color .2s ease, transform .3s var(--ease);
}
.cat-tile .go::before { content: "→"; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .cat-tile:hover h3 { color: var(--accent); }
  .cat-tile:hover .go { background: var(--accent); color: #fff; box-shadow: none; transform: translateX(4px); }
}

/* =============================================================
   Shop / filter bar
   ============================================================= */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .shop-layout { grid-template-columns: 1fr; gap: 20px; } }
.filters { position: sticky; top: calc(var(--header-h, 88px) + 20px); }
.filters h4 { font-family: var(--mono); font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 12px; }
.filter-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.filter-list button {
  text-align: left; padding: 9px 12px; border-radius: var(--r-sm); color: var(--text-2);
  font-size: .92rem; font-weight: 450; display: flex; justify-content: space-between; gap: 10px;
  transition: background-color .15s ease, color .15s ease;
}
.filter-list button:hover { background: var(--bg-2); color: var(--text); }
.filter-list button.active { background: var(--ink); color: #fff; }
.filter-list button.active .n { color: #A1A1A6; }
.filter-list .n { color: var(--text-3); font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (max-width: 880px) {
  .filters { position: static; }
  .filter-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding-inline: 24px; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list button { white-space: nowrap; border-radius: var(--r-pill); background: var(--bg-2); }
}
.shop-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box input {
  width: 100%; padding: 12px 16px 12px 42px; min-height: 44px; border: none; border-radius: var(--r-pill);
  background: var(--bg-2); transition: box-shadow .2s ease, background-color .2s ease;
}
.search-box input:focus { outline: none; background: var(--paper); box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-soft); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.select {
  padding: 12px 38px 12px 16px; min-height: 44px; border: none; border-radius: var(--r-pill); background: var(--bg-2);
  font-weight: 450; color: var(--text); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6E73' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.select:focus { outline: none; box-shadow: 0 0 0 1px var(--accent), 0 0 0 4px var(--accent-soft); }
.result-count { color: var(--text-3); font-size: .88rem; font-variant-numeric: tabular-nums; }

/* =============================================================
   Product detail
   ============================================================= */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .pdp { grid-template-columns: 1fr; gap: 32px; } }
.pdp__media {
  position: sticky; top: calc(var(--header-h, 88px) + 24px); border-radius: var(--r-xl); overflow: hidden;
  background: var(--bg-2); aspect-ratio: 1 / 1; display: grid; place-items: center;
}
@media (max-width: 880px) { .pdp__media { position: static; } }
.pdp__media img { width: 82%; height: 82%; object-fit: contain; }
.pdp h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin: 12px 0 14px; letter-spacing: -0.045em; }
.pdp__price { font-size: 1.6rem; font-weight: 500; margin: 20px 0; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.variant-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 26px; }
.variant {
  padding: 12px 18px; min-height: 44px; border-radius: var(--r); border: none; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-weight: 500; font-size: .94rem; transition: box-shadow .15s ease, background-color .15s ease; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
}
.variant .v-price { font-size: .78rem; color: var(--text-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.variant:hover { box-shadow: inset 0 0 0 1px var(--text-3); }
.variant.active { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.qty { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--bg-2); overflow: hidden; }
.qty button { width: 44px; height: 46px; font-size: 1.2rem; color: var(--text-2); transition: background-color .15s ease; }
.qty button:hover { background: var(--bg-3); }
.qty input { width: 40px; text-align: center; border: none; background: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty input:focus { outline: none; }
.pdp__actions { display: flex; gap: 12px; align-items: center; margin: 8px 0 30px; flex-wrap: wrap; }

.spec-table { width: 100%; border-collapse: collapse; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table th { text-align: left; padding: 13px 18px; font-weight: 450; font-size: .88rem; color: var(--text-3); width: 42%; }
.spec-table td { padding: 13px 18px; font-size: .92rem; }
.spec-table td.mono { font-family: var(--mono); font-size: .84rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.coa-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--accent-soft); margin: 20px 0; }
.coa-card .ic { width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--accent); flex: none; }
.coa-card b { display: block; font-size: .98rem; }
.coa-card span { font-size: .85rem; color: var(--text-2); }

/* COA panel — data-first */
.coa-panel { border-radius: var(--r); overflow: hidden; margin: 20px 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.coa-panel__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.coa-panel__head .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex: none; }
.coa-panel .spec-table { border-radius: 0; background: transparent; }
.coa-panel .spec-table th { width: 46%; }
.coa-link { display: inline-flex; align-items: center; gap: 5px; padding: 13px 18px; font-size: .88rem; font-weight: 500; color: var(--accent); border-top: 1px solid var(--line); width: 100%; transition: gap .2s var(--ease); }
.coa-link:hover { gap: 9px; }
.coa-note { margin: 20px 0; font-size: .9rem; color: var(--text-3); }
.coa-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.coa-tile { flex: none; display: grid; place-items: center; color: var(--accent); }
.coa-tile svg { width: 36px; height: 36px; }

/* Documentation section on product page */
.doc-section { margin: 24px 0; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); }
.doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--accent); }
.doc-head h3 { font-size: 1.2rem; color: var(--text); }
.doc-card {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s ease;
}
.doc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-card__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.doc-card__body strong { font-size: 1.02rem; font-weight: 600; }
.doc-card__body span { font-size: .88rem; color: var(--text-2); }
.doc-card__chev { color: var(--text-3); flex: none; }

/* Certificate page */
.cert-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.coa-doc { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.coa-doc__band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 34px 36px; background: var(--bg-2); border-bottom: 1px solid var(--line); overflow: hidden;
}
.coa-doc__band::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 300px; opacity: .6; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2zM28 64.7v32.3M0 97V80.8M56 97V80.8' fill='none' stroke='%23D2D6DE' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%);
}
.coa-doc__brand { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.coa-doc__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; color: var(--text); letter-spacing: -.04em; margin: 10px 0 4px; }
.coa-doc__kicker { font-size: .92rem; color: var(--text-2); }
.coa-doc__seal {
  position: relative; z-index: 1; flex: none; width: 104px; height: 120px; display: grid; place-content: center; text-align: center;
  background: var(--accent); color: #fff;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.coa-doc__seal span { font-family: var(--mono); font-size: .54rem; letter-spacing: .18em; display: block; opacity: .85; }
.coa-doc__seal strong { font-size: 1rem; letter-spacing: .04em; display: block; margin-top: 3px; }

.coa-doc__meta { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.coa-doc__meta > div { padding: 18px 24px; border-right: 1px solid var(--line); }
.coa-doc__meta > div:last-child { border-right: none; }
.coa-doc__meta span { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.coa-doc__meta strong { font-family: var(--mono); font-size: .88rem; font-weight: 500; }

.coa-doc__grid { display: grid; grid-template-columns: 300px 1fr; }
.coa-doc__highlight { padding: 34px; background: var(--paper); border-right: 1px solid var(--line); }
.coa-doc__hl-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.coa-doc__hl-value { display: block; font-size: 3.6rem; line-height: 1; font-weight: 600; color: var(--accent); letter-spacing: -.055em; margin: 12px 0 22px; font-variant-numeric: tabular-nums; }
.coa-doc__hl-sub { font-size: .86rem; color: var(--text-2); margin-bottom: 8px; }
.coa-doc__hl-sub b { color: var(--text); font-weight: 600; }
.coa-doc__hl-lab { font-size: .84rem; color: var(--text-3); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.coa-doc__report { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .86rem; font-weight: 500; color: var(--accent); transition: gap .2s var(--ease); }
.coa-doc__report:hover { gap: 9px; }
.coa-doc__results { padding: 34px; }
.coa-doc__results h4 { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.coa-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.coa-row:last-child { border-bottom: none; }
.coa-row__name { font-weight: 600; min-width: 150px; }
.coa-row__spec { flex: 1; font-size: .84rem; color: var(--text-2); font-family: var(--mono); }
.coa-row__k { color: var(--text-3); }
.coa-row__sep { color: var(--line-2); margin: 0 4px; }
.coa-pass { flex: none; background: #E8F6EE; color: var(--ok); font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .1em; padding: 5px 10px; border-radius: var(--r-pill); }
.coa-doc__foot { padding: 22px 36px; background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; font-size: .8rem; color: var(--text-3); line-height: 1.6; }
@media (max-width: 720px) {
  .coa-doc__band { padding: 26px 22px; }
  .coa-doc__seal { width: 78px; height: 90px; }
  .coa-doc__grid { grid-template-columns: 1fr; }
  .coa-doc__highlight { border-right: none; border-bottom: 1px solid var(--line); }
  .coa-doc__meta { grid-template-columns: 1fr 1fr; }
  .coa-doc__meta > div:nth-child(2n) { border-right: none; }
  .coa-doc__meta > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .coa-doc__results, .coa-doc__highlight { padding: 24px 22px; }
  .coa-row { flex-wrap: wrap; gap: 8px 16px; }
}

/* Certificate index cards (coa.html) */
.cert-index { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .cert-index { grid-template-columns: 1fr; } }
.cert-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s ease, transform .25s var(--ease);
}
.cert-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent-line), var(--shadow); }
.cert-card .coa-tile svg { width: 28px; height: 28px; }
.cert-card__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-card__body strong { font-size: .98rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cert-card__meta { font-family: var(--mono); font-size: .74rem; color: var(--text-3); }
.cert-card__chev { color: var(--text-3); flex: none; }

/* RUO callout */
.ruo-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: #FFF8EC; color: #6B4600; font-size: .9rem; line-height: 1.5; }
.ruo-note svg { flex: none; color: var(--warn); }

/* =============================================================
   Cart / checkout
   ============================================================= */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
@media (max-width: 880px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item__media { width: 92px; height: 92px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.cart-item__media img { width: 84%; height: 84%; object-fit: contain; }
.cart-item__name { font-weight: 600; letter-spacing: -0.02em; }
.cart-item__meta { font-size: .85rem; color: var(--text-3); }
.cart-item__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-variant-numeric: tabular-nums; }
.cart-item__remove { font-size: .82rem; color: var(--accent); }
.cart-item__remove:hover { color: var(--danger); }
.summary { background: var(--bg-2); border-radius: var(--r-lg); padding: 28px; position: sticky; top: calc(var(--header-h, 88px) + 20px); }
.summary h3 { font-size: 1.25rem; margin-bottom: 18px; }
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--text-2); font-size: .95rem; font-variant-numeric: tabular-nums; }
.summary__row.total { border-top: 1px solid var(--line-2); margin-top: 10px; padding-top: 16px; font-size: 1.22rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-3); }
.empty-state svg { color: var(--text-3); margin: 0 auto 16px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 500; margin-bottom: 7px; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; min-height: 48px; border: none; border-radius: var(--r-sm);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); margin-bottom: 14px; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }

/* Payment methods */
.pay-methods { display: grid; gap: 10px; }
.pay-method {
  border-radius: var(--r); padding: 16px 18px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s ease, background-color .2s ease; cursor: pointer;
}
.pay-method:hover { box-shadow: inset 0 0 0 1px var(--text-3); }
.pay-method.active { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.pay-method__head { display: flex; align-items: center; gap: 12px; }
.pay-method__head input { accent-color: var(--accent); }
.pay-method__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); color: var(--text); display: grid; place-items: center; font-weight: 600; font-size: .78rem; }
.pay-method.active .pay-method__icon { background: #fff; color: var(--accent); }
.pay-method__detail { font-size: .88rem; color: var(--text-2); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--accent-line); display: none; }
.pay-method.active .pay-method__detail { display: block; }
.copy-row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--r-sm); padding: 9px 12px; margin-top: 8px; font-family: var(--mono); font-size: .84rem; box-shadow: inset 0 0 0 1px var(--line); }
.copy-row button { margin-left: auto; color: var(--accent); font-weight: 500; font-family: var(--font); font-size: .82rem; }

/* =============================================================
   Process / education
   ============================================================= */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 820px) { .edu-grid { grid-template-columns: 1fr; } }
.edu-card { padding: 32px 28px 8px 0; }
.edu-card + .edu-card { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 820px) { .edu-card + .edu-card { padding-left: 0; border-left: none; border-top: 1px solid var(--line); } .edu-card { padding: 28px 0; } }
.edu-card .num { font-family: var(--mono); color: var(--accent); font-weight: 500; font-size: .78rem; letter-spacing: .08em; }
.edu-card h3 { font-size: 1.3rem; margin: 18px 0 10px; }
.edu-card p { color: var(--text-2); font-size: .96rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Newsletter */
.signup { display: flex; gap: 8px; max-width: 460px; margin-top: 22px; padding: 6px; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s ease; }
.signup:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); }
.signup input { flex: 1; min-width: 0; padding: 10px 14px; border: none; background: transparent; color: var(--text); }
.signup input::placeholder { color: var(--text-3); }
.signup input:focus { outline: none; }
.center .signup { margin-inline: auto; }

.pickup-card { background: var(--paper); border-radius: var(--r-lg); padding: 34px; color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.pickup-card h3 { color: var(--text); }
.pickup-card .hours { display: grid; margin-top: 16px; }
.pickup-card .hours div { display: flex; justify-content: space-between; gap: 16px; color: var(--text-2); font-size: .93rem; padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pickup-card .hours div:last-child { border-bottom: none; }
.pickup-card .hours div span:last-child { color: var(--text); font-weight: 500; }

/* Closing CTA panel */
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(48px, 8vw, 96px) 24px; text-align: center;
  background: var(--ink); color: #F5F5F7;
}
.cta-panel .hero__lattice { opacity: .18; filter: invert(1); }
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.05em; }
.cta-panel .lead { color: #A1A1A6; max-width: 540px; margin: 16px auto 30px; }
.cta-panel .eyebrow { color: var(--accent-2); }

/* =============================================================
   Content / legal / prose
   ============================================================= */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 1.65rem; margin: 44px 0 14px; letter-spacing: -0.035em; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p { color: var(--text-2); margin-bottom: 14px; line-height: 1.65; }
.prose ul { margin: 0 0 16px 0; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--text-2); line-height: 1.6; }
.prose li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 8px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.page-head { padding-block: clamp(56px, 8vw, 96px) 0; }
.page-head h1 { letter-spacing: -0.05em; }
.page-head .eyebrow { margin-bottom: 14px; }
.updated { font-family: var(--mono); font-size: .76rem; color: var(--text-3); margin-top: 10px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 500; font-size: 1.1rem; letter-spacing: -0.02em; color: var(--text); }
.faq-q .ic { flex: none; transition: transform .3s var(--ease); color: var(--accent); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 480px; }
.faq-a p { color: var(--text-2); padding-bottom: 24px; max-width: 64ch; }

.legal-strip { background: var(--accent-soft); border-radius: var(--r); padding: 18px 20px; color: var(--accent-ink); font-size: .9rem; margin: 22px 0; line-height: 1.55; }
.legal-strip a { text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   Age gate modal
   ============================================================= */
.agegate {
  position: fixed; inset: 0; z-index: 100; background: rgba(245,245,247,.72);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.agegate.show { opacity: 1; visibility: visible; }
.agegate__box {
  background: var(--paper); border-radius: var(--r-xl); max-width: 420px; width: 100%;
  padding: 40px 32px 28px; text-align: center; box-shadow: 0 0 0 1px rgba(0,0,0,.05), var(--shadow-lg);
  transform: translateY(12px) scale(.97); opacity: 0; transition: transform .45s var(--ease-expo), opacity .3s ease;
}
.agegate.show .agegate__box { transform: none; opacity: 1; }
.agegate__mark { height: 56px; width: 56px; margin: 0 auto 22px; }
.agegate__kicker { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.agegate h2 { font-size: 1.7rem; margin-bottom: 12px; letter-spacing: -0.04em; }
.agegate p { color: var(--text-2); font-size: .94rem; margin-bottom: 8px; }
.agegate .fine { font-size: .78rem; color: var(--text-3); margin: 18px 0 22px; }
.agegate .fine a { color: var(--accent); }
.agegate__actions { display: grid; gap: 6px; }
.agegate__deny { color: var(--text-3); font-size: .88rem; padding: 12px; min-height: 44px; }
.agegate__deny:hover { color: var(--text); }

/* =============================================================
   Footer
   ============================================================= */
.footer { background: var(--bg-2); color: var(--text-2); padding-block: 64px 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand p { font-size: .88rem; margin-top: 16px; max-width: 300px; color: var(--text-3); }
.footer h5 { color: var(--text); font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.footer__links a { display: block; padding: 5px 0; font-size: .86rem; color: var(--text-3); transition: color .15s ease; }
.footer__links a:hover { color: var(--text); }
.footer__disclaimer { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: .76rem; line-height: 1.65; color: var(--text-3); }
.footer__disclaimer strong { color: var(--text-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: .78rem; color: var(--text-3); }
.footer__bottom a { color: var(--text-3); }
.footer__bottom a:hover { color: var(--text); }

/* =============================================================
   Toast
   ============================================================= */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(calc(100% + 32px));
  background: rgba(29,29,31,.92); color: #fff; padding: 12px 20px; border-radius: var(--r-pill);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 90;
  transition: transform .4s var(--ease-expo); display: flex; align-items: center; gap: 10px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .dot { background: var(--accent-2); }

/* =============================================================
   Motion — load choreography + scroll reveals
   ============================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise-lg { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero__inner > * { animation: rise .9s var(--ease-expo) both; }
.hero__inner > *:nth-child(1) { animation-delay: .05s; }
.hero__inner > *:nth-child(2) { animation-delay: .12s; }
.hero__inner > *:nth-child(3) { animation-delay: .22s; }
.hero__inner > *:nth-child(4) { animation-delay: .3s; }
.hero__inner > .stage { animation: rise-lg 1.2s var(--ease-expo) .38s both; }
.chip { animation: float 6s ease-in-out infinite; }
.chip--b { animation-delay: -2s; }
.chip--c { animation-delay: -4s; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-expo), transform .8s var(--ease-expo); }
.js .reveal-stagger.in > * { opacity: 1; transform: none; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger.in > *:nth-child(n+6) { transition-delay: .3s; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.mt-0 { margin-top: 0; }
.breadcrumb { font-size: .84rem; color: var(--text-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin: 0 8px; color: var(--line-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Small-screen hero refinements ---------- */
.hero__kicker b { white-space: nowrap; }
@media (max-width: 560px) {
  .hero__kicker { font-size: .74rem; padding: 5px 12px 5px 6px; gap: 8px; max-width: 100%; }
  .stage__vials img:nth-child(1), .stage__vials img:nth-child(3) { display: none; }
  .stage__vials img:nth-child(2) { height: 78%; }
}

/* ---------- Research-use disclosure (age gate) ---------- */
.agegate { overflow-y: auto; }
.agegate__box { max-width: 460px; text-align: left; padding: 36px 32px 24px; }
.agegate__box .agegate__mark, .agegate__box .agegate__kicker, .agegate__box h2 { text-align: center; }
.agegate__mark { margin-bottom: 18px; }
.agegate__list { margin: 16px 0 18px; display: grid; gap: 2px; background: var(--bg-2); border-radius: var(--r); padding: 6px 16px; }
.agegate__list li { position: relative; padding: 10px 0 10px 22px; font-size: .9rem; color: var(--text-2); line-height: 1.45; border-bottom: 1px solid var(--line); }
.agegate__list li:last-child { border-bottom: none; }
.agegate__list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 9px; background: var(--accent); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.agegate__list strong { color: var(--text); font-weight: 600; }
.agegate__agree { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--text-2); margin-bottom: 18px; cursor: pointer; line-height: 1.45; }
.agegate__agree input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--accent); cursor: pointer; }
.agegate__agree a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.agegate__deny { display: block; width: 100%; text-align: center; }
@media (max-width: 480px) { .agegate { padding: 12px; } .agegate__box { padding: 28px 20px 18px; } .agegate h2 { font-size: 1.5rem; } }
