:root {
    --blue: #005fae;
    --blue-dark: #003e76;
    --blue-deep: #062e58;
    --yellow: #ffd200;
    --orange: #ee5a18;
    --red: #c8102e;
    --ink: #102c49;
    --muted: #526980;
    --line: #d9e4ed;
    --surface: #f4f8fb;
    --white: #fff;
    --shadow: 0 22px 50px rgba(10, 48, 82, .14);
    --radius: 28px;
    --shell: min(1180px, calc(100% - 48px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--blue-dark);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: 84px;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(0, 95, 174, .12);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--shell);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    width: 150px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
    line-height: 1;
}

.brand-logo {
    display: block;
    width: 138px;
    max-width: 100%;
    max-height: 34px;
    height: auto;
    object-fit: contain;
}

.brand-site {
    margin-top: 4px;
    color: var(--blue);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

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

.main-nav a {
    position: relative;
    color: var(--ink);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.main-nav a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--yellow);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-contact {
    padding: 10px 18px;
    color: var(--blue) !important;
    border: 1px solid var(--blue);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    min-height: min(760px, calc(100vh - 84px));
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-image {
    z-index: -3;
    background: url("impac-hero-field.webp") center / cover no-repeat;
    transform: scale(1.01);
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 39, 75, .9) 0%, rgba(0, 55, 103, .68) 42%, rgba(0, 0, 0, .05) 72%),
        linear-gradient(0deg, rgba(0, 24, 48, .5) 0%, transparent 50%);
}

.hero::after {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 42%;
    height: 5px;
    background: var(--yellow);
    content: "";
}

.hero-content {
    width: var(--shell);
    margin: 0 auto;
    padding: clamp(100px, 14vh, 150px) 0 120px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 15px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero .eyebrow {
    display: inline-block;
    padding: 7px 12px;
    color: var(--blue-deep);
    background: var(--yellow);
}

.hero h1 {
    max-width: 750px;
    margin: 22px 0 20px;
    font-size: clamp(62px, 8vw, 112px);
    font-weight: 1000;
    letter-spacing: -.065em;
    line-height: .83;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    color: var(--yellow);
    font-size: .54em;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.hero-lead {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(20px, 2vw, 27px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--blue-deep);
    background: var(--yellow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.button-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, .75);
    background: rgba(0, 43, 80, .25);
}

.scroll-cue {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 35px;
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}

.scroll-cue i {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
}

.scroll-cue i::after {
    display: block;
    width: 8px;
    height: 8px;
    margin: 13px auto 0;
    border-right: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
    content: "";
    transform: rotate(45deg);
}

.section {
    padding: clamp(78px, 9vw, 124px) 0;
}

.section-shell {
    width: var(--shell);
    margin: 0 auto;
}

.trajectory {
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 210, 0, .17), transparent 22%),
        var(--surface);
}

.trajectory-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

.trajectory-visual {
    position: relative;
    min-height: 430px;
    padding: 54px 45px;
    color: var(--white);
    background: var(--blue);
    border-radius: 0 72px 0 72px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.trajectory-visual::before,
.trajectory-visual::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    content: "";
}

.trajectory-visual::before {
    right: -80px;
    bottom: -100px;
    width: 310px;
    height: 310px;
}

.trajectory-visual::after {
    right: 30px;
    bottom: 10px;
    width: 110px;
    height: 110px;
    background: var(--yellow);
    border: 0;
}

.visual-number {
    position: relative;
    z-index: 2;
    color: var(--yellow);
    font-size: clamp(118px, 15vw, 190px);
    font-weight: 1000;
    letter-spacing: -.09em;
    line-height: .8;
}

.visual-number span {
    font-size: .36em;
    vertical-align: top;
}

.visual-lines {
    width: 85px;
    height: 7px;
    margin: 38px 0 24px;
    background: var(--yellow);
}

.trajectory-visual p {
    position: relative;
    z-index: 2;
    max-width: 310px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.trajectory-copy h2,
.section-heading h2,
.experience-copy h2,
.contact h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -.045em;
    line-height: .98;
}

.trajectory-copy > p:not(.section-kicker) {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.trajectory-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 34px 0 0;
}

.trajectory-points div {
    padding-top: 18px;
    border-top: 3px solid var(--yellow);
}

.trajectory-points dt {
    font-weight: 900;
}

