:root {
  --blue: #1b1464;
  --green: #6edcbe;
  --white: #ffffff;
  --gray-light: #f2f2f2;
  --gray-medium: #cccccc;
  --ink: #1b1464;
  --ink-2: #2f2a70;
  --teal: #6edcbe;
  --teal-dark: #1b1464;
  --paper: #f2f2f2;
  --mist: #e9f4f1;
  --line: rgba(27, 20, 100, 0.14);
  --shadow: 0 22px 60px rgba(27, 20, 100, 0.13);
  --brand-gradient: linear-gradient(115deg, #6edcbe 0%, #4d859b 48%, #1b1464 100%);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Satoshi, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

section[id] {
  scroll-margin-top: 128px;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 92px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid rgba(110, 220, 190, 0.34);
  box-shadow: 0 10px 28px rgba(27, 20, 100, 0.18);
  transition: min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 78px;
  color: var(--white);
  background: rgba(27, 20, 100, 0.97);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(170px, 18vw, 232px);
  height: 58px;
  padding: 0;
  background: transparent;
  text-decoration: none;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  font-size: clamp(0.78rem, 0.9vw, 0.94rem);
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(110, 220, 190, 0.72);
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 5, 38, 0.96) 0%, rgba(27, 20, 100, 0.76) 44%, rgba(27, 20, 100, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 5, 38, 0.68), rgba(27, 20, 100, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  padding: 170px 0 100px;
  margin: 0 auto;
  transform: translateX(calc((min(100vw, var(--max)) - min(760px, calc(100vw - 48px))) / -2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.facility h2,
.contact h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: 4.2rem;
  font-weight: 750;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions,
.facility {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--blue);
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #88ead1;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(110, 220, 190, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: -46px auto 0;
  position: relative;
  z-index: 4;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fact {
  min-height: 96px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 9px;
  color: #55556d;
  font-size: 0.95rem;
}

.section {
  padding: 104px max(24px, calc((100vw - var(--max)) / 2));
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.section h2,
.facility h2,
.contact h2 {
  font-size: 2.7rem;
  font-weight: 820;
}

.section-body p,
.section-heading p,
.people-copy p,
.facility p,
.contact p {
  margin: 18px 0 0;
  color: #55556d;
  font-size: 1.05rem;
}

.section-muted {
  background: #eaf7f4;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 700px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.research-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 442px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(27, 20, 100, 0.1);
  border-radius: 8px;
}

.research-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.research-card div {
  padding: 24px;
}

.research-card h3,
.project-list h3,
.publication-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.25;
}

.research-card p,
.project-list p,
.funding-card p,
.publication-list p {
  margin: 12px 0 0;
  color: #575774;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.project-layout > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-list article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-list span,
.funding-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.83rem;
  font-weight: 850;
}

.funding {
  background: var(--gray-light);
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.funding-card {
  min-height: 248px;
  padding: 30px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  border: 1px solid rgba(110, 220, 190, 0.28);
}

.funding-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1.1;
}

.funding-card p {
  color: rgba(255, 255, 255, 0.74);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-dark .eyebrow {
  color: var(--green);
}

.section-dark .section-heading p,
.section-dark .publication-list p {
  color: rgba(255, 255, 255, 0.68);
}

.section-dark .section-heading h2,
.section-dark .publication-list h3 {
  color: var(--white);
}

.publication-actions {
  margin-top: 24px;
}

.publication-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.publication-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.publication-list time {
  color: var(--teal);
  font-weight: 850;
}

.publication-list h3 a {
  color: inherit;
  text-decoration: none;
}

.publication-list h3 a:hover,
.publication-list h3 a:focus-visible {
  color: var(--green);
}

.doi-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
}

.doi-link:hover,
.doi-link:focus-visible {
  text-decoration: underline;
}

.facility {
  justify-content: space-between;
  padding: 58px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--brand-gradient);
}

.facility > div {
  max-width: 760px;
}

.facility .eyebrow {
  color: var(--white);
}

.facility p {
  color: rgba(255, 255, 255, 0.78);
}

.people {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.team-intro {
  max-width: 560px;
}

.leader-profile {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(420px, 0.46fr) minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(232, 248, 245, 0.92) 0%, rgba(255, 255, 255, 0) 45%),
    var(--white);
  box-shadow: var(--shadow);
}

.leader-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(110, 220, 190, 0.28), transparent 38%),
    linear-gradient(135deg, #e9f7f4, #f8fbfb 72%);
}

.leader-photo::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: 76px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--white));
  pointer-events: none;
}

.leader-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.leader-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.leader-copy h3 {
  margin: 0;
  color: var(--blue);
  font-size: 3.1rem;
  line-height: 1;
}

.leader-copy p {
  max-width: 580px;
}

