/* =============================================================
   Little Scientist Lab — lab.css
   Standalone. Gloock + Raleway. OKLCH tokens.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Gloock&family=Raleway:wght@100..900&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg:        oklch(98.8% 0.004 95);
  --paper:     oklch(96.4% 0.005 95);
  --paper-2:   oklch(97.6% 0.004 95);

  /* Ink */
  --ink:       oklch(20% 0.012 240);
  --ink-soft:  oklch(34% 0.012 240);
  --ink-mute:  oklch(50% 0.010 240);

  /* Lab accent — warm teal (scientist identity) */
  --accent:        oklch(58% 0.13 185);
  --accent-light:  oklch(76% 0.11 185);
  --accent-deep:   oklch(44% 0.12 185);
  --accent-tint:   color-mix(in oklch, var(--accent) 7%, var(--bg));
  --accent-tint-mid: color-mix(in oklch, var(--accent) 14%, var(--bg));

  /* Secondary — yellow */
  --yellow:      oklch(82% 0.16 88);
  --yellow-deep: oklch(68% 0.15 80);

  /* Structure */
  --rule:      oklch(86% 0.006 220);
  --rule-soft: oklch(91% 0.005 95);

  /* Typography */
  --font-serif: 'Gloock', Georgia, serif;
  --font-sans:  'Raleway', system-ui, sans-serif;

  /* Type scale */
  --display-xl: clamp(40px, 5.4vw, 76px);
  --display-l:  clamp(30px, 3.4vw, 46px);
  --display-m:  clamp(24px, 2.8vw, 38px);
  --body-l:  19px;
  --body:    17px;
  --body-s:  15px;
  --caption: 14px;

  /* Spacing 4pt */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 20px;
  --s-6: 24px; --s-8: 32px;  --s-10: 40px; --s-12: 48px;
  --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  /* Layout */
  --section-py: clamp(72px, 9vw, 144px);
  --section-px: clamp(28px, 5vw, 80px);
  --container:  1480px;

  /* Radii */
  --r-card-outer: 28px;
  --r-card-inner: 18px;
  --r-pill: 999px;

  /* Motion */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft:   cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);
  --dur-1: 120ms; --dur-2: 180ms; --dur-3: 240ms; --dur-4: 320ms; --dur-5: 480ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--body);
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-deep); }

a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 5px color-mix(in oklch, var(--yellow) 22%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .research-card:nth-child(2),
  .research-card:nth-child(3) { transform: none !important; }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; top: var(--s-3); left: var(--s-3);
  width: auto; height: auto; overflow: visible; z-index: 9999;
  padding: var(--s-2) var(--s-4); background: var(--yellow); color: var(--ink);
  font-size: var(--caption); font-weight: 700; letter-spacing: 0.08em;
  text-decoration: none; border-radius: 4px; outline: 2px solid var(--ink);
}

/* ---------- Reading progress ---------- */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); z-index: 100;
  width: 0; transition: width 0.1s linear; pointer-events: none;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-5) var(--ease-soft), transform var(--dur-5) var(--ease-soft);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.section--paper { background: var(--paper); }
.section--tint  { background: var(--accent-tint); border-top: 1px solid color-mix(in oklch, var(--accent) 12%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--accent) 12%, transparent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--section-px);
  background: var(--bg); border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(1.1) blur(8px);
  transition: box-shadow var(--dur-3) var(--ease-out);
}
.nav.is-scrolled {
  box-shadow: 0 1px 0 var(--rule), 0 4px 24px rgba(0,0,0,0.05);
}

/* Wordmark */
.nav-wordmark {
  display: flex; align-items: center; gap: var(--s-3);
  text-decoration: none; line-height: 1;
}
.nav-wordmark-mark {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-wordmark-mark img { width: 36px; height: 36px; object-fit: contain; }
.nav-wordmark-mark svg { width: 18px; height: 18px; fill: none; stroke: oklch(97% 0.005 240); stroke-width: 2; stroke-linecap: round; }
.nav-wordmark-text { display: flex; flex-direction: column; gap: 1px; }
.nav-wordmark-serif {
  font-family: var(--font-serif); font-size: 16px; font-weight: 400;
  color: var(--accent); line-height: 1;
}
.nav-wordmark-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); line-height: 1;
}

