:root {
    --ink: #18201f;
    --muted: #61706d;
    --paper: #f7f5ef;
    --panel: #ffffff;
    --teal: #0f766e;
    --teal-deep: #0b4d49;
    --coral: #dc6b53;
    --gold: #d79f32;
    --line: rgba(24, 32, 31, 0.14);
    --shadow: 0 24px 70px rgba(31, 47, 43, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(20px, 5vw, 72px);
    color: #fff;
    transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
    color: var(--ink);
    background: rgba(247, 245, 239, 0.92);
    box-shadow: 0 8px 30px rgba(28, 40, 38, 0.1);
    backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.join-actions {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
    letter-spacing: 0;
}

.site-nav {
    gap: clamp(16px, 3vw, 36px);
    font-size: 14px;
}

.site-nav a {
    opacity: 0.86;
}

.site-nav a:hover {
    opacity: 1;
}

.nav-action,
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-action {
    padding: 0 18px;
    border: 1px solid currentColor;
    font-size: 14px;
}

.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1b2a27;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(13, 21, 19, 0.82), rgba(13, 21, 19, 0.38) 46%, rgba(13, 21, 19, 0.12)),
        linear-gradient(0deg, rgba(13, 21, 19, 0.35), rgba(13, 21, 19, 0.05) 44%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 132px clamp(20px, 5vw, 72px) 92px;
    color: #fff;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(64px, 10vw, 132px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 560px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
    gap: 14px;
    margin-top: 38px;
    flex-wrap: wrap;
}

.button {
    padding: 0 24px;
    border: 1px solid transparent;
}

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

.button.secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.62);
}

.button.dark.secondary {
    color: var(--ink);
    border-color: rgba(24, 32, 31, 0.28);
}

.button.dark.primary {
    background: var(--teal-deep);
}

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

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(28px, 6vw, 88px);
    align-items: start;
}

h2 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

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

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 38px;
}

.section-head p {
    max-width: 430px;
}

.feature-section {
    background: #fffaf2;
}

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

.feature-card,
.member-grid article {
    min-height: 260px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 34px rgba(31, 47, 43, 0.06);
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-index {
    width: fit-content;
    color: var(--teal);
    font-weight: 900;
}

.feature-card p,
.member-grid p {
    margin-top: 18px;
}

.event-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.6fr);
    gap: clamp(30px, 7vw, 96px);
    align-items: center;
    background: #e9f1ed;
}

.event-copy p {
    max-width: 640px;
    margin-top: 24px;
}

.event-board {
    border-top: 1px solid rgba(24, 32, 31, 0.2);
}

.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    border-bottom: 1px solid rgba(24, 32, 31, 0.2);
    gap: 20px;
}

.event-row span {
    color: var(--muted);
}

.event-row strong {
    color: var(--teal-deep);
    font-size: clamp(24px, 4vw, 44px);
    line-height: 1;
}

.membership-section {
    background: var(--paper);
}

.section-head.compact {
    margin-bottom: 30px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.member-grid article {
    min-height: 210px;
    background: #fff;
}

.join-section {
    padding: clamp(42px, 5vw, 72px) clamp(20px, 5vw, 72px);
    color: #fff;
    background: var(--teal-deep);
}

.join-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.join-inner h2 {
    max-width: 780px;
    font-size: clamp(34px, 4.8vw, 58px);
}

.join-inner p {
    max-width: 620px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.join-actions {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(20px, 5vw, 72px);
    color: var(--muted);
    background: #fff;
    font-size: 14px;
}

@media (max-width: 980px) {
    .site-nav {
        display: none;
    }

    .intro-grid,
    .event-section,
    .join-inner {
        grid-template-columns: 1fr;
    }

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

    .section-head,
    .join-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .join-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 14px 18px;
    }

    .nav-action {
        display: none;
    }

    .hero {
        min-height: 88vh;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(13, 21, 19, 0.84), rgba(13, 21, 19, 0.56)),
            linear-gradient(0deg, rgba(13, 21, 19, 0.4), rgba(13, 21, 19, 0.08));
    }

    .hero-inner {
        padding: 116px 20px 72px;
    }

    .feature-grid,
    .member-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .member-grid article {
        min-height: auto;
    }

    .event-row {
        min-height: 78px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .site-footer {
        flex-direction: column;
    }
}
