/*
Theme Name: WOHEEA
Theme URI: https://woheea.org
Author: WOHEEA
Author URI: https://woheea.org
Description: A warm, evidence-based theme for Women on Health and Economic Empowerment Arusha (WOHEEA). Built mobile-first with generous whitespace, clear hierarchy, and a narrative of agency and resilience. Earthy palette: forest green, warm gold, cream.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: woheea
Tags: nonprofit, ngo, women-empowerment, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   WOHEEA Theme — Design tokens & base styles
   ========================================================= */

:root {
    /* Earthy palette — growth, dignity, warmth */
    --woheea-green-900: #1F4D3A;
    --woheea-green-700: #2E7D5B;
    --woheea-green-500: #4FA67D;
    --woheea-green-100: #DDEEE5;

    --woheea-gold-700: #C8861D;
    --woheea-gold-500: #F2A93B;
    --woheea-gold-100: #FCEBC8;

    --woheea-clay-700: #8B4A2B;
    --woheea-clay-500: #C66A3D;

    --woheea-ink-900: #1F1A14;
    --woheea-ink-700: #3D342A;
    --woheea-ink-500: #6B5E4F;
    --woheea-ink-300: #B5A99A;

    --woheea-cream-100: #FAF6F0;
    --woheea-cream-200: #F2EBDD;
    --woheea-cream-300: #E8DDC7;
    --woheea-white: #FFFFFF;

    /* Semantic */
    --color-bg: var(--woheea-cream-100);
    --color-bg-alt: var(--woheea-white);
    --color-bg-deep: var(--woheea-green-900);
    --color-text: var(--woheea-ink-900);
    --color-text-muted: var(--woheea-ink-500);
    --color-border: var(--woheea-cream-300);
    --color-primary: var(--woheea-green-700);
    --color-primary-dark: var(--woheea-green-900);
    --color-accent: var(--woheea-gold-500);
    --color-accent-dark: var(--woheea-gold-700);

    /* Typography */
    --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.25rem;
    --fs-hero: 3.75rem;

    --lh-tight: 1.15;
    --lh-snug: 1.3;
    --lh-normal: 1.55;
    --lh-relaxed: 1.7;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 2.5rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 5rem;
    --space-16: 7rem;
    --space-20: 9rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 820px;
    --container-px: clamp(1rem, 4vw, 2rem);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(31, 26, 20, 0.06), 0 1px 3px rgba(31, 26, 20, 0.04);
    --shadow-md: 0 4px 8px rgba(31, 26, 20, 0.06), 0 8px 24px rgba(31, 26, 20, 0.08);
    --shadow-lg: 0 12px 32px rgba(31, 26, 20, 0.10), 0 24px 48px rgba(31, 26, 20, 0.08);
    --shadow-glow: 0 8px 32px rgba(46, 125, 91, 0.18);

    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Google Fonts via @import for self-contained activation */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* =========================================================
   Reset & base
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
a:hover, a:focus-visible { color: var(--color-accent-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--lh-tight);
    color: var(--color-text);
    margin: 0 0 var(--space-4);
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.25rem, 5vw, var(--fs-hero)); line-height: var(--lh-tight); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--fs-3xl)); }
h3 { font-size: clamp(1.375rem, 2.5vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
li + li { margin-top: var(--space-2); }

::selection { background: var(--woheea-gold-100); color: var(--color-text); }

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: var(--space-2);
    background: var(--color-primary-dark);
    color: var(--woheea-white);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-sm);
    z-index: 10000;
    text-decoration: none;
}
.skip-link:focus { left: var(--space-2); color: var(--woheea-white); }

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
    padding-block: clamp(var(--space-10), 8vw, var(--space-16));
}
.section--tight { padding-block: clamp(var(--space-8), 6vw, var(--space-10)); }