/* Links */
.nav-links { display: flex; align-items: center; gap: var(--s-8); list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: color var(--dur-2) var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta-mobile { display: none; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: oklch(97% 0.005 240); background: var(--accent);
  padding: 10px 20px; border-radius: var(--r-pill); text-decoration: none;
  transition: background var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); color: oklch(97% 0.005 240); }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--ink); padding: var(--s-2); border-radius: 6px;
  transition: background var(--dur-1) var(--ease-out);
}
.nav-toggle:hover { background: var(--paper); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: flex-start;
    gap: var(--s-5); position: fixed; top: 61px; left: 0; right: 0;
    background: var(--bg); padding: var(--s-8) var(--section-px) var(--s-12);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    z-index: 49;
  }
  .nav-links.is-open a { font-size: 18px; letter-spacing: 0.04em; }
  .nav-links.is-open .nav-cta-mobile {
    display: inline-flex; margin-top: var(--s-2);
    font-size: 15px; padding: 14px 28px;
    color: oklch(97% 0.005 240); background: var(--accent);
    border-radius: var(--r-pill); text-decoration: none;
    font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  }
}

/* ============================================================
   HERO — cinematic, image-led
   ============================================================ */
.hero {
  position: relative; isolation: isolate;
  min-height: 88vh; display: flex; align-items: flex-end;
  padding: var(--section-py) var(--section-px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; background: var(--ink);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  filter: contrast(1.04) saturate(0.78) brightness(0.68);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    165deg,
    oklch(20% 0.012 240 / 0.10) 0%,
    oklch(20% 0.012 240 / 0.48) 40%,
    oklch(20% 0.012 240 / 0.82) 100%
  );
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--caption); font-weight: 700;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: rgba(255,255,255,0.58); margin-bottom: var(--s-5);
}
.hero-eyebrow-dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--yellow); flex-shrink: 0;
}
.hero-h1 {
  font-family: var(--font-sans); font-size: var(--display-xl);
  font-weight: 250; line-height: 1.02; letter-spacing: -0.022em;
  color: oklch(97% 0.005 240); max-width: 15ch;
  margin-bottom: var(--s-6); text-wrap: balance;
}
.hero-h1 .accent {
  font-family: var(--font-serif); font-weight: 400; color: var(--accent-light);
}
.hero-tagline {
  font-size: var(--body-l); font-weight: 350; line-height: 1.5;
  color: rgba(255,255,255,0.78); max-width: 50ch; margin-bottom: var(--s-10);
}
.hero-tagline em { font-style: normal; color: oklch(88% 0.10 185); font-weight: 450; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.hero-location {
  margin-top: var(--s-10);
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  display: flex; align-items: center; gap: var(--s-3);
}
.hero-location-rule {
  display: inline-block; width: 28px; height: 1px;
  background: rgba(255,255,255,0.24); flex-shrink: 0;
}

@media (max-width: 600px) {
  .hero { min-height: 82vh; }
  .hero-h1 { font-size: clamp(36px, 10vw, 52px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 16px 26px; border-radius: var(--r-pill); min-height: 48px;
  text-decoration: none; cursor: pointer; border: none;
  transition:
    transform var(--dur-2) var(--ease-out),
    background var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

/* On dark hero */
.btn-primary {
  background: oklch(97% 0.005 240); color: var(--ink);
}
.btn-primary:hover { background: oklch(100% 0 0); color: var(--ink); }

.btn-ghost {
  background: transparent; color: oklch(88% 0.005 240);
  border: 1.5px solid oklch(88% 0.005 240 / 0.45);
}
.btn-ghost:hover {
  border-color: oklch(88% 0.005 240 / 0.80);
  background: oklch(97% 0.005 240 / 0.08); color: oklch(96% 0.005 240);
}

/* On light surfaces */
.btn-accent { background: var(--accent); color: oklch(97% 0.005 240); }
.btn-accent:hover { background: var(--accent-deep); color: oklch(97% 0.005 240); }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--rule); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-size: 13px; flex-shrink: 0;
  transition: transform var(--dur-3) var(--ease-soft);
}
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--caption); font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: var(--s-5);
}
.eyebrow-mark {
  display: inline-block; width: 16px; height: 2px;
  background: var(--accent); flex-shrink: 0;
}
.eyebrow--accent { color: var(--accent); }

.section-h2 {
  font-family: var(--font-sans); font-size: var(--display-l);
  font-weight: 250; line-height: 1.06; letter-spacing: -0.018em;
  color: var(--ink); text-wrap: balance; margin-bottom: var(--s-5);
}
.section-h2 .accent { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }

.section-lede {
  font-size: var(--body-l); font-weight: 350;
  color: var(--ink-soft); max-width: 58ch; line-height: 1.55;
}
.section-lede em { font-style: normal; color: var(--accent); font-weight: 450; }

