:root {
  --support-header-height: 76px;
  --support-content-width: 1180px;
  --support-green-1000: #06130c;
  --support-green-950: #08170f;
  --support-green-900: #0c2115;
  --support-green-850: #102a1b;
  --support-gold: #d9ad4e;
  --support-gold-light: #efca74;
  --support-cream: #f5f1e7;
  --support-cream-light: #fbf9f3;
  --support-white: #ffffff;
  --support-ink: #172019;
  --support-muted: #535d54;
  --support-line: #d9d3c6;
}

* {
  box-sizing: border-box;
}

html.support-page-document {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body.support-page {
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--support-cream);
  color: var(--support-ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.support-page .kh-site-header {
  min-height: var(--support-header-height);
}

.support-page-main {
  min-width: 0;
}

.support-frame {
  position: relative;
  scroll-margin-top: 0;
}

.support-shell {
  width: min(
    var(--support-content-width),
    calc(100% - 56px)
  );
  margin: 0 auto;
}

.support-frame__content {
  height: 100%;
  min-height: 0;
  padding: clamp(32px, 5vh, 56px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-kicker {
  margin: 0 0 11px;
  color: #946b20;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.support-heading {
  max-width: 880px;
  margin-bottom: clamp(24px, 3vh, 36px);
}

.support-heading--centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.support-heading h2,
.support-closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.support-heading > p:not(.support-kicker),
.support-closing__copy > p:not(.support-kicker) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--support-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.support-heading--centered > p:not(.support-kicker) {
  margin-right: auto;
  margin-left: auto;
}

.support-heading .support-heading__note {
  margin-top: 7px;
  color: #6a736b;
  font-size: 0.82rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.support-button--gold {
  background: var(--support-gold);
  color: var(--support-green-950);
}

.support-button--outline {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--support-white);
}

.support-button--card {
  width: 100%;
  margin-top: auto;
  padding: 10px 18px;
  border-color: transparent;
  background: var(--support-gold);
  color: var(--support-green-950);
}

/* Support-page link contrast and interaction states */

body.support-page .kh-site-brand,
body.support-page .kh-site-brand:visited {
  color: var(--support-white);
}

body.support-page .kh-site-brand:hover,
body.support-page .kh-site-brand:focus-visible,
body.support-page .kh-site-brand:active {
  color: var(--support-gold-light);
}

body.support-page .kh-site-nav a,
body.support-page .kh-site-nav a:visited {
  color: rgba(255, 255, 255, 0.86);
}

body.support-page .kh-site-nav a:hover,
body.support-page .kh-site-nav a:focus-visible,
body.support-page .kh-site-nav a:active {
  color: var(--support-gold-light);
}

body.support-page .kh-site-nav .kh-site-nav-button,
body.support-page .kh-site-nav .kh-site-nav-button:visited,
body.support-page .kh-site-nav .kh-site-nav-button:hover,
body.support-page .kh-site-nav .kh-site-nav-button:focus-visible,
body.support-page .kh-site-nav .kh-site-nav-button:active {
  background: var(--support-gold);
  color: var(--support-green-950);
}

body.support-page .kh-site-nav .kh-site-nav-button:hover,
body.support-page .kh-site-nav .kh-site-nav-button:focus-visible,
body.support-page .kh-site-nav .kh-site-nav-button:active {
  background: var(--support-gold-light);
}

body.support-page .support-button--card,
body.support-page .support-button--card:visited {
  border-color: transparent;
  background: var(--support-gold);
  color: var(--support-green-950);
}

body.support-page .support-button--card:hover,
body.support-page .support-button--card:focus-visible,
body.support-page .support-button--card:active {
  border-color: transparent;
  background: var(--support-gold-light);
  color: var(--support-green-1000);
}

body.support-page .support-button--gold,
body.support-page .support-button--gold:visited {
  background: var(--support-gold);
  color: var(--support-green-950);
}

body.support-page .support-button--gold:hover,
body.support-page .support-button--gold:focus-visible,
body.support-page .support-button--gold:active {
  background: var(--support-gold-light);
  color: var(--support-green-1000);
}

body.support-page .support-button--outline,
body.support-page .support-button--outline:visited {
  color: var(--support-white);
}

body.support-page .support-button--outline:hover,
body.support-page .support-button--outline:focus-visible,
body.support-page .support-button--outline:active {
  border-color: var(--support-white);
  background: var(--support-white);
  color: var(--support-green-950);
}

.support-button:hover,
.support-button:focus-visible,
.support-participation-card a:hover,
.support-participation-card a:focus-visible {
  filter: brightness(1.08);
}

body.support-page a:focus-visible {
  outline: 3px solid var(--support-gold-light);
  outline-offset: 3px;
}

/* Hero frame */

.support-hero {
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--support-green-950);
  color: var(--support-white);
}

.support-hero__media {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.support-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.support-hero__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 19, 12, 1) 0%,
      rgba(6, 19, 12, 0.98) 34%,
      rgba(6, 19, 12, 0.78) 49%,
      rgba(6, 19, 12, 0.26) 70%,
      rgba(6, 19, 12, 0.05) 100%
    );
}

.support-hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vh, 56px) 0;
}