.trajectory-points dd {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 48px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading > p:not(.section-kicker) {
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 18px;
}

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

.solution-card {
    position: relative;
    min-height: 430px;
    padding: 34px;
    color: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 38px rgba(15, 49, 77, .12);
    transition: transform .25s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-card::after {
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 230px;
    height: 230px;
    border: 30px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
}

.solution-card-orange {
    background: linear-gradient(145deg, #f27723, #c93a0b);
}

.solution-card-blue {
    margin-top: 38px;
    background: linear-gradient(145deg, #0878c8, #004481);
}

.solution-card-red {
    background: linear-gradient(145deg, #d9273e, #900c22);
}

.solution-index {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.solution-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 68px 0 24px;
    place-items: center;
    color: var(--yellow);
    border: 2px solid rgba(255, 255, 255, .28);
    border-radius: 18px;
    font-size: 34px;
    font-weight: 900;
}

.solution-card h3 {
    max-width: 310px;
    margin: 0;
    font-size: 28px;
    letter-spacing: -.025em;
    line-height: 1.03;
}

.solution-card p {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .82);
}

.solution-card a {
    position: absolute;
    z-index: 2;
    bottom: 32px;
    left: 34px;
    color: var(--yellow);
    font-weight: 850;
    text-decoration: none;
}

.experience {
    color: var(--white);
    background:
        linear-gradient(100deg, rgba(0, 40, 78, .98), rgba(0, 95, 174, .9)),
        url("impac-hero-field.webp") center / cover no-repeat;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

.section-kicker.light {
    color: var(--yellow);
}

.experience-copy p:not(.section-kicker) {
    max-width: 620px;
    margin: 24px 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
}

.text-link {
    color: var(--yellow);
    font-weight: 850;
    text-decoration: none;
}

.experience-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: var(--ink);
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.experience-values div {
    min-width: 0;
    padding: 34px 22px;
    text-align: center;
}

.experience-values div + div {
    border-left: 1px solid var(--line);
}

.experience-values strong {
    display: block;
    color: var(--blue);
    font-size: 48px;
    line-height: 1;
}

.experience-values span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.why {
    background: var(--surface);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.value-grid article {
    min-height: 270px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: border-color .2s ease, transform .2s ease;
}

.value-grid article:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
}

.value-number {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.value-grid h3 {
    margin: 68px 0 12px;
    font-size: 25px;
}

.value-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.contact {
    padding: 75px 0;
    color: var(--white);
    background: var(--blue);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 60px;
    align-items: center;
}

.contact h2 {
    max-width: 760px;
}

.contact p:not(.section-kicker) {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.button-yellow {
    width: 100%;
    color: var(--blue-deep);
    background: var(--yellow);
}

.contact-phone {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.site-footer {
    padding: 66px 0 22px;
    color: rgba(255, 255, 255, .74);
    background: #052746;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 60px;
}

.footer-brand .brand-logo {
    width: 158px;
    max-height: none;
}

.footer-brand p {
    max-width: 330px;
    margin-top: 16px;
}

.footer-grid h2 {
    margin: 0 0 15px;
    color: var(--white);
    font-size: 15px;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    margin-top: 52px;
    padding-top: 20px;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
}

.footer-bottom a {
    color: var(--yellow);
    text-decoration: none;
}

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

@media (max-width: 960px) {
    :root {
        --shell: min(100% - 36px, 760px);
    }

    .menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 10px;
        place-content: center;
        gap: 5px;
        background: transparent;
        border: 1px solid var(--line);
        border-radius: 12px;
    }

    .menu-toggle span:not(.sr-only) {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--blue);
        transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: 84px;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 42px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        transform: translateX(100%);
        transition: transform .25s ease;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav a {
        padding: 19px 0;
        font-size: 22px;
        border-bottom: 1px solid var(--line);
    }

    .nav-contact {
        margin-top: 20px;
        padding: 14px 20px !important;
        text-align: center;
    }

    .trajectory-grid,
    .experience-grid,
    .contact-inner {
        grid-template-columns: 1fr;
    }

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

    .solution-card,
    .solution-card-blue {
        min-height: 360px;
        margin-top: 0;
    }

    .solution-icon {
        margin-top: 30px;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    :root {
        --shell: calc(100% - 28px);
        --radius: 20px;
    }

    .site-header {
        height: 72px;
    }

    .brand-logo {
        width: 122px;
        max-height: 30px;
    }

    .main-nav {
        top: 72px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-image {
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(0, 39, 75, .92), rgba(0, 55, 103, .58)),
            linear-gradient(0deg, rgba(0, 24, 48, .58), transparent 60%);
    }

    .hero-content {
        padding-top: 92px;
    }

    .hero h1 {
        font-size: clamp(56px, 20vw, 78px);
    }

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

    .scroll-cue span {
        display: none;
    }

    .trajectory-visual {
        min-height: 340px;
        padding: 42px 30px;
        border-radius: 0 48px 0 48px;
    }

    .trajectory-points,
    .experience-values,
    .value-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .experience-values div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .value-grid article {
        min-height: 220px;
    }

    .value-grid h3 {
        margin-top: 42px;
    }

    .contact {
        padding: 62px 0;
    }

    .contact-actions {
        align-items: stretch;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