/* ============================================================
   ED-LINK — inline editorial arrow link
   ============================================================ */
.ed-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  transition: color var(--dur-2) var(--ease-soft), gap var(--dur-2) var(--ease-soft);
}
.ed-link:hover { color: var(--accent-deep); gap: 18px; }
.ed-link-line {
  display: inline-block; width: 28px; height: 1px;
  background: currentColor; flex-shrink: 0;
  transition: width var(--dur-3) var(--ease-soft);
}
.ed-link:hover .ed-link-line { width: 40px; }

/* ============================================================
   ABOUT THE LAB — 60/40 editorial split
   ============================================================ */
.about-spread {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: start;
  margin-top: var(--s-12);
}
.about-photo {
  position: relative; border-radius: var(--r-card-inner);
  overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.04) saturate(0.85) brightness(0.96);
}
.about-photo-badge {
  position: absolute; left: clamp(16px, 2vw, 24px); bottom: clamp(16px, 2vw, 24px); z-index: 2;
  padding: var(--s-3) var(--s-5);
  background: var(--bg); border: 1px solid var(--rule); border-radius: var(--r-card-inner);
  backdrop-filter: blur(8px);
}
.about-photo-badge-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); display: block; margin-bottom: 3px;
}
.about-photo-badge-value {
  font-family: var(--font-serif); font-size: clamp(14px, 1.4vw, 18px);
  color: var(--ink); line-height: 1.25;
}
.about-photo-badge-value em { color: var(--accent); font-style: normal; }

.about-text { padding: var(--s-4) 0; }
.about-text h3 {
  font-family: var(--font-sans); font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 250; line-height: 1.15; letter-spacing: -0.014em;
  color: var(--ink); margin-bottom: var(--s-6); text-wrap: balance;
}
.about-text h3 .accent { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }
.about-text p {
  font-size: var(--body); font-weight: 350; line-height: 1.65;
  color: var(--ink-soft); margin-bottom: var(--s-5); max-width: 54ch;
}
.about-text p em { font-style: normal; color: var(--accent-deep); font-weight: 450; }
.about-text p:last-of-type { margin-bottom: var(--s-8); }
.about-stats {
  display: flex; gap: var(--s-10);
  margin-top: var(--s-6); padding-top: var(--s-8);
  border-top: 1px solid var(--rule-soft);
}
.about-stat-num {
  font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px);
  color: var(--accent); line-height: 1; display: block; margin-bottom: var(--s-2);
}
.about-stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 860px) {
  .about-spread { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16 / 9; }
  .about-text p { max-width: 100%; }
}

/* ============================================================
   RESEARCH FOCUS — staggered 3-up
   ============================================================ */
.research-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px); align-items: start;
  margin-top: var(--s-12);
}
.research-card {
  display: block; text-decoration: none; color: inherit;
}
.research-card:nth-child(2) { transform: translateY(clamp(20px, 3vw, 40px)); }
.research-card:nth-child(3) { transform: translateY(clamp(40px, 6vw, 80px)); }

