:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --wash: #eef3f1;
  --ink: #101214;
  --muted: #5d6364;
  --line: #d8dedc;
  --red: #d94b3d;
  --orange: #ed8a3a;
  --gold: #f4c95d;
  --green: #2f9c72;
  --blue: #2f5bea;
  --teal: #087e8b;
  --coral: #ed6a5a;
  --max: 1160px;
  --radius: 8px;
  --sans: "Instrument Sans", "Aptos", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 20, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.desktop-nav {
  margin-left: auto;
  display: none;
  gap: 1.35rem;
}

.desktop-nav a,
.mobile-nav nav a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav nav a:hover {
  color: var(--teal);
}

.mobile-nav {
  margin-left: auto;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  gap: 0.3rem;
  padding: 0.4rem;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  width: 1.45rem;
  height: 2px;
  background: var(--ink);
}

.mobile-nav nav {
  position: absolute;
  right: 0;
  margin-top: 0.75rem;
  min-width: 12rem;
  padding: 0.8rem;
  display: grid;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(16, 18, 20, 0.12);
}

main {
  position: relative;
}

.section-panel,
.section-band {
  width: 100%;
}

.section-panel {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 3.5rem 1.25rem 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.section-panel > *,
.section-band > * {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.92) 48%, rgba(238, 243, 241, 0.86) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58rem, 72vw);
  height: 9px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold), var(--green), var(--blue));
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 0.55rem;
  padding: 0.16rem 0.42rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  text-wrap: pretty;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 1.25rem;
  font-size: 2.72rem;
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  max-width: 100%;
  margin-bottom: 1rem;
  font-size: 2.35rem;
  line-height: 1.02;
  font-weight: 800;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 750;
}

.hero-tagline {
  max-width: 64rem;
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-size: 1.42rem;
  line-height: 1.3;
  font-weight: 650;
  color: var(--ink);
}

.hero-summary,
.section-heading p {
  max-width: 56rem;
  color: var(--muted);
}

.hero-summary {
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover {
  color: var(--paper);
  background: var(--teal);
  border-color: var(--teal);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--gold);
}

.section-band {
  padding: 4rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.section-band-alt {
  background: var(--wash);
}

.section-band-deep {
  background: #111416;
  color: var(--paper);
}

.section-band-accent {
  background: #f7ede9;
}

.section-heading {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.3rem;
}

.section-band-deep .section-heading p,
.section-band-deep .team-note,
.section-band-deep .role-label {
  color: #b9c0bf;
}

.section-band-deep a {
  color: #8fd6dd;
}

.research-grid,
.pi-grid,
.team-grid {
  display: grid;
  gap: 0.9rem;
}

.research-card,
.team-card,
.pi-card,
.publication-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
}

.section-band-deep .team-card,
.section-band-deep .pi-card {
  border-color: #33383a;
  background: #181c1f;
}

.research-card {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
}

.research-card:nth-child(1) {
  border-top: 5px solid var(--red);
}

.research-card:nth-child(2) {
  border-top: 5px solid var(--orange);
}

.research-card:nth-child(3) {
  border-top: 5px solid var(--gold);
}

.research-card:nth-child(4) {
  border-top: 5px solid var(--green);
}

.research-card-head,
.team-card-top {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.icon-badge,
.initials-badge {
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
}

.icon-badge {
  position: relative;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}

.icon-badge::before,
.icon-badge::after {
  content: "";
  position: absolute;
}

.icon-measure::before {
  inset: 0.62rem;
  border: 2px solid var(--red);
}

.icon-vision::before {
  inset: 0.9rem 0.5rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
}

.icon-vision::after {
  width: 0.5rem;
  height: 0.5rem;
  top: 50%;
  left: 50%;
  background: var(--ink);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.icon-pathway::before {
  left: 0.6rem;
  top: 0.85rem;
  width: 1.4rem;
  height: 2px;
  background: var(--gold);
  box-shadow: 0.45rem 0.62rem 0 var(--gold);
}

.icon-pathway::after {
  left: 0.75rem;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 1.25rem 0.62rem 0 var(--ink), 0.45rem 1.24rem 0 var(--ink);
}

.icon-nodes::before {
  inset: 0.7rem;
  border: 2px dashed var(--green);
  border-radius: 999px;
}

.icon-nodes::after {
  width: 0.42rem;
  height: 0.42rem;
  left: 50%;
  top: 50%;
  background: var(--ink);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 -0.8rem 0 var(--ink), 0.72rem 0.42rem 0 var(--ink), -0.72rem 0.42rem 0 var(--ink);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.project-chip-list {
  margin-top: auto;
}
.project-list,
.publication-list {
  display: grid;
}

.project-row {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.project-row:last-child {
  border-bottom: 1px solid var(--line);
}

.project-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.status-pill,
.keyword-chip,
.project-chip,
.role-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.82rem;
  padding: 0.24rem 0.56rem;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.status-pill {
  color: var(--ink);
  background: var(--gold);
}

.status-in-progress {
  color: #063f2c;
  background: #b9ead4;
}

.status-in-development {
  color: #4a2600;
  background: #ffd3a3;
}

.status-completed {
  color: #5b1410;
  background: #f8b8b1;
}

.keyword-chip {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.project-chip {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #bdc7c4;
  text-decoration: none;
}

.project-chip:hover {
  color: var(--ink);
  border-color: var(--teal);
  background: #e7f4f2;
}

.section-band-deep .project-chip {
  color: var(--paper);
  background: #20262a;
  border-color: #3d4548;
}

.section-band-deep .project-chip:hover {
  color: var(--paper);
  border-color: #8fd6dd;
  background: #263438;
}

.member-projects {
  margin-top: 0;
}

.metadata-group {
  margin-top: 1rem;
}

.meta-label {
  margin: 0 0 0.42rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.section-band-deep .meta-label {
  color: #b9c0bf;
}

.project-link {
  color: var(--muted);
  font-size: 0.92rem;
}

.pi-grid {
  margin-bottom: 0.9rem;
}

.pi-card {
  display: grid;
  gap: 1rem;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}

.initials-badge {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
}

.team-card:nth-child(3n + 1) .initials-badge {
  background: var(--coral);
}

.team-card:nth-child(3n + 2) .initials-badge {
  background: #9fe3dd;
}

.role-label {
  margin: 0 0 0.42rem;
  color: var(--teal);
  text-transform: uppercase;
}

.team-note,
.empty-state,
.footer-label {
  color: var(--muted);
}

.publication-list {
  max-width: 760px;
}

.publication-item {
  padding: 1rem 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.publication-item:last-child {
  border-bottom: 1px solid var(--line);
}

.publication-cta {
  max-width: 760px;
  margin-top: 1.3rem;
  font-weight: 750;
}

.join-grid {
  display: block;
}

.join-copy {
  max-width: 42rem;
}

.initiative-band {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background: #e7f4f2;
}

.initiative-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #b9d7d2;
  border-left: 6px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
}

.initiative-card h2 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
}

.initiative-copy > p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
}

.initiative-card .button {
  width: fit-content;
}


.instrument-hero {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 52%, rgba(231, 244, 242, 0.88) 100%);
}

.instrument-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58rem, 72vw);
  height: 9px;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--gold), var(--coral));
}

