/* GROW Pescadero — Farm Africa–inspired design system */

:root {
    --green-950: #0A1F15;
    --green-900: #0F2E1F;
    --green-800: #1A4731;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-100: #D8F3DC;
    --orange-500: #E07A3D;
    --orange-400: #F08A4B;
    --yellow-500: #F5C518;
    --yellow-400: #FFD54A;
    --cream: #F7F4EE;
    --cream-dark: #EDE8DF;
    --white: #FFFFFF;
    --text: #12261A;
    --text-muted: #3D5546;
    --shadow-sm: 0 2px 8px rgba(10, 31, 21, 0.08);
    --shadow-md: 0 8px 32px rgba(10, 31, 21, 0.14);
    --shadow-lg: 0 16px 48px rgba(10, 31, 21, 0.18);
    --radius-sm: 6px;
    --radius-md: 12px;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
    --sticky-donate-h: 56px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--sticky-donate-h);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--orange-500);
}

.container {
    width: min(1080px, 90vw);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: var(--green-800);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--yellow-500);
    color: var(--green-950);
}

.btn--primary:hover {
    background: var(--yellow-400);
    color: var(--green-950);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
}

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

.btn--lg {
    padding: 1rem 1.85rem;
    font-size: 1.05rem;
}

.btn--whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn--whatsapp:hover {
    background: #1ebe57;
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
    background: rgba(15, 46, 31, 0.96);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1.5rem;
}

.nav__tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(10, 31, 21, 0.25);
}

.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.lang-switch__btn:hover {
    color: var(--white);
}

.lang-switch__btn.is-active {
    background: var(--yellow-500);
    color: var(--green-950);
}

.site-header.is-scrolled .lang-switch {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.15);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
}

.nav__brand:hover {
    color: var(--white);
}

.nav__logo {
    transition: transform var(--transition);
}

.nav__brand:hover .nav__logo {
    transform: rotate(-8deg) scale(1.05);
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav__brand-text strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--white);
}

.nav__brand-text span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin-left: auto;
}

.nav__menu a {
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.nav__menu a:hover,
.nav__menu a.is-active {
    color: var(--yellow-400);
}

.nav__cta {
    padding: 0.45rem 1.1rem !important;
    background: var(--yellow-500);
    color: var(--green-950) !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
}

.nav__cta:hover {
    background: var(--yellow-400);
    color: var(--green-950) !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* Hero — tall runway + sticky stage for scroll beat */
.hero {
    position: relative;
    height: 320vh;
    color: var(--white);
    background: var(--green-900);
    overflow: clip;
}

.hero__sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 1.5rem) 0 calc(var(--sticky-donate-h) + 3rem);
    overflow: hidden;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%231A4731' stroke-width='1.2'%3E%3Cpath d='M36 18c4 6 4 12 0 18-4-6-4-12 0-18zm0 18c4 6 4 12 0 18-4-6-4-12 0-18zM18 36c6-4 12-4 18 0-6 4-12 4-18 0zm18 0c6-4 12-4 18 0-6 4-12 4-18 0z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 72px 72px;
    animation: pattern-drift 40s linear infinite;
}

/*
 * Produce sits on the tall hero runway (not sticky), so icons
 * drift upward as you scroll — proof the page is moving while text holds.
 */
.hero__produce {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    color: rgba(232, 220, 180, 0.28);
}

.hero__icon {
    position: absolute;
    width: clamp(56px, 10vw, 100px);
    height: auto;
    opacity: 1;
}

.hero__icon--carrot {
    top: 6%;
    left: 7%;
    transform: rotate(-18deg);
}

.hero__icon--leaf {
    top: 8%;
    right: 8%;
    width: clamp(64px, 11vw, 112px);
    transform: rotate(22deg);
}

.hero__icon--tomato {
    top: 22%;
    left: 5%;
    transform: rotate(8deg);
}

.hero__icon--corn {
    top: 18%;
    right: 4%;
    width: clamp(48px, 8vw, 84px);
    transform: rotate(-12deg);
    opacity: 0.85;
}

.hero__icon--pepper {
    top: 32%;
    right: 9%;
    transform: rotate(14deg);
}

.hero__icon--sprout {
    top: 28%;
    left: 10%;
    width: clamp(52px, 9vw, 92px);
    transform: rotate(-6deg);
}

.hero__icon--apple {
    top: 42%;
    right: 12%;
    width: clamp(48px, 8vw, 80px);
    transform: rotate(-20deg);
    opacity: 0.9;
}

.hero__icon--radish {
    top: 38%;
    left: 6%;
    width: clamp(50px, 8.5vw, 84px);
    transform: rotate(16deg);
}

.hero__icon--leaf-2 {
    top: 55%;
    right: 6%;
    width: clamp(60px, 10vw, 104px);
    transform: rotate(-14deg);
}

.hero__icon--carrot-2 {
    top: 62%;
    left: 9%;
    transform: rotate(12deg);
}

