:root {
    --ink: var(--primary-color);
    --muted: var(--text-color);
    --orange-ink: var(--dark-orange);
    --line: var(--light-gray);
    --paper: var(--modern-bg);
    --display: 'Montserrat', sans-serif;
    --body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: #fff;
    letter-spacing: 0;
}

main {
    color: var(--ink);
    font-size: 18px;
}

main a {
    color: inherit;
    text-decoration: none;
}

main img {
    display: block;
    max-width: 100%;
}

main p,
main h1,
main h2,
main h3 {
    margin: 0;
}

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 5px;
}

.wrap {
    width: min(1280px, calc(100% - 96px));
    margin-inline: auto;
}

.icon {
    flex: 0 0 auto;
    object-fit: contain;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 20;
    padding: 12px 20px;
    color: #fff;
    background: var(--ink);
}

.skip-link:focus {
    top: 10px;
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(620px, calc(100svh - 160px));
    padding: 56px 0 30px;
    color: #fff;
    background: var(--primary-color);
}

.hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(46, 50, 64, .40), rgba(46, 50, 64, .22));
}

.hero-content {
    padding-top: 2px;
}

.hero-content h1 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
    color: #fff;
    margin-bottom: 32px;
}

.hero-content h1::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 2px;
    margin-right: 14px;
    background: var(--orange);
}

.hero-messages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

.hero-time {
    font-family: var(--display);
    font-size: 72px;
    line-height: 1.15;
    font-weight: 600;
}

.hero-time strong {
    color: var(--orange);
    font-weight: 600;
}

.hero-promise {
    min-width: 0;
    border-left: 1px solid #ffffff4d;
    padding: 8px 0 8px 48px;
}

.hero-promise>p {
    font-size: 36px;
    line-height: 1.45;
    font-weight: 400;
}

.hero-promise strong {
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 24px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease;
}

.button-orange {
    background: var(--orange);
    color: var(--primary-color);
}

.button-orange:hover {
    background: var(--light-orange);
}

.hero-actions .button {
    background: var(--dark-orange);
    color: #fff;
}

.button-dark {
    background: var(--ink);
    color: #fff;
}

.button-dark:hover {
    background: var(--primary-color);
    color: var(--orange);
}

.button-dark .icon,
.hero-actions .button .icon {
    filter: invert(1);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.text-link:hover {
    color: var(--orange-ink);
}

.light-link {
    color: #fff;
}

.light-link:hover {
    color: var(--light-orange);
}

.light-link .icon {
    filter: invert(1);
}

.hero-footnote {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    border-top: 1px solid #ffffff30;
    margin-top: 48px;
    padding-top: 21px;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
}

.hero-footnote>span+span {
    border-left: 1px solid #ffffff40;
    padding-left: 24px;
}

.hero-footnote>a {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.hero-footnote .icon {
    filter: invert(1);
}

.section {
    padding-block: 64px;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--dark-orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

h2 {
    font-family: var(--display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.section-heading>.text-link {
    margin-bottom: 3px;
}

.solutions .section-heading h2 {
    max-width: 760px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
}

.solution {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 22px 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    transition: border-color .2s ease;
}

.solution:hover,
.solution:focus-visible {
    border-color: var(--orange);
}

.solution:focus-visible {
    outline: 2px solid var(--dark-orange);
    outline-offset: 6px;
}

.solution-copy {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.solution-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--dark-orange);
    margin-bottom: 12px;
}

.latest {
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.solution h3 {
    font-family: var(--display);
    font-size: 23px;
    line-height: 1.4;
    font-weight: 600;
}

.solution-image {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 4px;
    background: linear-gradient(135deg, #f0f2f3, #fafafa);
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    mix-blend-mode: multiply;
}

.solution-photo img {
    object-fit: cover;
    padding: 0;
    mix-blend-mode: normal;
}

@media (prefers-reduced-motion: no-preference) {
    .solution-image img {
        transition: transform .3s ease;
    }

    .solution:hover .solution-image img,
    .solution:focus-visible .solution-image img {
        transform: scale(1.025);
    }
}

.solution-arrow {
    grid-column: 2;
    grid-row: 2;
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
    background: var(--light-gray);
}

.company {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.company-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}

.company-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--primary-color);
}

.company-photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-photo>span {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 16px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
}

.company-copy h2 {
    margin-bottom: 24px;
}

.company-copy>p:not(.eyebrow) {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 18px;
    max-width: 470px;
}

.company-copy>.text-link {
    margin-top: 10px;
}

.contact-band {
    padding-block: 54px;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.contact-inner h2 {
    font-size: 36px;
}

.contact-inner .button {
    flex-shrink: 0;
}

@media (max-width: 1135px) {
    .navbar.toggle .menu-dropdown {
        display: block !important;
    }
}

@media (min-width: 1600px) {
    .home-hero {
        min-height: 650px;
    }
}

@media (max-width: 1100px) {
    .wrap {
        width: calc(100% - 64px);
    }

    .hero-messages {
        gap: 40px;
    }

    .hero-time {
        font-size: 58px;
    }

    .hero-promise {
        padding-left: 32px;
    }

    .hero-promise>p {
        font-size: 31px;
    }

    .hero-actions {
        gap: 18px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .solution h3 {
        font-size: 24px;
    }

    .company-grid {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .hero-time {
        font-size: 48px;
    }

    .hero-promise>p {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: 18px;
    }

    .hero-footnote {
        gap: 12px 18px;
    }

    .hero-footnote>span+span {
        padding-left: 18px;
    }

    h2 {
        font-size: 36px;
    }

    .company-copy h2 {
        font-size: 32px;
    }

    .company-grid {
        gap: 36px;
    }
}

@media (max-width: 700px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .home-hero {
        min-height: 0;
        padding: 32px 0 24px;
    }

    .hero-image {
        object-position: 58% center;
    }

    .hero-content h1 {
        font-size: 16px;
        margin-bottom: 24px;
        max-width: 300px;
    }

    .hero-content h1::before {
        width: 20px;
        margin-right: 10px;
    }

    .hero-messages {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .hero-time {
        font-size: 46px;
    }

    .hero-promise {
        border: 0;
        padding: 0;
    }

    .hero-promise>p {
        font-size: 26px;
        max-width: 400px;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 22px;
        margin-top: 24px;
    }

    .hero-actions .button {
        min-height: 46px;
        padding: 11px 15px;
        font-size: 13px;
        gap: 15px;
    }

    .hero-actions .text-link {
        font-size: 14px;
    }

    .hero-footnote {
        margin-top: 30px;
        padding-top: 17px;
        font-size: 12px;
        gap: 8px 14px;
    }

    .hero-footnote>span+span {
        padding-left: 14px;
    }

    .hero-footnote>a {
        display: none;
    }

    .section {
        padding-block: 40px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .eyebrow {
        font-size: 13px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 32px;
    }

    .solutions-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .solution {
        gap: 18px 12px;
    }

    .solution h3 {
        font-size: 24px;
    }

    .company-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .company-photo {
        aspect-ratio: 4 / 3;
    }

    .company-copy>p:not(.eyebrow) {
        font-size: 16px;
    }

    .contact-band {
        padding-block: 40px;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .contact-inner h2 {
        font-size: 32px;
    }
}

@media (max-width: 380px) {
    .hero-time {
        font-size: 40px;
    }

    .hero-promise>p {
        font-size: 24px;
    }

    .solution h3 {
        font-size: 22px;
    }

    .solution-label {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: arrive .6s ease-out both;
    }

    @keyframes arrive {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}