:root {
  --ink: #171713;
  --muted: #66645d;
  --paper: #fbfaf6;
  --soft: #f3f0e8;
  --line: #ded8cb;
  --white: #fffdf8;
  --charcoal: #10120f;
  --green: #647866;
  --green-dark: #2f493d;
  --gold: #b28b4e;
  --blue: #4b6170;
  --display: "Source Serif 4", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --shadow: 0 28px 80px rgba(28, 31, 27, 0.13);
  --radius: 8px;
  --image-filter: grayscale(14%) saturate(0.58) contrast(1.06) brightness(0.98);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 68px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(47, 73, 61, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 290px;
}

.brand-mark {
  width: 34px;
  height: 52px;
  object-fit: contain;
  image-rendering: auto;
}

.brand-text {
  display: grid;
  gap: 2px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-text span:last-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #5e5b53;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: #383a34;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green-dark);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span + span {
  margin-top: 4px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 13, 0.98) 0%, rgba(14, 16, 13, 0.9) 48%, rgba(14, 16, 13, 0.66) 100%),
    url("assets/protein-structure-dark.jpg") center right / cover;
  filter: var(--image-filter);
}

.molecule-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.molecule-field span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    22px 18px 0 rgba(183, 155, 98, 0.78),
    54px 6px 0 rgba(255, 255, 255, 0.62),
    78px 38px 0 rgba(79, 119, 98, 0.72);
}

.molecule-field span::before,
.molecule-field span::after {
  content: "";
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
  transform-origin: left center;
}

.molecule-field span::before {
  width: 62px;
  transform: translate(7px, 6px) rotate(24deg);
}

.molecule-field span::after {
  width: 80px;
  transform: translate(8px, 6px) rotate(-12deg);
}

.molecule-field span:nth-child(1) { top: 18%; right: 16%; }
.molecule-field span:nth-child(2) { top: 26%; left: 10%; transform: scale(0.72); opacity: 0.42; }
.molecule-field span:nth-child(3) { bottom: 18%; right: 28%; transform: scale(0.86); opacity: 0.48; }
.molecule-field span:nth-child(4) { bottom: 26%; left: 20%; transform: scale(0.62); opacity: 0.34; }
.molecule-field span:nth-child(5) { top: 54%; right: 8%; transform: scale(0.55); opacity: 0.3; }
.molecule-field span:nth-child(6) { top: 10%; left: 42%; transform: scale(0.48); opacity: 0.24; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  min-height: 760px;
  padding: clamp(86px, 12vw, 130px) clamp(20px, 6vw, 88px) clamp(54px, 7vw, 88px);
}

.eyebrow,
.program-list span,
.article-card span,
.article-row span,
.status {
  display: block;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(22px, 2.6vw, 34px);
  color: rgba(255, 253, 248, 0.88);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.28;
}

.hero-body {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 14px 34px rgba(178, 139, 78, 0.22);
}

.button.secondary {
  color: inherit;
  border-color: currentColor;
}

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

.hero-summary {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 19, 16, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-summary div {
  padding: 24px;
  background: rgba(255, 253, 248, 0.055);
}

.hero-summary span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-summary strong {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.image-feature-grid article::after,
.article-card::after,
.article-row::after,
.image-band::after,
.event-card::after {
  pointer-events: none;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  min-height: 520px;
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 16, 13, 0.96) 0%, rgba(14, 16, 13, 0.9) 54%, rgba(14, 16, 13, 0.76) 100%),
    url("assets/protein-structure-dark.jpg") center right / cover;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 5.3vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-about {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 390px);
  background:
    linear-gradient(110deg, rgba(14, 16, 13, 0.96) 0%, rgba(14, 16, 13, 0.86) 58%, rgba(47,73,61,0.58) 100%),
    url("assets/protein-structure-dark.jpg") center right / cover;
}

.hero-education {
  grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(14, 16, 13, 0.94), rgba(47,73,61,0.84)),
    url("assets/diagnostic-samples.jpg") center / cover;
}

.hero-education > div {
  order: 2;
}

.hero-education .page-photo {
  order: 1;
}