.advisory-hero {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.92) 50%, rgba(232, 243, 246, 0.9) 100%);
}

.advisory-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(58rem, 72vw);
  height: 9px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--green), var(--gold));
}

.instrument-hero-grid,
.registration-grid {
  display: grid;
  gap: 1.25rem;
}

.instrument-summary,
.instrument-card,
.license-card,
.registration-action {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1rem;
}

.instrument-summary {
  align-self: end;
}

.summary-label,
.license-type {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.instrument-summary dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.instrument-summary div {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.instrument-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.instrument-summary dd {
  margin: 0.12rem 0 0;
  font-weight: 700;
}


.evidence-list {
  display: grid;
  gap: 0.9rem;
}

.evidence-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.evidence-item:last-child {
  border-bottom: 1px solid var(--line);
}

.evidence-item h3 {
  max-width: 48rem;
}

.instrument-grid,
.license-grid {
  display: grid;
  gap: 0.9rem;
}

.instrument-card {
  min-height: 12rem;
}

.instrument-card-red {
  border-top: 5px solid var(--red);
}

.instrument-card-orange {
  border-top: 5px solid var(--orange);
}

.instrument-card-green {
  border-top: 5px solid var(--green);
}

.license-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.license-card h3 {
  margin-bottom: 0.65rem;
  font-size: 2rem;
}

.license-card-featured {
  border-top: 5px solid var(--teal);
  box-shadow: 0 18px 42px rgba(16, 18, 20, 0.08);
}

.fee-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fee-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.fee-table th,
.fee-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.fee-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.registration-list {
  margin: 0;
  padding-left: 1.2rem;
}

.registration-list li + li {
  margin-top: 0.45rem;
}

.section-band-deep .registration-action {
  border-color: #33383a;
  background: #181c1f;
}

.section-band-deep .registration-action .summary-label {
  color: #b9c0bf;
}

.participation-flow {
  display: grid;
  gap: 0.9rem;
}

.participation-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.participation-step p:last-child,
.advisory-note p:last-child {
  margin-bottom: 0;
}

.step-number {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.advisory-note {
  max-width: 48rem;
  padding: 1.25rem;
  border-left: 5px solid var(--teal);
  background: var(--surface);
}
.section-band-deep .advisory-note {
  background: #181c1f;
}
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 2rem 1.25rem;
}

.footer-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-grid a,
.footer-grid p {
  color: inherit;
  margin-bottom: 0;
}

.footer-label {
  margin-bottom: 0.25rem;
  color: #adb5b3;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 760px) {
  body {
    font-size: 1.04rem;
  }

  .desktop-nav {
    display: flex;
  }

  .mobile-nav {
    display: none;
  }

  .section-panel {
    padding: 5rem 1.5rem 4rem;
  }

  h1 {
    font-size: 4.9rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-copy {
    width: min(100%, var(--max));
  }

  .hero-summary {
    max-width: 62rem;
  }

  .hero-tagline {
    font-size: 1.65rem;
  }

  .section-band {
    padding: 5rem 1.5rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p {
    grid-column: 1;
  }

  .section-heading p {
    grid-row: auto;
    margin-bottom: 0;
  }

  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-row {
    grid-template-columns: minmax(0, 1fr) 12rem;
    align-items: start;
  }

  .pi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pi-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 1.25rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .initiative-band {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .initiative-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 2rem;
  }

  .initiative-card h2 {
    font-size: 2.35rem;
  }

  .instrument-hero-grid {
    grid-template-columns: minmax(0, 0.68fr) minmax(17rem, 0.32fr);
    align-items: end;
  }

  .instrument-grid,
  .license-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-grid {
    grid-template-columns: minmax(0, 0.62fr) minmax(17rem, 0.38fr);
    align-items: start;
  }

  .participation-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .participation-step {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 14rem;
    padding: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid-single {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1040px) {
  .research-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .hero-copy {
    width: min(100%, var(--max));
  }

  .hero-summary {
    max-width: 62rem;
  }
}