.team-roster {
  grid-column: 1 / -1;
  display: grid;
  gap: 42px;
}

.member-block h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 1.8rem;
  line-height: 1.15;
}

.lab-grid,
.member-grid,
.spec-grid,
.committee-grid,
.policy-list,
.instruction-layout {
  display: grid;
  gap: 18px;
}

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

.lab-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 0 22px;
}

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

.lab-grid article,
.member-card,
.spec-grid article,
.committee-grid article,
.policy-list article,
.instruction-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.lab-grid span,
.member-tag,
.spec-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lab-grid h3,
.member-card h4,
.spec-grid h3,
.committee-grid h3,
.policy-list h3,
.instruction-panel h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.18rem;
  line-height: 1.2;
}

.lab-grid p,
.member-card p,
.spec-grid p,
.committee-grid p,
.policy-list p,
.instruction-panel li {
  margin: 12px 0 0;
  color: #575774;
}

.member-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 144px;
}

.member-photo {
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef3f6;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-photo.placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(27, 20, 100, 0.96), rgba(110, 220, 190, 0.9));
}

.member-photo.placeholder span {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 820;
  text-decoration: none;
  border: 1px solid rgba(27, 20, 100, 0.14);
  border-radius: 8px;
  background: #f7fbfb;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  border-color: var(--green);
  background: #eaf7f4;
}

.events-gallery {
  background: #f7fbfb;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.event-highlight {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 32px;
  color: var(--white);
  border: 1px solid rgba(110, 220, 190, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8, 5, 38, 0.2), rgba(27, 20, 100, 0.94)),
    radial-gradient(circle at 18% 16%, rgba(110, 220, 190, 0.56), transparent 38%),
    var(--blue);
  box-shadow: var(--shadow);
}

.event-highlight .member-tag,
.event-highlight h3 {
  color: var(--white);
}

.event-highlight h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.event-highlight p {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 18px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  border-radius: 999px;
  background: var(--green);
}

.instagram-link:hover,
.instagram-link:focus-visible {
  background: var(--white);
}

.event-timeline {
  display: grid;
  gap: 12px;
}

.event-timeline article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.event-timeline time {
  color: var(--green);
  font-size: 1.04rem;
  font-weight: 900;
}

.event-timeline span {
  display: block;
  color: #575774;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-timeline h3 {
  margin: 4px 0 0;
  color: var(--blue);
  font-size: 1.05rem;
  line-height: 1.25;
}

.event-timeline .event-upcoming {
  border-color: rgba(110, 220, 190, 0.64);
  background: #eaf7f4;
}

.gallery-panel {
  margin-top: 32px;
}

.gallery-intro {
  max-width: 680px;
  margin-bottom: 22px;
}

.gallery-intro h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1.15;
}

.gallery-intro p {
  margin: 12px 0 0;
  color: #575774;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 14px;
}

.gallery-tile,
.gallery-slot {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf7f4;
}

.gallery-tile-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  content: "";
  background: linear-gradient(0deg, rgba(8, 5, 38, 0.78), rgba(8, 5, 38, 0));
}

.gallery-tile figcaption,
.gallery-slot figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-weight: 850;
  line-height: 1.2;
}

.gallery-slot {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, #ffffff, #eaf7f4);
}

.gallery-slot span {
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
}

.gallery-slot figcaption {
  color: var(--blue);
}

.gallery-slot-upcoming {
  border-color: rgba(110, 220, 190, 0.45);
  background: var(--blue);
}

.gallery-slot-upcoming span,
.gallery-slot-upcoming figcaption {
  color: var(--white);
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(27, 20, 100, 0.14);
  border-radius: 8px;
  background: var(--blue);
}

.workflow-strip span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 820;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.workflow-strip span:last-child {
  border-right: 0;
}

.collaborations {
  background: var(--white);
}

.collab-feature {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.collab-media {
  min-height: 580px;
  margin: 0;
  overflow: hidden;
  background: var(--blue);
}

.collab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.collab-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.biotrocs-mark {
  width: min(230px, 58vw);
  margin: 0 0 24px;
}

.collab-copy h3,
.collab-network h3,
.partner-card h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.15;
}

.collab-copy h3 {
  font-size: 2rem;
}

.collab-copy p,
.partner-card p,
.collab-network p,
.collab-projects li {
  color: #575774;
}

.collab-copy p {
  margin: 16px 0 0;
}

.collab-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.collab-metrics div {
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(27, 20, 100, 0.12);
  border-radius: 8px;
  background: #f7fbfb;
}

.collab-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
}

.collab-metrics span {
  display: block;
  margin-top: 9px;
  color: #575774;
  font-size: 0.9rem;
}

.collab-projects {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.collab-projects h4 {
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
}

.collab-projects ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
  margin: 14px 0 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  min-height: 294px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfb;
}

