.nonprofit-home .home-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem 0 2rem;
}
.nonprofit-home .home-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 9vw, 7.8rem);
  line-height: 1;
  letter-spacing: .015em;
}
.mud-title {
  color: var(--pink-soft);
  background-color: var(--pink-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='28' viewBox='0 0 36 28'%3E%3Cpath d='M1 2L16 10V18L1 10ZM35 2L20 10V18L35 10Z' fill='%235d183e' fill-opacity='.65'/%3E%3C/svg%3E");
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-logo {
  width: clamp(100px, 15vw, 170px);
  height: auto;
  flex-shrink: 0;
  border-radius: 50%;
}
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}
.home-intro-grid .statement-card > p { margin-top: 0; }
.home-link-list { display: grid; gap: 1rem; }
.home-link-list .button { width: 100%; padding-block: .8rem; text-align: center; }
.home-quick-links h2 { margin-bottom: 1.4rem; }
.home-quick-links { position: sticky; top: 1.25rem; align-self: start; }
.community-photo { margin: 1.5rem 0 0; }
.community-photo img { width: 100%; height: auto; border-radius: 1.1rem; }
.home-support {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.35rem;
}
.home-support .journey-copy { padding: 0; }
.home-support .community-photo { margin: 0; align-self: stretch; position: relative; overflow: hidden; border-radius: 1.1rem; min-height: 18rem; }
.home-support .community-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 700px) {
  .nonprofit-home .home-heading { padding: 2rem 0 1.5rem; gap: .75rem; }
  .nonprofit-home .home-title { font-size: clamp(3.2rem, 10vw, 5rem); }
  .home-logo { width: clamp(85px, 23vw, 130px); }
  .home-intro-grid, .home-support { grid-template-columns: 1fr; gap: 1.2rem; }
  .home-support { margin-top: 1.2rem; }
  .community-photo, .home-support .community-photo { width: min(100%, 22rem); margin: 1.2rem auto 0; }
  .home-support .community-photo { width: min(100%, 18rem); }
  .home-quick-links { position: static; }
  .home-support .community-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (forced-colors: active) {
  .mud-title { background: none; -webkit-text-fill-color: currentColor; }
}

.site-header.main-header.home-header { justify-content: flex-end; min-height: 90px; padding-block: 1.25rem; }
.site-header.main-header.home-header .page-navigation a { font-size: 1.08rem; }
@media (max-width: 640px) {
  .site-header.main-header.home-header { min-height: 84px; padding-block: 1rem; }
  .site-header.main-header.home-header .page-navigation a { font-size: 1rem; }
}
@media (min-width: 701px) and (max-height: 500px) {
  .home-quick-links { position: static; }
}
.home-footer .home-footer-logo { flex: 0 0 auto; line-height: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-banner { position: relative; isolation: isolate; width: 100%; height: 100svh; min-height: 400px; overflow: hidden; background: #080407; display: grid; place-items: center; }
.home-banner::before { content: ''; position: absolute; inset: -3%; z-index: -1; background: linear-gradient(#08040766, #08040799), url('./Assets/banner.png') center / cover; filter: blur(22px); }
.home-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, #05050588, transparent 18%, transparent 88%, #0c060b); }
.home-banner img { width: 100%; height: 100%; object-fit: contain; animation: banner-arrive 360ms ease-out both; }
.site-header.main-header.home-header { position: absolute; top: 0; left: 0; z-index: 5; width: 100%; min-height: 80px; padding: 1rem max(1rem, calc((100vw - 1160px) / 2)); background: linear-gradient(#080407e8, #080407a8); border-bottom: 1px solid #ffffff18; animation: menu-arrive 260ms ease-out 100ms both; }
.nonprofit-home { padding-top: 3rem; }
.home-scroll-ready .nonprofit-home > section, .home-scroll-ready .home-footer { opacity: 0; transform: translateY(10px); transition: opacity 260ms ease-out, transform 300ms ease-out; animation: none; will-change: opacity, transform; }
.home-scroll-ready .nonprofit-home > section.is-visible, .home-scroll-ready .home-footer.is-visible { opacity: 1; transform: none; }
@keyframes banner-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
.home-community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding: 3rem 0 1rem; margin-top: 2rem; border-top: 1px solid var(--line); }
.home-community h2 { margin: .4rem 0 .8rem; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.1; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.calendar-weekdays { text-align: center; color: var(--muted); font-size: .75rem; margin-bottom: .6rem; }
.calendar-days button { position: relative; min-height: 44px; aspect-ratio: 1; padding: 0; border: 1px solid transparent; border-radius: .6rem; background: rgba(255,255,255,.035); color: var(--text); font: inherit; cursor: pointer; transition: background 150ms ease; }
.calendar-days button:hover, .calendar-days button[aria-pressed="true"] { background: rgba(255,20,147,.16); border-color: var(--pink-soft); }
.calendar-days button[aria-current="date"] { color: var(--pink-soft); font-weight: 800; }
.calendar-days .has-event::after { content: ''; position: absolute; bottom: 6px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--pink-soft); }
.calendar-detail { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 2px solid var(--pink-soft); background: rgba(255,255,255,.025); min-height: 10rem; border-radius: 0 .6rem .6rem 0; }
.calendar-detail p { margin: .4rem 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.calendar-detail .calendar-detail-date { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--pink-soft); }
.calendar-detail h3 { margin: .5rem 0; font-family: 'Manrope', sans-serif; font-size: 1rem; line-height: 1.4; }
.sponsor-stage { position: relative; aspect-ratio: 1; width: 100%; border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, #351326, #110c10 75%); }
.sponsor-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .9rem; opacity: 0; transition: opacity 650ms ease; padding: 1rem; text-align: center; }
.sponsor-slide.is-active { opacity: 1; }
.sample-sponsor-mark { color: var(--pink-soft); font-size: clamp(4rem, 8vw, 6rem); line-height: 1; }
.sample-sponsor-name { font-family: 'Dancing Script', cursive; font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 700; }
.sample-sponsor-caption { letter-spacing: .18em; font-size: .65rem; color: var(--muted); }
.sample-sponsor-badge { position: absolute; bottom: 1.2rem; font-size: .6rem; letter-spacing: .16em; color: #c7a8ba; }
.mark-trail { font-family: 'Manrope', sans-serif; font-weight: 800; }
.sponsor-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.sponsor-dots { display: flex; gap: .15rem; }
.sponsor-dots button { width: 32px; height: 36px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.sponsor-dots button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #78616e; }
.sponsor-dots button[aria-pressed="true"]::before { background: var(--pink-soft); }
.home-community button:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 3px; }
@media (max-width: 700px) {
  .home-banner { min-height: 0; }
  .site-header.main-header.home-header { width: 100%; padding: .6rem 1rem; min-height: 76px; }
  .nonprofit-home { padding-top: 1.5rem; }
  .home-community { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2rem; }
  .home-calendar, .home-sponsors { width: 100%; max-width: 28rem; margin-inline: auto; min-width: 0; }
  .calendar-weekdays, .calendar-days { gap: .2rem; }
  .calendar-days button { min-height: 40px; }
  .sponsor-stage { max-width: 24rem; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sponsor-slide, .calendar-days button { transition: none; }
  .home-banner img, .site-header.main-header.home-header { animation: none; }
  .home-scroll-ready .nonprofit-home > section, .home-scroll-ready .home-footer { opacity: 1; transform: none; transition: none; }
}
.home-footer-logo img { width: 64px; height: 64px; border-radius: 50%; }
.home-footer .site-footer-copy { flex: 1; }
.home-footer { gap: 1.25rem; }
.home-footer-logo:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 5px; }
@media (max-width: 640px) {
  .home-footer { flex-direction: row; flex-wrap: wrap; }
  .home-footer-logo img { width: 52px; height: 52px; }
  .home-footer .site-footer-copy { min-width: 0; }
}

.mission-copy h2 { margin: 0 0 1.25rem; color: var(--pink-soft); font-size: clamp(2rem, 4vw, 2.8rem); }
.mission-copy p { margin: 0 0 1.4rem; line-height: 1.85; }
.mission-copy .mission-lead { font-size: 1.12rem; color: var(--text, #fff); font-weight: 500; }
.mission-copy .mission-belief { margin-bottom: 0; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--pink-soft); font-weight: 700; }

/* Original sponsor artwork stays uncropped with a contrasting backdrop. */
.sponsor-slide { pointer-events: none; padding: clamp(1.25rem, 4vw, 2.5rem); }
.sponsor-slide.is-active { pointer-events: auto; }
.sponsor-slide img { width: 100%; height: calc(100% - 3rem); min-height: 0; object-fit: contain; border-radius: 0; }
.sponsor-light { background: #fff; color: #242024; }
.sponsor-dark { background: #171016; color: #fff; }
.sponsor-name { font-size: .82rem; font-weight: 700; line-height: 1.4; }
.sponsor-dots { flex-wrap: wrap; justify-content: center; width: 100%; }
.sponsor-dots button { width: 28px; }
