/*
Theme Name: Ekklesia Impact
Theme URI: https://ekklesia-impact.ca
Author: Ekklesia Impact
Author URI: https://ekklesia-impact.ca
Description: A warm, modern WordPress theme for Ekklesia Impact - a Canadian non-profit dedicated to Bible translation. Features animated hero, SVG portrait illustrations, multi-page layout with donation modal, and friendly startup-style design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ekklesia-impact
Tags: non-profit, charity, custom-colors, custom-menu, custom-logo, featured-images, responsive-layout, translation-ready
*/

/* ============ BRAND COLORS ============ */
:root {
    --honey: #D4A05F;
    --honey-deep: #B07F3E;
    --honey-bright: #E8B870;
    --hearth: #C97A5C;
    --hearth-light: #E5A088;
    --sage: #9DAA8E;
    --sage-deep: #7A8770;
    --coral: #E89684;
    --linen: #FAF5EC;
    --oat: #F0E7D5;
    --wheat: #DDD2BC;
    --stone: #918B7E;
    --ink-soft: #3D3934;
    --ink-deep: #2C2A26;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--ink-deep);
    background: var(--linen);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--honey-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hearth); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', 'Georgia', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink-deep);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; line-height: 1.75; }

/* ============ LAYOUT ============ */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

.section { padding: 5rem 1.75rem; }
.section-linen { background: var(--linen); }
.section-oat { background: var(--oat); }
.section-dark { background: var(--ink-deep); color: var(--linen); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(250, 245, 236, 0.85); }
.section-dark .section-eyebrow { color: var(--honey-bright); }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--honey-deep);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-eyebrow.left { display: flex; }

.section h2 {
    font-size: 2.5rem;
    color: var(--ink-deep);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section h2.left { text-align: left; }

.section h3 {
    font-size: 1.375rem;
    color: var(--ink-deep);
    margin-bottom: 0.75rem;
    font-family: 'Fraunces', serif;
}

.section p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 0.875rem;
    font-size: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 2.5rem;
    color: var(--stone);
    font-size: 1.125rem;
}

/* ============ HEADER ============ */
.site-header {
    background: var(--linen);
    border-bottom: 1px solid rgba(221, 210, 188, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap { display: flex; align-items: center; gap: 0.625rem; }

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--honey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 17px;
    transform: rotate(-5deg);
    transition: transform 0.3s;
    font-family: 'Fraunces', serif;
}

.logo-mark:hover { transform: rotate(0deg); }

.site-logo {
    font-family: 'Fraunces', serif;
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--ink-deep);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-logo:hover { color: var(--ink-deep); }

.main-navigation {
    display: flex;
    align-items: center;
    gap: 1.625rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.625rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--honey);
    transition: width 0.3s;
}

.main-navigation a:hover { color: var(--honey-deep); }
.main-navigation a:hover::after { width: 100%; }

.donate-btn-header {
    background: var(--ink-deep);
    color: white !important;
    border: none;
    padding: 0.6875rem 1.375rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0.625rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.donate-btn-header::before {
    content: '💛';
    animation: heartbeat 2s ease-in-out infinite;
}

.donate-btn-header:hover {
    background: var(--honey-deep);
    color: white !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(176, 127, 62, 0.35);
}

.donate-btn-header::after { display: none !important; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink-deep);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============ BUTTONS ============ */
.btn,
button.btn,
input[type="submit"],
.wp-block-button__link {
    background: var(--ink-deep);
    color: white !important;
    padding: 0.875rem 1.875rem;
    border: none;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.btn:hover,
button.btn:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background: var(--honey-deep);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(176, 127, 62, 0.3);
}

.btn .arrow { transition: transform 0.25s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--ink-soft);
    color: var(--ink-soft) !important;
}

.btn-outline:hover {
    background: var(--ink-deep);
    color: white !important;
    border-color: var(--ink-deep);
}

.btn-honey { background: var(--honey); }
.btn-honey:hover { background: var(--honey-deep); }

