:root {
    --navy: #102b68;
    --navy2: #081e52;
    --ink: #243042;
    --muted: #667085;
    --line: #e4e8ef;
    --mist: #f5f7fa;
    --white: #fff;
    --max: 1160px;
    --shadow: 0 12px 34px rgba(16, 43, 104, .10)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65
}

a {
    color: var(--navy)
}

img {
    max-width: 100%;
    height: auto
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin: auto
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 12px;
    top: 12px;
    background: white;
    padding: 10px;
    z-index: 100
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.head {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.brand {
    flex: 0 1 333px;
}

.brand img {
    display: block;
    width: 100%;
    max-width: 333 px;
    height: auto;
    object-fit: contain;
    object-position: left center
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px
}

.nav a {
    text-decoration: none;
    color: #43506a;
    font-weight: 600;
    font-size: .94rem
}

.nav a:hover,
.nav a.active {
    color: var(--navy)
}

.nav .contact-link {
    color: white;
    background: var(--navy);
    padding: 10px 16px;
    border-radius: 8px
}

.menu {
    display: none;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 11px;
    font-weight: 700
}

.hero {
    background: linear-gradient(110deg, var(--navy2), var(--navy));
    color: white;
    overflow: hidden
}

.hero-grid {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 56px;
    padding: 64px 0
}

.eyebrow {
    font-size: .78rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 800;
    color: #c9d7f6
}

.hero h1 {
    font-size: clamp(2.55rem, 5vw, 4.0rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    margin: 10px 0 22px
}

.hero p {
    font-size: 1.15rem;
    color: #e1e8f7;
    max-width: 660px
}

.hero-media {
    background: white;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 22px 52px rgba(0, 0, 0, .25);
    transform: rotate(1deg)
}

.hero-media img {
    display: block;
    width: 100%;
    height: 335px;
    border-radius: 13px;
    object-fit: cover
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px
}

.button {
    display: inline-block;
    text-decoration: none;
    font-weight: 750;
    padding: 12px 18px;
    border-radius: 8px;
    background: white;
    color: var(--navy)
}

.button.alt {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55)
}

.section {
    padding: 76px 0
}

.section.alt {
    background: var(--mist)
}

.section-title {
    max-width: 800px;
    margin-bottom: 34px
}

.kicker {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--navy);
    font-weight: 800
}

.section h1,
.section h2 {
    line-height: 1.15;
    letter-spacing: -.022em
}

.section h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: .25rem 0 14px;
    color: var(--navy2)
}

.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    margin: .3rem 0 14px;
    color: var(--navy2)
}

.lead {
    font-size: 1.13rem;
    color: #4b5871;
    max-width: 780px
}

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

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 14px rgba(16, 43, 104, .045)
}

.card h3 {
    font-size: 1.16rem;
    color: var(--navy);
    margin: 0 0 10px
}

.card p:last-child {
    margin-bottom: 0
}

.card ul {
    padding-left: 20px
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

.feature-grid img {
    width: 70%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.portrait {
    display: block;
    margin: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    object-position: 50% 25%;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-grid img {
        width: min(300px, 70%);
        margin: 0 auto;
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px
}

.stat {
    padding: 18px;
    border-top: 3px solid var(--navy);
    background: #fff
}

.stat strong {
    display: block;
    color: var(--navy2);
    font-size: 1.3rem
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px
}

.service-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden
}

.service-card .body {
    padding: 26px
}

.service-card h2 {
    font-size: 1.3rem;
    margin: 0 0 10px
}

.service-card img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
    background: white
}

.service-card img.diagram {
    object-fit: contain;
    padding: 18px
}

.about-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 60px;
    align-items: start
}

.columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.info {
    background: var(--mist);
    border-radius: 14px;
    padding: 24px
}

.pub-jump {
    position: sticky;
    top: 88px;
    z-index: 10;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    gap: 8px;
    overflow: auto;
    margin: 28px 0
}

.pub-jump a {
    white-space: nowrap;
    text-decoration: none;
    background: var(--mist);
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 700
}

.pubgroup {
    scroll-margin-top: 170px;
    padding: 34px 0;
    border-top: 1px solid var(--line)
}

.pubgroup h2 {
    font-size: 1.55rem
}

.pubitem {
    padding: 0 0 15px 18px;
    border-left: 3px solid #dbe3f4;
    margin-bottom: 13px;
    color: #455269
}

.contact-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line)
}

.contact-copy {
    padding: 42px
}

.contact-side {
    padding: 42px;
    background: var(--navy);
    color: white
}

.contact-side a {
    color: white
}

.contact-side h2 {
    color: white
}

.footer {
    background: #091b46;
    color: #bcc9e6;
    padding: 40px 0
}

.footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center
}

.footer img {
    width: 333px;
    filter: none;
    opacity: 1
}

.footer a {
    color: white
}

.small {
    font-size: .88rem
}

.mobile-only {
    display: none
}

@media(max-width:820px) {
    .wrap {
        width: min(100% - 28px, var(--max))
    }

    .head {
        min-height: 82px
    }

    .brand img {
        width: 285px
    }

    .menu {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        padding: 18px 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
        flex-direction: column;
        align-items: stretch
    }

    .nav.open {
        display: flex
    }

    .nav .contact-link {
        text-align: center
    }

    .hero-grid,
    .feature-grid,
    .about-grid,
    .contact-card {
        grid-template-columns: 1fr
    }

    .hero-grid {
        padding: 44px 0;
        gap: 32px
    }

    .hero-media {
        transform: none
    }

    .hero-media img {
        height: 260px
    }

    .section {
        padding: 52px 0
    }

    .cards,
    .stats {
        grid-template-columns: 1fr
    }

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

    .portrait {
        width: 245px
    }

    .contact-copy,
    .contact-side {
        padding: 28px
    }

    .footer .wrap {
        flex-direction: column;
        align-items: flex-start
    }

    .pub-jump {
        top: 74px
    }

    .mobile-only {
        display: inline
    }
}

@media(max-width:480px) {
    .brand img {
        width: 215px
    }

    .hero h1 {
        font-size: 2.45rem
    }

    .hero-media img {
        height: 220px
    }

    .section h1 {
        font-size: 2.15rem
    }

    .button {
        width: 100%;
        text-align: center
    }
}