.hero-resources {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(14, 16, 13, 0.95), rgba(14, 16, 13, 0.72)),
    url("assets/food-allergens.jpg") center / cover;
}

.hero-resources .page-photo {
  display: none;
}

.hero-resources h1,
.hero-resources p:not(.eyebrow) {
  max-width: 760px;
}

.hero-events {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(14, 16, 13, 0.94), rgba(14, 16, 13, 0.82)),
    url("assets/pollen-grass.jpg") center / cover;
}

.hero-contact {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  min-height: 420px;
  background:
    linear-gradient(115deg, rgba(14, 16, 13, 0.96), rgba(14, 16, 13, 0.84)),
    url("assets/lab-tubes-clean.jpg") center / cover;
}

.hero-contact .page-photo {
  min-height: 250px;
}

.hero-contact .page-photo img {
  min-height: 250px;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 88px);
}

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

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.copy-block,
.wide-copy {
  max-width: 760px;
  color: #3f4039;
  font-size: 19px;
}

.wide-copy {
  color: rgba(255, 255, 255, 0.78);
}

.copy-block p:last-child,
.statement p:last-child { margin-bottom: 0; }

.statement {
  padding: 34px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.statement p { color: var(--muted); }

.dark-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16,18,15,0.98), rgba(25,32,27,0.98)),
    var(--charcoal);
}

.dark-band .section-heading h2 { color: var(--white); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-grid article {
  padding: 30px;
  background: #1a1d18;
}

.trust-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-visual,
.feature-visual,
.article-image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: var(--radius);
  background: #1a1d18;
}

.page-photo {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #1a1d18;
}

.page-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,18,15,0.12), rgba(16,18,15,0.48)),
    linear-gradient(135deg, rgba(47,73,61,0.2), rgba(75,97,112,0.12)),
    radial-gradient(circle at 18% 18%, rgba(255,253,248,0.1), transparent 28%);
}

.page-photo img,
.feature-photo,
.article-thumb,
.article-image,
.image-band img,
.event-photo {
  display: block;
  width: 100%;
  object-fit: cover;
}

.page-photo img {
  height: 100%;
  min-height: 310px;
  filter: var(--image-filter);
}

.page-visual::before,
.feature-visual::before,
.article-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.96) 0 8px, transparent 9px),
    radial-gradient(circle at 40% 44%, rgba(183, 155, 98, 0.9) 0 12px, transparent 13px),
    radial-gradient(circle at 62% 34%, rgba(255, 255, 255, 0.88) 0 7px, transparent 8px),
    radial-gradient(circle at 76% 62%, rgba(79, 119, 98, 0.92) 0 14px, transparent 15px),
    linear-gradient(35deg, transparent 0 45%, rgba(255, 255, 255, 0.22) 45% 45.6%, transparent 45.6%),
    linear-gradient(145deg, transparent 0 50%, rgba(255, 255, 255, 0.2) 50% 50.6%, transparent 50.6%),
    linear-gradient(120deg, rgba(71, 111, 141, 0.26), rgba(79, 119, 98, 0.24));
}

.page-visual::after,
.feature-visual::after,
.article-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.visual-chip::before {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.1) 0 1px, transparent 1px 20px),
    radial-gradient(circle at 34% 42%, rgba(183, 155, 98, 0.94) 0 18px, transparent 19px),
    radial-gradient(circle at 64% 38%, rgba(255, 255, 255, 0.82) 0 8px, transparent 9px),
    linear-gradient(135deg, #1a1d18, #2f493d);
}

