@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --ink: #172126;
  --muted: #667278;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dfe5df;
  --green: #ff5a00;
  --green-dark: #c94300;
  --coral: #ef6b4d;
  --gold: #f3bd4f;
  --blue: #4f8fbf;
  --shadow: 0 18px 45px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
strong {
  font-weight: 600;
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(5, 22, 29, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  color: white;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  font-size: 1rem;
  font-weight: 550;
  padding: 9px 6px;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #ff7a2f;
}

.nav-links .nav-cta,
.nav-links .nav-cta.active {
  margin-left: 10px;
  border-radius: 6px;
  background: var(--green);
  color: white;
  box-shadow: none;
  padding: 11px 20px;
}

.nav-links .nav-cta:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: white;
  font-weight: 650;
  padding: 12px 18px;
  text-decoration: none;
}

.button.secondary {
  background: var(--ink);
}

.button.light {
  background: white;
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  background:
    linear-gradient(90deg, rgba(10, 27, 25, 0.74), rgba(10, 27, 25, 0.38) 47%, rgba(10, 27, 25, 0.1)),
    url("assets/hero-5k.png") center / cover;
  color: white;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(251, 250, 246, 0), var(--paper));
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 64px 0 104px;
}

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.headline-accent {
  color: var(--green);
}

.hero p,
.page-hero p {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.countdown {
  width: min(650px, 100%);
  margin: 22px 0 28px;
}

.countdown-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 10px;
}

.countdown-grid span {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  padding: 14px 12px;
  backdrop-filter: blur(12px);
}

.countdown-grid strong,
.countdown-grid small {
  display: block;
}

.countdown-grid strong {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1;
}

.countdown-grid small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.hero-actions,
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 32px));
  margin: -84px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.quick-strip div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.quick-strip div:last-child {
  border-right: 0;
}

.fact-icon {
  display: grid;
  flex: 0 0 42px;
  color: var(--green);
  place-items: center;
}

.fact-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.fact-copy {
  display: grid;
  gap: 6px;
}

.fact-copy .value {
  margin-top: 0;
  white-space: nowrap;
}

