/* =========================================
   Omotani Caring Foundation - Main Styles
   Based on Figma Design System
   ========================================= */

/* Geist Font Face Declarations */
@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Figma Design Tokens */
:root {
    /* Colors */
    --color-background-1: #F7F4EB;
    --color-background-2: #312121;
    --color-display-1: #F2F2F2;
    --color-display-2: #FFFFFF;
    --color-display-3: #F7F4EB;
    --color-paragraph-1: #000000;
    --color-paragraph-2: #FFFFFF;
    --color-accent: #31110F;
    --color-accent-red: #EF3A4F;

    /* Typography */
    --font-primary: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Layout */
    --max-width: 1280px;
    --content-width: 976px;
    --nav-height: 64px;

    /* Transitions */
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    overflow-y: scroll;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}


/* Hide body until fonts loaded to prevent FOUT layout shift */
body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-paragraph-1);
    background-color: var(--color-background-1);
    visibility: hidden;
    opacity: 0;
}

html.fonts-loaded body {
    visibility: visible;
    opacity: 1;
}

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

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

/* =========================================
   Navigation
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--color-background-2);
    z-index: 1000;
    padding: 0 50px;
    box-sizing: border-box;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    display: block;
    height: 24px;
    width: 51px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 37px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list li {
    flex-shrink: 0;
}

.main-nav a {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-display-1);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--color-display-2);
}

.main-nav a.active {
    color: #F2E7C8;
    border-bottom-color: var(--color-accent-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-display-2);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Donate button in nav */
.btn.btn-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: var(--color-accent-red);
    color: var(--color-paragraph-2) !important;
    border-radius: 500px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    border-bottom: none !important;
}

.btn.btn-donate .donate-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #000000;
    fill: #000000;
}

.btn.btn-donate .donate-icon-filled {
    display: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #000000;
    fill: #000000;
}

.btn.btn-donate:hover {
    background-color: #d42e40;
    color: var(--color-paragraph-2) !important;
}

.btn.btn-donate:hover .donate-icon {
    display: none;
}

.btn.btn-donate:hover .donate-icon-filled {
    display: inline-block;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 800px;
    margin-top: var(--nav-height);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 70px 50px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    width: 100%;
    max-width: 942px;
}

.hero-headline {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 64px;
    line-height: 95%;
    letter-spacing: -0.06em;
    color: var(--color-display-3);
}

/* =========================================
   Welcome Section
   ========================================= */
.welcome-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 135px 152px 178px;
    gap: 60px;
    width: 100%;
    background: var(--color-background-1);
}

.welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 942px;
}

.welcome-body {
    width: 100%;
    max-width: 942px;
}

.welcome-text {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    color: var(--color-paragraph-1);
}

/* =========================================
   Image Breaker Section
   ========================================= */
.image-breaker {
    width: 100%;
    height: 625px;
    background-size: cover;
    background-position: center;
}

/* =========================================
   Offering Section
   ========================================= */
.offering-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 93px 152px 126px;
    width: 100%;
    background: var(--color-background-2);
}

.offering-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
    width: 100%;
    max-width: 976px;
}

/* Scroll reveal animation - only hide if JS is enabled */
.js-enabled .offering-item,
.js-enabled .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.offering-item.revealed,
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Instant reveal for elements visible on page load (no animation delay) */
.reveal-on-scroll.revealed-instant {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.offering-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.offering-list .offering-item {
    width: 100%;
    padding: 40px 0;
    border-bottom: 1px solid rgba(247, 244, 235, 0.2);
}

.offering-list .offering-item:last-child {
    border-bottom: none;
}

.offering-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -0.06em;
    color: var(--color-display-3);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 24px;
    gap: 10px;
    border-radius: 500px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-light {
    background: var(--color-paragraph-2);
    color: var(--color-paragraph-1);
}

.btn-light:hover {
    background: var(--color-display-1);
}

.btn-dark {
    background: var(--color-accent);
    color: var(--color-paragraph-2);
}

.btn-dark:hover {
    background: #4a1a17;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-paragraph-2);
    border: none;
}

.btn-primary:hover {
    background: #4a1a17;
    color: var(--color-paragraph-2);
}

.btn-outline {
    background: transparent;
    color: #000000;
    border: 2px solid #EF3A4F;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline svg {
    width: 18px;
    height: 14px;
    flex-shrink: 0;
    transform: rotate(-45deg);
}

.btn-outline svg path {
    stroke: #EF3A4F;
    transition: stroke 0.3s ease;
}

.btn-outline:hover {
    background: #EF3A4F;
    color: #FFFFFF;
}

.btn-outline:hover svg path {
    stroke: #FFFFFF;
}

/* Prevent arrow on non-Learn More outline buttons */
.btn-outline:not(:has(svg))::after {
    display: none;
}

/* =========================================
   Our Clients / Get Involved Section
   ========================================= */
.clients-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 116px 152px;
    gap: 74px;
    width: 100%;
    background: var(--color-background-1);
}

