/* =========================================================
   BIOSIRIUS — Stylesheet
   Premium editorial biotech: Fraunces + Inter, deep teal accent,
   light + dark theme, restrained motion.
   ========================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }

/* ---------- Theme tokens ---------- */
:root {
  /* Light (default) */
  --bg:           #fbfaf7;
  --bg-elev:      #ffffff;
  --bg-alt:       #f3f1ec;
  --bg-dark:      #0f1816;
  --surface:      #ffffff;
  --border:       rgba(15, 24, 22, 0.08);
  --border-strong:rgba(15, 24, 22, 0.16);
  --ink:          #0f1816;     /* deep mineral / near-black */
  --ink-2:        #2b3835;
  --muted:        #5a6864;
  --muted-2:      #7c8a86;
  --on-dark:      #f1eee6;
  --on-dark-mute: #aab3af;

  --accent:       #0e7a72;     /* deep teal */
  --accent-h:     #0a5e58;
  --accent-2:     #2e5c52;     /* mineral green echo */
  --accent-soft:  rgba(14, 122, 114, 0.10);
  --accent-line:  rgba(14, 122, 114, 0.28);

  --shadow-sm: 0 1px 2px rgba(15,24,22,0.04), 0 1px 1px rgba(15,24,22,0.03);
  --shadow-md: 0 8px 24px rgba(15,24,22,0.06), 0 2px 6px rgba(15,24,22,0.04);
  --shadow-lg: 0 24px 60px rgba(15,24,22,0.10), 0 4px 12px rgba(15,24,22,0.05);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);

  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --t-fast: 180ms cubic-bezier(.2,.6,.2,1);
  --t-med:  320ms cubic-bezier(.2,.6,.2,1);
  --t-slow: 600ms cubic-bezier(.2,.6,.2,1);
}

[data-theme="dark"] {
  --bg:           #0c1413;
  --bg-elev:      #121b19;
  --bg-alt:       #0f1816;
  --bg-dark:      #06100e;
  --surface:      #131e1b;
  --border:       rgba(241, 238, 230, 0.08);
  --border-strong:rgba(241, 238, 230, 0.16);
  --ink:          #f1eee6;
  --ink-2:        #d8d4c9;
  --muted:        #9aa6a2;
  --muted-2:      #7a8682;
  --on-dark:      #f1eee6;
  --on-dark-mute: #aab3af;

  --accent:       #4cb3a8;
  --accent-h:     #6ec6bb;
  --accent-2:     #79bdaf;
  --accent-soft:  rgba(76, 179, 168, 0.14);
  --accent-line:  rgba(76, 179, 168, 0.34);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 1px 1px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.35);
}

/* ---------- Body ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t-med), color var(--t-med);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  font-feature-settings: "ss01", "ss02";
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; font-weight: 500;}
h4 { font-size: 1.05rem; line-height: 1.35; font-weight: 500; }
h5 { font-size: 0.78rem; line-height: 1.2; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

em { font-style: italic; color: var(--accent); font-family: var(--font-display); font-weight: 400; }

p { margin: 0 0 1em; color: var(--ink-2); }

::selection { background: var(--accent-soft); color: var(--ink); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
}
.brand__mark { display: inline-flex; align-items: center; }
.brand__mark img { display: block; height: auto; }
.brand__name {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.92rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
}
.nav__links a {
  font-size: 0.88rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-line); }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.nav__menu {
  display: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  position: relative;
}
.nav__menu span {
  position: absolute; left: 9px; right: 9px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav__menu span:nth-child(1) { top: 13px; }
.nav__menu span:nth-child(2) { top: 18px; }
.nav__menu span:nth-child(3) { top: 23px; }
.nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav__mobile a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.nav__mobile a.nav__mobile-cta {
  margin-top: 12px;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
}
.nav.is-open .nav__mobile { display: flex; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  border: 1px solid transparent;
}
.btn__arrow { transition: transform var(--t-fast); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { background: var(--accent); }
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.nav__cta { padding: 9px 18px; font-size: 0.87rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 140px) 0 clamp(80px, 12vw, 160px);
  overflow: clip;
}
.hero__inner { position: relative; z-index: 2; max-width: 1080px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  background: color-mix(in oklab, var(--bg-elev) 70%, transparent);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero__title {
  margin-top: 26px;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.hero__title em {
  display: inline;
  color: var(--ink);
  font-style: italic;
  font-weight: 300;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 0.04em;
}

.hero__lede {
  margin-top: 28px;
  font-size: clamp(1.06rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  max-width: 64ch;
  color: var(--ink-2);
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 36px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.meta-card {
  display: flex; flex-direction: column; gap: 6px;
}
.meta-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-card__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* hero background */
.hero__bg {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 30%, transparent 80%);
  opacity: 0.55;
}

