:root {
    --color-ink: #171a1f;
    --color-muted: #697078;
    --color-line: #d8d5cf;
    --color-paper: #f5f4f0;
    --color-white: #ffffff;
    --color-stone: #e7e2d8;
    --color-gold: #c5a04a;
    --color-gold-dark: #9b752d;
    --color-green: #2b2f35;
    --color-sage: #ece4cf;
    --shadow-soft: 0 20px 60px rgba(23, 26, 31, 0.14);
    --radius: 8px;
    --container: 1180px;
    --header-height: 82px;
    --font-main: Arial, Helvetica, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

body {
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-main);
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5.4rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3.1rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--color-muted);
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

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

.brand-mark {
    align-items: center;
    background: var(--color-green);
    border-radius: var(--radius);
    color: var(--color-white);
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.section {
    padding: 84px 0;
}

.eyebrow {
    color: var(--color-gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

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

.btn-primary:hover {
    background: #243932;
}

.btn-secondary {
    background: var(--color-white);
    border-color: var(--color-line);
    color: var(--color-ink);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--color-white);
}

.text-link {
    color: var(--color-gold-dark);
    font-weight: 700;
}

.page-hero {
    min-height: 460px;
    padding: 150px 0 90px;
    position: relative;
}

.page-hero::before {
    background: linear-gradient(90deg, rgba(31, 37, 36, 0.76), rgba(31, 37, 36, 0.26));
    content: "";
    inset: 0;
    position: absolute;
}

.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero h1,
.page-hero p:not(.eyebrow) {
    color: var(--color-white);
    max-width: 760px;
}

.page-hero p:not(.eyebrow) {
    font-size: 1.1rem;
    margin-top: 18px;
}

.compact-hero {
    background: linear-gradient(rgba(23, 26, 31, 0.54), rgba(23, 26, 31, 0.72)),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.section-heading {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 34px;
}

.section-heading a {
    color: var(--color-gold-dark);
    font-weight: 700;
}

.flash {
    border-radius: var(--radius);
    left: 50%;
    max-width: min(620px, calc(100% - 32px));
    padding: 14px 18px;
    position: fixed;
    top: 96px;
    transform: translateX(-50%);
    width: 100%;
    z-index: 90;
}

.flash-success {
    background: #e8f4ed;
    border: 1px solid #b8d6c3;
    color: #24503b;
}

.flash-error {
    background: #fff0ea;
    border: 1px solid #efc0ae;
    color: #8a3824;
}

.flash-info {
    background: #edf3f7;
    border: 1px solid #bfd0da;
    color: #28495a;
}

@media (max-width: 760px) {
    .section {
        padding: 58px 0;
    }

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

    .page-hero {
        min-height: 380px;
        padding-top: 128px;
    }
}
