/* =================================================================
   SOLUGEN — Living Chemistry Direction
   High-key, airy, bio-forward. Pale aqua → white, soft bloom, ink.
   ================================================================= */

:root {
  --aqua-50:  #f3fbf9;
  --aqua-100: #e6f6f2;
  --aqua-200: #ccebe4;
  --aqua-300: #a7dccf;
  --aqua-400: #74c6b3;
  --aqua-500: #3daa92;
  --aqua-600: #1f8b76;
  --aqua-700: #156b5c;

  --ink-900: #0d1f1c;
  --ink-700: #2a3c39;
  --ink-500: #5b6e6b;
  --ink-300: #9aa9a6;
  --ink-100: #d6dedc;
  --ink-50:  #eef2f1;

  --paper:   #ffffff;

  --slate-50:  #f6f8f7;
  --slate-100: #eef2f0;
  --slate-200: #dde4e1;

  --radius-sm: 10px;
  --radius:    20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink-900);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 300;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { overflow-x: clip; }

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqua-600);
  padding: 6px 12px;
  border: 1px solid var(--aqua-300);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
}
.eyebrow--light {
  color: var(--aqua-200);
  border-color: rgba(167, 220, 207, .35);
  background: rgba(255,255,255,.06);
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink-900);
}
h2 { font-size: clamp(40px, 5.5vw, 84px); }
h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.1; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px var(--gutter);
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), backdrop-filter .35s var(--ease-out);
}
.nav.is-floating {
  transform: translateY(8px);
  padding: 0 var(--gutter);
}
.nav.is-floating .nav__inner {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 40px -10px rgba(15, 90, 75, .15);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
}
.nav.is-hidden { transform: translateY(-140%); }

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  transition: background .35s var(--ease-out), padding .35s var(--ease-out);
}

.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink-900);
}
.nav__logo { width: 22px; height: 22px; color: var(--aqua-600); }

.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-700);
}
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--aqua-600); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: background .2s, transform .2s;
}
.nav__cta:hover { background: var(--aqua-700); transform: translateY(-1px); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
}

/* =================================================================
   HERO  (~180vh sticky-scroll)
   ================================================================= */
.hero {
  position: relative;
  min-height: 180vh;
  padding: 0 var(--gutter);
}

.hero__gradient {
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 35%, var(--aqua-100) 0%, transparent 70%),
    linear-gradient(180deg, #f7fcfb 0%, #ffffff 60%, #f3fbf9 100%);
  transition: background 1.2s var(--ease-soft);
  will-change: background;
}
.hero__gradient::after {
  /* subtle aqua bloom layer that breathes */
  content: "";
  position: absolute; inset: -10%;
  background: radial-gradient(40% 35% at 70% 25%, rgba(116, 198, 179, .35) 0%, transparent 70%);
  filter: blur(40px);
  opacity: .6;
  animation: heroBloom 14s ease-in-out infinite alternate;
}
@keyframes heroBloom {
  0%   { transform: translate(-2%, -1%) scale(1);   opacity: .55; }
  100% { transform: translate(2%, 1%) scale(1.05);  opacity: .75; }
}

.hero__center {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero__media {
  position: relative;
  width: min(38vw, 460px);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-xl);
  overflow: visible;
  transform: translateY(0);
  will-change: transform;
}
.hero__still, .hero__clip {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow:
    0 30px 80px -20px rgba(15, 90, 75, .35),
    0 0 0 1px rgba(255,255,255,.6);
  background: var(--aqua-100);
}
.hero__clip {
  opacity: 0;
  transition: opacity 1.6s var(--ease-soft);
}
.hero.is-ready .hero__clip { opacity: 1; }

.hero__halo {
  position: absolute; inset: -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(116,198,179,.55), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: halo 10s ease-in-out infinite alternate;
}
@keyframes halo {
  0%   { transform: scale(0.95); opacity: .55; }
  100% { transform: scale(1.08); opacity: .85; }
}