.support-hero .support-kicker {
  color: var(--support-gold);
}

.support-hero h1 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-wrap: balance;
}

.support-hero__copy {
  width: min(570px, 100%);
  margin-top: 20px;
}

.support-hero__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.58;
}

.support-hero__copy p + p {
  margin-top: 11px;
}

.support-hero .support-actions {
  margin-top: 24px;
}

/* Giving-path cards */

.support-pathways {
  background: var(--support-cream);
}

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

.support-card {
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.2vw, 30px);
  border: 1px solid var(--support-line);
  background: var(--support-white);
  box-shadow: 0 18px 42px rgba(6, 19, 12, 0.10);
}

.support-card__topline {
  min-height: 31px;
  color: #815f21;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.support-card h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.support-card__purpose {
  margin: 14px 0 0;
  color: var(--support-muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.support-card__destination {
  margin-top: 17px;
  padding: 12px 13px;
  border-left: 3px solid var(--support-gold);
  background: #f2ecdf;
}

.support-card__destination strong,
.support-card__destination span {
  display: block;
}

.support-card__destination strong {
  color: #513d19;
  font-size: 0.75rem;
  line-height: 1.35;
}

.support-card__destination span {
  margin-top: 3px;
  color: #665f54;
  font-size: 0.72rem;
  line-height: 1.35;
}

.support-card__clarity {
  margin: 13px 0 17px;
  color: #646c64;
  font-size: 0.76rem;
  line-height: 1.45;
}

/* Participation frame */

.support-participate {
  background: var(--support-white);
}

.support-heading--participate {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  column-gap: 48px;
  max-width: none;
  align-items: end;
}

.support-heading--participate .support-kicker,
.support-heading--participate h2 {
  grid-column: 1;
}

.support-heading--participate > p:not(.support-kicker) {
  grid-column: 2;
  margin-top: 0;
}

.support-heading--participate .support-heading__note {
  margin-top: 6px;
}

.support-needs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--support-line);
  border-left: 1px solid var(--support-line);
  list-style: none;
}

.support-needs li {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-right: 1px solid var(--support-line);
  border-bottom: 1px solid var(--support-line);
  color: #3f4a41;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.support-needs span {
  flex: 0 0 auto;
  color: #8a6522;
  font-size: 0.63rem;
  font-weight: 850;
}

.support-participation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(20px, 2.5vh, 30px);
}

.support-participation-card {
  position: relative;
  min-width: 0;
  padding: 19px 21px;
  border: 1px solid var(--support-line);
  background: var(--support-cream-light);
}

.support-participation-card__number {
  position: absolute;
  top: 18px;
  right: 19px;
  color: #97712b;
  font-size: 0.65rem;
  font-weight: 850;
}

.support-participation-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.support-participation-card p {
  margin: 9px 0 13px;
  color: var(--support-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.support-participation-card a {
  color: #71531d;
  font-size: 0.74rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

/* Trust and closing frame */

.support-closing {
  display: flex;
  flex-direction: column;
  background: var(--support-green-900);
  color: var(--support-white);
}

.support-closing__content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
}

.support-closing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.65fr);
  gap: clamp(38px, 6vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vh, 56px) 0;
}

.support-closing .support-kicker {
  color: var(--support-gold);
}

.support-closing h2 {
  max-width: 760px;
}

.support-closing__copy > p:not(.support-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.support-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.support-trust-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.79rem;
  line-height: 1.4;
}

.support-trust-list li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--support-gold);
  content: "";
}