/* Homepage hero */
.home .site-header {
  position: fixed;
  right: 0;
  left: 0;
  border-bottom-color: rgba(255, 255, 255, 0.22);
  background: rgba(5, 22, 29, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.home .nav {
  width: min(1180px, calc(100% - 48px));
  padding: 20px 0;
}

.home .brand,
.home .nav-links a {
  color: white;
}

.home .brand-logo {
  border-radius: 5px;
}

.home .brand-mark {
  border: 2px solid var(--green);
  background: rgba(10, 27, 25, 0.35);
  color: #ff6a1a;
}

.home .nav-links a:hover {
  color: #ff7a2f;
}

.home .nav-links .nav-cta {
  border-radius: 6px;
  background: var(--green);
  box-shadow: none;
  padding: 11px 20px;
}

.home .hero {
  min-height: max(780px, 100svh);
  background:
    linear-gradient(90deg, rgba(5, 22, 29, 0.96) 0%, rgba(5, 22, 29, 0.78) 31%, rgba(5, 22, 29, 0.34) 59%, rgba(5, 22, 29, 0.08) 100%),
    url("assets/hero-5k.png") center / cover;
}

.home .hero::after {
  display: block;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(251, 250, 246, 0) 0%,
    rgba(251, 250, 246, 0.2) 45%,
    var(--paper) 100%
  );
}

.home .hero-inner {
  align-content: center;
  width: min(1180px, calc(100% - 48px));
  min-height: max(780px, 100svh);
  padding: 130px 0 170px;
}

.home .hero h1 {
  max-width: 680px;
  margin: 26px 0 22px;
  font-size: clamp(3.5rem, 6.2vw, 6rem);
  line-height: 1.05;
}

.home .hero p {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.6;
}

.home .countdown {
  width: min(520px, 100%);
  margin: 12px 0 32px;
}

.home .countdown-grid {
  gap: 0;
}

.home .countdown-grid span {
  min-height: auto;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  background: transparent;
  padding: 0 24px;
  backdrop-filter: none;
}

.home .countdown-grid span:first-child {
  padding-left: 0;
}

.home .countdown-grid span:last-child {
  border-right: 0;
}

.home .countdown-grid strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.home .countdown-grid small {
  color: rgba(255, 255, 255, 0.68);
}

.home .hero-actions {
  gap: 14px;
}

.home .hero-actions .button {
  min-width: 128px;
  min-height: 52px;
  padding: 13px 24px;
}

.home .hero-actions .button.light {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: white;
}

.home .quick-strip {
  width: min(1180px, calc(100% - 48px));
  margin-top: -96px;
  border: 0;
  border-radius: 12px;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

main {
  min-height: 70vh;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.section.compact {
  padding-top: 48px;
}

.section h2,
.section h3 {
  margin: 0 0 16px;
  line-height: 1.05;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.section h3 {
  font-size: 1.35rem;
}

.lead {
  max-width: 780px;
  color: #4c5b61;
  font-size: 1.16rem;
}

.fundraiser-progress {
  display: grid;
  gap: 16px;
  margin: 30px 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
}

.progress-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.progress-copy strong {
  color: var(--green);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
}

.progress-copy span:last-child {
  color: var(--muted);
  font-weight: 600;
}

.progress-track {
  overflow: hidden;
  height: 16px;
  border-radius: 999px;
  background: #e6ece7;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  border-bottom: 0;
  background: var(--paper);
  color: var(--ink);
}

body:not(.home) .page-hero {
  padding-top: 89px;
}

.page-hero::before,
.page-hero::after {
  display: none;
}

.page-hero .section {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 150px;
  place-items: center;
  padding: 0;
}

.page-hero .eyebrow,
.page-hero p {
  display: none;
}

.page-hero h1 {
  margin: 0;
  max-width: min(920px, 92vw);
  font-size: clamp(2.35rem, 4vw, 4.35rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
}

.page-hero h1::after {
  display: block;
  width: 96px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--coral);
  content: "";
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.card.accent {
  border-top: 6px solid var(--coral);
}

.card.gold {
  border-top: 6px solid var(--gold);
}

.card.blue {
  border-top: 6px solid var(--blue);
}

.card.green {
  border-top: 6px solid var(--green);
}

.card p {
  color: #536268;
}

.team-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.about-story {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-story-section {
  padding-top: 44px;
}

.about-story h2,
.team-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section .contact-heading {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.about-story p,
.team-heading p {
  color: #4c5b61;
  font-size: 1.16rem;
}

.about-story a {
  color: var(--green-dark);
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}

.about-points {
  display: grid;
  gap: 14px;
  width: fit-content;
  margin: 28px auto 0;
  padding-left: 24px;
  text-align: left;
}

.about-points li {
  padding-left: 6px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-points li::marker {
  color: var(--green);
}

.about-points strong {
  color: var(--ink);
}

.team-heading {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.team-heading .eyebrow {
  color: var(--green-dark);
}

.team-heading .lead {
  margin-bottom: 0;
}

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

.team-group + .team-group {
  margin-top: 54px;
}

.team-group-title {
  margin-bottom: 22px !important;
  color: var(--ink);
  font-size: 1.65rem !important;
  text-align: center;
}

.team-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
  margin: 0 auto;
}

.team-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 840px;
  margin: 0 auto;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.08);
}

.team-photo {
  display: grid;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 90, 0, 0.2) 0 16%, transparent 16.5%),
    radial-gradient(circle at 50% 95%, rgba(255, 90, 0, 0.16) 0 34%, transparent 34.5%),
    #f0eee8;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  place-items: end center;
  padding: 18px;
  text-transform: uppercase;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-copy {
  padding: 22px;
}

.team-card-copy h3 {
  margin: 0 0 5px;
}

.team-name-link {
  color: inherit;
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}

.team-role {
  display: none;
}

.team-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.team-card-copy .team-partner {
  font-size: 0.88rem;
}

.team-partner a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

.nonprofit-card {
  display: flex;
  flex-direction: column;
}

.logo-frame {
  display: grid;
  width: 100%;
  min-height: 112px;
  margin-bottom: 22px;
  place-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.logo-frame img {
  width: min(230px, 100%);
  max-height: 82px;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.event-details {
  align-items: stretch;
}

.event-panel {
  min-height: 100%;
}

.event-panel h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
}

.event-details .notice {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.details-list li {
  border-left: 4px solid var(--green);
  background: white;
  padding: 16px 18px;
}

.route-panel {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.12), rgba(79, 143, 191, 0.14)),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(23, 33, 38, 0.05) 22px 24px);
  color: #405057;
  font-weight: 600;
  text-align: center;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: #536268;
}

.form-shell {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.contact-form {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: clamp(24px, 5vw, 48px);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
}

.contact-form .form-field:nth-child(4),
.contact-form .button,
.form-success {
  grid-column: 1 / -1;
}

.form-shell input,
.form-shell textarea,
.form-shell select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.form-shell textarea {
  min-height: 140px;
  resize: vertical;
}

.form-shell input:focus,
.form-shell textarea:focus,
.form-shell select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(255, 90, 0, 0.14);
}

.form-success {
  margin: 0;
  color: #23733c;
  font-weight: 600;
  text-align: center;
}

.form-response-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.contact-section {
  width: min(1120px, calc(100% - 32px));
}

.notice {
  border-left: 5px solid var(--coral);
  background: white;
  padding: 20px;
}

.registration-closed {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: clamp(38px, 7vw, 72px);
  box-shadow: var(--shadow);
  text-align: center;
}

.registration-closed h2 {
  margin-top: 18px;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.registration-closed .lead {
  max-width: 590px;
  margin: 0 auto 28px;
}

.registration-closed .action-row {
  justify-content: center;
}

.status-pill {
  display: inline-block;
  border-radius: 999px;
  background: rgba(255, 90, 0, 0.12);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #172126;
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand strong {
  color: white;
  font-size: 1.08rem;
}

.footer-brand span {
  max-width: 460px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-underline-offset: 5px;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .quick-strip,
  .grid,
  .grid.two,
  .split {
    grid-template-columns: 1fr;
  }

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

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

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip div:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .form-field {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    padding: 8px 9px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 60px 0;
  }

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