:root {
    color-scheme: light;
    --bg: #f6f3ee;
    --surface: #ffffff;
    --ink: #18201d;
    --muted: #64706b;
    --line: #ded8cf;
    --accent: #126b5a;
    --accent-strong: #0d4f43;
    --gold: #c48a2c;
    --dark: #16211f;
    --dark-soft: #24322f;
    --radius: 8px;
    --shadow: 0 24px 70px rgba(24, 32, 29, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 5vw;
    background: rgba(246, 243, 238, 0.88);
    border-bottom: 1px solid rgba(222, 216, 207, 0.8);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand__mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius);
}

.brand__text {
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav--static {
    display: flex;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: clamp(56px, 7vw, 96px) 5vw;
    background:
        linear-gradient(115deg, rgba(18, 107, 90, 0.08), transparent 42%),
        radial-gradient(circle at 82% 28%, rgba(196, 138, 44, 0.22), transparent 30%);
}

.hero__content {
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

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

h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3.1rem, 8vw, 7.3rem);
    line-height: 0.94;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.25;
}

.hero__lead {
    max-width: 680px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
    color: #fff;
    background: var(--accent);
}

.button--primary:hover {
    background: var(--accent-strong);
}

.button--secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
}

.hero__visual {
    position: relative;
    min-height: 560px;
}

.hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    border: 1px solid rgba(222, 216, 207, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero__panel {
    position: absolute;
    right: clamp(12px, 2vw, 26px);
    bottom: clamp(12px, 2vw, 26px);
    width: min(330px, calc(100% - 24px));
    display: grid;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(222, 216, 207, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.metric {
    padding: clamp(18px, 3vw, 30px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.metric strong {
    display: block;
    color: var(--accent);
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.95;
}

.metric span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

.section {
    padding: clamp(72px, 9vw, 128px) 5vw;
}

.section__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.section--intro {
    background: var(--surface);
}

.section--dark {
    color: #fff;
    background: var(--dark);
}

.section--dark .eyebrow {
    color: #e0b66d;
}

.section--dark p {
    color: #edf2ef;
    font-weight: 600;
}

.section--muted {
    background: #ebe6dc;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
    gap: clamp(28px, 6vw, 86px);
    align-items: start;
}

.split > p,
.copy-stack p,
.experience__text p,
.contact__copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.12rem;
}

.section__heading {
    max-width: 780px;
    margin-bottom: 34px;
}

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

.service-card,
.process-step {
    min-height: 230px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.service-card p,
.process-step p {
    margin: 0;
    color: var(--muted);
}

.copy-stack {
    display: grid;
    gap: 18px;
}

.experience {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
    gap: clamp(28px, 6vw, 86px);
    align-items: center;
}

.experience__text {
    display: grid;
    gap: 20px;
}

.fact-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fact-list li {
    padding: 18px 20px;
    background: var(--surface);
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: 0 10px 34px rgba(24, 32, 29, 0.08);
    font-weight: 700;
}

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

.process-step span {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 22px;
    place-items: center;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius);
    font-weight: 800;
}

.contact {
    background: var(--dark-soft);
    color: #fff;
}

.contact .eyebrow {
    color: #e0b66d;
}

.contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
    gap: clamp(30px, 6vw, 90px);
    align-items: start;
}

.contact__copy {
    display: grid;
    gap: 18px;
}

.contact__copy p {
    color: #d6ddda;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 34px);
    background: #fff;
    border-radius: var(--radius);
    color: var(--ink);
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 15px;
    color: var(--ink);
    font: inherit;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(18, 107, 90, 0.14);
}

.form-status {
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 700;
}

.form-status--success {
    color: #0f4b3e;
    background: #dff5ee;
}

.form-status--error {
    color: #812b22;
    background: #ffe3df;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 5vw;
    color: #d6ddda;
    background: #101715;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.legal-page {
    background: var(--surface);
}

.legal-content {
    max-width: 820px;
}

.legal-content h1 {
    max-width: none;
    margin-bottom: 42px;
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.legal-content h2 {
    margin-top: 34px;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
}

.legal-content p {
    color: var(--muted);
}

@media (max-width: 980px) {
    .hero,
    .split,
    .experience,
    .contact__inner {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero__visual,
    .hero__visual img {
        min-height: 480px;
    }

    h1 {
        max-width: 13ch;
    }

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

@media (max-width: 720px) {
    .site-header {
        min-height: 66px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 66px;
        right: 5vw;
        left: 5vw;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav--static {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .site-nav a {
        padding: 14px;
    }

    .site-nav--static a {
        padding: 8px;
    }

    .hero {
        padding-top: 44px;
    }

    h1 {
        font-size: clamp(2.65rem, 15vw, 4rem);
    }

    .hero__panel {
        padding: 12px;
    }

    .hero__visual,
    .hero__visual img {
        min-height: 520px;
    }

    .hero__panel {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

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

    .service-card,
    .process-step {
        min-height: auto;
    }

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