/*
 * Services page only.
 * Every rule is scoped under .editorial-page--services so no other
 * page or template is affected.
 */

/* ---------- 1. Hero: white text, readable over the existing image ---------- */
.editorial-page--services .editorial-page__hero {
  background-color: #2a0d13;
}
.editorial-page--services .editorial-page__hero .editorial-page__hero-overlay {
  display: block;
  background: linear-gradient(
    100deg,
    rgba(18, 6, 9, 0.82) 0%,
    rgba(18, 6, 9, 0.62) 45%,
    rgba(18, 6, 9, 0.38) 100%
  );
}
.editorial-page--services .editorial-page__hero h1,
.editorial-page--services .editorial-page__hero .eyebrow,
.editorial-page--services .editorial-page__hero-copy,
.editorial-page--services .editorial-page__hero-copy p,
.editorial-page--services .editorial-page__hero-copy a {
  color: #fff;
}
.editorial-page--services .editorial-page__hero h1 {
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.38);
}
.editorial-page--services .editorial-page__hero .eyebrow {
  opacity: 0.88;
}
.editorial-page--services .editorial-page__hero-copy {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

/* ---------- Shared ticker mechanics ---------- */
.services-ticker {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
.services-ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: services-ticker-scroll 42s linear infinite;
}
.services-ticker:hover .services-ticker__track {
  animation-play-state: paused;
}
.services-ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
@keyframes services-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .services-ticker__track {
    animation: none;
  }
  .services-ticker {
    overflow-x: auto;
  }
}

/* ---------- 2. Industry ticker ---------- */
.services-industry-ticker {
  background: var(--maroon);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px 0;
}
.services-industry-ticker .services-ticker__item {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font:
    700 0.72rem/1.2 Arial,
    sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 26px;
}
.services-industry-ticker a.services-ticker__item:hover,
.services-industry-ticker a.services-ticker__item:focus {
  color: var(--gold);
}
.services-industry-ticker .services-ticker__item::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 26px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- 3. How we work ---------- */
.editorial-page--services .services-how {
  padding: 0 0 58px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
  max-width: 100%;
}
.services-how__grid {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.services-how__aside .section-kicker {
  margin: 0 0 14px;
}
.services-how__rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
}
.services-how__grid h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--maroon);
}
.services-how__body .editorial-rich-text {
  max-width: 100%;
  font-size: 1.06rem;
}
.services-how__body .editorial-rich-text p:first-of-type {
  font-size: 1.16rem;
  color: var(--ink);
}

/* ---------- 4. Four services ---------- */
.editorial-page--services .service-list {
  border-top: 1px solid var(--line);
  margin-top: 46px;
}
.editorial-page--services .service-card {
  padding: 40px 0;
  transition: background-color 0.25s ease;
}
.editorial-page--services .service-card:hover {
  background: rgba(177, 138, 69, 0.06);
}
.editorial-page--services .service-card__number {
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  border-top: 2px solid var(--gold);
  padding-top: 10px;
  width: 46px;
}
.editorial-page--services .service-card h2 {
  color: var(--maroon);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}
.editorial-page--services .service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-page--services .service-card .button-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  border: 1px solid var(--maroon);
  color: var(--maroon);
  font:
    700 0.72rem/1.2 Arial,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.editorial-page--services .service-card .button-link:hover,
.editorial-page--services .service-card .button-link:focus {
  background: var(--maroon);
  color: #fff;
}

/* ---------- 5. Compact scrolling strip ---------- */
.services-marquee {
  margin: 58px 0 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #f6f1ea, #fdfcf9 70%);
}
.services-marquee .services-ticker__track {
  animation-duration: 55s;
}
.services-marquee .services-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 30px;
  white-space: nowrap;
  font: 400 1.15rem/1.3 Georgia, serif;
  color: var(--maroon);
}
.services-marquee .services-ticker__item::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-how__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 640px) {
  .services-industry-ticker {
    padding: 12px 0;
  }
  .services-industry-ticker .services-ticker__item {
    padding: 0 16px;
    font-size: 0.66rem;
  }
  .services-industry-ticker .services-ticker__item::after {
    margin-left: 16px;
  }
  .services-marquee {
    margin-top: 42px;
    padding: 20px 0;
  }
  .services-marquee .services-ticker__item {
    font-size: 1rem;
    padding: 0 18px;
  }
  .editorial-page--services .service-card {
    padding: 28px 0;
  }
  .services-ticker__track {
    animation-duration: 28s;
  }
}

/* ---------- Body spacing with the full-bleed strip in between ---------- */
.editorial-page--services .editorial-page__body {
  padding-bottom: 0;
}
.editorial-page--services .editorial-page__body--cta {
  padding-top: 0;
  padding-bottom: 100px;
}
.editorial-page--services .editorial-cta {
  margin-top: 62px;
}
