:root {
    --ink: #1B2620;
    --green: #2F5D50;
    --green-d: #21453B;
    --terra: #C9763C;
    --terra-l: #E3A171;
    --cream: #F7F2E8;
    --sand: #EDE3D2;
    --line: #DCCFB9;
    --muted: #5E6B63;
    --white: #FFFDF9;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Karla', 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

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

a {
    color: var(--green);
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

.ser {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.12;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terra);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--terra);
}

/* ---------- header ---------- */

.topbar {
    background: var(--ink);
    color: var(--sand);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 40px;
}

.topbar span {
    opacity: 0.68;
    font-style: italic;
}

.topbar-links {
    display: flex;
    gap: 26px;
}

.topbar a {
    color: var(--sand);
    text-decoration: none;
    transition: color 0.2s ease;
}

.topbar a:hover {
    color: var(--terra-l);
}

.site-head {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 242, 232, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.site-head .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.logo img {
    width: 38px;
    height: 38px;
}

.logo b {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: block;
    line-height: 1.1;
}

.logo small {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    display: block;
    padding: 9px 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.on {
    background: var(--sand);
    color: var(--green-d);
}

.head-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--green);
    color: var(--white);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.head-cta:hover {
    background: var(--green-d);
    transform: translateY(-1px);
}

.burger {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    margin: 4px 0;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-p {
    background: var(--terra);
    color: #fff;
}

.btn-p:hover {
    background: #B4652F;
}

.btn-o {
    border-color: var(--ink);
    color: var(--ink);
}

.btn-o:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn-l {
    background: var(--white);
    color: var(--green-d);
}

.btn-l:hover {
    background: var(--sand);
}

/* ---------- hero ---------- */

.hero {
    padding: 78px 0 92px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -180px;
    top: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(201, 118, 60, 0.13), rgba(201, 118, 60, 0) 68%);
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(38px, 5.1vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    margin: 18px 0 22px;
}

.hero h1 em {
    font-style: italic;
    color: var(--terra);
}

.hero p.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 30em;
    margin: 0 0 30px;
}

.hero-acts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-fig {
    position: relative;
}

.hero-fig .arch {
    border-radius: 260px 260px 22px 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(27, 38, 32, 0.45);
}

.hero-fig .arch img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    left: -34px;
    bottom: 44px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 18px 40px -22px rgba(27, 38, 32, 0.5);
    max-width: 210px;
}

.hero-badge b {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 34px;
    color: var(--green);
    display: block;
    line-height: 1;
}

.hero-badge span {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
    display: block;
    margin-top: 6px;
}

/* ---------- stat rail ---------- */

.rail {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--sand);
}

.rail .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.rail .wrap > div {
    padding: 30px 24px;
    border-right: 1px solid var(--line);
}

.rail .wrap > div:first-child {
    padding-left: 0;
}

.rail .wrap > div:last-child {
    border-right: 0;
    padding-right: 0;
}

.rail b {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 32px;
    color: var(--green-d);
    display: block;
    line-height: 1.1;
}

.rail span {
    font-size: 13.5px;
    color: var(--muted);
}

/* ---------- sections ---------- */

section.pad {
    padding: 96px 0;
}

.sec-head {
    max-width: 640px;
    margin-bottom: 52px;
}

.sec-head h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(29px, 3.6vw, 42px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin: 16px 0 16px;
}

.sec-head p {
    color: var(--muted);
    margin: 0;
}

/* numbered editorial list */

.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 66px;
    align-items: center;
}

.split-fig img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 22px 180px 22px 22px;
    border: 1px solid var(--line);
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.steps li {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 26px 0;
    border-top: 1px solid var(--line);
}

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

.steps .n {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 26px;
    color: var(--terra);
}

.steps h3 {
    font-size: 19px;
    margin: 0 0 6px;
    font-weight: 700;
}

.steps p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
}

/* cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -28px rgba(27, 38, 32, 0.55);
}

.card .big {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 40px;
    color: var(--green);
    line-height: 1;
}

.card .big i {
    font-style: normal;
    font-size: 15px;
    font-family: 'Karla', sans-serif;
    color: var(--muted);
    margin-left: 8px;
}

.card h3 {
    font-size: 19px;
    margin: 18px 0 10px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
}

/* module table */

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

.mod {
    display: grid;
    grid-template-columns: 90px 1fr 1.25fr;
    gap: 24px;
    align-items: baseline;
    padding: 26px 4px;
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease, padding 0.2s ease;
}

.mod:hover {
    background: var(--sand);
    padding-left: 14px;
}

.mod .tag {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 700;
}

.mod h4 {
    margin: 0;
    font-size: 19px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
}

.mod p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
}

/* quote */

.quote {
    background: var(--green-d);
    color: var(--sand);
}

.quote .wrap {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 46px;
    align-items: center;
    padding-top: 84px;
    padding-bottom: 84px;
}

.quote img {
    width: 200px;
    height: 240px;
    object-fit: cover;
    border-radius: 120px 120px 16px 16px;
}

.quote blockquote {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.35;
    color: var(--white);
    font-style: italic;
}

.quote cite {
    display: block;
    margin-top: 22px;
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-l);
}

/* team */

.team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.team figure {
    margin: 0;
    text-align: center;
}

.team img {
    width: 168px;
    height: 168px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--sand);
}

