:root {
    --ink: #162025;
    --text: #2a363c;
    --muted: #65727a;
    --line: #dce3e2;
    --paper: #f6f4ef;
    --white: #ffffff;
    --signal: #c94837;
    --deep: #173d43;
    --teal: #0f6c72;
    --gold: #c9952f;
    --mist: #eaf0ee;
    --shadow: 0 24px 56px rgba(22, 32, 37, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.16;
}

h1 {
    max-width: 11em;
    margin: 0;
    font-size: clamp(40px, 6.2vw, 78px);
}

h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
}

h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 40;
    padding: 8px 12px;
    color: var(--white);
    background: var(--ink);
    border-radius: 4px;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 14px clamp(20px, 5vw, 72px);
    background: rgba(246, 244, 239, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand strong {
    display: block;
}

.brand strong {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.1;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
}

.hero {
    position: relative;
    min-height: calc(100vh - 78px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(13, 21, 25, 0.9), rgba(13, 21, 25, 0.62) 48%, rgba(13, 21, 25, 0.18));
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(960px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(72px, 11vw, 132px) 0 clamp(150px, 19vw, 210px);
}

.hero h1 {
    color: var(--white);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.area-band .eyebrow {
    color: var(--gold);
}

.lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 11px 20px;
    font-weight: 900;
}

.button.primary {
    color: var(--white);
    background: var(--signal);
    border-color: var(--signal);
}

.button.secondary {
    color: var(--ink);
    background: var(--white);
}

.hero-facts {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: 0;
    left: clamp(20px, 5vw, 72px);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-facts div {
    min-height: 112px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.hero-facts div:last-child {
    border-right: 0;
}

.hero-facts strong {
    display: block;
    color: var(--ink);
    font-size: 25px;
    line-height: 1.2;
}

.hero-facts span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.section,
.contact-section,
.page-hero {
    padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 86px);
}

.section {
    border-bottom: 1px solid var(--line);
}

.intro-grid,
.contact-section {
    display: grid;
    grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
}

.section-heading p,
.contact-copy p,
.case-copy p,
.page-hero p:last-child,
.policy-body p {
    color: var(--muted);
}

.section-heading > p:last-child {
    margin: 18px 0 0;
    font-size: 17px;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.company-list div {
    min-height: 120px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.company-list dt,
.company-list dd {
    margin: 0;
}

.company-list dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.company-list dd {
    margin-top: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
}

.services {
    background: var(--white);
}

.compact {
    max-width: 780px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 36px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-grid article {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: var(--white);
}

.service-grid span {
    color: var(--signal);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.service-grid h3 {
    margin-top: auto;
}

.service-grid p {
    margin: 0;
    color: var(--muted);
}

.area-band {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: center;
    padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 86px);
    color: var(--white);
    background: var(--deep);
}

.area-band h2 {
    color: var(--white);
}

.area-band p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
}

.area-list {
    display: grid;
    grid-template-columns: repeat(7, minmax(92px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.area-list li {
    min-height: 64px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-weight: 900;
}

.case-feature {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 0.8fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
}

.case-feature.standalone {
    align-items: start;
}

.case-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.case-copy small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

.case-copy .button {
    margin-top: 24px;
}

.contact-section {
    background: var(--mist);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 12px 13px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.full {
    grid-column: 1 / -1;
}

.consent {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.consent input {
    width: auto;
}

.page-hero {
    min-height: 360px;
    display: grid;
    align-content: center;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.page-hero p:last-child {
    max-width: 760px;
    font-size: 18px;
}

.policy-body article {
    max-width: 900px;
    padding: clamp(26px, 4vw, 46px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.policy-body h2 {
    margin-top: 34px;
    font-size: 24px;
}

.policy-body h2:first-child {
    margin-top: 0;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    padding: 36px clamp(20px, 6vw, 86px);
    color: var(--white);
    background: var(--ink);
}

.site-footer p {
    max-width: 620px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.66);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

@media (max-width: 1080px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        white-space: nowrap;
    }

    .hero {
        min-height: 760px;
    }

    .hero-copy {
        padding-bottom: 220px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-band,
    .intro-grid,
    .contact-section,
    .case-feature {
        grid-template-columns: 1fr;
    }

    .area-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .site-header {
        min-height: 0;
        padding: 14px 18px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-media::after {
        background: linear-gradient(180deg, rgba(13, 21, 25, 0.36), rgba(13, 21, 25, 0.92));
    }

    .hero-copy {
        width: calc(100% - 36px);
        padding: 220px 0 260px;
    }

    h1 {
        font-size: clamp(36px, 13vw, 54px);
    }

    .lead {
        font-size: 16px;
    }

    .hero-facts,
    .company-list,
    .service-grid,
    .area-list,
    .contact-form,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero-facts div {
        min-height: 86px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-facts div:last-child {
        border-bottom: 0;
    }

    .section,
    .contact-section,
    .page-hero,
    .area-band {
        padding: 46px 20px;
    }

    .service-grid article {
        min-height: 230px;
    }
}
