/* ==========================================================================
   RAAH-E-KHAIR — raahekhair.org
   ========================================================================== */

:root{
  --cream:#F4E7D6;
  --cream-soft:#FBF4EA;
  --cream-line:#E4D3BE;
  --maroon:#4A1428;
  --maroon-deep:#3F1324;
  --maroon-dark:#2E0A19;
  --maroon-soft:#5C1B33;
  --gold:#D9A85A;
  --gold-soft:#E5C489;
  --ink:#2A1017;
  --body:#5A484B;
  --body-light:rgba(244,231,214,.86);
  --radius:10px;
  --radius-lg:16px;
  --shadow-card:0 10px 30px rgba(63,19,36,.08);
  --shadow-soft:0 18px 45px rgba(46,10,25,.18);
  --wrap:1200px;
  --nav-h:84px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:16px;
  line-height:1.72;
  color:var(--body);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,h5{margin:0;color:var(--ink);line-height:1.18;font-weight:700}
p{margin:0 0 1rem}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}

/* ---------- shared bits ---------- */
.eyebrow{
  font-size:.78rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--maroon);margin:0 0 .55rem;
}
.eyebrow.gold{color:var(--gold)}
.sec-title{
  font-size:clamp(1.9rem,3.4vw,2.6rem);font-weight:800;letter-spacing:-.015em;color:var(--ink);
}
.sec-title .accent{
  font-family:'Playfair Display',Georgia,serif;font-style:italic;font-weight:600;color:var(--maroon-soft);
  letter-spacing:0;
}
.on-dark .sec-title,.on-dark h2,.on-dark h3{color:var(--cream)}
.on-dark .sec-title .accent{color:var(--gold)}
.sec-head{text-align:center;margin-bottom:2.6rem}
.lead{max-width:62ch}