.hero__title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: clamp(96px, 22vw, 360px);
  line-height: .82;
  letter-spacing: -0.045em;
  z-index: 1;
}
.hero__word {
  display: block;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.hero__word-inner {
  display: inline-block;
  will-change: transform, opacity;
  background: linear-gradient(180deg, var(--aqua-700) 0%, var(--aqua-500) 60%, var(--aqua-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__word--chem { margin-top: -.12em; }

.hero__caption {
  position: absolute;
  left: var(--gutter);
  bottom: 64px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-500);
  max-width: 320px;
  text-align: left;
  letter-spacing: 0;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-500);
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,100% { transform: translateY(0); opacity: .6; }
  50%     { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 760px) {
  .hero__title { font-size: clamp(72px, 22vw, 180px); }
  .hero__media { width: 62vw; }
  .hero__caption { bottom: 32px; font-size: 12px; }
  .hero__scroll  { display: none; }
}

/* =================================================================
   MISSION BAND
   ================================================================= */
.mission {
  position: relative;
  padding: 160px var(--gutter) 120px;
  background:
    radial-gradient(80% 60% at 50% 0%, var(--aqua-50) 0%, transparent 70%);
}
.mission__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.mission__copy { max-width: 560px; }
.mission__statement {
  margin: 22px 0 22px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  color: var(--ink-900);
}
.mission__statement em {
  font-style: italic;
  color: var(--aqua-700);
  font-weight: 400;
}
.mission__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
  max-width: 480px;
}

.mission__tile {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(15, 90, 75, .25),
    0 0 0 1px rgba(255,255,255,.7);
}
.mission__video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mission__tile-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 35%, rgba(255,255,255,.55) 100%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.35));
  pointer-events: none;
}
.mission__tile-label {
  position: absolute;
  left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.78);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-700);
  backdrop-filter: blur(8px);
}
.mission__tile-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aqua-500);
  box-shadow: 0 0 0 4px rgba(61, 170, 146, .25);
}

@media (max-width: 900px) {
  .mission__inner { grid-template-columns: 1fr; }
}

/* =================================================================
   SHOWCASE (6-screen sticky)
   ================================================================= */
.showcase {
  position: relative;
  /* tall scroll region */
  height: 600vh;
}
.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.showcase__stage {
  position: absolute; inset: 0;
  border-radius: 0;
  overflow: hidden;
  z-index: 0;
}
.showcase__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(1.05) saturate(.95);
}
.showcase__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,.25) 0%, rgba(255,255,255,.65) 70%),
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.5));
  transition: background 1s var(--ease-soft);
}

.showcase__panels {
  position: relative;
  z-index: 2;
  width: min(90%, 760px);
  display: grid;
  place-items: center;
}
.showcase__panel {
  grid-column: 1; grid-row: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  pointer-events: none;
}
.showcase__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.showcase__panel h3 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 16px auto 14px;
  max-width: 14ch;
  color: var(--ink-900);
}
.showcase__panel p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 50ch;
  margin: 0 auto;
}
.showcase__chips {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px;
}
.showcase__chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--aqua-200);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--aqua-700);
}

.showcase__tabs {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.8);
}
.showcase__tab {
  position: relative;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-700);
  transition: color .3s, background .3s;
  z-index: 1;
}
.showcase__tab.is-active { color: var(--ink-900); }
.showcase__tabbar {
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  pointer-events: none;
  overflow: hidden;
}
.showcase__tabbar-fill {
  display: block;
  width: 100%;
  height: 38px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 6px 20px -8px rgba(15, 90, 75, .25);
  transform: translateY(0);
  transition: transform .55s var(--ease-out);
}

@media (max-width: 900px) {
  .showcase__tabs {
    top: auto; right: 50%; bottom: 24px;
    transform: translateX(50%);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 32px);
  }
  .showcase__tab { padding: 8px 14px; font-size: 12px; }
  .showcase__tabbar { display: none; }
}

/* =================================================================
   BENTO
   ================================================================= */
.bento {
  position: relative;
  padding: 140px var(--gutter) 120px;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--aqua-50) 100%);
}
.bento__head {
  max-width: var(--maxw);
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.bento__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.bento__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.bento__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px -20px rgba(15, 90, 75, .25);
}

.bento__card--video {
  grid-column: span 4;
  grid-row: span 2;
  background: var(--ink-900);
}
.bento__card--video video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
  filter: brightness(1.25) saturate(.7) contrast(.95);
  transition: opacity .4s, transform .8s var(--ease-out), filter .4s;
}
.bento__card--video:hover video { transform: scale(1.02); opacity: .95; filter: brightness(1.35) saturate(.75) contrast(.95); }
.bento__card--video::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(243, 251, 249, .25), rgba(243, 251, 249, .45)),
    radial-gradient(120% 80% at 50% 50%, rgba(255,255,255,.1), rgba(255,255,255,.35));
  z-index: 1;
  pointer-events: none;
}
.bento__card--video:hover video { transform: scale(1.02); opacity: .95; filter: brightness(1.35) saturate(.75) contrast(.95); }
.bento__card-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 31, 28, .65) 100%);
  color: #fff;
}
.bento__card-overlay h3 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
  margin-top: 10px;
}