.clients-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    width: 100%;
    max-width: 738px;
}

.clients-intro {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    text-align: center;
    color: var(--color-paragraph-1);
}

.clients-image {
    width: 100%;
    max-width: 726px;
    height: 437px;
    object-fit: cover;
    position: relative;
}

.clients-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.clients-outro {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    text-align: center;
    color: var(--color-paragraph-1);
}

/* =========================================
   Quote / Image Divider Section
   ========================================= */
.quote-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0 200px;
    gap: 32px;
    width: 100%;
    height: 760px;
    background-size: cover;
    background-position: center top;
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.quote-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 976px;
}

.quote-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 64px;
    line-height: 95%;
    letter-spacing: -0.06em;
    color: var(--color-display-2);
    margin-bottom: 32px;
}

.quote-attribution {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 48px;
    line-height: 95%;
    letter-spacing: -0.06em;
    color: var(--color-display-2);
}

/* =========================================
   Section Divider
   ========================================= */
.section-divider {
    width: 100%;
    height: 36px;
    background: var(--color-background-1);
}

/* =========================================
   Image Title Section (Batwa Farms style)
   ========================================= */
.image-title-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
}

.image-title-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 976px;
    padding: 0 24px;
}

.image-title-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 48px;
    line-height: 95%;
    letter-spacing: -0.06em;
    color: var(--color-display-2);
}

@media (max-width: 768px) {
    .image-title-section {
        height: 300px;
    }

    .image-title-text {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .image-title-section {
        height: 250px;
    }

    .image-title-text {
        font-size: 28px;
    }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 68px 152px;
    gap: 32px;
    width: 100%;
    background: var(--color-background-1);
}

.footer-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 976px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-subhead {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 135%;
    letter-spacing: -0.02em;
    color: var(--color-paragraph-1);
    width: 100%;
    max-width: 976px;
    margin-top: 16px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 48px;
    width: 100%;
    max-width: 976px;
    margin-top: 32px;
}

.footer-image {
    flex-shrink: 0;
    width: 360px;
}

.footer-image img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2px;
}

.footer-column p,
.footer-column a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--color-paragraph-1);
    margin: 0;
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-column strong {
    font-weight: 600;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 32px;
}

.footer-copyright span {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--color-paragraph-1);
}

/* =========================================
   Content Sections (Legacy Support)
   ========================================= */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.content-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-background-1);
}

.content-section.alt-bg {
    background-color: var(--color-background-1);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Statement Section */
.mission-statement-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0 0;
    background: #F7F4EB;
}

.mission-statement-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 976px;
    padding: 0 24px;
}

.mission-statement-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mission-statement {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid #EF3A4F;
}

.mission-statement p {
    width: 700px;
    max-width: 100%;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 40px;
    line-height: 95%;
    letter-spacing: -0.05em;
    color: #312121;
    margin: 0;
}

.mission-statement:nth-child(odd) {
    justify-content: flex-start;
}

.mission-statement:nth-child(even) {
    justify-content: flex-end;
}

.mission-statement.full-width p {
    width: 100%;
}

/* Mission Image Breaker */
.mission-image-breaker {
    width: 100%;
    height: 625px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Legacy Mission Points - keeping for backwards compatibility */
.mission-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mission-points h4 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 24px;
    line-height: 96%;
    letter-spacing: -0.04em;
    color: var(--color-paragraph-1);
    margin: 0;
}

