
/*
  VHHA Foundation stylesheet
*/

:root {
  --foundation-green: #217a5b;
  --foundation-green-hover: #165e45;
  --logo-green: #1c9e34;
  --navy: #00107c;
  --rht-blue: #0a5a9a;
  --rht-blue-hover: #084b80;
  --teal: #008080;
  --gray-card: #f3f2f2;
  --ink: #222222;
  --muted: #56616a;
  --border: #e3e8e7;
  --page: #ffffff;
  --light-sage: #f7faf8;
  --container: 1140px;
  --radius: 14px;
  --shadow: 0 16px 46px rgba(6, 44, 35, .085);

  /* Typography — Desktop */
  --font-h1: 48px;
  --font-h2: 38px;
  --font-h3: 26px;
  --font-h4: 21px;
  --font-body-large: 18px;
  --font-body: 16px;
  --font-small: 13px;
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: sans-serif;
  font-size: var(--font-body);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: #c6e6d8;
  color: #12372b;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid #e4a742;
  outline-offset: 4px;
}

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

img {
  height: auto;
}

button {
  font: inherit;
}

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

p {
  margin-bottom: 1.25em;
}

p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4 {
  line-height: 1.16;
  letter-spacing: -.032em;
}

h1 {
  font-size: var(--font-h1);
  font-weight: 800;
}

h2 {
  font-size: var(--font-h2);
  font-weight: 800;
}

h3 {
  font-size: var(--font-h3);
  font-weight: 800;
}

h4 {
  font-size: var(--font-h4);
  font-weight: 800;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 100px;
}

.section-pad-small {
  padding-block: 74px 65px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-sm {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 12px;
  left: 12px;
  transform: translateY(-170%);
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header / responsive menu */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 16, 124, .07);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 5px 27px rgba(14, 51, 51, .09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 99px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 160px;
  background: #fff;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.75vw, 27px);
}

.nav-link {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
  color: #35414b;
  font-weight: 700;
  font-size: var(--font-small);
  text-transform: uppercase;
  letter-spacing: .065em;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--foundation-green);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--foundation-green);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 48px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: var(--font-body);
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
  letter-spacing: .007em;
  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    border-color .22s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--foundation-green);
}

.button-primary:hover {
  background: var(--foundation-green-hover);
  box-shadow: 0 9px 25px rgba(33, 122, 91, .2);
}

.button-outline {
  color: var(--foundation-green);
  border-color: var(--foundation-green);
  background: #fff;
}

.button-outline:hover {
  color: #fff;
  background: var(--foundation-green);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: var(--font-small);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

/* Eyebrows and shared section headings */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
  color: var(--foundation-green);
  font-size: var(--font-small);
  line-height: 1.4;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .2em;
}

.eyebrow-rule {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.eyebrow-centered {
  justify-content: center;
}

.eyebrow-on-dark {
  color: #d8f1e5;
}

.eyebrow-rht {
  color: var(--rht-blue);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-heading-centered {
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 17px;
  color: var(--foundation-green);
}

.section-heading p {
  color: #4e5960;
  font-size: var(--font-body-large);
  line-height: 1.75;
}

/* Foundation hero */

.hero-section {
  overflow: hidden;
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: 24px;
  align-items: center;
  min-height: 590px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 4px 0 44px;
}

.hero-copy h1 {
  max-width: 685px;
  margin-bottom: 27px;
  color: var(--navy);
}

.hero-copy h1 span,
.split-content h2 span {
  color: var(--foundation-green);
}

.hero-copy p {
  max-width: 610px;
  font-size: var(--font-body);
  color: #515b61;
}

.hero-copy p.lead {
  font-size: var(--font-body-large);
  color: #343e45;
}

.hero-copy .button {
  margin-top: 15px;
}

.hero-art {
  display: flex;
  align-items: end;
  justify-content: center;
  align-self: end;
  margin-top: -6px;
}

.hero-art img {
  width: min(100%, 535px);
}

.hero-bottom-border {
  height: 1px;
  background: var(--border);
}

/* Foundation work cards */

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

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 276px;
  padding: 30px 27px 32px;
  background: var(--gray-card);
  border: 1px solid transparent;
  border-radius: 13px;
  color: var(--ink);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    border-color .25s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  background: #fbfdfb;
  border-color: #dce9e2;
  box-shadow: var(--shadow);
}

.work-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--foundation-green);
  background: #e2eee7;
}

