/*
Design philosophy: Island Spiritual Minimalism. This stylesheet must reinforce calm Hawaiian light, generous whitespace, soft spiritual imagery, high legal trust, large footer email, and unique nonprofit identity without generic centered-template repetition.
*/

:root {
  --bg: #fbf7ef; --ink: #24352f; --muted: #66746c; --primary: #2f6b55; --accent: #d8a64a; --soft: #e8efe6; --deep: #15392f;
  --paper: #fffefa; --line: rgba(36, 53, 47, .16); --shadow: 0 24px 70px rgba(31, 49, 42, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Source Sans 3', Arial, sans-serif; line-height: 1.65; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 15% 10%, rgba(255,255,255,.75), transparent 26%), radial-gradient(circle at 84% 18%, rgba(216,166,74,.16), transparent 28%); z-index: -1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--deep); color: white; padding: .75rem 1rem; z-index: 99; }
.skip-link:focus { left: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: color-mix(in srgb, var(--bg) 86%, white 14%); border-bottom: 1px solid var(--line); }
.nav { width: min(1180px, calc(100% - 36px)); margin: auto; display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.25rem; }
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--primary); box-shadow: inset 0 0 0 1px var(--line); font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; }
.nav-links { display: flex; align-items: center; gap: 1.05rem; font-size: .96rem; }
.nav-links a { position: relative; color: var(--muted); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: var(--accent); transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }
.cta, button.cta { border: 0; background: var(--primary); color: white; padding: .85rem 1.15rem; border-radius: 999px; font-weight: 800; box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 24%, transparent); transition: transform .25s ease, filter .25s ease; }
.cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--paper); padding: .65rem .8rem; border-radius: 999px; }
.hero { width: min(1180px, calc(100% - 36px)); margin: 46px auto 70px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 2.2rem; align-items: center; }
.hero-copy { padding: clamp(1rem, 3vw, 3rem) 0; }
.kicker { text-transform: uppercase; letter-spacing: .18em; color: var(--primary); font-weight: 900; font-size: .78rem; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.04; }
h1 { font-size: clamp(2.7rem, 7vw, 5.8rem); margin: .55rem 0 1.1rem; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 1rem; letter-spacing: -.03em; }
h3 { font-size: 1.55rem; margin: 0 0 .55rem; }
.hero p { font-size: 1.18rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; align-items: center; }
.secondary-link { font-weight: 800; color: var(--primary); border-bottom: 2px solid var(--accent); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: 42% 4% 36% 4%; box-shadow: var(--shadow); }
.hero-card { position: absolute; left: -26px; bottom: -28px; width: min(320px, 80%); background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border: 1px solid var(--line); padding: 1rem; box-shadow: var(--shadow); }
main section { width: min(1180px, calc(100% - 36px)); margin: 0 auto 76px; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.split.reverse { grid-template-columns: .92fr 1.08fr; }
.section-image { border-radius: 6px 58px 6px 58px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.section-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.eyebrow { color: var(--primary); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.panel { background: color-mix(in srgb, var(--paper) 84%, var(--soft) 16%); border: 1px solid var(--line); padding: clamp(1.3rem, 4vw, 2.4rem); box-shadow: 0 18px 48px rgba(31,49,42,.08); }
.programs { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; align-items: start; }
.program-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.program-card { background: var(--paper); border: 1px solid var(--line); padding: 1.2rem; min-height: 150px; transition: transform .25s ease, box-shadow .25s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(31,49,42,.1); }
.program-card .num { color: var(--accent); font-weight: 900; letter-spacing: .12em; }
.impact-band { background: var(--deep); color: white; width: 100%; max-width: none; padding: 80px max(18px, calc((100% - 1180px)/2)); margin-bottom: 0; display: grid; grid-template-columns: 1fr .86fr; gap: 2rem; align-items: center; }
.impact-band p { color: rgba(255,255,255,.78); }
.impact-band img { border-radius: 60px 8px 60px 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.contact { background: var(--soft); max-width: none; width: 100%; padding: 76px max(18px, calc((100% - 1180px)/2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.contact form { background: var(--paper); padding: 1.4rem; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: .9rem; }
input, textarea { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.site-footer { background: #10241f; color: white; padding: 54px max(18px, calc((100% - 1180px)/2)) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .85fr .75fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.legal-box { border: 1px solid rgba(255,255,255,.2); padding: 1rem; background: rgba(255,255,255,.06); }
.footer-email { display: inline-block; font-size: clamp(1.15rem, 2.2vw, 1.7rem); color: #ffe2a1 !important; font-weight: 900; margin-top: .5rem; word-break: break-word; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.modal { border: 0; max-width: 480px; padding: 0; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(16,36,31,.48); }
.modal-inner { padding: 1.5rem; background: var(--paper); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); color: white; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.to-top.visible { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(20px); filter: blur(8px); transition: opacity .65s ease, transform .65s ease, filter .65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 18px 1.4rem; display: none; flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero, .split, .split.reverse, .programs, .impact-band, .contact, .footer-grid { grid-template-columns: 1fr; }
  .hero { margin-top: 20px; }
  .hero-card { position: static; width: auto; margin-top: 1rem; }
  .program-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } .reveal { opacity: 1; transform: none; filter: none; } }
