/* Self-hosted fonts — Inter + Source Serif 4 (latin + latin-ext).
   Generated from Google Fonts; replaces the external <link>. Paths relative to assets/css/. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/sourceserif4-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/sourceserif4-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/sourceserif4-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/sourceserif4-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/sourceserif4-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/sourceserif4-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* ==========================================================================
   PRISM — pulmorism.com
   Design system: minimalist, serious-but-approachable, neutral.
   ========================================================================== */

:root {
  /* Color */
  --ink:        #16202b;   /* deep slate, primary text */
  --ink-soft:   #2c3a47;
  --muted:      #5b6b7a;   /* secondary text */
  --line:       #e4e9ec;   /* hairlines / borders */
  --bg:         #ffffff;
  --bg-soft:    #f5f8f8;   /* soft off-white sections */
  --bg-sink:    #0f1a22;   /* dark footer */
  --surface:    #ffffff;   /* cards (delineated by border in light mode) */
  --accent:     #0e7c86;   /* clinical teal */
  --accent-deep:#094d54;
  --accent-soft:#e3f1f2;
  --warn-bg:    #fbf7ec;
  --warn-line:  #e8dcb8;

  /* Prism spectrum — used sparingly as a thin rule only */
  --spectrum: linear-gradient(90deg,#0e7c86 0%,#2f7fc4 35%,#5b6bd6 60%,#9a5fc0 80%,#c4587f 100%);

  /* Type */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --maxw-read: 720px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,32,43,.04), 0 8px 24px rgba(16,32,43,.06);
}

/* Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Anchor offset so jump-to-fragment doesn't slide under the sticky header */
:target, h1[id], h2[id], h3[id], h4[id], section[id], [id] { scroll-margin-top: 88px; }

/* Global keyboard focus ring (visible only on keyboard, never on mouse click) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
.chip:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Inputs already define their own focus state — leave alone */
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.01em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .5em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.6; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 .8em;
}

/* Layout helpers ------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-sink); color: #d7e1e8; position: relative; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lead { color: #c3d0d8; }
.section--deep .muted { color: #9fb0ba; }
.section--deep .eyebrow { color: #5fd0d8; }
.section--deep .flourish::after { margin-left: auto; margin-right: auto; }
.narrow { max-width: var(--maxw-read); }
.center { text-align: center; }
.spectrum-rule { height: 3px; background: var(--spectrum); border: 0; margin: 0; }

/* Top spectrum accent bar */
.topbar { height: 4px; background: var(--spectrum); }

/* Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand .logo .logo-tri { stroke: var(--ink); fill: none; }
.brand .logo .logo-ray { stroke: var(--ink); }
.brand .name { font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.brand .name small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 500;
  letter-spacing: .01em; line-height: 1.2; color: var(--muted); white-space: nowrap; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .94rem; color: var(--ink-soft); padding: 8px 12px; border-radius: 7px;
  font-weight: 500; transition: background-color .15s ease, color .15s ease;
}
/* :not(.btn) so the "Submit an idea" button keeps its own teal-fill hover */
.nav-links a:not(.btn):hover { background: var(--accent-soft); text-decoration: none; color: var(--accent-deep); }
.nav-links a.active { color: var(--accent-deep); font-weight: 600; position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
  transition: transform .2s ease, top .2s ease, background-color .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
/* Open state: morph 3 bars into an X */
.nav-toggle[aria-expanded="true"] span          { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before  { top: 0; transform: rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] span::after   { top: 0; transform: rotate(-45deg); background: var(--ink); }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: transparent; color: var(--accent-deep); border-color: var(--accent); font-weight: 600; }
.btn--primary:hover { background: var(--accent); color: #04252b; border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: transparent; }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.22); color:#fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Text-only secondary action — paired with a primary button to focus the funnel */
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); padding: 11px 6px;
  transition: color .15s ease, gap .15s ease;
}
.btn-text:hover { color: var(--accent-deep); text-decoration: none; gap: 10px; }
.hero-x .btn-text, .section--deep .btn-text { color: rgba(255,255,255,.85); }
.hero-x .btn-text:hover, .section--deep .btn-text:hover { color: #fff; }

/* Hero ----------------------------------------------------------------- */
.hero { padding: 84px 0 64px; background:
  radial-gradient(120% 80% at 100% 0%, var(--accent-soft) 0%, rgba(227,241,242,0) 55%); }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 52ch; }