.work-icon .icon {
  width: 31px;
  height: 31px;
}

.work-card h3 {
  margin-bottom: 12px;
  color: var(--foundation-green);
  font-size: var(--font-h3);
  letter-spacing: -.012em;
}

.work-card p {
  font-size: var(--font-body);
  line-height: 1.64;
  color: #4d585e;
}

.work-card-link {
  padding-bottom: 55px;
}

.work-card-link .card-arrow {
  position: absolute;
  right: 26px;
  bottom: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  color: var(--foundation-green);
}

.work-card-link:hover .card-arrow {
  transform: translateX(3px);
}

/* Foundation featured RHT program */

.feature-band {
  padding: 88px 0;
  background: var(--foundation-green);
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.feature-logo-panel {
  min-height: 253px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 40px 28px 25px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 53, 34, .19);
}

.feature-logo-panel img {
  width: 100%;
  max-width: 330px;
}

.feature-logo-caption {
  color: #67777b;
  font-size: var(--font-small);
  font-weight: 800;
  letter-spacing: .17em;
}

.feature-copy h2 {
  max-width: 640px;
  margin-bottom: 20px;
  color: #fff;
}

.feature-copy p {
  max-width: 650px;
  margin-bottom: 28px;
  color: #fff;
  font-size: var(--font-body-large);
}

.button-white {
  color: var(--foundation-green-hover);
  background: #fff;
  border-color: #fff;
}

.button-white:hover {
  background: #edf7f2;
  border-color: #edf7f2;
}

/* Image + copy sections */

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(36px, 7vw, 95px);
  align-items: center;
}

.split-photo {
  min-width: 0;
  text-align: center;
}

.split-photo img {
  display: block;
  width: min(100%, 490px);
  margin-inline: auto;
}

.split-content h2 {
  margin-bottom: 23px;
  color: var(--foundation-green);
}

.split-content p {
  color: #4d575c;
  font-size: var(--font-body-large);
}

/* Contact */

.contact-section {
  position: relative;
}

.contact-container {
  max-width: 870px;
  text-align: center;
}

.contact-container h2 {
  color: var(--foundation-green);
  margin-bottom: 35px;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 25px;
  text-align: left;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 28px 29px;
  border: 1px solid #e5ebe8;
  border-radius: 13px;
  background: white;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #e5f2ea;
  color: var(--foundation-green);
}

.contact-icon .icon {
  width: 21px;
  height: 21px;
}

.contact-detail address {
  font-size: var(--font-body);
  font-style: normal;
  line-height: 1.85;
}

.contact-detail strong {
  color: var(--navy);
  font-weight: 800;
}

