/* ============================================================
   The Glutathione Hub — production stylesheet
   Tokens · base · components · responsive (mobile-first)
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  /* color */
  --ink: #0C1A14;
  --emerald: #0E5C45;
  --emerald-dark: #0A3D2E;
  --signal: #16A37F;
  --signal-2: #5FC3A5;
  --mist: #E2ECE7;
  --cloud: #F6F8F7;
  --paper: #ffffff;
  --line: #E2ECE7;
  --line-strong: #CBD9D2;
  --text: #27332E;
  --text-muted: #6B7B74;
  --clay: #B5683C;
  --clay-bg: #F3E7DD;
  --clay-line: #E6D2C2;
  --green-bg: #E7F2EE;

  /* type */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --fs-display: clamp(2.4rem, 1.4rem + 4.4vw, 3.5rem);
  --fs-h1: clamp(2rem, 1.3rem + 3.2vw, 2.9rem);
  --fs-h2: clamp(1.55rem, 1.2rem + 1.7vw, 2.1rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.5vw, 1.22rem);
  --fs-body: 1.0625rem;

  /* layout */
  --container: 1200px;
  --container-text: 760px;
  --gutter: clamp(1.15rem, 5vw, 2.5rem);
  --section-y: clamp(3rem, 7vw, 5rem);

  /* shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow: 0 1px 3px rgba(12, 26, 20, 0.08);
  --shadow-md: 0 8px 30px rgba(12, 26, 20, 0.10);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ---- Accessibility helpers ---- */
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: #fff;
  padding: .6rem 1rem; border-radius: var(--r-sm);
  z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-text { max-width: var(--container-text); }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); }
.section--cloud { background: var(--cloud); }
.section--ink { background: var(--ink); color: var(--cloud); }
.section--green { background: var(--green-bg); }

.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(.9rem, 2vw, 1.15rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 920px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Typography utilities ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
}
.eyebrow--muted { color: var(--text-muted); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); }
.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); }
.h-display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.section-head { max-width: 42rem; }
.section-head .h2 { margin-top: .5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem;
  padding: .8rem 1.4rem; border-radius: var(--r-sm);
  border: 1px solid transparent; text-decoration: none;
  transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-secondary { background: var(--paper); color: var(--emerald); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--emerald); }
.btn-ghost { background: var(--green-bg); color: var(--emerald); }
.btn-ghost:hover { background: #d8ebe3; }
.link-arrow {
  font-weight: 600; color: var(--emerald); text-decoration: none;
  border-bottom: 1.5px solid var(--signal); padding-bottom: 1px;
}
.link-arrow:hover { color: var(--emerald-dark); }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__name { font-family: var(--font-serif); font-size: 1.18rem; font-weight: 500; color: var(--ink); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a:not(.btn) {
  display: block; text-decoration: none; color: var(--text);
  font-weight: 500; padding: .7rem .25rem; border-radius: var(--r-sm);
}
.site-nav a[aria-current="page"] { color: var(--emerald); font-weight: 600; }

/* mobile open state */
.site-nav[data-open="true"] {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.5rem; box-shadow: var(--shadow-md);
}
.site-nav[data-open="true"] .nav-cta { margin-top: .75rem; width: 100%; justify-content: center; }

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.5rem; }
  .site-nav ul { flex-direction: row; gap: 1.5rem; }
  .site-nav a:not(.btn) { padding: .25rem 0; }
  .site-nav a:not(.btn):hover { color: var(--emerald); }
}

