:root {
  --pico-font-size: 105%;
  --brand: #1f6f4a;
  --brand-dark: #174f38;
  --soft: #eef6f1;
  --paper: #fffdf7;
  --ink-muted: #52616b;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #f7fbf8 0%, #fffdf7 42%, #ffffff 100%);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.topbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hero {
  min-height: 92vh;
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 111, 74, .17), transparent 28rem),
    linear-gradient(135deg, #f0f7f2 0%, #fffaf0 100%);
  border-bottom: 1px solid rgba(31, 111, 74, .12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 4rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: .95;
  max-width: 12ch;
}

.lead {
  max-width: 62ch;
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

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

.hero-card {
  padding: .75rem;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(31, 111, 74, .15);
  border-radius: 1.4rem;
  box-shadow: 0 30px 80px rgba(20, 68, 47, .16);
}

.hero-card img,
.rounded,
article img {
  border-radius: 1rem;
}

.hero-card img {
  height: 520px;
}

.hero-card figcaption {
  margin: .8rem .4rem .2rem;
  color: var(--ink-muted);
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.three-cards article,
.bike-types article,
.gear-grid article,
.two-columns article,
.newsletter {
  border: 1px solid rgba(31, 111, 74, .12);
  box-shadow: 0 14px 35px rgba(20, 68, 47, .05);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.split.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, .9fr);
}

.split img {
  min-height: 360px;
  box-shadow: 0 24px 60px rgba(20, 68, 47, .12);
}

.bike-types {
  grid-template-columns: repeat(4, 1fr);
}

.wide-section {
  background: var(--soft);
  border-top: 1px solid rgba(31, 111, 74, .12);
  border-bottom: 1px solid rgba(31, 111, 74, .12);
}

.wide-section.muted {
  background: #f8f4ea;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: start;
  border-left: .35rem solid var(--brand);
}

.timeline span {
  color: var(--brand-dark);
  font-weight: 700;
}

.gear-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .6fr);
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef6f1 100%);
}

.site-footer {
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #112118;
  color: #edf7ef;
}

.site-footer p,
.site-footer a {
  color: #cfe2d4;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split.reverse,
  .newsletter {
    grid-template-columns: 1fr;
  }

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

  .hero-card img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .bike-types,
  .gear-grid,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 2rem;
  }
}
