/* ============================================================
   home.css — sections that exist only on the landing page
   Load order: base -> layout -> components -> home -> responsive
   ============================================================ */

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: linear-gradient(160deg, #e8ede6 0%, var(--bg) 50%, #f0ece2 100%);
}
.hero-glow-1 {
  position: absolute;
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(53,109,91,0.1) 0%, transparent 65%);
  top: 30%; left: 35%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,137,30,0.08) 0%, transparent 70%);
  bottom: 5%; right: 5%;
  pointer-events: none;
}
.corner {
  position: absolute;
  width: 44px; height: 44px;
  pointer-events: none;
  opacity: 0.4;
}
.corner-tl { top: 84px; left: 40px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.corner-tr { top: 84px; right: 40px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.corner-bl { bottom: 40px; left: 40px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.corner-br { bottom: 40px; right: 40px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 60px 0;
}
.hero-eyebrow {
  margin-bottom: 28px;
  animation: fadeUp 0.9s ease both;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(68px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.04em;
  color: var(--vg-dark);
  margin-bottom: 32px;
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero-title .line-green { color: var(--vg); }
.hero-title .line-gold  { color: var(--gold); }
.hero-sub {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.3s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* STATIC BANNER */
.static-banner {
  border-top: 1px solid var(--border-mid);
  border-bottom: 1px solid var(--border-mid);
  background: var(--vg-dark);
  position: relative;
  z-index: 1;
  padding: 14px 48px;
}
/* Wraps at every width. The five items need ~1230px in one line; with nowrap
   the strip overflowed between 901 and ~1320px, and since body clips the
   scrollbar the only symptom was the fixed nav sizing to the overflow. */
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 0;
}
.banner-item {
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.banner-item .dot { color: var(--gold-light); margin-right: 6px; }
.banner-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  margin: 0 20px;
}
@media (max-width: 900px) {
  .static-banner { padding: 12px 24px; }
  .banner-sep { display: none; }
  .banner-inner { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
}

/* MISSION */
#mission {
  padding: 120px 0;
  background: var(--surface);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mission-copy p {
  font-family: var(--font-body);
  font-size: var(--fs-lede);
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 22px;
}
.mission-copy p:last-child { margin-bottom: 0; }
.mission-photo {
  position: relative;
}
.mission-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  border: 1px solid var(--border-mid);
}
/* Gold accent corner on the photo */
.mission-photo::before {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 60px; height: 60px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  pointer-events: none;
  z-index: 1;
}
.mission-photo::after {
  content: '';
  position: absolute;
  bottom: -10px; left: -10px;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  pointer-events: none;
}

/* PRODUCTS */
#products {
  padding: 120px 0;
  background: var(--bg);
}
/* In the 2x2 grid each frame is ~486px wide; at the component's 4:3 that is
   365px tall and the section reads as a photo wall. 3:2 keeps it a card.
   `object-fit: cover` on the img means 4:3 assets still work (light crop). */
.card-grid .card-media { aspect-ratio: 3 / 2; }
/* CAPABILITIES */
#capabilities {
  padding: 120px 0;
  background: var(--surface);
}
/* 320/56 rather than 360/80: the six cards share the second column, and at
   the 1116px container that split gives each card ~300px of text width. At
   360/80 it was 270px — 28 mono characters a line, and the grid ran twice
   the height of the intro beside it. */
.cap-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
/* Section-level CTA replaces the per-card "Request a Quote" links that lived
   on the retired service cards. .btn-primary is inline-flex, so margin applies. */
.cap-intro .btn-primary { margin-top: 28px; }
.cap-intro p {
  font-family: var(--font-body);
  font-size: var(--fs-lede);
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.85;
  margin-top: 20px;
}
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-mid);
  border: 1px solid var(--border-mid);
}
.cap-card {
  background: var(--bg);
  padding: 26px 28px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.cap-card:hover {
  border-left-color: var(--vg);
  background: var(--surface);
}
.cap-icon { color: var(--vg); margin-bottom: 10px; }
.cap-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.07em;
  color: var(--vg-dark);
  margin-bottom: 8px;
}
.cap-text {
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.7;
}
/* .card-link carries margin-top: 20px for the product cards; the one
   capability card with a link (SNOW ANGEL) would otherwise set row 1's height. */
.cap-card .card-link { margin-top: 14px; }

/* CONTACT */
#contact {
  padding: 120px 0;
  position: relative;
  /* Clips .contact-glow (700px wide, centered). Without this, at viewports
     narrower than ~700px the glow overflows the document; body's
     overflow-x:hidden hides the scrollbar but mobile browsers still widen the
     LAYOUT viewport to the overflow, and position:fixed elements (nav, drawer)
     size against it — the hamburger ends up off the right edge of the screen.
     .hero clips its glows the same way. */
  overflow: hidden;
  background: var(--bg);
}
.contact-glow {
  position: absolute;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(53,109,91,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-copy p {
  font-family: var(--font-body);
  font-size: var(--fs-lede);
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.85;
  margin: 20px 0 36px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
}
.contact-info-row svg { color: var(--vg); flex-shrink: 0; }
