/**
 * Service pages (page-service.php). Classes keep the approved design's svc- and
 * st- prefixes; everything sits under .svc and loads only on that template.
 */

.svc {
    --design-ink: var(--msc-primary, #25285F);
    --accent: var(--msc-cobalt, #004aad);
    --design-accent-on-ink: var(--msc-pale-blue, #c2dcff);
    --radius: 0px;
    --font-heading: 'Barlow Condensed', Arial, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;

    --svc-ink-deep: color-mix(in srgb, var(--design-ink) 82%, #000);
    --svc-tint: color-mix(in srgb, var(--accent) 8%, #fff);
    --svc-line-light: color-mix(in srgb, var(--design-ink) 16%, #fff);
    --svc-line-dark: color-mix(in srgb, var(--design-accent-on-ink) 30%, var(--design-ink));

    --svc-maxw: var(--msc-content-max-width, 1208px);
    --svc-space: clamp(80px, 8.5vw, 136px);
    --svc-gap: clamp(32px, 5vw, 88px);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.svc *,
.svc *::before,
.svc *::after {
    box-sizing: border-box;
}

.svc img {
    display: block;
    max-width: 100%;
    height: auto;
}

.svc :where(h1, h2, h3, p, blockquote, figure, ul, ol) {
    margin: 0;
    padding: 0;
}

.svc-wrap {
    width: 80%;
    max-width: var(--svc-maxw);
    margin: 0 auto;
}

@media (max-width: 700px) {
    .svc-wrap {
        width: auto;
        margin: 0 20px;
    }
}

.svc-band {
    padding: var(--svc-space) 0;
}

/* Surfaces. Each re-points the tokens its content reads. */
.svc [data-surface] {
    position: relative;
    color: var(--s-body);
    background: var(--s-bg);
}

.svc [data-surface="light"] {
    --s-bg: #fff;
    --s-heading: var(--design-ink);
    --s-body: #4a4a4a;
    --s-muted: #5b5e6e;
    --s-line: var(--svc-line-light);
    --s-link: var(--accent);
    --s-btn-bg: var(--accent);
    --s-btn-fg: #fff;
    --s-btn-hover: color-mix(in srgb, var(--accent) 78%, #000);
    --s-focus: var(--accent);
    --s-accent: var(--accent);
}

.svc [data-surface="tint"] {
    --s-bg: var(--svc-tint);
    --s-heading: var(--design-ink);
    --s-body: #43465a;
    --s-muted: #52566b;
    --s-line: color-mix(in srgb, var(--design-ink) 20%, #fff);
    --s-link: color-mix(in srgb, var(--accent) 85%, #000);
    --s-btn-bg: var(--accent);
    --s-btn-fg: #fff;
    --s-btn-hover: color-mix(in srgb, var(--accent) 78%, #000);
    --s-focus: var(--accent);
    --s-accent: var(--accent);
}

.svc [data-surface="dark"],
.svc [data-surface="image"] {
    --s-bg: var(--design-ink);
    --s-heading: #fff;
    --s-body: #e1e6f2;
    --s-muted: #c6cee2;
    --s-line: var(--svc-line-dark);
    --s-link: var(--design-accent-on-ink);
    --s-btn-bg: var(--design-accent-on-ink);
    --s-btn-fg: var(--design-ink);
    --s-btn-hover: #fff;
    --s-focus: var(--design-accent-on-ink);
    --s-accent: var(--design-accent-on-ink);
}

.svc .svc-cobalt[data-surface="dark"] {
    --s-bg: var(--accent);
    --s-body: #fff;
    --s-muted: color-mix(in srgb, var(--accent) 14%, #fff);
    --s-line: color-mix(in srgb, #fff 32%, var(--accent));
    --s-link: #fff;
    --s-btn-bg: #fff;
    --s-btn-fg: var(--accent);
    --s-btn-hover: color-mix(in srgb, var(--accent) 18%, #fff);
    --s-focus: #fff;
    --s-accent: color-mix(in srgb, var(--design-accent-on-ink) 45%, #fff);
}

.svc [data-surface="image"] {
    isolation: isolate;
    background:
        linear-gradient(color-mix(in srgb, var(--design-ink) 85%, transparent), color-mix(in srgb, var(--svc-ink-deep) 92%, transparent)),
        var(--design-ink);
}

/* Type */
.svc-h1,
.svc-h2,
.svc-h3,
.svc-attrib-name {
    font-family: var(--font-heading);
    color: var(--s-heading);
    text-transform: uppercase;
    text-wrap: balance;
}

.svc-h1 {
    font-size: clamp(40px, 5.2vw, 78px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.005em;
}

.svc-h2 {
    font-size: clamp(30px, 3.3vw, 50px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0.01em;
}

.svc-h3 {
    font-size: clamp(20px, 1.6vw, 24px);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.02em;
}

.svc-lede {
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.6;
    color: var(--s-body);
    max-width: 46ch;
}

.svc-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.svc-eyebrow {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--s-accent);
}

/* Keyword marker. The outer element paints the cobalt block, the inner span
   paints white glyphs over navy glyphs (clipped to the text), and both grow to
   --hl-p together, so text only turns white where the cobalt is already behind
   it. Finished is the default; [data-hl-sweep] plus service.js arm the sweep
   only when JS runs and motion is allowed. Without text clipping the phrase
   stays plain bold navy. */
@property --hl-p {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 100%;
}

.svc-hl,
.svc-hl > span {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.svc-hl {
    font-weight: 600;
    color: var(--s-heading);
}

.svc-hl > span {
    padding-inline: 0.1em;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .svc-hl {
        --hl-p: 100%;
        background-image: linear-gradient(transparent 5%, var(--accent) 5%);
        background-size: var(--hl-p) 100%;
        background-repeat: no-repeat;
    }

    .svc-hl > span {
        --hl-p: 100%;
        color: transparent;
        -webkit-text-fill-color: transparent;
        background-image:
            linear-gradient(#fff, #fff),
            linear-gradient(var(--s-heading), var(--s-heading));
        background-size: var(--hl-p) 100%, 100% 100%;
        background-repeat: no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
    }
}

[data-hl-sweep].hl-armed .svc-hl,
[data-hl-sweep].hl-armed .svc-hl > span {
    --hl-p: 0%;
}

[data-hl-sweep].hl-armed.hl-in .svc-hl,
[data-hl-sweep].hl-armed.hl-in .svc-hl > span {
    --hl-p: 100%;
    transition: --hl-p 0.9s cubic-bezier(0.65, 0, 0.35, 1) var(--hl-delay, 0s);
}

@media (forced-colors: active) {
    .svc-hl,
    .svc-hl > span {
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
        background: none;
    }
}

/* Buttons and links */
.svc .svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 16px 28px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--s-btn-fg);
    background: var(--s-btn-bg);
    border-radius: var(--radius);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.svc-btn svg {
    flex: none;
    transition: transform 0.2s ease;
}

.svc .svc-btn:hover {
    background: var(--s-btn-hover);
    color: var(--s-btn-fg);
}

.svc-btn:hover svg {
    transform: translateX(4px);
}

.svc .svc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--s-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
    text-underline-offset: 6px;
    transition: text-decoration-color 0.2s ease;
}

.svc .svc-link:hover {
    color: var(--s-link);
    text-decoration-color: currentColor;
}

.svc-link svg {
    transition: transform 0.2s ease;
}

.svc-link:hover svg {
    transform: translateX(4px);
}

.svc a:focus-visible {
    outline: 2px solid var(--s-focus);
    outline-offset: 3px;
    border-radius: var(--radius);
}

.svc .svc-btn:focus-visible {
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .svc *,
    .svc *::before,
    .svc *::after {
        transition: none !important;
    }
}

/* Photo frame: the image fills it and is cropped to the frame's ratio. */
.svc-ph {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--ph-ratio, 3 / 2);
    background: #dcdfe5;
    overflow: hidden;
}

.svc .svc-ph > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* Breadcrumbs: the shared .msc-crumbs, recoloured per hero surface. */
.svc .svc-cobalt .msc-crumbs {
    --msc-crumbs-ink: #fff;
    --msc-crumbs-sep: color-mix(in srgb, var(--accent) 30%, #fff);
    --msc-crumbs-halo: transparent;
}

.svc .st-hero-split .msc-crumbs {
    --msc-crumbs-ink: var(--s-body);
    --msc-crumbs-sep: var(--s-muted);
    --msc-crumbs-halo: transparent;
}

/* .msc-crumbs links are white for dark heroes; the split hero is light. */
.svc .st-hero-split .msc-crumbs a,
.svc .st-hero-split .msc-crumbs a:hover {
    color: var(--s-heading);
    text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.svc .st-hero-split .msc-crumbs a:hover {
    text-decoration-color: currentColor;
}

.svc .msc-crumbs a:focus-visible {
    outline: 2px solid var(--s-focus);
    outline-offset: 3px;
}

.svc-head {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 24px var(--svc-gap);
    align-items: end;
}

.svc-head-text > * + * {
    margin-top: 18px;
}

/* Hero, strip layout: cobalt band with the headline and intro side by side, a
   photo strip straddling its lower edge */
.st-hero {
    --st-strip-h: clamp(240px, 24vw, 340px);
}

.st-hero-band {
    padding: 0 0 calc(var(--st-strip-h) / 2 + clamp(48px, 5vw, 72px));
}

.st-hero--no-strip .st-hero-band {
    padding-bottom: clamp(56px, 6vw, 96px);
}

.svc .st-hero .st-hero-band {
    background:
        radial-gradient(ellipse 60% 90% at 85% 15%,
            color-mix(in srgb, var(--accent) 93%, #fff) 0%,
            transparent 70%),
        linear-gradient(120deg,
            color-mix(in srgb, var(--accent) 86%, var(--design-ink)) 0%,
            var(--accent) 50%);
}

.st-hero-head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 32px var(--svc-gap);
    align-items: end;
    margin-top: clamp(56px, 6vw, 96px);
}

.st-hero .svc-h1 {
    font-size: clamp(40px, 4.4vw, 64px);
    max-width: 18ch;
}

.svc-h1 span {
    display: block;
}

.st-hero-second {
    color: var(--s-accent);
}

.st-hero-head .svc-lede {
    color: var(--s-heading);
    font-size: clamp(18px, 1.4vw, 21px);
    text-wrap: pretty;
}

.st-hero-strip {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(8px, 1vw, 16px);
    height: var(--st-strip-h);
    margin-top: calc(var(--st-strip-h) / -2);
}

.st-hero-strip--2 {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.st-hero-strip--1 {
    grid-template-columns: minmax(0, 1fr);
}

.st-hero-strip .svc-ph {
    height: 100%;
    aspect-ratio: auto;
}

/* Hero, cover layout: photo fills the band under an ink scrim, heaviest
   behind the copy. The header is transparent over it (msc-header-overlay), so
   the hero carries the header's height itself. */
.st-hero-cover {
    display: flex;
    flex-direction: column;
    min-height: min(82vh, 760px);
    padding-top: var(--msc-header-h, 68px);
}

.st-hero-cover-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    height: 100%;
    aspect-ratio: auto;
}

.st-hero-cover-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--design-ink) 78%, transparent) 0%,
        color-mix(in srgb, var(--design-ink) 66%, transparent) 50%,
        transparent 82%);
}

.st-hero-cover-body {
    margin-top: auto;
    padding: clamp(96px, 10vw, 160px) 0 clamp(56px, 6vw, 96px);
}

.st-hero-cover .svc-h1 {
    max-width: 22ch;
    font-size: clamp(40px, 5.4vw, 80px);
}

.st-hero-cover .svc-lede {
    margin-top: clamp(24px, 2.6vw, 36px);
    max-width: 42ch;
    color: #fff;
}

/* Hero, split layout: copy on the tint beside the photo */
.st-hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
    min-height: min(70vh, 620px);
}

.st-hero-split--no-photo {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.st-hero-split-text {
    display: flex;
    flex-direction: column;
    padding: 0 clamp(24px, 2.4vw, 40px) clamp(56px, 6vw, 88px) max(10vw, calc((100vw - 1208px) / 2));
}

.st-hero-split-copy {
    margin-top: auto;
    padding-top: clamp(48px, 6vw, 96px);
}

.st-hero-split .svc-h1 {
    max-width: 19ch;
    font-size: clamp(36px, 3.9vw, 60px);
}

.st-hero-split .svc-lede {
    margin-top: clamp(24px, 2.6vw, 36px);
    max-width: 40ch;
}

.st-hero-split-media {
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
}

/* Why: the lead statement in display type, then the supporting points */
.st-why {
    padding-top: clamp(72px, 7vw, 112px);
}

.st-statement {
    max-width: 30em;
    font-family: var(--font-body);
    font-size: clamp(22px, 2.3vw, 36px);
    font-weight: 400;
    line-height: 1.4;
    color: var(--s-heading);
    text-wrap: pretty;
}

.svc-why-pair {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px var(--svc-gap);
    margin-top: clamp(48px, 5vw, 80px);
    padding-top: clamp(40px, 4vw, 56px);
    border-top: 1px solid var(--s-line);
}

.svc-why-item .svc-h3 {
    max-width: 22ch;
    font-size: clamp(23px, 2vw, 30px);
    color: var(--s-accent);
}

.svc-why-item p {
    margin-top: 18px;
    max-width: 52ch;
}

.st-why-photo-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px var(--svc-gap);
    align-items: center;
    margin-top: clamp(64px, 7vw, 112px);
}

.st-why-photo-row--solo {
    grid-template-columns: minmax(0, 1fr);
}

.st-why-photo-media {
    --ph-ratio: 1;
}

.st-why-photo-row--solo .st-why-photo-media {
    --ph-ratio: 21 / 9;
}

.st-why-photo-items > div + div {
    margin-top: clamp(32px, 3.4vw, 48px);
    padding-top: clamp(32px, 3.4vw, 48px);
    border-top: 1px solid var(--s-line);
}

.st-why-photo-items .svc-h3 {
    font-size: clamp(23px, 2vw, 30px);
    color: var(--s-accent);
}

.st-why-photo-items p {
    margin-top: 16px;
    max-width: 54ch;
}

/* Team: heading and quote on the left, the cutout portrait beside the
   right-aligned name, running on to the band's lower edge */
.st-team-grid {
    --team-photo-w: clamp(220px, 21vw, 300px);
    --team-gap: clamp(20px, 2.4vw, 36px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--team-photo-w);
    column-gap: var(--team-gap);
}

.st-team-grid--no-photo {
    grid-template-columns: minmax(0, 1fr);
}

.st-team-head .svc-lede {
    margin-top: 20px;
}

.svc .svc-quote {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
}

.st-team .svc-quote-fig {
    grid-column: 1;
    grid-row: 2;
    margin-top: clamp(40px, 4.4vw, 64px);
}

.st-team .svc-quote p {
    max-width: 34em;
    font-family: var(--font-body);
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 400;
    line-height: 1.5;
    color: var(--s-heading);
    text-indent: -0.42em;
    text-wrap: pretty;
}

.st-team .svc-attrib {
    display: block;
    margin-top: clamp(24px, 2.4vw, 32px);
    text-align: right;
}

.st-team .svc-attrib-name {
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: none;
}

.st-team .svc-attrib .svc-label {
    display: block;
    margin-top: 4px;
    letter-spacing: 0.08em;
    color: var(--s-link);
}

.st-team-portrait {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin-bottom: calc(-1 * var(--svc-space));
}

.st-team-portrait img {
    width: 100%;
    filter: grayscale(1);
    -webkit-mask-image: linear-gradient(#000 72%, transparent 98%);
    mask-image: linear-gradient(#000 72%, transparent 98%);
}

/* Capabilities: two-column typographic index */
.svc-caps .svc-h2 {
    max-width: 11ch;
}

/* Same two equal columns as the index below, so the intro lines up with its right column. */
.svc-caps .svc-head {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.svc .svc-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--svc-gap);
    margin-top: clamp(56px, 6vw, 88px);
    padding: 0;
    list-style: none;
}

.svc .svc-index li {
    padding: 30px 0 38px;
    border-top: 1px solid var(--s-line);
}

.svc-index .svc-h3 {
    color: var(--s-accent);
}

.svc-index p {
    margin-top: 12px;
    max-width: 46ch;
}

.st-caps-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    margin-top: clamp(40px, 4vw, 56px);
}

.st-caps-foot p {
    max-width: 44ch;
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.5;
    color: var(--s-heading);
}

/* Technology: heading row above tiles running edge to edge */
.st-tech-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
}

.st-tech-head .svc-h2 {
    max-width: 24ch;
}

.st-tech-head .svc-link {
    margin-bottom: 8px;
}

.svc .svc-tech-grid {
    display: grid;
    grid-template-columns: repeat(var(--svc-tiles, 4), minmax(0, 1fr));
    gap: 4px;
    max-width: 1440px;
    margin: clamp(48px, 5vw, 72px) auto 0;
    padding: 0;
    list-style: none;
}

/* Title over the image on a bottom scrim; the image sets the tile's size. */
.svc .svc-tech {
    --k-overlay: var(--design-ink);
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.svc-tech .svc-ph {
    --ph-ratio: 4 / 5;
    background-color: #d3d7df;
}

.svc-tech::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
        color-mix(in srgb, var(--k-overlay) 82%, transparent) 0%,
        color-mix(in srgb, var(--k-overlay) 40%, transparent) 30%,
        transparent 58%);
}

.svc-tech-name {
    position: absolute;
    right: clamp(16px, 1.8vw, 28px);
    bottom: clamp(16px, 1.8vw, 26px);
    left: clamp(16px, 1.8vw, 28px);
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    font-size: clamp(22px, 1.9vw, 30px);
    color: #fff;
}

.svc-tech-name svg {
    flex: none;
    margin-bottom: 0.3em;
    transition: transform 0.2s ease;
}

.svc a.svc-tech:hover {
    color: #fff;
}

.svc-tech:hover .svc-tech-name svg {
    transform: translateX(4px);
}

a.svc-tech:hover::after {
    background: linear-gradient(0deg,
        color-mix(in srgb, var(--k-overlay) 90%, transparent) 0%,
        color-mix(in srgb, var(--k-overlay) 50%, transparent) 36%,
        transparent 66%);
}

.svc a.svc-tech:focus-visible {
    outline-offset: -4px;
    outline-color: #fff;
}

/* CTA: cobalt copy half beside a photo half */
.st-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 560px;
}

.st-cta--no-photo {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

.st-cta-text {
    align-self: center;
    padding: var(--svc-space) clamp(32px, 4vw, 72px) var(--svc-space) max(10vw, calc((100vw - 1208px) / 2));
}

.st-cta .svc-h2 {
    font-size: clamp(36px, 4vw, 60px);
    max-width: 12ch;
}

.st-cta .svc-lede {
    margin-top: 28px;
    color: #fff;
}

.st-cta-text > p:not(.svc-lede) {
    margin-top: 18px;
    max-width: 48ch;
    text-wrap: pretty;
}

.st-cta .svc-btn {
    margin-top: 40px;
}

.st-cta-media {
    aspect-ratio: auto;
    height: 100%;
}

@media (max-width: 980px) {
    .svc-head,
    .svc-caps .svc-head,
    .svc-why-pair,
    .st-why-photo-row,
    .st-cta,
    .st-hero-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc .svc-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-why-photo-media {
        --ph-ratio: 4 / 3;
        order: 2;
    }

    .st-team-grid {
        --team-photo-w: 132px;
        --team-gap: 16px;
        grid-template-rows: auto auto auto;
    }

    .st-team-head {
        grid-column: 1 / -1;
    }

    .st-team .svc-attrib {
        grid-column: 1;
        grid-row: 3;
        align-self: center;
        margin-top: 24px;
    }

    .st-team .svc-quote-fig {
        display: contents;
    }

    .st-team .svc-quote {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 36px;
    }

    .st-team-portrait {
        grid-row: 3;
        margin-top: 24px;
    }

    .st-hero-split-text {
        padding: 0 10% 48px;
    }

    .st-hero-split-media {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .st-cta-text {
        padding: 72px 10%;
    }

    .st-cta-media {
        height: auto;
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 700px) {
    .st-hero {
        --st-strip-h: 200px;
    }

    .st-hero-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 48px;
    }

    .st-hero-strip {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: var(--st-strip-h) 140px;
        gap: 4px;
        height: auto;
    }

    .st-hero-strip--1 {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: var(--st-strip-h);
    }

    .st-hero-strip-lead {
        grid-column: 1 / -1;
    }

    .st-hero-cover-media::after {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--design-ink) 62%, transparent) 0%,
            color-mix(in srgb, var(--design-ink) 90%, transparent) 55%);
    }

    .st-hero-cover-body {
        padding: 72px 0 48px;
    }

    .st-hero-split-text {
        padding: 0 20px 40px;
    }

    .st-hero-split-copy {
        padding-top: 48px;
    }

    .svc .svc-index {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc .svc-index li {
        padding: 24px 0 28px;
    }

    .svc .svc-tech-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .svc-tech .svc-ph {
        --ph-ratio: 16 / 9;
    }

    .svc .svc-link {
        display: inline;
        line-height: 2;
    }

    .svc-link svg {
        display: inline;
        margin-left: 6px;
        vertical-align: -1px;
    }

    .st-team .svc-quote p {
        text-indent: 0;
    }
}