.visual-pathway::before {
  background:
    radial-gradient(circle at 18% 50%, #fff 0 9px, transparent 10px),
    radial-gradient(circle at 42% 32%, var(--gold) 0 11px, transparent 12px),
    radial-gradient(circle at 63% 60%, #fff 0 10px, transparent 11px),
    radial-gradient(circle at 84% 40%, var(--green) 0 13px, transparent 14px),
    linear-gradient(16deg, transparent 0 33%, rgba(255,255,255,0.28) 33% 33.5%, transparent 33.5%),
    linear-gradient(157deg, transparent 0 47%, rgba(255,255,255,0.26) 47% 47.5%, transparent 47.5%),
    linear-gradient(135deg, #10120f, #4b6170);
}

.visual-lab::before,
.visual-education::before,
.visual-resources::before,
.visual-events::before,
.visual-contact::before,
.visual-network::before {
  background:
    radial-gradient(circle at 32% 24%, #fff 0 8px, transparent 9px),
    radial-gradient(circle at 46% 40%, var(--gold) 0 12px, transparent 13px),
    radial-gradient(circle at 60% 28%, #fff 0 7px, transparent 8px),
    radial-gradient(circle at 72% 54%, var(--green) 0 11px, transparent 12px),
    radial-gradient(circle at 36% 68%, #fff 0 6px, transparent 7px),
    conic-gradient(from 90deg at 50% 50%, rgba(255,255,255,0.1), transparent, rgba(183,155,98,0.2), transparent),
    linear-gradient(135deg, #10120f, #292f2b 55%, #2f493d);
}

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

.image-feature-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 23, 19, 0.03);
}

.feature-photo {
  height: 240px;
  filter: var(--image-filter);
}

.image-feature-grid article::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 240px;
  background: linear-gradient(180deg, rgba(16,18,15,0.06), rgba(16,18,15,0.26));
  pointer-events: none;
}

.article-card::before {
  height: 150px;
}

.image-feature-grid article > *:not(img),
.article-card > *:not(img) {
  position: relative;
  z-index: 2;
}

.image-feature-grid h3,
.image-feature-grid p { padding-inline: 24px; }

.image-feature-grid h3 { padding-top: 24px; }

.image-feature-grid p {
  padding-bottom: 24px;
  color: var(--muted);
}

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

.program-list article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 23, 19, 0.03);
}

.program-list p { color: var(--muted); }

.resources-section { background: var(--soft); }

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

.resource-grid a,
.resource-grid div,
.article-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 23, 19, 0.03);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.resource-grid a:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(178, 139, 78, 0.48);
  box-shadow: 0 22px 54px rgba(28, 31, 27, 0.11);
}

.resource-grid strong { font-size: 22px; }

.resource-grid span,
.article-card p { color: var(--muted); }

.article-grid.compact .article-card { min-height: 245px; }

.article-card {
  align-content: start;
  gap: 12px;
  overflow: hidden;
}

.article-thumb {
  height: 150px;
  margin: -28px -28px 10px;
  width: calc(100% + 56px);
  filter: var(--image-filter);
}

.article-list {
  display: grid;
  gap: 22px;
}

.article-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 23, 19, 0.03);
}

.article-row h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
}

.article-row p {
  color: var(--muted);
  font-size: 17px;
}

.article-image {
  height: 100%;
  min-height: 260px;
  border-radius: 6px;
  background: #1a1d18;
  filter: var(--image-filter);
}

.image-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}

.image-band.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
}

.image-band.reverse img {
  order: 2;
}

.image-band img {
  height: clamp(320px, 38vw, 520px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: var(--image-filter);
}

.image-band p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #263d33, #435b68);
  box-shadow: var(--shadow);
}

.event-photo {
  flex: 0 0 220px;
  width: 220px;
  height: 150px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  filter: var(--image-filter);
}

.event-card p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section { padding-top: 0; }

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 36px;
  align-items: center;
  padding: clamp(32px, 6vw, 58px);
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.contact-card p {
  max-width: 680px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 14px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-details a:hover { color: var(--green-dark); }

.contact-pathways {
  padding-top: 0;
}

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

.contact-grid a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 23, 19, 0.03);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(178, 139, 78, 0.48);
  box-shadow: 0 22px 54px rgba(28, 31, 27, 0.11);
}

.contact-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-grid strong {
  font-size: 20px;
  line-height: 1.3;
}

.contact-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-note-section {
  padding-top: 0;
}

.contact-note {
  position: static;
  max-width: 860px;
}

.why-section {
  background: var(--paper);
}

.independence-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #10120f, #2f493d);
}

.independence-strip h2 {
  max-width: 980px;
  font-size: clamp(28px, 4vw, 46px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.7fr);
  gap: clamp(34px, 6vw, 82px);
  padding: 56px clamp(20px, 6vw, 88px) 28px;
  color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(16, 18, 15, 0.98), rgba(22, 27, 23, 0.98)),
    #0c0d0f;
  font-size: 13px;
}

