:root {
    --earth-dark: #2d3319;
    --earth-medium: #4a5a2f;
    --earth-light: #8b9862;
    --sand: #e8dcc4;
    --clay: #c4a572;
    --sprout: #a8c686;
    --water: #6b9080;
    --leaf: #5a7a3a;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    overflow-x: clip;
    touch-action: pan-y;
    background: var(--sand);
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--earth-dark);
    background: var(--sand);
    line-height: 1.7;
    overflow-x: clip;
    width: 100%;
}

body.scroll-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: var(--scroll-y, 0);
}

.page-wrap {
    overflow: hidden;
}

/* Skip to main content - visible on focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--earth-dark);
    color: var(--sand);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    z-index: 10001;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: var(--spacing-sm);
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--sprout);
    z-index: 10001;
    transform-origin: left;
    transition: width 0.08s ease-out;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--earth-dark);
    color: var(--sand);
    border: 2px solid var(--earth-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(45, 51, 25, 0.25);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: backToTopIn 0.4s ease-out;
}
@keyframes backToTopIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
.back-to-top:hover {
    background: transparent;
    color: var(--earth-dark);
    transform: translateY(-2px);
}
.back-to-top:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

h1, h2, h3, h4 {
    font-family: 'Crimson Pro', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(232, 220, 196, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 2px solid var(--earth-light);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: var(--spacing-xs) var(--spacing-md);
    box-shadow: 0 2px 20px rgba(45, 51, 25, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--earth-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    color: var(--earth-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sprout);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--earth-dark);
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links a.nav-highlight {
    background: var(--sprout);
    color: var(--earth-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.nav-links a.nav-highlight:hover {
    background: var(--leaf);
    color: white;
}
.nav-links a.nav-highlight::after { display: none; }

.nav-links a:focus-visible,
.logo:focus-visible,
.cta-button:focus-visible,
.nav-toggle:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}

.lightbox-close:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}

/* Hamburger button - hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 2px solid var(--earth-medium);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(45, 51, 25, 0.08);
    border-color: var(--earth-dark);
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--earth-dark);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 60px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse 85% 70% at 50% 50%, rgba(232, 220, 196, 0.55) 0%, transparent 65%);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(15%);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-md);
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--earth-dark);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--earth-dark);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(232, 220, 196, 0.9), 0 2px 6px rgba(255, 255, 255, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--earth-dark);
    color: var(--sand);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.4s ease-out;
    border: 2px solid var(--earth-dark);
}

.cta-button:hover {
    background: transparent;
    color: var(--earth-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 51, 25, 0.2);
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.cta-button-produce {
    background: var(--sprout);
    color: var(--earth-dark);
}
.cta-button-produce:hover {
    background: transparent;
    color: var(--sprout);
    box-shadow: 0 4px 12px rgba(168, 198, 134, 0.3);
}

/* Section Styling */
/* Scroll margin so "Next section" jump doesn’t hide content under fixed nav */
main section[id] {
    scroll-margin-top: 5rem;
    overflow-x: clip;
    max-width: 100%;
}

.section-next {
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
    text-align: right;
    font-size: 0.95rem;
}
.section-next a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0.5rem;
    color: var(--earth-medium);
    text-decoration: none;
    border-bottom: 1px solid var(--earth-light);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.section-next a:hover {
    color: var(--earth-dark);
    border-bottom-color: var(--earth-dark);
}
.section-next a:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}
.practices .section-next,
.plants-section .section-next,
.steps .section-next,
.community .section-next,
.contact-section .section-next,
.map-section .section-next {
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: var(--earth-dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--sprout);
    border-radius: 2px;
    transition: width 0.4s ease-out;
}
.section-title.visible::after {
    width: 60px;
}

/* What is Permaculture */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--earth-medium);
}

.intro-text p {
    margin-bottom: var(--spacing-sm);
}

.principle-card {
    background: white;
    padding: var(--spacing-md);
    border-left: 4px solid var(--sprout);
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.08);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    border-radius: 10px;
}

.principle-card:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 30px rgba(45, 51, 25, 0.12);
}