.bento__card--quote {
  grid-column: span 2;
  grid-row: span 2;
  padding: 28px;
  background: linear-gradient(180deg, var(--aqua-50) 0%, #ffffff 100%);
  display: flex; flex-direction: column;
}
.bento__quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 80px;
  line-height: .6;
  color: var(--aqua-400);
  margin-bottom: 8px;
}
.bento__quote-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-700);
  margin: 0 0 22px;
  flex: 1;
}
.bento__quote-attr {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--slate-200);
  padding-top: 16px;
}
.bento__quote-attr img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.bento__quote-attr strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-900);
}
.bento__quote-attr span {
  font-size: 12px;
  color: var(--ink-500);
}

.bento__card--metric {
  grid-column: span 3;
  padding: 32px;
  background:
    radial-gradient(120% 80% at 100% 0%, var(--aqua-100) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--aqua-50) 100%);
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento__metric-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(72px, 8vw, 128px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--aqua-700);
}
.bento__metric-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  margin-top: 4px;
}
.bento__card--metric p {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-500);
  max-width: 32ch;
}

.bento__card--marquee {
  grid-column: span 3;
  padding: 0;
  display: flex; align-items: center;
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--aqua-200);
}
.marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  padding: 28px 0;
  animation: marquee 28s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.marquee__track span { display: inline-block; }
.marquee__track span:nth-child(even) { color: var(--aqua-400); opacity: .5; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

.bento__card--contact {
  grid-column: span 6;
  padding: 48px;
  background:
    radial-gradient(80% 100% at 0% 0%, var(--aqua-200) 0%, transparent 60%),
    linear-gradient(135deg, var(--aqua-600) 0%, var(--aqua-700) 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.bento__card--contact .eyebrow {
  color: var(--aqua-100);
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
}
.bento__card--contact h3 {
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  margin: 12px 0 0;
}
.bento__card--contact p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.bento__btn {
  display: inline-flex; align-items: center;
  padding: 18px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .2s, background .2s;
}
.bento__btn:hover { transform: translateY(-2px); background: var(--aqua-50); }

@media (max-width: 900px) {
  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .bento__card--video   { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; }
  .bento__card--quote   { grid-column: span 2; grid-row: span 1; }
  .bento__card--metric  { grid-column: span 2; }
  .bento__card--marquee { grid-column: span 2; }
  .bento__card--contact { grid-column: span 2; grid-template-columns: 1fr; padding: 32px; }
}

/* =================================================================
   STATS (light)
   ================================================================= */
.stats {
  position: relative;
  padding: 140px var(--gutter);
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.stats__head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 50px;
  max-width: 640px;
}
.stats__tabs {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  margin-bottom: 28px;
  background: var(--paper);
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  width: fit-content;
}
.stats__tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  transition: background .3s, color .3s;
}
.stats__tab.is-active {
  background: var(--ink-900);
  color: #fff;
}
.stats__summary {
  font-size: 17px;
  color: var(--ink-700);
  margin: 0 0 40px;
  max-width: 60ch;
  line-height: 1.5;
}

.stats__bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stats__bar {
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--slate-200);
}
.stats__bar:last-child { border-bottom: 0; }
.stats__bar-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.stats__bar-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
}
.stats__bar-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua-500), var(--aqua-700));
  transition: width 1.4s var(--ease-out);
}
.stats__bar-spark {
  position: absolute;
  top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-900);
  transform: translate(-50%, -50%);
}
.stats__bar-value {
  text-align: right;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.stats__bar-value small {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  margin-left: 4px;
  letter-spacing: 0.05em;
}

@media (max-width: 760px) {
  .stats__bar { grid-template-columns: 1fr; gap: 6px; }
  .stats__bar-value { text-align: left; }
}

/* =================================================================
   STORY (horizontal scroll rail)
   ================================================================= */
.story {
  position: relative;
  background: var(--paper);
}
.story__sticky {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 120px 0 80px;
  overflow: hidden;
}
.story__head {
  padding: 0 var(--gutter) 50px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.story__rail {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.story__rail::-webkit-scrollbar { display: none; }

.story__card {
  flex: 0 0 min(86vw, 540px);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
.story__card:nth-child(odd)  { background: linear-gradient(180deg, var(--aqua-50), var(--paper)); }
.story__card:nth-child(even) { background: linear-gradient(180deg, #fff, var(--slate-50)); }

.story__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 24px;
  background: var(--slate-100);
}
.story__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.story__card:hover .story__media img { transform: scale(1.04); }

.story__num {
  position: absolute;
  top: 28px; right: 32px;
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--aqua-300);
}
.story__card h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
}
.story__card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0 0 24px;
  flex: 1;
}
.story__link {
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--aqua-700);
  border-bottom: 1px solid var(--aqua-300);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color .2s, border-color .2s;
}
.story__link:hover { color: var(--ink-900); border-color: var(--ink-900); }

/* =================================================================
   FORGES small anchor
   ================================================================= */
.forges {
  padding: 120px var(--gutter);
  background: var(--aqua-50);
}
.forges__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 24px;
}
.forges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.forges__tile {
  display: flex; flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  transition: transform .3s var(--ease-out), border-color .3s;
}
.forges__tile:hover { transform: translateY(-3px); border-color: var(--aqua-300); }
.forges__tile strong {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink-900);
}
.forges__tile span {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-500);
}

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

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  position: relative;
  padding: 0 var(--gutter) 32px;
  background:
    radial-gradient(80% 60% at 50% 0%, var(--aqua-100) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--aqua-50) 100%);
  overflow: hidden;
}
.footer__line {
  width: 100%;
  height: 60px;
  color: var(--aqua-600);
}
.footer__line svg { width: 200%; height: 100%; animation: footerLine 14s linear infinite; }
@keyframes footerLine {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 40px;
  display: grid;
  gap: 40px;
}
.footer__mark {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(120px, 22vw, 360px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--aqua-300);
  background: linear-gradient(180deg, var(--aqua-200), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  user-select: none;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--slate-200);
  padding-top: 40px;
}
.footer__cols a {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-700);
  transition: color .2s;
}
.footer__cols a:hover { color: var(--aqua-700); }
.footer__col-title {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.footer__cols p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.5;
}

