/* Red Hat Display, self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). Variable font, weights 400-900. Replaces Google Fonts 2026-10-17. */
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/RedHatDisplay-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/RedHatDisplay-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;
}

:root {
  --nucleus: #004DBA;
  --nucleus-deep: #003a8c;
  --green: #5CDA29;
  --sky: #01B7FF;
  --white: #FFFFFF;
  --carbon: #131313;
  --ink: #131313;
  --muted: #3a3a3a;
  --paper: #f3f7fb;
  --line: #d7dde8;
  --max: 70rem;
}
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Clear sticky header on hash jumps (#medicine, etc.) */
  scroll-padding-top: 6rem;
}
body {
  margin: 0;
  font-family: "Red Hat Display", system-ui, sans-serif;
  color: var(--carbon);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nucleus); }
a:hover { color: var(--nucleus-deep); }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--nucleus); color: var(--white); padding: 0.5rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
header.site {
  background: var(--white);
  border-bottom: 1px solid #dce4ef;
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.55rem 0; position: relative;
}
.logo img { height: 56px; width: auto; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.05rem; }
nav a {
  color: var(--carbon); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
nav a:hover, nav a:focus, nav a[aria-current="page"] { color: var(--nucleus); }
.menu-btn {
  display: none; background: var(--nucleus); color: var(--white);
  border: 0; padding: 0.5rem 0.8rem; font: inherit; font-weight: 700; cursor: pointer;
}
/* Blue sections: solid / subtle clean gradients only. No bubble or circle motifs. */
.page-hero,
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #004DBA 0%, #003a8c 55%, #002f73 100%);
  color: var(--white);
  padding: 3.2rem 0 3.6rem;
}
.hero.home-hero {
  min-height: 28rem;
  padding: 0;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url("assets/hero-students-plant-lab.jpg") center 35% / cover no-repeat;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,77,186,0.92) 0%, rgba(0,58,140,0.78) 48%, rgba(0,47,115,0.55) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 36rem) 1fr; gap: 2rem; align-items: center;
  padding: 3.8rem 0 4.2rem;
}
.hero-copy { max-width: 36rem; }
.page-hero .hero-inner { grid-template-columns: 1fr; padding: 0; }
.hero h1, .page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 800; letter-spacing: 0.01em; margin: 0 0 0.6rem;
}
.tagline { font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 600; margin: 0 0 1rem; }