.principle-card h3 {
    color: var(--earth-dark);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.principle-card p {
    color: var(--earth-medium);
}

/* Practices Section */
.practices {
    background: var(--earth-dark);
    color: var(--sand);
    margin: var(--spacing-xl) 0;
}

.practices .section-title {
    color: var(--sand);
}

.practices .section-title::after {
    background: var(--sprout);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.practice-item {
    background: rgba(232, 220, 196, 0.1);
    padding: var(--spacing-md);
    border-radius: 12px;
    transition: all 0.4s ease-out;
    border: 1px solid rgba(168, 198, 134, 0.2);
}

.practice-item:hover {
    background: rgba(232, 220, 196, 0.15);
    transform: translateY(-4px);
    border-color: var(--sprout);
}

.practice-item h3 {
    color: var(--sprout);
    margin-bottom: var(--spacing-sm);
    font-size: 1.4rem;
}

.practice-item p {
    color: var(--sand);
    opacity: 0.9;
}

/* Clickable practice cards — link to detailed pages */
.practice-item-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}
.practice-item-link:hover {
    border-color: var(--sprout);
    box-shadow: 0 0 0 1px var(--sprout);
}
.practice-read-more {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sprout);
    transition: color 0.2s ease;
}
.practice-item-link:hover .practice-read-more {
    color: white;
}

/* What's growing — bubble cloud; locations from your data only */
.plants-section {
    background: linear-gradient(180deg, #faf8f5 0%, white 100%);
    padding: var(--spacing-xl) var(--spacing-md);
}
.plants-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--earth-medium);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}
/* ── Fresh Produce Section ─────────────────────────────── */
.produce-section {
    background: linear-gradient(135deg, #f0f5ec 0%, #faf8f5 100%);
}
.produce-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--earth-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.produce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto var(--spacing-lg);
}
.produce-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(45, 51, 25, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.produce-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(45, 51, 25, 0.14);
}
.produce-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sand);
    cursor: pointer;
}
.produce-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.produce-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}
.produce-card:hover .produce-slide.active {
    transform: scale(1.05);
}
.produce-dots {
    position: absolute;
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}
.produce-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}
.produce-dot.active {
    background: white;
}
.produce-dot:hover {
    background: rgba(255,255,255,0.7);
}
/* Video slides */
video.produce-slide {
    object-fit: cover;
}
.produce-play-btn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s ease, opacity 0.3s ease;
    padding: 0;
    line-height: 52px;
    text-align: center;
}
.produce-play-btn.active {
    display: block;
}
.produce-play-btn.playing {
    opacity: 0;
    pointer-events: none;
}
.produce-img-wrap:hover .produce-play-btn.playing {
    opacity: 0.6;
    pointer-events: auto;
}
.produce-play-btn:hover {
    background: rgba(0,0,0,0.7);
}
.produce-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.produce-available {
    background: var(--sprout);
    color: var(--earth-dark);
}
.produce-upcoming {
    background: var(--clay);
    color: white;
}
.produce-badge.avail-loading {
    filter: blur(4px);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.produce-badge:not(.avail-loading) {
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.produce-info {
    padding: 1rem 1.25rem 1.25rem;
}
.produce-name {
    font-family: 'Crimson Pro', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--earth-dark);
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.produce-name-hi {
    font-weight: 400;
    font-size: 1rem;
    color: var(--earth-medium);
}
.produce-season {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    color: var(--water);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.produce-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--earth-medium);
    margin: 0;
}
.produce-cta {
    text-align: center;
    padding: var(--spacing-md) 0;
}
.produce-cta p {
    color: var(--earth-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}
/* Produce filter buttons */
.produce-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}
.produce-filter-btn {
    padding: 0.5rem 1.1rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--earth-medium);
    background: transparent;
    border: 2px solid var(--earth-light);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.produce-filter-btn:hover {
    border-color: var(--earth-dark);
    color: var(--earth-dark);
}
.produce-filter-btn.active {
    background: var(--earth-dark);
    color: var(--sand);
    border-color: var(--earth-dark);
}
.produce-filter-btn:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}
.produce-card.produce-hidden {
    display: none;
}

@media (max-width: 600px) {
    .produce-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        gap: 0.75rem;
        padding: 0 0.5rem 0.5rem;
    }
    .produce-grid::-webkit-scrollbar { display: none; }
    .produce-card {
        flex-shrink: 0;
        width: 80vw;
        max-width: 320px;
        scroll-snap-align: start;
    }
    .produce-card,
    .produce-card:hover {
        transform: none;
        box-shadow: 0 3px 12px rgba(45, 51, 25, 0.08);
    }
    .produce-card:hover .produce-img-wrap img {
        transform: none;
    }
    .produce-img-wrap img {
        -webkit-user-drag: none;
        user-select: none;
    }
}

