:root {
  --foundation-navy: #061b38;
  --foundation-blue: #084879;
  --foundation-blue-dark: #07385e;
  --foundation-orange: #ff7c09;
  --foundation-ink-on-orange: #101c2c;
  --foundation-silver: #c2cfde;
}

/* Show the supplied lettering where the full lockup would be too small to read. */
.foundation-brand-logo {
  display: block;
  position: relative;
  width: clamp(164px, 23vw, 270px);
  aspect-ratio: 8.5 / 1;
  overflow: hidden;
  background: #fff;
}

.foundation-brand-logo img {
  position: absolute;
  top: -3%;
  left: -7.5%;
  width: 115%;
  height: auto;
  max-width: none;
}

.site-header {
  height: 120px;
  border-bottom: 1px solid #dbe3ec;
}

.site-header .foundation-brand-logo {
  width: clamp(180px, 17vw, 232px);
  aspect-ratio: 1536 / 710;
  background: transparent;
}

.site-header .foundation-brand-logo img {
  inset: 0 auto auto 0;
  width: 100%;
  /* Keep the emblem and orange arc. The tagline appears as text in the hero. */
  clip-path: polygon(0 0, 100% 0, 100% 69.5%, 94% 69.5%, 87% 67%, 13% 67%, 6% 69.5%, 0 69.5%);
}

.footer-top .foundation-brand-logo {
  width: clamp(164px, 20vw, 228px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  min-height: 0;
  background: var(--foundation-navy);
}

.hero-copy {
  align-self: center;
  padding: clamp(40px, 4.5vw, 82px) clamp(24px, 3vw, 48px)
    clamp(40px, 4.5vw, 82px) max(7vw, calc((100vw - 1400px) / 2));
}

.hero h1 {
  font-size: clamp(36px, 4.15vw, 72px);
  text-wrap: balance;
}

.hero .actions {
  gap: 16px 26px;
}

.hero-art {
  position: relative;
  inset: auto;
  z-index: 0;
}

.hero-art > img {
  inset: 0;
  filter: none;
}

.hero .eyebrow > span {
  background: var(--foundation-orange);
}

.hero h1 em {
  color: var(--foundation-silver);
}

.hero .button,
.giving .button.light {
  background: var(--foundation-orange);
  color: var(--foundation-ink-on-orange);
}

.hero .button:hover,
.giving .button.light:hover {
  background: #ffa34f;
  color: var(--foundation-ink-on-orange);
}

.nav-give {
  background: var(--foundation-blue);
}

.nav-give:hover {
  background: var(--foundation-blue-dark);
}

.checkout-story-copy .foundation-brand-logo {
  width: min(190px, 100%);
  margin-bottom: 13px;
}

.donation-demo {
  --checkout-accent: var(--foundation-blue);
}

.giving.section {
  display: block;
  padding-block: clamp(44px, 5vw, 72px);
}

.giving-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 14px clamp(24px, 5vw, 72px);
  margin-bottom: clamp(26px, 3vw, 42px);
}

.giving-intro .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.giving-intro h2,
.giving p.giving-summary {
  margin: 0;
}

.giving p.giving-summary {
  max-width: 44ch;
  font-size: 1rem;
}

.giving-options {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  padding-top: 0;
}

.giving-options article {
  display: block;
  min-width: 0;
  margin-top: 0;
  padding-top: 18px;
}

.giving .giving-options p {
  margin-bottom: 0;
}

.giving-options .button.light {
  margin-top: 12px;
}

.giving-options small {
  margin-top: 10px;
  font-size: .75rem;
}

.giving-options .text-link:hover {
  color: var(--foundation-silver);
}

@media (max-width: 800px) {
  .giving-intro,
  .giving-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

.giving-options .text-link {
  font-size: inherit;
  overflow-wrap: anywhere;
}

.scholarship-panel {
  border-top-color: var(--foundation-orange);
}

.hero-gallery-thumbs button[aria-pressed="true"] {
  outline-color: var(--foundation-orange);
}

@media (max-width: 760px) {
  .scholarships {
    row-gap: 32px;
  }

  .site-header {
    height: 92px;
  }

  .site-header .foundation-brand-logo {
    width: clamp(152px, 45vw, 180px);
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    align-self: stretch;
    padding: 36px 6% 28px;
  }

  .hero h1 {
    font-size: clamp(36px, 9.25vw, 68px);
  }

  .hero-art {
    aspect-ratio: 16 / 10;
  }
}