.research-card-frame {
  position: relative; isolation: isolate; border-radius: var(--r-card-inner);
  overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; margin-bottom: var(--s-6);
}
.research-card-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.04) saturate(0.82) brightness(0.94);
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-soft);
}
.research-card:hover .research-card-frame img { transform: scale(1.07); }
.research-card-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.40) 0%, transparent 38%, rgba(0,0,0,0.28) 100%);
}
.research-card-tag {
  position: absolute; z-index: 3;
  top: clamp(14px, 1.8vw, 20px); left: clamp(16px, 2vw, 22px);
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.research-card-tag em {
  font-style: italic; font-weight: 500;
  color: oklch(85% 0.10 185); letter-spacing: 0.16em;
}
.research-card h3 {
  font-family: var(--font-sans); font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500; line-height: 1.18; letter-spacing: -0.010em;
  color: var(--ink); margin: 0 0 var(--s-3);
  transition: color var(--dur-3) var(--ease-soft);
}
.research-card:hover h3 { color: var(--accent); }
.research-card p {
  font-size: var(--body-s); color: var(--ink-soft);
  margin: 0; line-height: 1.55; max-width: 32ch;
}
@media (max-width: 760px) {
  .research-grid { grid-template-columns: 1fr; gap: clamp(40px, 8vw, 64px); }
  .research-card:nth-child(2), .research-card:nth-child(3) { transform: none; }
}

/* ============================================================
   STUDY CARDS
   ============================================================ */
.studies-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 32px); margin-top: var(--s-12);
}
.study-card {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--r-card-outer); padding: clamp(28px, 3vw, 44px);
  position: relative; overflow: hidden;
  transition: transform var(--dur-4) var(--ease-soft), box-shadow var(--dur-4) var(--ease-soft);
}
.study-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
}
.study-card-accent-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent);
}
.study-card-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: var(--s-5);
}
.study-status-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  animation: pulse-dot 2.8s ease infinite;
}
.study-status-dot--open {
  background: oklch(58% 0.18 145);
  box-shadow: 0 0 0 3px color-mix(in oklch, oklch(58% 0.18 145) 20%, transparent);
}
.study-status-dot--recruiting { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint-mid); }
.study-status-dot--soon { background: var(--yellow); box-shadow: 0 0 0 3px color-mix(in oklch, var(--yellow) 20%, transparent); }
.study-status-dot--closed { background: var(--ink-mute); animation: none; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 5px color-mix(in oklch, var(--accent) 0%, transparent); }
}
.study-card h3 {
  font-family: var(--font-sans); font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500; line-height: 1.18; letter-spacing: -0.010em;
  color: var(--ink); margin-bottom: var(--s-3);
}
.study-card p {
  font-size: var(--body-s); color: var(--ink-soft); line-height: 1.6; margin-bottom: var(--s-6);
}
.study-meta {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-5) 0; border-top: 1px solid var(--rule-soft);
  margin-bottom: var(--s-5);
}
.study-meta-row {
  display: grid; grid-template-columns: 90px 1fr;
  gap: var(--s-3); font-size: 13px; align-items: baseline;
}
.study-meta-label {
  font-weight: 700; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.study-meta-value { color: var(--ink-soft); }

/* ============================================================
   PARTICIPATE CTA BAND
   ============================================================ */
.participate-band {
  padding: clamp(56px, 8vw, 112px) var(--section-px);
  background: var(--accent-tint);
  border-top: 1px solid color-mix(in oklch, var(--accent) 14%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 14%, transparent);
}
.participate-band-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.participate-band h2 {
  font-family: var(--font-sans); font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 250; line-height: 1.10; letter-spacing: -0.016em;
  color: var(--ink); margin-bottom: var(--s-4); text-wrap: balance;
}
.participate-band h2 .accent { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }
.participate-band p {
  font-size: var(--body); color: var(--ink-soft); line-height: 1.6; max-width: 50ch;
}
.participate-band-cta { flex-shrink: 0; }
@media (max-width: 700px) {
  .participate-band-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 3vw, 40px); margin-top: var(--s-12);
}
.team-card { text-align: center; }
.team-card-photo {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
  background: var(--paper); border: 3px solid var(--rule);
  margin: 0 auto var(--s-5);
  transition: border-color var(--dur-3) var(--ease-soft);
}
.team-card:hover .team-card-photo { border-color: var(--accent); }
.team-card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: contrast(1.04) saturate(0.82) brightness(0.96);
}
.team-card-photo-initial {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 40px; color: var(--rule);
  background: var(--paper-2);
}
.team-card h3 {
  font-size: 17px; font-weight: 600; letter-spacing: -0.008em;
  color: var(--ink); margin-bottom: var(--s-1);
}
.team-card-role {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--s-3);
}
.team-card p { font-size: var(--body-s); color: var(--ink-soft); line-height: 1.55; max-width: 28ch; margin: 0 auto; }

/* PI profile (large) */
.pi-card {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: start;
  padding: clamp(36px, 5vw, 64px);
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-card-outer); margin-bottom: var(--s-12);
}
.pi-photo {
  width: clamp(120px, 16vw, 200px); aspect-ratio: 3 / 4;
  border-radius: var(--r-card-inner); overflow: hidden; background: var(--ink);
  flex-shrink: 0;
}
.pi-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: contrast(1.04) saturate(0.85) brightness(0.95);
}
.pi-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.30em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-3); }
.pi-name {
  font-family: var(--font-sans); font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 250; line-height: 1.10; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: var(--s-2);
}
.pi-name .accent { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }
.pi-title { font-size: var(--body-s); color: var(--ink-mute); margin-bottom: var(--s-6); }
.pi-bio p {
  font-size: var(--body); color: var(--ink-soft); line-height: 1.65;
  margin-bottom: var(--s-4); max-width: 60ch;
}
.pi-bio p em { font-style: normal; color: var(--accent-deep); font-weight: 450; }
.pi-links {
  display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-6);
}
.pi-link {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); text-decoration: none;
  transition: color var(--dur-2) var(--ease-soft);
}
.pi-link:hover { color: var(--accent); }
@media (max-width: 640px) {
  .pi-card { grid-template-columns: 1fr; }
  .pi-photo { width: 90px; aspect-ratio: 1; border-radius: 50%; }
}