.footer__legal {
  border-top: 1px solid var(--slate-200);
  padding-top: 24px;
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-500);
}
.footer__legal a:hover { color: var(--aqua-700); }
.footer__legal-dot { opacity: .5; }

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

/* =================================================================
   Reveal animations
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
  }
}
/* =================================================================
   DIRECTION 4 — BIO-ONLY
   Pure white/minimal, medical-clean, sans-serif heavy.
   ================================================================= */
body.d-bio {
  --aqua-50:  #f8faf8;
  --aqua-100: #f0f5f0;
  --aqua-200: #dde8de;
  --aqua-300: #b8cdb9;
  --aqua-400: #86a888;
  --aqua-500: #5a8359;
  --aqua-600: #3a5d3a;
  --aqua-700: #1f3a20;

  --ink-900: #0a1410;
  --ink-700: #2a3530;
  --ink-500: #5b6e64;
  --ink-300: #94a39a;
  --ink-100: #cfd8d2;
  --ink-50:  #e8eeea;

  --paper:   #ffffff;

  --slate-50:  #fafbfa;
  --slate-100: #f3f5f3;
  --slate-200: #e6eae7;

  --accent:   #0a8a55;        /* deep bio green */
  --accent-2: #58c794;

  background: var(--paper);
  color: var(--ink-900);
}

body.d-bio,
body.d-bio h1, body.d-bio h2, body.d-bio h3 {
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 600;
}

body.d-bio h2 { font-weight: 700; letter-spacing: -0.035em; }
body.d-bio h3 { font-weight: 600; letter-spacing: -0.025em; }

body.d-bio .eyebrow {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(10, 138, 85, .04);
  font-weight: 600;
  letter-spacing: 0.18em;
}
body.d-bio .eyebrow--light {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: rgba(88, 199, 148, .12);
  font-weight: 600;
}