/* ── Mobile sticky order bar ──────────────────────────── */
.mobile-order-bar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-order-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
        background: var(--earth-dark);
        color: white;
        text-decoration: none;
        font-family: 'Work Sans', sans-serif;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
        transition: background 0.2s;
    }
    .mobile-order-bar:active { background: var(--earth-medium); }
    .mobile-order-bar-icon { font-size: 1.2rem; }
    .mobile-order-bar-arrow {
        font-size: 1.1rem;
        opacity: 0.7;
    }
    .mobile-order-bar {
        transition: transform 0.3s ease;
    }
    .mobile-order-bar.hidden { transform: translateY(100%); }

    .cart-fab { bottom: 4.5rem; }
    .back-to-top { bottom: 4.5rem; }
}

/* ── Cart FAB + Drawer ────────────────────────────────── */
.cart-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--leaf);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(45, 51, 25, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 56px;
    text-align: center;
    padding: 0;
}
.cart-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(45, 51, 25, 0.4);
}
.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--clay);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    line-height: 22px;
    text-align: center;
}
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
}
.cart-overlay.open { display: block; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 200;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(45, 51, 25, 0.1);
}
.cart-drawer-header h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--earth-dark);
    margin: 0;
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--earth-medium);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}
.cart-empty {
    text-align: center;
    color: var(--earth-medium);
    padding: 2rem 0;
    font-size: 0.95rem;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(45, 51, 25, 0.06);
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--earth-dark);
}
.cart-item-name-hi {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--earth-medium);
    margin-left: 0.3rem;
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.cart-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(45, 51, 25, 0.2);
    background: var(--sand);
    color: var(--earth-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease;
}
.cart-qty-btn:hover { background: var(--sprout); }
.cart-qty-value {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 2.2rem;
    text-align: center;
    color: var(--earth-dark);
}
.cart-item-unit {
    font-size: 0.75rem;
    color: var(--earth-medium);
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--clay);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}
.cart-item-remove:hover { opacity: 1; }

.cart-drawer-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(45, 51, 25, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cart-send-btn {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem;
}
.cart-send-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.cart-clear-btn {
    background: none;
    border: none;
    color: var(--earth-medium);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    padding: 0.3rem;
}
.cart-clear-btn:hover { color: var(--clay); }

/* Add to cart button on produce cards */
.add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 0.65rem;
    border: 2px solid var(--leaf);
    border-radius: 8px;
    background: transparent;
    color: var(--leaf);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 0.75rem;
}
.add-to-cart-btn:hover {
    background: var(--leaf);
    color: white;
}
.add-to-cart-btn.in-cart {
    background: var(--sprout);
    border-color: var(--sprout);
    color: var(--earth-dark);
}

@media (max-width: 600px) {
    .cart-fab { bottom: 4.5rem; right: 1rem; width: 50px; height: 50px; font-size: 1.2rem; line-height: 50px; }
    .cart-drawer { width: 100vw; max-width: 100vw; }
}