.team h3 {
    margin: 0 0 4px;
    font-size: 19px;
    font-family: 'Fraunces', Georgia, serif;
}

.team .role {
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra);
    margin: 0 0 12px;
}

.team p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* faq */

.faq {
    max-width: 820px;
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 19px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--terra);
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    content: "–";
}

.faq p {
    color: var(--muted);
    margin: 14px 0 0;
    font-size: 15.5px;
    max-width: 68ch;
}

/* cta band */

.band {
    background: var(--ink);
    color: var(--sand);
    border-radius: 28px;
    padding: 58px 52px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 36px;
    align-items: center;
}

.band h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.16;
    margin: 0 0 12px;
    color: var(--white);
}

.band p {
    margin: 0;
    color: rgba(237, 227, 210, 0.72);
}

.band .acts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.band .acts .btn {
    justify-content: center;
}

/* ---------- inner page hero ---------- */

.phero {
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 64px 0 68px;
}

.phero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 16px 0 16px;
    max-width: 16ch;
}

.phero p {
    color: var(--muted);
    max-width: 58ch;
    margin: 0;
}

.crumb {
    font-size: 13px;
    color: var(--muted);
}

.crumb a {
    color: var(--muted);
}

/* prose (legal pages) */

.prose {
    max-width: 780px;
}

.prose h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 25px;
    margin: 44px 0 14px;
    line-height: 1.2;
}

.prose h3 {
    font-size: 18px;
    margin: 28px 0 8px;
}

.prose p,
.prose li {
    color: var(--muted);
    font-size: 16px;
}

.prose ul {
    padding-left: 20px;
}

.prose li {
    margin-bottom: 8px;
}

.prose .upd {
    display: inline-block;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- contact ---------- */

.cwrap {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 56px;
    align-items: start;
}

.form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 36px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    font-family: inherit;
    font-size: 16px;
    color: var(--ink);
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.14);
}

.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
}

.check input {
    margin-top: 4px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.cinfo {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}

.cinfo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cinfo-body {
    padding: 30px 28px;
    background: var(--sand);
}

.cinfo-body dl {
    margin: 0;
}

.cinfo-body dt {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 700;
    margin-top: 20px;
}

.cinfo-body dt:first-child {
    margin-top: 0;
}

.cinfo-body dd {
    margin: 4px 0 0;
    font-size: 16px;
}

.cinfo-body dd a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--terra);
}

/* success */

.done {
    text-align: center;
    padding: 120px 0 130px;
}

.done .mark {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 40px;
}

.done h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: clamp(32px, 4vw, 46px);
    margin: 0 0 14px;
}

.done p {
    color: var(--muted);
    max-width: 48ch;
    margin: 0 auto 30px;
}

/* ---------- digest page ---------- */

.dgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.dcard {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    padding: 30px 28px;
}

.dcard .tag {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 700;
}

.dcard h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 21px;
    margin: 12px 0 10px;
    font-weight: 600;
}

.dcard p {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
}

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

.metric {
    padding: 26px 22px;
    border-radius: 18px;
    background: var(--sand);
    border: 1px solid var(--line);
}

.metric b {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 34px;
    color: var(--green-d);
    display: block;
    line-height: 1.05;
}

.metric span {
    font-size: 14px;
    color: var(--muted);
}

/* ---------- footer ---------- */

.foot {
    background: var(--ink);
    color: rgba(237, 227, 210, 0.7);
    padding: 64px 0 30px;
    font-size: 15px;
}

.foot .cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(237, 227, 210, 0.16);
}

.foot h4 {
    color: var(--white);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.foot ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot li {
    margin-bottom: 9px;
}

.foot a {
    color: rgba(237, 227, 210, 0.7);
    text-decoration: none;
}

.foot a:hover {
    color: var(--terra-l);
}

.foot .brandline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.foot .brandline img {
    width: 34px;
    height: 34px;
}

.foot .brandline b {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 21px;
    color: var(--white);
}

.foot .bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: rgba(237, 227, 210, 0.5);
}

.disc {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(237, 227, 210, 0.45);
    max-width: 74ch;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    .hero .wrap,
    .split,
    .cwrap,
    .quote .wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-fig .arch img,
    .split-fig img {
        height: 400px;
    }

    .hero-badge {
        left: 16px;
    }

    .cards,
    .team,
    .dgrid {
        grid-template-columns: 1fr 1fr;
    }

    .rail .wrap {
        grid-template-columns: 1fr 1fr;
    }

    .rail .wrap > div {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

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

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

    .foot .cols {
        grid-template-columns: 1fr 1fr;
    }

    .quote img {
        width: 160px;
        height: 190px;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .topbar .wrap span {
        display: none;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 18px;
        gap: 2px;
    }

    .nav.open {
        display: flex;
    }

    .site-head .wrap {
        position: relative;
    }

    .burger {
        display: block;
    }

    .head-cta {
        display: none;
    }

    section.pad {
        padding: 66px 0;
    }

    .cards,
    .team,
    .dgrid,
    .metrics,
    .foot .cols {
        grid-template-columns: 1fr;
    }

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

    .band {
        padding: 38px 26px;
    }

    .form {
        padding: 26px 20px;
    }

    .hero {
        padding: 46px 0 64px;
    }

    .steps li {
        grid-template-columns: 44px 1fr;
    }
}
