:root {
  --black: #0a0a0f;
  --navy: #0e1a3a;
  --navy-2: #14245a;
  --orange: #ff6a1a;
  --orange-dark: #e5560a;
  --blue: #2f7cff;
  --bright: #38c6ff;
  --paper: #f5f6fa;
  --muted: #9aa3bd;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--black);
  color: #eef1f8;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .footer-logo {
  font-family: 'Archivo Black', 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.02;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.logo { font-size: 1.35rem; color: #fff; }
.logo span { color: var(--orange); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { font-weight: 600; font-size: 0.95rem; color: #cdd3e6; transition: color 0.2s; }
.nav a:hover { color: #fff; }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
}
.nav-cta:hover { background: var(--orange-dark); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 4rem 6vw;
  background: linear-gradient(120deg, var(--navy) 0%, var(--black) 100%),
    url('https://images.unsplash.com/photo-1476480862126-209bfaa8edc8?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(47, 124, 255, 0.25), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(255, 106, 26, 0.28), transparent 50%);
}
.hero-content { position: relative; max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--bright);
  margin-bottom: 1.2rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(56, 198, 255, 0.4);
  border-radius: 50px;
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); color: #fff; margin-bottom: 1.2rem; }
.hero h1 { background: linear-gradient(90deg, #fff 40%, var(--orange)); -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-size: 1.15rem; color: #d7dcef; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Archivo Black'; font-size: 1.8rem; color: var(--orange); }
.hero-stats span { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, background 0.2s;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { border-color: var(--bright); color: var(--bright); }
.btn.full { width: 100%; text-align: center; }

/* Marquee */
.marquee {
  background: var(--orange);
  color: var(--black);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Archivo Black';
  font-size: 1rem;
  letter-spacing: 1px;
}
.marquee-track { display: inline-flex; animation: scroll 22s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
section { padding: 5.5rem 6vw; }
.section-head { margin-bottom: 2.8rem; }
.tag {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.tag.light { color: var(--bright); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }

/* About */
.about { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.about-text p { color: #cfd6ec; margin-bottom: 1.2rem; font-size: 1.08rem; }
.about-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.about-badges span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600;
}
.about-photo img { border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }

/* Schedule */
.schedule-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.run-card {
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.run-card.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 20px 40px rgba(255, 106, 26, 0.15); }
.run-day { text-transform: uppercase; letter-spacing: 2px; color: var(--bright); font-weight: 700; font-size: 0.9rem; }
.run-time { font-family: 'Archivo Black'; font-size: 2.6rem; color: #fff; margin: 0.3rem 0 0.8rem; }
.run-desc { color: #cfd6ec; margin-bottom: 1.2rem; }
.run-tag { display: inline-block; background: var(--orange); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 0.35rem 0.9rem; border-radius: 50px; }
.run-card:not(.featured) .run-tag { background: var(--blue); }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: center; background: var(--navy); border-radius: 24px; padding: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.08); }
.location-info h3 { font-size: 1.8rem; color: #fff; margin: 0.4rem 0 0.6rem; }
.location-info p { color: #cfd6ec; margin-bottom: 0.5rem; }
.location-note { font-size: 0.95rem; color: var(--muted) !important; margin: 1rem 0 1.5rem !important; }
.map-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Roster */
.roster { background: var(--navy); }
.roster-intro { color: #cfd6ec; max-width: 640px; margin-bottom: 2.5rem; font-size: 1.08rem; }
.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.member-card {
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}
.member-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo Black'; font-size: 1.8rem; color: #fff;
}
.member-name { font-weight: 700; color: #fff; font-size: 1.1rem; }
.member-role { color: var(--muted); font-size: 0.9rem; }
.roster-cta { text-align: center; }

/* Sponsors */
.sponsors-intro { color: #cfd6ec; max-width: 640px; margin-bottom: 2.5rem; font-size: 1.08rem; }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.sponsor-slot {
  height: 120px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600; text-align: center;
}
.sponsor-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(120deg, var(--navy-2), var(--black));
  border: 1px solid var(--orange);
  border-radius: 24px; padding: 2.5rem;
}
.sponsor-cta h3 { font-size: 1.8rem; color: #fff; margin-bottom: 0.6rem; }
.sponsor-cta p { color: #cfd6ec; max-width: 560px; }

/* Join */
.join { background: linear-gradient(135deg, var(--navy) 0%, var(--black) 100%); }
.join-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.join-text h2 { margin-bottom: 1rem; }
.join-text p { color: #cfd6ec; font-size: 1.08rem; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1.1rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  transition: 0.2s;
}
.social-links a:hover { border-color: var(--bright); color: var(--bright); }
.join-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px; padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.join-form label { font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; color: #dbe0f0; }
.join-form input, .join-form select, .join-form textarea {
  font-family: inherit; font-size: 1rem;
  padding: 0.8rem 1rem; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3); color: #fff;
}
.join-form input:focus, .join-form select:focus, .join-form textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; }

/* Contact */
.contact-card {
  background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px; padding: 3rem; text-align: center; max-width: 560px; margin: 0 auto;
}
.contact-card p { color: #cfd6ec; }
.contact-name { font-family: 'Archivo Black'; font-size: 1.4rem; color: #fff !important; margin: 1rem 0 0.4rem; }
.contact-email { color: var(--orange); font-weight: 700; font-size: 1.1rem; }
.contact-email:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--black); text-align: center; padding: 3rem 6vw; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.footer-logo { font-size: 1.4rem; color: #fff; margin-bottom: 0.6rem; }
.footer-logo span { color: var(--orange); }
.site-footer p { color: var(--muted); font-size: 0.9rem; }
.copyright { margin-top: 0.8rem; font-size: 0.82rem; }

/* Responsive */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 62px; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--navy); padding: 1.5rem 2rem; gap: 1.2rem;
    width: 70%; height: calc(100vh - 62px);
    transform: translateX(100%); transition: transform 0.3s;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .about-grid, .location, .join-inner { grid-template-columns: 1fr; }
  .schedule-cards { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-cta { flex-direction: column; text-align: center; }
  .about-photo { order: -1; }
}