/* ── Plants Section ───────────────────────────────────── */
.plants-forest-group {
    margin-bottom: var(--spacing-sm);
}
.plants-forest-group:last-of-type {
    margin-bottom: 0;
}
.plants-forest-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--earth-dark);
    margin-bottom: 0;
}
/* Plant card grid */
.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
/* Collapsible group toggle */
.plants-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: white;
    border: 1px solid rgba(139, 152, 98, 0.2);
    border-radius: 12px;
    padding: 0.9rem 1.15rem;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    box-shadow: 0 2px 6px rgba(45, 51, 25, 0.06);
    font-size: inherit;
}
.plants-toggle:hover {
    background: rgba(168, 198, 134, 0.08);
    box-shadow: 0 4px 12px rgba(45, 51, 25, 0.1);
}
.plants-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Crimson Pro', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--earth-dark);
}
.plants-toggle-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.plants-toggle-meta {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--earth-medium);
    opacity: 0.8;
}
.plants-toggle-arrow {
    font-size: 1.1rem;
    color: var(--earth-medium);
    transition: transform 0.3s ease;
    display: inline-block;
}
.plants-toggle.open .plants-toggle-arrow {
    transform: rotate(90deg);
}
.plants-location-icon {
    margin-right: 0.25rem;
}
/* Collapsed / expanded grid */
.plants-grid-collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.plants-grid:not(.plants-grid-collapsed) {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1rem;
    transition: max-height 0.5s ease, opacity 0.4s ease 0.1s, margin-top 0.3s ease;
}
/* Card stagger animation on expand */
.plant-card-animated {
    animation: plantCardIn 0.35s ease-out forwards;
}
.plant-card {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--earth-light);
    box-shadow: 0 2px 8px rgba(45, 51, 25, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 1;
    transform: translateY(0);
}
.plant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 51, 25, 0.13);
}
@keyframes plantCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.plant-card[data-category="Fruit"] {
    border-left-color: var(--sprout);
}
.plant-card[data-category="Non-Fruit"] {
    border-left-color: var(--earth-light);
}
.plant-card[data-category="Timber"] {
    border-left-color: var(--clay);
}
.plant-card[data-category="Medicinal"] {
    border-left-color: var(--water);
}
.plant-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.plant-card-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1;
}
.plant-card-name {
    font-family: 'Crimson Pro', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--earth-dark);
    flex: 1;
    line-height: 1.25;
}
.plant-card-count {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--earth-medium);
    background: var(--sand);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    flex-shrink: 0;
    white-space: nowrap;
}
.plant-card-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--earth-medium);
    margin: 0;
}
@media (max-width: 600px) {
    .plants-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .plants-toggle {
        padding: 0.75rem 0.9rem;
    }
    .plants-toggle-left {
        font-size: 1.15rem;
    }
    .plants-toggle-meta {
        display: none;
    }
}

/* Cycle subtitle */
.cycle-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--earth-medium);
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}

/* ── Permaculture Cycle Timeline ─────────────────────────── */
.cycle-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(232, 220, 196, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.75rem 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid rgba(45, 51, 25, 0.1);
    max-width: 100%;
}
.cycle-timeline::-webkit-scrollbar { display: none; }

.cycle-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
    min-width: 90px;
    flex-shrink: 0;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.cycle-node:hover {
    background: rgba(168, 198, 134, 0.12);
    transform: scale(1.05);
}
.cycle-node.active {
    background: rgba(168, 198, 134, 0.18);
    transform: scale(1.08);
}

.cycle-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--sand);
    border: 3px solid var(--earth-light);
    box-shadow: 0 2px 8px rgba(45, 51, 25, 0.08);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    z-index: 2;
}
.cycle-node.active .cycle-icon {
    border-color: var(--sprout);
    box-shadow: 0 0 0 4px rgba(168, 198, 134, 0.25), 0 4px 12px rgba(45, 51, 25, 0.15);
    background: rgba(168, 198, 134, 0.2);
}
.cycle-node:hover .cycle-icon {
    border-color: var(--sprout);
}

.cycle-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--earth-medium);
    margin-top: 0.4rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.cycle-node.active .cycle-label {
    color: var(--earth-dark);
}

/* Connector arrows between cycle nodes */
.cycle-connector {
    width: 32px;
    height: 2px;
    background: var(--earth-light);
    position: relative;
    flex-shrink: 0;
    opacity: 0.6;
}
.cycle-connector::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--earth-light);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Cycle return arrow — the closing loop indicator */
.cycle-return {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--sprout);
    font-size: 1.4rem;
    opacity: 0.7;
    margin-left: 4px;
}

/* All filter button */
.cycle-node-all {
    opacity: 0.7;
}
.cycle-node-all .cycle-icon {
    background: var(--earth-dark);
    border-color: var(--earth-dark);
    color: var(--sand);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Work Sans', sans-serif;
}
.cycle-node-all.active {
    opacity: 1;
}
.cycle-node-all.active .cycle-icon {
    background: var(--sprout);
    border-color: var(--sprout);
    box-shadow: 0 0 0 4px rgba(168, 198, 134, 0.25), 0 4px 12px rgba(45, 51, 25, 0.15);
}

@media (max-width: 768px) {
    .cycle-timeline {
        justify-content: flex-start;
        padding: 0.6rem 0.5rem;
        max-width: 100%;
    }
    .cycle-node { min-width: 72px; padding: 0.4rem 0.5rem; }
    .cycle-icon { width: 44px; height: 44px; font-size: 1.3rem; }
    .cycle-label { font-size: 0.7rem; }
    .cycle-connector { width: 20px; }
}

