@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..500;1,6..72,300..400&family=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* =========================================================================
   EAST WEST PEPTIDES — design system, v2
   Light, warm and roomy. Product first, science as reassurance.
   Serif for warmth in headlines, friendly sans for everything you read,
   monospace only where something is genuinely a number or a code.
   ========================================================================= */

/* --- tokens -------------------------------------------------------------- */
:root {
  --bg:       #FBFAF7;
  --bg-2:     #F4F2EC;
  --bg-3:     #EBE8DF;
  --bg-deep:  #12211C;      /* the one dark section, used sparingly */
  --fg:       #1A1D1C;
  --fg-2:     rgba(26,29,28,.66);
  --fg-3:     rgba(26,29,28,.44);
  --line:     rgba(26,29,28,.10);
  --line-2:   rgba(26,29,28,.18);
  --card:     #FFFFFF;

  --green:      #2E7D64;
  --green-deep: #235E4B;
  --green-soft: #E8F1ED;
  --clay:       #BE6E42;
  --clay-soft:  #F7EDE6;
  --blue:       #33648F;
  --violet:     #6A5BA0;
  --amber:      #B07D22;

  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --ease: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);

  --gut: clamp(1.15rem, 3.2vw, 3rem);
  --max: 1360px;
  --nav-h: 74px;

  --r:    12px;   /* cards, inputs */
  --r-sm: 8px;
  --r-pill: 100px;
  --shadow:    0 1px 2px rgba(26,29,28,.05), 0 8px 24px -12px rgba(26,29,28,.13);
  --shadow-lg: 0 2px 4px rgba(26,29,28,.05), 0 22px 48px -20px rgba(26,29,28,.22);
  color-scheme: light;
}

[data-theme="ink"] {
  --bg:      #101413;
  --bg-2:    #171C1A;
  --bg-3:    #1F2523;
  --bg-deep: #0B100E;
  --fg:      #F2F0EA;
  --fg-2:    rgba(242,240,234,.68);
  --fg-3:    rgba(242,240,234,.44);
  --line:    rgba(242,240,234,.12);
  --line-2:  rgba(242,240,234,.22);
  --card:    #191F1D;

  --green:      #63C6A3;
  --green-deep: #7FD8B8;
  --green-soft: rgba(99,198,163,.13);
  --clay:       #DD9163;
  --clay-soft:  rgba(221,145,99,.13);
  --blue:       #7FAFD8;
  --violet:     #A395D8;
  --amber:      #D9AE5B;
  --shadow:    0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.5);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 22px 48px -20px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* --- reset --------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.04vw, 1.075rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .45s var(--ease), color .45s var(--ease);
}

img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }

/* --- layout -------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.rule { height: 1px; background: var(--line); border: 0; }
.section { padding-block: clamp(3.6rem, 7.5vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4.2rem); }
.section--soft { background: var(--bg-2); }

h1,h2,h3,h4 { font-weight: 600; letter-spacing: -.02em; line-height: 1.14; }

.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.022em;
}
.sec-head h2 em { font-style: italic; color: var(--green); }
.sec-head p { margin-top: .9rem; color: var(--fg-2); font-size: 1.06rem; }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  padding: .35rem .75rem; border-radius: var(--r-pill);
}

.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--fg-2); }
.lede em { font-style: normal; color: var(--fg); font-weight: 600; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-size: .95rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; background: var(--fg); color: var(--bg);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--fg-3); }
.btn--sm { padding: .58rem 1.05rem; font-size: .86rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.tlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--green);
  transition: gap .35s var(--ease);
}
.tlink:hover { gap: .75rem; }

/* --- navigation ---------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }

.brand { display: flex; align-items: center; gap: .68rem; }
.brand svg { width: 32px; height: 32px; color: var(--green); flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; letter-spacing: -.015em; }
.brand__txt span { font-size: .6rem; letter-spacing: .22em; color: var(--fg-3); text-transform: uppercase; margin-top: 1px; font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: clamp(.9rem, 1.9vw, 1.9rem); }
.nav__links a {
  font-size: .95rem; font-weight: 500; color: var(--fg-2); position: relative; padding-block: .45rem;
  transition: color .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--fg); }
.nav__links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); border-radius: 2px;
}

.nav__act { display: flex; align-items: center; gap: .45rem; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-pill);
  color: var(--fg-2); transition: background .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: var(--bg-3); color: var(--fg); }
.icon-btn svg { width: 18px; height: 18px; }
.cart-btn { position: relative; }
.cart-btn b {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--green); color: #fff; font-size: .64rem; font-weight: 700; border-radius: var(--r-pill);
  display: grid; place-items: center; line-height: 1;
  transform: scale(0); transition: transform .4s var(--ease);
}
.cart-btn.has b { transform: scale(1); }
.nav__cta { margin-left: .3rem; }
.burger { display: none; }

@media (max-width: 1000px) {
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1.6rem; box-shadow: var(--shadow);
    clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease);
  }
  .nav__links.open { clip-path: inset(0 0 0 0); }
  .nav__links a { padding-block: .95rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .burger { display: grid; }
}

/* --- hero ---------------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.028em;
  font-size: clamp(2.35rem, 5vw, 4.05rem); line-height: 1.06;
  margin: 1.1rem 0 1.2rem; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero__sub { max-width: 46ch; color: var(--fg-2); font-size: clamp(1.03rem, 1.2vw, 1.14rem); }
.hero__cta { display: flex; gap: .7rem; margin-top: 1.9rem; flex-wrap: wrap; }
.hero__vis { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero__vis::before {
  content: ''; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--green-soft) 0%, var(--bg-2) 55%, transparent 72%);
}
.hero__vis canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.hero__vial { position: relative; z-index: 2; height: 74%; width: auto;
  filter: drop-shadow(0 24px 32px rgba(26,29,28,.16)); }
.hero__chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: .5rem;
  background: var(--card); border-radius: var(--r-pill); padding: .5rem .9rem .5rem .55rem;
  box-shadow: var(--shadow-lg); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.hero__chip small { display: block; font-size: .72rem; font-weight: 500; color: var(--fg-3); }
.hero__chip i { width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; flex: none; }
.hero__chip i svg { width: 14px; height: 14px; }
.hero__chip--a { top: 21%; left: -2%; }
.hero__chip--b { bottom: 17%; right: -2%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__vis { order: -1; max-width: 330px; margin-inline: auto; }
  .hero__chip--a { left: -4%; } .hero__chip--b { right: -4%; }
}
@media (max-width: 420px) { .hero__chip { font-size: .78rem; padding: .4rem .7rem .4rem .45rem; } }

/* --- reassurance strip ---------------------------------------------------
   Four equal columns that start at the same baseline, so the icons line up
   and a longer heading cannot shunt its neighbour out of alignment.        */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.assure > div {
  display: flex; flex-direction: column; align-items: flex-start;
  padding-inline: clamp(1rem, 2.2vw, 2rem);
  border-left: 1px solid var(--line);
}
.assure > div:first-child { border-left: 0; padding-left: 0; }
.assure > div:last-child { padding-right: 0; }
.assure i { width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; flex: none; margin-bottom: .85rem; }
.assure i svg { width: 19px; height: 19px; }
.assure b { display: block; font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.assure p { font-size: .89rem; color: var(--fg-2); line-height: 1.55; }
@media (max-width: 900px) {
  .assure { grid-template-columns: 1fr 1fr; row-gap: clamp(1.6rem, 4vw, 2.2rem); }
  .assure > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .assure > div:nth-child(even) { padding-right: 0; }
}
@media (max-width: 540px) {
  .assure { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .assure > div { border-left: 0; padding-inline: 0; }
  .assure i { width: 34px; height: 34px; margin-bottom: .6rem; }
}

/* --- category tiles ------------------------------------------------------ */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); gap: clamp(.7rem, 1.4vw, 1rem); }
.cat {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.35rem 1.4rem 1.2rem; border-radius: var(--r); background: var(--card);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cat:hover, .cat:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.cat:active { transform: translateY(-1px); }
.cat__dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .3rem; }
.cat__dot svg { width: 15px; height: 15px; color: #fff; }
.cat b { font-size: 1.06rem; font-weight: 600; }
.cat span { font-size: .87rem; color: var(--fg-2); }
/* An always-visible affordance, because hover does not exist on a phone */
.cat__go {
  margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  font-size: .89rem; font-weight: 600; color: var(--green);
}
.cat__go > span { display: inline-flex; align-items: center; gap: .42rem; }
.cat__go em { font-style: normal; font-weight: 500; color: var(--fg-3); }
.cat__go svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.cat:hover .cat__go svg { transform: translateX(4px); }

/* --- product cards ------------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr)); gap: clamp(.8rem, 1.5vw, 1.2rem); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__vis {
  position: relative; background: var(--bg-2); padding: 1.4rem 1.4rem 0;
  display: grid; place-items: center; min-height: 178px;
}
.card__vis svg { height: 158px; width: auto; transition: transform .55s var(--ease); }
.card:hover .card__vis svg { transform: translateY(-5px) scale(1.03); }
.card__flag { position: absolute; top: .8rem; left: .8rem; }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; gap: .35rem; }
.card h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.015em; }
.card__sub { font-size: .875rem; color: var(--fg-2); line-height: 1.5; }
.card__foot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.card__price b { font-size: 1.05rem; font-weight: 700; }
.card__price span { font-size: .82rem; color: var(--fg-3); }
.card__add {
  width: 38px; height: 38px; border-radius: var(--r-pill); display: grid; place-items: center; flex: none;
  background: var(--green-soft); color: var(--green); position: relative; z-index: 6;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.card__add:hover { background: var(--green); color: #fff; transform: scale(1.08); }
.card__add svg { width: 17px; height: 17px; }
.card__link { position: absolute; inset: 0; z-index: 5; }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .01em;
  padding: .3rem .6rem; border-radius: var(--r-pill);
  background: var(--bg-3); color: var(--fg-2);
}
.badge--green { background: var(--green-soft); color: var(--green); }
.badge--clay  { background: var(--clay-soft); color: var(--clay); }
.badge--amber { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); }
.badge--white { background: var(--card); color: var(--fg-2); box-shadow: var(--shadow); }

/* --- data table ---------------------------------------------------------- */
.dtable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.dtable th, .dtable td { text-align: left; padding: .8rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable th { color: var(--fg-2); font-weight: 500; width: 42%; }
.dtable td { font-family: var(--mono); font-size: .84rem; word-break: break-word; }
.dtable td.plain { font-family: var(--sans); font-size: .92rem; }
.dtable tr:last-child th, .dtable tr:last-child td { border-bottom: 0; }

/* --- gates (the four checks) --------------------------------------------- */
.gates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(.8rem, 1.5vw, 1.2rem); }
.gate {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.3rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: .6rem;
}
.gate__n { width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-weight: 700; font-size: .88rem; margin-bottom: .5rem; }
.gate h4 { font-size: 1.12rem; font-weight: 600; }
.gate p { font-size: .93rem; color: var(--fg-2); line-height: 1.6; }
.gate small { margin-top: auto; padding-top: .8rem; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .06em; color: var(--fg-3); text-transform: uppercase; }

/* --- dark feature band --------------------------------------------------- */
.deep { background: var(--bg-deep); color: #F2F0EA; }
.deep .sec-head h2 { color: #fff; }
.deep .sec-head p, .deep .lede { color: rgba(242,240,234,.7); }
.deep .eyebrow { background: rgba(99,198,163,.16); color: #7FD8B8; }
.deep .dtable th { color: rgba(242,240,234,.62); }
.deep .dtable td { color: #F2F0EA; }
.deep .dtable th, .deep .dtable td { border-color: rgba(242,240,234,.13); }
.deep .btn--ghost { color: #fff; border-color: rgba(242,240,234,.28); }
.deep .btn--ghost:hover { background: rgba(242,240,234,.08); }

/* --- COA viewer ---------------------------------------------------------- */
.coa { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(.8rem,1.6vw,1.2rem); }
.coa__chart, .coa__side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.2rem,2vw,1.8rem); }
.deep .coa__chart, .deep .coa__side { background: rgba(255,255,255,.045); border-color: rgba(242,240,234,.13); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.chart-head b { font-size: .98rem; font-weight: 600; }
.chart-head span { font-family: var(--mono); font-size: .74rem; color: var(--fg-3); }
.deep .chart-head span { color: rgba(242,240,234,.5); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .trace { fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 2600; stroke-dashoffset: 2600; }
.deep .chart .trace { stroke: #7FD8B8; }
.chart.in .trace { animation: draw 2.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.chart .axis { stroke: var(--line-2); stroke-width: 1; }
.chart .gridline { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .lbl { fill: var(--fg-3); font-family: var(--mono); font-size: 8px; }
.chart .peak-lbl { fill: var(--green); font-family: var(--mono); font-size: 9px; font-weight: 500; }
.deep .chart .axis { stroke: rgba(242,240,234,.24); }
.deep .chart .gridline { stroke: rgba(242,240,234,.1); }
.deep .chart .lbl { fill: rgba(242,240,234,.45); }
.deep .chart .peak-lbl { fill: #7FD8B8; }
.coa__tabs { display: flex; gap: .3rem; background: var(--bg-2); padding: .28rem; border-radius: var(--r-pill); margin-bottom: 1.3rem; }
.deep .coa__tabs { background: rgba(255,255,255,.06); }
.coa__tabs button { flex: 1; padding: .5rem .3rem; border-radius: var(--r-pill); font-size: .82rem; font-weight: 500; color: var(--fg-2); transition: all .3s var(--ease); }
.coa__tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: var(--shadow); font-weight: 600; }
.deep .coa__tabs button { color: rgba(242,240,234,.62); }
.deep .coa__tabs button[aria-selected="true"] { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 900px) { .coa { grid-template-columns: 1fr; } }

/* --- split --------------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.6rem, 3.5vw, 3.5rem); align-items: start; }
.split h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; margin-bottom: .8rem; }
.split p { color: var(--fg-2); margin-bottom: .9rem; max-width: 48ch; }

/* --- notes --------------------------------------------------------------- */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: clamp(.8rem, 1.5vw, 1.2rem); }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem,2vw,1.7rem);
  display: flex; flex-direction: column; gap: .6rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.note:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.note__m { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--fg-3); }
.note h4 { font-size: 1.14rem; font-weight: 600; line-height: 1.3; }
.note p { font-size: .92rem; color: var(--fg-2); }

/* --- CTA band ------------------------------------------------------------ */
.band { padding-block: clamp(3.2rem,6vw,5.5rem); }
.band__in { background: var(--bg-deep); color: #F2F0EA; border-radius: clamp(var(--r), 2vw, 28px);
  padding: clamp(2.2rem,5vw,4.2rem); text-align: center; position: relative; overflow: hidden; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem,3.6vw,2.9rem);
  letter-spacing: -.025em; line-height: 1.1; margin: 1rem auto .9rem; max-width: 20ch; color: #fff; }
.band h2 em { font-style: italic; color: #7FD8B8; }
.band p { color: rgba(242,240,234,.7); max-width: 48ch; margin: 0 auto 1.7rem; }
.band .eyebrow { background: rgba(99,198,163,.16); color: #7FD8B8; }
.band__cta { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.band .btn--ghost { color: #fff; border-color: rgba(242,240,234,.3); }
.band .btn--ghost:hover { background: rgba(242,240,234,.09); }

/* --- footer -------------------------------------------------------------- */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(2.8rem,5vw,4.5rem) 1.8rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: clamp(1.6rem,3vw,3rem); padding-bottom: 2.5rem; }
.foot h5 { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--fg); margin-bottom: 1rem; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.foot ul a { font-size: .92rem; color: var(--fg-2); transition: color .3s; }
.foot ul a:hover { color: var(--green); }
.foot__base { display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--fg-3); }
.disclaimer { margin-top: 1.8rem; padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--bg-3);
  font-size: .82rem; line-height: 1.65; color: var(--fg-2); }
.disclaimer b { color: var(--fg); }
@media (max-width: 780px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

/* --- cart drawer --------------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 940; background: rgba(16,20,19,.42); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 950; width: min(430px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .55s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer__h { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem var(--gut); border-bottom: 1px solid var(--line); }
.drawer__h b { font-size: 1.05rem; font-weight: 600; }
.drawer__b { flex: 1; overflow-y: auto; padding: 0 var(--gut); }
.drawer__f { padding: 1.3rem var(--gut); border-top: 1px solid var(--line); background: var(--bg-2); }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__vis { background: var(--bg-2); border-radius: var(--r-sm); padding: .35rem; display: grid; place-items: center; }
.line__vis svg { height: 52px; width: auto; }
.line b { display: block; font-size: .98rem; font-weight: 600; }
.line small { display: block; font-size: .8rem; color: var(--fg-3); margin-top: .1rem; }
.line__p { font-weight: 600; font-size: .95rem; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); margin-top: .55rem; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--fg-2); border-radius: 50%; transition: color .3s, background .3s; }
.qty button:hover { color: var(--green); background: var(--green-soft); }
.qty span { min-width: 26px; text-align: center; font-size: .85rem; font-weight: 600; }
.totals { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; color: var(--fg-2); }
.totals div.tot { color: var(--fg); font-size: 1.12rem; font-weight: 700; padding-top: .65rem; border-top: 1px solid var(--line); }
.empty { padding: 3.5rem 0; text-align: center; color: var(--fg-3); }

/* --- forms --------------------------------------------------------------- */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; color: var(--fg-2); margin-bottom: .42rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; background: var(--card); border-radius: var(--r-sm);
  border: 1px solid var(--line-2); font-size: .96rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.field input::placeholder { color: var(--fg-3); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M1 1l4.5 4.5L10 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.msg { font-size: .88rem; line-height: 1.55; padding: .85rem 1rem; border-radius: var(--r-sm);
  background: var(--bg-3); color: var(--fg-2); margin-bottom: 1.1rem; }
.msg--err { background: var(--clay-soft); color: var(--clay); }
.msg--ok  { background: var(--green-soft); color: var(--green); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .89rem; line-height: 1.6; color: var(--fg-2); margin-bottom: 1.2rem; }
.check input { margin-top: .3rem; accent-color: var(--green); flex: none; width: 16px; height: 16px; }

/* --- reveal -------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s } .rv-d2 { transition-delay: .14s } .rv-d3 { transition-delay: .21s }
.rv-d4 { transition-delay: .28s } .rv-d5 { transition-delay: .35s }
/* The clip box is inset by padding so left-hand serifs and italic overhangs
   are not shaved off. The negative margin puts the text back where it was. */
.mask { display: block; overflow: hidden; padding: .05em .16em; margin: -.05em -.16em; }
.mask > * { display: block; transform: translateY(115%); transition: transform 1s var(--ease); }
.mask.in > * { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .mask > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chart .trace { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* --- cursor -------------------------------------------------------------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1.5px solid var(--green);
  border-radius: 50%; opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
.cursor.on { opacity: .5; }
.cursor.big { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--green-soft); opacity: .8; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* --- page wipe ----------------------------------------------------------- */
.wipe { position: fixed; inset: 0; z-index: 9997; background: var(--bg); pointer-events: none; opacity: 0; }
.wipe.out { opacity: 1; transition: opacity .3s var(--ease-io); }
.wipe.in { opacity: 0; transition: opacity .45s var(--ease-io); }

/* --- inner page header --------------------------------------------------- */
.phead { padding-top: calc(var(--nav-h) + clamp(2.2rem,5vw,4rem)); padding-bottom: clamp(1.6rem,3vw,2.6rem); }
.phead h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem,4.4vw,3.5rem); letter-spacing: -.028em; line-height: 1.06; margin-top: .9rem; }
.phead h1 em { font-style: italic; color: var(--green); }
.phead p { margin-top: 1rem; max-width: 56ch; color: var(--fg-2); font-size: 1.06rem; }
.crumb { font-size: .85rem; color: var(--fg-3); }
.crumb a:hover { color: var(--green); }

/* --- filter bar ---------------------------------------------------------- */
.filters { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding-block: 1rem;
  position: sticky; top: var(--nav-h); background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); z-index: 500; border-bottom: 1px solid var(--line); }
.chip { font-size: .88rem; font-weight: 500; padding: .5rem .95rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--fg-2); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--fg-3); color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.filters .grow { flex: 1; }
.search { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: .45rem .95rem; min-width: 210px; background: var(--card); }
.search input { background: none; border: 0; outline: none; font-size: .9rem; width: 100%; }
.search svg { width: 15px; height: 15px; color: var(--fg-3); flex: none; }
.sortsel { border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: .5rem 2.2rem .5rem 1rem;
  font-size: .88rem; font-weight: 500; background: var(--card); appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M1 1l4.5 4.5L10 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; }

/* --- product detail ------------------------------------------------------ */
.pdp { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem,3.5vw,3.5rem); align-items: start; }
.pdp__vis { background: var(--bg-2); border-radius: var(--r); padding: clamp(1.5rem,3vw,2.5rem);
  display: grid; place-items: center; min-height: 400px; position: relative; }
.pdp__vis svg.vial { height: clamp(230px, 30vw, 330px); width: auto; }
.pdp h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem,3.6vw,2.9rem); letter-spacing: -.025em; line-height: 1.06; }
.pdp__sub { color: var(--fg-2); margin-top: .5rem; }
.seq { font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; line-height: 2; word-break: break-all;
  background: var(--bg-2); padding: .9rem 1rem; border-radius: var(--r-sm); color: var(--fg-2); }
.seq b { color: var(--green); font-weight: 500; }
.variants { display: grid; gap: .5rem; margin-block: 1.3rem; }
.variant { padding: .85rem 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  display: flex; justify-content: space-between; align-items: center; text-align: left;
  transition: all .3s var(--ease); }
.variant:hover { border-color: var(--fg-3); }
.variant[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); }
.variant b { font-weight: 600; }
.variant em { font-style: normal; font-weight: 700; }
.acc { border-top: 1px solid var(--line); }
.acc summary { padding: 1rem 0; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.3rem; color: var(--fg-3); font-weight: 400; }
.acc[open] summary::after { content: '−'; }
.acc__b { padding-bottom: 1.2rem; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp__vis { min-height: 300px; } }

/* --- portal -------------------------------------------------------------- */
.portal { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: clamp(1rem,2vw,2rem); align-items: start; }
.portal__nav { display: flex; flex-direction: column; gap: .2rem; position: sticky; top: calc(var(--nav-h) + 1rem); }
.portal__nav button { text-align: left; padding: .7rem 1rem; border-radius: var(--r-sm); font-size: .94rem; font-weight: 500;
  color: var(--fg-2); transition: all .3s var(--ease); }
.portal__nav button:hover { background: var(--bg-2); color: var(--fg); }
.portal__nav button[aria-selected="true"] { background: var(--green-soft); color: var(--green); font-weight: 600; }
.portal__body { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem,2.5vw,2.2rem); }
.portal h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.order { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: .8rem; overflow: hidden; }
.order__h { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .9rem 1.1rem; background: var(--bg-2); font-size: .9rem; font-weight: 500; flex-wrap: wrap; }
.order__b { padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .89rem; color: var(--fg-2); }
.order__b div { display: flex; justify-content: space-between; gap: 1rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,150px),1fr)); gap: .8rem; margin-bottom: 1.8rem; }
.tile { background: var(--bg-2); border-radius: var(--r-sm); padding: 1.1rem; }
.tile b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1; }
.tile span { display: block; margin-top: .4rem; font-size: .82rem; color: var(--fg-3); }
@media (max-width: 780px) {
  .portal { grid-template-columns: 1fr; }
  .portal__nav { flex-direction: row; overflow-x: auto; position: static; padding-bottom: .3rem; }
  .portal__nav button { white-space: nowrap; }
}

.auth { max-width: 430px; margin-inline: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow); }
.auth h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.auth > p { color: var(--fg-2); font-size: .95rem; margin-bottom: 1.6rem; }
.auth__switch { margin-top: 1.2rem; text-align: center; font-size: .9rem; color: var(--fg-2); }
.auth__switch button { color: var(--green); font-weight: 600; }

/* --- misc ---------------------------------------------------------------- */
.stack-sm > * + * { margin-top: .75rem; }
.muted { color: var(--fg-2); }
.center { text-align: center; }
.mt-l { margin-top: clamp(1.8rem,3.5vw,3rem); }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
