

/* =========================================================
   Home Page — global reset for full-width layout
   ========================================================= */
body.home {
  overflow-x: hidden;
}

body.home #primary.home-page,
body.home #content.site-content,
body.home .ast-container {
  padding: 0 !important;
  margin-top: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.home .home-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================================
   Hero
   ========================================================= */
.home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2a2a2a;
  display: flex;
  align-items: flex-end;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

.home-hero__stats {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 3.5rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
}

.home-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.home-hero__stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.4);
}

.home-stat-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1px;
}

.home-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   Recent Trip Reports
   ========================================================= */
.home-reports {
  background: var(--color-bg-light);
  padding: 4rem 1.5rem;
}

.home-reports__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-reports__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 2.5rem;
}

.home-reports__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.home-report-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.home-report-card__image img,
.home-report-card__image-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.home-report-card__image-placeholder {
  background: #ddd;
}

.home-report-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.home-report-card__date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.home-report-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.4;
}

.home-report-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-green);
  font-weight: 500;
  margin-top: 0.25rem;
}

.home-reports__footer {
  text-align: center;
  margin-top: 2.5rem;
}

.home-reports__all-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-green);
  text-decoration: none;
  border-bottom: 2px solid var(--color-green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.home-reports__all-link:hover {
  opacity: 0.7;
}

/* =========================================================
   Trails & Routes
   ========================================================= */
.home-trails {
  background: #ffffff;
  padding: 4rem 1.5rem;
}

.home-trails__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-trails__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 2.5rem;
}

.home-trails__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.home-trail-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-trail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.home-trail-card__image img,
.home-trail-card__image-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.home-trail-card__image-placeholder {
  background: #ddd;
}

.home-trail-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.home-trail-card__region {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

.home-trail-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.4;
}

.home-trail-card__date {
  font-size: 0.78rem;
  color: #777;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.home-trail-card__meta {
  display: flex;
  gap: 1.1rem;
  font-size: 0.85rem;
  color: var(--color-green);
  font-weight: 600;
  margin-top: 0.25rem;
}

.home-trails__footer {
  text-align: center;
  margin-top: 2.5rem;
}

.home-trails__all-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-green);
  text-decoration: none;
  border-bottom: 2px solid var(--color-green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.home-trails__all-link:hover {
  opacity: 0.7;
}

/* =========================================================
   Why We Do It
   ========================================================= */
.home-why {
  background: var(--color-bg-light);
  padding: 5rem 1.5rem;
}

.home-why__inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.home-why__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 1.5rem;
}

.home-why__content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

.home-why__content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   About Us
   ========================================================= */
.home-about {
  background: #ffffff;
  padding: 4rem 1.5rem;
}

.home-about__inner {
  max-width: 820px;
  margin: 0 auto;
}

.home-about__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 2.5rem;
}

.home-about__grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.home-person-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.home-person-card__photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 24px 0 24px 0;
  display: block;
}

.home-person-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.home-person-card__bio {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .home-reports__grid,
  .home-trails__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero {
    height: 72vh;
    min-height: 560px;
    background-position: center top;
  }

  .home-hero::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 35%,
      rgba(0, 0, 0, 0.45) 100%
    );
  }

  .home-hero__stats {
    width: 100%;
    bottom: 0;
    gap: 1.5rem;
    justify-content: center;
    padding: 1.35rem 1rem;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
  }

  .home-hero__stat {
    flex: 1;
    min-width: 0;
  }

  .home-hero__stat-divider {
    height: 4rem;
    background: rgba(255, 255, 255, 0.25);
  }

  .home-stats__inner,
  .home-about__grid {
    flex-direction: column;
    align-items: center;
  }

  .home-stat-card,
  .home-person-card {
    max-width: 100%;
    width: 100%;
  }

  .home-stat-value {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
  }

  .home-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .home-person-card__photo {
    width: 240px;
    height: 240px;
  }
}
