/* V3: editorial pages and integrated portal */
:root{color-scheme:light;--surface:#fff;--text:#10213d;--sub:#52637c;--border:#dce4ee}body{font-size:16px;background:var(--surface);color:var(--text)}p{max-width:70ch}h2{font-size:clamp(26px,3vw,40px);line-height:1.2;letter-spacing:-.035em}h3{line-height:1.35}.kicker,.section-label,.micro,.copyr{font-size:14px}.card p,.foot a,.check,.cookie p,.links{font-size:14px}.btn,button{cursor:pointer;font-family:inherit}button:disabled{cursor:not-allowed;opacity:.65}.utility{display:flex;justify-content:flex-end;gap:18px;align-items:center;padding:8px 0;font-size:14px}.utility button,.tools button,[data-lang],[data-theme]{padding:8px 12px;background:transparent;color:inherit;border:1px solid var(--border);border-radius:8px}.links{gap:13px}.nav{flex-wrap:wrap;padding:12px 0;gap:15px}.brand{flex-shrink:0}.links{flex-wrap:wrap;justify-content:flex-end;max-width:820px}.links a[aria-current]{color:var(--blue)}.brand img{height:auto}.skip{position:fixed;top:-90px;background:white;padding:16px;z-index:1000}.skip:focus{top:8px}:focus-visible{outline:3px solid #2563eb;outline-offset:4px}main{min-height:60vh}.pagehero:after{pointer-events:none}.home .pagehero{padding:100px 0 90px}.home .pagehero h1{font-size:clamp(38px,6vw,72px);max-width:800px}.home .pagehero p{font-size:24px}.story-layout,.faq-layout{display:grid;grid-template-columns:1fr 2fr;gap:70px}.story-layout aside{position:sticky;top:170px;align-self:start}.chapter{display:grid;grid-template-columns:54px 1fr;gap:25px;padding:32px 0;border-bottom:1px solid var(--border)}.chapter b{color:#08786e;font-size:25px}.chapter h2{font-size:26px;margin:0 0 14px}.mission{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.mission .card{padding:40px}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:0;list-style:none;padding:0;counter-reset:values}.values li{counter-increment:values;padding:25px;border-bottom:1px solid var(--border);display:flex;gap:15px}.values li:before{content:counter(values,decimal-leading-zero);color:#08786e;font-weight:bold}.process{display:flex;list-style:none;padding:0;counter-reset:steps;gap:20px;margin:40px 0;flex-wrap:wrap}.process li{counter-increment:steps;flex:1;min-width:135px;border-top:3px solid var(--teal);padding-top:15px}.process li:before{content:counter(steps,decimal-leading-zero);display:block;font-weight:800;color:var(--navy);font-size:24px}.badge{display:inline-block;padding:7px 11px;background:#e8f4f1;color:#075b55;border-radius:6px;font-size:14px;font-weight:600}.involvement{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.involvement .card:first-child{background:var(--navy);color:#fff}.involvement .card:first-child h3,.involvement .card:first-child p{color:white}.document-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);padding:20px 0}.document-list h3{margin:0}.empty{border:1px dashed #b9c8db;background:var(--surface);border-radius:16px;padding:32px;margin:25px 0}.empty h3{margin-top:0}.empty p{color:var(--sub)}.reading{max-width:760px;margin:auto}.reading h2{margin-top:45px}.form label{display:grid;gap:7px;font-size:14px;font-weight:600}.form input,.form textarea,.form select{min-width:0;background:var(--surface);color:var(--text);font-size:16px}.form .check{display:flex;align-items:flex-start;font-weight:400;flex-wrap:wrap}.check input{width:20px;height:20px;min-width:20px;margin:3px 6px 0 0}.feedback:empty{display:none}.feedback{border-left:4px solid var(--teal);padding:16px;background:#eef9f6;color:#064e45;font-size:15px}.form .btn{justify-self:start}.honeypot{position:absolute;left:-10000px}.contact-email{font-weight:bold;overflow-wrap:anywhere}.emergency{background:#fff0ee;border-left:5px solid #b42318;padding:22px;color:#8d2118;margin-bottom:35px}.emergency strong{display:block}details{border-bottom:1px solid var(--border);padding:20px 0}summary{cursor:pointer;font-weight:600;font-size:17px}details small{display:block;color:var(--sub);margin-top:15px}.loginbox>img{width:210px;max-width:100%;display:block;margin:0 auto 25px}.loginbox{width:min(520px,calc(100% - 32px))}.member-main{min-width:0}.portal-section{padding:30px 0}.portal-section[hidden]{display:none}.portal-section>h2{font-size:30px}.portal-split{display:grid;grid-template-columns:1fr 1fr;gap:30px}.member-side{overflow-y:auto}.member-side nav{display:block}.member-side a{font-size:14px}.portal-menu{display:none}.tools{display:flex;flex-wrap:wrap;gap:8px}.demo-banner{background:#e7effb;border:1px solid #c4d6f3;padding:16px;border-radius:10px;margin:24px 0;color:#163961;font-size:14px}.filters{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.filters input,.filters select{padding:12px;border:1px solid var(--border);border-radius:8px;max-width:100%;font:inherit;background:var(--surface);color:var(--text)}.filters label{font-size:14px}.filters label select{display:block}.material-item{border:1px solid var(--border);background:var(--surface);padding:22px;border-radius:14px;margin:15px 0}.material-item h3{margin:5px 0}.material-actions{display:flex;gap:10px;flex-wrap:wrap}.material-actions button{padding:9px 14px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text)}.material-list{margin:20px 0}.locked{border-color:#ccd6e4}.locked small{display:block;color:var(--sub)}.dashboard .form{max-width:620px}.portal-section>.form{max-width:720px}input[type=file]{max-width:100%}.member-side .who p{font-size:14px;margin-bottom:0}.btn{background:transparent;color:var(--text);border-color:var(--border)}

@media(max-width:1150px){.nav{flex-wrap:nowrap}.links{display:none;top:90px;max-width:none;justify-content:flex-start}.links.open{display:flex}.menu{display:block}.utility{padding:8px 0}}@media(max-width:1000px){.member-side{padding:20px}.member-side nav{display:none}.member-side nav.open{display:grid;grid-template-columns:1fr 1fr}.portal-menu{display:block;background:transparent;border:1px solid #456080;color:white;padding:12px;border-radius:7px}.member-side .who{margin:15px 0}.member-side>a:last-child{display:inline-block}.member-main{padding:25px}.portal-split,.story-layout,.faq-layout{grid-template-columns:1fr;gap:25px}.story-layout aside{position:static}.values,.involvement{grid-template-columns:1fr 1fr}.pagehero{padding:65px 0}}@media(max-width:620px){.mission,.values,.involvement,.portal-split{grid-template-columns:1fr}.member-main{padding:20px 14px}.document-list article{align-items:flex-start;flex-direction:column}.chapter{grid-template-columns:35px 1fr;gap:15px}.chapter h2{font-size:23px}.utility{gap:10px;justify-content:center}.utility a{font-size:13px}.utility button{font-size:13px;padding:6px}.brand img{width:160px}.member-side nav.open{grid-template-columns:1fr}.plan{padding:25px}.pagehero h1{font-size:35px}.cookie{bottom:12px}.nav{min-height:76px}.links{top:76px}.filters>*{width:100%}.process{gap:16px}.process li{min-width:120px}.tools .btn{padding:8px 12px}.contact-email{font-size:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
header .emergency{margin:0;border-radius:0;padding:12px 20px;text-align:center;font-size:14px}header .emergency strong{max-width:1180px;margin:auto}.portal-section .form{padding:24px;border:1px solid var(--border);border-radius:15px;background:var(--surface);margin:20px 0}.home .feature-copy h2{color:white}

/* V4: editorial photography and contribution flows */
.editorial-figure{margin:0;min-width:0}.editorial-photo{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;border-radius:20px}.editorial-figure figcaption{font-size:12px;color:var(--sub);padding:9px 0;line-height:1.5}.editorial-figure figcaption a{text-decoration:none}.membership-intro,.program-lead,.volunteer-story{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;margin-bottom:55px}.about-image-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;margin-bottom:50px}.about-image-grid .editorial-photo{height:360px;aspect-ratio:auto}.story-layout aside .editorial-photo{height:270px}.scholarship-photo{margin-bottom:45px}.scholarship-photo .editorial-photo{height:410px;object-position:center 57%}.help-image{max-width:480px;margin-bottom:40px}.help-image .editorial-photo{height:250px;object-position:center 60%}.home-feature{position:relative;min-height:520px}.home-feature .editorial-photo{height:100%;min-height:520px;max-height:700px;border-radius:0;object-position:center 58%}.home-feature figcaption{position:absolute;bottom:0;left:0;right:0;background:#071b38db;color:white;padding:12px 20px}.home .pagehero:after{display:none}.home-support{background:var(--ice)}.giving-section{background:var(--navy);color:white}.giving-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:45px}.giving-layout h2{color:white}.giving-actions{display:grid;gap:15px;align-content:center}.giving-actions .btn{background:white;color:var(--navy);border:1px solid white}.giving-actions .btn+ .btn{background:transparent;color:white}.giving-actions small{font-size:14px;line-height:1.6}.donation-link{color:#0b625a;font-weight:700}.story-layout aside{position:static}.utility{flex-wrap:wrap}.home .pagehero p{max-width:600px}.plan .btn{margin-top:20px}.plan h2{font-size:26px}.membership-intro h2{font-size:40px}
@media(max-width:900px){.membership-intro,.program-lead,.volunteer-story,.giving-layout{grid-template-columns:1fr;gap:25px}.about-image-grid{grid-template-columns:1fr 1fr}.about-image-grid .editorial-photo{height:260px}.scholarship-photo .editorial-photo{height:340px}.home-feature,.home-feature .editorial-photo{min-height:330px;max-height:450px}.home .pagehero{background-position:60% 50%}}@media(max-width:560px){.about-image-grid{grid-template-columns:1fr}.about-image-grid .editorial-photo{height:280px}.scholarship-photo .editorial-photo{height:300px}.editorial-photo{border-radius:14px}.membership-intro h2{font-size:30px}.utility{gap:8px}.utility .donation-link{padding:5px}.home .pagehero h1{font-size:40px}.giving-actions .btn{width:100%}}