/* Mission Statement Responsive */
@media (max-width: 1100px) {
    .mission-statement-section {
        padding: 50px 0 0;
    }

    .mission-statement p {
        font-size: 36px;
    }

    .mission-image-breaker {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .mission-statement-section {
        padding: 24px 0 80px;
    }

    .mission-statement-content {
        padding: 0 24px;
    }

    .mission-statement p {
        font-size: 36px;
        width: 100%;
    }

    .mission-statement:nth-child(odd),
    .mission-statement:nth-child(even) {
        justify-content: center;
    }

    .mission-image-breaker {
        height: 280px;
    }
}

/* Charity Info Section */
.charity-info {
    text-align: center;
}

.charity-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
}

/* Two Column Grid */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.two-column-grid.reverse .column-image {
    order: 2;
}

.two-column-grid.reverse .column-content {
    order: 1;
}

.column-image img {
    width: 100%;
    border-radius: 8px;
}

.column-content h2 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    margin-bottom: var(--spacing-md);
}

.column-content h4 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: -0.03em;
}

.column-content p {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 150%;
    margin-bottom: var(--spacing-sm);
}

/* Highlight Box */
.highlight-box {
    background-color: var(--color-background-1);
    border-left: 4px solid var(--color-accent-red);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.highlight-box h4 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Mission Statement */
.mission-statement {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg);
}

/* CTA Buttons */
.cta-buttons-center {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-background-2);
    color: var(--color-paragraph-2);
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.cta-content h2 {
    color: var(--color-paragraph-2);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--color-paragraph-2);
    color: var(--color-paragraph-1);
}

.cta-section .btn-primary:hover {
    background-color: var(--color-display-1);
}

.cta-section .btn-secondary {
    background-color: var(--color-accent-red);
    color: var(--color-paragraph-2);
}

.cta-section .btn-secondary:hover {
    background-color: #d14a61;
}

/* =========================================
   Page Headers
   ========================================= */
.page-header {
    background-color: var(--color-background-2);
    color: var(--color-paragraph-2);
    padding: var(--spacing-2xl) 0;
    margin-top: var(--nav-height);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 64px;
    line-height: 95%;
    letter-spacing: -0.06em;
    color: #F2E7C8;
    margin-bottom: var(--spacing-xs);
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Typography Headings
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-paragraph-1);
}

h1 {
    font-size: 64px;
    font-weight: 400;
    letter-spacing: -0.06em;
}

h2 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.05em;
}

h3 {
    font-size: 32px;
    letter-spacing: -0.05em;
}

h4 {
    font-size: 24px;
    letter-spacing: -0.03em;
}

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

/* =========================================
   Projects Grid
   ========================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background-color: var(--color-background-1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: var(--spacing-md);
}

.project-content h3 {
    margin-bottom: var(--spacing-xs);
}

.project-content .goal-label {
    font-weight: 400;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.project-content .goal-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0 0 var(--spacing-sm) 0;
}

.project-content p {
    color: #666;
    font-size: 0.95rem;
}

/* =========================================
   News Grid
   ========================================= */
.latest-news {
    background-color: var(--color-background-1);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background-color: var(--color-background-1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.news-date {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: var(--spacing-xs);
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.news-content p {
    color: #666;
    font-size: 0.95rem;
}

/* =========================================
   Gallery Grid
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =========================================
   Additional Components
   ========================================= */
.section-title {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 48px;
    line-height: 95%;
    letter-spacing: -0.06em;
    color: #EF3A4F;
    text-align: left;
    max-width: 976px;
    margin: 0 auto 36px;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Advisors Grid */
.advisors-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 976px;
    margin: 0 auto;
}

/* Advisor Cards */
.advisor-card {
    display: flex;
    flex-direction: row;
    background: var(--color-background-1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.advisor-card:nth-child(even) {
    flex-direction: row-reverse;
}

.advisor-image {
    flex: 0 0 300px;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background-2);
    padding: 32px;
}

.advisor-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.advisor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    gap: 16px;
}

.advisor-content h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--color-paragraph-1);
    margin: 0;
}

.advisor-content p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--color-paragraph-1);
    margin: 0;
}

.advisor-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.advisor-links a {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-accent-red);
    text-decoration: none;
    transition: color var(--transition);
}

.advisor-links a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.advisor-note {
    font-size: 13px !important;
    color: var(--color-paragraph-1);
    opacity: 0.7;
    font-style: italic;
}