.contact-detail a {
  color: var(--foundation-green);
  font-weight: 600;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.back-foundation {
  display: inline-block;
  margin-top: 30px;
  color: var(--foundation-green);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.back-foundation:hover {
  color: var(--foundation-green-hover);
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-block: 68px 53px;
}

.footer-brand strong {
  display: inline-block;
  font-weight: 850;
  font-size: var(--font-h4);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.footer-brand strong span {
  display: block;
  font-weight: 450;
  font-size: var(--font-small);
  letter-spacing: .11em;
}

.footer-brand p {
  margin-top: 15px;
  max-width: 230px;
  font-size: var(--font-body-large);
  color: #e0e4f5;
 
}


.footer-brand img {
  width: 160px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--font-body);
}

.footer-links strong {
  margin-bottom: 7px;
  font-size: var(--font-small);
  text-transform: uppercase;
  letter-spacing: .09em;
}

.footer-links a {
  color: #dee5fc;
  font-size: var(--font-body);
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 21px 28px;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: var(--font-small);
  color: #dce3f9;
}

.footer-bottom a{
  font-weight: 700;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* RHT page hero and breadcrumbs */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 24px;
  color: #69787f;
  font-size: var(--font-small);
}

.breadcrumb a {
  color: var(--foundation-green);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span[aria-hidden] {
  color: #a6b1b6;
  font-size: var(--font-body-large);
}

.rht-hero {
  padding-top: 52px;
}

.rht-hero-inner {
  width: min(760px, calc(100% - 64px));
  margin-inline: auto;
  text-align: center;
}

.rht-hero-logo {
  width: min(360px, 100%);
  margin: 0 auto 36px;
}

.rht-hero h1 {
  color: var(--navy);
  font-size: var(--font-h1);
  margin: 0 auto 28px;
}

.rht-hero h1 span {
  color: var(--foundation-green);
}

.rht-hero-inner > p {
  font-size: var(--font-body-large);
  line-height: 1.8;
  color: #4c575e;
  text-align: left;
}

.rht-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 35px;
}

.rht-hero-cta > span {
  font-size: var(--font-body);
  color: #64727b;
}

.button-rht-outline {
  color: var(--rht-blue);
  background: white;
  border-color: var(--rht-blue);
}

.button-rht-outline:hover {
  color: #fff;
  background: var(--rht-blue);
}

.button-rht {
  color: #fff;
  background: var(--rht-blue);
  border-color: var(--rht-blue);
  text-align: center;
}

.button-rht:hover {
  color: #fff;
  background: var(--rht-blue-hover);
  border-color: var(--rht-blue-hover);
}

/* Four RHT initiatives */

.initiatives-section {
  background: var(--gray-card);
}

.page-rht .initiatives-section .section-heading h2 {
  color: var(--navy);
}

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

.initiative-card {
  min-width: 0;
  padding: 28px 22px 30px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #e2e8e7;
  transition: box-shadow .22s ease, transform .22s ease;
}

.initiative-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.initiative-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  width: 53px;
  height: 53px;
  border-radius: 12px;
  color: var(--rht-blue);
  background: #e5f0f8;
}

.initiative-card h3 {
  color: var(--navy);
  font-size: var(--font-h3);
  line-height: 1.27;
  margin-bottom: 13px;
}

.initiative-card p {
  color: #53606a;
  font-size: var(--font-body);
  line-height: 1.65;
}

.initiative-more {
  width: min(780px, 100%);
  margin: 48px auto 0;
  text-align: start;
}

.initiative-more p {
  color: #505c62;
  font-size: var(--font-body);
}

.initiative-more .button {
  margin: auto;
  display: block;
  width: fit-content;
  margin-top: 13px;
}

/* RHT Foundation role */

.split-grid-role {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}

.role-section .split-content h2 {
  font-size: var(--font-h2);
}

.role-photo img {
  width: min(100%, 465px);
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.pill-links a {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 8px 15px;
  border: 1px solid #b8dbca;
  border-radius: 999px;
  color: var(--foundation-green-hover);
  background: #ecf6f0;
  font-size: var(--font-small);
  line-height: 1.25;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.pill-links a:hover {
  color: #fff;
  background: var(--foundation-green);
}

/* RHT funding */

.funding-section {
  background: #fafcfb;
  border-top: 1px solid #eef2f0;
}

.funding-header {
  margin-bottom: 24px;
}

.funding-opportunity {
  padding: 59px 0 65px;
  border-bottom: 1px solid #dfe8e2;
  scroll-margin-top: 120px;
}

.funding-opportunity:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.funding-head {
  width: min(880px, 100%);
  margin: 0 0 27px;
}

.funding-index {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--foundation-green);
  font-size: var(--font-small);
  font-weight: 850;
  letter-spacing: .16em;
}

.funding-head h3 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: var(--font-h3);
}

.funding-head p {
  color: #4d5960;
  font-size: var(--font-body-large);
}

.funding-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.funding-cards-single {
  grid-template-columns: 1fr;
}

.funding-card {
  padding: 31px 33px;
  border: 1px solid #e5ece7;
  border-left: 5px solid var(--foundation-green);
  border-radius: 0 11px 11px 0;
  background: #fff;
  box-shadow: 0 5px 22px rgba(17, 59, 47, .04);
}

.funding-card h4 {
  color: var(--foundation-green-hover);
  font-size: var(--font-h4);
  line-height: 1.42;
  margin-bottom: 19px;
}

.funding-card ul {
  margin: 0;
  padding-left: 23px;
  color: #4e5a61;
}

.funding-card li {
  padding-left: 4px;
  margin-bottom: 11px;
  font-size: var(--font-body);
  line-height: 1.66;
}

.funding-card li::marker {
  color: var(--logo-green);
}

.funding-card li:last-child {
  margin-bottom: 0;
}

.funding-closing {
  max-width: 920px;
  margin-top: 24px;
  font-size: var(--font-body-large);
  font-weight: 600;
  color: #42504a;
}


/* VHHA Foundation - Compact Work Cards */

.work-grid .work-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 14px;
  align-content: start;
  min-height: 0;
  padding: 25px 24px;
}

