:root {
    --bg: #f6f4ec;
    --bg-elevated: #ffffff;
    --ink: #1a201c;
    --ink-muted: #5b665f;
    --brand: #bf5a2a;
    --brand-dark: #92411d;
    --accent: #296847;
    --accent-dark: #1d4d34;
    --line: #d8ddd3;
    --line-strong: #b8c1b4;
    --hero-shadow: rgba(9, 24, 18, 0.52);
    --warm: #f2ca57;
    --success: #1f7a4f;
    --warning: #8b3c16;
}

.text-burnt-orange {
    color: var(--brand);
}

.bg-burnt-orange {
    background-color: var(--brand);
}

.text-earthy-green {
    color: var(--accent);
}

.bg-earthy-green {
    background-color: var(--accent);
}

.text-golden-yellow {
    color: var(--warm);
}

.bg-golden-yellow {
    background: linear-gradient(145deg, #f2ca57, #f7d77f);
}

.text-deep-charcoal {
    color: var(--ink);
}

.bg-deep-charcoal {
    background-color: var(--ink);
}

.border-golden-yellow {
    border-color: var(--warm);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body.site-body {
    margin: 0;
    color: var(--ink);
    font-family: "Outfit", sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 110% -10%, rgba(191, 90, 42, 0.18), transparent 40%),
        radial-gradient(circle at -20% 5%, rgba(41, 104, 71, 0.16), transparent 42%),
        linear-gradient(180deg, #f9f7f1 0%, #f2f1e8 100%);
}

body.site-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 36px 36px;
    mix-blend-mode: soft-light;
    opacity: 0.2;
    z-index: -1;
}

h1,
h2,
h3,
h4 {
    font-family: "Source Serif 4", serif;
    letter-spacing: -0.015em;
}

p {
    line-height: 1.68;
}

a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

img {
    max-width: 100%;
}

section {
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 14px;
    top: -120px;
    z-index: 1000;
    background: var(--ink);
    color: #fff;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
}

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

.site-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-topbar {
    background: linear-gradient(105deg, #1f5638, #10442b 60%, #2a6f4a);
    color: #ebf5ef;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.76rem;
}

.site-topbar .site-shell {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.26rem 0;
    align-items: center;
}

.site-topbar a {
    color: #fff5d8;
    text-decoration: none;
    font-weight: 600;
}

.site-header {
    position: -webkit-sticky;
    position: fixed !important;
    top: 0;
    z-index: 999;
    width: 100%;
    left: 0;
    right: 0;
    background: rgba(246, 244, 236, 0.86);
    border-bottom: 1px solid rgba(184, 193, 180, 0.6);
    backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
    background: rgba(246, 244, 236, 0.96);
    box-shadow: 0 16px 30px rgba(20, 43, 31, 0.1);
}

.nav-shell {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: min-height 0.24s ease;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-brand img {
    width: clamp(74px, 8vw, 108px);
    height: clamp(74px, 8vw, 108px);
    object-fit: contain;
    transition: width 0.24s ease, height 0.24s ease, transform 0.24s ease;
}

.site-header.is-scrolled .nav-shell {
    min-height: 62px;
}

.site-header.is-scrolled .site-brand img {
    width: clamp(58px, 6.2vw, 84px);
    height: clamp(58px, 6.2vw, 84px);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.site-nav a,
.mobile-menu a,
.link-action {
    color: var(--ink-muted);
    text-decoration: none;
    font-weight: 600;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
}

.site-nav a.is-active,
.site-nav a:hover {
    color: var(--brand);
    background: rgba(191, 90, 42, 0.12);
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.btn-action {
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.45rem 0.95rem;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 700;
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-solid {
    background: linear-gradient(135deg, var(--brand), #d06f40);
    color: #fff;
    box-shadow: 0 8px 16px rgba(191, 90, 42, 0.25);
}

.btn-solid:hover {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(184, 193, 180, 0.85);
    border-radius: 14px;
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ffffff, #f5f2e8);
    color: var(--ink);
    box-shadow: 0 10px 20px rgba(23, 47, 33, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
    border-color: rgba(191, 90, 42, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(23, 47, 33, 0.16);
}

.menu-toggle .hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .hamburger span {
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: #254f36;
    transition: transform 0.22s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.menu-toggle.is-open {
    border-color: rgba(191, 90, 42, 0.45);
    background: linear-gradient(145deg, #fffaf3, #f4ecde);
}

.menu-toggle.is-open .hamburger span {
    background: var(--brand);
}

.menu-toggle.is-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    border-top: 0;
    background:
        linear-gradient(160deg, #ffffff 0%, #f7f5ee 100%);
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.1rem;
    border-bottom: 1px solid rgba(184, 193, 180, 0.42);
    font-size: 1rem;
}

.mobile-menu a:last-child {
    border-bottom: 0;
}

.mobile-menu a.is-active {
    color: var(--brand);
}

.mobile-menu.open {
    border-top: 1px solid var(--line);
    padding: 0.95rem 1rem 1.15rem;
    max-height: calc(100vh - 92px);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    overflow-y: auto;
}

body.site-body.menu-open {
    overflow: hidden;
}

.site-main {
    min-height: 64vh;
    padding-top: var(--site-header-height, 78px);
}

.site-main .container {
    width: min(1180px, calc(100% - 2rem));
}

.site-main > section:first-child[class*="bg-cover"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 -80px 80px -76px var(--hero-shadow);
}

.site-main > section:first-child[class*="bg-cover"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    width: 62px;
    height: 4px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(242, 202, 87, 0.25), #f2ca57, rgba(242, 202, 87, 0.25));
    z-index: 2;
}

.site-main section article,
.site-main section figure,
.site-main section .rounded-lg,
.site-main section .rounded-xl {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.site-main section article:hover,
.site-main section figure:hover {
    transform: translateY(-4px);
}

.site-main .bg-white.rounded-lg,
.site-main .bg-white.rounded-xl,
.site-main article.bg-white,
.site-main article.bg-\[\#f5f5f0\] {
    border: 1px solid rgba(184, 193, 180, 0.45);
}

.site-main .bg-white.rounded-lg:hover,
.site-main .bg-white.rounded-xl:hover,
.site-main article.bg-white:hover {
    box-shadow: 0 22px 38px rgba(19, 48, 33, 0.11);
}

.site-main a.bg-burnt-orange,
.site-main button.bg-burnt-orange {
    box-shadow: 0 10px 18px rgba(191, 90, 42, 0.24);
}

.site-main a.bg-earthy-green,
.site-main button.bg-earthy-green {
    box-shadow: 0 10px 18px rgba(41, 104, 71, 0.22);
}

.site-main a.bg-earthy-green:hover,
.site-main button.bg-earthy-green:hover {
    background: var(--accent-dark);
    color: #fff;
}

.site-main input[type="text"],
.site-main input[type="email"],
.site-main input[type="password"],
.site-main input[type="date"],
.site-main select,
.site-main textarea {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
}

.site-main input[type="text"]:focus,
.site-main input[type="email"]:focus,
.site-main input[type="password"]:focus,
.site-main input[type="date"]:focus,
.site-main select:focus,
.site-main textarea:focus {
    border-color: rgba(191, 90, 42, 0.68);
    box-shadow: 0 0 0 4px rgba(191, 90, 42, 0.17);
    outline: none;
}

.site-main iframe {
    border: 0;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
}

.site-main video,
.site-main img {
    max-width: 100%;
    display: block;
}

.site-main .prose {
    color: #2d3730;
    font-size: 1.04rem;
}

.site-main .prose p + p {
    margin-top: 1rem;
}

.site-main .prose a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

.flash {
    margin-top: 1rem;
    padding: 0.86rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 500;
    box-shadow: 0 7px 16px rgba(18, 36, 25, 0.08);
}

.flash-info {
    background: #f5f8ff;
}

.flash-success {
    background: #ecf9f0;
    border-color: #8bc6a3;
    color: #1d663e;
}

.flash-warning {
    background: #fff6ec;
    border-color: #e6b38f;
    color: #8b3c16;
}

.flash-error {
    background: #fff1f1;
    border-color: #e6b0b0;
    color: #8d2828;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    margin-top: 4rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(242, 202, 87, 0.17), transparent 46%),
        linear-gradient(130deg, rgba(16, 56, 36, 0.98), rgba(8, 35, 25, 0.98));
    color: #deeadf;
    padding-top: 2.7rem;
}

.footer-grid {
    display: grid;
    gap: 1.7rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer h3 {
    margin: 0 0 0.9rem;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.site-footer p {
    margin: 0;
    color: #d2e4d4;
}

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

.site-footer li {
    margin-bottom: 0.42rem;
    color: #d2e4d4;
}

.site-footer a {
    color: #f4f3d2;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.55rem;
}

.newsletter-form input,
.newsletter-form button {
    height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0 0.85rem;
    font-family: inherit;
}

.newsletter-form input {
    background: #f4f7ef;
    color: var(--ink);
}

.newsletter-form button {
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: var(--brand-dark);
}

.site-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 1.8rem;
    padding: 0.95rem 0 1.3rem;
    font-size: 0.88rem;
    color: #c2d7c6;
}

@media (max-width: 1024px) {
    .nav-shell {
        min-height: 74px;
    }

    .site-brand img {
        width: clamp(66px, 10.2vw, 94px);
        height: clamp(66px, 10.2vw, 94px);
    }

    .site-header.is-scrolled .nav-shell {
        min-height: 60px;
    }

    .site-header.is-scrolled .site-brand img {
        width: clamp(52px, 8vw, 74px);
        height: clamp(52px, 8vw, 74px);
    }

    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

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

    .site-main > section:first-child[class*="bg-cover"]::after {
        bottom: 1rem;
    }
}

@media (max-width: 700px) {
    .site-shell,
    .site-main .container {
        width: min(1180px, calc(100% - 1.35rem));
    }

    .site-topbar {
        display: none;
    }

    .nav-shell {
        min-height: 132px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0.35rem;
    }

    .site-brand {
        grid-column: 2;
        justify-self: center;
    }

    .site-brand img {
        width: 146px;
        height: 146px;
    }

    .site-header.is-scrolled .nav-shell {
        min-height: 108px;
    }

    .site-header.is-scrolled .site-brand img {
        width: 114px;
        height: 114px;
    }

    .site-actions {
        grid-column: 3;
        justify-self: end;
        gap: 0.45rem;
    }

    .btn-action {
        padding: 0.4rem 0.78rem;
        font-size: 0.82rem;
    }

    .link-action {
        display: none;
    }

    .btn-solid {
        display: none;
    }

    .btn-ghost {
        display: none;
    }

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

    .site-main > section:first-child[class*="bg-cover"]::after {
        width: 48px;
        bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-topbar {
        font-size: 0.8rem;
    }

    .nav-shell {
        min-height: 124px;
    }

    .site-brand img {
        width: 128px;
        height: 128px;
    }

    .site-header.is-scrolled .nav-shell {
        min-height: 102px;
    }

    .site-header.is-scrolled .site-brand img {
        width: 102px;
        height: 102px;
    }

    .site-main > section[class*="h-[50vh]"],
    .site-main > section[class*="h-[46vh]"],
    .site-main > section[class*="h-[42vh]"] {
        min-height: 280px;
        height: 43vh;
    }

    .site-main > section[class*="min-h-[78vh]"] {
        min-height: 64vh;
    }
}

@media (max-width: 820px) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