.partner-card h3 {
  margin-top: auto;
  font-size: 1.16rem;
}

.partner-card p {
  margin: 12px 0 0;
}

.partner-wordmark {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 108px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 2rem;
  font-weight: 900;
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 24%, rgba(110, 220, 190, 0.92), transparent 34%),
    linear-gradient(135deg, #1b1464, #4d859b);
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 108px;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.partner-logo-wide img {
  max-height: 72px;
}

.partner-card-image img {
  width: 100%;
  height: 108px;
  margin-bottom: 24px;
  object-fit: contain;
  border-radius: 8px;
  background: #050514;
}

.collab-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 22px;
  margin-top: 28px;
}

.collab-map {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(110, 220, 190, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 29% 44%, rgba(110, 220, 190, 0.2), transparent 18%),
    radial-gradient(circle at 48% 31%, rgba(110, 220, 190, 0.22), transparent 17%),
    radial-gradient(circle at 73% 44%, rgba(110, 220, 190, 0.15), transparent 22%),
    linear-gradient(135deg, #0b0837, #1b1464);
}

.collab-map::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  opacity: 0.6;
}

.collab-map::after {
  position: absolute;
  inset: 14%;
  content: "";
  border: 1px solid rgba(110, 220, 190, 0.32);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.map-ring {
  position: absolute;
  inset: 21% 18%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: rotate(18deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 170px;
  padding: 8px 10px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.2;
  border: 1px solid rgba(110, 220, 190, 0.44);
  border-radius: 999px;
  background: rgba(11, 8, 55, 0.74);
  backdrop-filter: blur(8px);
}

.map-pin i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(110, 220, 190, 0.16);
}

.map-brazil {
  left: 38%;
  top: 63%;
}

.map-uk {
  left: 48%;
  top: 28%;
}

.map-canada {
  left: 18%;
  top: 22%;
}

.map-usa {
  left: 20%;
  top: 40%;
}

.map-europe {
  left: 58%;
  top: 34%;
}

.map-asia {
  right: 9%;
  top: 43%;
}

.collab-network {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfb;
}

.collab-network h3 {
  font-size: 1.5rem;
}

.collab-network p {
  margin: 14px 0 0;
}

.collab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.collab-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 820;
  border: 1px solid rgba(27, 20, 100, 0.12);
  border-radius: 999px;
  background: var(--white);
}

.facilities {
  background: #f7fbfb;
}

.facility-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.facility-summary article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.facility-summary span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.facility-summary h3,
.equipment-group h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1.2;
}

.facility-summary p {
  margin: 12px 0 0;
  color: #575774;
}

.energy-card {
  color: var(--white);
  background: var(--blue) !important;
  border-color: rgba(110, 220, 190, 0.36) !important;
}

.energy-card h3,
.energy-card p {
  color: var(--white);
}

.energy-card p {
  color: rgba(255, 255, 255, 0.74);
}

.equipment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.equipment-group {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.equipment-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.equipment-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.equipment-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.equipment-list span {
  display: block;
  margin-top: 5px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 780;
}

.equipment-list p {
  margin: 7px 0 0;
  color: #575774;
  font-size: 0.92rem;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--green);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.18fr);
  gap: 32px;
  align-items: stretch;
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #f7f8fb;
}

.location-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.location-copy h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 0.96;
}

.location-copy p {
  margin: 20px 0 0;
  color: #575774;
  font-size: 1.04rem;
  line-height: 1.6;
}

.location-copy .button {
  margin-top: 26px;
}

.map-panel {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gray-light);
  box-shadow: var(--shadow-soft);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: saturate(0.95) contrast(1.03);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.58fr);
  gap: 64px;
  align-items: start;
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--gray-light);
}

.contact-panel a,
.contact-panel span {
  overflow-wrap: anywhere;
  color: var(--ink-2);
  font-weight: 750;
  text-decoration: none;
}

.contact-panel a:hover,
.contact-panel a:focus-visible {
  color: var(--teal-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.7);
  background: var(--blue);
}

.site-footer img {
  width: 220px;
}

.site-footer p,
.site-footer span {
  margin: 0;
  font-size: 0.92rem;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(27, 20, 100, 0.96), rgba(27, 20, 100, 0.84)),
    var(--brand-gradient);
}

.page-hero-content {
  width: min(var(--max), calc(100% - 48px));
  padding: 104px 0 92px;
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: 4rem;
  line-height: 1.03;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.emu-hero {
  position: relative;
  overflow: hidden;
}

.emu-hero::after {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: -110px;
  width: min(360px, 46vw);
  aspect-ratio: 1;
  content: "";
  background: url("assets/bblab-symbol.png") center / contain no-repeat;
  opacity: 0.24;
}

.emu-facts {
  margin-top: -44px;
}

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

.source-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: #575774;
  font-size: 0.94rem;
}

