﻿        main {
            width: min(1180px, 92%);
            margin: 0 auto;
            padding: 26px 0 60px;
        }

        .services-shell {
            --section-inset: clamp(24px, 4vw, 40px);
            --service-title-width: 308px;
            --service-gap: clamp(42px, 5.8vw, 82px);
            --service-body-width: 47ch;
            padding-top: 0;
        }

        .hero-banner {
            position: relative;
            overflow: hidden;
            min-height: 312px;
            margin-bottom: 42px;
            padding: 36px var(--section-inset) 34px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            background: #15120f;
        }

        .hero-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url('../images/services-hero.jpg');
            background-image: -webkit-image-set(
                url('../images/services-hero.webp') type('image/webp') 1x,
                url('../images/services-hero.jpg') type('image/jpeg') 1x
            );
            background-image: image-set(
                url('../images/services-hero.webp') type('image/webp') 1x,
                url('../images/services-hero.jpg') type('image/jpeg') 1x
            );
            background-position: center 46%;
            background-size: cover;
            background-repeat: no-repeat;
            filter: brightness(0.62) contrast(0.94) saturate(0.78) sepia(0.04);
            transform: scale(1.01);
        }

        .hero-banner::after {
            content: "";
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(18, 14, 12, 0.08) 0%, rgba(18, 14, 12, 0.28) 44%, rgba(18, 14, 12, 0.72) 100%),
                linear-gradient(90deg, rgba(18, 14, 12, 0.26) 0%, rgba(18, 14, 12, 0.08) 38%, rgba(18, 14, 12, 0.22) 100%);
        }

        .hero-banner > * {
            position: relative;
            z-index: 1;
        }

        .intro-grid {
            display: block;
            margin-bottom: 16px;
        }

        .overline {
            display: block;
            margin-bottom: 22px;
            font-family: 'Inter', sans-serif;
            font-size: 0.68rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.22em;
            color: var(--accent);
        }

        h1 {
            font-family: 'TT Drugs Trial Regular', sans-serif;
            font-size: 2.64rem;
            line-height: 1.02;
            font-weight: 400;
            letter-spacing: 0.05em;
            color: var(--text-heading-soft);
            max-width: 7ch;
            text-transform: uppercase;
        }

        .intro-copy {
            max-width: 34ch;
            font-size: 1rem;
            font-weight: 300;
            color: var(--text-body);
        }

        .hero-notes {
            width: min(100%, var(--service-body-width));
            margin-top: 4px;
        }

        .orientation-line {
            margin: 0 0 8px;
            padding-top: 0;
            font-family: 'Karla Local', sans-serif;
            font-size: 0.96rem;
            font-style: italic;
            font-weight: 300;
            letter-spacing: 0;
            text-transform: none;
            color: rgba(168, 163, 157, 0.72);
        }

        .orientation-subline {
            font-size: 0.98rem;
            font-weight: 300;
            color: var(--text-body);
            max-width: 46ch;
            margin-top: 6px;
        }

        .services-list {
            display: grid;
            gap: 0;
            padding-inline: var(--section-inset);
        }

        .service-block {
            position: relative;
            display: grid;
            grid-template-columns: minmax(var(--service-title-width), 0.98fr) minmax(0, 1fr);
            gap: var(--service-gap);
            padding: 26px 0 30px;
            align-items: start;
        }

        .service-block::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(
                90deg,
                rgba(183, 162, 141, 0),
                rgba(183, 162, 141, 0.22) 12%,
                rgba(183, 162, 141, 0.22) 88%,
                rgba(183, 162, 141, 0)
            );
        }

        .service-title {
            max-width: 18ch;
            padding-top: 2px;
        }

        .service-number {
            display: block;
            margin-bottom: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--accent);
        }

        .service-title h2 {
            font-family: 'TT Drugs Trial Regular', sans-serif;
            font-size: 1.76rem;
            line-height: 1.01;
            font-weight: 400;
            letter-spacing: 0.05em;
            color: var(--text-heading-soft);
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .keep-together {
            white-space: nowrap;
        }

        .service-title--consultation h2 {
            max-width: 16.5ch;
        }

        .service-kicker {
            font-size: 1rem;
            font-weight: 300;
            color: rgba(183, 162, 141, 0.86);
        }

        .service-body {
            width: min(100%, var(--service-body-width));
            justify-self: center;
        }

        .service-summary {
            font-size: 0.98rem;
            font-weight: 300;
            color: var(--text-body);
            margin-bottom: 18px;
        }

        .best-for-label {
            display: block;
            margin-bottom: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 0.64rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: rgba(183, 162, 141, 0.72);
        }

        .best-for-list {
            list-style: none;
            display: grid;
            gap: 7px;
        }

        .best-for-list li {
            position: relative;
            padding-left: 18px;
            font-size: 0.93rem;
            font-weight: 300;
            color: rgba(168, 163, 157, 0.88);
        }

        .best-for-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.8em;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(183, 162, 141, 0.42);
            transform: translateY(-50%);
        }

        .capabilities-shell {
            display: grid;
            grid-template-columns: minmax(var(--service-title-width), 0.98fr) minmax(0, 1fr);
            gap: var(--service-gap);
            margin: 20px 0 0;
            padding: 24px var(--section-inset) 26px;
            border: 1px solid rgba(183, 162, 141, 0.14);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008)),
                rgba(255, 255, 255, 0.012);
        }

        .capabilities-overline {
            display: block;
            margin-bottom: 0;
            font-family: 'TT Drugs Trial Regular', sans-serif;
            font-size: 0.9rem;
            font-weight: 400;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-heading-soft);
        }

        .capabilities-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px 38px;
            align-items: start;
            width: min(100%, var(--service-body-width));
            justify-self: center;
        }

        .capabilities-list,
        .capabilities-list-alt {
            list-style: none;
            display: grid;
            gap: 6px;
        }

        .capabilities-list li,
        .capabilities-list-alt li {
            position: relative;
            padding-left: 18px;
            font-size: 0.95rem;
            font-weight: 300;
            color: rgba(168, 163, 157, 0.95);
        }

        .capabilities-list li::before,
        .capabilities-list-alt li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.8em;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(183, 162, 141, 0.42);
            transform: translateY(-50%);
        }

        .closing-cta {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 28px clamp(24px, 4vw, 40px) 0;
            margin-top: 30px;
        }

        .inquire-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 144px;
            padding: 14px 24px;
            border: 1px solid rgba(183, 162, 141, 0.58);
            font-family: 'Inter', sans-serif;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            text-decoration: none;
            color: var(--text-heading);
            transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
        }

        .inquire-button:hover {
            background: rgba(183, 162, 141, 0.08);
            border-color: rgba(183, 162, 141, 0.78);
            color: #f0e7dd;
        }

        @media (max-width: 900px) {
            .hero-banner::before {
                background-image: url('../images/services-hero-945.jpg');
                background-image: -webkit-image-set(
                    url('../images/services-hero-945.webp') type('image/webp') 1x,
                    url('../images/services-hero-945.jpg') type('image/jpeg') 1x
                );
                background-image: image-set(
                    url('../images/services-hero-945.webp') type('image/webp') 1x,
                    url('../images/services-hero-945.jpg') type('image/jpeg') 1x
                );
            }

            main {
                width: min(100% - 36px, 1180px);
                padding: calc(6vh + 56px) 0 42px;
            }

            .service-block {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .hero-banner {
                min-height: 280px;
                margin-bottom: 34px;
                padding: 34px 24px 28px;
            }

            h1 {
                font-size: 2rem;
                max-width: none;
            }

            .service-title {
                max-width: none;
            }

            .service-title h2 {
                max-width: 14ch;
            }

            .service-title--consultation h2 {
                max-width: 16.5ch;
            }

            .capabilities-shell,
            .capabilities-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .service-title h2 {
                font-size: 1.26rem;
            }

            .hero-banner {
                min-height: 248px;
                padding: 28px 18px 24px;
            }

            .orientation-subline {
                font-size: 0.92rem;
            }

            .capabilities-shell {
                margin-top: 38px;
                padding: 22px 18px 24px;
            }

            .service-block {
                padding: 38px 0 42px;
            }
        }
