/* Service-page concept: give the core promise the strongest visual hierarchy. */
.service-overview { grid-column: 1 / -1; width: 100%; }
.overview-heading p { color: var(--brand-blue-dark); font-size: 12px; letter-spacing: .15em; margin: 0 0 12px; font-weight: 700; }
.overview-heading h2 { font-size: clamp(23px,2.5vw,32px) !important; line-height: 1.5; color: var(--brand-ink); margin: 0 0 26px; }
.overview-items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.overview-item { display: block; color: var(--brand-ink); background: var(--brand-surface); border-top: 3px solid var(--brand-blue); transition: background .15s; }
.overview-item:hover, .overview-item:focus-visible { color: var(--brand-ink); background: var(--brand-blue-soft); }
.overview-item:focus-visible { outline: 3px solid var(--brand-blue-dark); outline-offset: 3px; }
.overview-item-copy { position: relative; padding: 24px 24px 30px; }
.overview-number { display: block; font-size: 14px; color: var(--brand-blue-dark); margin-bottom: 18px; }
.overview-item strong { display: block; font-size: clamp(17px,1.65vw,22px); line-height: 1.6; }
.overview-description { display: block; margin-top: 10px; font-size: 15px; color: var(--brand-gray); padding-right: 20px; }
.overview-arrow { position: absolute; bottom: 28px; right: 20px; color: var(--brand-blue-dark); }
.service-offering { scroll-margin-top: 95px; }
.service-offering-content h2 { font-size: clamp(24px,2.5vw,34px) !important; }
.service-offering-content > .service-tagline { font-size: 19px; font-weight: 700; line-height: 1.7; margin: 20px 0 0; }

