:root {
    --ink: #101010;
    --steel: #aeaeae;
    --signal: #088c81;
    --paper: #f3f1ea;
    --line: rgba(16, 16, 16, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: 'Poppins', sans-serif;
}

a,
button,
input,
textarea,
select {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0;
    left: 1rem;
    z-index: 100;
    transform: translateY(-120%);
    background: var(--signal);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(16, 16, 16, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.primary-navigation > a:not(.nav-cta) {
    position: relative;
    padding: 0.75rem 0;
}

.primary-navigation > a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: 0.35rem;
    left: 0;
    height: 2px;
    background: var(--signal);
    content: '';
    transform: scaleX(0);
    transform-origin: left;
}

.primary-navigation > a:not(.nav-cta):hover,
.primary-navigation > a.is-active {
    color: white;
}

.primary-navigation > a:not(.nav-cta):hover::after,
.primary-navigation > a.is-active::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--signal);
    color: white;
    padding: 0.8rem 1rem;
}

.nav-cta:hover {
    background: white;
    color: var(--ink);
}

.nav-cta svg {
    width: 0.9rem;
}

.menu-toggle {
    display: none;
    color: white;
}

.eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-rule {
    width: 4rem;
    height: 0.2rem;
    background: var(--signal);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--signal);
}

.section-label::before {
    width: 2rem;
    height: 1px;
    background: currentColor;
    content: '';
}

.paper-section {
    background: var(--paper);
}

.hero-collage {
    position: relative;
    min-height: 520px;
}

.hero-collage-main,
.hero-collage-small,
.hero-collage-tall {
    position: absolute;
    overflow: hidden;
    background: var(--steel);
}

.hero-collage-main img,
.hero-collage-small img,
.hero-collage-tall img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-collage-main {
    top: 0;
    left: 12%;
    width: 57%;
    height: 68%;
}

.hero-collage-small {
    right: 0;
    bottom: 0;
    width: 34%;
    height: 40%;
}

.hero-collage-tall {
    bottom: 5%;
    left: 0;
    width: 22%;
    height: 46%;
}

.hero-collage-main::after,
.hero-collage-small::after,
.hero-collage-tall::after,
.image-frame::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.26);
    content: '';
    pointer-events: none;
}

.image-frame {
    position: relative;
    overflow: hidden;
    background: var(--steel);
}

.image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card {
    border-top: 1px solid var(--line);
}

.service-card:hover {
    border-color: var(--signal);
}

.service-card img {
    filter: saturate(0.86);
    transition: transform 350ms ease, filter 350ms ease;
}

.service-card:hover img {
    filter: saturate(1);
    transform: scale(1.04);
}

.service-card .service-image {
    overflow: hidden;
}

.number-mark {
    color: var(--signal);
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.feature-rule {
    border-top: 1px solid var(--line);
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.feature-table th,
.feature-table td {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    text-align: left;
    vertical-align: top;
}

.feature-table th {
    color: rgba(16, 16, 16, 0.52);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.feature-table td:first-child {
    color: var(--signal);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.service-row {
    border-top: 2px solid var(--ink);
}

.service-row:last-child {
    border-bottom: 1px solid var(--line);
}

.cta-band {
    background: var(--signal);
}

.large-type {
    font-size: 3.8rem;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.article-tile {
    border-top: 1px solid var(--line);
}

.article-tile:hover {
    border-color: var(--signal);
}

.footer-logo {
    display: block;
    width: 12rem;
    height: auto;
}

.footer-nav {
    display: grid;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    line-height: 1.5;
}

.footer-nav a:hover {
    color: white;
}

.footer-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-link svg {
    width: 1rem;
    min-width: 1rem;
    margin-top: 0.15rem;
    color: var(--signal);
}

.footer-contact-link:hover {
    color: white;
}

.form-field {
    width: 100%;
    border: 1px solid rgba(16, 16, 16, 0.25);
    background: white;
    padding: 0.9rem 1rem;
    color: var(--ink);
    font-size: 0.95rem;
}

.form-field:hover,
.form-field:focus {
    border-color: var(--signal);
}

.form-field[aria-invalid='true'] {
    border-color: #b42318;
}

.alert {
    border-left: 4px solid;
    padding: 1rem 1.1rem;
    font-size: 0.9rem;
}

.alert-success {
    border-color: var(--signal);
    background: rgba(8, 140, 129, 0.1);
}

.alert-error {
    border-color: #b42318;
    background: rgba(180, 35, 24, 0.08);
}

.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;
}

[data-aos] {
    will-change: transform, opacity;
}

@media (min-width: 768px) {
    .large-type {
        font-size: 8rem;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: inline-flex;
        width: 2.75rem;
        height: 2.75rem;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.35);
    }

    .menu-toggle svg {
        width: 1.2rem;
    }

    .primary-navigation {
        position: absolute;
        top: 100%;
        right: 1.25rem;
        left: 1.25rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: var(--ink);
        padding: 0.5rem;
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation > a:not(.nav-cta) {
        padding: 0.85rem 0.75rem;
    }

    .primary-navigation > a:not(.nav-cta)::after {
        right: 0.75rem;
        bottom: 0.45rem;
        left: 0.75rem;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 0.35rem;
    }

    .hero-collage {
        min-height: 390px;
    }

    .hero-collage-main {
        left: 9%;
        width: 63%;
        height: 64%;
    }

    .hero-collage-small {
        width: 37%;
        height: 35%;
    }

    .hero-collage-tall {
        width: 27%;
        height: 45%;
    }
}

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

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

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}