.hero .btn-row { margin-top: 28px; }

/* "What we are / are not" strip --------------------------------------- */
.isnot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.isnot > div { padding: 28px 28px; }
.isnot .is   { background: var(--accent-soft); }
.isnot .isn  { background: var(--bg-soft); border-left: 1px solid var(--line); }
.isnot h3 { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 1rem;
  text-transform: uppercase; letter-spacing: .08em; }
.isnot ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.isnot li { margin: .3em 0; }

/* Value cards ---------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card .icon {
  width: 40px; height: 40px; border-radius: 9px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  color: var(--accent-deep);
}
.card .icon svg { width: 22px; height: 22px; }
.card.lift:hover { border-color: #c7e3e5; }
/* Topic cards: a teal left-accent so a grid of plain cards isn't a flat wall */
.card--topic { border-left: 3px solid var(--accent); }

/* Legal pages (Terms, Privacy) ---------------------------------------- */
.legal h2 { margin-top: 1.9em; font-size: 1.3rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .crumb { margin-bottom: 28px; }
.legal-list { margin: 0 0 1.2em; padding-left: 1.3em; }
.legal-list li { margin: .4em 0; }

/* Trust strip ---------------------------------------------------------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: center; color: var(--muted);
  font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--accent); }

/* People --------------------------------------------------------------- */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
/* When there are only 2 founding leaders, stack as featured profiles instead
   of leaving a sparse 2-column row above an empty page. Remove this modifier
   class once more people are added. */
.people-grid.people-grid--leaders { grid-template-columns: 1fr; max-width: 660px; margin: 0 auto; gap: 20px; }
.person { display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.avatar {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.person h3 { margin: 0 0 2px; font-size: 1.1rem; }
.person .role { color: var(--accent-deep); font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.person .meta { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }

/* "View biography" trigger + modal ------------------------------------ */
.link-bio {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: none; border: 0; padding: 0; margin-top: 2px;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--accent-deep);
  transition: gap .15s ease;
}
.link-bio:hover { gap: 9px; text-decoration: underline; }
.bio-dialog {
  border: 0; border-radius: var(--radius); padding: 0; color: var(--ink);
  width: min(520px, calc(100% - 32px));
  box-shadow: 0 30px 70px rgba(16,32,43,.28);
}
.bio-dialog::backdrop { background: rgba(16,32,43,.5); }
.bio-dialog[open] { animation: bioIn .18s ease-out; }
@keyframes bioIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.bio-card { position: relative; padding: 30px; }
.bio-card h3 { margin: 0 0 2px; font-size: 1.15rem; }
.bio-card .role { color: var(--accent-deep); font-weight: 600; font-size: .9rem; margin: 0 0 2px; }
.bio-card .meta { color: var(--muted); font-size: .9rem; margin: 0; }
.bio-card > p { color: var(--ink-soft); }
.bio-card .meta { line-height: 1.4; }
.bio-disclosure { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted); }
.bio-disclosure strong { color: var(--ink-soft); }
.bio-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.bio-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  font-size: 1.4rem; line-height: 1;
}
.bio-close:hover { color: var(--ink); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .bio-dialog[open] { animation: none; } }

/* Badges --------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; letter-spacing: .03em;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--ink-soft);
}
.badge--coi { background: var(--accent-soft); border-color: #c7e3e5; color: var(--accent-deep); }
.badge--type { background: #fff; }

/* Research library ----------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.filters .label { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; margin-right: 4px; }
.chip {
  font: inherit; font-size: .88rem; font-weight: 500;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-soft); cursor: pointer; transition: all .12s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

.pub-list { display: grid; gap: 18px; }
.pub {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.pub:hover { border-color: var(--accent); box-shadow: var(--shadow); text-decoration: none; }
.pub .pub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pub h3 { color: var(--ink); margin: 0 0 8px; }
.pub p { color: var(--muted); margin: 0 0 14px; }
.pub .pub-foot { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 12px; }
.pub .pub-foot strong { color: var(--ink-soft); font-weight: 600; }
.empty { color: var(--muted); padding: 28px; text-align: center; border: 1px dashed var(--line);
  border-radius: var(--radius); }

/* Empty-library block — honest "nothing released yet" state for the research page */
.empty-library {
  text-align: center; padding: 56px 32px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px;
}
.empty-library .eyebrow { margin-bottom: 14px; }
.empty-library h2 { margin: 0 0 14px; }
.empty-library > p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 12px; }
.empty-library > p.muted { font-size: .9rem; margin-bottom: 0; }
.empty-library .btn-row { justify-content: center; }
@media (max-width: 520px) { .empty-library { padding: 40px 20px; } }