.hero__icon--tomato-2 {
    top: 72%;
    right: 10%;
    transform: rotate(-8deg);
}

.hero__icon--sprout-2 {
    top: 78%;
    left: 5%;
    width: clamp(52px, 9vw, 92px);
    transform: rotate(10deg);
}

/* Soft vignette — pulls the eye to the center line, leaves edge icons readable */
.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 58% 52% at 50% 48%,
            transparent 0%,
            transparent 42%,
            rgba(10, 31, 21, 0.28) 72%,
            rgba(10, 31, 21, 0.55) 100%
        ),
        linear-gradient(
            180deg,
            rgba(10, 31, 21, 0.4) 0%,
            transparent 22%,
            transparent 78%,
            rgba(10, 31, 21, 0.5) 100%
        );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(40rem, 90vw);
}

.hero__brand {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
}

.hero__stage {
    position: relative;
    min-height: clamp(9.5rem, 28vw, 13rem);
    display: grid;
    place-items: center;
}

.hero__phrase {
    grid-area: 1 / 1;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.97);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        visibility 0.55s;
    pointer-events: none;
}

.hero__phrase.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.hero__phrase--final {
    font-size: clamp(1.85rem, 5.5vw, 3.25rem);
}

.hero__phrase--final .hero__fade {
    display: inline-block;
    opacity: calc(1 - var(--focus-progress, 0));
    transform: translateY(calc(var(--focus-progress, 0) * -6px));
    filter: blur(calc(var(--focus-progress, 0) * 4px));
    transition: opacity 0.05s linear, transform 0.05s linear, filter 0.05s linear;
    will-change: opacity, transform, filter;
}

.hero__line {
    display: block;
}

.hero__focus {
    display: inline-block;
    color: var(--orange-500);
    font-weight: 800;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    opacity: calc(1 - var(--hungry-exit, 0));
    filter: blur(calc(var(--hungry-exit, 0) * 6px));
    transition: opacity 0.05s linear, filter 0.05s linear;
}

/* Place name cycles inside the fading sentence */
.hero__place-cycle {
    display: inline-grid;
    vertical-align: baseline;
    justify-items: end;
}

.hero__place {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(0.15em);
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.hero__place.is-active {
    opacity: 1;
    transform: translateY(0);
}

.hero__brand,
.hero__scroll {
    transition: opacity 0.25s ease, transform 0.25s ease, border-color var(--transition);
}

/* Once the focus beat starts, chrome stays gone — no empty frame */
.hero.is-chrome-hidden .hero__brand,
.hero.is-chrome-hidden .hero__scroll {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
}

.hero.is-exiting .hero__sticky {
    background: transparent;
}

.hero__scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: 2.5rem;
    border: 1.5px solid rgba(247, 244, 238, 0.45);
    border-radius: 50%;
    color: var(--cream);
    transition: border-color var(--transition), transform var(--transition), opacity var(--transition);
}

.hero__scroll:hover {
    border-color: var(--orange-500);
    color: var(--orange-500);
    transform: translateY(4px);
}

.hero__scroll-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
}

@keyframes pattern-drift {
    from { background-position: 0 0; }
    to { background-position: 72px 72px; }
}

@media (max-width: 600px) {
    .hero {
        height: 280vh;
    }

    .hero__produce {
        color: rgba(232, 220, 180, 0.22);
    }

    .hero__icon {
        width: clamp(44px, 14vw, 72px);
    }

    .hero__stage {
        min-height: 11rem;
    }
}

/* Impact bar — rises into the hero exit with parallax */
.impact-bar {
    --impact-rise: 28vh;
    position: relative;
    z-index: 4;
    margin-top: calc(var(--impact-rise) * -1);
    background: var(--green-950);
    color: var(--white);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translate3d(0, calc((1 - var(--hero-exit, 0)) * var(--impact-rise)), 0);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .impact-bar {
        margin-top: 0;
        transform: none;
        will-change: auto;
    }
}

.impact-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.impact-bar__number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--yellow-500);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.impact-bar__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section--dark {
    background: var(--green-900);
    color: var(--white);
}

.section--cream {
    background: var(--cream-dark);
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-500);
    margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow {
    color: var(--yellow-400);
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--green-900);
    letter-spacing: -0.02em;
}

.section--dark .section__title {
    color: var(--white);
}

.section__lead {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 58ch;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.section--dark .section__lead {
    color: rgba(255, 255, 255, 0.78);
}

/* Story */
.story__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.story__extended {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 52ch;
}

.story__photo {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.story__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.story__photo:hover img {
    transform: scale(1.03);
}

/* Work */
.work__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.work__item {
    padding: 2rem 1.75rem 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.work__item:nth-child(odd) {
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.work__item:nth-child(even) {
    padding-left: 2rem;
}

.work__item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.work__item p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 40ch;
}

/* Vision */
.vision__subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 600;
    font-style: italic;
    color: var(--green-700);
    margin: -0.35rem 0 1.25rem;
    max-width: 36ch;
}

.vision__list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.vision__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(15, 46, 31, 0.1);
}

.vision__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vision__num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange-500);
    letter-spacing: 0.04em;
    padding-top: 0.15rem;
}

