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

:root {
    --cream: #F7F3EC;
    --warm-white: #FDFAF5;
    --green: #3A6B47;
    --green-light: #5A9068;
    --green-pale: #E8F0EA;
    --amber: #D4882A;
    --amber-light: #F0C47A;
    --charcoal: #2C2C2C;
    --mid: #6B6560;
    --border: #DDD6CC;
    --section-pad: clamp(4rem, 8vw, 7rem);
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm-white);
    color: var(--charcoal);
    font-size: 17px;
    line-height: 1.65;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 3.5rem);
    height: 64px;
}

.nav-logo {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green);
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.nav-logo span {
    display: block;
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--mid);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-cta {
    background: var(--green);
    color: white !important;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--green-light) !important;
    color: white !important;
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 1rem;
}

.mobile-menu a:hover {
    color: var(--green);
}

.mobile-menu .nav-cta {
    text-align: center;
    padding: 0.6rem;
    border-radius: 8px;
}

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

    .hamburger {
        display: flex;
    }

    .mobile-menu.open {
        display: flex;
    }
}

/* ── PAGE SECTIONS ── */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ── HERO ── */
#hero {
    background: var(--green);
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 540px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(90, 144, 104, 0.45) 0%, transparent 65%);
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--amber-light);
    color: var(--charcoal);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.hero-text h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-text h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--amber-light);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--amber);
    color: white;
    padding: 0.75rem 1.6rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}

.btn-primary:hover {
    background: #c07820;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 1.6rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
}

.hero-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    padding: 2rem;
}

.hero-card h3 {
    font-family: 'Fraunces', serif;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.pillar {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pillar:last-child {
    margin-bottom: 0;
}

.pillar-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pillar-text h4 {
    color: var(--amber-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.pillar-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 800px) {
    #hero {
        grid-template-columns: 1fr;
    }

    .hero-card {
        display: none;
    }
}

/* ── ABOUT STRIP (homepage) ── */
.strip {
    background: var(--cream);
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
}

.strip-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--charcoal);
}

.section-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

/* ── GOALS CARDS ── */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.goal-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.goal-card:hover {
    box-shadow: 0 8px 30px rgba(58, 107, 71, 0.10);
    transform: translateY(-2px);
}

.goal-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.goal-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.goal-card p {
    font-size: 0.9rem;
    color: var(--mid);
    line-height: 1.6;
}

.goal-card.primary {
    border-top: 3px solid var(--green);
}

.goal-card.secondary {
    border-top: 3px solid var(--amber);
}

/* ── ABOUT PAGE ── */
.about-hero {
    background: var(--green-pale);
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
    border-bottom: 1px solid var(--border);
}

.about-hero-inner {
    max-width: 760px;
}

.about-body {
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
    max-width: 860px;
    margin: 0 auto;
}

.about-body h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 2rem 0 0.75rem;
}

.about-body h2:first-child {
    margin-top: 0;
}

.about-body p {
    color: var(--mid);
    margin-bottom: 1rem;
    font-size: 0.97rem;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-body ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.about-body ul li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.55rem;
    color: var(--mid);
    font-size: 0.97rem;
}

.about-body ul li::before {
    content: '→';
    color: var(--green);
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

.value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.chip {
    background: var(--green-pale);
    color: var(--green);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    font-size: 0.83rem;
    font-weight: 500;
}

/* ── EVENTS PAGE ── */
.events-hero {
    background: var(--warm-white);
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
    border-bottom: 1px solid var(--border);
}

.events-body {
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
    max-width: 900px;
    margin: 0 auto;
}

.calendar-placeholder {
    background: white;
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.calendar-placeholder .cal-icon {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

.calendar-placeholder h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.calendar-placeholder p {
    color: var(--mid);
    font-size: 0.9rem;
    max-width: 440px;
    margin: 0 auto 1.25rem;
}

.calendar-instructions {
    background: var(--green-pale);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    max-width: 540px;
    margin: 0 auto;
}

.calendar-instructions h4 {
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.calendar-instructions ol {
    list-style: decimal;
    padding-left: 1.25rem;
}

.calendar-instructions ol li {
    font-size: 0.88rem;
    color: var(--mid);
    margin-bottom: 0.4rem;
}

.calendar-instructions code {
    background: white;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--green);
}

/* upcoming events list */
.upcoming-section h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.event-item {
    display: flex;
    gap: 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

.event-item:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.event-date {
    background: var(--green);
    color: white;
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    flex-shrink: 0;
    min-width: 52px;
}

.event-date .month {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.event-date .day {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-info h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.event-info p {
    font-size: 0.87rem;
    color: var(--mid);
}

.event-tag {
    display: inline-block;
    background: var(--amber-light);
    color: #7a4a00;
    font-size: 0.72rem;
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    font-weight: 500;
    margin-top: 0.4rem;
}

/* ── JOIN / CONTACT PAGE ── */
.join-hero {
    background: var(--green);
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
}

.join-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 0.75rem;
}

.join-hero p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}

.join-body {
    padding: var(--section-pad) clamp(1.5rem, 6vw, 4rem);
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 750px) {
    .join-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.87rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: var(--charcoal);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(58, 107, 71, 0.12);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    background: var(--green);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    width: 100%;
}

.form-submit:hover {
    background: var(--green-light);
    transform: translateY(-1px);
}

.form-note {
    font-size: 0.8rem;
    color: var(--mid);
    margin-top: 0.75rem;
    text-align: center;
}

.contact-info h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.contact-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
}

.contact-row .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.contact-row div h4 {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
}

.contact-row div p {
    font-size: 0.88rem;
    color: var(--mid);
}

.involvement-box {
    background: var(--green-pale);
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.involvement-box h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--green);
}

.involvement-box ul {
    list-style: none;
    padding: 0;
}

.involvement-box ul li {
    font-size: 0.88rem;
    color: var(--mid);
    margin-bottom: 0.4rem;
    display: flex;
    gap: 0.5rem;
}

.involvement-box ul li::before {
    content: '✓';
    color: var(--green);
    font-weight: 600;
}

.success-banner {
    display: none;
    background: var(--green-pale);
    border: 1px solid var(--green);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--green);
    font-size: 0.93rem;
}

.page-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── FOOTER ── */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.65);
    padding: 3rem clamp(1.5rem, 6vw, 4rem);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 650px) {
    footer {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    font-family: 'Fraunces', serif;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-brand span {
    font-size: 0.85rem;
    line-height: 1.6;
}

footer h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.4rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

footer ul li a:hover {
    color: white;
}

.footer-bottom {
    background: #1e1e1e;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active .animate {
    animation: fadeUp 0.5s ease both;
}

.page.active .animate:nth-child(2) {
    animation-delay: 0.08s;
}

.page.active .animate:nth-child(3) {
    animation-delay: 0.16s;
}

.page.active .animate:nth-child(4) {
    animation-delay: 0.24s;
}

.success-banner {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-weight: bold;
}

/* Green for success */
.success-banner.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Red for errors */
.success-banner.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-banner {
    display: block !important;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-weight: bold;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    position: relative;
    z-index: 9999;
}