:root {
  --red: #b40000;
  --red-dark: #8f0000;
  --blue: #05295c;
  --text: #1d1d1d;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --max-width: 1200px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 860px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 100%),
    url('assets/hero-banner.png') left top / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 40%, rgba(5,41,92,0.15) 100%);
}

.hero-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: min(32vw, 360px);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 5rem 0 4rem;
}

.hero-copy {
  max-width: 560px;
  margin-left: auto;
  text-align: left;
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(5, 41, 92, 0.45);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 span {
  display: inline-block;
  background: var(--red);
  padding: 0.3rem 0.8rem;
  margin-top: 0.6rem;
}

.hero-subtitle {
  margin: 1rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--red);
}

.quick-links a {
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.quick-links a:last-child {
  border-right: 0;
}

.section {
  padding: 5rem 0;
}

.alt {
  background: var(--bg-alt);
}

.intro {
  text-align: center;
}

.intro h2,
.why-running h2,
.donate h2,
#volunteer h2,
#contact h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--red);
}

.tagline {
  display: inline-block;
  margin: 0 0 1.5rem;
  padding: 0.35rem 1rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-section blockquote {
  text-align: center;
}

.quote-section {
  background: var(--navy);
  color: var(--white);
}


.quote-section blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}

.quote-section h2,
.quote-section blockquote {
  color: var(--white);
}

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  color: var(--blue);
}

.card {
  background: var(--white);
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}

.card-wide {
  grid-column: 1 / -1;
}

.card p {
  color: var(--muted);
}

.why-running {
  background:
    linear-gradient(rgba(5, 20, 45, 0.62), rgba(5, 20, 45, 0.62)),
    url('assets/why-running-bg.png') center center / cover no-repeat;
}

.light-text {
  color: #fff;
  text-align: center;
}

.light-text h2 {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.form-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
}

input,
textarea {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.9rem 1rem;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  font: inherit;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 0.95rem 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.btn:hover {
  background: var(--red-dark);
}

.btn-small {
  padding: 0.8rem 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.donate {
  text-align: center;
}

@media (max-width: 900px) {
  .nav-wrap,
  .main-nav,
  .split,
  .grid-3 {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .nav-wrap {
    padding: 1rem 0;
    align-items: flex-start;
  }

  .main-nav {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 540px;
    background-position: left center;
  }

  .hero-content {
    justify-content: center;
    padding-top: 8rem;
  }

  .hero-copy {
    margin: 0;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .quick-links a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero-ribbon {
    width: 220px;
  }

  .hero-copy {
    padding: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}


.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0b2341;
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav .btn {
    margin-top: 0.5rem;
    text-align: center;
  }
}