/* ============================================================
   PUBLICATIONS
   ============================================================ */
.pubs-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule); margin-top: var(--s-12);
}
.pub-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(18px, 2.2vw, 28px) 0;
  border-bottom: 1px solid var(--rule); align-items: start;
  text-decoration: none; color: inherit;
  transition: background var(--dur-3) var(--ease-soft);
}
.pub-item:hover {
  background: linear-gradient(90deg, var(--accent-tint) 0%, var(--accent-tint) 70%, transparent 100%);
}
.pub-year {
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em; color: var(--accent); padding-left: var(--s-4);
}
.pub-title {
  font-size: clamp(15px, 1.3vw, 18px); font-weight: 500;
  line-height: 1.28; letter-spacing: -0.008em; color: var(--ink); margin-bottom: var(--s-2);
  max-width: 56ch; transition: color var(--dur-2) var(--ease-soft);
}
.pub-item:hover .pub-title { color: var(--accent-deep); }
.pub-citation { font-size: 13px; color: var(--ink-mute); line-height: 1.5; max-width: 56ch; }
.pub-doi {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); display: flex; align-items: center; gap: 6px;
  padding-right: var(--s-4); transition: color var(--dur-2) var(--ease-soft);
}
.pub-item:hover .pub-doi { color: var(--accent); }
.pub-doi-arrow { transition: transform var(--dur-3) var(--ease-soft); }
.pub-item:hover .pub-doi-arrow { transform: translate(3px, -3px); }
@media (max-width: 680px) {
  .pub-item { grid-template-columns: 1fr; gap: var(--s-2); }
  .pub-year { padding-left: 0; }
  .pub-doi { padding-right: 0; }
}

/* ============================================================
   PARTICIPATE PAGE
   ============================================================ */
.page-header {
  padding: clamp(72px, 9vw, 128px) var(--section-px) clamp(48px, 6vw, 80px);
  background: var(--paper); border-bottom: 1px solid var(--rule);
}
.page-header-inner { max-width: var(--container); margin: 0 auto; }
.page-header h1 {
  font-family: var(--font-sans); font-size: var(--display-l);
  font-weight: 250; line-height: 1.06; letter-spacing: -0.018em;
  color: var(--ink); max-width: 18ch; text-wrap: balance; margin-bottom: var(--s-5);
}
.page-header h1 .accent { font-family: var(--font-serif); font-weight: 400; color: var(--accent); }
.page-header p {
  font-size: var(--body-l); color: var(--ink-soft); line-height: 1.5; max-width: 52ch;
}
.page-header p em { font-style: normal; color: var(--accent); font-weight: 450; }

/* Process steps */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(24px, 3vw, 48px); margin-top: var(--s-12);
  counter-reset: step-counter;
}
.process-step { position: relative; padding-top: var(--s-10); }
.process-step::before {
  counter-increment: step-counter;
  content: counter(step-counter, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px);
  color: color-mix(in oklch, var(--accent) 28%, transparent); line-height: 1;
}
.process-step h3 {
  font-size: var(--body-l); font-weight: 600; letter-spacing: -0.008em;
  color: var(--ink); margin-bottom: var(--s-3);
}
.process-step p { font-size: var(--body-s); color: var(--ink-soft); line-height: 1.62; }

/* Eligibility tags */
.eligibility-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.4vw, 32px); margin-top: var(--s-8);
}
.eligibility-item {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5); background: var(--bg);
  border: 1px solid var(--rule); border-radius: var(--r-card-inner);
}
.eligibility-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 12%, var(--bg));
  border: 1.5px solid var(--accent); flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.eligibility-check svg { width: 12px; height: 12px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eligibility-item-text { font-size: var(--body-s); color: var(--ink-soft); line-height: 1.55; }
.eligibility-item-text strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Enquiry form */
.form-wrap { max-width: 640px; margin-top: var(--s-10); }
.form-group { margin-bottom: var(--s-8); }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: var(--s-3);
}
.form-input, .form-select, .form-textarea {
  width: 100%; font-family: var(--font-sans); font-size: var(--body);
  font-weight: 350; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--rule); border-radius: var(--r-card-inner);
  padding: var(--s-4) var(--s-5);
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 14%, transparent);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-help { font-size: 13px; color: var(--ink-mute); margin-top: var(--s-2); }
.form-actions { margin-top: var(--s-10); display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-mute); line-height: 1.55; max-width: 36ch; }

