
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Patrick+Hand&display=swap');
:root{--ink:#151515;--gold:#f7b91e;--orange:#f07a24;--cream:#fff9ed;--paper:#fffdf8;--muted:#666;--red:#e94d39;--green:#2c9a66;--shadow:0 20px 60px rgba(32,20,8,.12);--radius:26px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--paper);overflow-x:hidden}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,92%);margin:auto}.topbar{background:#171717;color:#fff;font-size:13px}.topbar .inner{height:38px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar span{opacity:.92}.pill{background:var(--gold);color:#171717;border-radius:999px;padding:8px 22px;font-weight:800}.nav{position:sticky;top:0;z-index:50;background:rgba(255,253,248,.94);backdrop-filter:blur(14px);border-bottom:1px solid #eee3d3}.nav .inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:58px;height:58px;display:grid;place-items:center;flex:none;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain;display:block}.brand-title{font-size:20px;font-weight:900;letter-spacing:-.4px}.brand-sub{font-size:11px;letter-spacing:2px;color:#666;margin-top:2px}.menu{display:flex;gap:25px;align-items:center;font-size:14px;font-weight:700}.menu a{position:relative;padding:28px 0}.menu a:after{content:'';position:absolute;left:0;bottom:18px;width:0;height:3px;background:var(--gold);border-radius:4px;transition:.3s}.menu a:hover:after,.menu a.active:after{width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;padding:15px 24px;font-weight:800;cursor:pointer;transition:.25s;box-shadow:0 10px 22px #f3a30d33}.btn:hover{transform:translateY(-3px)}.btn-gold{background:var(--gold);color:#171717}.btn-dark{background:#171717;color:#fff}.btn-outline{background:#fff;border:1px solid #ddd;color:#171717}.hero{min-height:610px;position:relative;display:flex;align-items:center;background:#1a1815;color:#fff;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.54) 38%,rgba(0,0,0,.08) 75%),linear-gradient(0deg,#0008,#0000)}.hero picture{position:absolute;inset:0;z-index:-1}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;filter:saturate(1.06) contrast(1.02)}.hero .container{position:relative;z-index:2;padding:85px 0}.eyebrow{font-size:12px;letter-spacing:4px;text-transform:uppercase;color:#ffd76a;font-weight:800}.hero h1{font-size:clamp(50px,7vw,88px);line-height:.92;max-width:700px;margin:18px 0;font-weight:900;letter-spacing:-4px}.hand{font-family:'Patrick Hand',cursive;color:var(--gold);font-weight:400;letter-spacing:0}.hero p{font-size:18px;line-height:1.6;max-width:610px;color:#f7f3ea}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.floating-note{position:absolute;right:5%;top:18%;background:#f8c329;color:#111;padding:18px 24px;border-radius:12px;transform:rotate(4deg);font-family:'Patrick Hand';font-size:27px;box-shadow:0 18px 30px #0003}.stats{position:relative;margin-top:-48px;z-index:5}.stats-grid{background:#fff;border-radius:24px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.stat{padding:25px 22px;display:flex;gap:14px;align-items:center;border-right:1px solid #eee}.stat:last-child{border:0}.stat-icon{width:52px;height:52px;border-radius:50%;background:#fff0c7;display:grid;place-items:center;font-size:25px;flex:none}.stat strong{display:block;font-size:27px}.stat small{color:#666}.section{padding:92px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}.section h2{font-size:clamp(36px,4.2vw,56px);line-height:1;margin:0;letter-spacing:-2px}.section h2 span{color:var(--orange)}.lead{color:#666;line-height:1.7;max-width:680px}.programs{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.program{background:#fff;border:1px solid #eee5d8;border-radius:22px;overflow:hidden;box-shadow:0 10px 35px #2b1a0010;transition:.35s}.program:hover{transform:translateY(-8px);box-shadow:0 20px 45px #2b1a0020}.program img{height:145px;width:100%;object-fit:cover}.program .body{padding:16px}.program h3{font-size:15px;margin:0 0 7px}.program p{font-size:12px;line-height:1.45;color:#666;margin:0}.split{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:stretch}.story-card,.donate-card{border-radius:30px;overflow:hidden;position:relative;min-height:360px}.story-card img{width:100%;height:100%;object-fit:cover}.story-overlay{position:absolute;inset:0;padding:42px;color:#fff;background:linear-gradient(90deg,#000c 0%,#0007 45%,#0000)}.story-overlay h3{font-size:42px;line-height:1;max-width:420px;margin:0 0 18px}.donate-card{background:linear-gradient(135deg,#ffe48b,#f6ad20);padding:42px;display:flex;flex-direction:column;justify-content:center}.donate-card h3{font-size:43px;line-height:1;margin:0 0 18px}.donate-card p{line-height:1.65;max-width:450px}.image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.image-grid img{height:270px;width:100%;object-fit:cover;border-radius:24px;transition:.45s}.image-grid img:hover{transform:scale(1.03) rotate(.3deg)}.team{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.person{background:#fff;border-radius:26px;padding:18px;box-shadow:0 15px 40px #2815000e;border:1px solid #eee7dc}.person img{height:260px;width:100%;object-fit:cover;border-radius:20px;margin-bottom:18px}.person h3{margin:0;font-size:21px}.role{color:var(--orange);font-weight:800;font-size:13px;margin:5px 0 12px}.person p{color:#666;line-height:1.65;font-size:14px}.impact{background:#181818;color:#fff;position:relative;overflow:hidden}.impact:after{content:'🐾';position:absolute;font-size:220px;right:-20px;bottom:-60px;opacity:.05}.impact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.impact-box{padding:28px;border:1px solid #ffffff1c;border-radius:22px;background:#ffffff08}.impact-box strong{font-size:44px;color:var(--gold);display:block}.impact-box span{color:#ddd}.join-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.join{padding:30px;border-radius:24px;background:#fff;border:1px solid #eee;box-shadow:0 12px 35px #2915000c}.join .emoji{font-size:35px}.join h3{margin:12px 0 7px}.join p{color:#666;line-height:1.55}.contact{background:#fff7e6}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.contact-card{background:#181818;color:#fff;border-radius:28px;padding:35px}.contact-card a{color:#ffd35b}.form{background:#fff;border-radius:28px;padding:30px;box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:800}.field input,.field textarea,.field select{font:inherit;border:1px solid #e3ded5;border-radius:14px;padding:13px 14px;outline:none;background:#fff}.field textarea{min-height:120px;resize:vertical}.footer{background:#151515;color:#fff;padding:55px 0 22px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:35px}.footer h4{margin:0 0 15px}.footer p,.footer a{color:#bbb;font-size:14px;line-height:1.7}.footer a:hover{color:#ffd35b}.footer-bottom{border-top:1px solid #ffffff16;margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;color:#aaa;font-size:12px}.developed a{color:var(--gold);font-weight:800}.whatsapp{position:fixed;right:22px;bottom:22px;z-index:80;width:68px;height:68px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-size:31px;box-shadow:0 12px 30px #0004;animation:pulse 2s infinite}.whatsapp:before{content:'Chat with us';position:absolute;right:76px;white-space:nowrap;background:#171717;color:#fff;padding:9px 13px;border-radius:12px;font-size:12px;font-weight:700}.paw-float{position:fixed;left:18px;bottom:20px;font-size:24px;z-index:70;animation:float 3s ease-in-out infinite}.reveal{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}.reveal.show{opacity:1;transform:none}@keyframes pulse{50%{box-shadow:0 12px 30px #0004,0 0 0 12px #25d36618}}@keyframes float{50%{transform:translateY(-10px)}}.mobile-toggle{display:none;background:none;border:0;font-size:28px}.notice{padding:14px 18px;background:#fff0bf;border-left:5px solid var(--gold);border-radius:12px;color:#594400;margin-top:20px}.page-hero{padding:75px 0;background:linear-gradient(135deg,#fff6dd,#fff);text-align:center}.page-hero h1{font-size:clamp(44px,6vw,70px);margin:0 0 12px}.page-hero p{max-width:700px;margin:auto;color:#666;line-height:1.7}@media(max-width:1050px){.programs{grid-template-columns:repeat(3,1fr)}.menu{gap:14px}.hero h1{max-width:600px}.floating-note{display:none}}@media(max-width:800px){.topbar .inner{justify-content:center}.topbar .inner span:nth-child(2),.topbar .inner span:nth-child(3){display:none}.nav .inner{height:68px}.menu{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:18px 5%;box-shadow:0 18px 30px #0001}.menu.open{display:flex}.menu a{padding:13px}.menu a:after{bottom:5px}.mobile-toggle{display:block}.nav .btn{display:none}.hero{min-height:640px}.hero .container{padding:70px 0}.hero h1{font-size:54px}.stats-grid{grid-template-columns:1fr 1fr}.stat{border-bottom:1px solid #eee}.split,.contact-grid{grid-template-columns:1fr}.team,.join-grid{grid-template-columns:1fr}.impact-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column}}@media(max-width:560px){.topbar{display:none}.brand-title{font-size:16px}.brand-sub{font-size:8px}.brand-mark{width:48px;height:48px}.hero{min-height:650px}.hero:before{background:linear-gradient(0deg,#000d,#0005)}.hero h1{font-size:46px;letter-spacing:-2px}.hero p{font-size:15px}.stats{margin-top:-30px}.stats-grid{grid-template-columns:1fr}.stat{border-right:0}.programs{grid-template-columns:1fr 1fr}.program img{height:130px}.section{padding:65px 0}.section-head{display:block}.image-grid{grid-template-columns:1fr 1fr}.image-grid img{height:190px}.impact-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer-grid{grid-template-columns:1fr}.whatsapp{width:58px;height:58px;font-size:26px;right:15px;bottom:15px}.whatsapp:before{display:none}}

/* ===== FINAL ALIGNMENT / SPACING PASS ===== */
html{scroll-padding-top:78px}
body{min-width:0;line-height:1.45}
.container{width:min(1180px,calc(100% - 40px));}
.section{padding:64px 0}
.section-head{margin-bottom:24px}
.section h2{line-height:1.05}
.lead{margin:10px 0 0}
.page-hero{padding:54px 0 50px}
.page-hero h1{margin:8px 0 10px;line-height:1}
.page-hero p{margin:0 auto;max-width:720px}
.hero{min-height:570px}
.hero .container{padding:68px 0}
.hero h1{margin:14px 0 16px}
.hero p{margin:0;line-height:1.5}
.hero-actions{margin-top:22px}
.stats{margin-top:-34px}
.stat{padding:20px 18px}
.stat strong{line-height:1.05}
.programs{gap:12px}
.program img{height:138px}
.program .body{padding:14px 15px 16px}
.split{gap:22px}
.story-card,.donate-card{min-height:330px}
.story-overlay{padding:34px}
.story-overlay h3{margin-bottom:12px}
.donate-card{padding:34px}
.image-grid{gap:14px}
.image-grid img{height:250px}
.team{gap:16px}
.person{padding:16px}
.person p{margin:0}
.impact .section-head{margin-bottom:22px}
.impact-grid{gap:14px}
.impact-box{padding:24px}
.join-grid{gap:14px}
.join{padding:24px}
.join h3{margin:9px 0 5px}
.join p{margin:0 0 10px}
.contact-grid{gap:22px}
.contact-card,.form{padding:28px}
.footer{padding:42px 0 18px}
.footer-grid{gap:24px}
.footer p{margin:5px 0}
.footer-bottom{margin-top:24px;padding-top:14px}
.notice{margin-top:16px}

/* Remove accidental inline large gaps while keeping intentional section spacing. */
main h2[style*="margin-top"]{margin-top:28px!important}
main .join-grid[style*="margin-top"]{margin-top:22px!important}
main .section[style*="margin-top"]{margin-top:0!important}

/* Keep media and cards visually contained. */
.program,.person,.join,.form,.contact-card,.story-card,.donate-card{min-width:0}
img{height:auto}

@media (max-width:1100px){
  .container{width:min(100% - 32px,1180px)}
  .menu{gap:12px}
  .menu a{font-size:13px}
  .programs{grid-template-columns:repeat(3,1fr)}
  .hero h1{font-size:clamp(48px,6.5vw,72px)}
}

@media (max-width:800px){
  .container{width:min(100% - 28px,720px)}
  .section{padding:52px 0}
  .page-hero{padding:44px 0 40px}
  .nav .inner{height:66px}
  .menu{top:66px;max-height:calc(100vh - 66px);overflow:auto}
  .hero{min-height:590px}
  .hero .container{padding:58px 0}
  .hero h1{max-width:620px}
  .hero p{max-width:600px}
  .stats{margin-top:-24px}
  .stats-grid{border-radius:20px}
  .split{gap:18px}
  .story-card,.donate-card{min-height:300px}
  .image-grid img{height:220px}
  .footer-grid{gap:20px}
}

@media (max-width:560px){
  .container{width:calc(100% - 24px)}
  .section{padding:42px 0}
  .section-head{margin-bottom:18px}
  .page-hero{padding:38px 0 34px}
  .page-hero h1{font-size:clamp(38px,11vw,52px)}
  .hero{min-height:620px}
  .hero .container{padding:50px 0 62px}
  .hero h1{font-size:clamp(42px,12vw,54px);line-height:.95;margin:12px 0}
  .hero p{font-size:14px;line-height:1.55}
  .hero-actions{gap:9px;margin-top:18px}
  .btn{padding:12px 17px;font-size:13px}
  .stats{margin-top:-18px}
  .stats-grid{grid-template-columns:1fr;border-radius:18px}
  .stat{padding:16px}
  .stat strong{font-size:23px}
  .stat-icon{width:44px;height:44px;font-size:21px}
  .programs{grid-template-columns:1fr 1fr;gap:10px}
  .program{border-radius:17px}
  .program img{height:118px}
  .program .body{padding:11px 11px 13px}
  .program h3{font-size:13px;line-height:1.25}
  .program p{font-size:11px}
  .story-card,.donate-card{min-height:270px;border-radius:20px}
  .story-overlay{padding:24px}
  .story-overlay h3{font-size:32px}
  .donate-card{padding:24px}
  .donate-card h3{font-size:32px}
  .image-grid{grid-template-columns:1fr 1fr;gap:10px}
  .image-grid img{height:170px;border-radius:16px}
  .person{border-radius:20px}
  .impact-box{padding:20px}
  .impact-box strong{font-size:36px}
  .join{padding:20px;border-radius:20px}
  .contact-card,.form{padding:20px;border-radius:20px}
  .footer{padding:34px 0 16px}
  .footer-grid{grid-template-columns:1fr;gap:18px}
  .footer-bottom{gap:8px;margin-top:18px}
  .whatsapp{right:12px;bottom:12px}
  .paw-float{left:10px;bottom:12px}
}

@media (max-width:380px){
  .brand-title{font-size:14px}
  .brand-sub{font-size:7px;letter-spacing:1.4px}
  .brand-mark{width:42px;height:42px}
  .hero h1{font-size:40px}
  .programs{grid-template-columns:1fr}
  .program img{height:150px}
  .image-grid{grid-template-columns:1fr}
  .image-grid img{height:210px}
}

/* Team cards: clean text-first presentation without unrelated animal photos. */
.person-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#fff0b8,#ffd45a);border:1px solid #f2c54d;font-size:31px;margin-bottom:18px;box-shadow:0 10px 22px rgba(240,122,36,.12)}
.person h3{margin-top:0}


.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}.btn-wa{background:#25d366;color:#fff;box-shadow:0 10px 22px #25d36630}.btn-email{background:#171717;color:#fff;box-shadow:0 10px 22px #17171720}.form-note{margin:12px 0 0;color:#777;font-size:12px;line-height:1.5}.direct-form-card{margin-top:26px;background:#fff;border:1px solid #eee5d8;border-radius:24px;padding:24px;box-shadow:0 15px 40px #2915000c}.direct-form-card h3{margin:0 0 18px;font-size:24px}@media(max-width:560px){.form-actions{flex-direction:column}.form-actions .btn{width:100%}.direct-form-card{padding:18px;border-radius:20px}}

.policy-wrap{max-width:900px;margin:0 auto}.policy-card{background:#fff;border:1px solid #eee5d8;border-radius:28px;padding:38px;box-shadow:0 15px 40px #2915000c}.policy-card h2{font-size:26px;margin:28px 0 10px}.policy-card h2:first-child{margin-top:0}.policy-card h3{font-size:18px;margin:22px 0 8px;color:#e8751d}.policy-card p,.policy-card li{color:#5f5f5f;line-height:1.75;font-size:15px}.policy-card ul{padding-left:22px}.policy-meta{display:inline-flex;gap:8px;align-items:center;background:#fff0bf;color:#594400;padding:8px 14px;border-radius:999px;font-size:12px;font-weight:800;margin-bottom:22px}@media(max-width:560px){.policy-card{padding:22px;border-radius:20px}.policy-card h2{font-size:22px}.policy-card p,.policy-card li{font-size:14px}}


/* ===== SITE-WIDE COMPACT ALIGNMENT PASS ===== */
/* Keeps the design spacious and premium without oversized blank vertical areas. */
.section{padding:48px 0}
.section-head{margin-bottom:20px}
.section h2{font-size:clamp(32px,4vw,50px)}
.page-hero{padding:42px 0 38px}
.page-hero h1{font-size:clamp(40px,5.5vw,64px);margin:6px 0 8px}
.hero{min-height:525px}
.hero .container{padding:56px 0}
.hero h1{margin:12px 0 14px}
.hero-actions{margin-top:18px}
.stats{margin-top:-28px}
.stat{padding:18px 16px}
.program img{height:132px}
.split{gap:20px}
.story-card,.donate-card{min-height:300px}
.story-overlay{padding:30px}
.story-overlay h3{font-size:38px}
.donate-card{padding:30px}
.donate-card h3{font-size:39px}
.image-grid img{height:235px}
.content-image{width:100%;height:360px;object-fit:cover;border-radius:30px;display:block}
.team{gap:14px}
.person{padding:15px}
.join-grid{gap:14px}
.join{padding:22px}
.contact-grid{gap:20px}
.contact-card,.form{padding:25px}
.direct-form-card{margin-top:20px;padding:21px}
.footer{padding:36px 0 18px}
.footer-grid{gap:22px}
.footer-bottom{margin-top:20px;padding-top:13px}
.policy-card{padding:32px}
.policy-card h2{margin:22px 0 8px}
.policy-card h3{margin:18px 0 7px}
.policy-card p,.policy-card li{line-height:1.65}

@media(max-width:1050px){
  .section{padding:44px 0}
  .hero{min-height:510px}
  .hero .container{padding:52px 0}
  .program img{height:126px}
  .content-image{height:330px}
}

@media(max-width:800px){
  .section{padding:40px 0}
  .page-hero{padding:36px 0 32px}
  .page-hero h1{font-size:clamp(36px,7vw,56px)}
  .hero{min-height:555px}
  .hero .container{padding:48px 0}
  .stats{margin-top:-20px}
  .split{gap:16px}
  .story-card,.donate-card{min-height:280px}
  .content-image{height:300px;border-radius:24px}
  .image-grid img{height:205px}
  .contact-card,.form{padding:22px}
  .policy-card{padding:28px}
}

@media(max-width:560px){
  .section{padding:34px 0}
  .section-head{margin-bottom:16px}
  .section h2{font-size:clamp(30px,9vw,42px)}
  .page-hero{padding:30px 0 26px}
  .page-hero h1{font-size:clamp(34px,10.5vw,48px)}
  .hero{min-height:565px}
  .hero .container{padding:42px 0 50px}
  .hero h1{font-size:clamp(40px,11.5vw,52px);margin:10px 0 12px}
  .stats{margin-top:-16px}
  .stat{padding:14px 15px}
  .program img{height:112px}
  .story-card,.donate-card{min-height:250px}
  .story-overlay{padding:21px}
  .story-overlay h3{font-size:30px}
  .donate-card{padding:21px}
  .donate-card h3{font-size:30px}
  .content-image{height:240px;border-radius:20px}
  .image-grid img{height:160px}
  .person{padding:14px}
  .person-icon{width:62px;height:62px;font-size:27px;margin-bottom:14px}
  .join{padding:18px}
  .contact-card,.form{padding:18px}
  .direct-form-card{margin-top:16px;padding:17px}
  .footer{padding:30px 0 14px}
  .footer-grid{gap:15px}
  .policy-card{padding:20px}
  .policy-card h2{margin:19px 0 7px;font-size:21px}
  .policy-card p,.policy-card li{font-size:14px;line-height:1.6}
}

.compact-top{margin-top:20px!important}.compact-heading{margin-top:28px!important}.story-notice{margin-top:22px}

/* Navigation consistency: Donate stays aligned on desktop and remains available in the mobile menu. */
.menu a.btn{padding:12px 18px;line-height:1;white-space:nowrap}
.menu a.btn:after{display:none}
.nav .inner>.btn{display:none}
@media(max-width:800px){
  .menu .btn{display:inline-flex!important;justify-content:center;width:max-content;margin:4px 13px 6px;padding:12px 18px!important}
}

/* ===== FINAL IMAGE VISIBILITY FIX ===== */
/* Homepage hero: show the complete supplied dog photograph on desktop/tablet
   instead of cropping the ears/body with object-fit:cover. */
.hero{overflow:hidden;background:#171513}
.hero-bg{object-fit:contain;object-position:right center;background:#171513}
.hero:before{z-index:1;pointer-events:none}
.hero picture{display:block;background:#171513}

/* Gallery: preserve the complete photograph in every gallery tile. */
.image-grid{align-items:stretch}
.image-grid img{
  height:300px;
  aspect-ratio:4 / 3;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border:1px solid #eee5d8;
  padding:6px;
  border-radius:24px;
}
@media(max-width:1050px){
  .image-grid img{height:270px}
}
@media(max-width:800px){
  .hero-bg{object-position:center center}
  .image-grid img{height:235px}
}
@media(max-width:560px){
  .hero-bg{object-position:center center}
  .image-grid img{height:220px}
}


/* ===== 2.7 SECOND SITE SPLASH SCREEN ===== */
.site-splash{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#fff8df 0%,#fffdf8 42%,#f5ead8 100%);opacity:1;visibility:visible;pointer-events:auto;animation:splash-screen-out .55s ease 2.15s forwards}
.splash-inner{text-align:center;width:min(92%,560px);padding:30px 20px;animation:splash-content-in .8s ease both}
.splash-logo-wrap{width:132px;height:132px;margin:0 auto 17px;display:grid;place-items:center;border-radius:50%;background:#fff;box-shadow:0 18px 50px rgba(76,45,5,.14);padding:15px;border:5px solid #f7b91e;animation:splash-logo-pulse 1.4s ease-in-out infinite alternate}
.splash-logo-wrap img{width:100%;height:100%;object-fit:contain}
.splash-title{font-size:clamp(24px,5vw,36px);font-weight:900;letter-spacing:-.8px;color:#171717}
.splash-tagline{margin-top:5px;font-family:'Patrick Hand',cursive;font-size:clamp(25px,4vw,34px);color:#f07a24}
.splash-line{margin-top:7px;font-size:16px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#6d624f}
.splash-paws{display:flex;justify-content:center;gap:7px;margin-top:18px;font-size:17px}
.splash-paws span{animation:splash-paw 1s ease-in-out infinite}
.splash-paws span:nth-child(2){animation-delay:.15s}.splash-paws span:nth-child(3){animation-delay:.3s}
@keyframes splash-content-in{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}
@keyframes splash-logo-pulse{to{transform:scale(1.035);box-shadow:0 20px 58px rgba(240,122,36,.2)}}
@keyframes splash-paw{50%{transform:translateY(-5px);opacity:.55}}
@keyframes splash-screen-out{to{opacity:0;visibility:hidden;pointer-events:none}}
@media(max-width:560px){.splash-logo-wrap{width:108px;height:108px;padding:12px;border-width:4px}.splash-title{font-size:24px}.splash-tagline{font-size:27px}.splash-line{font-size:12px;letter-spacing:1.3px}}



/* Our Work: remove redundant image column and center the approved text. */
.work-copy-centered{max-width:850px;margin-inline:auto;text-align:center;display:block}
.work-copy-centered .lead{max-width:750px;margin:12px auto 22px}
.work-copy-centered .compact-heading{margin-top:26px}
@media(max-width:560px){.work-copy-centered .lead{margin:10px auto 18px}.work-copy-centered .compact-heading{margin-top:22px}}
/* Our Work: text-only section; the removed right-hand image column stays absent. */
.work-copy-centered{width:min(100%,820px);margin:0 auto;text-align:center;display:block}
.work-copy-centered>div{width:100%;margin:0 auto}
.work-copy-centered h2{text-align:center}
.work-copy-centered .lead{max-width:720px;margin:12px auto 22px;text-align:center}
@media(max-width:560px){.work-copy-centered{width:100%}.work-copy-centered .lead{margin:10px auto 18px}}

/* ===== Our Story: SEO-friendly animal welfare service content ===== */
.our-story-section{background:linear-gradient(180deg,#fffdf8 0%,#fff8eb 100%)}
.story-intro{max-width:820px;margin:0 auto 30px;text-align:center}
.story-intro h2{margin:8px 0 12px}
.story-intro .lead{margin:0 auto}
.story-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:min(100%,1100px);margin:28px auto 0;justify-content:center;align-items:stretch}
.story-service{background:#fff;border:1px solid #eee5d8;border-radius:22px;padding:24px 22px;box-shadow:0 10px 30px #2915000b;text-align:center;transition:transform .3s ease,box-shadow .3s ease}
.story-service:hover{transform:translateY(-5px);box-shadow:0 18px 38px #29150016}
.story-service-image{width:100%;aspect-ratio:1/1;min-height:0;height:auto;margin:0 auto 16px;border-radius:16px;overflow:hidden;background:#f8f4ec;display:flex;align-items:center;justify-content:center}
.story-service-image img{display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain;object-position:center;border-radius:16px}
.story-service h3{font-size:19px;line-height:1.25;margin:0 0 9px}
.story-service p{font-size:14px;line-height:1.65;color:#666;margin:0}
.story-cta{margin-top:22px;padding:24px 26px;background:#f7c43a;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.story-cta h3{font-size:24px;margin:0 0 6px}
.story-cta p{margin:0;color:#4d3b00;line-height:1.55}
.story-cta .btn{flex:none}
@media(max-width:1050px){.story-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,760px)}}
@media(max-width:800px){.story-cta{flex-direction:column;align-items:center;text-align:center}.story-cta .btn{width:100%;max-width:300px}}
@media(max-width:560px){.story-service-grid{grid-template-columns:1fr;width:100%;gap:14px;margin:20px auto 0}.story-service{padding:20px 17px}.story-service h3{font-size:18px}.story-service p{font-size:13.5px}.story-cta{padding:21px 17px;margin-top:16px}.story-cta h3{font-size:21px}.story-cta p{font-size:14px}.story-intro{margin-bottom:18px}}

/* ===== OUR WORK DETAIL SECTIONS ===== */
.work-details-section{padding-top:36px}
.work-details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
.work-detail{background:#fff;border:1px solid #eee5d8;border-radius:22px;padding:25px 22px;box-shadow:0 10px 30px #2915000b;text-align:center;transition:transform .3s ease,box-shadow .3s ease}
.work-detail:hover{transform:translateY(-4px);box-shadow:0 18px 38px #29150016}
.work-detail-icon{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#fff0c7;font-size:26px}
.work-detail h3{font-size:20px;line-height:1.3;margin:0 0 10px}
.work-detail p{font-size:14px;line-height:1.7;color:#626262;margin:0 0 10px}
.work-detail p:last-child{margin-bottom:0}
.work-detail strong{color:#333}
.work-bottom-cta{margin-top:22px;padding:24px 26px;background:#f7c43a;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.work-bottom-cta h3{font-size:24px;margin:0 0 5px}
.work-bottom-cta p{margin:0;color:#4d3b00;line-height:1.55}
.work-cta-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.work-cta-actions .btn{flex:none}
@media(max-width:1050px){.work-details-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.work-bottom-cta{flex-direction:column;text-align:center}.work-cta-actions{width:100%}.work-cta-actions .btn{min-width:180px}}
@media(max-width:560px){.work-details-section{padding-top:26px}.work-details-grid{grid-template-columns:1fr;gap:14px;margin-top:18px}.work-detail{padding:20px 17px}.work-detail h3{font-size:18px}.work-detail p{font-size:13.5px;line-height:1.62}.work-bottom-cta{padding:21px 17px;margin-top:16px}.work-bottom-cta h3{font-size:21px}.work-bottom-cta p{font-size:14px}.work-cta-actions{flex-direction:column}.work-cta-actions .btn{width:100%}}

/* Rescue photo feature - responsive, full-image display */
.work-detail-rescue{grid-column:1/-1;text-align:center}
.work-detail-rescue>p{max-width:900px;margin-left:auto;margin-right:auto}
.rescue-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px}
.rescue-photo-grid figure{margin:0;background:#fffaf0;border:1px solid #eee2cf;border-radius:18px;padding:8px;overflow:hidden;box-shadow:0 8px 24px #2915000b}
.rescue-photo-grid img{width:100%;height:300px;object-fit:contain;object-position:center;border-radius:13px;background:#fff;display:block}
.rescue-photo-grid figcaption{font-size:11px;line-height:1.4;color:#6b665e;text-align:center;padding:8px 5px 3px}
@media(max-width:1050px){.rescue-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rescue-photo-grid img{height:280px}}
@media(max-width:800px){.rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.rescue-photo-grid img{height:260px}}
@media(max-width:560px){.rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.rescue-photo-grid figure{padding:6px;border-radius:15px}.rescue-photo-grid img{height:220px;border-radius:10px}.rescue-photo-grid figcaption{font-size:10px;padding:6px 3px 2px}.work-detail-rescue{padding:20px 14px}}
@media(max-width:380px){.rescue-photo-grid{grid-template-columns:1fr}.rescue-photo-grid img{height:330px}}

/* ===== FINAL RESPONSIVE POLISH ===== */
html,body{max-width:100%;overflow-x:hidden}
.container{width:min(1180px,calc(100% - 40px))}
.section{padding-block:44px}
.section-head{margin-bottom:18px}
.section-head>div{min-width:0}
.lead{margin-top:10px;margin-bottom:0;line-height:1.62}
.hero .container{padding-block:52px}
.hero p{margin:0;line-height:1.58}
.hero-actions{margin-top:20px}
.stats{margin-top:-24px}
.stats-grid,.programs,.story-service-grid,.work-details-grid,.join-grid,.impact-grid,.team,.footer-grid,.contact-grid,.split{min-width:0}
.program .body{text-align:center}
.program h3{line-height:1.3}
.story-service,.work-detail,.join,.person,.contact-card,.form,.policy-card{min-width:0}
.story-service p,.work-detail p,.join p,.person p,.policy-card p,.policy-card li{overflow-wrap:anywhere}
.work-details-section{padding-top:30px}
.work-details-grid{margin-top:18px}
.work-detail{padding:22px 20px}
.work-detail-rescue{grid-column:1/-1}
.work-bottom-cta{margin-top:18px;padding:22px 24px}
.rescue-photo-grid{margin-top:18px}
.rescue-photo-grid figure{min-width:0}
.rescue-photo-grid img{height:280px}
.image-grid{gap:14px}
.footer-grid>div{min-width:0}
.footer p{margin:0 0 8px;overflow-wrap:anywhere}
.footer h4{margin-bottom:10px}
.footer a{overflow-wrap:anywhere}
.footer-bottom{align-items:flex-start}
.footer-bottom span{min-width:0}

@media (max-width:1050px){
  .container{width:min(100% - 32px,1180px)}
  .nav .inner{gap:14px}
  .menu{gap:12px;font-size:13px}
  .programs{gap:12px}
  .program img{height:125px}
  .hero{min-height:500px}
  .hero .container{padding-block:48px}
  .story-service-grid,.work-details-grid{gap:14px}
  .rescue-photo-grid img{height:250px}
}

@media (max-width:800px){
  .container{width:calc(100% - 28px)}
  .nav .inner{height:68px}
  .brand{gap:9px;min-width:0}
  .brand-title{white-space:nowrap}
  .menu{top:68px;padding:10px 14px 14px;gap:0}
  .menu a{padding:11px 10px}
  .menu .btn{margin:5px 10px 2px;width:auto}
  .hero{min-height:540px}
  .hero .container{padding-block:44px 50px}
  .hero h1{max-width:620px}
  .stats{margin-top:-18px}
  .section{padding-block:38px}
  .section-head{margin-bottom:16px}
  .split,.contact-grid{gap:16px}
  .story-card,.donate-card{min-height:270px}
  .image-grid{gap:12px}
  .image-grid img{height:220px}
  .footer-grid{gap:16px}
  .footer-bottom{margin-top:18px;gap:6px}
}

@media (max-width:560px){
  .container{width:calc(100% - 24px)}
  .nav .inner{height:64px}
  .brand-title{font-size:15px;letter-spacing:-.2px}
  .brand-sub{font-size:8px;letter-spacing:1.5px}
  .brand-mark{width:46px;height:46px}
  .mobile-toggle{font-size:30px;line-height:1}
  .menu{top:64px}
  .hero{min-height:560px}
  .hero .container{padding-block:38px 46px}
  .hero h1{font-size:clamp(38px,11vw,50px);line-height:.96}
  .hero p{font-size:14px;line-height:1.52}
  .hero-actions{margin-top:16px;gap:8px}
  .hero-actions .btn{flex:1 1 auto;min-width:120px}
  .stats{margin-top:-14px}
  .section{padding-block:32px}
  .section h2{line-height:1.05}
  .lead{line-height:1.58}
  .programs{gap:9px}
  .program img{height:108px}
  .program .body{padding:10px 8px 12px}
  .program h3{font-size:12.5px}
  .program p{font-size:10.5px;line-height:1.4}
  .story-service-grid,.work-details-grid{gap:12px}
  .story-service,.work-detail{padding:18px 15px}
  .work-detail h3{line-height:1.25}
  .rescue-photo-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
  .rescue-photo-grid figure{padding:5px;border-radius:13px}
  .rescue-photo-grid img{height:190px;border-radius:9px}
  .rescue-photo-grid figcaption{font-size:9.5px;line-height:1.35;padding:5px 2px 2px}
  .work-bottom-cta{padding:18px 15px;margin-top:14px}
  .image-grid{gap:8px}
  .image-grid img{height:155px;padding:4px;border-radius:14px}
  .contact-card,.form{padding:17px}
  .form-grid{gap:12px}
  .footer{padding:28px 0 14px}
  .footer-grid{gap:14px}
  .footer p,.footer a{font-size:14px;line-height:1.55}
  .footer-bottom{font-size:11px;line-height:1.45}
  .footer-bottom span{display:block;width:100%}
  .developed{margin-top:2px}
  .whatsapp{width:58px;height:58px;right:12px;bottom:12px}
}

@media (max-width:380px){
  .container{width:calc(100% - 20px)}
  .brand-title{font-size:14px}
  .brand-sub{font-size:7px}
  .brand-mark{width:42px;height:42px}
  .hero h1{font-size:38px}
  .hero-actions .btn{min-width:0;padding-inline:12px}
  .programs{grid-template-columns:1fr}
  .program img{height:150px}
  .image-grid{grid-template-columns:1fr}
  .image-grid img{height:210px}
  .rescue-photo-grid{grid-template-columns:1fr}
  .rescue-photo-grid img{height:300px}
}

/* Final homepage hero: transparent puppy image + balanced responsive alignment */
.hero{min-height:560px;background:linear-gradient(135deg,#181512 0%,#282018 58%,#3a281b 100%);overflow:hidden}
.hero:before{display:none}
.hero-grid{position:relative;z-index:2;min-height:560px;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,0.9fr);align-items:center;gap:20px;padding:54px 0}
.hero-content{position:relative;z-index:3;max-width:650px}
.hero-visual{align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:0}
.hero-visual img{width:min(100%,560px);height:auto;max-height:500px;object-fit:contain;filter:drop-shadow(0 22px 30px rgba(0,0,0,.24))}
.hero .container{padding:0}
@media(max-width:1050px){.hero-grid{grid-template-columns:1fr 0.82fr;gap:8px}.hero-visual img{max-height:430px}.hero h1{font-size:clamp(46px,6.5vw,70px)}}
@media(max-width:800px){.hero{min-height:auto}.hero-grid{min-height:0;grid-template-columns:1fr;padding:52px 0 34px;gap:14px}.hero-content{max-width:700px}.hero-visual{order:2}.hero-visual img{width:min(88%,500px);max-height:390px}.floating-note{display:none}}
@media(max-width:560px){.hero-grid{padding:38px 0 28px;gap:4px}.hero-content{text-align:center;margin:auto}.hero h1{font-size:clamp(40px,11.5vw,52px);line-height:.95}.hero p{max-width:520px;margin:0 auto;font-size:14px;line-height:1.55}.hero-actions{justify-content:center}.hero-visual img{width:100%;max-width:390px;max-height:330px}.eyebrow{letter-spacing:2.5px}}

/* Final homepage hero: clean white background around transparent puppy image */
.hero{background:#fff;color:#171717;min-height:560px;overflow:hidden}
.hero-grid{background:#fff}
.hero-content{color:#171717}
.hero .eyebrow{color:#e8751d;font-size:16px;letter-spacing:3px}
.hero h1{color:#171717}
.hero p{color:#5f5f5f}
.hero-visual{background:#fff}
.hero-visual img{filter:drop-shadow(0 18px 24px rgba(41,21,0,.12));}
.hero .btn-outline{background:#fff;color:#171717;border-color:#d9d3c9}
@media(max-width:800px){.hero-grid{background:#fff}.hero-visual{background:#fff}}

/* ===== FINAL IMAGE FIT PASS ===== */
/* Never crop programme/rescue/gallery photographs. Keep the complete image visible. */
.program img{
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  object-fit:contain;
  object-position:center;
  display:block;
  background:#fff;
  padding:0;
}
.rescue-photo-grid img,
.image-grid img,
.content-image{
  object-fit:contain;
  object-position:center;
  background:#fff;
}
.rescue-photo-grid img{height:auto;aspect-ratio:4 / 3;}
.image-grid img{height:auto;aspect-ratio:4 / 3;}

@media (max-width:800px){
  .program img{aspect-ratio:4 / 3;}
  .rescue-photo-grid img,.image-grid img{aspect-ratio:4 / 3;height:auto;}
}
@media (max-width:560px){
  .program img{aspect-ratio:4 / 3;}
  .rescue-photo-grid img,.image-grid img{aspect-ratio:4 / 3;height:auto;}
}

/* Adoption & Foster photo section - preserve complete uploaded photographs */
.adoption-intro{max-width:850px;margin:0 auto 26px;text-align:center}
.adoption-intro .lead{margin:16px auto 0}
.adoption-intro .notice{text-align:left;max-width:760px;margin:20px auto 0}
.adoption-photo-heading{text-align:center;margin:58px 0 22px}
.adoption-photo-heading h2{margin:0 0 10px}
.adoption-photo-heading h2 span{color:var(--orange)}
.adoption-photo-heading p{margin:0 auto;color:#666;line-height:1.65;max-width:700px}
.adoption-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.adoption-photo-grid figure{margin:0;background:#fff;border:1px solid #eee5d8;border-radius:22px;padding:8px;box-shadow:0 12px 30px #2b1a0010;overflow:hidden}
.adoption-photo-grid img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#fff;border-radius:16px}
@media(max-width:900px){.adoption-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.adoption-photo-heading{margin-top:44px}}
@media(max-width:560px){.adoption-photo-grid{grid-template-columns:1fr;gap:14px}.adoption-photo-grid figure{padding:6px;border-radius:18px}.adoption-photo-grid img{border-radius:13px}.adoption-photo-heading{margin-top:38px}.adoption-photo-heading h2{font-size:30px}}


/* Service galleries: EXACTLY the same responsive image-card format as Rescue.
   Every photograph remains individual, fully visible and never becomes a narrow strip. */
.work-detail-gallery{grid-column:1/-1;text-align:center}
.work-detail-gallery>p{max-width:900px;margin-left:auto;margin-right:auto}
.service-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:22px;text-align:left}
.service-photo-grid figure{margin:0;background:#fffaf0;border:1px solid #eee2cf;border-radius:18px;padding:8px;overflow:hidden;box-shadow:0 8px 24px #2915000b;min-width:0}
.service-photo-grid img{width:100%;height:280px;object-fit:contain;object-position:center;display:block;background:#fff;border-radius:13px}
.work-detail-sterilisation,.work-detail-rabies,.work-detail-adoption{grid-column:1/-1}
@media(max-width:1050px){.service-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-photo-grid img{height:250px}}
@media(max-width:800px){.service-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.service-photo-grid figure{padding:5px;border-radius:13px}.service-photo-grid img{height:190px;border-radius:9px}}
@media(max-width:560px){.service-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.service-photo-grid img{height:190px}}
@media(max-width:380px){.service-photo-grid{grid-template-columns:1fr}.service-photo-grid img{height:300px}}

/* ===== FINAL OUR STORY SPACING POLISH ===== */
body:has(.our-story-section) .page-hero{padding:34px 0 30px}
body:has(.our-story-section) .page-hero h1{margin:4px 0 8px}
body:has(.our-story-section) .page-hero p{line-height:1.5}
body:has(.our-story-section) .our-story-section{padding-top:30px;padding-bottom:30px}
body:has(.our-story-section) .story-intro{margin-bottom:18px}
body:has(.our-story-section) .story-intro h2{margin:5px 0 8px}
body:has(.our-story-section) .story-service-grid{margin-top:16px}
body:has(.our-story-section) .section:not(.our-story-section){padding-top:30px;padding-bottom:34px}
body:has(.our-story-section) .section:not(.our-story-section) .section-head{margin-bottom:14px}
body:has(.our-story-section) .image-grid{margin-top:0}
@media(max-width:800px){
  body:has(.our-story-section) .page-hero{padding:28px 0 24px}
  body:has(.our-story-section) .our-story-section{padding-top:24px;padding-bottom:24px}
  body:has(.our-story-section) .section:not(.our-story-section){padding-top:24px;padding-bottom:28px}
}
@media(max-width:560px){
  body:has(.our-story-section) .page-hero{padding:24px 0 20px}
  body:has(.our-story-section) .our-story-section{padding-top:20px;padding-bottom:20px}
  body:has(.our-story-section) .story-intro{margin-bottom:12px}
  body:has(.our-story-section) .story-service-grid{margin-top:12px}
  body:has(.our-story-section) .section:not(.our-story-section){padding-top:20px;padding-bottom:24px}
}

/* ===== UPDATED RESCUE MOMENTS GALLERY ===== */
/* New supplied photographs: compressed, fully visible, and aligned in consistent cards. */
.rescue-story-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.rescue-story-grid figure{
  margin:0;
  min-width:0;
  background:#fff;
  border:1px solid #eee5d8;
  border-radius:22px;
  padding:8px;
  box-shadow:0 12px 30px #2b1a0010;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.rescue-story-grid img{
  display:block;
  width:100%;
  height:410px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border-radius:16px;
}
@media(max-width:1050px){
  .rescue-story-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .rescue-story-grid figure{padding:6px;border-radius:18px}
  .rescue-story-grid img{height:360px;border-radius:13px}
}
@media(max-width:800px){
  .rescue-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .rescue-story-grid figure{padding:5px;border-radius:16px}
  .rescue-story-grid img{height:330px;border-radius:11px}
}
@media(max-width:560px){
  .rescue-story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .rescue-story-grid img{height:300px}
}
@media(max-width:380px){
  .rescue-story-grid{grid-template-columns:1fr;gap:12px}
  .rescue-story-grid img{height:420px}
}

/* ===== HOMEPAGE COMMUNITY PHOTO ===== */
.community-section{background:linear-gradient(180deg,#fffdf8 0%,#fff8eb 100%)}
.community-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:34px;align-items:center}
.community-media{background:#fff;border:1px solid #eee5d8;border-radius:28px;padding:9px;box-shadow:0 18px 45px #29150012;overflow:hidden}
.community-media img{width:100%;height:500px;display:block;object-fit:cover;object-position:center;border-radius:21px}
.community-copy{padding:8px 4px}
.community-copy h2{margin:8px 0 14px}
.community-copy .lead{margin:0 0 14px}
.community-note{font-weight:800;color:#4d3b00;background:#fff0bf;border-left:4px solid var(--gold);padding:13px 15px;border-radius:12px;line-height:1.55}
.community-copy .hero-actions{margin-top:18px}
@media(max-width:1050px){.community-grid{gap:24px}.community-media img{height:430px}}
@media(max-width:800px){.community-grid{grid-template-columns:1fr;gap:22px}.community-media img{height:420px}.community-copy{text-align:center}.community-copy .lead{margin-left:auto;margin-right:auto}.community-note{text-align:left}.community-copy .hero-actions{justify-content:center}}
@media(max-width:560px){.community-grid{gap:18px}.community-media{padding:6px;border-radius:21px}.community-media img{height:360px;border-radius:15px}.community-copy h2{margin:6px 0 10px}.community-note{font-size:13px;padding:11px 12px}.community-copy .hero-actions{flex-direction:column;gap:8px}.community-copy .hero-actions .btn{width:100%}}
@media(max-width:380px){.community-media img{height:320px}}

/* ===== FINAL RESCUE GALLERY BALANCE ===== */
@media(min-width:1051px){
  .rescue-story-grid figure:last-child:nth-child(3n+2){grid-column:2}
}
/* ===== FINAL RESCUE GALLERY - NEW UPLOADED PHOTOS ===== */
.work-detail-rescue .rescue-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}
.work-detail-rescue .rescue-photo-grid figure{display:flex;flex-direction:column;height:100%;min-width:0}
.work-detail-rescue .rescue-photo-grid img{width:100%;height:360px;object-fit:contain;object-position:center;background:#fff;border-radius:13px;display:block}
.work-detail-rescue .rescue-photo-grid figcaption{min-height:38px;display:flex;align-items:center;justify-content:center}
@media(max-width:900px){
 .work-detail-rescue .rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .work-detail-rescue .rescue-photo-grid img{height:330px}
}
@media(max-width:560px){
 .work-detail-rescue .rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .work-detail-rescue .rescue-photo-grid figure{padding:5px;border-radius:13px}
 .work-detail-rescue .rescue-photo-grid img{height:240px;border-radius:9px}
 .work-detail-rescue .rescue-photo-grid figcaption{min-height:42px;font-size:9.5px;line-height:1.35;padding:5px 2px 2px}
}
@media(max-width:380px){
 .work-detail-rescue .rescue-photo-grid{grid-template-columns:1fr}
 .work-detail-rescue .rescue-photo-grid img{height:360px}
}

/* ===== DAILY FEEDING PHOTO GALLERY ===== */
.work-detail-feeding{grid-column:1/-1}
.feeding-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;text-align:left}
.feeding-photo-grid figure{margin:0;background:#fffaf0;border:1px solid #eee2cf;border-radius:18px;padding:8px;overflow:hidden;box-shadow:0 8px 24px #2915000b;min-width:0}
.feeding-photo-grid img{width:100%;height:360px;object-fit:contain;object-position:center;display:block;background:#fff;border-radius:13px}
@media(max-width:1050px){.feeding-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feeding-photo-grid img{height:300px}}
@media(max-width:800px){.feeding-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.feeding-photo-grid figure{padding:5px;border-radius:13px}.feeding-photo-grid img{height:260px;border-radius:9px}}
@media(max-width:560px){.feeding-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.feeding-photo-grid img{height:230px}}
@media(max-width:380px){.feeding-photo-grid{grid-template-columns:1fr}.feeding-photo-grid img{height:360px}}

/* ===== FOUNDER PROFILE PHOTO ===== */
.person .founder-photo{width:100%;height:300px;object-fit:cover;object-position:center 22%;border-radius:20px;margin-bottom:18px;background:#fff7e6;box-shadow:0 8px 24px #2815000b}
@media(max-width:800px){.person .founder-photo{height:320px}}
@media(max-width:560px){.person .founder-photo{height:300px;border-radius:17px}}

/* Founder & helping-hand portraits */
.founder-photo{width:100%;height:260px;object-fit:cover;object-position:center;border-radius:20px;margin-bottom:18px;background:#fff7e6}
@media(max-width:560px){.founder-photo{height:250px;border-radius:16px;margin-bottom:14px}}

/* ===== GENUINE REVIEWS ===== */
.testimonials-section{background:linear-gradient(180deg,#fffaf0 0%,#fff 100%)}
.testimonial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1100px;margin:0 auto}
.testimonial-card{background:#fff;border:1px solid #eee3d3;border-radius:28px;padding:34px 38px;box-shadow:0 16px 42px #2915000d;position:relative}
.testimonial-card:before{content:'“';position:absolute;top:8px;right:28px;font-family:Georgia,serif;font-size:100px;line-height:1;color:#f6c44133}
.testimonial-stars{color:#f2a900;letter-spacing:3px;font-size:18px;margin-bottom:18px}
.testimonial-card blockquote{margin:0;color:#4f4a43;font-size:15px;line-height:1.75;position:relative;z-index:1}
.testimonial-author{margin-top:24px;padding-top:18px;border-top:1px solid #eee5d8;display:flex;flex-direction:column;gap:4px}
.testimonial-author strong{font-size:17px;color:#171717}
.testimonial-author span{font-size:13px;color:#e8751d;font-weight:800}
@media(max-width:800px){.testimonial-grid{grid-template-columns:1fr;gap:16px}.testimonial-card{padding:28px 24px;border-radius:22px}.testimonial-card blockquote{font-size:14px;line-height:1.7}.testimonial-card:before{right:18px;font-size:78px}}
@media(max-width:560px){.testimonial-card{padding:24px 18px}.testimonial-stars{font-size:16px;margin-bottom:14px}.testimonial-card blockquote{font-size:13.5px;line-height:1.68}.testimonial-author{margin-top:20px;padding-top:15px}}

/* ===== FINAL FEEDING GALLERY + CARD HEIGHT POLISH ===== */
.work-details-grid{align-items:start}
.story-service-grid,.join-grid,.team,.impact-grid,.programs,.testimonial-grid{align-items:start}
.work-detail-gallery{align-self:start}
.feeding-photo-grid{margin-top:22px}
.feeding-photo-grid figure{display:flex;flex-direction:column;align-items:stretch;height:100%}
.feeding-photo-grid img{height:280px;object-fit:cover;object-position:center}
.feeding-photo-grid figcaption{font-size:11px;line-height:1.4;color:#666;text-align:center;padding:8px 5px 3px;min-height:38px;display:flex;align-items:center;justify-content:center}
@media(max-width:1050px){.feeding-photo-grid img{height:250px}}
@media(max-width:800px){.feeding-photo-grid{gap:8px}.feeding-photo-grid img{height:210px}.feeding-photo-grid figcaption{font-size:10px;min-height:34px;padding:6px 3px 2px}}
@media(max-width:560px){.feeding-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.feeding-photo-grid img{height:190px}.feeding-photo-grid figcaption{font-size:9.5px;line-height:1.3;min-height:32px}}
@media(max-width:380px){.feeding-photo-grid{grid-template-columns:1fr}.feeding-photo-grid img{height:300px}}

/* ===== FINAL FEEDING IMAGE FIX: NEVER CROP UPLOADED PHOTOS ===== */
.feeding-photo-grid img{
  width:100% !important;
  height:360px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
}
@media(max-width:1050px){.feeding-photo-grid img{height:320px !important}}
@media(max-width:800px){.feeding-photo-grid img{height:300px !important}}
@media(max-width:560px){.feeding-photo-grid img{height:260px !important}}
@media(max-width:380px){.feeding-photo-grid img{height:360px !important}}
/* Gallery images: preserve complete photographs without cropping */
.image-grid img{object-fit:contain;background:#fff}

/* ===== FINAL RESCUE PHOTO ALIGNMENT ===== */
.rescue-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.rescue-photo-grid figure{display:flex;flex-direction:column;align-items:stretch;min-width:0;height:auto}
.rescue-photo-grid img{width:100%;height:340px;object-fit:contain;object-position:center;background:#fff}
.rescue-photo-grid figcaption{min-height:40px;display:flex;align-items:center;justify-content:center}
@media(max-width:1050px){.rescue-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rescue-photo-grid img{height:320px}}
@media(max-width:800px){.rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rescue-photo-grid img{height:280px}.rescue-photo-grid figcaption{min-height:38px}}
@media(max-width:560px){.rescue-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rescue-photo-grid img{height:250px}.rescue-photo-grid figcaption{font-size:10px;min-height:34px}}
@media(max-width:380px){.rescue-photo-grid{grid-template-columns:1fr}.rescue-photo-grid img{height:360px}}


/* Social links */
.social-links{line-height:1.8}.social-links span{font-weight:700}.social-links a{display:inline-block;margin:0 2px}


/* ===== RAZORPAY DONATION BUTTON ===== */
.razorpay-donation{margin-top:24px;padding:22px 20px;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.78);border-radius:20px;box-shadow:0 10px 25px rgba(75,45,0,.10)}
.razorpay-donation-label{font-size:10px;letter-spacing:2px;font-weight:900;color:#7b5100;margin-bottom:7px}
.razorpay-donation h4{font-size:24px;line-height:1.1;margin:0 0 8px;color:#171717}
.razorpay-donation p{font-size:13px;line-height:1.55;color:#5d5140;margin:0 0 16px;max-width:440px}
.razorpay-button-wrap{display:flex;align-items:center;justify-content:flex-start;min-height:52px}
.razorpay-button-wrap form{margin:0}
@media(max-width:800px){.razorpay-donation{padding:19px 16px}.razorpay-donation h4{font-size:21px}}


/* ===== DIRECT RAZORPAY DONATION PAGE ===== */
.donation-direct-section{padding:70px 0 90px}
.donation-direct-card{max-width:760px;margin:0 auto;background:linear-gradient(135deg,#ffe48b,#f6ad20);border-radius:30px;padding:52px 46px;text-align:center;box-shadow:0 20px 50px rgba(70,42,0,.12)}
.donation-direct-card h2{font-size:clamp(38px,5vw,58px);line-height:1;letter-spacing:-2px;margin:10px 0 16px;color:#171717}
.donation-direct-copy{max-width:600px;margin:0 auto 28px;color:#4f4028;line-height:1.7;font-size:16px}
.donation-direct-card .razorpay-button-wrap{display:flex;justify-content:center;align-items:center;min-height:54px}
.donation-direct-card .razorpay-button-wrap form{margin:0}
.donation-secure-note{font-size:12px;color:#6b5425;margin:16px 0 0}
@media(max-width:560px){.donation-direct-section{padding:42px 0 55px}.donation-direct-card{padding:34px 20px;border-radius:22px}.donation-direct-card h2{font-size:36px}.donation-direct-copy{font-size:14px}.donation-direct-card .razorpay-button-wrap{min-height:50px}}

/* Professional NGO impact icons — replace playful emoji styling with clean line icons. */
.stat-icon-svg{color:var(--orange);position:relative;overflow:hidden;}
.stat-icon-svg svg{width:30px;height:30px;display:block;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.stat-icon-svg svg circle{fill:none;}
@media(max-width:560px){.stat-icon-svg{width:46px;height:46px}.stat-icon-svg svg{width:27px;height:27px}.stat{gap:11px}.stat strong{font-size:22px}.stat small{font-size:11px;line-height:1.25;display:block}}

/* Clickable Our Story service cards */
.story-service-link{display:block;color:inherit;text-decoration:none;cursor:pointer;}
.story-service-link:hover,.story-service-link:focus{color:inherit;text-decoration:none;}
.story-service-link:focus-visible{outline:3px solid rgba(232,117,29,.35);outline-offset:5px;border-radius:18px;}
.story-service-link .story-service{height:100%;}
html{scroll-behavior:smooth;}


/* Paw Langar animal feeding slideshow */
.dog-slideshow{position:relative;width:min(100%,430px);aspect-ratio:4/5;border-radius:28px;overflow:hidden;background:#efe9df;box-shadow:0 24px 50px rgba(0,0,0,.22);isolation:isolate}
.dog-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease}
.dog-slide.is-active{opacity:1;visibility:visible}
.dog-slide img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:1050px){.dog-slideshow{width:min(100%,360px)}}
@media(max-width:800px){.dog-slideshow{width:min(88%,390px);max-height:390px}}
@media(max-width:560px){.dog-slideshow{width:min(100%,330px);border-radius:22px}}
@media(prefers-reduced-motion:reduce){.dog-slide{transition:none}}
/* Universal back navigation */
.back-button{
  position:fixed;
  top:96px;
  left:20px;
  z-index:75;
  width:44px;
  height:44px;
  border:1px solid #e8dfd2;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  color:#171717;
  display:grid;
  place-items:center;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(43,26,0,.14);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.back-button:hover{
  transform:translateX(-2px);
  background:#fff8e8;
  box-shadow:0 10px 28px rgba(43,26,0,.2);
}
.back-button:focus-visible{
  outline:3px solid #f7b91e66;
  outline-offset:3px;
}
@media(max-width:800px){
  .back-button{top:78px;left:12px;width:32px;height:32px;font-size:17px}
}


/* Final responsive hero slideshow: preserve full animal photos and prevent overlay obstruction */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.82fr);align-items:center;gap:clamp(24px,4vw,60px);width:min(1180px,92%);margin:0 auto;min-width:0}
.hero-content,.hero-visual{min-width:0;width:100%}
.hero-visual{align-self:center;display:flex;justify-content:center;align-items:center}
.dog-slideshow{width:min(100%,390px);height:clamp(340px,43vw,520px);aspect-ratio:auto;position:relative;overflow:hidden;flex:none;border-radius:26px;background:#f6f1e8;box-shadow:0 18px 42px rgba(41,21,0,.14)}
.dog-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#f6f1e8;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s ease}
.dog-slide.is-active{opacity:1;visibility:visible}
.dog-slide img{display:block;width:100%;height:100%;object-fit:contain;object-position:center center}
.hero .floating-note{display:none!important}
.homepage-about-copy{max-width:920px;margin:0 auto;background:#fff;border:1px solid #eee5d8;border-radius:24px;padding:clamp(22px,4vw,42px);box-shadow:0 12px 34px rgba(41,21,0,.05);color:#555;line-height:1.8}
.homepage-about-copy p{margin:0 0 16px}.homepage-about-copy p:last-child{margin-bottom:0}
.homepage-team-section{background:#fffaf0}
.team-profile-trigger{font:inherit;color:inherit;text-align:left;cursor:pointer;width:100%;border:1px solid #eee7dc;appearance:none;display:block}
.team-profile-trigger:hover,.team-profile-trigger:focus-visible{transform:translateY(-3px);box-shadow:0 18px 40px rgba(41,21,0,.12);outline:3px solid rgba(232,117,29,.25);outline-offset:2px}
.team-profile-trigger img{width:100%;height:280px;object-fit:contain;background:#faf7f1}
.team-profile-trigger h3{text-transform:none}
.profile-link{display:inline-block;color:#c85e13;font-weight:800;font-size:13px;margin-top:5px}
.profile-modal[hidden]{display:none!important}.profile-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px}.profile-modal-backdrop{position:absolute;inset:0;background:rgba(15,12,8,.68);backdrop-filter:blur(4px)}.profile-modal-panel{position:relative;z-index:1;width:min(720px,100%);max-height:min(84vh,850px);overflow:auto;background:#fffdf8;border-radius:24px;padding:clamp(24px,4vw,42px);box-shadow:0 25px 80px rgba(0,0,0,.3)}.profile-modal-panel h2{font-size:clamp(26px,4vw,38px);margin:8px 40px 20px 0;line-height:1.15}.profile-modal-content p{color:#555;line-height:1.8;margin:0 0 15px}.profile-modal-close{position:absolute;right:16px;top:14px;border:0;border-radius:50%;width:38px;height:38px;background:#fff0c7;font-size:27px;cursor:pointer}.profile-modal-open{overflow:hidden}
.all-reviews-cta{display:flex;justify-content:center;margin-top:24px}.homepage-review-grid{grid-template-columns:minmax(0,780px);justify-content:center}.all-reviews-page .testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:800px){.hero-grid{grid-template-columns:minmax(0,1fr);gap:22px;padding:46px 0 34px}.hero-content{text-align:center}.hero-content .hero-actions{justify-content:center}.hero-visual{order:2}.dog-slideshow{width:min(100%,340px);height:clamp(300px,100vw,390px);border-radius:22px}.team-profile-trigger img{height:260px}.all-reviews-page .testimonial-grid{grid-template-columns:1fr}}
@media(max-width:560px){.hero-grid{width:min(92%,460px);padding:34px 0 28px;gap:20px}.hero h1{font-size:clamp(40px,10vw,52px);line-height:1.02;letter-spacing:-1.8px}.hero-content .eyebrow{font-size:13px;letter-spacing:2px}.hero-content p{font-size:14px;line-height:1.55}.hero-actions{gap:9px}.hero-actions .btn{padding:12px 16px;font-size:13px}.dog-slideshow{width:min(100%,300px);height:clamp(280px,92vw,340px);border-radius:20px}.homepage-about-copy{padding:20px;border-radius:18px}.team-profile-trigger img{height:230px}.profile-modal{padding:10px}.profile-modal-panel{max-height:90vh;border-radius:18px;padding:22px 18px}.all-reviews-cta .btn{width:100%;max-width:260px}}
@media(prefers-reduced-motion:reduce){.dog-slide{transition:none}.team-profile-trigger{transition:none}}

/* Newly added daily-feeding photos: preserve the full dog and food bowl without cropping. */
.feeding-photo-grid .feeding-new-photo img{object-fit:contain;object-position:center;background:#f8f3ea;height:280px;}
@media(max-width:1050px){.feeding-photo-grid .feeding-new-photo img{height:260px;}}
@media(max-width:800px){.feeding-photo-grid .feeding-new-photo img{height:230px;}}
@media(max-width:380px){.feeding-photo-grid .feeding-new-photo img{height:320px;}}


/* Donation alternatives: QR and bank transfer, responsive across screen sizes */
.alternative-donation-section{padding:58px 0 84px;background:#fffdf8}
.alternative-donation-section .section-head{margin-bottom:26px}
.donation-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.donation-method-card{min-width:0;background:#fff;border:1px solid #eee3d3;border-radius:24px;padding:clamp(20px,3vw,32px);box-shadow:0 12px 32px rgba(53,34,10,.055);overflow:hidden}
.donation-method-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#fff0c6;color:#a65a0a;font-size:25px;margin-bottom:14px}
.donation-method-card h3{font-size:clamp(22px,2.3vw,28px);line-height:1.2;margin:0 0 10px;color:#171717}
.donation-method-card>p{font-size:14px;line-height:1.65;color:#665f55;margin:0 0 18px}
.donation-qr-link{display:flex;justify-content:center;align-items:center;width:100%;margin:0 auto 16px}
.donation-qr-image{display:block;width:min(100%,350px);height:auto;max-height:410px;object-fit:contain;border:1px solid #eee8df;border-radius:16px;background:#f4f6ff}
.donation-detail-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:6px 16px;padding:12px 0;border-bottom:1px solid #f0e9df;font-size:13px}
.donation-detail-row:last-child{border-bottom:0;padding-bottom:0}
.donation-detail-row span,.bank-details-list dt{color:#746b5f}
.donation-detail-row strong{color:#202020;text-align:right;overflow-wrap:anywhere}
.donation-detail-row a{color:#202020;text-decoration:none}
.bank-details-list{margin:4px 0 0}
.bank-details-list>div{display:grid;grid-template-columns:minmax(110px,.85fr) minmax(0,1.15fr);gap:14px;padding:14px 0;border-bottom:1px solid #f0e9df;align-items:start}
.bank-details-list>div:last-child{border-bottom:0}
.bank-details-list dt{font-size:13px}
.bank-details-list dd{margin:0;text-align:right;font-size:14px;font-weight:700;color:#202020;overflow-wrap:anywhere;word-break:break-word}
.donation-bank-note{margin-top:20px!important;padding:13px 14px;background:#fff8e8;border-radius:12px;color:#6b4a12!important;font-size:12px!important}
@media(max-width:800px){
  .alternative-donation-section{padding:42px 0 58px}
  .donation-method-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .donation-method-card{padding:24px;border-radius:20px}
  .donation-qr-image{width:min(100%,330px)}
}
@media(max-width:560px){
  .alternative-donation-section .section-head{margin-bottom:18px}
  .donation-method-card{padding:20px 16px}
  .donation-method-card h3{font-size:23px}
  .donation-qr-image{width:min(100%,300px);border-radius:12px}
  .donation-detail-row{font-size:12px;gap:5px 10px}
  .donation-detail-row strong{max-width:68%}
  .bank-details-list>div{grid-template-columns:minmax(0,1fr);gap:5px;padding:12px 0}
  .bank-details-list dd{text-align:left;font-size:14px}
}


/* Updated homepage slideshow: square images aligned consistently like the team photos. */
.dog-slideshow{width:min(100%,390px);height:auto;aspect-ratio:1/1;flex:none;position:relative;overflow:hidden;border-radius:24px;background:#faf7f1;box-shadow:0 18px 42px rgba(41,21,0,.14)}
.dog-slide{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#faf7f1;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s ease}
.dog-slide.is-active{opacity:1;visibility:visible}
.dog-slide img{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;border-radius:inherit}
@media(max-width:800px){.dog-slideshow{width:min(88vw,340px);height:auto;aspect-ratio:1/1;border-radius:22px}}
@media(max-width:560px){.dog-slideshow{width:min(88vw,310px);height:auto;aspect-ratio:1/1;border-radius:20px}}
@media(prefers-reduced-motion:reduce){.dog-slide{transition:none}}

/* User-provided homepage service thumbnails: aligned frames without cropping photos */
.story-service-link{display:flex;min-width:0;height:100%}
.story-service-link .story-service{width:100%;height:100%;display:flex;flex-direction:column}
.story-service-link .story-service h3{margin-top:0}
.story-service-link .story-service p{margin-top:auto}
.story-service-image{flex:none}
.story-service-image img{object-fit:contain}
@media(max-width:560px){.story-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.story-service{padding:14px 12px}.story-service-image{border-radius:12px;margin-bottom:12px}.story-service h3{font-size:15px!important;line-height:1.25}.story-service p{font-size:12px!important;line-height:1.45}}


/* Homepage category thumbnails only: square frames matching the team-photo presentation. */
body:has(.our-story-section) .story-service-image{width:100%;height:auto;aspect-ratio:1/1;min-height:0;flex:0 0 auto;overflow:hidden;display:flex;align-items:center;justify-content:center;}
body:has(.our-story-section) .story-service-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;}

/* FINAL GLOBAL PHOTO-FRAME NORMALIZATION: square image frames throughout all pages.
   Logos, QR codes, decorative hero artwork and slideshow keep their own presentation. */
.story-service-image,.program .program-image,.program figure,.rescue-photo-grid figure,.image-grid figure,.adoption-photo-grid figure,.service-photo-grid figure,.rescue-story-grid figure,.feeding-photo-grid figure,.team .person .founder-photo,.community-media,.work-detail-gallery figure{min-width:0}
.story-service-image,.rescue-photo-grid figure,.image-grid figure,.adoption-photo-grid figure,.service-photo-grid figure,.rescue-story-grid figure,.feeding-photo-grid figure,.work-detail-gallery figure{aspect-ratio:1/1;overflow:hidden}
.story-service-image img,.program img,.rescue-photo-grid img,.image-grid img,.adoption-photo-grid img,.service-photo-grid img,.rescue-story-grid img,.feeding-photo-grid img,.community-media img,.team .person .founder-photo,.work-detail-gallery img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:center}
.story-service-image img,.rescue-photo-grid figure img,.image-grid figure img,.adoption-photo-grid figure img,.service-photo-grid figure img,.rescue-story-grid figure img,.feeding-photo-grid figure img,.work-detail-gallery figure img{height:100%}
.team .person .founder-photo{height:auto}
.community-media img{height:auto;border-radius:inherit}
@media(max-width:800px){.rescue-photo-grid figure,.image-grid figure,.adoption-photo-grid figure,.service-photo-grid figure,.rescue-story-grid figure,.feeding-photo-grid figure,.work-detail-gallery figure{aspect-ratio:1/1}}


/* FINAL RESPONSIVE CLEANUP — remove decorative emoji/icon badges and normalize layouts. */
.stat-icon,.work-detail-icon,.donation-method-icon,.emoji,.paw-float,.splash-paws{display:none!important}
.impact:after{content:none!important;display:none!important}
.story-service-image,.program .program-image,.program figure,.rescue-photo-grid figure,.image-grid figure,.adoption-photo-grid figure,.service-photo-grid figure,.rescue-story-grid figure,.feeding-photo-grid figure,.team .person .founder-photo,.community-media,.work-detail-gallery figure{min-width:0;overflow:hidden}
.story-service-image,.rescue-photo-grid figure,.image-grid figure,.adoption-photo-grid figure,.service-photo-grid figure,.rescue-story-grid figure,.feeding-photo-grid figure,.work-detail-gallery figure{aspect-ratio:1/1}
.story-service-image img,.program img,.rescue-photo-grid img,.image-grid img,.adoption-photo-grid img,.service-photo-grid img,.rescue-story-grid img,.feeding-photo-grid img,.community-media img,.team .person .founder-photo,.work-detail-gallery img{max-width:100%}
.story-service-image img,.rescue-photo-grid figure img,.image-grid figure img,.adoption-photo-grid figure img,.service-photo-grid figure img,.rescue-story-grid figure img,.feeding-photo-grid figure img,.work-detail-gallery figure img{width:100%;height:100%;object-fit:cover;object-position:center}
@media (min-width:561px) and (max-width:1024px){
 .container{width:min(calc(100% - 40px),900px)}.section{padding:68px 0}
 .programs{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.story-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .team,.join-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .image-grid,.rescue-photo-grid,.service-photo-grid,.feeding-photo-grid,.rescue-story-grid,.adoption-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.hero h1{font-size:clamp(44px,6vw,64px);letter-spacing:-2px}
 .dog-slideshow{width:min(42vw,340px)}.contact-grid{grid-template-columns:1fr 1.2fr;gap:20px}
}
@media(max-width:560px){
 .container{width:calc(100% - 32px)}.section{padding:48px 0}.section-head{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}
 .section h2{font-size:clamp(30px,8vw,40px);line-height:1.08;letter-spacing:-1px}.lead{font-size:14px;line-height:1.6}
 .hero{min-height:unset;padding:0}.hero .container{padding:64px 0 58px}.hero h1{font-size:clamp(38px,11vw,48px);line-height:.98;letter-spacing:-1.6px;max-width:100%}
 .hero-actions{gap:10px}.hero-actions .btn,.work-cta-actions .btn{padding:12px 16px;font-size:13px}
 .stats{margin-top:0;padding-top:14px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:16px}
 .stat{padding:15px 12px;gap:0;border-right:1px solid #eee;border-bottom:1px solid #eee;min-width:0}.stat strong{font-size:22px}.stat small{font-size:11px;line-height:1.3}
 .programs,.story-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.program{border-radius:16px}.program img{height:auto;aspect-ratio:1/1;object-fit:cover}
 .program .body{padding:12px}.program h3{font-size:13px;line-height:1.3}.program p{font-size:11px}
 .story-service{padding:12px;border-radius:16px}.story-service-image{width:100%;aspect-ratio:1/1;height:auto}.story-service-image img{width:100%;height:100%;object-fit:cover}
 .story-service h3{font-size:14px!important;line-height:1.25}.story-service p{font-size:11px!important;line-height:1.45}
 .team,.join-grid,.impact-grid,.image-grid,.rescue-photo-grid,.service-photo-grid,.feeding-photo-grid,.rescue-story-grid,.adoption-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .person{padding:12px;border-radius:18px;min-width:0}.person img,.team .person .founder-photo{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
 .person h3{font-size:17px;line-height:1.25}.person p{font-size:12px;line-height:1.5}
 .story-card,.donate-card{min-height:280px;border-radius:20px}.story-overlay{padding:24px}.story-overlay h3,.donate-card h3{font-size:30px}.donate-card{padding:24px}
 .contact-grid,.split{grid-template-columns:minmax(0,1fr);gap:16px}.form,.contact-card{padding:20px;border-radius:20px}.form-grid{grid-template-columns:minmax(0,1fr)}.field.full{grid-column:auto}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.footer{padding:40px 0 20px}.footer-bottom{gap:10px;overflow-wrap:anywhere}
 .whatsapp{width:54px;height:54px;right:14px;bottom:14px;font-size:24px}.whatsapp:before{right:62px;font-size:11px;padding:8px 10px}
 .page-hero{padding:48px 0}.page-hero h1{font-size:clamp(34px,9vw,46px);line-height:1.05}
 .rescue-photo-grid figure,.image-grid figure,.adoption-photo-grid figure,.service-photo-grid figure,.rescue-story-grid figure,.feeding-photo-grid figure,.work-detail-gallery figure{aspect-ratio:1/1}
 .bank-details-list>div{grid-template-columns:minmax(0,1fr);gap:5px}.bank-details-list dd{text-align:left}
}
@media(max-width:360px){.container{width:calc(100% - 24px)}.brand-title{font-size:14px}.brand-sub{letter-spacing:1px}
 .story-service-grid,.programs{grid-template-columns:minmax(0,1fr)}.team,.image-grid,.rescue-photo-grid,.service-photo-grid,.feeding-photo-grid,.adoption-photo-grid{grid-template-columns:minmax(0,1fr)}.hero h1{font-size:37px}.footer-grid{grid-template-columns:minmax(0,1fr)}}


/* FINAL PHOTO FRAME RULES — square like Our Team, with the subject filling the frame.
   Subject placement is slightly above centre to favour animal faces while retaining context. */
.story-service-image,
.program .program-image,
.program figure,
.rescue-photo-grid figure,
.image-grid figure,
.adoption-photo-grid figure,
.service-photo-grid figure,
.rescue-story-grid figure,
.feeding-photo-grid figure,
.work-detail-gallery figure,
.community-media {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  position: relative;
  background: #f8f3ea !important;
}
.story-service-image img,
.program img,
.rescue-photo-grid figure img,
.image-grid figure img,
.adoption-photo-grid figure img,
.service-photo-grid figure img,
.rescue-story-grid figure img,
.feeding-photo-grid figure img,
.work-detail-gallery figure img,
.community-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  background: #f8f3ea !important;
  border-radius: inherit;
}
/* Keep the team's existing square framing consistent with internal photos. */
.team .person .founder-photo,
.person .founder-photo,
.team-profile-trigger img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center 24% !important;
}
@media (max-width: 560px) {
  .story-service-image,
  .program .program-image,
  .program figure,
  .rescue-photo-grid figure,
  .image-grid figure,
  .adoption-photo-grid figure,
  .service-photo-grid figure,
  .rescue-story-grid figure,
  .feeding-photo-grid figure,
  .work-detail-gallery figure,
  .community-media { aspect-ratio: 1 / 1 !important; }
  .story-service-image img,
  .program img,
  .rescue-photo-grid figure img,
  .image-grid figure img,
  .adoption-photo-grid figure img,
  .service-photo-grid figure img,
  .rescue-story-grid figure img,
  .feeding-photo-grid figure img,
  .work-detail-gallery figure img,
  .community-media img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 28% !important; }
}


/* MOBILE REPAIR: visible hamburger, readable footer, and vertical team cards. */
.mobile-toggle{
  display:none; flex:0 0 44px; width:44px; height:44px; padding:0; margin-left:auto;
  align-items:center; justify-content:center; position:relative; z-index:75;
  border:1px solid #e8dcc9; border-radius:12px; background:#fffaf1; color:#171717;
  cursor:pointer; box-shadow:0 4px 12px rgba(40,20,0,.08);
}
.mobile-toggle::before{
  content:""; display:block; width:21px; height:14px; border-top:2.5px solid currentColor;
  border-bottom:2.5px solid currentColor; position:absolute;
}
.mobile-toggle::after{
  content:""; display:block; width:21px; height:2.5px; background:currentColor; position:absolute;
}
.mobile-toggle:focus-visible{outline:3px solid #f7b91e;outline-offset:3px}
@media(max-width:800px){
  .nav{z-index:100}
  .nav .inner{position:relative;gap:10px;min-width:0}
  .brand{min-width:0;flex:1;gap:8px}
  .brand>div:last-child{min-width:0}
  .brand-title{white-space:normal;overflow-wrap:anywhere;line-height:1.1}
  .mobile-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important}
  .menu{z-index:110;max-height:calc(100dvh - 76px);overflow-y:auto;border-top:1px solid #eee3d3}
  .menu.open{display:flex!important}
  .menu a{display:block;width:100%;line-height:1.35;overflow-wrap:anywhere}
  .menu .btn{display:inline-flex!important;align-self:flex-start;margin-top:4px}
  /* Requested team order: one card per row, in original order. */
  .homepage-team-section .team{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  .homepage-team-section .person{width:100%;min-width:0}
  .homepage-team-section .person .founder-photo{width:100%;max-width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;object-position:center 24%}
  /* Footer content wraps instead of colliding or overlapping. */
  .footer-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;align-items:start}
  .footer-grid>div{width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
  .footer-grid .brand{align-items:center;max-width:100%}
  .footer-grid .brand-title{font-size:clamp(14px,4vw,18px);overflow-wrap:anywhere}
  .footer-grid .brand-sub{font-size:10px;letter-spacing:1.2px;overflow-wrap:anywhere}
  .footer p,.footer a,.footer h4,.footer span{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  .footer p{margin:10px 0;line-height:1.65}
  .footer .social-links{display:flex;flex-wrap:wrap;align-items:center;column-gap:7px;row-gap:5px}
  .footer .social-links span{flex:0 0 100%}
  .footer .footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
  .footer-bottom>span{display:block;max-width:100%;overflow-wrap:anywhere;line-height:1.6}
}
@media(max-width:420px){
  .nav .inner{gap:7px}
  .brand-mark{width:40px;height:40px}
  .brand-title{font-size:13px!important;letter-spacing:-.2px}
  .brand-sub{font-size:7px!important;letter-spacing:.7px!important}
  .mobile-toggle{width:42px;height:42px;flex-basis:42px}
  .footer{padding:34px 0 20px}
}

/* Restored homepage impact strip: compact, icon-free and responsive */
.stats{position:relative;margin-top:-34px;z-index:5;padding:0 0 8px}
.stats-grid{background:#fff;border-radius:18px;box-shadow:0 12px 34px rgba(45,28,5,.10);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}
.stats .stat{min-width:0;padding:18px 20px;display:flex;align-items:center;border-right:1px solid #eee8de;border-bottom:0}
.stats .stat:last-child{border-right:0}
.stats .stat strong{display:block;font-size:clamp(19px,2vw,26px);line-height:1.15;color:#171717;overflow-wrap:anywhere}
.stats .stat small{display:block;margin-top:4px;color:#666;font-size:12px;line-height:1.35}
@media(max-width:800px){.stats{margin-top:-24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .stat{padding:16px 18px;border-right:1px solid #eee8de;border-bottom:1px solid #eee8de}.stats .stat:nth-child(2n){border-right:0}.stats .stat:nth-last-child(-n+2){border-bottom:0}}
@media(max-width:420px){.stats{margin-top:-18px}.stats-grid{grid-template-columns:1fr 1fr}.stats .stat{padding:13px 12px}.stats .stat strong{font-size:19px}.stats .stat small{font-size:11px}}


/* Mobile: stack Join Our Family cards vertically, matching the Our Team mobile flow. */
@media (max-width: 560px) {
  .join-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: stretch;
  }
  .join-grid > .join {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 22px 20px;
    margin: 0;
  }
  .join-grid > .join h3 { margin-top: 0; }
  .join-grid > .join p { overflow-wrap: anywhere; }
}