.vision__item h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: 0.5rem;
}

.vision__item p {
    color: var(--text-muted);
    max-width: 58ch;
}

.vision__closer {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    font-weight: 600;
    line-height: 1.35;
    color: var(--green-900);
    max-width: 28ch;
    margin-top: 1rem;
}

.vision__closer--es {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 1rem;
    max-width: 40ch;
}

/* Farm Stand */
.farmstand__layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}

.farmstand__brand {
    display: flex;
    justify-content: center;
}

.farmstand__logo {
    width: min(280px, 70vw);
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(10, 31, 21, 0.12));
}

.farmstand__copy p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 52ch;
}

.farmstand__tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--green-900) !important;
    margin-top: 0.5rem;
}

/* Partners */
.partners__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    list-style: none;
    padding-top: 0.5rem;
}

.partners__list li {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--green-800);
    letter-spacing: 0.02em;
}

.partners__list li:not(:last-child)::after {
    content: '·';
    margin-left: 1.5rem;
    color: var(--orange-500);
    font-weight: 700;
}

/* Gallery */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery__item:hover img {
    transform: scale(1.04);
}

.gallery__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(transparent, rgba(10, 31, 21, 0.85));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.gallery__follow {
    margin-top: 2.5rem;
    text-align: center;
}

.gallery__follow p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.gallery__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Donate */
.donate {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}

.donate__bg {
    position: absolute;
    inset: 0;
}

.donate__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.85);
}

.donate__panel {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    padding: 2.5rem;
    background: rgba(247, 244, 238, 0.96);
}

.donate__philosophy {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--green-900);
    margin-bottom: 1rem;
}

.donate__copy {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.donate__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.donate__list li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.45;
}

.donate__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--orange-500);
}

.donate__note-inline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.donate__handoff {
    font-size: 0.95rem;
    color: var(--green-800);
    font-weight: 500;
    margin: 0 0 1rem;
    min-height: 1.4em;
}

.donate__handoff[hidden] {
    display: none;
}

.donate__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Community */
.community {
    background: var(--cream);
}

.community__layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.community__photo {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.community__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.community__photo:hover img {
    transform: scale(1.03);
}

.community__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.community__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.community__link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(15, 46, 31, 0.12);
    color: var(--text);
}

.community__link:nth-child(odd) {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(15, 46, 31, 0.12);
}

.community__link:nth-child(even) {
    padding-left: 1.5rem;
}

.community__link:hover {
    color: var(--text);
}

.community__link:hover strong {
    color: var(--orange-500);
}

.community__link strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--green-900);
    transition: color var(--transition);
}

.community__link span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Sticky Donate — Farm Africa style */
.sticky-donate {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: var(--sticky-donate-h);
    background: var(--yellow-500);
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 -4px 24px rgba(10, 31, 21, 0.15);
    transition: background var(--transition), transform var(--transition);
}

.sticky-donate:hover {
    background: var(--yellow-400);
    color: var(--green-950);
}

.sticky-donate__icon {
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer__brand img {
    opacity: 0.9;
}

.footer__brand strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    display: block;
}

.footer__brand p {
    font-size: 0.85rem;
    color: var(--yellow-400);
}

.footer__links h3,
.footer__donate h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer__links a:hover {
    color: var(--yellow-400);
}

.footer__donate p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer__sdg {
    margin-top: 0.4rem;
    font-size: 0.75rem;
}

/* Reveal — only hide when JS is available (progressive enhancement) */
.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
    .story__layout,
    .farmstand__layout,
    .work__list,
    .community__layout,
    .footer__grid,
    .impact-bar__grid {
        grid-template-columns: 1fr;
    }

    .impact-bar__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1rem;
    }

    .work__item,
    .work__item:nth-child(odd),
    .work__item:nth-child(even) {
        padding: 1.75rem 0;
        border-right: none;
    }

    .gallery__item--wide {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

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

    .story__photo,
    .community__photo {
        aspect-ratio: 4 / 3;
        max-height: 420px;
    }

    .partners__list li:not(:last-child)::after {
        display: none;
    }

    .partners__list {
        flex-direction: column;
        gap: 0.65rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--green-900);
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav__menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav__toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 600px) {
    .community__links {
        grid-template-columns: 1fr;
    }

    .community__link:nth-child(odd),
    .community__link:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-right: none;
    }

    .section {
        padding: 4rem 0;
    }

    .donate__panel {
        padding: 1.75rem;
    }

    .hero {
        padding-bottom: calc(var(--sticky-donate-h) + 3rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero__pattern {
        animation: none;
    }

    .hero__icon {
        animation: none !important;
    }

    .hero__phrase {
        transition: none;
        transform: none;
    }

    .hero__focus {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .hero__phrase--final .hero__fade {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}
