/*
Theme Name: Shakenisho Impact
Theme URI: https://www.shakenisho.org/
Author: Shakenisho
Description: A refined, responsive, donor-focused WordPress theme for Shakenisho — A Life Worth Living.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: shakenisho-impact
*/

:root {
	--admin-bar-offset: 0px;
  --forest-950: #062e27;
  --forest-900: #093c32;
  --forest-800: #0d5141;
  --forest-700: #176a55;
  --sun: #f4b41b;
  --sun-light: #ffd363;
  --clay: #c96f45;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --mist: #eaf1ec;
  --ink: #15312a;
  --muted: #62716c;
  --line: #d9e1db;
  --white: #ffffff;
  --display: "DM Serif Display", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --shadow-sm: 0 12px 32px rgba(6, 46, 39, 0.08);
  --shadow-lg: 0 25px 70px rgba(6, 46, 39, 0.16);
  --radius-sm: 10px;
  --radius: 22px;
  --radius-lg: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.72 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; overscroll-behavior: none; }
body.admin-bar { --admin-bar-offset: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1.25rem; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 400; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 7.4vw, 7rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); letter-spacing: -0.018em; }
::selection { color: var(--forest-950); background: var(--sun-light); }

.wrap { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: clamp(82px, 10vw, 140px) 0; }
.section-cream { background: var(--cream); }
.section-mist { background: var(--mist); }
.section-dark { overflow: hidden; background: var(--forest-950); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.skip-link {
  position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 12px 16px;
  transform: translateY(-150%); border-radius: 8px; background: var(--white); color: var(--forest-950);
}
.skip-link:focus { transform: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin: 0 0 20px;
  color: var(--clay); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase;
}
.eyebrow::before { width: 32px; height: 2px; content: ""; background: currentColor; }
.eyebrow-light { color: var(--sun); }
.eyebrow-light::before { background: var(--sun); }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.8; }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .lead { margin-inline: auto; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading h2 em, h2 em, h1 em { color: var(--sun); font-weight: inherit; }

.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-size: 0.83rem;
  font-weight: 800; line-height: 1; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun); outline-offset: 3px;
}
.button-sun { background: var(--sun); color: var(--forest-950); box-shadow: 0 10px 24px rgba(244, 180, 27, 0.22); }
.button-sun:hover { background: var(--sun-light); box-shadow: 0 15px 30px rgba(244, 180, 27, 0.28); }
.button-forest { background: var(--forest-800); color: var(--white); }
.button-forest:hover { background: var(--forest-700); }
.button-outline { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); color: var(--white); backdrop-filter: blur(8px); }
.button-outline:hover { border-color: var(--white); background: var(--white); color: var(--forest-950); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--forest-800); font-size: 0.86rem; font-weight: 800; }
.text-link::after { content: "→"; transition: transform 160ms ease; }
.text-link:hover::after { transform: translateX(4px); }
.text-link-light { color: var(--sun-light); }

.site-header {
	position: fixed; z-index: 1000; top: var(--admin-bar-offset); right: 0; left: 0; isolation: isolate; color: var(--white);
	transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}
.site-header::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ""; background: rgba(255,255,255,0.18); }
.site-header.is-scrolled, body:not(.home) .site-header, body.menu-open .site-header { background: rgba(6, 46, 39, 0.98); box-shadow: 0 12px 35px rgba(6, 46, 39, 0.18); backdrop-filter: blur(14px); }
.header-inner { position: relative; z-index: 3; display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 2; flex: 0 0 auto; }
.brand img, .brand .custom-logo { width: 148px; max-height: 64px; object-fit: contain; filter: brightness(0) invert(1); }
.brand .custom-logo-link { display: block; }
.desktop-nav { margin-left: auto; }
.desktop-nav .menu { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 33px); margin: 0; padding: 0; list-style: none; }
.desktop-nav a { position: relative; padding: 34px 0; font-size: 0.79rem; font-weight: 700; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 25px; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--sun); transition: transform 160ms ease; }
.desktop-nav a:hover::after, .desktop-nav .current-menu-item a::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-donate { min-height: 44px; padding-inline: 19px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.42); border-radius: 50%; background: transparent; color: inherit; }
.menu-toggle-lines { display: grid; width: 19px; gap: 4px; margin: auto; }
.menu-toggle-lines i { display: block; width: 100%; height: 2px; border-radius: 99px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-open .menu-toggle-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle-lines i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { visibility: hidden; position: fixed; z-index: 2; top: calc(var(--admin-bar-offset) + 92px); right: 0; bottom: 0; left: 0; overflow-y: auto; padding: 22px 0 42px; transform: translateY(-10px); opacity: 0; background: var(--forest-950); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
.menu-open .mobile-nav { visibility: visible; transform: none; opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.mobile-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.13); font: clamp(1.45rem, 5vh, 2rem)/1.15 var(--display); }
.mobile-extra { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--sun-light); font-size: 0.86rem; font-weight: 800; }
.mobile-donate { display: none; margin-top: 24px; color: var(--forest-950); }