/* ============ HERO ============ */
.hero {
    background: var(--linen);
    padding: 4.375rem 1.75rem 5.625rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    width: 280px; height: 280px;
    background: var(--honey-bright);
    top: -50px; right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 220px; height: 220px;
    background: var(--coral);
    bottom: -30px; left: 5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 180px; height: 180px;
    background: var(--sage);
    top: 40%; left: 60%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -15px) scale(1.05); }
    66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero-content { position: relative; z-index: 2; max-width: 850px; margin: 0 auto; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--wheat);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--sage-deep);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    position: relative;
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--sage-deep);
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.375rem;
    line-height: 1.05;
    color: var(--ink-deep);
}

.hero-page-header { padding: 3.75rem 1.75rem; }
.hero-page-header h1 { font-size: 2.75rem; }

.highlight {
    position: relative;
    display: inline-block;
    color: var(--honey-deep);
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background: var(--honey-bright);
    opacity: 0.4;
    border-radius: 4px;
    z-index: -1;
}

.hero p {
    font-size: 1.1875rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--ink-soft);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--stone);
    font-size: 0.8125rem;
}

.trust-item { display: flex; align-items: center; gap: 6px; }
.trust-check { color: var(--sage-deep); font-weight: 700; }

/* ============ MARQUEE ============ */
.marquee-wrap {
    overflow: hidden;
    padding: 1rem 0;
    background: var(--oat);
    border-top: 1px solid var(--wheat);
    border-bottom: 1px solid var(--wheat);
}

.marquee {
    display: flex;
    gap: 2.5rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    color: var(--ink-soft);
    font-family: 'Fraunces', serif;
    font-size: 1.125rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--honey);
    border-radius: 50%;
}

/* ============ STATS ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2.25rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--oat);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--honey-bright), var(--coral));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(60, 50, 40, 0.1);
}

.stat-card:hover::before { opacity: 0.08; }
.stat-card > * { position: relative; z-index: 1; }

.stat-emoji {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    transition: transform 0.3s;
}

.stat-card:hover .stat-emoji {
    transform: scale(1.2) rotate(10deg);
}

.stat-number {
    font-size: 3.5rem;
    color: var(--ink-deep);
    margin-bottom: 0.375rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.04em;
    font-family: 'Fraunces', serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--stone);
    font-weight: 500;
}

/* ============ CARDS ============ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--oat);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(60, 50, 40, 0.1);
}

.card-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.25rem;
    background: linear-gradient(135deg, var(--honey) 0%, var(--honey-deep) 100%);
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(25deg);
    transition: left 0.6s;
}

.card:hover .card-image::after { left: 100%; }

.card-hearth .card-image { background: linear-gradient(135deg, var(--hearth) 0%, var(--hearth-light) 100%); }
.card-sage .card-image { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%); }
.card-coral .card-image { background: linear-gradient(135deg, var(--coral) 0%, var(--hearth) 100%); }

.card-content { padding: 1.625rem; }
.card-content h3 { margin-bottom: 0.625rem; font-size: 1.25rem; color: var(--ink-deep); }
.card-content p { color: var(--stone); font-size: 0.875rem; margin-bottom: 0; line-height: 1.65; }

/* ============ STORY PHOTOS (SVG) ============ */
.story-photo {
    width: 100%;
    height: 360px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--oat);
    transition: transform 0.4s;
}

.story-photo:hover { transform: scale(1.02); }
.story-photo svg { width: 100%; height: 100%; display: block; }

.photo-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-deep);
    display: flex;
    align-items: center;
    gap: 5px;
}

.photo-emoji-tag {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem 0.875rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============ IMPACT STORIES ============ */
.impact-story {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: center;
    margin: 2.25rem 0;
    padding: 2rem;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--oat);
    transition: all 0.3s;
}

.impact-story:hover { box-shadow: 0 20px 40px rgba(60, 50, 40, 0.08); }
.impact-story.reverse { grid-template-columns: 1.3fr 1fr; }
.impact-story.reverse .story-photo { order: 2; }

.story-content h3 {
    color: var(--ink-deep);
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.story-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.125rem;
    background: var(--oat);
    padding: 0.3125rem 0.875rem;
    border-radius: 100px;
}

.story-quote {
    color: var(--ink-soft);
    border-left: 3px solid var(--honey);
    padding-left: 1.375rem;
    margin: 1.125rem 0;
    font-size: 1.1875rem;
    line-height: 1.6;
    font-family: 'Fraunces', serif;
    font-style: italic;
}

