:root {
    --green-950: #041C16;
    --green-900: #062820;
    --green-800: #0B3D2E;
    --green-700: #1A5C40;
    --green-600: #247A52;
    --gold: #C4A35A;
    --gold-light: #E0C57A;
    --ink: #122820;
    --muted: #5F766C;
    --sand: #E8EFEC;
    --white: #fff;
    --max: 1120px;
    --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background: #F3F7F5;
    line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .display {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.site-header.is-solid {
    background: rgba(6, 40, 32, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(6, 40, 32, 0.18);
}
.site-header-inner {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: .95rem;
}
.site-brand img {
    width: 42px; height: 42px;
    object-fit: contain;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.site-nav a {
    color: rgba(255,255,255,.88);
    font-size: .82rem;
    font-weight: 600;
    padding: .45rem .65rem;
    border-radius: 999px;
}
.site-nav a:hover,
.site-nav a.active { color: var(--gold-light); }
.site-nav .nav-cta {
    margin-left: .35rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--green-900) !important;
    padding: .5rem .95rem;
}
.nav-toggle {
    display: none;
    border: 0;
    background: rgba(255,255,255,.12);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: 10px;
    font-size: 1.3rem;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    background: #062820;
}
.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4,28,22,.35) 0%, rgba(4,28,22,.55) 45%, rgba(4,28,22,.88) 100%),
        url('https://images.unsplash.com/photo-1587174486073-ae5e5cff23aa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding: calc(var(--header-h) + 4rem) 0 4.5rem;
}
.hero-brand {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin: 0 0 .75rem;
    max-width: 14ch;
    text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.hero-lead {
    max-width: 34rem;
    font-size: 1.08rem;
    color: rgba(255,255,255,.86);
    margin: 0 0 1.6rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 0;
    border-radius: 999px;
    padding: .85rem 1.35rem;
    font: 700 .9rem 'DM Sans', sans-serif;
    cursor: pointer;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--green-900);
    box-shadow: 0 12px 28px rgba(168, 134, 63, .28);
}
.btn-ghost {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
}
.section-alt .btn-ghost,
.section:not(.section-dark) .btn-ghost {
    background: transparent;
    color: var(--green-800);
    border-color: rgba(11,61,46,.28);
}
.btn-green {
    background: linear-gradient(135deg, var(--green-600), var(--green-800));
    color: #fff;
}

.section {
    padding: 4.5rem 0;
}
.section-inner {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}
.section-head {
    max-width: 40rem;
    margin-bottom: 2rem;
}
.section-head h2 {
    margin: 0 0 .55rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head p {
    margin: 0;
    color: var(--muted);
}
.section-alt {
    background: linear-gradient(180deg, #E8EFEC 0%, #F3F7F5 100%);
}
.section-dark {
    background:
        radial-gradient(ellipse 70% 80% at 100% 0%, rgba(196,163,90,.14), transparent 50%),
        linear-gradient(145deg, var(--green-800), var(--green-950));
    color: #fff;
}
.section-dark .section-head p { color: rgba(255,255,255,.72); }

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feature-item {
    padding: 1.4rem 0;
    border-top: 1px solid rgba(11,61,46,.12);
}
.feature-item h3 {
    margin: 0 0 .45rem;
    font-size: 1.15rem;
}
.feature-item p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.list-stack {
    display: grid;
    gap: 1rem;
}
.list-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(11,61,46,.1);
}
.list-row h3 {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
}
.list-row p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}
.list-row .meta {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--green-700);
    white-space: nowrap;
}
.section-dark .list-row {
    border-bottom-color: rgba(255,255,255,.12);
}
.section-dark .list-row p { color: rgba(255,255,255,.72); }
.section-dark .list-row .meta { color: var(--gold-light); }

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.membership-panel {
    padding: 1.5rem 0;
    border-top: 2px solid var(--gold);
}
.membership-panel h3 {
    margin: 0 0 .5rem;
    font-size: 1.25rem;
}
.membership-panel .fee {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    color: var(--green-800);
    margin-bottom: .65rem;
}
.membership-panel p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.stat {
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,.18);
}
.stat strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--gold-light);
}
.stat span {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
}

.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 3.5rem) 0 3rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6,40,32,.88), rgba(11,61,46,.82)),
        url('https://images.unsplash.com/photo-1535131749006-b7f58c99034b?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.page-hero-inner {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}
.page-hero h1 {
    margin: 0 0 .6rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    max-width: 16ch;
}
.page-hero p {
    margin: 0;
    max-width: 36rem;
    color: rgba(255,255,255,.82);
}

.prose {
    max-width: 42rem;
}
.prose p { color: var(--muted); }
.prose p + p { margin-top: 1rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}
.contact-details p {
    margin: 0 0 .85rem;
    color: var(--muted);
}
.contact-details strong {
    display: block;
    font-family: 'Cinzel', serif;
    color: var(--green-800);
    margin-bottom: .2rem;
}
.form-stack {
    display: grid;
    gap: .85rem;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
}
.apply-agree {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .88rem;
    color: var(--muted);
    cursor: pointer;
}
.apply-agree input {
    margin-top: .2rem;
    accent-color: var(--green-700);
    width: auto;
}
@media (max-width: 640px) {
    .form-row-2 { grid-template-columns: 1fr; }
}
.form-stack label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .3rem;
}
.form-stack input,
.form-stack textarea,
.form-stack select {
    width: 100%;
    border: 1px solid rgba(11,61,46,.18);
    border-radius: 12px;
    padding: .85rem 1rem;
    font: 500 1rem 'DM Sans', sans-serif;
    background: #fff;
}
.form-stack input:focus,
.form-stack textarea:focus {
    outline: none;
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(26,92,64,.12);
}
.alert {
    padding: .85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: .92rem;
}
.alert-ok { background: #E8F6EE; color: var(--green-800); }
.alert-err { background: #FDECEC; color: #B33A3A; }

.cta-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.cta-band h2 { margin: 0 0 .35rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.75); }

.site-footer {
    background: var(--green-950);
    color: rgba(255,255,255,.78);
    padding: 3.5rem 0 1.5rem;
}
.site-footer-grid {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.5rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .75rem;
}
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand strong {
    font-family: 'Cinzel', serif;
    color: #fff;
}
.site-footer h4 {
    margin: 0 0 .75rem;
    font-size: .95rem;
    color: var(--gold-light);
}
.site-footer a,
.site-footer p {
    display: block;
    margin: 0 0 .45rem;
    font-size: .9rem;
    color: rgba(255,255,255,.72);
}
.site-footer a:hover { color: var(--gold-light); }
.site-web { text-transform: lowercase; }
.site-footer-bottom {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}

@media (max-width: 900px) {
    .nav-toggle { display: grid; place-items: center; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(6,40,32,.97);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
    }
    .site-nav.is-open { display: flex; }
    .site-nav .nav-cta { margin: .5rem 0 0; text-align: center; }
    .feature-strip,
    .membership-grid,
    .stats-row,
    .contact-grid,
    .site-footer-grid {
        grid-template-columns: 1fr;
    }
    .list-row {
        grid-template-columns: 1fr;
    }
}