/* ---- Cards ---- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.1rem, 2vw, 1.5rem); }
.card--flat { background: var(--cloud); }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.card-link:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card__kicker { margin-bottom: .55rem; }
.card__title { font-family: var(--font-serif); font-weight: 500; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.card__desc { font-size: .92rem; color: var(--text-muted); margin-top: .5rem; }

/* ---- Tags & meters ---- */
.tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em;
  padding: .3rem .65rem; border-radius: 20px;
  background: var(--green-bg); color: var(--emerald);
}
.tag--neutral { background: var(--mist); color: var(--text); }
.tag--ink { background: var(--ink); color: #fff; }
.tag--clay { background: var(--clay-bg); color: var(--clay); }

.meter { display: inline-flex; gap: 3px; }
.meter span { width: 22px; height: 7px; border-radius: 4px; background: var(--line-strong); }
.meter span[data-on] { background: var(--emerald); }
.meter--clay span[data-on] { background: var(--clay); }
.evidence { display: inline-flex; align-items: center; gap: .6rem; }
.evidence__label { font-size: .82rem; font-weight: 700; color: var(--emerald); }
.evidence--clay .evidence__label { color: var(--clay); }

/* ============================================================
   Article system — production components (reuse existing tokens)
   ============================================================ */

/* anchor offset so headings clear the sticky header */
.prose h2, .article-body [id], #faq, #references { scroll-margin-top: 88px; }

/* article hero illustration band */
.article-hero {
  position: relative; display: grid; place-items: center;
  max-width: 920px; margin-inline: auto;
  aspect-ratio: 920 / 300; min-height: 220px;
  border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(120% 140% at 28% 0%, #F2F8F5 0%, #E4EFEA 62%, #D9E9E2 100%);
  border: 1px solid var(--line);
}
.article-hero svg { position: relative; height: 82%; width: auto; max-width: 86%; }
/* full-bleed signature hero: the SVG becomes the band artwork edge-to-edge */
.article-hero--wide svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.article-hero .particle {
  position: absolute; border-radius: 50%;
  background: var(--illo-2); box-shadow: 0 0 10px 2px var(--illo-glow);
  animation: drift 18s ease-in-out infinite;
}

/* research summary cards */
.rcards { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-top: .4rem; }
@media (min-width: 620px) { .rcards { grid-template-columns: 1fr 1fr; } }
.rcard { display: flex; flex-direction: column; gap: .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.rcard__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.rcard__title { font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.35; }
.rcard__src { font-family: var(--font-mono); font-size: .68rem; color: var(--text-muted); }

/* prev / next pager */
.pager { display: grid; gap: .8rem; grid-template-columns: 1fr; max-width: 1000px; margin-inline: auto; }
@media (min-width: 620px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.3rem; transition: border-color .15s var(--ease), transform .15s var(--ease); }
.pager__link:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pager__dir { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.pager__title { font-family: var(--font-serif); color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.pager__link--next { text-align: right; align-items: flex-end; }
.pager__spacer { border: 1px dashed var(--line); border-radius: var(--r); }

/* article index hub */
.alist { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .alist { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .alist { grid-template-columns: repeat(3, 1fr); } }
.acard { display: flex; flex-direction: column; }
.acard__art { aspect-ratio: 16 / 9; }
.acard__num { font-family: var(--font-mono); font-size: .72rem; color: var(--signal); }

/* ---- Image placeholders ---- */
.ph {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--emerald);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px);
  display: flex; align-items: flex-end; padding: 1rem;
  color: rgba(255,255,255,.8); font-family: var(--font-mono); font-size: .72rem;
}
.ph--soft { background: var(--mist); background-image: repeating-linear-gradient(135deg, rgba(14,92,69,.08) 0 10px, transparent 10px 20px); color: var(--emerald); }
.ph--ratio { aspect-ratio: 16 / 10; }
.ph--tall { aspect-ratio: 4 / 5; }

/* ---- Hero ---- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green-bg); border-radius: 20px; padding: .4rem .8rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--emerald);
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.1rem; font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted); }

/* ---- Learning path ---- */
.path { max-width: 48rem; margin-inline: auto; }
.path__item { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; }
.path__rail { display: flex; flex-direction: column; align-items: center; }
.path__node { width: 44px; height: 44px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-size: .85rem; flex-shrink: 0; }
.path__node--ink { background: var(--ink); }
.path__node--open { background: #fff; border: 2px solid var(--line-strong); color: var(--text-muted); }
.path__line { flex: 1; width: 2px; background: var(--line-strong); margin-block: .5rem; }
.path__body { padding-bottom: 1.6rem; }
.path__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.path__card--optional { border-style: dashed; }

/* ---- Article ---- */
.article-progress { position: sticky; top: 64px; z-index: 60; height: 3px; background: var(--mist); }
.article-progress__bar { height: 100%; width: 0; background: var(--signal); transition: width .1s linear; }
.article-head { max-width: var(--container-text); margin-inline: auto; }
.byline { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; padding-block: 1.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--mist); flex-shrink: 0; }
.meta-chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .45rem .7rem; font-family: var(--font-mono); font-size: .72rem; color: var(--text); }
.meta-chip svg { width: 14px; height: 14px; }

.article-body { display: grid; gap: clamp(1.5rem, 4vw, 3rem); max-width: 1000px; margin-inline: auto; }
@media (min-width: 920px) { .article-body { grid-template-columns: 210px 1fr; } }
.toc { position: sticky; top: 84px; align-self: start; }
@media (max-width: 919px) { .toc { display: none; } }
.toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.toc a { text-decoration: none; color: var(--text-muted); font-size: .85rem; padding-left: .75rem; border-left: 2px solid transparent; }
.toc a[aria-current="true"], .toc a:hover { color: var(--emerald); font-weight: 600; border-left-color: var(--signal); }

.prose { font-size: clamp(1.05rem, 1rem + .4vw, 1.18rem); line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.3rem; }
/* ideal reading measure for running text, while figures/callouts/cards stay full-width */
.prose > p { max-width: 68ch; }
.prose p a { color: var(--emerald); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 500; }
.prose p a:hover { color: var(--emerald-dark); text-decoration-color: var(--emerald); }
/* editorial section rhythm: hairline + breathing room above each h2 */
.prose h2 { font-size: var(--fs-h2); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
/* a section directly after the snapshot/takeaways gets its rule too, which reads well */
.prose figure { margin-block: 1.8rem; }
.prose figure figcaption { font-size: .82rem; color: var(--text-muted); margin-top: .7rem; font-family: var(--font-mono); letter-spacing: .01em; }
.prose blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem); line-height: 1.4; color: var(--emerald); border-left: 3px solid var(--signal); padding-left: 1.4rem; margin-block: 2rem; max-width: 40ch; }
.callout { background: var(--cloud); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: var(--r); padding: 1.4rem; }
.callout--clay { background: var(--clay-bg); border-color: var(--clay-line); border-left-color: var(--clay); color: #6b4d39; }
.callout ul { margin: 0; padding-left: 1.1rem; }
.callout li + li { margin-top: .4rem; }

/* quick answer box (article lead summary) */
.quick-answer { background: var(--green-bg); border: 1px solid #bfe0d3; border-radius: var(--r-lg); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.quick-answer__label { display: flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); margin-bottom: .8rem; }
.quick-answer__label svg { width: 17px; height: 17px; flex-shrink: 0; }
.quick-answer p { font-size: 1.08rem; line-height: 1.62; color: var(--ink); max-width: none; }
.quick-answer p + p { margin-top: .6rem; }

/* prose lists (styled, kept at a comfortable measure) */
.prose-list { list-style: none; padding: 0; max-width: 68ch; display: grid; gap: .6rem; }
.prose-list li { position: relative; padding-left: 1.65rem; line-height: 1.6; }
.prose-list li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.prose-list--check li { padding-left: 1.9rem; }
.prose-list--check li::before { left: 0; top: .18em; width: 18px; height: 18px; border-radius: 0; background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316A37F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E"); }
.prose-list--columns { max-width: none; }
@media (min-width: 620px) { .prose-list--columns { grid-template-columns: 1fr 1fr; gap: .6rem 2rem; } }

/* definition grid (e.g. organ-by-organ) */
.deflist { display: grid; margin-block: 1.4rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.deflist__row { display: grid; grid-template-columns: 170px 1fr; gap: 1.2rem; padding: 1.15rem 1.35rem; border-top: 1px solid var(--line); }
.deflist__row:first-child { border-top: 0; }
.deflist__term { display: flex; align-items: baseline; gap: .55rem; font-weight: 700; color: var(--ink); font-size: 1rem; }
.deflist__term::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); transform: translateY(-2px); }
.deflist__desc { color: var(--text); font-size: .98rem; line-height: 1.6; }
@media (max-width: 560px) { .deflist__row { grid-template-columns: 1fr; gap: .35rem; } }

/* two-column comparison (supports vs. reduces) */
.compare { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-block: 1.5rem; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border-radius: var(--r); padding: 1.35rem 1.45rem; border: 1px solid var(--line); }
.compare__col--up { background: var(--green-bg); border-color: #bfe0d3; }
.compare__col--down { background: var(--clay-bg); border-color: var(--clay-line); }
.compare__title { display: flex; align-items: center; gap: .5rem; font-family: var(--font-sans); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.compare__col--up .compare__title { color: var(--emerald); }
.compare__col--down .compare__title { color: var(--clay); }
.compare__title span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 1rem; line-height: 1; }
.compare__col--up .compare__title span { background: var(--emerald); color: #fff; }
.compare__col--down .compare__title span { background: var(--clay); color: #fff; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.compare li { position: relative; padding-left: 1.4rem; font-size: .95rem; line-height: 1.5; color: var(--text); }
.compare li::before { position: absolute; left: 0; font-weight: 700; }
.compare__col--up li::before { content: "+"; color: var(--emerald); }
.compare__col--down li::before { content: "–"; color: var(--clay); }
.cite { font-family: var(--font-mono); font-size: .62rem; background: var(--green-bg); color: var(--emerald); padding: 1px 6px; border-radius: 10px; vertical-align: super; margin-left: 2px; text-decoration: none; }

/* evidence snapshot */
.snapshot { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.snapshot__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.snapshot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.snapshot__cell { background: var(--paper); padding: 1rem 1.1rem; }
.snapshot__cell dt { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }
.snapshot__cell dd { font-size: .92rem; font-weight: 600; color: var(--text); }

/* findings */
.finding { display: flex; align-items: center; gap: .9rem; background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1.1rem; }
.finding + .finding { margin-top: .6rem; }
.finding .tag { flex-shrink: 0; }

/* FAQ via <details> */
.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-muted); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary { background: var(--cloud); }
.faq details[open] summary::after { content: "–"; color: var(--emerald); }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--text); font-size: .98rem; line-height: 1.65; }

/* references */
.refs { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.refs ol { margin: 0; padding: 0; list-style: none; counter-reset: ref; }
.refs li { display: flex; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.refs li:last-child { border-bottom: 0; }
.refs li::before { counter-increment: ref; content: counter(ref); font-family: var(--font-mono); font-size: .75rem; color: var(--signal); }

/* author summary band */
.author-band { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; max-width: 52rem; margin-inline: auto; }
.author-band__avatar { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--emerald); }

/* ---- Research / listing rows ---- */
.toolbar { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.search {
  flex: 1 1 240px; display: flex; align-items: center; gap: .6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .9rem;
}
.search input { border: 0; outline: 0; background: transparent; font: inherit; width: 100%; color: var(--text); }
.select-chip { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem 1rem; font-size: .85rem; font-weight: 600; color: var(--text); }

.study { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: grid; gap: 1.2rem; }
@media (min-width: 720px) { .study { grid-template-columns: 1fr 190px; } }
.study__aside { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 720px) { .study__aside { border-left: 1px solid var(--line); padding-left: 1.3rem; } }

/* alphabet */
.alpha { display: flex; flex-wrap: wrap; gap: .35rem; }
.alpha a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .8rem; color: var(--text); text-decoration: none; }
.alpha a[aria-current="true"], .alpha a:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.az-group { display: grid; grid-template-columns: 56px 1fr; gap: 1.3rem; padding-top: 1.6rem; }
.az-group + .az-group { border-top: 1px solid var(--line); margin-top: 1.6rem; }
.az-letter { font-family: var(--font-serif); font-size: 2.3rem; color: var(--emerald); }
.az-list { display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .az-list { grid-template-columns: 1fr 1fr; } }
.az-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.1rem; text-decoration: none; color: inherit; }
.az-item:hover { border-color: var(--line-strong); }
.az-item__count { font-family: var(--font-mono); font-size: .7rem; color: var(--text-muted); margin-top: .15rem; }

/* ---- Forms ---- */
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--cloud); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .75rem .9rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa39e; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #9DB3AB; }
.footer-grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-grid a { color: #9DB3AB; text-decoration: none; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand__name { font-family: var(--font-serif); font-size: 1.1rem; color: #fff; }
.footer-disclaimer { font-size: .85rem; line-height: 1.6; max-width: 32ch; margin-top: .8rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: .7rem; color: #6B7B74; }

/* ---- Contact ---- */
@media (min-width: 860px) {
  [data-contact-grid] { grid-template-columns: 1.3fr .9fr !important; align-items: start; }
}

/* ---- Newsletter ---- */
.newsletter { max-width: 40rem; margin-inline: auto; text-align: center; }
.newsletter__form { display: flex; gap: .6rem; max-width: 28rem; margin: 1.4rem auto 0; }
.newsletter__form input { flex: 1; }

/* ============================================================
   Microscopic illustration system + living motion
   ============================================================ */

/* shared illustration tokens */
:root {
  --illo-1: #16A37F;   /* signal     */
  --illo-2: #5FC3A5;   /* signal-2   */
  --illo-3: #0E5C45;   /* emerald    */
  --illo-glow: rgba(95,195,165,.55);
  --radical: #C97A4A;  /* free-radical accent (warm) */
}

/* --- scroll reveal (only hides when JS is present) --- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in-view { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .09s; }
.reveal--d2 { transition-delay: .18s; }
.reveal--d3 { transition-delay: .27s; }
.reveal--d4 { transition-delay: .36s; }

/* --- motion keyframes --- */
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(7px,-13px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-9px,-8px); } }
@keyframes floatC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6px,11px); } }
@keyframes floatD { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-6px,10px); } }
@keyframes pulseGlow { 0%,100% { opacity:.5; } 50% { opacity:1; } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes dashFlow { to { stroke-dashoffset: -240; } }
@keyframes twinkle { 0%,100% { opacity:.2; transform: scale(.6); } 50% { opacity:1; transform: scale(1); } }
@keyframes drift { 0% { transform: translate(0,0); } 25% { transform: translate(10px,-12px); } 50% { transform: translate(-6px,-18px); } 75% { transform: translate(-12px,-6px); } 100% { transform: translate(0,0); } }

/* svg-local transform helpers */
.spin-slow { transform-box: fill-box; transform-origin: center; animation: spinSlow 80s linear infinite; }
.spin-rev  { transform-box: fill-box; transform-origin: center; animation: spinSlow 110s linear infinite reverse; }
.breathe   { transform-box: fill-box; transform-origin: center; animation: breathe 8s var(--ease) infinite; }
.node-pulse{ transform-box: fill-box; transform-origin: center; animation: pulseGlow 4.5s var(--ease) infinite; }
.flow      { stroke-dasharray: 5 8; animation: dashFlow 5s linear infinite; }
.flow--fast{ animation-duration: 3s; }
.gfloatA { transform-box: fill-box; transform-origin: center; animation: floatA 9s var(--ease) infinite; }
.gfloatB { transform-box: fill-box; transform-origin: center; animation: floatB 11s var(--ease) infinite; }
.gfloatC { transform-box: fill-box; transform-origin: center; animation: floatC 13s var(--ease) infinite; }
.gdrift  { transform-box: fill-box; transform-origin: center; animation: drift 22s ease-in-out infinite; }

/* --- signature hero illustration --- */
.hero-illo { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1; }
.hero-illo__svg { width: 100%; height: 100%; overflow: visible; }
.hero-illo .particle {
  position: absolute; border-radius: 50%;
  background: var(--illo-2); box-shadow: 0 0 10px 2px var(--illo-glow);
  animation: drift 16s ease-in-out infinite;
}

/* --- molecular / DNA dividers --- */
.mol-divider { display: flex; justify-content: center; padding-block: clamp(1.4rem, 4vw, 2.6rem); overflow: hidden; }
.mol-divider svg { width: min(720px, 92%); height: auto; display: block; }

/* --- illustrated cards --- */
.illo-card { padding: 0; overflow: hidden; }
.illo-card__art {
  display: block;
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 0%, #F2F8F5 0%, #E4EFEA 60%, #D9E9E2 100%);
  border-bottom: 1px solid var(--line);
}
.illo-card__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.illo-card__art--dark { background: radial-gradient(120% 120% at 30% 0%, #123127 0%, #0C1A14 70%); }
.illo-card__body { display: block; padding: 1.25rem; }

/* --- glutathione cycle visualization --- */
.cycle-figure { max-width: 820px; margin-inline: auto; }
.cycle-figure svg { width: 100%; height: auto; overflow: visible; }
.cycle-legend { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; justify-content: center; margin-top: 1.6rem; font-family: var(--font-mono); font-size: .74rem; color: #9DB3AB; }
.cycle-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.cycle-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

/* keep illustrations calm for reduced-motion users (global rule already pauses animation) */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- Misc ---- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.flex { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.dark-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 1.3rem; }
.dark-card h3 { color: #fff; font-size: 1.25rem; }
.dark-card p { color: #9DB3AB; font-size: .88rem; margin-top: .4rem; }