/* Publication detail --------------------------------------------------- */
.metablock { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; }
.metablock dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; }
.metablock dt { padding: 13px 20px; background: var(--bg-soft); font-weight: 600; font-size: .9rem;
  border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.metablock dd { padding: 13px 20px; margin: 0; border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line); font-size: .94rem; }
.metablock dl > div:last-child dt, .metablock dl > div:last-child dd { border-bottom: 0; }
.metablock > div { display: contents; }

.cite { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 18px; font-size: .9rem; color: var(--ink-soft); }

/* Notices / disclaimers ------------------------------------------------ */
.notice {
  border: 1px solid var(--warn-line); background: var(--warn-bg);
  border-radius: var(--radius); padding: 18px 20px; font-size: .92rem; color: var(--ink-soft);
}
.notice strong { color: var(--ink); }
.notice--accent { border-color: #c7e3e5; background: var(--accent-soft); }

/* Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .req { color: #b4453a; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
legend { font-family: var(--serif); font-weight: 600; padding: 0 8px; }

.form-success {
  display: none; border: 1px solid #c7e3e5; background: var(--accent-soft);
  border-radius: var(--radius); padding: 28px;
}
.form-success.show { display: block; }

/* Breadcrumb ----------------------------------------------------------- */
.crumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); }

/* Page header ---------------------------------------------------------- */
/* Supporting-page hero — same dark gradient family as the home .hero-x,
   but simpler: no waveform, no aurora animation. Inner-page tone. */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 88px 0 64px;
  background:
    radial-gradient(60% 90% at 78% 8%,  rgba(47,127,196,.16) 0%, rgba(47,127,196,0) 60%),
    radial-gradient(55% 85% at 12% 18%, rgba(14,124,134,.20) 0%, rgba(14,124,134,0) 62%),
    radial-gradient(50% 80% at 60% 100%, rgba(154,95,192,.10) 0%, rgba(154,95,192,0) 60%),
    #0c151c;
  color: #eaf1f4;
}
.page-head h1       { color: #fff; }
.page-head .lead    { max-width: 60ch; color: #b9c7d0; }
.page-head .eyebrow { color: #5fd0d8; }
.page-head strong   { color: #fff; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--bg-sink); color: #c4ced6; padding: 56px 0 28px; margin-top: 8px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid a { color: #c4ced6; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 8px 0; }
.footer-brand .name { font-family: var(--serif); color: #fff; font-size: 1.2rem; font-weight: 700; }
.disclaimer {
  font-size: .82rem; line-height: 1.6; color: #8d9aa5; border-top: 1px solid #243440;
  padding-top: 24px;
}
.disclaimer strong { color: #aeb9c2; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .82rem; color: #6f7d88; margin-top: 20px; }

/* Misc ----------------------------------------------------------------- */
.tag-inline { color: var(--accent-deep); font-weight: 600; }
.muted { color: var(--muted); }
.stat-row { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 8px; }
.stat .n { font-family: var(--serif); font-size: 2rem; color: var(--accent-deep); font-weight: 600; }
.stat .l { font-size: .9rem; color: var(--muted); }
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.checklist { list-style: none; padding: 0; margin: 1em 0; }
ul.checklist li { position: relative; padding-left: 30px; margin: .55em 0; color: var(--ink-soft); }
ul.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23094d54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }

/* ==========================================================================
   ENGAGEMENT LAYER — purposeful motion (added v2)
   ========================================================================== */

/* Scroll reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* Animated waveform hero ---------------------------------------------- */
.hero-x {
  position: relative; overflow: hidden;
  padding: 112px 0 96px;
  background:
    radial-gradient(60% 90% at 78% 8%,  rgba(47,127,196,.16) 0%, rgba(47,127,196,0) 60%),
    radial-gradient(55% 85% at 12% 18%, rgba(14,124,134,.18) 0%, rgba(14,124,134,0) 62%),
    radial-gradient(50% 80% at 60% 100%, rgba(154,95,192,.12) 0%, rgba(154,95,192,0) 60%),
    #0c151c;
  color: #eaf1f4;
  isolation: isolate;
}
.hero-x h1 { color: #fff; max-width: 16ch; }
.hero-x .lead { color: #b9c7d0; max-width: 54ch; }
.hero-x .eyebrow { color: #5fd0d8; }

/* drifting aurora blobs */
.aurora { position: absolute; inset: -20% -10%; z-index: -2; filter: blur(40px); opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora .b1 { width: 460px; height: 460px; left: 60%; top: -8%;
  background: radial-gradient(circle, #1f8e98, transparent 65%); animation: drift1 18s ease-in-out infinite; }
.aurora .b2 { width: 520px; height: 520px; left: -6%; top: 18%;
  background: radial-gradient(circle, #2f5fc4, transparent 65%); animation: drift2 22s ease-in-out infinite; }
.aurora .b3 { width: 400px; height: 400px; left: 40%; top: 55%;
  background: radial-gradient(circle, #7a4fc0, transparent 65%); animation: drift3 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-20px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,-30px) scale(1.08)} }

/* flowing respiratory waveform */
.wave-band { position: absolute; left: 0; right: 0; top: 0; height: 240px; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.wave-band svg { width: 200%; height: 100%; display: block; }
.wave-line { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.wave-line.l1 { stroke: rgba(95,208,216,.85); animation: flow 9s linear infinite; }
.wave-line.l2 { stroke: rgba(47,127,196,.5);  animation: flow 14s linear infinite; }
.wave-line.l3 { stroke: rgba(154,95,192,.35); animation: flow 20s linear infinite; }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(-1200px); } }

/* gradient keyword in headline */
.grad-word { background: linear-gradient(92deg,#5fd0d8 0%,#79a6f0 45%,#b48cf0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
/* High-contrast / forced-colors fallback — gradient clipped text vanishes in Windows High Contrast */
@media (forced-colors: active) {
  .grad-word { background: none; -webkit-background-clip: initial; background-clip: initial; color: CanvasText; }
}

.hero-x .btn--primary, .section--deep .btn--primary { background: transparent; color:#7fdde4; border-color:#2a9aa4; }
.hero-x .btn--primary:hover, .section--deep .btn--primary:hover { background:#16b0bd; color:#04252b; border-color:#16b0bd; }
.hero-x .btn--ghost, .section--deep .btn--ghost { background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.28); }
.hero-x .btn--ghost:hover, .section--deep .btn--ghost:hover { background: rgba(255,255,255,.14); border-color:#fff; color:#fff; }

/* scroll cue — now a real button */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1;
  color: rgba(234,241,244,.55); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 10px; cursor: pointer; font-family: inherit;
  transition: color .15s ease; }
.scroll-cue:hover, .scroll-cue:focus-visible { color: rgba(234,241,244,.95); }
.scroll-cue svg { width: 18px; height: 18px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* Impact / stats band -------------------------------------------------- */
.impact { background: var(--bg-sink); color: #dfe7ec; }
.impact .container { padding-top: 56px; padding-bottom: 56px; }
.impact .stat-row { justify-content: space-between; gap: 28px; }
.impact .stat { flex: 1 1 180px; }
.impact .stat .n { color: #fff; font-size: clamp(2rem,4.5vw,2.8rem); }
.impact .stat .l { color: #95a6b1; }
.impact .stat .n .unit { color: #5fd0d8; }

/* Topics marquee ------------------------------------------------------- */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .pill { white-space: nowrap; font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; }
.marquee-track .pill::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: middle; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Marquee pause control — accessible alternative to hover-only pause */
.marquee { position: relative; }
.marquee-pause {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s, border-color .15s, background .15s;
}
.marquee-pause:hover, .marquee-pause:focus-visible { color: var(--accent-deep); border-color: var(--accent); }
.marquee-pause svg { width: 12px; height: 12px; }
.marquee-pause .i-play  { display: none; }
.marquee-pause .i-pause { display: inline-flex; }
.marquee--paused .marquee-track { animation-play-state: paused; }
.marquee--paused .marquee-pause .i-pause { display: none; }
.marquee--paused .marquee-pause .i-play  { display: inline-flex; }
@media (prefers-reduced-motion: reduce) { .marquee-pause { display: none; } }

/* Card hover lift (enhances existing .card) ---------------------------- */
.card { transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, border-color .2s; }
.card.lift:hover { transform: translateY(-4px); border-color: #cfe4e6; box-shadow: 0 12px 32px rgba(16,32,43,.10); }
.card .icon { transition: transform .25s ease, background .25s ease; }
.card.lift:hover .icon { transform: scale(1.08) rotate(-3deg); }

/* Section heading flourish */
.flourish { display: inline-block; }
.flourish::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0;
  background: var(--spectrum); border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .aurora span, .wave-line, .scroll-cue svg, .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Compact pub card grid (used on the publication detail "Related" section) */
.pub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub--compact { padding: 22px; }
.pub--compact h3 { font-size: 1.05rem; line-height: 1.3; }
.pub--compact p  { font-size: .94rem; }
@media (max-width: 860px) { .pub-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   BE PART OF THE EVOLUTION (v5) — founding-cohort recruitment band
   ========================================================================== */
.evolve-band { padding: 96px 0; position: relative; overflow: hidden; }
.evolve-glow { position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  filter: blur(60px); opacity: .42; }
.evolve-glow span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.evolve-glow .b1 { width: 520px; height: 520px; left: -6%; top: -12%;
  background: radial-gradient(circle, #1f8e98, transparent 65%); animation: drift1 22s ease-in-out infinite; }
.evolve-glow .b2 { width: 560px; height: 560px; right: -4%; bottom: -18%;
  background: radial-gradient(circle, #7a4fc0, transparent 65%); animation: drift3 26s ease-in-out infinite; }

.evolve { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center; }
.evolve-left h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 14ch; }
.evolve-left .flourish::after { margin-left: 0; margin-right: 0; }

.evolve-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.evolve-points li { position: relative; padding-left: 28px; color: #c3d0d8;
  font-size: 1rem; line-height: 1.55; }
.evolve-points li::before { content: ""; position: absolute; left: 0; top: 11px;
  width: 14px; height: 2px; background: #5fd0d8; border-radius: 2px; }
.evolve-points strong { color: #fff; font-weight: 600; }

@media (max-width: 860px) {
  .evolve { grid-template-columns: 1fr; gap: 28px; }
  .evolve-band { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .evolve-glow span { animation: none !important; }
}

/* ==========================================================================
   INTERACTIVE HERO (v3) — cursor glow + waveform amplitude response
   ========================================================================== */
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(300px circle at var(--mx,50%) var(--my,30%),
              rgba(95,208,216,.20), rgba(95,208,216,0) 70%);
}
.hero-x:hover .hero-glow { opacity: 1; }
.wave-band svg { transform-origin: center; transform: scaleY(var(--amp,1)); transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) {
  .hero-glow { display: none; }
  .wave-band svg { transform: none !important; transition: none !important; }
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .people-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .isnot { grid-template-columns: 1fr; }
  .isnot .isn { border-left: 0; border-top: 1px solid var(--line); }
  .field-row { grid-template-columns: 1fr; }
  .metablock dl { grid-template-columns: 1fr; }
  .metablock dt { border-left: 0; }
  .metablock dd { border-left: 0; padding-top: 0; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 8px; }
  .nav-links .btn { margin-top: 8px; justify-content: center; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 24px; }
  /* Drop the long subtitle on small phones — logo + PRISM wordmark only. */
  .brand .name small { display: none; }
}