.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:'Outfit',sans-serif;font-size:.95rem;font-weight:600;
  padding:.85rem 1.6rem;border-radius:8px;border:1px solid transparent;cursor:pointer;
  transition:transform .25s ease,background .25s ease,color .25s ease,box-shadow .25s ease;
  white-space:nowrap;
}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{background:var(--maroon-deep);color:var(--cream)}
.btn-primary:hover{background:var(--maroon-soft);transform:translateY(-2px);box-shadow:0 12px 24px rgba(46,10,25,.28)}
.btn-cream{background:var(--cream-soft);color:var(--maroon-deep)}
.btn-cream:hover{background:#fff;transform:translateY(-2px);box-shadow:0 12px 24px rgba(46,10,25,.22)}
.btn-outline{border-color:rgba(244,231,214,.5);color:var(--cream)}
.btn-outline:hover{background:var(--cream);color:var(--maroon-deep)}
.btn-ghost{border-color:var(--maroon-deep);color:var(--maroon-deep)}
.btn-ghost:hover{background:var(--maroon-deep);color:var(--cream)}
.link-more{
  display:inline-flex;align-items:center;gap:.5rem;font-weight:600;font-size:.92rem;color:var(--maroon-deep);
}
.link-more svg{width:16px;height:16px;transition:transform .25s ease}
.link-more:hover svg{transform:translateX(5px)}

/* ---------- header ---------- */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:70;height:var(--nav-h);
  display:flex;align-items:center;
  transition:background .3s ease,box-shadow .3s ease,height .3s ease;
}
.site-header.solid,.site-header.inner{background:var(--maroon-deep);box-shadow:0 8px 30px rgba(46,10,25,.25)}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:62px;width:auto}
.nav{margin-left:auto;display:flex;align-items:center;gap:2rem}
.nav > li{position:relative}
.nav > li > a{
  display:inline-flex;align-items:center;gap:.35rem;
  font-size:.95rem;font-weight:500;color:var(--cream);padding:.4rem 0;position:relative;
  transition:color .2s ease;
}
.nav > li > a svg{width:12px;height:12px;opacity:.85;transition:transform .25s ease}
.nav > li > a::after{
  content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--gold);
  transform:scaleX(0);transform-origin:left;transition:transform .28s ease;
}
.nav > li > a:hover::after,.nav > li.active > a::after{transform:scaleX(1)}
.nav > li.active > a{color:var(--gold)}
.nav > li:hover > a svg{transform:rotate(180deg)}
.submenu{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translate(-50%,10px);
  min-width:230px;background:var(--cream-soft);border-radius:12px;padding:.6rem;
  box-shadow:0 22px 50px rgba(46,10,25,.25);opacity:0;visibility:hidden;transition:.28s ease;
}
.submenu::before{content:"";position:absolute;top:-14px;left:0;right:0;height:14px}
.nav > li:hover .submenu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.submenu a{
  display:block;padding:.6rem .9rem;border-radius:8px;font-size:.92rem;color:var(--maroon-deep);font-weight:500;
  transition:background .2s ease,padding-left .2s ease;
}
.submenu a:hover{background:rgba(74,20,40,.08);padding-left:1.2rem}
.nav-cta{margin-left:.5rem}
.header-donate{
  border:1px solid rgba(244,231,214,.55);background:var(--maroon);color:var(--cream);
  padding:.7rem 1.35rem;border-radius:9px;font-weight:600;font-size:.92rem;
  display:inline-flex;align-items:center;gap:.5rem;transition:.25s ease;
}
.header-donate svg{width:17px;height:17px}
.header-donate:hover{background:var(--cream);color:var(--maroon-deep);border-color:var(--cream)}
.burger{
  display:none;width:44px;height:44px;border:0;background:transparent;cursor:pointer;
  flex-direction:column;justify-content:center;gap:5px;padding:0 8px;margin-left:auto;
}
.burger span{display:block;height:2px;background:var(--cream);border-radius:2px;transition:.3s ease}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- hero ---------- */
.hero{
  position:relative;min-height:660px;height:88vh;max-height:860px;display:flex;align-items:center;
  padding-top:var(--nav-h);overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;background:#2b3a1c center/cover no-repeat;
  background-image:url('../img/hero.jpg');background-position:70% center;
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,rgba(30,32,14,.94) 0%,rgba(35,40,18,.85) 26%,rgba(40,48,20,.45) 46%,rgba(40,48,20,.12) 62%,transparent 78%);
}
.hero .wrap{position:relative;z-index:2}
.hero-copy{max-width:610px}
.hero h1{
  font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;
  font-size:clamp(2.9rem,6.1vw,4.55rem);line-height:1.02;letter-spacing:.005em;color:var(--cream);
  text-shadow:0 6px 26px rgba(0,0,0,.35);margin-bottom:1.25rem;
}
.hero h1 .maroon{color:#5E1A31;display:block;text-shadow:0 4px 18px rgba(0,0,0,.28)}
.hero p{color:var(--body-light);font-size:1.02rem;line-height:1.85;max-width:480px;margin-bottom:1.9rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem}

/* ---------- stat bar ---------- */
.statbar-wrap{position:relative;z-index:5;margin-top:-72px}
.statbar{
  background:var(--maroon-deep);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  display:grid;grid-template-columns:repeat(4,1fr);
}
.stat{display:flex;align-items:center;gap:1.1rem;padding:1.9rem 1.6rem;position:relative}
.stat + .stat::before{content:"";position:absolute;left:0;top:26%;bottom:26%;width:1px;background:rgba(244,231,214,.22)}
.stat svg{width:44px;height:44px;flex:none;color:var(--cream)}
.stat-label{font-size:.86rem;line-height:1.32;color:rgba(244,231,214,.82)}
.stat-num{font-size:1.6rem;font-weight:700;color:var(--cream);line-height:1.2}

/* ---------- sections ---------- */
.section{padding:84px 0}
.section-tight{padding:64px 0}
.bg-cream{background:var(--cream)}
.on-dark{background:var(--maroon-deep);color:var(--body-light);position:relative;overflow:hidden}
.on-dark .mountains{
  position:absolute;inset:auto 0 0 0;height:64%;width:100%;opacity:.055;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23F4E7D6' opacity='.5' d='M0 420 L120 250 L230 300 L360 170 L470 262 L600 200 L720 300 L840 220 L980 292 L1100 190 L1240 282 L1440 212 L1440 420 Z'/%3E%3Cpath fill='%23F4E7D6' opacity='.85' d='M0 420 L160 302 L300 350 L430 262 L560 330 L700 272 L830 350 L960 292 L1120 350 L1260 282 L1440 330 L1440 420 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.on-dark .wrap{position:relative;z-index:2}
.on-dark p{color:var(--body-light)}

/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center}
.video-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-card)}
.video-card img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/10.6;transition:transform .7s ease}
.video-card:hover img{transform:scale(1.045)}
.play{
  position:absolute;inset:0;margin:auto;width:76px;height:76px;border-radius:50%;
  display:grid;place-items:center;border:2px solid rgba(255,255,255,.9);background:rgba(255,255,255,.16);
  backdrop-filter:blur(2px);color:#fff;transition:.3s ease;cursor:pointer;
}
.play svg{width:26px;height:26px;margin-left:4px}
.play::after{content:"";position:absolute;inset:-14px;border-radius:50%;border:1px solid rgba(255,255,255,.35);animation:pulse 2.8s ease-out infinite}
@keyframes pulse{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.25);opacity:0}}
.play:hover{background:#fff;color:var(--maroon-deep)}
.checks{margin:1.6rem 0 2rem;display:grid;gap:.65rem}
.checks li{display:flex;align-items:flex-start;gap:.75rem;color:var(--ink);font-weight:500;font-size:.98rem}
.checks svg{width:18px;height:18px;color:var(--maroon-soft);flex:none;margin-top:.25rem}

/* ---------- work cards ---------- */
.work-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:16px}
.work-card{
  background:var(--cream-soft);border:1px solid var(--cream-line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .3s ease,box-shadow .3s ease;
}
.work-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-card)}
.work-thumb{position:relative}
.work-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover}
.work-badge{
  position:absolute;left:14px;bottom:-22px;width:46px;height:46px;border-radius:50%;
  background:var(--maroon-deep);display:grid;place-items:center;color:var(--cream);
  box-shadow:0 8px 18px rgba(46,10,25,.25);
}
.work-badge svg{width:22px;height:22px}
.work-body{padding:36px 16px 20px;display:flex;flex-direction:column;flex:1}
.work-body h3{font-size:1.02rem;font-weight:700;margin-bottom:.55rem}
.work-body p{font-size:.86rem;line-height:1.62;margin-bottom:1.1rem}
.work-body .link-more{margin-top:auto;font-size:.86rem}

