:root {
  --soft-gold: #fff0ad;
  --soft-cream: #fffaf0;
}

.home-page {
  background: var(--soft-cream);
}

.home-header nav a {
  padding: 8px 10px;
  border-radius: 999px;
}

.home-header nav a::after {
  display: none;
}

.hero .eyebrow::before,
.hero .eyebrow::after {
  display: none;
}

@media (hover: hover) {
  .home-header nav a:hover {
    background: var(--soft-gold);
    color: var(--navy);
  }
}

.hero {
  margin: 0 18px;
  padding: 90px 8vw 64px;
  border: 0;
  border-radius: 0 0 42px 42px;
  grid-template-columns: 1fr;
  align-items: end;
  justify-items: center;
  background-position: center 12%;
}

.hero-copy {
  width: min(740px, 100%);
}

.hero h1 {
  font-size: clamp(60px, 5.5vw, 88px);
}

.button {
  border-radius: 999px;
  padding: 15px 23px;
  box-shadow: none !important;
}

.button.line {
  border-width: 2px;
}

.impact-ticker {
  margin: 18px 0 0;
  padding: 14px 0;
  overflow: hidden;
  background: var(--gold);
  color: var(--navy);
  font: 900 16px "Barlow Condensed", sans-serif;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  animation: impact-marquee 34s linear infinite;
  will-change: transform;
}

.ticker-set {
  display: flex;
  flex: 0 0 auto;
  min-width: 100vw;
  align-items: center;
  justify-content: space-around;
  gap: clamp(24px, 3vw, 56px);
  padding: 0 clamp(16px, 2vw, 32px);
}

.impact-ticker b {
  font-size: 18px;
}

@keyframes impact-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (hover: hover) {
  .impact-ticker:hover .ticker-track {
    animation-play-state: paused;
  }
}

.welcome,
.guide,
.perks,
.contacts,
.portfolio,
.resources,
.sponsor {
  margin-left: 18px;
  margin-right: 18px;
  border-radius: 36px;
  overflow: hidden;
}

.welcome {
  margin-top: 18px;
  background: #fff;
}

.welcome .letter {
  border: 0;
  border-radius: 28px;
  box-shadow: none;
  transform: none;
}

.guide {
  margin-top: 18px;
  background: var(--soft-gold);
}

.guide-grid article {
  min-height: 260px;
  border: 2px solid var(--navy);
  border-radius: 26px;
  box-shadow: none;
}

.guide-grid span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
}

.perks {
  margin-top: 18px;
  border: 0;
}

.perks-list p:first-child {
  border-top-width: 2px;
}

.contacts {
  margin-top: 18px;
  background: #fff;
}

.contact-grid article {
  border-radius: 26px;
  box-shadow: none;
}

.contact-grid a {
  border-radius: 999px;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 700;
}

.portfolio {
  margin-top: 18px;
  background: var(--gold);
}

.work-card,
.work-card:nth-child(n) {
  border: 2px solid var(--navy);
  border-radius: 26px;
  box-shadow: none;
  transform: none;
}

.resources {
  margin-top: 18px;
  background: #fff;
}

.resource-grid a {
  border: 2px solid var(--navy);
  border-left-width: 2px;
  border-radius: 20px;
  box-shadow: none;
}

@media (hover: hover) {
  .resource-grid a:hover {
    background: var(--gold);
    color: var(--navy);
  }

  .guide-grid article:hover,
  .contact-grid article:hover,
  .work-card:hover,
  .resource-grid a:hover {
    box-shadow: 0 12px 0 rgba(0, 5, 62, 0.12);
  }
}

.sponsor {
  margin-top: 18px;
  margin-bottom: 18px;
  border: 2px solid rgba(0, 5, 62, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

@media (max-width: 800px) {
  .hero,
  .welcome,
  .guide,
  .perks,
  .contacts,
  .portfolio,
  .resources,
  .sponsor {
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 26px;
  }

  .hero {
    padding: 76px 8vw;
    border-radius: 0 0 28px 28px;
    align-items: center;
  }

  .impact-ticker {
    margin-top: 10px;
  }
}

@media (max-width: 520px) {
  .home-header nav a {
    padding: 5px 0;
    border-radius: 0;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero,
  .welcome,
  .guide,
  .perks,
  .contacts,
  .portfolio,
  .resources,
  .sponsor {
    margin-left: 6px;
    margin-right: 6px;
    border-radius: 22px;
  }

  .impact-ticker {
    font-size: 14px;
  }
}
