/* Muraka Farm mobile responsive system — desktop is intentionally untouched. */
.mobile-menu-donate{display:none}
header{position:fixed!important;top:0;right:0;left:0;width:100%;z-index:90}
body{padding-top:65px}
html,body{max-width:100%;overflow-x:hidden}
img,svg{max-width:100%}
@media (max-width:1080px){.navbar{position:relative;min-height:68px}.navbar nav,header nav{top:100%;z-index:60}.navbar nav a,header nav a{display:flex;align-items:center;min-height:48px;white-space:normal}.mobile-menu-donate{display:list-item}.mobile-menu-donate a{background:var(--navy);color:var(--paper)!important}.navbar>.nav-cta{display:none}.grid{gap:14px}}
@media (max-width:768px){body{font-size:16px;line-height:1.6}.wrap{padding-inline:24px}section{padding:76px 0}.hero{padding-top:72px;padding-bottom:64px}.hero h1,h1.display{font-size:clamp(2.3rem,8vw,3.6rem);line-height:1.02}.hero p,.hero-sub{font-size:1rem}.grid{grid-template-columns:1fr}.card{padding:22px}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-bottom{flex-direction:column}.motion-ready .reveal:not(.is-visible),.motion-ready .reveal-left:not(.is-visible),.motion-ready .reveal-right:not(.is-visible){transform:translate3d(0,12px,0)}}
@media (max-width:560px){
html{scroll-padding-top:66px}body{font-size:15.75px;line-height:1.62}img{max-width:100%}.wrap,.navbar{padding-inline:20px}.navbar{min-height:64px;padding-block:10px;gap:12px}.brand{font-size:1.05rem}.brand img{height:34px!important}.nav-toggle{width:44px;height:44px;margin-left:auto;margin-right:0}.navbar nav,header nav{left:12px;right:12px;max-height:calc(100dvh - 76px)}.navbar nav a,header nav a{min-height:48px;padding:12px 18px}
main,section,.wrap,.grid,.card,article,aside,figure,.hero-inner,.hero-stats,.hero-actions,.section-head{min-width:0;max-width:100%}h1,h2,h3,p,a,dt,dd{overflow-wrap:break-word}h1,h2,h3,.section-head h2{white-space:normal}
section{padding:60px 0}.hero{padding:56px 20px 52px}.hero .wrap{padding-inline:0}.hero h1,h1.display{max-width:none;font-size:clamp(2.15rem,10vw,2.8rem);line-height:1}.hero p,.hero-sub{margin-top:18px;max-width:100%;font-size:1rem;line-height:1.6}.hero-mark{top:18px;right:-34px;width:200px!important;height:200px!important;opacity:.16!important;transform:none!important}.eyebrow{margin-bottom:18px;font-size:.68rem;line-height:1.5}.hero-actions,.actions{display:flex;flex-direction:column;gap:10px;margin-top:26px}.hero-actions .btn,.actions .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:11px 18px;text-align:center}
.hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;width:100%;margin-top:34px}.hero-stats>div{min-width:0;padding:16px 12px 14px 0}.hero-stats>div:nth-child(2){padding-left:16px;border-left:1px solid var(--line)}.hero-stats>div:nth-child(3){grid-column:1/-1;width:100%;border-top:1px solid var(--line)}.stat-num{font-size:1.75rem}.stat-label{font-size:.76rem;line-height:1.4}
.section-head,.head{margin-bottom:30px}.section-head h2,.head h2{font-size:clamp(1.8rem,8vw,2.15rem);line-height:1.08}.section-tag,.tag{font-size:.68rem}.about-intro{font-size:1rem;margin-bottom:28px}.about-card,.card,.partner-card,.partner-detail,.involve-card{min-width:0;padding:20px}.heat-panel,.quote-block,.recognition-story,.ranum-learning,.research-gateway{padding:22px 20px}.evidence-callout{grid-template-columns:1fr}.evidence-callout .foot{grid-column:1}.process-item{grid-template-columns:1fr;padding:24px 0;gap:8px}.process-item h3{font-size:1.25rem}
.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.achievement-card{min-width:0;padding:22px 16px}.achievement-card-image{width:calc(100% + 32px);margin:-22px -16px 18px;height:150px}.recognition-grid,.why-grid,.place-grid,.dhirun-grid,.ranum-intro,.hiriya-grid,.coral-quest-grid{grid-template-columns:1fr;gap:28px}.recognition-action,.ranum-copy .btn{width:100%;min-height:46px;text-align:center}.dhirun-visual{min-height:0}.dhirun-photo{min-height:260px}.dhirun-collaborators{grid-template-columns:1fr}.dhirun-pillars{grid-template-columns:1fr}.community-events{padding:48px 0}.community-events .section-head{margin-bottom:22px;padding:18px}.event-grid{grid-template-columns:1fr;gap:12px;align-items:start}.event-card,.event-card:first-child,.event-card:nth-child(2){grid-column:auto}.event-photo-placeholder{min-height:40px;padding:8px 14px}.event-photo-gallery,.event-card:first-child .event-photo-gallery,.event-card:nth-child(2) .event-photo-gallery,.event-card:nth-child(3) .event-photo-gallery{grid-template-columns:1fr;height:auto;padding:8px}.event-photo-gallery img{height:auto;max-height:none;object-fit:contain}.event-photo-gallery img+img{border-top:1px solid rgba(251,253,254,0.2);border-left:0}.event-copy{padding:18px}
.bml-project-card{padding:20px}.bml-project-gallery{grid-template-columns:1fr;height:auto}.bml-project-photo{aspect-ratio:4/5}.field-learning-examples,.things-grid,.partner-grid,.partner-detail-grid,.involve-grid{grid-template-columns:1fr}.discover-panel{margin-top:56px;padding:28px 20px;border-radius:7px}.discover-panel-head{margin-bottom:24px}.discover-panel::after{top:-190px;right:-210px}.thing-card img{height:240px}.ranum-collage-support,.hiriya-gallery-support{grid-template-columns:repeat(2,minmax(0,1fr))}.ranum-details,.hiriya-details,.coral-quest-details{grid-template-columns:1fr;padding:19px}.ranum-details dt,.hiriya-details dt,.coral-quest-details dt{padding-bottom:3px;border-bottom:0}.ranum-details dd,.hiriya-details dd,.coral-quest-details dd{padding-top:0;overflow-wrap:anywhere}
.coral-quest-collage,.coral-quest-callout>.coral-quest-collage{grid-template-columns:1fr;grid-template-rows:none;height:auto}.coral-quest-photo-main,.coral-quest-classroom-photo,.coral-quest-local-photo{grid-column:auto;grid-row:auto;width:100%;margin-top:18px}.coral-quest-callout{grid-template-columns:1fr;padding:20px 18px}.latest-instagram,.research-gateway{align-items:flex-start;flex-direction:column;gap:18px}.latest-instagram a,.research-gateway>a{min-height:44px}.cta-band .btn{width:100%;min-height:46px;text-align:center}.empty{padding:26px 18px;text-align:left}.empty p{margin-inline:0}
footer{padding:48px 0 24px}.footer-grid{gap:28px;padding-bottom:30px}footer a{display:inline-flex;align-items:center;min-height:44px}.footer-bottom{font-size:.7rem;line-height:1.55}.volunteer-modal,.adoption-modal,.donation-modal,.partnership-modal,.research-modal{padding:12px}.volunteer-dialog,.adoption-dialog,.donation-dialog,.partnership-dialog,.research-dialog{width:100%;max-height:calc(100dvh - 24px);padding:28px 20px 22px;overflow-y:auto;overscroll-behavior:contain}.volunteer-close,.adoption-close,.donation-close,.partnership-close,.research-close{top:12px;right:12px;width:44px;height:44px}
.partnership-options,.research-grid,#education-modal .research-grid,#education-modal .education-choices .partnership-options{grid-template-columns:1fr}.donation-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.donation-amount{min-height:48px}.partnership-contact,.adoption-step-action,.donation-pay{width:100%;min-height:46px;justify-content:center;text-align:center}.timeline{padding-left:20px}.timeline article{padding:19px}.timeline article:before{left:-28px}
}
@media (max-width:390px){.wrap,.navbar{padding-inline:18px}section{padding:56px 0}.hero{padding:52px 18px 48px}.achievement-grid{grid-template-columns:1fr}.ranum-collage-support,.hiriya-gallery-support{grid-template-columns:1fr}.card,.about-card,.partner-card,.partner-detail,.involve-card{padding:18px}}

