:root {
    --bg: #f4efe4;
    --paper: #fffaf0;
    --ink: #101820;
    --muted: #5f675f;
    --line: #d9d0c1;
    --accent: #b7d36b;
    --accent-dark: #6f843e;
    --steel: #26313c;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    color: inherit;
}

.site-header {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-weight: 900;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--accent);
    border-radius: 12px;
    letter-spacing: .06em;
}

.brand-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nav {
    display: flex;
    gap: 28px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav a {
    text-decoration: none;
}

.top-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.top-cta,
.primary {
    background: var(--ink);
    color: var(--white);
}

.secondary {
    border: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
}

main {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 52px;
    padding: 62px 0 78px;
}

.eyebrow {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

h1 {
    max-width: 820px;
    font-size: clamp(46px, 7vw, 84px);
    line-height: .95;
    letter-spacing: -.065em;
}

.hero-text {
    max-width: 650px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}

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

.job-card {
    background: var(--steel);
    color: var(--white);
    border-radius: 18px;
    padding: 38px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
}

.job-card::after {
    content: "A&H";
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 84px;
    font-weight: 900;
    letter-spacing: -.08em;
    color: rgba(255, 255, 255, .06);
}

.job-card > * {
    position: relative;
    z-index: 1;
}

.job-label {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.job-card h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -.045em;
}

.job-card p:not(.job-label) {
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.mini-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.mini-list span {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 800;
}

.section {
    padding: 82px 0;
    border-top: 1px solid var(--line);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head h2,
.contact h2 {
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -.05em;
}

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

.service-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    min-height: 285px;
    box-shadow: 0 18px 50px rgba(16, 24, 32, .05);
}

.service-card span {
    display: block;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    margin-bottom: 52px;
}

.service-card h3 {
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.65;
}

.process-section {
    padding-bottom: 42px;
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-item {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.process-item strong {
    font-size: 20px;
    letter-spacing: -.03em;
}

.process-item p {
    color: var(--muted);
    line-height: 1.7;
    max-width: 760px;
}

.contact {
    margin: 72px 0 80px;
    background: var(--ink);
    color: var(--white);
    border-radius: 18px;
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.contact p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.7;
}

.light {
    background: var(--accent);
    color: var(--ink);
}

.footer {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 32px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .job-card {
        min-height: 340px;
    }

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

    .process-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

@media (max-width: 620px) {
    .site-header,
    main,
    .footer {
        width: min(100% - 26px, 1180px);
    }

    .site-header {
        min-height: 76px;
    }

    .brand-text,
    .top-cta {
        display: none;
    }

    .hero {
        padding: 38px 0 58px;
    }

    h1 {
        font-size: clamp(42px, 15vw, 64px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

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

    .section {
        padding: 56px 0;
    }

    .job-card,
    .contact {
        padding: 28px;
        border-radius: 16px;
    }

    .footer {
        flex-direction: column;
        line-height: 1.8;
    }
}
