:root {
  --navy: #071b31;
  --navy-2: #0b2747;
  --gold: #d89b1d;
  --gold-2: #f4bd3d;
  --ice: #e9f3f8;
  --white: #ffffff;
  --ink: #101418;
  --muted: #5f6973;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f8fa;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 27, 49, 0.94);
  backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 0.95rem;
}

.menu a {
  text-decoration: none;
  opacity: 0.88;
}

.menu a:hover {
  opacity: 1;
  color: var(--gold-2);
}

.menu-button {
  display: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.hero {
  min-height: 82vh;
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/daybreak-cycling-hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 49, 0.92), rgba(7, 27, 49, 0.45) 48%, rgba(7, 27, 49, 0.25)),
    linear-gradient(0deg, rgba(7, 27, 49, 0.42), rgba(7, 27, 49, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 580px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 34px;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(216, 155, 29, 0.28);
}

.button.secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.two-column,
.contact-grid,
.split-callout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.intro p,
.join p,
.contact p,
address p {
  font-size: 1.08rem;
  color: var(--muted);
}

.cards-section {
  background: var(--ice);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(7, 27, 49, 0.08);
  border: 1px solid rgba(7, 27, 49, 0.07);
}

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

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

.dark h2 {
  color: var(--white);
}

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

.standards li {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 18px 20px;
  border-radius: 18px;
}

.join {
  background:
    radial-gradient(circle at 80% 30%, rgba(216,155,29,0.18), transparent 34%),
    linear-gradient(135deg, #f7f8fa, #ffffff);
}

.join-panel {
  background: var(--white);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.join .button.secondary {
  background: var(--navy);
  color: var(--white);
}

.contact {
  background: var(--white);
}

address {
  font-style: normal;
  background: var(--ice);
  border-radius: var(--radius);
  padding: 28px;
}

address a {
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  background: #04101d;
  color: rgba(255,255,255,0.82);
  padding: 28px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    right: 16px;
    top: 74px;
    width: min(280px, calc(100vw - 32px));
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(7, 27, 49, 0.88), rgba(7, 27, 49, 0.25)),
      linear-gradient(90deg, rgba(7, 27, 49, 0.8), rgba(7, 27, 49, 0.2));
  }

  .two-column,
  .contact-grid,
  .split-callout,
  .join-panel {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .hero-content {
    padding: 76px 0;
  }

  .hero-media {
    background-position: 62% center;
  }

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

  .button {
    width: 100%;
  }

  .join-actions {
    width: 100%;
  }
}