@media (max-width:560px){.community-events{padding:60px 0}.community-events .section-head{margin-bottom:30px;padding:0}}
@media (max-width:560px){.hero-mark{opacity:.16!important}}
@media (max-width:560px){#community-action .event-card{gap:0;padding:0}#community-action .event-card-image,#field-learning .field-learning-example-image{width:100%;height:210px}#community-action .event-copy,#field-learning .field-learning-example-copy{padding:18px}}
@media (max-width:768px){.home-project-grid{grid-template-columns:1fr}}
@media (max-width:560px){.home-projects-panel{padding:24px}.home-project-card-image{height:210px}.home-project-card-copy{padding:18px}}

/* Navigation sizing shared by the homepage and inner pages. */
body{padding-top:91px}
@media (max-width:1080px){
  html{scroll-padding-top:88px}
  body{padding-top:79px}
  .navbar{min-height:78px;padding-block:12px;gap:16px}
  .brand{gap:12px;font-size:1.22rem}
  .brand img{height:46px!important}
  .brand small{font-size:.57rem}
  .nav-toggle{width:48px;height:48px}
  .nav-toggle svg{width:25px;height:25px}
  .navbar nav a,header nav a{min-height:52px;font-size:1rem}
}
@media (max-width:560px){
  html{scroll-padding-top:82px}
  body{padding-top:75px}
  .navbar{min-height:74px;padding-block:10px}
  .brand{font-size:1.16rem}
  .brand img{height:42px!important}
}