.support-closing__invitation {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(217, 173, 78, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.support-closing__invitation > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.4;
}

.support-actions--stacked {
  display: grid;
  margin-top: 23px;
}

.support-actions--stacked .support-button {
  width: 100%;
}

.support-footer {
  flex: 0 0 auto;
}

/* Measured desktop frames */

@media (min-width: 1000px) {
  html.support-page-document {
    overflow-y: auto;
    scroll-padding-top: var(--support-header-height);
    scroll-snap-type: y mandatory;
  }

  .support-frame {
    height: calc(100dvh - var(--support-header-height));
    min-height: 0;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* The 1366×768 class of desktop needs a tighter content budget. */

@media (min-width: 1000px) and (max-height: 780px) {
  .support-frame__content,
  .support-hero__content,
  .support-closing__layout {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .support-heading {
    margin-bottom: 18px;
  }

  .support-heading h2,
  .support-closing h2 {
    font-size: clamp(2.35rem, 3.5vw, 3.25rem);
  }

  .support-hero h1 {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
  }

  .support-hero__copy {
    margin-top: 15px;
  }

  .support-hero__copy p {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .support-hero .support-actions {
    margin-top: 18px;
  }

  .support-card {
    min-height: 0;
    padding: 20px 22px;
  }

  .support-card h3 {
    font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  }

  .support-card__purpose {
    margin-top: 10px;
    font-size: 0.83rem;
    line-height: 1.43;
  }

  .support-card__destination {
    margin-top: 11px;
    padding: 9px 11px;
  }

  .support-card__clarity {
    margin: 9px 0 12px;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .support-needs li {
    min-height: 54px;
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  .support-participation-grid {
    gap: 14px;
    margin-top: 18px;
  }

  .support-participation-card {
    padding: 14px 17px;
  }

  .support-participation-card h3 {
    font-size: 1.35rem;
  }

  .support-participation-card p {
    margin: 6px 0 9px;
    font-size: 0.75rem;
    line-height: 1.38;
  }

  .support-trust-list {
    gap: 6px 18px;
    margin-top: 14px;
  }

  .support-trust-list li {
    font-size: 0.71rem;
    line-height: 1.34;
  }

  .support-closing__invitation {
    padding: 22px;
  }

  .support-closing__invitation > p {
    font-size: 1.1rem;
  }
}

/* Natural tablet and mobile flow */

@media (max-width: 999px) {
  html.support-page-document {
    scroll-padding-top: 0;
    scroll-snap-type: none;
  }

  .support-frame {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .support-frame__content {
    height: auto;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .support-hero {
    display: grid;
    min-height: 0;
    overflow: visible;
  }

  .support-hero__media {
    position: relative;
    z-index: 0;
    inset: auto;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .support-hero__overlay {
    display: none;
  }

  .support-hero__content {
    grid-row: 1;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .support-hero h1 {
    max-width: 720px;
    font-size: clamp(3.2rem, 9vw, 5rem);
  }

  .support-card-grid,
  .support-participation-grid {
    grid-template-columns: 1fr;
    width: min(600px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .support-card {
    min-height: 0;
  }

  .support-heading--participate {
    display: block;
  }

  .support-heading--participate > p:not(.support-kicker) {
    margin-top: 16px;
  }

  .support-heading--participate .support-heading__note {
    margin-top: 7px;
  }

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

  .support-participation-grid {
    margin-top: 24px;
  }

  .support-closing {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .support-closing__content {
    min-height: 0;
  }

  .support-closing__layout {
    grid-template-columns: 1fr;
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

  .support-closing__invitation {
    max-width: 620px;
  }

  .support-footer {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  :root {
    --support-header-height: 68px;
  }
}

@media (max-width: 620px) {
  .support-shell {
    width: calc(100% - 38px);
  }

  .support-frame__content,
  .support-hero__content,
  .support-closing__layout {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .support-heading {
    margin-bottom: 24px;
  }

  .support-heading h2,
  .support-closing h2 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .support-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .support-hero__copy p,
  .support-heading > p:not(.support-kicker),
  .support-closing__copy > p:not(.support-kicker) {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .support-hero__media {
    aspect-ratio: 16 / 10;
  }

  .support-actions {
    display: grid;
  }

  .support-button {
    width: 100%;
    min-height: 49px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .support-card-grid {
    gap: 18px;
  }

  .support-card {
    padding: 22px;
  }

  .support-card h3 {
    font-size: clamp(1.55rem, 7vw, 1.8rem);
  }

  .support-needs {
    grid-template-columns: 1fr;
  }

  .support-needs li {
    min-height: 52px;
  }

  .support-participation-grid {
    gap: 18px;
  }

  .support-participation-card {
    padding: 20px;
  }

  .support-closing__layout {
    gap: 30px;
  }

  .support-closing__invitation {
    padding: 22px;
  }
}

@media (min-width: 421px) and (max-width: 620px) {
  .support-frame__content,
  .support-hero__content,
  .support-closing__layout {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .support-hero__media {
    aspect-ratio: 16 / 9;
  }

  .support-card-grid,
  .support-participation-grid {
    gap: 20px;
  }

  .support-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.support-page-document {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .support-page *,
  .support-page *::before,
  .support-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