.section--cream { background: var(--woheea-cream-200); }
.section--white { background: var(--color-bg-alt); }
.section--green {
    background: var(--color-primary-dark);
    color: var(--woheea-cream-100);
}
.section--green h1, .section--green h2, .section--green h3 { color: var(--woheea-cream-100); }
.section--green a { color: var(--woheea-gold-500); }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}
.section--green .section-eyebrow { color: var(--woheea-gold-500); }

.section-header { max-width: 720px; margin-bottom: var(--space-8); }
.section-header.center { margin-inline: auto; text-align: center; }

.lede {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
    max-width: 60ch;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}
.btn--primary:hover, .btn--primary:focus-visible {
    background: var(--color-accent-dark);
    color: var(--woheea-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--green {
    background: var(--color-primary);
    color: var(--woheea-white);
}
.btn--green:hover, .btn--green:focus-visible {
    background: var(--color-primary-dark);
    color: var(--woheea-white);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}
.btn--outline:hover, .btn--outline:focus-visible {
    background: var(--color-text);
    color: var(--woheea-cream-100);
}

.section--green .btn--outline {
    color: var(--woheea-cream-100);
    border-color: var(--woheea-cream-100);
}
.section--green .btn--outline:hover {
    background: var(--woheea-cream-100);
    color: var(--color-primary-dark);
}

.btn--lg { padding: var(--space-4) var(--space-7); font-size: var(--fs-md); }

.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Site header & navigation
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(184, 168, 138, 0.2);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    padding-block: var(--space-4);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text);
    flex-shrink: 0;
}
.site-brand:hover { color: var(--color-text); }

.site-brand__logo { width: 44px; height: 44px; flex-shrink: 0; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--fs-xl);
    letter-spacing: -0.02em;
}
.site-brand__sub {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

.primary-nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: var(--space-5); }

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.primary-nav__list li { margin: 0; }

.primary-nav a {
    display: inline-block;
    padding: var(--space-2) var(--space-3);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--fs-base);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a {
    color: var(--color-primary-dark);
    background: rgba(46, 125, 91, 0.08);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 0;
    color: var(--color-text);
}
.nav-toggle svg { margin: 0 auto; }

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; align-items: center; }
    .primary-nav {
        position: fixed;
        inset: 72px 0 0 0;
        background: var(--woheea-cream-100);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: var(--space-6) var(--container-px);
        gap: var(--space-5);
        transform: translateX(100%);
        transition: transform 250ms ease;
        overflow-y: auto;
        border-top: 1px solid var(--color-border);
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .primary-nav__list li { border-bottom: 1px solid var(--color-border); }
    .primary-nav__list a { display: block; padding: var(--space-4); font-size: var(--fs-md); }
    .primary-nav .btn { align-self: flex-start; margin-top: var(--space-3); }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(var(--space-10), 9vw, var(--space-16));
    background:
        radial-gradient(ellipse at 80% 0%, rgba(242, 169, 59, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(46, 125, 91, 0.12) 0%, transparent 55%),
        var(--woheea-cream-100);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(var(--space-6), 5vw, var(--space-10));
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--woheea-white);
    border: 1px solid var(--color-border);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-5);
}
.hero__eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.25);
}

.hero h1 {
    font-size: clamp(2.5rem, 5.6vw, var(--fs-hero));
    line-height: 1.05;
    margin-bottom: var(--space-5);
}
.hero h1 em {
    font-style: italic;
    color: var(--color-primary-dark);
    font-weight: 500;
}

.hero__lede {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-6);
    max-width: 56ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-7);
}

.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}
.hero__meta-item .num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1;
}
.hero__meta-item .label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-2);
}