body.d-bio .nav__inner {
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--slate-200);
}
body.d-bio .nav.is-floating .nav__inner {
  background: rgba(255, 255, 255, .95);
  border-color: var(--accent);
  box-shadow: 0 10px 40px -10px rgba(10, 138, 85, .15);
}
body.d-bio .nav__brand { color: var(--ink-900); font-weight: 700; }
body.d-bio .nav__links a { color: var(--ink-700); font-weight: 500; }
body.d-bio .nav__links a:hover { color: var(--accent); }
body.d-bio .nav__logo { color: var(--accent); }
body.d-bio .nav__cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
body.d-bio .nav__cta:hover { background: var(--ink-900); }

body.d-bio .hero__gradient {
  background:
    radial-gradient(50% 50% at 50% 30%, rgba(10, 138, 85, .05) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fafffe 50%, #f0f5f0 100%);
}
body.d-bio .hero__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}
body.d-bio .hero__word-inner {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.d-bio .hero__word--accent .hero__word-inner {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
body.d-bio .hero__media { filter: brightness(1.02) saturate(.95); border-radius: 24px; }
body.d-bio .hero__caption { color: var(--ink-500); font-weight: 400; }
body.d-bio .hero__scroll  { color: var(--ink-500); font-weight: 500; }

body.d-bio .mission { background: #ffffff; }
body.d-bio .mission__statement { color: var(--ink-900); }
body.d-bio .mission__statement em { color: var(--accent); font-weight: 700; font-style: normal; }
body.d-bio .mission__lede { color: var(--ink-500); font-weight: 400; }
body.d-bio .mission__tile { box-shadow: 0 20px 60px -20px rgba(10, 138, 85, .2), 0 0 0 1px var(--slate-200); border-radius: 24px; }
body.d-bio .mission__tile-vignette {
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 30%, rgba(255, 255, 255, .4) 100%);
}
body.d-bio .mission__tile-label { background: rgba(255, 255, 255, .9); color: var(--ink-900); font-weight: 500; border: 1px solid var(--slate-200); }
body.d-bio .mission__tile-label .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(10, 138, 85, .2); }

body.d-bio .showcase { background: var(--slate-50); }
body.d-bio .showcase__scrim {
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .55) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .5));
}
body.d-bio .showcase__panel h3 { color: var(--ink-900); }
body.d-bio .showcase__panel p { color: var(--ink-500); font-weight: 400; }
body.d-bio .showcase__chips li {
  background: rgba(255, 255, 255, .85);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 500;
}
body.d-bio .showcase__tabs {
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--slate-200);
}
body.d-bio .showcase__tab { color: var(--ink-500); font-weight: 500; }
body.d-bio .showcase__tab.is-active { color: var(--ink-900); }
body.d-bio .showcase__tabbar-fill {
  background: var(--accent);
  box-shadow: 0 6px 20px -8px rgba(10, 138, 85, .5);
}