/* Gallery filter tabs (hidden — replaced by cycle) */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
}

.gallery-filter-btn {
    padding: 0.55rem 1.25rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--earth-medium);
    background: transparent;
    border: 2px solid var(--earth-light);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.gallery-filter-btn:hover {
    border-color: var(--earth-dark);
    color: var(--earth-dark);
}

.gallery-filter-btn[aria-selected="true"] {
    background: var(--earth-dark);
    color: var(--sand);
    border-color: var(--earth-dark);
}

.gallery-filter-btn:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}

/* Gallery category groups */
.gallery-category-group {
    margin-top: var(--spacing-lg);
}

.gallery-category-group.hidden {
    display: none;
}

.gallery-category-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    color: var(--earth-dark);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sprout);
    display: inline-block;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.15);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(45, 51, 25, 0.2);
}

.gallery-item {
    background: linear-gradient(90deg, #c4b99a 25%, #d4c9aa 50%, #c4b99a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}
.gallery-item:has(img.loaded),
.gallery-item:has(video) {
    animation: none;
    background: transparent;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-out, opacity 0.6s ease;
}

.gallery-item img.loading {
    opacity: 0;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.02);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(45, 51, 25, 0.9), transparent);
    color: var(--sand);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Getting Started */
.steps {
    background: white;
    padding: var(--spacing-xl) var(--spacing-md);
}

.step-timeline {
    max-width: 900px;
    margin: var(--spacing-lg) auto 0;
    position: relative;
}

.step-timeline::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: var(--sprout);
    border-radius: 1px;
    opacity: 0.6;
}

.step {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }
.step:nth-child(5) { animation-delay: 0.5s; }

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--sprout);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Crimson Pro', serif;
}

.step-content h3 {
    color: var(--earth-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1.6rem;
}

.step-content p {
    color: var(--earth-medium);
    line-height: 1.7;
}

/* Community Section */
.community {
    background: linear-gradient(135deg, var(--water) 0%, var(--earth-light) 100%);
    color: white;
    text-align: center;
}

.community .section-title {
    color: white;
}

.community .section-title::after {
    background: white;
    left: 50%;
    transform: translateX(-50%);
}

.community-text {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    font-size: 1.3rem;
    line-height: 1.8;
}

.workshop-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: var(--spacing-md) auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Community: In the News subsection */
.community-news-heading {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}
.community .news-intro {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-md);
}
.community .news-grid {
    margin-top: var(--spacing-md);
}

/* ── Gallery Page (standalone) ───────────────────────── */
.gallery-page-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(232, 220, 196, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 51, 25, 0.1);
    padding: 0.75rem var(--spacing-md);
}
.gallery-page-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.gallery-page-nav-back {
    font-size: 1.4rem;
    color: var(--earth-medium);
    text-decoration: none;
    line-height: 1;
    padding: 0.25rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-page-nav-back:hover { color: var(--earth-dark); }
.gallery-page-nav-logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--earth-dark);
    text-decoration: none;
}
.gallery-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md) var(--spacing-lg);
}
.gallery-page-header {
    text-align: center;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}
.gallery-page-header h1 {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--earth-dark);
    margin-bottom: 0.5rem;
}
.gallery-page-header p {
    font-size: 1.05rem;
    color: var(--earth-medium);
}
.gallery-page-footer {
    background: var(--earth-dark);
    color: var(--sand);
    text-align: center;
    padding: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ── Blog Section ────────────────────────────────────── */
.blog-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--earth-medium);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: var(--spacing-md);
}
.blog-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 3px 16px rgba(45, 51, 25, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(45, 51, 25, 0.14);
}
.blog-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.blog-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--water);
    background: rgba(107, 144, 128, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    margin-bottom: 0.6rem;
}
.blog-card-body h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--earth-dark);
    margin-bottom: 0.5rem;
}
.blog-card-body p {
    font-size: 0.92rem;
    color: var(--earth-medium);
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.news-card {
    background: var(--sand);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.1);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(45, 51, 25, 0.18);
}

.news-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(45, 51, 25, 0.06);
}
.news-card-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-bottom: 3px solid var(--sprout);
    cursor: pointer;
}

