/* Services page — only what pages.css does not provide. */

/* Ink tile at the end of the overview grid: light link text on the dark card. */
.v4-card--ink .v4-card__link { color: var(--v4-teal-300); }
a.v4-card--ink:hover { border-color: var(--v4-teal-300); }

/* Service detail rows: icon + kicker + name, then body; "included" list on the right. */
.v4-svc { padding: clamp(24px, 3vw, 36px); }
.v4-svc .v4-split { gap: clamp(24px, 4vw, 56px); }
.v4-svc__intro { display: flex; flex-direction: column; gap: 14px; }
.v4-svc__intro .v4-actions { margin-top: 6px; }
.v4-svc__name { display: flex; align-items: center; gap: 16px; }
.v4-svc__name .v4-card__icon { margin-bottom: 0; }
.v4-svc__name h3 { font-size: 1.375rem; }
.v4-svc__name .v4-card__kicker { margin-bottom: 2px; font-size: .8125rem; font-weight: 700; letter-spacing: 0; text-transform: none; } /* holds CFR citations: keep their case */
.v4-svc__includes { padding: 22px 24px; border-radius: var(--v4-r); background: var(--v4-tint); }
.v4-svc__label { margin-bottom: 14px !important; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-text-3); }

/* Case study results: three figures under each story. */
.v4-results { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--v4-line); }
.v4-results > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; min-width: 0; }
.v4-results dd { margin: 0; font-family: var(--v4-font-display); font-weight: 600; font-size: clamp(1.125rem, 1vw + .9rem, 1.375rem); white-space: nowrap; line-height: 1.1; letter-spacing: -0.01em; color: var(--v4-text); }
.v4-results dt { font-size: .8125rem; line-height: 1.35; color: var(--v4-text-3); }

/* Steps on an ink band: pages.css styles .v4-step p after .v4-section--ink p, leaving it dark-on-dark. */
.v4-section--ink .v4-step p { color: rgba(255, 255, 255, .72); }

/* Phones: the overview tiles become compact rows (icon left) so all eight fit in a couple of screens. */
@media (max-width: 640px) {
    .v4-svc-index .v4-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 14px; padding: 18px; }
    .v4-svc-index .v4-card__icon { grid-row: span 3; margin-bottom: 0; }
    .v4-svc-index .v4-card > :not(.v4-card__icon) { grid-column: 2; }
    .v4-svc-index .v4-card h3 { font-size: 1.0625rem; }
    .v4-svc-index .v4-card p { font-size: .875rem; }
    .v4-svc-index .v4-card > .v4-card__link:last-child { padding-top: 2px; font-size: .875rem; }
    .v4-svc__name h3 { font-size: 1.1875rem; }
}
