/* PAMVERSE interior design system — layout inspired by the two supplied NGO references, original colours/content retained. */
:root{--pam-blue:#215593;--pam-cream:#F9EAD7;--pam-green:#2F5D50;--pam-earth:#76523c;--pam-red:#8E2F2E;--pam-teal:#0A7075;--pam-ink:#172e39}
body:not([data-page="index.html"]){background:#faf7f1;color:var(--pam-ink);overflow-x:hidden;font-family:'Nunito',sans-serif;font-size:17px;line-height:1.7}
body:not([data-page="index.html"]) .sitehead{max-width:100%;padding-inline:max(24px,calc((100vw - 1260px)/2));box-sizing:border-box}
body:not([data-page="index.html"]) main{width:100%;overflow:clip}
body:not([data-page="index.html"]) .pagehero{min-height:clamp(390px,45vw,590px);display:flex;align-items:center;isolation:isolate;position:relative;background-position:center;background-size:cover}
body:not([data-page="index.html"]) .pagehero:before{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(9,36,54,.91),rgba(9,43,54,.65) 55%,rgba(10,40,43,.2));z-index:0}
body:not([data-page="index.html"]) .pagehero .hero-inner{width:min(1180px,calc(100% - 72px));margin-inline:auto;position:relative;z-index:1;padding:90px 0 70px}
body:not([data-page="index.html"]) .pagehero h1{font-family:'Playfair Display',serif;font-weight:700;line-height:1.1;font-size:clamp(42px,5.2vw,76px);max-width:850px;letter-spacing:-.025em}
body:not([data-page="index.html"]) .pagehero p{font-size:clamp(18px,1.6vw,23px);max-width:680px;line-height:1.6}
body:not([data-page="index.html"]) .eyebrow{font-family:'Raleway',sans-serif;font-size:clamp(13px,1.1vw,16px);font-weight:800;letter-spacing:.11em;line-height:1.6}
body:not([data-page="index.html"]) .section{padding:clamp(64px,7vw,110px) max(24px,calc((100vw - 1180px)/2));width:100%;margin:0;max-width:none;box-sizing:border-box}
body:not([data-page="index.html"]) main>.section:nth-of-type(odd):not(.dark):not(.blue){background:#fffdf9}
body:not([data-page="index.html"]) .section.dark{background:#183b36;color:#fffaf4}
body:not([data-page="index.html"]) .section.blue{background:#215593;color:#fffaf4}
body:not([data-page="index.html"]) .section-title{font-family:'Playfair Display',serif;font-size:clamp(33px,3.4vw,52px);font-weight:700;line-height:1.2;max-width:860px;margin-bottom:32px}
body:not([data-page="index.html"]) .section p{line-height:1.8}
body:not([data-page="index.html"]) .story-grid,body:not([data-page="index.html"]) .service-grid,body:not([data-page="index.html"]) .people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch;width:100%}
body:not([data-page="index.html"]) .story-card,body:not([data-page="index.html"]) .service,body:not([data-page="index.html"]) .person,body:not([data-page="index.html"]) .story-grid>.feature{border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 14px 38px rgba(21,47,53,.09);border:1px solid rgba(34,65,61,.09);min-width:0;transition:transform .35s ease,box-shadow .35s ease}
body:not([data-page="index.html"]) .story-card:hover,body:not([data-page="index.html"]) .person:hover{transform:translateY(-7px);box-shadow:0 23px 52px rgba(21,47,53,.16)}
body:not([data-page="index.html"]) .card-image{overflow:hidden;aspect-ratio:1.45;background:#e8e3d9}
body:not([data-page="index.html"]) .card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s ease}
body:not([data-page="index.html"]) .story-card:hover .card-image img{transform:scale(1.055)}
body:not([data-page="index.html"]) .card-body{padding:25px 25px 30px}
body:not([data-page="index.html"]) .card-body h3{font-family:'Playfair Display',serif;font-weight:700;font-size:clamp(23px,2vw,29px);line-height:1.2}
body:not([data-page="index.html"]) .split,body:not([data-page="index.html"]) .feature,body:not([data-page="index.html"]) .contact-layout,body:not([data-page="index.html"]) .donation-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(30px,5vw,72px);max-width:1180px;margin-inline:auto}
body:not([data-page="index.html"]) .split img,body:not([data-page="index.html"]) .feature-photo img,body:not([data-page="index.html"]) .photo-stack img{max-width:100%;height:auto;border-radius:16px;object-fit:cover}
body:not([data-page="index.html"]) .btn,body:not([data-page="index.html"]) .arrow,body:not([data-page="index.html"]) .navdonate{background:#76523c;color:#fff!important;border-radius:7px;padding:13px 21px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px;transition:background .2s,transform .2s}
body:not([data-page="index.html"]) .btn:hover,body:not([data-page="index.html"]) .arrow:hover{background:#8E2F2E;transform:translateY(-2px)}
body:not([data-page="index.html"]) .story-card .arrow{margin-top:10px}
body:not([data-page="index.html"]) .contact-cards{display:grid;gap:16px}
body:not([data-page="index.html"]) .contact-card,body:not([data-page="index.html"]) .contact-form,body:not([data-page="index.html"]) .donation-panel{border-radius:15px;box-shadow:0 12px 36px rgba(17,47,51,.08);padding:clamp(22px,3vw,36px)}
body:not([data-page="index.html"]) input,body:not([data-page="index.html"]) select,body:not([data-page="index.html"]) textarea{max-width:100%;min-height:46px;font-size:16px}
body:not([data-page="index.html"]) .footer{background:#102d33}
body:not([data-page="index.html"]) .footer-grid{max-width:1180px;margin:auto;gap:32px}
body:not([data-page="index.html"]) .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body:not([data-page="index.html"]) .gallery-item{min-width:0;overflow:hidden;border-radius:12px}
body:not([data-page="index.html"]) .gallery-item img{width:100%;height:100%;object-fit:cover}
@media(min-width:1300px){body:not([data-page="index.html"]) .pagehero .hero-inner{width:1180px}}
@media(max-width:1000px){body:not([data-page="index.html"]) .story-grid,body:not([data-page="index.html"]) .service-grid,body:not([data-page="index.html"]) .people-grid,body:not([data-page="index.html"]) .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not([data-page="index.html"]) .section{padding-inline:34px}}
@media(max-width:680px){body:not([data-page="index.html"]){font-size:17px}body:not([data-page="index.html"]) .pagehero{min-height:420px}body:not([data-page="index.html"]) .pagehero .hero-inner{width:calc(100% - 40px);padding:80px 0 50px}body:not([data-page="index.html"]) .pagehero h1{font-size:clamp(36px,9vw,48px)}body:not([data-page="index.html"]) .section{padding:58px 20px}body:not([data-page="index.html"]) .story-grid,body:not([data-page="index.html"]) .service-grid,body:not([data-page="index.html"]) .people-grid,body:not([data-page="index.html"]) .gallery-grid,body:not([data-page="index.html"]) .split,body:not([data-page="index.html"]) .feature,body:not([data-page="index.html"]) .contact-layout,body:not([data-page="index.html"]) .donation-layout{grid-template-columns:minmax(0,1fr);gap:20px}body:not([data-page="index.html"]) .card-image{aspect-ratio:1.55}body:not([data-page="index.html"]) .section-title{font-size:clamp(32px,8vw,41px)}body:not([data-page="index.html"]) .btn{width:auto;max-width:100%}body:not([data-page="index.html"]) .sitehead{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){body:not([data-page="index.html"]) .story-card,body:not([data-page="index.html"]) .card-image img{transition:none!important;transform:none!important}}