.source-note a {
  color: var(--blue);
  font-weight: 800;
}

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

.access-policy {
  color: var(--white);
  background: var(--blue);
}

.access-policy .eyebrow,
.access-policy h2 {
  color: var(--white);
}

.access-policy .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

.policy-list article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(110, 220, 190, 0.28);
}

.policy-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 1.5rem;
  font-weight: 850;
}

.policy-list h3,
.policy-list p {
  color: var(--white);
}

.policy-list p {
  color: rgba(255, 255, 255, 0.72);
}

.instructions {
  background: #eaf7f4;
}

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

.instruction-panel ul {
  padding-left: 1.1rem;
  margin: 16px 0 0;
}

.instruction-panel li + li {
  margin-top: 10px;
}

.emu-contact {
  border-top: 1px solid var(--line);
}

@media (max-width: 1020px) {
  .hero-content {
    transform: none;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .quick-facts,
  .research-grid,
  .lab-grid,
  .partner-grid,
  .facility-summary,
  .member-grid,
  .funding-grid,
  .alumni-grid,
  .spec-grid,
  .committee-grid,
  .policy-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-split,
  .project-layout,
  .collab-feature,
  .collab-map-layout,
  .equipment-layout,
  .people,
  .leader-profile,
  .events-layout,
  .location-section,
  .contact,
  .instruction-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    justify-items: start;
  }

  .collab-media {
    min-height: 420px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }
}

@media (max-width: 1120px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .brand {
    width: 176px;
    height: 48px;
    padding: 0;
  }

  .brand img {
    width: 176px;
    max-height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    padding: 16px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid rgba(110, 220, 190, 0.52);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 8px 4px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .brand {
    width: 176px;
    height: 48px;
    padding: 0;
  }

  .brand img {
    width: 176px;
    max-height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    padding: 16px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid rgba(110, 220, 190, 0.52);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 8px 4px;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(27, 20, 100, 0.92), rgba(27, 20, 100, 0.68)),
      linear-gradient(0deg, rgba(27, 20, 100, 0.72), rgba(27, 20, 100, 0.1));
  }

  .hero-content {
    width: calc(100% - 36px);
    padding: 132px 0 88px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .page-hero-content {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .quick-facts,
  .research-grid,
  .lab-grid,
  .partner-grid,
  .collab-metrics,
  .facility-summary,
  .member-grid,
  .funding-grid,
  .alumni-grid,
  .spec-grid,
  .committee-grid,
  .policy-list {
    grid-template-columns: 1fr;
  }

  .event-highlight {
    min-height: 300px;
    padding: 26px;
  }

  .event-timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .gallery-tile-large {
    grid-column: auto;
    grid-row: auto;
  }

  .quick-facts {
    margin: 0;
    border-right: 0;
    border-left: 0;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .section,
  .location-section,
  .contact {
    padding: 72px 18px;
  }

  .location-copy {
    padding: 26px;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 320px;
  }

  .equipment-layout {
    grid-template-columns: 1fr;
  }

  .section h2,
  .facility h2,
  .contact h2 {
    font-size: 2.05rem;
  }

  .research-card {
    grid-template-rows: 190px 1fr;
    min-height: auto;
  }

  .research-card img {
    height: 190px;
  }

  .project-layout > img,
  .leader-photo {
    min-height: 340px;
  }

  .leader-photo img {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .leader-photo::after {
    display: none;
  }

  .collab-copy {
    padding: 28px;
  }

  .collab-copy h3 {
    font-size: 1.55rem;
  }

  .collab-media {
    min-height: 300px;
  }

  .collab-map {
    min-height: 420px;
  }

  .map-pin {
    max-width: 136px;
    white-space: normal;
  }

  .map-brazil {
    left: 30%;
    top: 64%;
  }

  .map-uk {
    left: 43%;
    top: 27%;
  }

  .map-canada {
    left: 10%;
    top: 20%;
  }

  .map-usa {
    left: 12%;
    top: 40%;
  }

  .map-europe {
    left: 50%;
    top: 39%;
  }

  .map-asia {
    right: 5%;
    top: 53%;
  }

  .leader-copy {
    padding: 28px;
  }

  .leader-copy h3 {
    font-size: 2.25rem;
  }

  .member-card {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 128px;
    padding: 20px;
  }

  .member-photo {
    width: 72px;
    height: 72px;
  }

  .workflow-strip {
    grid-template-columns: 1fr;
  }

  .workflow-strip span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .workflow-strip span:last-child {
    border-bottom: 0;
  }

  .publication-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px;
  }

  .facility {
    align-items: flex-start;
    padding: 50px 18px;
  }

  .contact-panel {
    padding: 22px;
  }

  .site-footer {
    padding: 30px 18px;
  }
}
