/* ==========================================================================
   HOME.CSS
   Styles unique to index.html.
   ========================================================================== */

.hero {
  min-height: 800px;
  height: 96vh;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 40%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 55%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-copy {
  max-width: 940px;
}

.hero h1 {
  margin: 15px 0 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 8.2vw, 112px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h2 {
  margin: 18px 0 0;
  color: var(--color-orange);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #e5e5e5;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.home-services {
  padding: var(--space-section) 0;
}

.home-services .grid {
  margin-top: 48px;
}

.story {
  padding: var(--space-section) 0;
  background: var(--color-light);
  color: var(--color-ink);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  background: #d8d8d8;
  border-radius: var(--radius-sm);
}

.home-portfolio {
  padding: var(--space-section) 0;
  background: var(--color-black);
}

.portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.portfolio-head .btn {
  flex-shrink: 0;
}

.home-portfolio .portfolio-grid {
  margin-top: 30px;
}

.industries {
  padding: var(--space-section) 0;
  background: var(--color-charcoal);
}

.why-us {
  padding: var(--space-section) 0;
  background: #101010;
}

.why-us .grid {
  margin-top: 44px;
}

.why-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  background: #141414;
  border-radius: var(--radius-sm);
}

.why-card h3 {
  margin-top: 0;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
}

.why-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

/* ---- Responsive: home-specific ---- */
@media (max-width: 980px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-image img {
    min-height: 400px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 640px;
    height: 88vh;
  }

  .hero-content {
    padding-top: var(--header-height-sm);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-services,
  .story,
  .home-portfolio,
  .industries,
  .why-us {
    padding: 72px 0;
  }

  .portfolio-head {
    display: block;
  }

  .portfolio-head .btn {
    margin-top: 26px;
  }
}
