:root {
  --navy: #031326;
  --navy-2: #061d36;
  --ink: #0b1830;
  --gold: #e7a93f;
  --gold-bright: #f6bd54;
  --cream: #fbf7ef;
  --paper: #fffdfa;
  --muted: #59667a;
  --line: rgba(255, 255, 255, 0.24);
  --shadow: 0 18px 40px rgba(2, 13, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 56px);
  color: white;
  background: rgba(3, 15, 29, 0.97);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

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

.brand-mark {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.brand-name {
  display: block;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-line {
  display: block;
  margin-top: 7px;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 28px);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 13px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .donate-link {
  min-width: 96px;
  padding: 13px 22px;
  color: #120d05;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(231, 169, 63, 0.2);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  min-height: min(640px, calc(100vh - 116px));
  display: flex;
  align-items: center;
  padding: clamp(70px, 11vw, 118px) clamp(22px, 5.5vw, 70px);
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 19, 38, 0.94) 0%, rgba(3, 19, 38, 0.66) 34%, rgba(3, 19, 38, 0.1) 72%),
    url("DiversePeopleWatchingSunset.png") center / cover no-repeat;
}

.hero-content {
  width: min(520px, 100%);
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.impact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 500px;
  font-size: clamp(2.65rem, 6vw, 4.75rem);
  line-height: 0.98;
}

.hero h1::after {
  display: block;
  width: 66px;
  height: 3px;
  margin: 28px 0 20px;
  background: var(--gold);
  content: "";
}

.hero p:not(.kicker) {
  max-width: 390px;
  margin: 0 0 28px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.primary-button,
.newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  color: #160f04;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 28px clamp(22px, 5vw, 60px) 30px;
  color: white;
  background: linear-gradient(90deg, #031326, #082747 54%, #031326);
}

.value-item {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.value-item:last-child {
  border-right: 0;
}

.value-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.value-item h2 {
  margin: 10px 0 6px;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
}

.value-item p {
  max-width: 210px;
  margin: 0;
  font-size: 0.92rem;
}

.pillars-section {
  padding: clamp(38px, 5vw, 64px) clamp(20px, 4vw, 40px) 54px;
  background:
    linear-gradient(rgba(255, 253, 250, 0.88), rgba(255, 253, 250, 0.94)),
    url("Texturedbackground.png") center / cover fixed;
}

.section-heading {
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 4px;
  color: #af6c08;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.pillar-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  padding: 0 24px 28px;
  background: var(--paper);
  border: 1px solid rgba(15, 33, 60, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pillar-photo {
  width: calc(100% + 48px);
  height: 170px;
  max-width: none;
  margin: 0 -24px;
  object-fit: cover;
}

.pillar-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: -40px auto 10px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.pillar-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.pillar-card h3 {
  min-height: 58px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--accent);
  font-size: 1.18rem;
  line-height: 1.16;
  text-align: center;
}

.pillar-card p {
  min-height: 70px;
  margin: 8px auto 14px;
  text-align: center;
}

.pillar-card ul {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 19px;
}

.pillar-card li {
  margin: 4px 0;
}

.knowledge {
  --accent: #0c4b99;
}

.community {
  --accent: #598746;
}

.service {
  --accent: #c98216;
}

.future {
  --accent: #5a3d92;
}

.impact {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 28px clamp(20px, 5vw, 60px);
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 19, 38, 0.98), rgba(6, 31, 56, 0.96)),
    url("Texturedbackground.png") center / cover;
}

.impact-lead,
.impact article {
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}

.impact-lead {
  gap: 24px;
  padding-left: 0;
}

.impact-lead img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.impact h2 {
  max-width: 330px;
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  line-height: 1;
}

.impact p {
  margin: 10px 0 0;
}

.impact article {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.impact article:last-child {
  border-right: 0;
}

.impact article img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.impact article h3 {
  margin: 8px 0 0;
  font-size: 1.14rem;
}

.impact article p {
  max-width: 210px;
  font-size: 0.93rem;
}

.impact article a {
  min-width: 130px;
  margin-top: 16px;
  padding: 8px 14px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(280px, 1.8fr);
  gap: 34px;
  padding: 28px clamp(20px, 5vw, 56px) 0;
  color: white;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.compact {
  min-width: 0;
  gap: 12px;
}

.compact .brand-mark {
  width: 60px;
  height: 60px;
}

.compact .brand-name {
  font-size: 1.35rem;
  line-height: 1.05;
}

.compact .brand-line {
  color: white;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.social-links {
  display: flex;
  gap: 28px;
  margin-top: 24px;
}

.social-links a {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: white;
  font-size: 0.83rem;
  font-weight: 900;
}

.footer-links,
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 0.83rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.newsletter p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
}

.newsletter h2,
.newsletter p,
.newsletter label {
  grid-column: 1 / -1;
}

.newsletter p {
  max-width: 370px;
  margin: 0 0 14px;
}

.newsletter label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.newsletter input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 3px 0 0 3px;
}

.newsletter button {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 0 3px 3px 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a + a {
  margin-left: 22px;
}

.page-hero {
  min-height: 390px;
  display: grid;
  align-items: end;
  padding: 96px clamp(22px, 5.5vw, 70px) 58px;
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 19, 38, 0.96), rgba(3, 19, 38, 0.64), rgba(3, 19, 38, 0.24)),
    var(--page-image, url("Texturedbackground.png")) center / cover no-repeat;
}

.page-hero-inner {
  width: min(780px, 100%);
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.content-section {
  padding: clamp(44px, 6vw, 76px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(rgba(255, 253, 250, 0.92), rgba(255, 253, 250, 0.97)),
    url("Texturedbackground.png") center / cover fixed;
}

.content-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.lead-copy {
  max-width: 760px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
  text-align: center;
}

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

.info-card,
.feature-band,
.contact-card,
.resource-row,
.policy-block {
  background: var(--paper);
  border: 1px solid rgba(15, 33, 60, 0.13);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 26px;
}

.info-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
}

.info-card h2,
.feature-band h2,
.contact-card h2,
.resource-row h2,
.policy-block h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.info-card p,
.feature-band p,
.contact-card p,
.resource-row p,
.policy-block p {
  margin: 0;
  color: var(--muted);
}

.info-card ul,
.feature-band ul,
.policy-block ul {
  margin: 14px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.info-card li,
.feature-band li,
.policy-block li {
  margin: 6px 0;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  margin-top: 28px;
  overflow: hidden;
}

.feature-band img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.feature-copy {
  padding: 34px 34px 34px 0;
}

.resource-list {
  display: grid;
  gap: 18px;
}

.resource-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
}

.resource-row img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.contact-card,
.policy-block {
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid rgba(15, 33, 60, 0.22);
  border-radius: 4px;
  background: white;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.policy-stack {
  display: grid;
  gap: 18px;
}

@media (max-width: 1100px) {
  .site-header {
    min-height: 96px;
  }

  .brand-mark {
    width: 68px;
    height: 68px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.78rem;
  }

  .values,
  .pillar-grid,
  .impact,
  .site-footer,
  .info-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-item:nth-child(2n) {
    border-right: 0;
  }

  .value-item:nth-child(n + 3) {
    margin-top: 26px;
  }

  .impact-lead {
    grid-column: 1 / -1;
    padding-bottom: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 84px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-line {
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 22px;
    background: var(--navy);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav .donate-link {
    margin-top: 12px;
    border-bottom: 0;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(3, 19, 38, 0.94) 0%, rgba(3, 19, 38, 0.66) 52%, rgba(3, 19, 38, 0.24) 100%),
      url("DiversePeopleWatchingSunset.png") center / cover no-repeat;
  }

  .values,
  .pillar-grid,
  .impact,
  .site-footer,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .resource-row {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding: 0 24px 28px;
  }

  .resource-row {
    align-items: start;
  }

  .value-item {
    min-height: auto;
    padding: 22px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-item:nth-child(n + 3) {
    margin-top: 0;
  }

  .value-item:last-child {
    border-bottom: 0;
  }

  .pillar-card {
    min-height: auto;
  }

  .pillar-card h3,
  .pillar-card p {
    min-height: auto;
  }

  .impact-lead,
  .impact article {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .impact-lead {
    flex-direction: column;
    align-items: flex-start;
  }

  .impact article:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-copy {
    max-width: 185px;
  }

  .brand-line {
    display: none;
  }

  .hero {
    min-height: 600px;
    padding: 54px 20px;
  }

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

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

  .newsletter input,
  .newsletter button {
    width: 100%;
    border-radius: 3px;
  }

  .newsletter button {
    margin-top: 10px;
  }
}