.hero__visual { position: relative; }
.hero__art {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 880px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { order: -1; }
    .hero__meta { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}

/* =========================================================
   Card grids
   ========================================================= */

.grid {
    display: grid;
    gap: var(--space-6);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
    .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .grid--2 { grid-template-columns: 1fr; }
}

.card {
    background: var(--woheea-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--woheea-green-100);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}
.card__icon--gold { background: var(--woheea-gold-100); color: var(--color-accent-dark); }
.card__icon--clay { background: #F4DCD0; color: var(--woheea-clay-700); }
.card__icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.card__list { padding-left: 1.1rem; color: var(--color-text-muted); }

/* Stat blocks */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

.stat {
    text-align: left;
    padding: var(--space-5);
    background: rgba(250, 246, 240, 0.06);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}
.stat .num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1;
    color: var(--woheea-gold-500);
    display: block;
}
.stat .label {
    display: block;
    margin-top: var(--space-3);
    color: var(--woheea-cream-100);
    font-size: var(--fs-sm);
    line-height: var(--lh-snug);
}

/* =========================================================
   Featured story (Kelvin)
   ========================================================= */

.featured-story {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(var(--space-6), 4vw, var(--space-10));
    align-items: center;
    background: var(--woheea-white);
    border-radius: var(--radius-xl);
    padding: clamp(var(--space-6), 4vw, var(--space-10));
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
@media (max-width: 880px) { .featured-story { grid-template-columns: 1fr; } }

.featured-story__visual {
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--woheea-green-100), var(--woheea-gold-100));
    position: relative;
}
.featured-story__visual svg { width: 100%; height: 100%; }

.featured-story h2 { margin-bottom: var(--space-4); }
.featured-story blockquote {
    margin: var(--space-5) 0;
    padding: var(--space-5);
    background: var(--woheea-cream-200);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-style: italic;
    color: var(--color-text);
}
.featured-story__byline {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

/* =========================================================
   Mission split (vision + mission side by side)
   ========================================================= */

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}
@media (max-width: 880px) { .mv-grid { grid-template-columns: 1fr; } }

.mv-card {
    background: var(--woheea-white);
    padding: var(--space-7);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.mv-card.mv-card--accent { border-top-color: var(--color-accent); }
.mv-card__label {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}
.mv-card.mv-card--accent .mv-card__label { color: var(--color-accent-dark); }
.mv-card p {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    line-height: var(--lh-snug);
    color: var(--color-text);
}

/* =========================================================
   Values list
   ========================================================= */

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-5);
}
.values-list li { margin: 0; padding: var(--space-5); background: var(--woheea-white); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.values-list strong { display: block; font-family: var(--font-display); font-size: var(--fs-lg); margin-bottom: var(--space-2); color: var(--color-primary-dark); }
.values-list span { color: var(--color-text-muted); }

/* =========================================================
   Project card
   ========================================================= */

.project-card {
    background: var(--woheea-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.project-card__media {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--woheea-green-500), var(--woheea-green-900));
    color: var(--woheea-cream-100);
    position: relative;
    overflow: hidden;
}
.project-card__media svg { width: 100%; height: 100%; }
.project-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.project-card__partner {
    font-size: var(--fs-xs);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: var(--space-2);
}
.project-card h3 { margin-bottom: var(--space-3); }
.project-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}
.project-card__stat {
    background: var(--woheea-cream-200);
    color: var(--color-text);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
}
.project-card__stat strong { color: var(--color-primary-dark); margin-right: 4px; }

/* =========================================================
   Partner logos
   ========================================================= */

.partner-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-6);
    align-items: center;
    justify-content: center;
}
.partner-strip__item {
    padding: var(--space-3) var(--space-5);
    background: var(--woheea-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: var(--fs-sm);
}

/* =========================================================
   CTA banner
   ========================================================= */

.cta-banner {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--woheea-green-700) 100%);
    color: var(--woheea-cream-100);
    border-radius: var(--radius-xl);
    padding: clamp(var(--space-7), 6vw, var(--space-12));
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(242, 169, 59, 0.18);
    pointer-events: none;
}
.cta-banner::before { width: 240px; height: 240px; top: -80px; right: -60px; }
.cta-banner::after { width: 180px; height: 180px; bottom: -60px; left: -40px; }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--woheea-cream-100); margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(250, 246, 240, 0.85); max-width: 60ch; margin-inline: auto; margin-bottom: var(--space-6); font-size: var(--fs-md); }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }

/* =========================================================
   Site footer
   ========================================================= */

.site-footer {
    background: var(--color-primary-dark);
    color: rgba(250, 246, 240, 0.85);
    padding-top: var(--space-12);
    margin-top: var(--space-10);
}
.site-footer h4 { color: var(--woheea-cream-100); font-size: var(--fs-md); margin-bottom: var(--space-4); }
.site-footer a { color: var(--woheea-cream-100); text-decoration: none; }
.site-footer a:hover { color: var(--woheea-gold-500); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-7);
    padding-bottom: var(--space-10);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-about p { color: rgba(250, 246, 240, 0.7); margin-top: var(--space-3); }

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 0 0 var(--space-3); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: rgba(250, 246, 240, 0.85);
}
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--woheea-gold-500); }

.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(250, 246, 240, 0.08);
    border-radius: 50%;
    transition: background var(--transition);
}
.footer-social a:hover { background: var(--woheea-gold-500); color: var(--color-primary-dark); }
.footer-social svg { width: 18px; height: 18px; }

.site-footer__base {
    border-top: 1px solid rgba(250, 246, 240, 0.12);
    padding-block: var(--space-5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: var(--fs-sm);
    color: rgba(250, 246, 240, 0.6);
}
.site-footer__hashtags { color: var(--woheea-gold-500); }

/* =========================================================
   Inner pages
   ========================================================= */

.page-header {
    padding-block: clamp(var(--space-10), 7vw, var(--space-12));
    background:
        radial-gradient(ellipse at 90% 0%, rgba(242, 169, 59, 0.12) 0%, transparent 55%),
        var(--woheea-cream-200);
    border-bottom: 1px solid var(--color-border);
}
.page-header__eyebrow { color: var(--color-primary); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--fs-sm); }
.page-header h1 { margin: var(--space-2) 0 var(--space-4); }
.page-header p { color: var(--color-text-muted); font-size: var(--fs-md); max-width: 60ch; line-height: var(--lh-relaxed); }

.prose {
    max-width: 70ch;
}
.prose h2 { margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-6); }
.prose p, .prose li { color: var(--color-text); line-height: var(--lh-relaxed); font-size: var(--fs-md); }
.prose blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-5) 0;
    font-family: var(--font-display);
    font-style: italic;
    background: var(--woheea-cream-200);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { background: var(--woheea-white); border-radius: var(--radius-lg); padding: var(--space-7); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.contact-form label { display: block; font-weight: 600; margin-bottom: var(--space-2); font-size: var(--fs-sm); }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--woheea-cream-100);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--color-text);
    margin-bottom: var(--space-5);
    transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-primary); outline: none; background: var(--woheea-white); }
.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-info__item { display: flex; gap: var(--space-4); }
.contact-info__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    background: var(--woheea-green-100);
    color: var(--color-primary-dark);
    display: flex; align-items: center; justify-content: center;
}
.contact-info__icon svg { width: 22px; height: 22px; }
.contact-info__label { font-weight: 600; margin-bottom: var(--space-1); }
.contact-info__value { color: var(--color-text-muted); }

/* Posts list / archives */
.post-card {
    background: var(--woheea-white);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--color-border);
    margin-bottom: var(--space-5);
}
.post-card__meta { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.post-card h2 { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.post-card h2 a { color: var(--color-text); text-decoration: none; }
.post-card h2 a:hover { color: var(--color-primary-dark); }
.post-card__excerpt { color: var(--color-text-muted); }

/* WP core */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption .wp-caption-text { font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: var(--space-2); text-align: center; }
.screen-reader-text { position: absolute; left: -9999px; }

/* Pagination */
.pagination { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-7); }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-sm);
    text-decoration: none;
    background: var(--woheea-white);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.pagination .current { background: var(--color-primary); color: var(--woheea-white); border-color: var(--color-primary); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

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