.news-card .click-hint {
    text-align: center;
    padding: 0.4rem;
    font-size: 0.8rem;
    color: var(--earth-light);
    background: rgba(45, 51, 25, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* Lightbox overlay for enlarging images */
.lightbox-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: var(--spacing-md);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.22s ease, background 0.22s ease;
    pointer-events: none;
}

.lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 0.85);
    pointer-events: auto;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.25s ease-out, opacity 0.2s ease-out;
}

.lightbox-overlay.active img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    font-family: 'Work Sans', sans-serif;
}

.lightbox-close:hover {
    color: var(--sprout);
}

/* Lightbox navigation arrows */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10000;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
    font-family: 'Work Sans', sans-serif;
    line-height: 1;
    border: none;
    padding: 0;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
    color: var(--sprout);
}

.lightbox-nav:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    z-index: 10000;
    font-family: 'Work Sans', sans-serif;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

.news-card-body {
    padding: var(--spacing-md);
}

.news-card-body h3 {
    color: var(--earth-dark);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
}

.news-card-body .news-source {
    color: var(--earth-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.news-card-body p {
    color: var(--earth-medium);
    line-height: 1.6;
}

/* Location / Map */
.map-section {
    background: white;
    padding: var(--spacing-xl) var(--spacing-md);
}

.map-section .section-title {
    text-align: center;
    display: block;
}

.map-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.map-address {
    text-align: center;
    font-size: 1.1rem;
    color: var(--earth-medium);
    margin-bottom: var(--spacing-xs);
}
.map-address a {
    color: var(--earth-dark);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--sprout);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.map-address a:hover {
    color: var(--water);
    border-bottom-color: var(--water);
}
.map-address a:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}
.map-directions {
    text-align: center;
    margin-bottom: var(--spacing-md);
}
.map-directions .cta-button {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
}
.cta-button-external::after {
    content: ' ↗';
    font-size: 0.9em;
    opacity: 0.9;
}
.gallery-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--earth-medium);
}

.map-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 51, 25, 0.12);
    border: 2px solid var(--earth-light);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 300px;
    }
}

/* Footer */
footer {
    background: var(--earth-dark);
    color: var(--sand);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    overflow-x: clip;
}

footer p {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(232, 220, 196, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 2px solid var(--earth-light);
        padding: var(--spacing-sm);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 8px 20px rgba(45, 51, 25, 0.1);
    }

    nav.nav-open .nav-links {
        max-height: 420px;
        opacity: 1;
        overflow-y: auto;
    }

    .nav-links a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: 4px;
    }

    .nav-links a.nav-highlight {
        display: inline-block;
        margin: 0.25rem var(--spacing-md);
        padding: 0.5rem 1.2rem;
        text-align: center;
    }

    .nav-links a:hover {
        background: rgba(45, 51, 25, 0.06);
    }

    .nav-links a::after {
        display: none;
    }

    .hero {
        height: 80vh;
    }

    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

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

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

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        gap: 0.75rem;
        padding: 0 0.5rem 0.5rem;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item {
        flex-shrink: 0;
        width: 80vw;
        max-width: 340px;
        scroll-snap-align: start;
    }
    .gallery-item,
    .gallery-item:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(45, 51, 25, 0.15);
    }
    .gallery-item:hover img,
    .gallery-item:hover video {
        transform: none;
    }
    .gallery-item img,
    .gallery-item video {
        -webkit-user-drag: none;
        user-select: none;
    }
    .gallery-caption {
        transform: translateY(0);
        font-size: 0.85rem;
        padding: var(--spacing-sm);
    }

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery captions always visible on touch/mobile — handled inside 600px breakpoint */

/* Footer team photo */
.footer-team-photo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 2rem;
    object-fit: cover;
}

/* Principle card spacing (replaces inline style) */
.principle-card-spaced {
    margin-top: 1rem;
}

/* Steps intro (replaces inline style) */
.steps-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--earth-medium);
    margin-bottom: 3rem;
}

/* News intro (replaces inline style) */
.news-intro {
    font-size: 1.2rem;
    color: var(--earth-medium);
    margin-top: var(--spacing-md);
}

/* Community text closing (replaces inline style) */
.community-text-closing {
    margin-top: 2rem;
}

