.services-page {
    --service-ink: #10232b;
    --service-muted: #66747a;
    --service-teal: #0f766e;
    --service-gold: #c6a36a;
    --service-paper: #f7f6f2;
    color: var(--text-primary);
}

.services-page a:focus-visible,
.services-page button:focus-visible {
    outline: 3px solid #36c8bb;
    outline-offset: 4px;
}

.services-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
    min-height: 660px;
    padding: 110px max(6vw, calc((100vw - 1240px) / 2));
    overflow: hidden;
    color: #f5f5f1;
    background: #10232b;
    isolation: isolate;
}

.services-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(rgba(190, 222, 218, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 222, 218, .055) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
}

.services-hero::after {
    position: absolute;
    z-index: -1;
    right: -14%;
    bottom: -55%;
    width: 70vw;
    height: 70vw;
    border: 1px solid rgba(66, 199, 187, .14);
    border-radius: 50%;
    content: "";
}

.services-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 670px;
}

.services-eyebrow,
.section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #42c7bb;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.services-eyebrow::before,
.section-kicker::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.services-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(46px, 6vw, 78px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.services-hero h1 span {
    color: #65d1c7;
    font-style: italic;
}

.services-hero-copy > p {
    max-width: 560px;
    margin: 26px 0 34px;
    color: #c3cdcb;
    font-size: 16px;
    line-height: 1.8;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.services-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 1px solid transparent;
    color: #10232b;
    background: #65d1c7;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.services-button:hover {
    transform: translateY(-2px);
    background: #8be0d8;
}

.services-button-secondary {
    border-color: rgba(255, 255, 255, .35);
    color: #f5f5f1;
    background: transparent;
}

.services-button-secondary:hover {
    border-color: #65d1c7;
    color: #65d1c7;
    background: transparent;
}

.services-button-gold {
    color: #14232a;
    background: #d4b47a;
}

.services-button-gold:hover {
    background: #e4ca99;
}

.services-hero-art {
    width: 100%;
    max-width: 610px;
    justify-self: end;
    overflow: visible;
}

.services-hero-art .drawing-line {
    fill: none;
    stroke: #79d4c9;
    stroke-width: 1.15;
    vector-effect: non-scaling-stroke;
}

.services-hero-art .drawing-muted {
    fill: none;
    stroke: rgba(219, 235, 231, .38);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.services-hero-art .drawing-fill {
    fill: rgba(79, 191, 180, .09);
    stroke: rgba(121, 212, 201, .8);
    stroke-width: 1.15;
    vector-effect: non-scaling-stroke;
}

.services-hero-art text {
    fill: #a9c1be;
    font-family: Inter, sans-serif;
    font-size: 8px;
    letter-spacing: 1.4px;
}

.services-hero-art .gold-mark {
    fill: #d4b47a;
}

.services-art-caption {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    color: #9baead;
    font-size: 9px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.services-catalogue {
    padding: clamp(74px, 9vw, 124px) max(6vw, calc((100vw - 1240px) / 2));
    background: var(--service-paper);
}

.services-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 48px;
}

.services-section-heading .section-kicker {
    color: var(--service-teal);
}

.services-section-heading h2,
.approach-heading h2,
.principles-copy h2,
.services-cta h2 {
    margin: 0;
    color: var(--service-ink);
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.services-section-heading > p {
    max-width: 400px;
    margin: 0 0 5px;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.8;
}

.service-group {
    margin-top: 54px;
}

.service-group:first-child {
    margin-top: 0;
}

.service-group-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    color: var(--service-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.service-group-heading::after {
    height: 1px;
    flex: 1;
    background: #dcded9;
    content: "";
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #e2e3de;
    color: inherit;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #83c8c0;
    box-shadow: 0 14px 34px rgba(16, 35, 43, .08);
}

.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 26px;
}

.service-card-icon {
    width: 54px;
    height: 54px;
    padding: 9px;
    border: 1px solid #dce8e5;
    color: var(--service-teal);
    background: #f5faf8;
}

.service-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.25;
}

.service-card-number {
    color: #9ba8a4;
    font-size: 10px;
    letter-spacing: .13em;
}

.service-card h3 {
    margin: 0 0 9px;
    color: var(--service-ink);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.service-card p {
    max-width: 390px;
    margin: 0 0 14px;
    color: var(--service-muted);
    font-size: 13px;
    line-height: 1.7;
}

.service-card .service-tagline {
    margin-bottom: 8px;
    color: var(--service-teal);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.service-card .service-description {
    margin-bottom: 22px;
}

.service-card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--service-teal);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.service-card-link span {
    transition: transform .2s ease;
}

.service-card:hover .service-card-link span {
    transform: translateX(4px);
}

.service-detail {
    padding: clamp(60px, 8vw, 104px) max(6vw, calc((100vw - 1080px) / 2));
    background: var(--service-paper);
}

.service-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: var(--service-teal);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.service-detail-hero {
    padding: clamp(30px, 5vw, 66px);
    color: #f4f5f1;
    background: #10232b;
}

.service-detail-hero .section-kicker {
    margin-bottom: 18px;
}

.service-detail-hero h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.service-detail-tagline {
    max-width: 760px;
    margin: 12px 0 0;
    color: #65d1c7;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.service-detail-hero > p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #c3cdcb;
    font-size: 15px;
    line-height: 1.85;
}

.service-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
    gap: 44px;
    padding: clamp(32px, 5vw, 58px);
    background: #fff;
}

.service-detail-content h3,
.service-projects h3 {
    margin: 0 0 18px;
    color: var(--service-ink);
    font-size: 24px;
    font-weight: 400;
}

.service-detail-content p {
    margin: 0;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.85;
}

.service-deliverables {
    padding: 25px;
    border-left: 2px solid var(--service-teal);
    background: #f4f8f6;
}

.service-deliverables h3 {
    font-size: 21px;
}

.service-deliverables ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-deliverables li {
    position: relative;
    padding-left: 17px;
    color: #506068;
    font-size: 12px;
    line-height: 1.5;
}

.service-deliverables li::before {
    position: absolute;
    top: .56em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--service-teal);
    content: "";
}

.service-detail-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px clamp(24px, 5vw, 58px);
    border-top: 1px solid #e6e9e5;
    background: #fff;
}