.hero-lede {
  max-width: 40rem;
  margin: 0;
  font-size: 1.08rem;
}
.tagline.tagline-punch {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1.15rem 0 0;
  color: var(--white);
}
.hero p, .page-hero p { max-width: 40rem; margin: 0; font-size: 1.08rem; }
.hero-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-link {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.65rem 1.15rem; border-radius: 4px;
}
.btn-link.primary { background: var(--green); color: var(--carbon); }
.btn-link.primary:hover { filter: brightness(1.05); color: var(--carbon); }
.btn-link.ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.85);
}
.btn-link.ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
section { padding: 3.2rem 0; }
section h2 {
  font-size: 1.55rem; color: var(--nucleus); margin: 0 0 1.2rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.lede { font-size: 1.12rem; max-width: 42rem; }
.muted { color: var(--muted); }
.about-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 2.2rem; align-items: start;
}
.portrait img {
  width: 100%; height: 360px; object-fit: cover; object-position: 50% 18%;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(19,19,19,.18);
  border: 4px solid var(--white);
  outline: 2px solid var(--nucleus);
}
.pillars, .band-paper { background: var(--paper); }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.card {
  background: var(--white); padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 10px; border-top: 4px solid var(--green);
  box-shadow: 0 6px 18px rgba(19,19,19,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.card a.card-link {
  margin-top: auto; font-weight: 700; text-decoration: none; color: var(--nucleus);
}
.card a.card-link:hover { color: var(--nucleus-deep); text-decoration: underline; }
.lift:hover, .lift:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(19,19,19,.12);
}
.card h3, .path h3, .story h3 {
  margin: 0; color: var(--nucleus); font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.card p, .path p { margin: 0; }
.involved { position: relative; overflow: hidden; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.path {
  background: var(--white); border: 1px solid var(--line); padding: 1.2rem;
  border-radius: 10px; transition: transform .2s ease, box-shadow .2s ease;
}
.coming {
  background: var(--paper); border-left: 4px solid var(--sky); padding: 1.25rem 1.4rem;
  border-radius: 0 8px 8px 0; max-width: 44rem;
}
.coming strong { display: block; font-size: 1.15rem; margin-bottom: 0.35rem; color: var(--carbon); }
.cta-bar {
  background: linear-gradient(180deg, #004DBA 0%, #003a8c 100%);
  color: var(--white); text-align: center; padding: 2.6rem 0;
}
.cta-bar p { margin: 0 0 1rem; font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; }
.cta-bar .btn-link.primary { color: var(--carbon); }
.story {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
  margin-bottom: 2.75rem;
  scroll-margin-top: 6rem;
}
.story:nth-child(even) { grid-template-columns: 0.95fr 1.05fr; }
.story:nth-child(even) .story-media { order: 2; }
.story-media img {
  width: 100%; height: 280px; object-fit: cover; border-radius: 10px;
  box-shadow: 0 12px 28px rgba(19,19,19,.12);
}
.story .kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); background: rgba(92,218,41,0.12);
  padding: 0.2rem 0.55rem; border-radius: 3px; margin-bottom: 0.55rem;
}
.story p { margin: 0.55rem 0 0; }
.note-line { font-size: 0.92rem; color: var(--muted); }
.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.trust {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.15rem;
}
.trust strong { display: block; color: var(--nucleus); margin-bottom: 0.35rem; }
.contact-panel {
  background: var(--paper); border-radius: 12px; padding: 1.6rem 1.5rem;
  max-width: 36rem;
}
.contact-panel a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact-panel p { margin: 0.4rem 0; }
footer.site {
  background: var(--carbon); color: var(--white); padding: 2rem 0 1.5rem;
}
footer.site a { color: var(--white); }
footer.site a:hover { color: var(--sky); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
.foot-logo img { height: 72px; width: auto; }
.foot-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.foot-nav a { text-decoration: none; font-weight: 600; }
.legal { font-size: 0.85rem; color: #d8d8d8; margin-top: 1.25rem; max-width: 48rem; }
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: var(--carbon); color: var(--white);
  padding: 0.9rem 1rem; display: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.cookie-bar.show { display: block; }
.cookie-inner {
  width: min(var(--max), calc(100% - 0.5rem)); margin-inline: auto;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between;
}
.cookie-bar p { margin: 0; font-size: 0.95rem; max-width: 46rem; }
.cookie-bar a { color: var(--sky); }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  padding: 0.45rem 0.9rem; background: var(--green); color: var(--carbon);
}
.btn.secondary { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn:focus { outline: 2px solid var(--sky); outline-offset: 2px; }
.prose { max-width: 44rem; }
.prose h1 { color: var(--nucleus); }
.prose h2 { text-transform: none; letter-spacing: 0; font-size: 1.25rem; }
.note { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 900px) {
  .cards, .paths, .about-grid, .hero-inner, .story, .story:nth-child(even), .trust-strip {
    grid-template-columns: 1fr;
  }
  .story:nth-child(even) .story-media { order: 0; }
  .menu-btn { display: inline-block; }
  nav {
    display: none; position: absolute; right: 0; top: calc(100% + 0.35rem);
    background: var(--white); border: 1px solid var(--line); padding: 0.75rem 1rem;
    min-width: 14rem; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; }
  .portrait img { height: 280px; }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.75rem;
  align-items: start;
}
.contact-subhead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--nucleus);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form-wrap {
  background: var(--paper);
  border-radius: 12px;
  padding: 1.4rem 1.35rem 1.5rem;
}
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}
.contact-form label {
  font-weight: 700;
  font-size: 0.92rem;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--carbon);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--sky);
  outline-offset: 1px;
}
.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
  background: var(--green);
  color: var(--carbon);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lift, .card, .path { transition: none; }
}

/* Donor / give page mock */
.donor-doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.donor-door {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.5rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 14rem;
}
.donor-door h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--nucleus);
  letter-spacing: -0.01em;
}
.donor-door p { margin: 0; flex: 1; }
.donor-door .door-actions { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.donor-soon {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e8f0fa;
  color: var(--nucleus-deep);
  font-size: 0.85rem;
  font-weight: 700;
}
.donor-pitch {
  max-width: 42rem;
}
.donor-pitch p { margin: 0 0 1rem; font-size: 1.05rem; }
@media (max-width: 720px) {
  .donor-doors { grid-template-columns: 1fr; }
}

/* 2026-10-17: age + privacy notes at signup and contact forms; policy table */
.age-note { font-size: 0.95rem; margin: 0.6rem 0 0; }
.contact-form-wrap .age-note { margin: 0 0 1rem; }
.prose table { border-collapse: collapse; width: 100%; max-width: 42rem; margin: 0.5rem 0 1rem; }
.prose th, .prose td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid #ddd; vertical-align: top; }
