/* ==========================================================================
   BANG! Advertising — Services page
   Built from BANG__SERVICES_New_2026_rasterized.psd (1920 x 5880)

   This file EXTENDS css/styles.css — it does not replace it. Load order:
       vendor/bootstrap.min.css
       css/fonts.css
       css/styles.css        <- tokens, header, footer, contact form
       css/services.css      <- this file

   Header, contact form and footer are unchanged from the homepage, so
   nothing for them is repeated here. Only three new blocks live below:
   the shorter page hero, the centred intro band, and the phase bands.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PAGE HERO
   Shorter than the homepage hero (741px vs 887px) and carries a grey eyebrow
   above a three-line headline.
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  min-height: 741px;
  display: flex;
  align-items: center;
  background-color: var(--white);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-image: url("../img/svc-hero.jpg");
  background-size: cover;
  background-position: center right;
  z-index: 0;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    #fff 0%,
    #fff 20%,
    rgba(255, 255, 255, 0.88) 31%,
    rgba(255, 255, 255, 0) 50%
  );
}

.page-hero .bang-container {
  position: relative;
  z-index: 1;
}

.page-hero__inner {
  max-width: 640px;
  padding: 60px 0;
}

.page-hero__eyebrow {
  font-size: var(--fs-page-eyebrow);
  font-weight: 400;
  color: var(--grey-text);
  line-height: 1;
  margin: 0 0 34px;
}

.page-hero__title {
  font-size: var(--fs-page-hero);
  line-height: 0.96;
  margin: 0;
}
.page-hero__title .accent {
  color: var(--red);
}

.page-hero__rule {
  width: 239px;
  height: 6px;
  background: var(--red);
  margin: 40px 0 34px;
  border: 0;
  opacity: 1;
}

.page-hero__copy {
  font-size: var(--fs-page-hero-copy);
  line-height: 1.25;
  margin: 0;
  max-width: 19ch;
}

/* Current page marker in the shared nav */
.main-nav .dropdown-toggle.is-current {
  color: var(--red);
}
.main-nav .dropdown-toggle.is-current .underline {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   2. INTRO BAND
   Same centred rhythm as the homepage "What We Do", on the grey ground.
   -------------------------------------------------------------------------- */

.intro-band {
  background: var(--grey-100);
  padding: 110px 0 133px;
  text-align: center;
}
.intro-band .eyebrow {
  margin-bottom: 62px;
}
.intro-band .lead-bold {
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 24px;
}
.intro-band .lead-text {
  max-width: 68ch;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   3. PHASE BANDS (Plan / Produce / Execute)
   Full-bleed panel: a colour-filled aside bleeding to the left viewport edge,
   and a three-card grid on the grey ground beside it. Separated by a 24px
   white gutter, exactly as the comp stacks them.
   -------------------------------------------------------------------------- */

.phase-band {
  background: var(--white);
  padding-top: 24px;
}

.phase-band__panel {
  display: grid;
  grid-template-columns: minmax(320px, 25.7%) 1fr;
  background: var(--grey-100);
  align-items: stretch;
}

.phase-band__aside {
  color: var(--white);
  padding: 122px 30px 60px 56px;
  align-self: stretch;
}

.phase-band--plan .phase-band__aside,
.phase-band--execute .phase-band__aside {
  background: var(--red);
}
.phase-band--produce .phase-band__aside {
  background: var(--black);
}

.phase-band__title {
  font-size: var(--fs-band-title);
  line-height: 0.9;
  margin: 0 0 58px;
}

.phase-band__kicker {
  font-size: var(--fs-band-copy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 32px;
  max-width: 14ch;
}

.phase-band__rule {
  width: 209px;
  max-width: 100%;
  height: 3px;
  background: var(--white);
  border: 0;
  opacity: 1;
  margin: 0 0 40px;
}

.phase-band__copy {
  font-size: var(--fs-band-copy);
  line-height: 1.2;
  margin: 0;
  max-width: 17ch;
}

/* Card grid ---------------------------------------------------------------- */

.phase-band__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding: 51px 52px 135px 40px;
  align-items: start;
}

.service-card__media {
  position: relative;
}

.service-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 415 / 484;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover .service-card__img {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

/* Numbered stamp straddling the foot of the photo */
.service-card__stamp {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -18px 0 0 7px;
  position: relative;
  z-index: 1;
}
.service-card__stamp img {
  width: 114px;
  height: 114px;
  flex: none;
}

.service-card__num {
  font-size: var(--fs-card-num);
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  transform: translateY(7px);
}

.service-card__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1.15;
  margin: 27px 0 14px;
}

.service-card__copy {
  font-size: var(--fs-card-copy);
  line-height: 1.25;
  margin: 0;
}
.service-card__copy a {
  font-weight: 700;
  color: var(--red);
}
.service-card__copy a:hover,
.service-card__copy a:focus-visible {
  color: var(--black);
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE
   Mirrors the breakpoints already set in styles.css.
   -------------------------------------------------------------------------- */

@media (max-width: 1600px) {
  .page-hero {
    min-height: 620px;
  }
  .phase-band__aside {
    padding: 90px 26px 50px 40px;
  }
  .phase-band__cards {
    gap: 34px;
    padding: 44px 40px 100px 34px;
  }
}

@media (max-width: 1299px) {
  .page-hero {
    min-height: 540px;
  }
  .page-hero__inner {
    max-width: 520px;
  }
  .phase-band__panel {
    grid-template-columns: minmax(280px, 30%) 1fr;
  }
  .phase-band__cards {
    gap: 26px;
    padding: 36px 30px 70px 28px;
  }
  .phase-band__kicker,
  .phase-band__copy {
    max-width: none;
  }
  .service-card__stamp img {
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 991.98px) {
  .page-hero {
    min-height: 0;
  }
  .page-hero__media {
    background-position: 70% center;
  }
  /* Vertical scrim on small screens: the copy sits over the top of the
     photo here, and the banner artwork behind it is high-contrast. */
  .page-hero__media::after {
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 66%,
      rgba(255, 255, 255, 0.72) 76%,
      rgba(255, 255, 255, 0.12) 90%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  .page-hero__inner {
    max-width: 100%;
    padding: 60px 0 220px;
  }

  .intro-band {
    padding: 66px 0 72px;
  }

  /* Aside stacks above its cards */
  .phase-band__panel {
    grid-template-columns: 1fr;
  }
  .phase-band__aside {
    padding: 54px var(--gutter) 50px;
  }
  .phase-band__title {
    margin-bottom: 30px;
  }
  .phase-band__rule {
    margin-bottom: 28px;
  }
  .phase-band__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
    padding: 46px var(--gutter) 60px;
  }
}

@media (max-width: 575.98px) {
  .page-hero__inner {
    padding: 44px 0 180px;
  }
  .page-hero__rule {
    width: 160px;
    height: 5px;
    margin: 26px 0 24px;
  }
  .page-hero__copy {
    max-width: none;
  }

  .phase-band__cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-card__stamp img {
    width: 76px;
    height: 76px;
  }
}

/* Client update: mobile hero image first, then copy. Desktop remains unchanged. */
@media (max-width:575.98px){
  .page-hero{display:block;min-height:0;background:#fff}
  .page-hero__media{position:relative;inset:auto;display:block;width:100%;height:52vw;min-height:230px;max-height:390px;background-size:cover;background-position:center}
  .page-hero__media::after{background:rgba(255,255,255,.12)}
  .page-hero .bang-container{min-height:0;display:block}
  .page-hero__inner{width:100%;padding:44px 0 58px}
}
