/* Homepage — editorial layout (not blog card grid) */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-dark);
  line-height: 1.1;
}
.hero-stats div span {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.home-process {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.home-process-grid div {
  padding: 1.15rem .75rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.home-process-grid div:last-child { border-right: 0; }
.home-process-grid strong {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wood-light);
  font-weight: 700;
  margin-bottom: .35rem;
}

.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: none;
  margin-bottom: 2rem;
}
.sec-head-row h2 { max-width: 18ch; }

.showcase-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
}
.showcase-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.showcase-item:hover img { transform: scale(1.04); }
.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(26, 36, 33, .72) 100%);
  pointer-events: none;
}
.showcase-label {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 1;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.showcase-item-hero {
  grid-column: span 2;
  grid-row: span 2;
}

.home-showcase { background: var(--surface); }

.home-feature { background: var(--surface); }
.home-feature-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.home-feature-copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin: .45rem 0 1rem;
}
.home-feature-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 48ch;
}
.home-feature-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.home-feature-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.home-cta {
  background: var(--green-soft);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
}
.home-cta-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.home-cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin: .35rem 0 .65rem;
}
.home-cta-inner p {
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.65;
}
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (min-width: 768px) {
  .showcase-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 160px;
  }
  .home-feature-grid {
    grid-template-columns: 1fr 1.05fr;
  }
  .home-cta-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 640px) {
  .home-process-grid {
    grid-template-columns: 1fr;
  }
  .home-process-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .home-process-grid div:last-child { border-bottom: 0; }
  .service-row-link {
    grid-template-columns: 72px 1fr;
  }
  .service-row-meta {
    grid-column: 2;
    justify-self: start;
    margin-top: -.15rem;
  }
}