/* Responsive Advisor Cards */
@media (max-width: 900px) {
    .advisor-card,
    .advisor-card:nth-child(even) {
        flex-direction: column;
    }

    .advisor-image {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .advisor-content {
        padding: 32px;
    }

    .advisor-content h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .advisors-grid {
        gap: 32px;
    }

    .advisor-image {
        flex: 0 0 180px;
        min-height: 180px;
        padding: 24px;
    }

    .advisor-content {
        padding: 24px;
    }

    .advisor-content h3 {
        font-size: 20px;
    }

    .advisor-content p {
        font-size: 15px;
    }
}

/* Trustees Section */
.trustees-section {
    max-width: 976px;
    margin: 0 auto;
}

.trustees-section h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: var(--color-paragraph-1);
    margin-bottom: 24px;
}

.trustees-section p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    color: var(--color-paragraph-1);
    margin-bottom: 16px;
}

.trustees-section p:last-child {
    margin-bottom: 0;
}

/* Honor List */
.honor-list {
    list-style: none;
}

.honor-list li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.honor-list li:last-child {
    border-bottom: none;
}

/* Mission Goals Section */
.mission-goals-section {
    background: #312121;
    padding: 80px 0;
}

.mission-goals-section .section-title {
    color: #F5E4AF;
    margin-bottom: 80px;
}

/* Goals Grid */
.goals-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 976px;
    margin: 0 auto;
}

/* Goal Cards */
.goal-card {
    display: flex;
    flex-direction: row;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.goal-card:nth-child(even) {
    flex-direction: row-reverse;
}

.goal-image {
    flex: 0 0 400px;
    min-height: 300px;
    overflow: hidden;
}

.goal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    gap: 16px;
}

