/* Shared service-page system: one atmosphere, one section rhythm, one type scale. */
.service-detail {
  --service-rail: rgba(210, 219, 220, .2);
  --service-copy: #b9c1c2;
  --service-ember: #ff8a3d;
  background: #020304;
  color: var(--light);
}

.service-detail .page-hero h1,
.service-detail main h2 {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.service-detail .page-hero h1 {
  max-width: 860px;
  font-size: clamp(3.8rem, 7.15vw, 6.85rem);
  line-height: .92;
}

.service-detail .page-hero,
.service-detail .service-page-section,
.service-detail .content-section,
.service-detail .service-next,
.service-detail .next-page {
  border: 0;
  background: transparent;
  color: var(--light);
}

.service-detail .service-page-section > .container,
.service-detail .content-section > .container,
.service-detail .service-next > .container,
.service-detail .next-page > .container {
  position: relative;
}

.service-detail .service-page-section > .container::before,
.service-detail .content-section > .container::before,
.service-detail .service-next > .container::before,
.service-detail .next-page > .container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--service-rail);
}

.service-detail .service-page-section > .container::after,
.service-detail .content-section > .container::after,
.service-detail .service-next > .container::after,
.service-detail .next-page > .container::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(46px, 5vw, 72px);
  height: 3px;
  background: linear-gradient(90deg, #ff6a00, #ffae75);
  box-shadow: 0 0 16px rgba(255,106,0,.25);
}

.service-detail .eyebrow {
  color: #c7cecf;
  font-size: .75rem;
  letter-spacing: .11em;
}
.service-detail .eyebrow .signal-dot {
  width: 6px;
  height: 6px;
  background: var(--service-ember);
  transform: rotate(45deg);
}

.service-detail .page-intro,
.service-detail .content-heading > p,
.service-detail .service-page-lead > p,
.service-detail .service-scope-copy > p,
.service-detail .deliverables p { color: var(--service-copy); }

.service-detail .content-heading h2,
.service-detail .pricing-panel h2,
.service-detail .deliverables h2,
.service-detail .next-page h2 {
  color: #f1f3f1;
}

.service-detail .service-principles {
  border-color: var(--service-rail);
}
.service-detail .service-principle + .service-principle { border-color: var(--service-rail); }
.service-detail .service-principle::after { opacity: .62; }

/* The websites page previously used a separate light theme. */
.service-websites #foundations .content-heading {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
  align-items: end;
  gap: clamp(38px, 7vw, 105px);
}
.service-websites #foundations .content-heading h2 {
  max-width: 680px;
  font-size: clamp(3rem, 5.2vw, 5rem);
  line-height: .98;
}
.service-websites #foundations .content-heading > p {
  max-width: 470px;
  font-size: 1rem;
  line-height: 1.75;
}
.service-websites #foundations .value-primary { border-color: var(--service-rail); }
.service-websites #foundations .value-primary article { border-color: var(--service-rail); }
.service-websites #foundations .value-primary h3 { color: #f0f2f0; }
.service-websites #foundations .value-primary p { color: var(--service-copy); }
.service-websites #foundations .value-secondary span { color: #b6bec0; }

.service-websites .pricing-panel-page {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 118px);
  padding-block: clamp(72px, 8vw, 118px);
  border: 0;
}
.service-websites .pricing-panel-page > div:last-child {
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid var(--service-rail);
}
.service-websites .pricing-panel-page > div:last-child p {
  color: var(--service-copy);
  font-size: 1rem;
  line-height: 1.8;
}
.service-websites .deliverables {
  padding-block: clamp(72px, 8vw, 118px);
}
.service-websites .deliverables-list { border-color: var(--service-rail); }
.service-websites .deliverables-list li { border-color: var(--service-rail); }
.service-websites .deliverables-list strong { color: #f0f2f0; }
.service-websites .deliverables-list span { color: var(--service-ember); }
.service-websites .next-page .container { padding-block: clamp(58px, 7vw, 92px); }

@media (max-width: 900px) {
  .service-detail .page-hero h1 { font-size: clamp(3.5rem, 11vw, 5.7rem); }
  .service-websites #foundations .content-heading,
  .service-websites .pricing-panel-page { grid-template-columns: minmax(0, 1fr); }
  .service-websites .pricing-panel-page > div:last-child {
    padding: 34px 0 0;
    border-top: 1px solid var(--service-rail);
    border-left: 0;
  }
}

@media (max-width: 650px) {
  .service-detail .page-hero h1 { font-size: clamp(2.9rem, 13vw, 4.2rem); }
  .service-websites #foundations .content-heading h2 { font-size: clamp(2.55rem, 11vw, 3.6rem); }
  .service-websites .pricing-panel-page,
  .service-websites .deliverables { padding-block: 58px; }
}
