:root {
    color-scheme: dark;
    --navy: #07182a;
    --navy-soft: #0c2239;
    --navy-light: #122d49;
    --paper: #f4f2ec;
    --white: #ffffff;
    --ink: #10243a;
    --muted: #aebdca;
    --muted-dark: #53687a;
    --blue: #46a9ec;
    --blue-bright: #78c8ff;
    --line: rgba(255, 255, 255, 0.16);
    --paper-line: #d7dde0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--white);
    background: var(--navy);
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--line);
}

.site-nav,
.hero,
.section,
.site-footer {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.site-nav {
    display: flex;
    min-height: 98px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: grid;
    color: var(--white);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 0.86;
    text-decoration: none;
}

.brand span:last-child {
    color: var(--blue-bright);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 0.88rem;
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-contact {
    padding: 11px 16px;
    border: 1px solid rgba(120, 200, 255, 0.45);
    border-radius: 999px;
    color: var(--white);
}

.hero {
    padding: clamp(72px, 8vw, 110px) 0 clamp(80px, 9vw, 120px);
}

.hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
    column-gap: clamp(48px, 7vw, 96px);
}

.hero-copy .eyebrow,
.hero-copy h1 {
    grid-column: 1 / -1;
}

.eyebrow,
.service-number,
.work-type,
.principles-label {
    margin: 0 0 20px;
    color: var(--blue-bright);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 1120px;
    margin-bottom: 48px;
    font-size: clamp(4rem, 7vw, 6.6rem);
    font-weight: 650;
    letter-spacing: -0.06em;
    line-height: 0.92;
}

h1 span {
    display: block;
}

h1 .hero-title-detail {
    max-width: 1040px;
    margin-top: 0.12em;
    color: #d6e0e9;
    font-size: 0.64em;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.hero-dek {
    max-width: 700px;
    margin-bottom: 0;
    color: #c6d1db;
    font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    align-self: start;
    gap: 28px;
}

.button {
    display: inline-flex;
    padding: 15px 20px;
    align-items: center;
    gap: 28px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.button--primary {
    color: var(--navy);
    background: var(--blue-bright);
}

.button--primary:hover {
    background: var(--white);
}

.text-link {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration-color: rgba(120, 200, 255, 0.6);
    text-underline-offset: 5px;
}

.text-link:hover {
    color: var(--blue-bright);
}

.intro {
    padding: 28px 24px;
    color: var(--navy);
    background: var(--blue-bright);
    text-align: center;
}

.intro p {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.intro span {
    padding: 0 20px;
    opacity: 0.42;
}

.section {
    padding: clamp(86px, 11vw, 140px) 0;
}

.section-heading {
    display: grid;
    margin-bottom: 64px;
    grid-template-columns: 0.5fr 1.5fr;
    gap: 32px;
}

.section-heading h2,
.offer h2,
.contact h2,
.work-label h2 {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.3rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.service-grid {
    display: grid;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
    min-height: 320px;
    padding: clamp(30px, 4vw, 48px);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-card--featured {
    background: var(--navy-soft);
}

.service-number {
    color: var(--blue-bright);
}

.service-card h3,
.work-card h3 {
    margin-bottom: 18px;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.service-card p:last-child {
    max-width: 500px;
    margin-bottom: 0;
    color: var(--muted);
}

.offer {
    display: grid;
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100% - 1180px) / 2));
    padding-left: max(24px, calc((100% - 1180px) / 2));
    color: var(--ink);
    background: var(--paper);
    grid-template-columns: 1fr 0.8fr;
    gap: clamp(50px, 10vw, 140px);
}

.offer .eyebrow,
.work .eyebrow {
    color: #2675aa;
}

.offer-copy {
    font-size: 1.08rem;
}

.offer-copy > p {
    color: var(--muted-dark);
    font-size: 1.2rem;
}

.offer-copy ul {
    margin: 30px 0 36px;
    padding: 0;
    list-style: none;
}

.offer-copy li {
    padding: 13px 0;
    border-bottom: 1px solid var(--paper-line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(48px, 9vw, 120px);
}

.about-copy {
    color: #c6d1db;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.about-copy a {
    text-decoration-color: rgba(120, 200, 255, 0.6);
    text-underline-offset: 4px;
}

.principles {
    padding: 34px;
    border-top: 3px solid var(--blue-bright);
    background: var(--navy-soft);
}

.principles ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.principles li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: #d4dee6;
}

.work {
    display: grid;
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100% - 1180px) / 2));
    padding-left: max(24px, calc((100% - 1180px) / 2));
    color: var(--ink);
    background: #dce9ee;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(50px, 10vw, 140px);
}

.work-card {
    display: flex;
    min-height: 320px;
    padding: clamp(32px, 5vw, 56px);
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(16, 36, 58, 0.2);
    background: rgba(255, 255, 255, 0.4);
}

.work-card p:not(.work-type) {
    max-width: 570px;
    color: var(--muted-dark);
}

.work-type {
    color: #2675aa;
}

.contact {
    padding: clamp(90px, 14vw, 170px) max(24px, calc((100% - 1180px) / 2));
    background: var(--navy-light);
}

.contact h2 {
    max-width: 1000px;
    margin-bottom: 48px;
}

.button--light {
    color: var(--navy);
    background: var(--white);
}

.button--light:hover {
    background: var(--blue-bright);
}

.site-footer {
    display: flex;
    padding: 34px 0 46px;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 0.82rem;
}

.site-footer p {
    margin: 0;
}

.site-footer div {
    display: flex;
    gap: 22px;
}

.site-footer a {
    text-underline-offset: 4px;
}

a:focus-visible {
    outline: 3px solid var(--blue-bright);
    outline-offset: 4px;
}

@media (max-width: 820px) {
    .section-heading,
    .offer,
    .about-grid,
    .work {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        grid-template-columns: 1fr;
    }

    .hero-dek,
    .hero-actions {
        grid-column: 1;
    }

    .hero-dek {
        margin-bottom: 36px;
    }

    .section-heading {
        gap: 0;
    }

    .section-heading h2 {
        max-width: 680px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .site-nav,
    .hero,
    .section,
    .site-footer {
        width: min(100% - 32px, 1180px);
    }

    .site-nav {
        min-height: 82px;
    }

    .nav-links > a:not(.nav-contact) {
        display: none;
    }

    .nav-contact {
        padding: 9px 12px;
    }

    .hero {
        padding: 70px 0 80px;
    }

    h1 {
        margin-bottom: 36px;
        font-size: clamp(3.35rem, 16vw, 4.8rem);
    }

    h1 .hero-title-detail {
        font-size: 0.68em;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .intro span {
        padding: 0 7px;
    }

    .section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .offer,
    .work {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