.hero { position: relative; display: grid; min-height: min(920px, 100svh); align-items: end; overflow: hidden; color: var(--white); }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgba(4,39,31,0.96) 0%, rgba(5,48,38,0.78) 42%, rgba(7,38,31,0.22) 75%), linear-gradient(0deg, rgba(4,31,25,0.56), transparent 44%); }
.hero-content { position: relative; z-index: 2; padding-top: 170px; padding-bottom: clamp(105px, 13vh, 145px); }
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: var(--sun); }
.hero h1 { max-width: 700px; color: var(--white); }
.hero h1 em { display: block; }
.hero-text { max-width: 610px; margin: 28px 0 34px; color: rgba(255,255,255,0.86); font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-proof {
  position: absolute; z-index: 3; right: max(24px, calc((100vw - 1220px) / 2)); bottom: 40px;
  display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,0.84); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-proof::before { width: 48px; height: 1px; content: ""; background: var(--sun); }

.trust-strip { background: var(--forest-900); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 126px; padding: 28px 26px; border-right: 1px solid rgba(255,255,255,0.13); }
.trust-item:first-child { border-left: 1px solid rgba(255,255,255,0.13); }
.trust-item span { display: block; margin-bottom: 8px; color: var(--sun); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.trust-item strong { font-family: var(--display); font-size: 1.35rem; font-weight: 400; }

.mission-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(55px, 9vw, 125px); }
.mission-copy h2 { margin-bottom: 26px; }
.mission-copy .lead { margin-bottom: 28px; }
.mission-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mission-card { position: relative; min-height: 360px; padding: 34px; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.mission-card:last-child { transform: translateY(34px); background: var(--forest-800); color: var(--white); }
.mission-card:last-child h3 { color: var(--white); }
.mission-card-number { color: var(--clay); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; }
.mission-card:last-child .mission-card-number { color: var(--sun); }
.mission-card h3 { margin: 68px 0 17px; }
.mission-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; }
.mission-card:last-child p { color: rgba(255,255,255,0.76); }
.mission-card::after { position: absolute; right: -35px; bottom: -55px; width: 150px; height: 150px; border: 1px solid rgba(201,111,69,0.22); border-radius: 50%; content: ""; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.program-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 200ms ease, box-shadow 200ms ease; }
.program-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.program-image { position: relative; height: 245px; overflow: hidden; background: var(--forest-900); }
.program-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.program-card:hover .program-image img { transform: scale(1.045); }
.program-tag { position: absolute; top: 17px; left: 17px; padding: 7px 11px; border-radius: 999px; background: rgba(6,46,39,0.88); color: var(--white); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.program-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 27px 27px 29px; }
.program-copy h3 { margin-bottom: 13px; }
.program-copy p { color: var(--muted); font-size: 0.88rem; line-height: 1.75; }
.program-copy .text-link { margin-top: auto; }

.story-banner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr); overflow: hidden; border-radius: var(--radius-lg); background: var(--forest-950); box-shadow: var(--shadow-lg); }
.story-banner-image { min-height: 590px; }
.story-banner-image img { width: 100%; height: 100%; object-fit: cover; }
.story-banner-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 7vw, 90px); color: var(--white); }
.story-banner-copy h2 { margin-bottom: 24px; color: var(--white); }
.story-banner-copy p { color: rgba(255,255,255,0.76); }
.story-points { display: grid; gap: 16px; margin: 28px 0 32px; }
.story-point { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.story-point b { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; color: var(--sun); font-size: 0.75rem; }
.story-point strong { display: block; margin-bottom: 3px; color: var(--white); font-size: 0.84rem; }
.story-point span { color: rgba(255,255,255,0.64); font-size: 0.78rem; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; min-height: 420px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 180ms ease, box-shadow 180ms ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.post-card-image { display: block; height: 210px; overflow: hidden; background: var(--forest-900); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.post-card:hover .post-card-image img { transform: scale(1.045); }
.post-card-content { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; padding: 28px; }
.post-card .meta { margin-bottom: 18px; color: var(--clay); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.post-card h3 { margin-bottom: 13px; }
.post-card p { color: var(--muted); font-size: 0.87rem; }
.post-card.empty-card { justify-content: flex-end; min-height: 310px; padding: 28px; }
.empty-card { grid-column: 1 / -1; min-height: 280px; align-items: center; justify-content: center; padding: 45px; text-align: center; }
.empty-card h3 { margin-bottom: 13px; }

.donor-cta { position: relative; overflow: hidden; background: var(--sun); }
.donor-cta::before { position: absolute; top: -55%; right: -10%; width: 530px; height: 530px; border: 1px solid rgba(6,46,39,0.18); border-radius: 50%; content: ""; }
.donor-cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; padding-block: 80px; }
.donor-cta h2 { max-width: 820px; color: var(--forest-950); }
.donor-cta p { max-width: 640px; margin: 18px 0 0; color: rgba(6,46,39,0.78); }
.donor-cta .button { background: var(--forest-950); color: var(--white); box-shadow: 0 12px 30px rgba(6,46,39,0.2); }

.page-hero { position: relative; display: grid; min-height: 560px; align-items: end; overflow: hidden; padding: 175px 0 90px; background: var(--forest-950); color: var(--white); }
.page-hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 82% 25%, rgba(244,180,27,0.17), transparent 28%), linear-gradient(130deg, transparent 58%, rgba(255,255,255,0.05)); }
.page-hero::after { position: absolute; right: -60px; bottom: -190px; width: 510px; height: 510px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; content: ""; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 930px; color: var(--white); font-size: clamp(3.3rem, 7vw, 6.3rem); }
.page-hero .lead { max-width: 680px; margin-top: 25px; color: rgba(255,255,255,0.73); }

.about-origin { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.about-image-stack { position: relative; padding: 0 42px 42px 0; }
.about-image-stack img { width: 100%; min-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-image-stack::after { position: absolute; z-index: -1; right: 0; bottom: 0; width: 65%; height: 60%; border-radius: var(--radius); content: ""; background: var(--sun); }
.about-copy h2 { margin-bottom: 25px; }
.about-copy p { color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card { min-height: 290px; padding: 31px; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); background: rgba(255,255,255,0.045); }
.value-card span { display: block; color: var(--sun); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; }
.value-card h3 { margin: 53px 0 13px; }
.value-card p { color: rgba(255,255,255,0.66); font-size: 0.86rem; }

.program-detail-list { display: grid; gap: 30px; }
.program-detail { display: grid; grid-template-columns: minmax(330px, 0.88fr) 1.12fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.program-detail:nth-child(even) .program-detail-image { order: 2; }
.program-detail-image { min-height: 520px; }
.program-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.program-detail-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 76px); }
.program-detail-copy h2 { margin-bottom: 18px; font-size: clamp(2.35rem, 4vw, 4rem); }
.program-detail-copy > p { color: var(--muted); }
.focus-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 20px; margin: 23px 0 30px; padding: 0; list-style: none; }
.focus-list li { position: relative; padding-left: 22px; color: var(--forest-800); font-size: 0.82rem; font-weight: 700; }
.focus-list li::before { position: absolute; top: 0; left: 0; content: "✓"; color: var(--clay); }

.impact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(60px, 9vw, 125px); }
.impact-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.impact-grid.reverse .impact-image { order: 2; }
.impact-image { position: relative; }
.impact-image img { width: 100%; min-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.impact-image .image-caption { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 20px 22px; border-radius: 15px; background: rgba(6,46,39,0.9); color: var(--white); font-size: 0.78rem; backdrop-filter: blur(8px); }
.impact-copy h2 { margin-bottom: 23px; }
.impact-copy > p { color: var(--muted); }
.principles { display: grid; gap: 14px; margin-top: 28px; }
.principle { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.principle b { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--forest-800); font-size: 0.75rem; }
.principle strong { display: block; margin-bottom: 3px; }
.principle span { color: var(--muted); font-size: 0.8rem; }

.gallery-grid { columns: 3 300px; column-gap: 18px; }
.gallery-item { position: relative; margin: 0 0 18px; overflow: hidden; break-inside: avoid; border-radius: var(--radius); background: var(--forest-900); }
.gallery-item img { width: 100%; min-height: 260px; object-fit: cover; transition: transform 500ms ease; }
.gallery-item:nth-child(3n+1) img { min-height: 420px; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 55px 20px 20px; color: var(--white); font-size: 0.77rem; font-weight: 700; background: linear-gradient(transparent, rgba(4,35,28,0.9)); }

.contact-layout, .volunteer-layout, .donate-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: clamp(55px, 8vw, 110px); }
.contact-copy h2, .volunteer-copy h2, .donate-copy h2 { margin-bottom: 24px; }
.contact-copy > p, .volunteer-copy > p, .donate-copy > p { color: var(--muted); }
.contact-details { display: grid; gap: 12px; margin-top: 32px; }
.contact-detail { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.contact-detail b { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--forest-800); }
.contact-detail span { display: block; color: var(--muted); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.contact-detail strong { font-size: 0.9rem; }
.form-card { padding: clamp(30px, 4vw, 48px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.form-card h3 { margin-bottom: 27px; }
.form-eyebrow { margin-bottom: 10px; color: var(--clay); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; color: var(--ink); font-size: 0.77rem; font-weight: 800; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 51px; padding: 12px 14px; border: 1px solid #cad6ce; border-radius: 9px; background: var(--paper); color: var(--ink); outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(23,106,85,0.12); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-card .button { width: 100%; margin-top: 5px; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.72rem; }
.form-status { margin: 0 0 20px; padding: 14px 16px; border-radius: 9px; background: var(--mist); color: var(--forest-800); font-size: 0.84rem; font-weight: 700; }
.form-status.error { background: #fff0ec; color: #8a321d; }
.role-list { display: grid; gap: 12px; margin-top: 28px; }
.role-item { padding: 18px 19px; border-left: 3px solid var(--sun); background: var(--cream); }
.role-item strong { display: block; margin-bottom: 4px; }
.role-item span { color: var(--muted); font-size: 0.78rem; }
.donation-points { display: grid; gap: 10px; margin-top: 28px; }
.donation-points span { position: relative; padding-left: 25px; color: var(--forest-800); font-weight: 700; }
.donation-points span::before { position: absolute; left: 0; content: "♥"; color: var(--clay); }
.amount-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0 18px; }
.amount-option { min-height: 45px; border: 1px solid #cad6ce; border-radius: 8px; background: var(--paper); color: var(--forest-800); font-size: 0.78rem; font-weight: 800; }
.amount-option:hover, .amount-option.selected { border-color: var(--forest-800); background: var(--forest-800); color: var(--white); }

.event-list { display: grid; gap: 16px; }
.event-card { display: grid; grid-template-columns: 105px 1fr auto; gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.event-date { display: grid; min-height: 96px; place-items: center; align-content: center; border-radius: 15px; background: var(--forest-900); color: var(--white); line-height: 1; }
.event-date span { color: var(--sun); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.event-date b { margin-top: 8px; font: 2.2rem var(--display); }
.event-copy .meta { color: var(--clay); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.event-copy h3 { margin: 7px 0; }
.event-copy p { margin: 0; color: var(--muted); font-size: 0.83rem; }
.empty-large { padding: 70px 35px; border-radius: var(--radius); background: var(--cream); text-align: center; }
.empty-large h2 { margin-bottom: 15px; font-size: 2.5rem; }
.empty-large p { max-width: 620px; margin-inline: auto; color: var(--muted); }

.article { padding: 180px 0 100px; }
.article-header { max-width: 900px; margin-bottom: 45px; }
.article .meta { margin-bottom: 17px; color: var(--clay); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.article h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); }
.article-content { max-width: 760px; color: #2d453e; font: 1.2rem/1.85 var(--display); }
.article-content > * + * { margin-top: 1.5em; }
.article-content a { color: var(--forest-700); text-decoration: underline; }
.default-page { min-height: 65vh; padding: 180px 0 100px; }
.default-page h1 { margin-bottom: 35px; font-size: clamp(3.2rem, 7vw, 6.2rem); }
.default-content { max-width: 790px; }

.site-footer { padding: 84px 0 0; background: var(--forest-950); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.65fr 0.75fr 1fr; gap: clamp(32px, 5vw, 70px); }
.footer-brand img { width: 160px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 340px; margin: 22px 0 26px; color: rgba(255,255,255,0.65); font-size: 0.84rem; }
.footer-title { margin-bottom: 20px; color: var(--sun); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-links, .footer-contact { display: grid; gap: 9px; }
.footer-links a, .footer-contact > * { color: rgba(255,255,255,0.69); font-size: 0.81rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--sun-light); }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.social-links a { padding: 7px 10px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; color: rgba(255,255,255,0.78); font-size: 0.68rem; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 70px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.13); color: rgba(255,255,255,0.47); font-size: 0.68rem; }

.reveal { transform: translateY(20px); opacity: 0; transition: transform 650ms cubic-bezier(.2,.7,.2,1), opacity 650ms ease; }
.reveal.is-visible { transform: none; opacity: 1; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .wrap, .narrow { width: min(100% - 32px, 1220px); }
  .header-inner { min-height: 76px; }
  .mobile-nav { top: calc(var(--admin-bar-offset) + 76px); }
  .brand img, .brand .custom-logo { width: 122px; }
  .header-donate { min-height: 40px; padding-inline: 14px; }
  .hero { min-height: 780px; }
  .hero-content { padding-top: 140px; padding-bottom: 90px; }
  .hero-media img { object-position: 63% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(4,39,31,0.94), rgba(5,48,38,0.72) 68%, rgba(7,38,31,0.3)), linear-gradient(0deg, rgba(4,31,25,0.5), transparent 44%); }
  .hero-proof { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .mission-layout, .about-origin, .impact-grid, .impact-grid.reverse, .contact-layout, .volunteer-layout, .donate-layout { grid-template-columns: 1fr; }
  .mission-cards { margin-bottom: 34px; }
  .story-banner { grid-template-columns: 1fr; }
  .story-banner-image { min-height: 440px; }
  .posts-grid { grid-template-columns: 1fr; }
  .donor-cta-inner { grid-template-columns: 1fr; }
  .donor-cta .button { justify-self: start; }
  .program-detail { grid-template-columns: 1fr; }
  .program-detail:nth-child(even) .program-detail-image { order: 0; }
  .program-detail-image { min-height: 420px; }
  .impact-grid.reverse .impact-image { order: 0; }
  .gallery-grid { columns: 2 260px; }
  .event-card { grid-template-columns: 90px 1fr; }
  .event-card .button { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .section { padding: 75px 0; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .header-actions { gap: 8px; }
  .header-donate { font-size: 0.72rem; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero { min-height: 730px; }
  .hero-content { padding-bottom: 70px; }
  .hero-text { font-size: 0.95rem; }
  .hero-actions .button { width: 100%; }
  .trust-item { min-height: 112px; padding: 22px 17px; }
  .trust-item strong { font-size: 1.08rem; }
  .mission-cards, .program-grid, .values-grid, .footer-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: 295px; }
  .mission-card:last-child { transform: none; }
  .mission-card h3 { margin-top: 45px; }
  .program-image { height: 225px; }
  .story-banner-image { min-height: 340px; }
  .story-banner-copy { padding: 38px 28px; }
  .page-hero { min-height: 500px; padding: 145px 0 70px; }
  .page-hero h1 { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .about-image-stack { padding: 0 20px 20px 0; }
  .about-image-stack img, .impact-image img { min-height: 420px; }
  .program-detail-image { min-height: 310px; }
  .program-detail-copy { padding: 32px 25px; }
  .focus-list { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .gallery-item:nth-child(3n+1) img { min-height: 330px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .amount-options { grid-template-columns: repeat(3, 1fr); }
  .event-card { grid-template-columns: 70px 1fr; gap: 18px; padding: 20px; }
  .event-date { min-height: 75px; }
  .event-date b { font-size: 1.75rem; }
  .footer-bottom { display: grid; gap: 5px; }
}

@media (max-width: 782px) {
  body.admin-bar { --admin-bar-offset: 46px; }
}

@media (max-width: 400px) {
  .brand img, .brand .custom-logo { width: 104px; }
  .header-donate { display: none; }
  .mobile-donate { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { transform: none; opacity: 1; }
}
