.services-hero {
  position: relative;
  min-height: clamp(580px, 76vh, 790px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--green);
}

.services-hero-image,
.services-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.services-hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 54% 50%;
}

.services-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 61, 87, 0.82) 0%, rgba(5, 87, 72, 0.69) 52%, rgba(5, 61, 87, 0.46) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent 55%);
}

.services-hero-inner {
  padding-block: clamp(6rem, 12vw, 10rem) clamp(4.5rem, 8vw, 7rem);
}

.services-hero h1 {
  max-width: 1080px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.25rem, 6.4vw, 6.8rem);
  font-weight: 520;
  line-height: 1.01;
  text-wrap: balance;
}

.services-hero h1 em {
  color: #f2c967;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.services-accordion-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--white);
}

.services-directory-intro {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem 4rem;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-intro-copy {
  max-width: 790px;
  margin: 0;
  color: #373733;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.services-directory-intro .button {
  white-space: nowrap;
}

.services-accordion {
  display: grid;
  gap: 1.5rem;
}

.service-accordion-item {
  scroll-margin-top: 92px;
  overflow: hidden;
  border: 1px solid rgba(5, 61, 87, 0.13);
  background: var(--paper);
}

.service-summary {
  position: relative;
  min-height: 390px;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  background: var(--ocean);
}

.service-summary-copy {
  position: relative;
  z-index: 2;
  min-height: 390px;
  max-width: 820px;
  padding: clamp(2.4rem, 5vw, 4.6rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: var(--white);
}

.service-summary h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
  font-weight: 520;
  line-height: 1.03;
  text-wrap: balance;
}

.service-summary-copy > p {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.service-toggle {
  margin-top: 0;
  padding: 0.72rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 0;
  border-bottom: 1px solid #f2c967;
  background: transparent;
  color: var(--white);
  font-weight: 650;
  cursor: pointer;
}

.service-toggle:hover {
  color: #f2c967;
}

.service-toggle:focus-visible {
  outline: 3px solid #f2c967;
  outline-offset: 5px;
}

.toggle-icon {
  width: 1.4rem;
  color: #f2c967;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.service-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

.service-image-band {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--stone);
}

.service-image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 61, 87, 0.9) 0%, rgba(5, 61, 87, 0.72) 48%, rgba(5, 61, 87, 0.38) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 68%);
}

.service-image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3.5px) saturate(0.82);
  transform: scale(1.035);
}

.engagement-image img { object-position: 50% 48%; }
.service-image-blurred img { filter: blur(3.5px) saturate(0.82); }
.strategy-image img { object-position: 44% 50%; }
.learning-image img { object-position: 50% 56%; }

.service-panel {
  padding: clamp(3rem, 6vw, 5rem);
  background: var(--paper);
}

.service-panel-intro {
  max-width: 930px;
  display: grid;
  gap: 0.9rem;
}

.service-panel-intro p {
  margin: 0;
  color: var(--ocean);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.45;
}

.service-detail-grid {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-detail-grid > div {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.78);
}

.service-detail-grid h3 {
  margin-bottom: 1.3rem;
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 0;
}

.service-detail-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-grid li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.65rem;
  border-top: 1px solid var(--line);
}

.service-detail-grid li::before {
  content: "\2197\FE0E";
  position: absolute;
  left: 0;
  color: var(--ochre);
  font-family: Arial, sans-serif;
}

.featured-example {
  margin-top: 1px;
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  background: var(--green);
}

.example-label {
  margin-bottom: 1rem;
  color: var(--ochre);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.featured-example h3 {
  max-width: 850px;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 520;
}

.featured-example p:last-child {
  max-width: 900px;
  margin-bottom: 0;
  color: #e1ece9;
}

.collaboration-note {
  max-width: 870px;
  margin: 2rem 0 0;
  padding-left: 1.3rem;
  border-left: 3px solid var(--ochre);
  color: #3f3d38;
}

.service-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-closing {
  margin-top: 0;
}

.service-closing .contact-inner {
  gap: 2rem;
}

@media (max-width: 850px) {
  .services-directory-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services-directory-intro .button {
    justify-self: start;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .services-hero {
    min-height: 590px;
  }

  .services-hero-image {
    object-position: 59% 50%;
  }

  .services-hero-shade {
    background:
      linear-gradient(180deg, rgba(5, 61, 87, 0.54), rgba(5, 87, 72, 0.84)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent 55%);
  }

  .services-hero-inner {
    padding-block: 7rem 3.5rem;
  }

  .services-hero h1 {
    font-size: clamp(2.75rem, 12.5vw, 4.1rem);
  }

  .services-accordion-section {
    padding-top: 3.5rem;
  }

  .services-directory-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .services-accordion {
    gap: 1rem;
  }

  .service-summary,
  .service-summary-copy {
    min-height: 360px;
  }

  .service-summary-copy {
    padding: 2rem 1.35rem;
  }

  .service-summary h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .service-summary-copy > p {
    margin-bottom: 1.35rem;
  }

  .service-image-band::after {
    background:
      linear-gradient(180deg, rgba(5, 61, 87, 0.42), rgba(5, 61, 87, 0.9)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 68%);
  }

  .service-panel {
    padding: 2.25rem 1.25rem 2.75rem;
  }

  .service-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toggle-icon {
    transition: none;
  }
}