.goal-content h3 {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.goal-content h3 strong {
    font-weight: 600;
    display: block;
    margin-top: 8px;
}

.goal-content .goal-label {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.goal-content .goal-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.goal-content h4 {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: var(--color-accent-red);
    margin: 0;
}

.goal-content p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.04em;
    color: var(--color-paragraph-1);
    margin: 0;
}

.goal-content .btn {
    align-self: flex-start;
    margin-top: 8px;
}

/* Legacy goal-card styles */
.goal-card-header {
    background: var(--color-background-2);
    color: var(--color-paragraph-2);
    padding: var(--spacing-md);
}

.goal-card-header h3 {
    color: var(--color-paragraph-2);
    margin: 0;
}

.goal-card-content {
    padding: var(--spacing-lg);
}

/* Responsive Goal Cards */
@media (max-width: 900px) {
    .goal-card,
    .goal-card:nth-child(even) {
        flex-direction: column;
    }

    .goal-image {
        flex: 0 0 250px;
        min-height: 250px;
    }

    .goal-content {
        padding: 32px;
    }

    .goal-content h3 {
        font-size: 24px;
    }

    .goal-content .goal-label,
    .goal-content .goal-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .goals-grid {
        gap: 32px;
    }

    .goal-image {
        flex: 0 0 200px;
        min-height: 200px;
    }

    .goal-content {
        padding: 24px;
    }

    .goal-content h3 {
        font-size: 20px;
    }

    .goal-content .goal-label,
    .goal-content .goal-title {
        font-size: 20px;
    }

    .goal-content p {
        font-size: 15px;
    }
}

/* Video Embed */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: var(--spacing-lg) 0;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: var(--spacing-lg) auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

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

/* Progress Stats */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.stat-card {
    background: var(--color-background-1);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* =========================================
   Utility Classes
   ========================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-semibold { font-weight: 600; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.alt-bg {
    background-color: var(--color-background-1);
}

/* =========================================
   Responsive Design
   ========================================= */
/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        background-color: var(--color-background-2);
        padding: 24px;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .main-nav .nav-list.active {
        right: 0;
    }

    .main-nav .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-nav .nav-list.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .main-nav .nav-list.active li:nth-child(1) { transition-delay: 0.05s; }
    .main-nav .nav-list.active li:nth-child(2) { transition-delay: 0.1s; }
    .main-nav .nav-list.active li:nth-child(3) { transition-delay: 0.15s; }
    .main-nav .nav-list.active li:nth-child(4) { transition-delay: 0.2s; }
    .main-nav .nav-list.active li:nth-child(5) { transition-delay: 0.25s; }
    .main-nav .nav-list.active li:nth-child(6) { transition-delay: 0.3s; }
    .main-nav .nav-list.active li:nth-child(7) { transition-delay: 0.35s; }
    .main-nav .nav-list.active li:nth-child(8) { transition-delay: 0.4s; }
    .main-nav .nav-list.active li:nth-child(9) { transition-delay: 0.45s; }
    .main-nav .nav-list.active li:nth-child(10) { transition-delay: 0.5s; }

    .main-nav .nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav .nav-list li:last-child {
        border-bottom: none;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
        font-weight: 400;
        border-bottom: none;
    }

    .main-nav .nav-list a:hover {
        color: var(--color-accent-red);
    }

    .main-nav .nav-list a.active {
        color: #f3de77;
        box-shadow: 0 2px 0 0 var(--color-accent-red);
    }

    /* Remove border from Contact Us (second to last item) */
    .main-nav .nav-list li:nth-last-child(2) {
        border-bottom: none;
    }

    /* Donate button in mobile menu */
    .main-nav .nav-list li:has(.btn-donate) {
        border-bottom: none;
        margin-top: 16px;
    }

    .main-nav .nav-list .btn.btn-donate {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 48px;
        padding: 0 24px;
        font-size: 16px;
        font-weight: 500;
        border-radius: 500px;
    }

    .main-nav .nav-list .btn.btn-donate .donate-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        color: #000000;
        fill: #000000;
    }

    .hero {
        height: 600px;
        padding: 50px 24px;
    }

    .hero-headline {
        font-size: 40px;
    }

    .welcome-section {
        padding: 80px 24px;
    }

    .welcome-text {
        font-size: 24px;
    }

    .offering-section {
        padding: 60px 24px;
    }

    .offering-text {
        font-size: 36px;
    }

    .clients-section {
        padding: 80px 24px;
    }

    .clients-intro,
    .clients-outro {
        font-size: 24px;
    }

    .quote-section {
        height: 500px;
        padding: 0 24px 100px;
    }

    .quote-text {
        font-size: 36px;
    }

    .quote-attribution {
        font-size: 28px;
    }

    .site-footer {
        padding: 48px 24px;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-image {
        width: 100%;
        max-width: 400px;
    }

    .two-column-grid {
        grid-template-columns: 1fr;
    }

    .two-column-grid.reverse .column-image,
    .two-column-grid.reverse .column-content {
        order: unset;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .site-header {
        padding: 0 20px;
    }

    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 24px; }
    h4 { font-size: 20px; }

    .hero {
        height: 500px;
    }

    .hero-headline {
        font-size: 32px;
    }

    .image-breaker {
        height: 400px;
    }

    .offering-text {
        font-size: 28px;
    }

    .quote-section {
        height: 400px;
    }

    .quote-text {
        font-size: 28px;
    }

    .quote-attribution {
        font-size: 20px;
    }

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

    .page-header h1 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-headline {
        font-size: 24px;
    }

    .btn {
        padding: 14px 20px;
        font-size: 16px;
    }

    .welcome-text {
        font-size: 20px;
    }

    .offering-text {
        font-size: 24px;
    }

    .clients-intro,
    .clients-outro {
        font-size: 20px;
    }

    .quote-text {
        font-size: 24px;
    }

    .quote-attribution {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* =========================================
   Legacy Support - Hero Logo
   ========================================= */
.hero-logo {
    max-width: 300px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

/* =========================================
   Fullscreen Image Lightbox
   ========================================= */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox .lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox .lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.image-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2001;
}

.image-lightbox .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-lightbox .lightbox-close svg {
    width: 20px;
    height: 20px;
}

.image-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s;
    z-index: 2001;
}

.image-lightbox .lightbox-nav svg {
    width: 24px;
    height: 20px;
}

.image-lightbox .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.image-lightbox .lightbox-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-lightbox .lightbox-prev {
    left: 20px;
}

.image-lightbox .lightbox-next {
    right: 20px;
}

.image-lightbox .lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    font-size: 14px;
    text-align: left;
}

.image-lightbox .lightbox-count {
    font-weight: 500;
    flex-shrink: 0;
}

.image-lightbox .lightbox-text {
    flex: 1;
}

@media (max-width: 768px) {
    .image-lightbox .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .image-lightbox .lightbox-prev {
        left: 10px;
    }

    .image-lightbox .lightbox-next {
        right: 10px;
    }

    .image-lightbox .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}
