/* =================================================================
   Good Bones Digital — Home Page Styles (Tier 2)
   ================================================================= */

@layer components {
  /* --- Home Hero --- */

  .home-hero {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%,
      rgba(0, 0, 0, 0.12) 100%
    );
    pointer-events: none;
  }
  .home-hero .container {
    position: relative;
    z-index: 1;
  }
  .home-hero__logo {
    margin-bottom: var(--space-md);
  }
  .home-hero h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
  }
  .home-hero__tagline {
    font-size: 1.125rem;
    opacity: 0.85;
    margin-bottom: var(--space-xs);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }
  .home-hero__meta {
    font-size: 0.875rem;
    opacity: 0.65;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.03em;
  }
  .home-hero__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
  }

  /* --- Services Overview (truncated to 3) --- */

  .services-overview .services-grid li:nth-child(n + 4) {
    display: none;
  }

  .services-overview__more {
    display: block;
    text-align: center;
    margin-top: var(--space-lg);
  }
  .services-overview__more a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color var(--transition);
  }
  .services-overview__more a:hover {
    color: var(--color-primary-dark);
  }
  .services-overview__more a::after {
    content: " \2192";
  }

  /* --- Responsive: 768px+ --- */

  @media (min-width: 768px) {
    .home-hero h1 {
      font-size: 3.25rem;
    }
    .home-hero__tagline {
      font-size: 1.25rem;
    }
  }

  /* --- Responsive: 1024px+ --- */

  @media (min-width: 1024px) {
    .home-hero {
      padding: var(--space-3xl) 0 var(--space-3xl);
    }
    .home-hero h1 {
      font-size: 4rem;
    }
  }
} /* @layer components */
