/* Final visual polish: readable footer, mild page colours, guaranteed viewport fit */
html,body{overflow-x:hidden;overflow-y:auto}
/* Desktop: keep the main navigation permanently visible while the page scrolls. */
@media(min-width:901px){
  .site-header{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:1000!important;
  }
  body.home-page main{padding-top:76px!important}
}
footer{background:#090b10!important;color:#fff!important;padding:12px 0 9px!important}
.footer-simple{min-height:34px!important;padding-bottom:9px!important;gap:22px}
.footer-contact{font-size:13px!important;color:#d7dce4!important;gap:20px!important}
.footer-contact strong{font-size:11px!important;color:#fff!important;letter-spacing:.8px}
.footer-contact span{white-space:nowrap}
.footer-bottom{padding-top:9px!important;font-size:11px!important;color:#b8c0cc!important}
.footer-bottom a{font-size:13px!important;color:#f5c85b!important;font-weight:800!important;text-decoration:none!important}
.footer-bottom a:hover{text-decoration:underline!important}
body:not(.home-page){display:flex;flex-direction:column;height:100svh;min-height:100svh;overflow:hidden}
body:not(.home-page) main{height:auto!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important}
body:not(.home-page) main>.section,body:not(.home-page) main>.funding{height:100%!important;min-height:0!important;overflow:hidden!important}
/* Mild background variation by destination */
body:not(.home-page):has(.op-card.featured) main{background:#fbf7ef}
body:not(.home-page):has(.op-card.patron) main{background:#f3f8f5}
body:not(.home-page):has(.op-card.donate) main{background:#f7f3fa}
body:not(.home-page):has(.funding) main{background:#fff8ed}
body:not(.home-page) .section{background:transparent!important}
body:not(.home-page) .funding{background:transparent!important}
.home-section{background:linear-gradient(180deg,#fbfaf7 0%,#fff 100%)}
@media(max-width:600px){
 footer{padding:9px 0 7px!important}
 .footer-contact{font-size:11px!important;gap:6px 14px!important}
 .footer-contact strong{font-size:10px!important}
 .footer-bottom{padding-top:7px!important;font-size:10px!important}
 .footer-bottom a{font-size:12px!important}
}
/* Mobile: natural vertical scrolling for every phone size; desktop remains fixed. */
@media(max-width:900px){
 html,body{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
 body.home-page{height:auto!important;min-height:100svh!important;overflow-x:hidden!important;overflow-y:auto!important}
 body.home-page main{height:auto!important;min-height:0!important;overflow:visible!important;display:block!important}
 body.home-page .home-section{height:auto!important;min-height:0!important;display:block!important;overflow:visible!important}
 body.home-page .home-layout{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;align-items:start!important;padding:40px 0 34px!important;gap:28px!important}
 body.home-page .home-intro h1{font-size:clamp(34px,9vw,46px)!important;line-height:1.05!important;letter-spacing:-1.8px!important}
 body.home-page .home-intro .hero-copy{font-size:16px!important;line-height:1.55!important}
 body.home-page .home-support{width:100%!important;box-sizing:border-box!important}
 body:not(.home-page){height:auto!important;min-height:100svh!important;overflow-x:hidden!important;overflow-y:auto!important;display:flex!important;flex-direction:column!important}
 body:not(.home-page) main{height:auto!important;min-height:0!important;flex:0 0 auto!important;overflow:visible!important}
 body:not(.home-page) main>.section,body:not(.home-page) main>.funding{height:auto!important;min-height:0!important;overflow:visible!important}
 body:not(.home-page) main>.section{padding:34px 0!important}
 body:not(.home-page) .funding{padding:34px 0 28px!important}
 footer{margin-top:0!important}
}

/* Desktop funding section: keep the complete funding content together in a clean two-column layout. */
@media(min-width:901px){
  body.home-page .funding{
    display:flex!important;
    align-items:center!important;
    min-height:calc(100svh - 76px)!important;
    box-sizing:border-box!important;
    padding:42px 0 34px!important;
  }
  body.home-page .funding>.funding-grid{
    width:min(1160px,calc(100% - 40px))!important;
    max-width:1160px!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(380px,.82fr)!important;
    gap:46px!important;
    align-items:center!important;
  }
  body.home-page .funding .funding-copy{
    min-width:0!important;
  }
  body.home-page .funding .strategic{
    width:auto!important;
    margin:24px 0 0!important;
  }
  body.home-page .funding .funding-note{
    width:auto!important;
    margin:0!important;
    align-self:center!important;
  }
}


/* Site-wide typography refresh: stronger contrast, comfortable reading size and clear hierarchy. */
body{font-size:16px!important;line-height:1.65!important;color:#263449!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
main p,main li,main .lead,main .description,main .copy,main .section-copy,main .op-card p,main .premium-card p,main .premium-card li,main .funding-note,main .support-copy{font-size:16px!important;line-height:1.7!important;font-weight:500!important;color:#34445b!important}
main ul{padding-left:1.35em}
main li{margin-bottom:5px}
main strong,main b{font-weight:800!important;color:#172b49}
main h1,main h2,main h3,main h4{color:#142746;font-weight:800!important;line-height:1.2!important;text-wrap:balance}
main .section-heading h2,main .section-title,main .funding h2{font-size:clamp(30px,3vw,40px)!important;letter-spacing:-.7px!important}
main .section-heading p,main .section-heading .lead{font-size:17px!important;line-height:1.65!important;color:#465872!important;font-weight:600!important}
main .op-card h3,main .premium-card h3{font-size:24px!important;line-height:1.25!important;font-weight:800!important}
main .op-card h4,main .premium-card h4{font-size:17px!important;line-height:1.4!important;font-weight:800!important}
main .op-card p,main .op-card li,main .premium-card p,main .premium-card li{font-size:15.5px!important;color:#35465f!important}
main .op-card,main .premium-card{color:#263449}
main .gateway-intro{font-weight:900!important}
main .support-list b{font-size:15px!important;font-weight:800!important;color:#172b49!important}
main .support-list span{font-size:13px!important;line-height:1.5!important;color:#52627a!important;font-weight:600!important}
main .support-copy{font-size:15px!important}
main .funding .lead{font-size:18px!important;font-weight:600!important;color:#34445b!important}
main .funding-facts span{font-size:13px!important;font-weight:700!important;color:#52627a!important}
main .funding-facts strong{font-size:22px!important}
main a:not(.brand):not(.nav a):not(.nav-cta){font-weight:650}
main .btn,main button,main .button{font-size:15px!important;font-weight:800!important;letter-spacing:.05px}
main .premium-subgrid .brahmins-package{padding:17px!important}
main .premium-subgrid .brahmins-package h4{font-size:16px!important}
main .premium-subgrid .brahmins-package p,main .premium-subgrid .brahmins-package li{font-size:15px!important;line-height:1.65!important;font-weight:600!important}
@media(max-width:900px){
 main p,main li,main .lead,main .description,main .copy,main .section-copy,main .op-card p,main .premium-card p,main .premium-card li,main .funding-note,main .support-copy{font-size:15.5px!important;line-height:1.65!important}
 main .section-heading p,main .section-heading .lead{font-size:16px!important}
 main .op-card h3,main .premium-card h3{font-size:22px!important}
}
@media(max-width:600px){
 main p,main li,main .lead,main .description,main .copy,main .section-copy,main .op-card p,main .premium-card p,main .premium-card li,main .funding-note,main .support-copy{font-size:15px!important;line-height:1.65!important}
 main .section-heading h2,main .section-title,main .funding h2{font-size:28px!important}
 main .op-card h3,main .premium-card h3{font-size:21px!important}
 main .op-card h4,main .premium-card h4{font-size:16px!important}
 main .premium-subgrid .brahmins-package p,main .premium-subgrid .brahmins-package li{font-size:14.5px!important}
}