/* Icon container */
.work-grid .work-icon {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 10px;
  background: #e2eee7;
  color: var(--foundation-green);
}

/* Icon itself */
.work-grid .work-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

/* Title next to icon */
.work-grid .work-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  line-height: 1.25;
}

/* Description below title and icon */
.work-grid .work-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  line-height: 1.6;
}

/* Linked card arrow */
.work-grid .work-card-link {
  padding-bottom: 43px;
}

.work-grid .work-card-link .card-arrow {
  right: 17px;
  bottom: 12px;
}

/* ==========================================
   RHT INITIATIVES - COMPACT CARDS
   ========================================== */

.initiative-grid .initiative-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 14px;
  align-content: start;
  min-height: 0;
  padding: 24px 21px;
}

/* Icon container */
.initiative-grid .initiative-icon {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 10px;
  background: #e5f0f8;
  color: var(--rht-blue);
}

/* Icon itself */
.initiative-grid .initiative-icon .icon {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

/* Title next to icon */
.initiative-grid .initiative-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.25;
  color: var(--navy);
}

/* Description below icon and title */
.initiative-grid .initiative-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  line-height: 1.6;
  color: #53606a;
}

/* Tablet */
@media (max-width: 1100px) {
  .initiative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .initiative-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .initiative-grid .initiative-card {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 12px;
    padding: 20px;
  }

  .initiative-grid .initiative-icon {
    width: 40px;
    height: 40px;
  }

  .initiative-grid .initiative-icon .icon {
    width: 23px;
    height: 23px;
  }

  .initiative-grid .initiative-card h3 {
    font-size: var(--font-h3);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .work-grid .work-card {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 12px;
    padding: 20px;
  }

  .work-grid .work-icon {
    width: 40px;
    height: 40px;
  }

  .work-grid .work-icon .icon {
    width: 23px;
    height: 23px;
  }

  .work-grid .work-card-link {
    padding-bottom: 42px;
  }
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1120px) {
  .primary-nav {
    gap: 15px;
  }

  .brand {
    width: 138px;
  }

  .nav-link {
    font-size: var(--font-small);
  }

  .nav-cta {
    font-size: var(--font-small);
  }

  .hero-grid {
    min-height: 540px;
  }

  .work-card {
    min-height: 297px;
  }
}

@media (max-width: 960px) {
  .section-pad {
    padding-block: 80px;
  }

  .section-pad-small {
    padding-block: 56px 48px;
  }

  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .brand {
    width: 130px;
  }

  .header-inner {
    min-height: 88px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: var(--font-h1);
  }

  .hero-copy p {
    font-size: var(--font-body);
  }

  .hero-copy p.lead {
    font-size: var(--font-body-large);
  }

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

  .work-card {
    min-height: 248px;
  }

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

  .initiative-card {
    min-height: 270px;
  }

  .feature-grid {
    grid-template-columns: minmax(230px, .9fr) minmax(0, 1.1fr);
    gap: 38px;
  }

  .feature-logo-panel {
    min-height: 200px;
  }

  .footer-top {
    gap: 26px;
  }
}

@media (max-width: 800px) {
  .header-inner {
    min-height: 78px;
  }

  .brand {
    width: 120px;
  }

  .menu-toggle {
    position: relative;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #f3f7f4;
    border: 1px solid #dfe8e2;
    border-radius: 8px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: var(--foundation-green);
    transition: transform .22s ease, opacity .22s ease;
  }

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

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

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

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    padding: 12px 24px 26px;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(13, 52, 35, .12);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 15px 3px;
    border-bottom: 1px solid #edf0ef;
    font-size: var(--font-small);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-top: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-copy h1 {
    max-width: 700px;
    font-size: var(--font-h1);
  }

  .hero-copy p {
    max-width: 720px;
  }

  .hero-art {
    width: min(75%, 450px);
    margin: 0 auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-logo-panel {
    width: min(100%, 440px);
    min-height: 210px;
  }

  .split-grid,
  .split-grid-role {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .split-photo {
    order: -1;
  }

  .split-photo img {
    width: min(75%, 400px);
  }

  .split-content {
    max-width: 700px;
  }

  .role-photo img {
    width: min(80%, 400px);
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .rht-hero-inner {
    width: min(760px, calc(100% - 48px));
  }
}

@media (max-width: 600px) {

  /* Only heading font sizes change on mobile */
  :root {
    --font-h1: 38px;
    --font-h2: 30px;
    --font-h3: 23px;
    --font-h4: 20px;
  }

  html {
    scroll-padding-top: 88px;
  }

  .container,
  .rht-hero-inner {
    width: calc(100% - 36px);
  }

  .section-pad {
    padding-block: 57px;
  }

  .section-pad-small {
    padding-block: 43px 35px;
  }

  .eyebrow {
    letter-spacing: .14em;
    margin-bottom: 17px;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
  }

  .hero-art {
    width: min(94%, 430px);
  }

  .button {
    width: 100%;
    padding: 13px 16px;
  }

  .nav-cta {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .work-grid,
  .initiative-grid,
  .funding-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .work-card {
    min-height: auto;
    padding: 25px 24px 27px;
  }

  .work-icon {
    margin-bottom: 18px;
  }

  .work-card-link {
    padding-bottom: 50px;
  }

  .feature-band {
    padding-block: 56px;
  }

  .feature-logo-panel {
    min-height: 185px;
    padding: 25px 22px;
  }

  .split-photo img {
    width: min(94%, 380px);
  }

  .contact-container h2 {
    margin-bottom: 24px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-detail {
    padding: 23px 19px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding-block: 48px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    margin: 0 auto;
  }

    .footer-brand p {
      text-align: center;
      margin: auto;
      margin-top: 20px;
    }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
  }

  .rht-hero {
    padding-top: 40px;
  }

  .rht-hero-logo {
    width: min(320px, 87%);
    margin-bottom: 27px;
  }

  .initiative-card {
    min-height: auto;
    padding: 26px;
  }

  .initiative-icon {
    margin-bottom: 18px;
  }

  .initiative-more {
    margin-top: 30px;
  }

  .pill-links {
    flex-direction: column;
    align-items: stretch;
  }

  .pill-links a {
    justify-content: center;
    min-height: 42px;
    text-align: center;
  }

  .funding-opportunity {
    padding-block: 48px;
  }

  .funding-card {
    padding: 24px 22px;
  }

  .breadcrumb {
    flex-wrap: wrap;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