body.d-bio .bento { background: #ffffff; }
body.d-bio .bento__head h2 { color: var(--ink-900); }
body.d-earth .bento__card,
body.d-bio .bento__card {
  background: var(--paper);
  border: 1px solid var(--slate-200);
}
body.d-bio .bento__card--video { background: var(--ink-900); }
body.d-bio .bento__card--video video { filter: brightness(1) saturate(1); }
body.d-bio .bento__card--quote { background: linear-gradient(180deg, rgba(10, 138, 85, .04) 0%, #fff 100%); }
body.d-bio .bento__quote-text { color: var(--ink-700); font-weight: 400; font-size: 18px; }
body.d-bio .bento__quote-mark { color: var(--accent); opacity: .35; font-family: 'Instrument Serif', serif; }
body.d-bio .bento__quote-attr strong { color: var(--ink-900); font-weight: 600; }
body.d-bio .bento__quote-attr span { color: var(--ink-500); font-weight: 400; }
body.d-bio .bento__quote-attr { border-top-color: var(--slate-200); }
body.d-bio .bento__card--metric {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(10, 138, 85, .08) 0%, transparent 60%),
    #ffffff;
}
body.d-bio .bento__metric-num { color: var(--accent); font-family: 'Inter', sans-serif; font-weight: 800; }
body.d-bio .bento__metric-label { color: var(--ink-900); font-weight: 500; }
body.d-bio .bento__card--metric p { color: var(--ink-500); font-weight: 400; }
body.d-bio .bento__card--marquee {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}
body.d-bio .marquee__track { font-family: 'Inter', sans-serif; font-weight: 600; }
body.d-bio .marquee__track span:nth-child(even) { color: var(--accent-2); opacity: .7; }
body.d-bio .bento__card--contact {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(88, 199, 148, .4) 0%, transparent 60%),
    linear-gradient(135deg, var(--accent) 0%, var(--accent-600, var(--ink-700)) 100%);
  background: linear-gradient(135deg, var(--accent) 0%, var(--ink-700) 100%);
  color: #fff;
  border-color: transparent;
}
body.d-bio .bento__card--contact .eyebrow { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
body.d-bio .bento__card--contact h3 { color: #fff; }
body.d-bio .bento__btn { background: #fff; color: var(--accent); font-weight: 600; }
body.d-bio .bento__btn:hover { background: var(--ink-900); color: #fff; }

body.d-bio .stats {
  background: var(--slate-50);
  border-top-color: var(--slate-200);
  border-bottom-color: var(--slate-200);
}
body.d-bio .stats__head h2 { color: var(--ink-900); }
body.d-bio .stats__tabs { background: #fff; border-color: var(--slate-200); }
body.d-bio .stats__tab { color: var(--ink-500); font-weight: 500; }
body.d-bio .stats__tab.is-active { background: var(--accent); color: #fff; }
body.d-bio .stats__summary { color: var(--ink-500); font-weight: 400; }
body.d-bio .stats__bar { border-bottom-color: var(--slate-200); }
body.d-bio .stats__bar-label { color: var(--ink-900); font-weight: 500; }
body.d-bio .stats__bar-track { background: var(--slate-200); }
body.d-bio .stats__bar-fill { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
body.d-bio .stats__bar-spark { background: var(--accent); box-shadow: 0 0 0 3px rgba(10, 138, 85, .2); }
body.d-bio .stats__bar-value { color: var(--ink-900); font-family: 'Inter', sans-serif; font-weight: 700; }
body.d-bio .stats__bar-value small { color: var(--ink-500); font-weight: 500; }

body.d-bio .story { background: #fff; }
body.d-bio .story__head h2 { color: var(--ink-900); }
body.d-bio .story__card { background: #fff; border-color: var(--slate-200); border-radius: 24px; }
body.d-bio .story__card:nth-child(odd)  { background: linear-gradient(180deg, rgba(10, 138, 85, .03), #fff); }
body.d-bio .story__card:nth-child(even) { background: linear-gradient(180deg, #fff, var(--slate-50)); }
body.d-bio .story__media { background: var(--slate-100); border-radius: 16px; }
body.d-bio .story__num { color: var(--accent); opacity: .4; font-family: 'Inter', sans-serif; font-weight: 800; }
body.d-bio .story__card h3 { color: var(--ink-900); font-weight: 700; }
body.d-bio .story__card p { color: var(--ink-500); font-weight: 400; }
body.d-bio .story__link { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
body.d-bio .story__link:hover { color: var(--ink-900); border-bottom-color: var(--ink-900); }

body.d-bio .forges { background: var(--slate-50); }
body.d-bio .forges__inner h2 { color: var(--ink-900); }
body.d-bio .forges__tile { background: #fff; border-color: var(--slate-200); border-radius: 16px; }
body.d-bio .forges__tile:hover { border-color: var(--accent); }
body.d-bio .forges__tile strong { color: var(--ink-900); font-family: 'Inter', sans-serif; font-weight: 700; }
body.d-bio .forges__tile span { color: var(--ink-500); font-weight: 400; }

body.d-bio .footer {
  background: #ffffff;
  color: var(--ink-900);
  border-top: 1px solid var(--slate-200);
}
body.d-bio .footer__line { color: var(--accent); opacity: .6; }
body.d-bio .footer__mark {
  -webkit-text-stroke: 1.5px var(--accent);
  color: transparent;
  background: linear-gradient(180deg, rgba(10, 138, 85, .12), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}
body.d-bio .footer__cols { border-top-color: var(--slate-200); }
body.d-bio .footer__cols a, body.d-bio .footer__cols p { color: var(--ink-500); font-weight: 400; }
body.d-bio .footer__cols a:hover { color: var(--accent); }
body.d-bio .footer__col-title { color: var(--ink-700); font-weight: 600; }
body.d-bio .footer__legal { border-top-color: var(--slate-200); color: var(--ink-500); font-weight: 400; }
body.d-bio .footer__legal a:hover { color: var(--accent); }