/* ---------- impact ---------- */
.impact-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin:2.6rem 0 2.8rem}
.impact-stat{display:flex;align-items:center;gap:.9rem}
.impact-ico{
  width:56px;height:56px;border-radius:50%;background:var(--cream);color:var(--maroon-deep);
  display:grid;place-items:center;flex:none;
}
.impact-ico svg{width:26px;height:26px}
.impact-stat b{display:block;font-size:1.45rem;font-weight:700;color:var(--cream);line-height:1.15}
.impact-stat span{font-size:.86rem;color:rgba(244,231,214,.78)}
.cta-box{
  background:var(--cream);border-radius:var(--radius);padding:1.5rem 2rem;
  display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;
}
.cta-box > svg{width:58px;height:58px;color:var(--maroon-deep);flex:none}
.cta-text{flex:1;min-width:240px}
.cta-text h3{font-size:1.2rem;font-weight:700;margin-bottom:.15rem;color:var(--ink)}
.cta-text p{margin:0;font-size:.94rem;color:var(--body)}

/* ---------- gallery ---------- */
.gallery-row{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;position:relative}
.gallery-row figure{margin:0;border:1px solid rgba(244,231,214,.35);border-radius:var(--radius);overflow:hidden}
.gallery-row img{width:100%;aspect-ratio:4/3.1;object-fit:cover;transition:transform .6s ease}
.gallery-row figure:hover img{transform:scale(1.07)}
.gallery-more{display:flex;justify-content:center;margin-top:-24px;position:relative;z-index:3}