.service-detail-action p {
    max-width: 450px;
    margin: 0;
    color: var(--service-muted);
    font-size: 13px;
    line-height: 1.7;
}

.service-projects {
    margin-top: 32px;
}

.service-project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.service-project-link {
    display: flex;
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 18px;
    border: 1px solid #e2e3de;
    color: var(--service-ink);
    background: #fff;
    text-decoration: none;
}

.service-project-link:hover {
    border-color: #83c8c0;
}

.service-project-link strong {
    font-size: 18px;
    font-weight: 400;
}

.service-project-link span {
    color: var(--service-muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.services-approach {
    padding: clamp(76px, 9vw, 122px) max(6vw, calc((100vw - 1240px) / 2));
    color: #f4f5f1;
    background: #162d34;
}

.approach-heading {
    max-width: 660px;
    margin-bottom: 54px;
}

.approach-heading .section-kicker,
.principles-copy .section-kicker {
    color: #65d1c7;
}

.approach-heading h2 {
    color: #f4f5f1;
}

.approach-heading p {
    max-width: 540px;
    margin: 18px 0 0;
    color: #bac8c5;
    font-size: 14px;
    line-height: 1.8;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.approach-step {
    position: relative;
    padding: 28px 25px 0 0;
}

.approach-step:not(:last-child)::after {
    position: absolute;
    top: -4px;
    right: 18px;
    left: 0;
    height: 7px;
    background: linear-gradient(90deg, #65d1c7 0, #65d1c7 7px, transparent 7px);
    content: "";
}

.approach-step span {
    display: block;
    margin-bottom: 26px;
    color: #65d1c7;
    font-size: 11px;
    letter-spacing: .14em;
}

.approach-step h3 {
    margin: 0 0 10px;
    color: #f4f5f1;
    font-size: 24px;
    font-weight: 400;
}

.approach-step p {
    max-width: 240px;
    margin: 0;
    color: #bac8c5;
    font-size: 12px;
    line-height: 1.75;
}

.services-principles {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
    padding: clamp(76px, 9vw, 122px) max(6vw, calc((100vw - 1240px) / 2));
    background: #fff;
}

.principles-copy h2 {
    max-width: 460px;
}

.principles-copy > p {
    max-width: 440px;
    margin: 18px 0 0;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.85;
}

.principles-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #dfe4e0;
}

.principle {
    min-height: 130px;
    padding: 24px 24px 18px 0;
    border-bottom: 1px solid #dfe4e0;
}

.principle:nth-child(odd) {
    border-right: 1px solid #dfe4e0;
}

.principle:nth-child(even) {
    padding-left: 24px;
}

.principle span {
    display: block;
    margin-bottom: 12px;
    color: var(--service-teal);
    font-size: 10px;
    letter-spacing: .14em;
}

.principle h3 {
    margin: 0;
    color: var(--service-ink);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(54px, 7vw, 90px) max(6vw, calc((100vw - 1240px) / 2));
    background: #f2f1eb;
}

.services-cta-copy {
    max-width: 700px;
}

.services-cta .section-kicker {
    color: var(--service-teal);
}

.services-cta h2 {
    font-size: clamp(38px, 5vw, 62px);
}

.services-cta p {
    max-width: 570px;
    margin: 16px 0 0;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.8;
}

.services-empty {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--service-muted);
    background: #fff;
}

@media (max-width: 920px) {
    .services-hero {
        grid-template-columns: 1fr .8fr;
        min-height: 600px;
        padding-right: 5vw;
        padding-left: 5vw;
    }

    .services-catalogue,
    .services-approach,
    .services-principles,
    .services-cta {
        padding-right: 5vw;
        padding-left: 5vw;
    }

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

    .services-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-section-heading > p {
        max-width: 600px;
    }

    .services-principles {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

@media (max-width: 640px) {
    .services-hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
        padding: 86px 22px 50px;
    }

    .services-hero h1 {
        font-size: clamp(44px, 12vw, 60px);
    }

    .services-hero-copy > p {
        font-size: 14px;
    }

    .services-hero-art {
        width: min(100%, 480px);
        align-self: center;
    }

    .services-button {
        min-height: 48px;
        padding: 0 16px;
        font-size: 12px;
    }

    .services-catalogue,
    .services-approach,
    .services-principles,
    .services-cta {
        padding: 68px 22px;
    }

    .services-section-heading {
        margin-bottom: 36px;
    }

    .service-group {
        margin-top: 40px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-card {
        min-height: 220px;
    }

    .service-detail {
        padding: 56px 18px;
    }

    .service-detail-hero {
        padding: 30px 24px;
    }

    .service-detail-hero h2 {
        font-size: 42px;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 28px 24px;
    }

    .service-detail-action {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }

    .approach-steps {
        grid-template-columns: 1fr;
        margin-left: 8px;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, .2);
    }

    .approach-step {
        padding: 0 0 34px 26px;
    }

    .approach-step:not(:last-child)::after {
        top: 0;
        right: auto;
        bottom: 34px;
        left: -4px;
        width: 7px;
        height: auto;
        background: linear-gradient(180deg, #65d1c7 0, #65d1c7 7px, transparent 7px);
    }

    .approach-step span {
        margin-bottom: 12px;
    }

    .principles-list {
        grid-template-columns: 1fr;
    }

    .principle,
    .principle:nth-child(even) {
        min-height: auto;
        padding: 20px 0;
        border-right: 0;
    }

    .services-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-page *,
    .services-page *::before,
    .services-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