.story-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--oat);
    flex-wrap: wrap;
}

.story-stat-num {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--honey-deep);
}

.story-stat-label {
    font-size: 0.75rem;
    color: var(--stone);
    font-weight: 500;
}

/* ============ PROCESS / STEPS ============ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.process-step {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--oat);
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(60, 50, 40, 0.08);
    border-color: var(--honey);
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--honey);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.875rem;
    font-family: 'Fraunces', serif;
}

.process-step h4 {
    color: var(--ink-deep);
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: 'Fraunces', serif;
}

.process-step p {
    font-size: 0.8125rem;
    color: var(--stone);
    line-height: 1.6;
    margin: 0;
}

/* ============ MISSION BOX ============ */
.mission-box {
    background: linear-gradient(135deg, var(--ink-deep) 0%, #1f1d1a 100%);
    color: white;
    padding: 3.75rem 2.5rem;
    border-radius: 24px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 184, 112, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.mission-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(232, 150, 132, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.mission-label {
    color: var(--honey-bright);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.mission-text {
    font-size: 2rem;
    color: white;
    line-height: 1.3;
    font-weight: 500;
    font-family: 'Fraunces', serif;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

/* ============ ACTIVITY ============ */
.activity {
    margin: 1.125rem 0;
    padding: 1.75rem;
    background: white;
    border-radius: 20px;
    transition: all 0.3s;
    border: 1px solid var(--oat);
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.activity:hover {
    border-color: var(--honey);
    box-shadow: 0 12px 28px rgba(60, 50, 40, 0.08);
    transform: translateX(4px);
}

.activity-icon-large {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--oat);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.activity:hover .activity-icon-large {
    background: var(--honey);
    transform: rotate(-5deg) scale(1.05);
}

.activity-content h3 {
    font-size: 1.3125rem;
    color: var(--ink-deep);
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.activity-tag {
    font-size: 0.6875rem;
    background: var(--oat);
    color: var(--ink-soft);
    padding: 0.1875rem 0.625rem;
    border-radius: 100px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.activity-content p { margin-bottom: 0; font-size: 0.9375rem; }

/* ============ INVOLVE GRID ============ */
.involve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.375rem;
}

.involve-card {
    padding: 1.75rem;
    background: white;
    border-radius: 22px;
    border: 1px solid var(--oat);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.involve-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(60, 50, 40, 0.08);
}

.involve-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    margin-bottom: 1.125rem;
    transition: transform 0.3s;
}

.involve-card:hover .involve-icon { transform: rotate(-8deg) scale(1.05); }

.involve-icon.honey { background: linear-gradient(135deg, var(--honey-bright), var(--honey)); }
.involve-icon.sage { background: linear-gradient(135deg, var(--sage), var(--sage-deep)); }
.involve-icon.hearth { background: linear-gradient(135deg, var(--hearth-light), var(--hearth)); }
.involve-icon.coral { background: linear-gradient(135deg, var(--coral), var(--hearth)); }

.involve-card h3 {
    color: var(--ink-deep);
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
    font-weight: 500;
}

.involve-card p {
    font-size: 0.875rem;
    color: var(--stone);
    flex: 1;
    margin-bottom: 1.375rem;
    line-height: 1.65;
}

.involve-card .btn {
    align-self: stretch;
    text-align: center;
    width: 100%;
}

/* ============ FORMS ============ */
.form-group { margin-bottom: 1.125rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="url"], input[type="password"], input[type="search"],
textarea, select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--wheat);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--ink-deep);
    background: white;
    transition: all 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--honey);
    box-shadow: 0 0 0 3px rgba(212, 160, 95, 0.15);
}

textarea { resize: vertical; min-height: 110px; }

.contact-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 2.75rem;
    border-radius: 24px;
    border: 1px solid var(--oat);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.newsletter-form {
    display: flex;
    gap: 0.625rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input { flex: 1; }

/* ============ MODAL ============ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 42, 38, 0.5);
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2.5rem;
    backdrop-filter: blur(6px);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.2s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    padding: 2.25rem;
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--ink-deep);
    font-size: 1.625rem;
    margin: 0;
}

.modal-subtitle {
    color: var(--stone);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.modal-close {
    background: var(--oat);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--ink-soft);
    line-height: 1;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--wheat);
    transform: rotate(90deg);
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.amount-btn {
    padding: 0.875rem;
    background: white;
    color: var(--ink-soft);
    border: 1.5px solid var(--wheat);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.amount-btn:hover {
    border-color: var(--honey);
    transform: translateY(-2px);
}

.amount-btn.selected {
    background: var(--ink-deep);
    color: white;
    border-color: var(--ink-deep);
}

.amount-btn.selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 0.6875rem;
    color: var(--honey-bright);
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--ink-deep);
    color: var(--linen);
    padding: 4.375rem 1.75rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 160, 95, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-cta {
    max-width: 1080px;
    margin: 0 auto 3.125rem;
    background: linear-gradient(135deg, var(--honey) 0%, var(--hearth) 100%);
    padding: 2.75rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer-cta-text h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-family: 'Fraunces', serif;
}

.footer-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin: 0;
}

.footer-cta .btn {
    background: white;
    color: var(--ink-deep) !important;
    flex-shrink: 0;
}

.footer-cta .btn:hover {
    background: var(--ink-deep);
    color: white !important;
}

.footer-grid {
    max-width: 1080px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.footer-col h3 {
    color: white;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-col p, .footer-col a {
    color: rgba(250, 245, 236, 0.6);
    font-size: 0.875rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.625rem;
    line-height: 1.6;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--honey-bright); }

.footer-col .footer-brand {
    color: white;
    font-weight: 500;
    margin-bottom: 0.875rem;
    font-size: 1.375rem;
    font-family: 'Fraunces', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 245, 236, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(250, 245, 236, 0.4);
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============ REGION CARDS ============ */
.region-card .card-image { font-size: 3.5rem; height: 140px; }
.region-africa .card-image { background: linear-gradient(135deg, var(--hearth) 0%, #9B5A40 100%); }
.region-asia .card-image { background: linear-gradient(135deg, var(--honey) 0%, var(--honey-deep) 100%); }
.region-eurasia .card-image { background: linear-gradient(135deg, #97A8B0 0%, #6B7E88 100%); }
.region-americas .card-image { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%); }
.region-pacific .card-image { background: linear-gradient(135deg, var(--coral) 0%, var(--hearth) 100%); }
.region-gateway .card-image { background: linear-gradient(135deg, var(--ink-soft) 0%, var(--stone) 100%); }

.region-link {
    color: var(--honey-deep) !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin-top: 0.75rem;
    transition: all 0.2s;
}

.region-link:hover { color: var(--hearth) !important; }
.region-link:hover .arrow { transform: translateX(3px); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

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

/* ============ PAGE TRANSITIONS ============ */
.site-main { animation: fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ WORDPRESS DEFAULTS ============ */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }

.wp-caption { max-width: 100%; margin-bottom: 1rem; }
.wp-caption-text {
    font-size: 0.875rem;
    color: var(--stone);
    text-align: center;
    padding: 0.5rem;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.post {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--oat);
}

.post-title { color: var(--ink-deep); margin-bottom: 0.5rem; }
.post-meta { color: var(--stone); font-size: 0.875rem; margin-bottom: 1rem; }

/* Sidebar */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--oat);
    border-radius: 16px;
}

.widget-title { color: var(--ink-deep); margin-bottom: 1rem; font-size: 1.25rem; }
.widget ul { list-style: none; padding: 0; }
.widget li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--wheat);
}
.widget li:last-child { border-bottom: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.75rem; }
    .section h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    .hero { padding: 3.5rem 1rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .section { padding: 3rem 1rem; }

    .menu-toggle { display: block; }
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--linen);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid var(--oat);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    .main-navigation.active { display: flex; }
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .main-navigation li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--oat);
    }
    .donate-btn-header { margin-top: 1rem; text-align: center; justify-content: center; }

    .stats-grid, .cards-grid, .involve-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .impact-story, .impact-story.reverse { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .activity { flex-direction: column; }
    .footer-cta { flex-direction: column; text-align: center; }
    .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { width: 100%; }
    .amount-grid { grid-template-columns: 1fr; }
}