.site-footer a:hover { color: var(--white); }

.footer-brand {
  display: grid;
  align-content: start;
  gap: 18px;
  max-width: 420px;
}

.footer-logo {
  min-width: 0;
  color: var(--white);
}

.footer-logo .brand-mark {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-logo .brand-text {
  color: var(--white);
}

.footer-logo .brand-text span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand > a:not(.brand) {
  color: var(--white);
  font-weight: 700;
}

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

.footer-links div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
}

.resource-hero,
.article-hero {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(14, 16, 13, 0.96), rgba(14, 16, 13, 0.82)),
    url("assets/protein-structure-dark.jpg") center right / cover;
}

.resource-hero h1,
.article-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
}

.resource-hero p:not(.eyebrow),
.article-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.resource-detail,
.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.resource-detail article,
.article-body article {
  max-width: 860px;
}

.resource-detail article > p,
.article-body article > p {
  color: #3f4039;
  font-size: 18px;
}

.article-body h2,
.resource-detail h2 {
  margin-top: 34px;
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 38px);
}

.note-panel {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.note-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.note-panel a,
.text-link {
  color: var(--green-dark);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
}

.key-points,
.framework-list,
.family-grid,
.literature-list,
.glossary-grid {
  display: grid;
  gap: 16px;
}

.key-points,
.framework-list div,
.family-grid div,
.literature-list div,
.literature-list a,
.glossary-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.key-points {
  margin: 28px 0;
  background: var(--soft);
}

.key-points h2 {
  margin-top: 0;
}

.key-points ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.lead-paragraph {
  font-size: 20px;
  color: #32342e;
}

.framework-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: var(--white);
  border-radius: 50%;
  background: var(--green-dark);
  font-weight: 800;
}

.framework-list strong,
.family-grid strong,
.literature-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.framework-list p,
.family-grid p,
.literature-list span,
.glossary-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.family-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    overflow: visible;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(16, 17, 20, 0.08);
  }

  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  }

  .hero-inner,
  .page-hero,
  .split,
  .contact-card,
  .article-row,
  .resource-detail,
  .article-body,
  .image-band,
  .image-band.reverse {
    grid-template-columns: 1fr;
  }

  .note-panel {
    position: static;
  }

  .page-hero {
    min-height: auto;
  }

  .hero-education > div,
  .hero-education .page-photo {
    order: initial;
  }

  .image-band.reverse img {
    order: 0;
  }

  .hero-inner { align-items: center; }

  .hero-summary { max-width: 620px; }

  .program-list,
  .article-grid,
  .image-feature-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand { min-width: 0; }

  .brand-mark {
    width: 30px;
    height: 46px;
  }

  .hero { min-height: auto; }

  .hero-inner {
    min-height: auto;
    padding-top: 88px;
  }

  h1 { font-size: 42px; }

  .page-hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-hero h1 {
    font-size: 34px;
    line-height: 1.14;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .page-photo,
  .page-photo img,
  .hero-contact .page-photo,
  .hero-contact .page-photo img {
    min-height: 230px;
  }

  .hero-lede { font-size: 24px; }

  .button { width: 100%; }

  .program-list,
  .resource-grid,
  .article-grid,
  .image-feature-grid,
  .family-grid,
  .glossary-grid,
  .contact-grid,
  .footer-links,
  .independence-strip {
    grid-template-columns: 1fr;
  }

  .program-list article { min-height: auto; }

  .article-row {
    gap: 18px;
    padding: 18px;
  }

  .article-row h2 {
    margin-bottom: 10px;
    font-size: 27px;
    line-height: 1.12;
  }

  .article-row p {
    font-size: 16px;
  }

  .article-image {
    width: 100%;
    height: 180px;
    min-height: 0;
  }

  .article-grid.compact .article-card {
    min-height: 0;
  }

  .article-thumb {
    height: 118px;
    margin-bottom: 6px;
  }

  .event-card {
    align-items: stretch;
    flex-direction: column;
  }

  .event-photo {
    width: 100%;
    flex-basis: auto;
  }

  .hero-summary div { padding: 20px; }
}