/* Footer name and copyright (replaces inline styles) */
.footer-name {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-copyright {
    margin-top: 2rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Practice icons */
.practice-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
    transition: transform 0.3s ease;}

/* (plant color legend removed — info now visible on cards) */

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--sand) 0%, #f5f0e6 100%);
    padding: var(--spacing-xl) var(--spacing-md);
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--earth-medium);
    max-width: 700px;
    margin: var(--spacing-md) auto var(--spacing-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: block;
    min-height: 44px;
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--earth-dark);
    box-shadow: 0 4px 20px rgba(45, 51, 25, 0.08);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 51, 25, 0.15);
    border-color: var(--sprout);
}

.contact-icon {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--earth-dark);
}

.contact-card p {
    color: var(--earth-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-card:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}

/* Reduced motion */
/* Lightbox caption */
.lightbox-caption {
    position: fixed;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    text-align: center;
    max-width: 600px;
    padding: 0.5rem 1.25rem;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    z-index: 10000;
    font-family: 'Work Sans', sans-serif;
}

/* Lightbox thumbnail strip */
.lightbox-thumbs {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10000;
    max-width: 80vw;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}
.lightbox-thumb:hover { opacity: 0.8; }
.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--sprout);
}

/* Improved mobile gallery filters */
@media (max-width: 768px) {
    .gallery-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .gallery-filters::-webkit-scrollbar { display: none; }
    .gallery-filter-btn {
        flex-shrink: 0;
        padding: 0.65rem 1.5rem;
        font-size: 1rem;
    }
}

/* Farm stats / counters */
.farm-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}
.stat-item {
    text-align: center;
    min-width: 120px;
}
.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--sprout);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.95rem;
    color: var(--sand);
    opacity: 0.85;
}

/* Practice card hover improvement */
.practice-item:hover .practice-icon {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}
.practice-icon {
    transition: transform 0.3s ease;
}

/* Accessibility controls */
.a11y-controls {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 998;
}
.a11y-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--earth-dark);
    color: var(--sand);
    border: 2px solid var(--earth-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(45, 51, 25, 0.2);
}
.a11y-btn:hover {
    background: transparent;
    color: var(--earth-dark);
    transform: scale(1.1);
}
.a11y-btn:focus-visible {
    outline: 2px solid var(--sprout);
    outline-offset: 3px;
}
.a11y-btn.active {
    background: var(--sprout);
    border-color: var(--sprout);
    color: white;
}

/* High contrast mode */
body.high-contrast {
    --sand: #ffffff;
    --earth-dark: #000000;
    --earth-medium: #1a1a1a;
    --earth-light: #333333;
}
body.high-contrast nav {
    background: rgba(255, 255, 255, 0.98);
}
body.high-contrast .practice-item {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}
body.high-contrast .practices {
    background: #111111;
}

/* Font size adjustments */
body.font-large {
    font-size: 1.15rem;
}
body.font-large h1 { font-size: clamp(3.5rem, 9vw, 8rem); }
body.font-large h2 { font-size: clamp(3rem, 6vw, 4.5rem); }
body.font-large h3 { font-size: 1.6rem; }
body.font-large .nav-links a { font-size: 1.05rem; }

/* Seasonal Timeline */
.seasonal-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.season-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    box-shadow: 0 4px 16px rgba(45, 51, 25, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--sprout);
}
.season-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(45, 51, 25, 0.15);
}
.season-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
.season-name {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--earth-dark);
    margin-bottom: 0.5rem;
}
.season-months {
    font-size: 0.8rem;
    color: var(--earth-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.season-desc {
    font-size: 0.85rem;
    color: var(--earth-medium);
    line-height: 1.5;
}

/* Shimmer animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero-content,
    .fade-in,
    .step,
    .principle-card,
    .practice-item,
    .gallery-item,
    .gallery-filter-btn,
    .news-card,
    .back-to-top,
    .skip-link,
    .plant-card,
    .scroll-progress,
    .section-title::after,
    .lightbox-overlay,
    .lightbox-overlay img {
        animation: none !important;
        transition: none !important;
    }
    .plant-card {
        opacity: 1;
        transform: translateY(0);
    }
    .section-title.visible::after {
        width: 60px;
    }
    .lightbox-overlay.active img {
        transform: scale(1);
        opacity: 1;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
    .fade-in.visible {
        opacity: 1;
        transform: none;
    }
    .step {
        opacity: 1;
    }
}