/* ---------- page banner (inner pages) ---------- */
.page-banner{
  position:relative;background:var(--maroon-deep);padding:calc(var(--nav-h) + 66px) 0 66px;text-align:center;overflow:hidden;
}
.page-banner .mountains{
  position:absolute;inset:auto 0 0 0;height:78%;opacity:.08;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23F4E7D6' opacity='.5' d='M0 420 L120 250 L230 300 L360 170 L470 262 L600 200 L720 300 L840 220 L980 292 L1100 190 L1240 282 L1440 212 L1440 420 Z'/%3E%3Cpath fill='%23F4E7D6' opacity='.85' d='M0 420 L160 302 L300 350 L430 262 L560 330 L700 272 L830 350 L960 292 L1120 350 L1260 282 L1440 330 L1440 420 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.page-banner .wrap{position:relative;z-index:2}
.page-banner h1{
  font-family:'Anton',Impact,sans-serif;font-weight:400;text-transform:uppercase;color:var(--cream);
  font-size:clamp(2.1rem,4.6vw,3.2rem);letter-spacing:.01em;
}
.page-banner h1 .accent{font-family:'Playfair Display',serif;font-style:italic;text-transform:none;color:var(--gold)}
.crumbs{margin-top:.7rem;font-size:.9rem;color:rgba(244,231,214,.75)}
.crumbs a:hover{color:var(--gold)}
.crumbs span{margin:0 .45rem;opacity:.6}

/* ---------- generic content ---------- */
.prose h2{font-size:1.6rem;margin:2.2rem 0 .8rem}
.prose h3{font-size:1.18rem;margin:1.6rem 0 .6rem}
.prose p,.prose li{font-size:1rem;line-height:1.85}
.prose ul:not(.checks){margin:0 0 1.2rem;display:grid;gap:.5rem}
.prose ul:not(.checks) li{display:flex;gap:.7rem;align-items:flex-start}
.prose ul:not(.checks) li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--maroon-soft);margin-top:.72rem;flex:none}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split img{border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.info-card{
  background:var(--cream-soft);border:1px solid var(--cream-line);border-radius:var(--radius);padding:1.8rem;
  transition:transform .3s ease,box-shadow .3s ease;
}
.info-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-card)}
.info-card .ico{
  width:52px;height:52px;border-radius:50%;background:var(--maroon-deep);color:var(--cream);
  display:grid;place-items:center;margin-bottom:1rem;
}
.info-card .ico svg{width:24px;height:24px}
.info-card h3{font-size:1.08rem;margin-bottom:.5rem}
.info-card p{font-size:.92rem;margin:0}
.gallery-masonry{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery-masonry figure{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card)}
.gallery-masonry img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .6s ease}
.gallery-masonry figure:hover img{transform:scale(1.06)}

/* forms */
.form-card{background:var(--cream-soft);border:1px solid var(--cream-line);border-radius:var(--radius-lg);padding:2.2rem}
.field{margin-bottom:1.1rem}
.field label{display:block;font-size:.86rem;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.field input,.field select,.field textarea{
  width:100%;padding:.85rem 1rem;border:1px solid var(--cream-line);border-radius:8px;background:#fff;
  font-family:inherit;font-size:.95rem;color:var(--ink);transition:border-color .2s ease,box-shadow .2s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--maroon-soft);box-shadow:0 0 0 3px rgba(92,27,51,.12);
}
.field textarea{min-height:150px;resize:vertical}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.amount-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1.2rem}
.amount-row button{
  padding:.75rem 1.4rem;border-radius:8px;border:1px solid var(--cream-line);background:#fff;
  font-family:inherit;font-weight:600;color:var(--maroon-deep);cursor:pointer;transition:.2s ease;
}
.amount-row button:hover{border-color:var(--maroon-soft)}
.amount-row button.on{background:var(--maroon-deep);color:var(--cream);border-color:var(--maroon-deep)}
.form-note{font-size:.85rem;color:var(--body);margin-top:.8rem}
.contact-line{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.4rem}
.contact-line .ico{width:44px;height:44px;border-radius:50%;background:var(--maroon-deep);color:var(--cream);display:grid;place-items:center;flex:none}
.contact-line .ico svg{width:20px;height:20px}
.contact-line h4{font-size:.95rem;margin-bottom:.15rem}
.contact-line p{margin:0;font-size:.94rem}

