/* Bush Riding Routes — landing page. Shares :root + .button from app.css. */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  background: #2c2a24 url("/public/pomona-weekend-gravel.jpg") center 52% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 26, 21, 0.82) 0%,
    rgba(28, 26, 21, 0.25) 48%,
    rgba(28, 26, 21, 0.45) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
  color: var(--cream-panel);
}

.hero__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #e6e0cf;
  margin: 0 0 14px;
}

.hero__title {
  font-family: var(--head-font);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.98;
  margin: 0;
  color: #fff;
}

.hero__intro {
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.55;
  max-width: 30em;
  margin: 22px 0 30px;
  color: #ece6d6;
}

.button--light {
  background: var(--cream-panel);
  color: var(--ink);
  border-color: var(--cream-panel);
}
.button--light:hover {
  background: #fff;
  border-color: #fff;
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--cream-panel);
  border-bottom: 1px solid var(--line);
}
.stats__inner {
  display: flex;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 30px 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border-right: none;
}
.stat__num {
  font-family: var(--head-font);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1;
  color: var(--olive);
}
.stat__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Featured ---------- */
.featured {
  padding: 56px 0 64px;
}
.featured__head {
  font-family: var(--head-font);
  font-weight: 400;
  font-size: 30px;
  margin: 0 0 6px;
}
.featured__sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.route-card {
  display: flex;
  border: 1px solid var(--line);
  background: var(--cream-panel);
  border-radius: 3px;
  overflow: hidden;
}
.route-card__photo {
  width: 42%;
  height: 360px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  background: var(--sage);
}
.route-card__body {
  flex: 1;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}
.route-card__name {
  font-family: var(--head-font);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  margin: 0;
}
.route-card__region {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 6px 0 16px;
}
.route-card__stats {
  display: flex;
  gap: 26px;
  margin-bottom: 14px;
}
.route-card__stats div {
  font-size: 14px;
}
.route-card__stats dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.route-card__stats dd {
  margin: 2px 0 0;
  font-size: 16px;
}
.route-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.route-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-panel);
  padding: 26px 0;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--ink);
}

@media (max-width: 720px) {
  .route-card {
    flex-direction: column;
  }
  .route-card__photo {
    width: 100%;
    height: 220px;
    min-height: 0;
  }
}
