@font-face {
  font-family: "ABCWalterNeue";
  src: url("https://cdn.prod.website-files.com/68b5d91653ac8e06fdd638e8/68b8b31267ad25118660b47f_ABCWalterNeue-Light.woff2")
    format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #cad6d9;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-strong: #ffffff;
  --text: #15202a;
  --muted: #455460;
  --accent: #123f6d;
  --accent-soft: #244f7b;
  --focus: #0b57d0;
  --shadow: 0 24px 60px rgba(13, 31, 49, 0.12);
  --radius-xl: 2.5rem;
  --radius-lg: 1.5rem;
  --container: 1120px;
  --hero-height: min(35rem, 70vh);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "ABCWalterNeue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

button {
  font: inherit;
}

a,
button,
input,
select,
textarea {
  transition: outline-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.hero {
  position: relative;
  min-height: var(--hero-height);
  background-image: linear-gradient(
      90deg,
      rgba(8, 18, 31, 0.48),
      rgba(8, 18, 31, 0.18)
    ),
    url("https://cdn.prod.website-files.com/68b5d91653ac8e06fdd638e8/68b5d91653ac8e06fdd6392e_grant-hero.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero--home {
  min-height: min(31rem, 64vh);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.14) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: var(--hero-height);
  padding: 1.5rem 0 3rem;
}

.site-nav {
  padding-top: 0.2rem;
  margin-bottom: 1.5rem;
}

.site-nav__bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 1.05rem;
  background: rgba(17, 16, 16, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav__brand img {
  width: 7.5rem;
  height: auto;
}

.site-nav__brand-text {
  font-size: 0.92rem;
  line-height: 1.15;
  font-weight: 600;
}

.site-nav__menu {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-left: auto;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  min-height: 100%;
}

.site-nav__links a,
.site-nav__cta {
  min-height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border-radius: 0;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
}

.site-nav__links a {
  color: #ffffff;
  min-height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-nav__cta {
  background: #ffffff;
  color: #111010;
  flex-shrink: 0;
  border-radius: 1.05rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  background: #e9edf0;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 16, 16, 0.1);
  color: #ffffff;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
}

.hero__text {
  max-width: 46rem;
  color: #ffffff;
}

.hero__text--home {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.section-label {
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.85rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

.page-shell {
  position: relative;
}

.home-intro {
  padding-bottom: 2rem;
}

.home-intro__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}

.home-intro__copy p {
  font-size: 1.08rem;
  color: var(--text);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.grants-stack {
  display: flex;
  flex-direction: column;
}

.grant-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(17rem, 0.9fr);
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(21, 32, 42, 0.18);
}

.grant-list-item:first-child {
  border-top: 1px solid rgba(21, 32, 42, 0.18);
}

.grant-list-item__main h2 {
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  line-height: 1.18;
  font-weight: 500;
}

.grant-list-item__main p {
  max-width: 44rem;
  margin-bottom: 0;
  font-size: 1.04rem;
  color: var(--text);
}

.grant-list-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.grant-list-item__details {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.grant-list-item__details dt {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.grant-list-item__details dd {
  margin: 0.18rem 0 0;
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 700;
}

.grant-list-item__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.2rem;
  border-radius: 0.9rem;
  background: #111010;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
}

.grant-list-item__button:hover,
.grant-list-item__button:focus-visible {
  background: #000000;
}

.intro__grid,
.feature__grid,
.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: start;
}

.intro__headline h2,
.summary h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.intro__content p,
.feature__copy p,
.audience__copy p {
  font-size: 1.18rem;
  color: var(--text);
}

.project-stats {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 0;
}

.project-stats dt {
  font-size: 0.98rem;
  color: var(--muted);
  font-weight: 700;
}

.project-stats dd {
  margin: 0.35rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.2;
  font-weight: 500;
}

.project-stats div:last-child dd {
  font-size: clamp(0.98rem, 1.2vw, 1.2rem);
}

.logos-panel {
  margin: 4rem 0 0;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.topper-image {
  width: 100%;
  height: auto;
}

.feature__copy,
.audience__copy {
  align-self: center;
}

.feature h2,
.audience h2,
.audience h3 {
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.audience h3 {
  margin-top: 2.5rem;
  font-size: 1.2rem;
}

.check-list,
.dot-list {
  padding-left: 1.35rem;
  margin-bottom: 0;
}

.check-list li,
.dot-list li {
  margin-bottom: 0.9rem;
  font-size: 1.12rem;
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card__image--project-export {
  object-position: center center;
}

.media-card--tall {
  min-height: 42rem;
}

.feature .media-card--tall {
  min-height: 28rem;
}

.summary {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.summary__content {
  max-width: 58rem;
  text-align: center;
}

.summary p {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 1.18rem;
  color: var(--muted);
}

.tag-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(18, 63, 109, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.accessibility-controls {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(11, 30, 49, 0.16);
}

.accessibility-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  border: 1px solid rgba(18, 63, 109, 0.2);
  border-radius: 0.85rem;
  background: #ffffff;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
}

.accessibility-btn:hover {
  background: #edf4f8;
}

body.large-text {
  font-size: 18px;
}

body.large-text .hero__lead,
body.large-text .intro__content p,
body.large-text .feature__copy p,
body.large-text .audience__copy p,
body.large-text .summary p,
body.large-text .check-list li,
body.large-text .dot-list li {
  font-size: 1.3rem;
}

body.large-text h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.75rem);
}

body.large-text .intro__headline h2,
body.large-text .summary h2 {
  font-size: clamp(1.95rem, 4vw, 3rem);
}

body.large-text .feature h2,
body.large-text .audience h2,
body.large-text .audience h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
}

body.large-text .project-stats dd {
  font-size: clamp(1.3rem, 2vw, 2rem);
}

body.large-text .project-stats div:last-child dd {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
}

body.high-contrast {
  --bg: #000000;
  --surface: #111111;
  --surface-strong: #000000;
  --text: #ffffff;
  --muted: #f3f3f3;
  --accent: #ffe600;
  --accent-soft: #ffe600;
  --focus: #ffe600;
  --shadow: none;
  background: #000000;
  color: #ffffff;
}

body.high-contrast .hero {
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82),
      rgba(0, 0, 0, 0.72)
    ),
    url("https://cdn.prod.website-files.com/68b5d91653ac8e06fdd638e8/68b5d91653ac8e06fdd6392e_grant-hero.webp");
}

body.high-contrast .site-nav__bar,
body.high-contrast .site-nav__links,
body.high-contrast .site-nav__toggle {
  background: rgba(0, 0, 0, 0.84);
}

body.high-contrast .site-nav__links a,
body.high-contrast .site-nav__brand {
  color: #ffffff;
}

body.high-contrast .site-nav__cta {
  background: #ffffff;
  color: #000000;
}

body.high-contrast .logos-panel,
body.high-contrast .accessibility-controls,
body.high-contrast .accessibility-btn,
body.high-contrast .tag-row span {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

body.high-contrast .grant-list-item {
  border-color: rgba(255, 255, 255, 0.45);
}

body.high-contrast .grant-list-item__details dt {
  color: #f3f3f3;
}

body.high-contrast .grant-list-item__button {
  background: #ffffff;
  color: #000000;
}

body.high-contrast .tag-row span {
  color: #ffe600;
}

body.high-contrast .accessibility-btn:hover {
  background: #1e1e1e;
}

body.high-contrast .media-card {
  border: 2px solid #ffffff;
}

@media (max-width: 900px) {
  .section {
    padding: 3.5rem 0;
  }

  .intro__grid,
  .feature__grid,
  .audience__grid,
  .home-intro__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grant-list-item {
    grid-template-columns: 1fr;
  }

  .hero__text {
    padding-top: 4rem;
  }

  .media-card--tall {
    min-height: 28rem;
  }

  .feature .media-card--tall {
    min-height: 20rem;
  }

  .site-nav__bar {
    position: relative;
    align-items: center;
    padding: 0.7rem 0.85rem;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(17, 16, 16, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .site-nav__menu.is-open {
    display: flex;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .site-nav__links a,
  .site-nav__cta {
    width: 100%;
    justify-content: flex-start;
    padding-left: 1rem;
    padding-right: 1rem;
    min-height: 44px;
    border-radius: 0.9rem;
  }
}

@media (max-width: 640px) {
  :root {
    --hero-height: min(34rem, 82vh);
  }

  .hero__content {
    padding-bottom: 2rem;
  }

  .site-nav__bar {
    padding: 0.65rem 0.75rem;
  }

  .site-nav__brand img {
    width: 6rem;
  }

  .site-nav__brand-text {
    font-size: 0.82rem;
  }

  .hero__lead,
  .intro__content p,
  .feature__copy p,
  .audience__copy p,
  .summary p,
  .check-list li,
  .dot-list li {
    font-size: 1.05rem;
  }

  .project-stats dd {
    font-size: 1.35rem;
  }

  .logos-panel {
    padding: 1rem;
  }

  .accessibility-controls {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.5rem;
  }
}
