/* ============================================================
   services.css — Services page styles
   ============================================================ */


/* ----------------------------------------------------------
   Intro section
   ---------------------------------------------------------- */

.services-intro {
  background: var(--color-cream);
}

.services-intro__heading {
  font-family: var(--font-display);
  font-weight: var(--weight-extrabold);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
  max-width: 18ch;
}

.services-intro__cta {
  /* btn--outline handles the styling */
}


/* ----------------------------------------------------------
   Shared service section (Composers + Filmmakers)
   ---------------------------------------------------------- */

.services-section {
  overflow: hidden;
}

/* Full-width heading band at top of each section */
.services-section__heading-wrap {
  overflow: hidden;
  padding-inline: var(--space-page-x);
  padding-top: clamp(3rem, 7vw, 6rem);
  /* heading bleeds off right edge — intentional */
}

.services-section__heading {
  white-space: nowrap;
  /* Matches global section-heading size */
  font-size: clamp(3.5rem, 12vw, 11rem);
  line-height: 0.9;
  margin-bottom: -0.08em; /* pull toward body content below */
}

/* Body: text + image side by side */
.services-section__body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.services-section__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.services-section__text p {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  opacity: 0.85;
  max-width: 44ch;
}

.services-section__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


/* ----------------------------------------------------------
   Composers — Dark slate section
   ---------------------------------------------------------- */

.services-composers {
  background: var(--color-deep-slate);
  color: var(--color-white);
}

.services-composers .services-section__heading {
  color: var(--color-white);
}


/* ----------------------------------------------------------
   Filmmakers — Teal section
   Image is on the LEFT, text on the right
   ---------------------------------------------------------- */

.services-filmmakers {
  background: var(--color-tube-streamer);
  color: var(--color-black-pure);
}

.services-filmmakers .services-section__heading {
  color: var(--color-black-pure);
}

/* Swap column order for filmmakers */
.services-filmmakers .services-section__body {
  grid-template-columns: 1.3fr 1fr;
}


/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 767px) {
  .services-section__body {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* On mobile, image always stacks above text */
  .services-filmmakers .services-section__body {
    grid-template-columns: 1fr;
  }

  .services-filmmakers .services-section__image {
    order: -1;
  }

  .services-section__heading {
    font-size: clamp(2.5rem, 14vw, 5rem);
  }
}

/* Tablet — single column but more spacing */
@media (min-width: 768px) and (max-width: 1099px) {
  .services-section__body {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}