@media(max-width:1000px) {
  .overview-items { gap: 12px; }
  .overview-item-copy { padding: 20px 16px 28px; }
}
@media(max-width:600px) {
  .overview-items { grid-template-columns: 1fr; gap: 0; }
  .service-overview .overview-item { border-top: 1px solid var(--brand-border); }
  .service-overview .overview-item-copy { display: grid; grid-template-columns: 30px 1fr; padding: 18px 28px 18px 12px; column-gap: 10px; }
  .service-overview .overview-number { grid-row: 1 / 3; margin: 3px 0 0; }
  .service-overview .overview-item strong { font-size: 18px; }
  .service-overview .overview-description { margin-top: 3px; font-size: 14px; }
  .overview-arrow { right: 10px; }
}
.expertise-system-visual { position: relative; min-width: 0; }
.expertise-system-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-bottom: 4px solid var(--brand-blue); }
.expertise-system-visual p { margin: 20px 0 0; color: var(--brand-blue-dark); font-size: 11px; letter-spacing: .14em; }
.expertise-system-visual p span { display: block; color: var(--brand-gray); font-size: 13px; letter-spacing: .04em; margin-top: 8px; }
.services-hero { background: var(--brand-canvas); color: var(--brand-ink); min-height: 0; }
.services-hero::before, .services-hero::after, .services-scroll-cue { display: none; }
.services-hero .services-eyebrow { color: var(--brand-blue-dark); }
.services-hero-inner { grid-template-columns: minmax(0,.95fr) minmax(0,1.3fr); align-items: center; gap: 48px; padding: 140px 0 80px; }
.services-hero-copy h1 { color: var(--brand-ink); font-size: clamp(30px, 3.35vw, 49px) !important; line-height: 1.5 !important; letter-spacing: -.055em; }
.expertise-description { grid-column: 1 / -1; max-width: 900px; padding-top: 32px; border-top: 1px solid var(--brand-border); color: var(--brand-gray); }
.expertise-description p { font-size: 17px; line-height: 2; margin: 0; }
.expertise-description p + p { margin-top: 18px; }
.services-hero-copy h1 span { white-space: nowrap; }
.services-hero-copy h1 .expertise-outcome { text-decoration: underline; text-decoration-color: var(--brand-yellow); text-decoration-thickness: 7px; text-underline-offset: 10px; }
.services-hero-copy > p:last-of-type { color: var(--brand-gray); margin: 32px 0; line-height: 2; font-size: 16px; }
.expertise-link { display: inline-flex; gap: 48px; align-items: center; color: var(--brand-ink); font-weight: 700; border-bottom: 1px solid var(--brand-blue); padding-bottom: 12px; }
.expertise-link span { color: var(--brand-blue-dark); font-size: 24px; }
.expertise-visual { position: relative; height: 440px; }
.expertise-plane { position: absolute; width: 78%; height: 255px; padding: 30px; border: 1px solid var(--brand-border); box-shadow: 0 20px 40px rgba(31,50,60,.06); }
.expertise-plane small { display: block; font-size: 10px; letter-spacing: .16em; font-weight: 700; margin-bottom: 16px; }
.expertise-plane strong { font-size: 32px; color: var(--brand-ink); }
.expertise-plane-design { top: 0; left: 0; background: var(--brand-blue-soft); transform: rotate(-5deg); color: var(--brand-blue-dark); }
.expertise-plane-build { top: 145px; right: 0; background: var(--brand-surface); transform: rotate(5deg); border-top: 5px solid var(--brand-yellow); }
.architecture-nodes { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.architecture-nodes i { height: 22px; border: 1px solid var(--brand-blue); background: var(--brand-surface); }
.engineering-bars { display: grid; gap: 9px; margin-top: 24px; }
.engineering-bars i { height: 7px; width: 80%; background: var(--brand-gray-soft); border-left: 30px solid var(--brand-blue); }
.engineering-bars i:nth-child(2) { width: 65%; margin-left: 18px; }
.engineering-bars i:nth-child(3) { width: 90%; border-left-color: var(--brand-yellow); }
.expertise-caption { position: absolute; top: 415px; width: 100%; text-align: center; font-size: 10px; letter-spacing: .18em; color: var(--brand-blue-dark); }
.expertise-caption span { display: block; font-size: 13px; letter-spacing: .03em; color: var(--brand-gray); margin-top: 8px; }
.services-intro { background: var(--brand-surface); padding: 80px 0; border-top: 1px solid var(--brand-border); }
#services-intro-title { font-size: clamp(30px,3vw,42px); }
.service-offering { min-height: 420px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); margin: 40px 0; }
.service-offering-media { min-height: 360px; }
.service-offering-content { padding: 48px; }
@media(max-width: 1000px) {
  .expertise-system-visual img { height: auto; aspect-ratio: 3 / 2; }
  .services-hero-inner { grid-template-columns: 1fr; padding-top: 120px; gap: 50px; }
  .expertise-visual { width: min(100%,460px); margin: 0 auto 30px; }
  .service-offering { grid-template-columns: minmax(0, 1fr); }
  .service-offering-media, .service-offering-content { min-width: 0; }
  .service-offering-reverse .service-offering-media { order: 0; }
}
@media(max-width: 600px) {
  .services-hero-inner { width: calc(100% - 40px); padding: 108px 0 52px; gap: 32px; }
  .services-hero .services-eyebrow { font-size: 14px; letter-spacing: .12em; margin-bottom: 22px; }
  .services-hero-copy h1 { font-size: clamp(28px,7.8vw,36px) !important; line-height: 1.6 !important; letter-spacing: -.045em; }
  .services-hero-copy h1 .expertise-outcome { text-decoration-thickness: 4px; text-underline-offset: 7px; }
  .services-hero-copy > p:last-of-type { font-size: 17px; line-height: 1.95; margin: 28px 0 0; }
  .expertise-description { padding-top: 28px; }
  .expertise-description p { font-size: 17px; line-height: 1.95; }
  .service-offering-content > p, .service-offering-content li { font-size: 16px; line-height: 1.9; }
  .expertise-visual { height: 390px; }
  .expertise-plane { padding: 22px; height: 225px; }
  .expertise-plane-build { top: 125px; }
  .expertise-caption { top: 365px; }
  .service-offering-media { min-height: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .service-offering-content { padding: 32px 24px; }
}