/* ---------- Strip / marquee row ---------- */
.strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
}
.strip__row {
  display: flex; align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-2);
}
.strip__label {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.strip__sep { color: var(--muted-2); }
.strip__item { color: var(--ink-2); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--on-dark);
}

.section__head {
  max-width: 880px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.section__tag--invert { color: var(--on-dark-mute); }

.section__title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.section__title--invert { color: var(--on-dark); }

.section__lede {
  margin-top: 18px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--ink-2);
  max-width: 70ch;
  line-height: 1.6;
}
.section__lede--invert { color: var(--on-dark-mute); }

.section__caveat {
  margin-top: 36px;
  padding: 18px 22px;
  border-left: 2px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--ink-2);
  font-size: 0.92rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.section__caveat--invert {
  background: rgba(76, 179, 168, 0.08);
  color: var(--on-dark-mute);
  border-left-color: var(--accent);
}

/* =========================================================
   SCIENCE
   ========================================================= */
.science-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.science-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.science-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.science-card__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.science-card h3 { margin-bottom: 10px; }
.science-card p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }

.paper-card {
  margin-top: 28px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.paper-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.paper-card__meta {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.paper-card__journal { color: var(--accent); font-style: italic; text-transform: none; letter-spacing: 0.005em; font-family: var(--font-display); font-size: 0.95rem;}
.paper-card__year { font-family: var(--font-mono); color: var(--muted); }
.paper-card__title {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
}
.paper-card__authors { color: var(--ink-2); font-size: 0.93rem; margin: 0; }
.paper-card__cite { color: var(--muted); display: block; margin-top: 4px; font-size: 0.85rem; }
.paper-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.92rem;
  margin-top: 4px;
  width: max-content;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.paper-card__link:hover { border-color: var(--accent); }

/* =========================================================
   APPROACH PILLARS
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.pillar {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.pillar:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md);}
.pillar__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }

/* =========================================================
   IP STRATEGY SPLIT
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.bullets {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 26px;
}
.bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.bullets li::before {
  content: "";
  position: absolute; left: 0; top: 0.65em;
  width: 12px; height: 1px;
  background: var(--accent);
}

.ip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.ip-card__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.ip-card__chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.ip-card__date { font-family: var(--font-mono); color: var(--muted); font-size: 0.82rem; }
.ip-card__title {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.012em;
}
.ip-card__body { color: var(--ink-2); font-size: 0.96rem; margin: 0 0 22px; }
.ip-card__rows {
  display: grid;
  border-top: 1px solid var(--border);
}
.ip-card__row {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.ip-card__row:last-child { border-bottom: 0; }
.ip-card__row > span:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.ip-card__row > span:last-child { color: var(--ink); }

/* =========================================================
   CAPABILITY (dark section)
   ========================================================= */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.capability {
  padding: 32px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  transition: background var(--t-med);
}
.capability:hover { background: rgba(76, 179, 168, 0.05); }
.section--dark .capability h3 { color: var(--on-dark); margin-bottom: 8px; }
.section--dark .capability p { color: var(--on-dark-mute); margin: 0; font-size: 0.96rem; }

/* =========================================================
   ROADMAP TIMELINE
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--border-strong);
}
.timeline__item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -28px; top: 30px;
  width: 15px; height: 15px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline__dot--current {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--accent-soft);
}
.timeline__dot--future {
  background: var(--bg);
  border-style: dashed;
  border-color: var(--muted-2);
}
.timeline__when {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.timeline__what h3 { margin-bottom: 6px; }
.timeline__what p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }
.timeline__item--future .timeline__what h3 { color: var(--ink-2); }

/* =========================================================
   TEAM
   ========================================================= */
.team__subhead {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  font-weight: 600;
}
.team__subhead + .team-directors,
.team__subhead + .team-grid { margin-top: 0; }
.team-directors + .team__subhead { margin-top: clamp(48px, 6vw, 72px); }

.team-directors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.director {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  align-items: start;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.director:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.director__photo {
  width: 140px; height: 140px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.director__photo img { width: 100%; height: 100%; object-fit: cover; }
.director__role {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}
.director__name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.012em;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 12px;
}
.director__bio { color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; margin-bottom: 14px; }
.director__creds {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.director__creds li {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.member {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.member:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.member__photo {
  width: 84px; height: 84px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-size: 1.05rem; line-height: 1.3; margin-bottom: 4px; }
.member__role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}
.member__bio { color: var(--ink-2); margin: 0; font-size: 0.92rem; line-height: 1.55; }

/* =========================================================
   FOUNDATIONS
   ========================================================= */
.found-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.found-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.found-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.found-card__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 14px;
}
.found-card h3 { margin-bottom: 8px; }
.found-card p { color: var(--ink-2); margin: 0; font-size: 0.95rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.section--contact {
  background: var(--bg-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section--contact::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(76, 179, 168, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(46, 92, 82, 0.18), transparent 60%);
  pointer-events: none;
}
.contact { position: relative; max-width: 760px; }
.contact__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin-top: 14px;
  color: var(--on-dark);
}
.contact__lede { color: var(--on-dark-mute); margin-top: 18px; font-size: clamp(1rem, 1.2vw, 1.1rem); max-width: 60ch; }

.contact__rows {
  margin-top: 36px;
  border-top: 1px solid rgba(241, 238, 230, 0.12);
}
.contact-row {
  display: grid;
  grid-template-columns: 180px 1fr 24px;
  gap: 18px;
  padding: 18px 4px;
  align-items: center;
  border-bottom: 1px solid rgba(241, 238, 230, 0.12);
  transition: padding var(--t-fast), color var(--t-fast);
}
a.contact-row:hover { padding-left: 12px; }
a.contact-row:hover .contact-row__value { color: var(--accent-h); }
a.contact-row:hover .contact-row__arrow { transform: translateX(4px); color: var(--accent-h); }
.contact-row__label {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.contact-row__value {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--on-dark);
  letter-spacing: -0.005em;
  transition: color var(--t-fast);
}
.contact-row__arrow {
  color: var(--on-dark-mute);
  transition: transform var(--t-fast), color var(--t-fast);
  text-align: right;
}

.contact__chips {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  padding: 7px 14px;
  border: 1px solid rgba(241, 238, 230, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--on-dark-mute);
  background: rgba(241, 238, 230, 0.04);
}

.contact__note {
  margin-top: 30px;
  font-size: 0.86rem;
  color: var(--on-dark-mute);
  max-width: 60ch;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand { max-width: 320px; }
.footer__tag { color: var(--muted); margin-top: 14px; font-size: 0.94rem; }

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 28px;
}
.footer__col h5 { margin-bottom: 12px; }
.footer__col p, .footer__col a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-2);
  margin-bottom: 8px;
  transition: color var(--t-fast);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer__bottom-row {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__small { max-width: 560px; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__menu { display: inline-flex; align-items: center; justify-content: center; }
  .nav__inner { grid-template-columns: auto 1fr auto auto; }

  .hero__meta { grid-template-columns: 1fr; gap: 18px; }
  .meta-card { padding: 14px 0; border-top: 1px solid var(--border); }
  .meta-card:first-child { border-top: 0; padding-top: 0; }

  .science-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .ip-card { position: static; }

  .capability-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 24px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; }
  .timeline__when { padding-top: 0; }

  .team-directors { grid-template-columns: 1fr; }
  .director { grid-template-columns: 110px 1fr; }
  .director__photo { width: 110px; height: 110px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .found-grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }

  .contact-row { grid-template-columns: 1fr 24px; }
  .contact-row__label { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 72px; }
  .team-grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .strip__row { gap: 10px; font-size: 0.82rem; }
  .strip__sep { display: none; }
}

/* =========================================================
   PHOTOGRAPHY
   ========================================================= */

/* Hero photo band — directly under hero, before the marquee strip */
.photo-band {
  padding: clamp(20px, 3vw, 32px) 0 0;
}
.photo-band__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
}
.photo-band__cell {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  position: relative;
}
.photo-band__cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 600ms cubic-bezier(.2,.6,.2,1);
}
.photo-band__cell:hover img { transform: scale(1.02); }
.photo-band__cell--wide { aspect-ratio: 16 / 9; }

@media (max-width: 820px) {
  .photo-band__grid { grid-template-columns: 1fr; }
  .photo-band__cell { aspect-ratio: 16 / 10; }
  .photo-band__cell--wide { aspect-ratio: 16 / 9; }
}

/* Science section figure — large micrograph between section header and cards */
.science-figure {
  margin: 0 0 clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.science-figure img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.science-figure figcaption {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding: 14px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.science-figure__credit { color: var(--muted); opacity: 0.75; }

@media (max-width: 720px) {
  .science-figure img { aspect-ratio: 16 / 11; }
}

/* Capability section figure — within dark section, contrasts against grid */
.capability-figure {
  margin: 0 0 clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #000;
  position: relative;
}
.capability-figure img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.capability-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px clamp(20px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(12,20,19,0) 0%, rgba(12,20,19,0.72) 60%, rgba(12,20,19,0.92) 100%);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  font-weight: 300;
  letter-spacing: -0.005em;
  line-height: 1.5;
  max-width: 720px;
}

@media (max-width: 720px) {
  .capability-figure img { aspect-ratio: 16 / 11; }
  .capability-figure figcaption { font-size: 0.95rem; }
}