/* Inline study cards for participate page */
.participate-study {
  background: var(--bg); border: 1px solid var(--rule);
  border-radius: var(--r-card-outer); overflow: hidden;
  margin-bottom: var(--s-6);
}
.participate-study-header {
  padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.participate-study-header h3 {
  font-family: var(--font-sans); font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500; line-height: 1.18; letter-spacing: -0.010em;
  color: var(--ink); margin-bottom: var(--s-3);
}
.participate-study-header p { font-size: var(--body); color: var(--ink-soft); line-height: 1.6; max-width: 60ch; }
.participate-study-body { padding: clamp(24px, 3vw, 40px); }
.participate-study-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-5); margin-bottom: var(--s-8);
}
.participate-study-meta-item {}
.participate-study-meta-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: var(--s-2);
}
.participate-study-meta-value { font-size: var(--body-s); color: var(--ink-soft); line-height: 1.5; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: var(--s-10); }
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-8); padding: clamp(18px, 2vw, 24px) 0;
  font-family: var(--font-sans); font-size: var(--body); font-weight: 500;
  color: var(--ink); transition: color var(--dur-2) var(--ease-out);
}
.faq-question:hover { color: var(--accent); }
.faq-question[aria-expanded="true"] { color: var(--accent); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--rule); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-soft);
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--accent-tint-mid); border-color: var(--accent); transform: rotate(45deg);
}
.faq-icon svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur-4) var(--ease-soft), padding var(--dur-4) var(--ease-soft);
}
.faq-answer.is-open { max-height: 400px; }
.faq-answer-inner {
  font-size: var(--body-s); color: var(--ink-soft); line-height: 1.65;
  padding-bottom: clamp(18px, 2vw, 24px); max-width: 66ch;
}
.faq-answer-inner a { color: var(--accent-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink); color: oklch(72% 0.008 240);
  padding: clamp(56px, 8vw, 96px) var(--section-px) clamp(32px, 4vw, 48px);
}
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid oklch(32% 0.006 240);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.footer-brand-name {
  font-family: var(--font-serif); font-size: 18px; font-weight: 400;
  color: var(--accent-light); margin-bottom: var(--s-2); display: block;
}
.footer-brand-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: oklch(45% 0.006 240); display: block; margin-bottom: var(--s-5);
}
.footer-brand-affil {
  font-size: 13px; color: oklch(52% 0.008 240); line-height: 1.55; max-width: 30ch;
}
.footer-brand-affil a { color: var(--accent-light); text-decoration: none; }
.footer-brand-affil a:hover { text-decoration: underline; }
.footer-col h4 {
  font-size: 9px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: oklch(45% 0.006 240); margin-bottom: var(--s-5);
}
.footer-col a {
  display: block; font-size: 14px; color: oklch(68% 0.008 240);
  text-decoration: none; margin-bottom: var(--s-3);
  transition: color var(--dur-2) var(--ease-soft);
}
.footer-col a:hover { color: oklch(92% 0.004 240); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s-5);
}
.footer-copy { font-size: 12px; color: oklch(42% 0.005 240); line-height: 1.5; }
.footer-back {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: oklch(50% 0.006 240); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color var(--dur-2) var(--ease-soft);
}
.footer-back:hover { color: var(--accent-light); }
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT FORM / GENERIC PROSE
   ============================================================ */
.prose {
  font-size: var(--body); color: var(--ink-soft); line-height: 1.65; max-width: 62ch;
}
.prose p { margin-bottom: var(--s-5); }
.prose a { color: var(--accent-deep); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   ANNOUNCEMENTS / SUCCESS STATE
   ============================================================ */
.form-success {
  display: none; padding: var(--s-6) var(--s-8);
  background: color-mix(in oklch, oklch(58% 0.18 145) 8%, var(--bg));
  border: 1px solid color-mix(in oklch, oklch(58% 0.18 145) 25%, transparent);
  border-radius: var(--r-card-inner); margin-top: var(--s-8);
  font-size: var(--body-s); color: var(--ink-soft); line-height: 1.6;
}
.form-success strong { color: var(--ink); display: block; margin-bottom: var(--s-2); }