/* ---------- footer ---------- */
.site-footer{background:var(--maroon-dark);color:rgba(244,231,214,.8);position:relative;overflow:hidden}
.site-footer .mountains{
  position:absolute;inset:auto 0 0 0;height:70%;opacity:.05;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cpath fill='%23F4E7D6' opacity='.5' d='M0 420 L120 250 L230 300 L360 170 L470 262 L600 200 L720 300 L840 220 L980 292 L1100 190 L1240 282 L1440 212 L1440 420 Z'/%3E%3Cpath fill='%23F4E7D6' opacity='.85' d='M0 420 L160 302 L300 350 L430 262 L560 330 L700 272 L830 350 L960 292 L1120 350 L1260 282 L1440 330 L1440 420 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.site-footer .wrap{position:relative;z-index:2}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.15fr 1fr 1.25fr;gap:40px;padding:64px 0 44px}
.footer-brand img{height:86px;margin-bottom:1.1rem}
.footer-brand p{font-size:.9rem;line-height:1.75;max-width:31ch}
.socials{display:flex;gap:.6rem;margin-top:1.2rem}
.socials a{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(244,231,214,.4);
  display:grid;place-items:center;color:var(--cream);transition:.25s ease;
}
.socials a svg{width:17px;height:17px}
.socials a:hover{background:var(--cream);color:var(--maroon-dark);transform:translateY(-3px)}
.footer-col h4{
  font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-soft);margin-bottom:1.15rem;font-weight:600;
}
.footer-col li{margin-bottom:.62rem}
.footer-col a{font-size:.93rem;transition:color .2s ease,padding-left .2s ease;display:inline-block}
.footer-col a:hover{color:var(--gold);padding-left:4px}
.footer-contact li{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:.8rem;font-size:.93rem}
.footer-contact svg{width:17px;height:17px;color:var(--cream);flex:none;margin-top:.3rem}
.footer-bottom{
  border-top:1px solid rgba(244,231,214,.16);padding:18px 0;display:flex;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;font-size:.87rem;
}
.footer-bottom .heart{color:var(--gold)}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .play::after{animation:none}
  html{scroll-behavior:auto}
}
.reveal.in{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .work-grid{grid-template-columns:repeat(4,1fr)}
  .impact-stats{grid-template-columns:repeat(3,1fr)}
  .gallery-row{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr;row-gap:36px}
}
@media (max-width:1024px){
  .nav{
    position:fixed;top:var(--nav-h);left:0;right:0;flex-direction:column;align-items:stretch;
    background:var(--maroon-deep);padding:0 24px;gap:.25rem;margin:0;
    max-height:0;overflow:hidden;opacity:0;transition:max-height .4s ease,opacity .3s ease,padding .3s ease;
  }
  .site-header.open .nav{max-height:74vh;overflow-y:auto;opacity:1;padding:1rem 24px 1.4rem;box-shadow:0 20px 40px rgba(0,0,0,.3)}
  .site-header.open{background:var(--maroon-deep)}
  .nav > li > a{padding:.7rem 0;justify-content:space-between}
  .nav > li > a::after{display:none}
  .submenu{
    position:static;transform:none;opacity:1;visibility:visible;background:transparent;box-shadow:none;
    padding:0 0 0 .8rem;max-height:0;overflow:hidden;transition:max-height .35s ease;min-width:0;
  }
  .nav > li.open .submenu{max-height:360px;padding-bottom:.5rem}
  .submenu a{color:rgba(244,231,214,.85);padding:.45rem .6rem}
  .submenu a:hover{background:rgba(244,231,214,.1);color:var(--gold)}
  .nav-cta{display:none}
  .burger{display:flex;margin-left:auto}
  .brand img{height:48px}
  .about-grid,.split{grid-template-columns:1fr;gap:36px}
  .card-grid{grid-template-columns:repeat(2,1fr)}
  .statbar{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3)::before{display:none}
}
@media (max-width:820px){
  .section{padding:62px 0}
  .work-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-row{grid-template-columns:repeat(2,1fr)}
  .impact-stats{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .gallery-masonry{grid-template-columns:repeat(2,1fr)}
  .hero{height:auto;min-height:0;max-height:none;padding:calc(var(--nav-h) + 56px) 0 96px}
  .hero::before{background:linear-gradient(180deg,rgba(28,30,14,.9) 0%,rgba(32,38,16,.82) 55%,rgba(32,38,16,.9) 100%)}
  .hero-bg{background-position:76% center}
}
@media (max-width:560px){
  .wrap{padding:0 18px}
  .work-grid,.gallery-row,.card-grid,.gallery-masonry,.impact-stats,.statbar,.row-2{grid-template-columns:1fr}
  .stat + .stat::before{display:none}
  .stat{border-top:1px solid rgba(244,231,214,.18)}
  .stat:first-child{border-top:0}
  .footer-grid{grid-template-columns:1fr}
  .statbar-wrap{margin-top:-48px}
  .cta-box{padding:1.4rem}
  .form-card{padding:1.4rem}
}
