/* Scoped visual refinement. Original brand colors, content and routes preserved. */
:root{--atlas-space-1:8px;--atlas-space-2:12px;--atlas-space-3:16px;--atlas-space-4:24px;--atlas-space-5:32px;--atlas-space-6:48px;--atlas-radius:18px;--atlas-ink:#15263d;--atlas-muted:#566479}
body.horizon{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.horizon :is(button,a,input):focus-visible{outline:3px solid #236cc8;outline-offset:3px}
body.horizon :is(button,.modal-amount-pill){-webkit-tap-highlight-color:transparent}
body.horizon .campaign-grid{align-items:start}
body.horizon .horizon-photo-card{overflow:hidden;border-radius:18px;background:#eef1f4;isolation:isolate}
body.horizon .horizon-viewport{overflow:hidden}
body.horizon .horizon-track{display:flex;transition:transform .3s ease}
body.horizon .horizon-slide{min-width:100%;flex:0 0 100%;overflow:hidden}
body.horizon .horizon-photo-card .campaign-media-img{display:block;width:100%;height:auto;object-fit:cover;object-position:center;aspect-ratio:3/2}
body.horizon .horizon-title{font-size:clamp(1.7rem,2.6vw,2.6rem);line-height:1.13;letter-spacing:-.035em;font-weight:750;max-width:22ch;text-wrap:balance}
body.horizon .horizon-mobile-title{letter-spacing:-.025em;line-height:1.14;text-wrap:balance}
body.horizon .horizon-story-block{font-size:clamp(1rem,1.1vw,1.125rem);line-height:1.75;max-width:72ch}
body.horizon .horizon-story-block p+p{margin-top:1.15em}
body.horizon .horizon-sticky-box{border-radius:20px;box-shadow:0 12px 38px rgba(21,38,61,.09);border:1px solid #e9edf1;padding:clamp(20px,2.2vw,32px)}
body.horizon .horizon-gauge-row{align-items:center;gap:18px}
body.horizon .gauge-stats{min-width:0}
body.horizon .stat-raised{font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.12}
body.horizon .stat-goal{font-variant-numeric:tabular-nums}
body.horizon .donut-chart-container{flex:0 0 auto}
body.horizon .btn-horizon-sticky-donate,body.horizon .btn-horizon-sticky-share,body.horizon .btn-mob-donate{min-height:50px;border-radius:999px;font-weight:700;transition:filter .18s,transform .18s;cursor:pointer}
body.horizon :is(.btn-horizon-sticky-donate,.btn-horizon-sticky-share,.btn-mob-donate):hover{filter:brightness(.965)}
body.horizon :is(.btn-horizon-sticky-donate,.btn-horizon-sticky-share,.btn-mob-donate):active{transform:scale(.985)}
body.horizon .feed-item,body.horizon .mobile-feed-item{align-items:center;gap:12px;padding-block:11px}
body.horizon .feed-info,body.horizon .feed-info-col{min-width:0;line-height:1.42}
body.horizon .feed-info strong,body.horizon .feed-info-col strong{display:block;overflow-wrap:anywhere}
body.horizon .feed-info span,body.horizon .feed-info-col span{font-variant-numeric:tabular-nums;color:var(--atlas-muted)}
body.horizon .horizon-recent-feed{margin-top:22px}
body.horizon .horizon-mobile-gauge-card{padding:24px 20px;border-radius:20px}
body.horizon .horizon-site-footer{padding-block:clamp(48px,6vw,80px) 34px}
body.horizon .horizon-footer-container{gap:clamp(24px,3vw,48px)}
body.horizon .horizon-nav-heading{letter-spacing:.07em}
body.horizon .horizon-nav-list li+li{margin-top:12px}
body.horizon .horizon-nav-list a{line-height:1.5;text-underline-offset:3px}
body.horizon .donation-modal-dialog{border-radius:22px;max-height:min(90dvh,850px);overflow-y:auto;overscroll-behavior:contain}
body.horizon .modal-amounts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.horizon .modal-amount-pill .modal-amt-box{min-height:70px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 6px}
body.horizon .modal-amount-pill strong{font-variant-numeric:tabular-nums}
body.horizon .modal-amount-pill input:focus-visible+.modal-amt-box{outline:3px solid #236cc8;outline-offset:2px}
body.horizon .atlas-custom-entry{margin:14px 0 20px}
body.horizon .atlas-custom-entry[hidden]{display:none}
body.horizon .atlas-custom-entry label{display:block;font-weight:650;margin-bottom:8px}
body.horizon .atlas-custom-entry input{display:block;width:100%;min-height:48px;border:1px solid #b7c2cd;border-radius:12px;padding:10px 14px;font:inherit}
body.horizon .modal-secure-note{line-height:1.55}
body.horizon .mob-sticky{box-shadow:0 -12px 34px rgba(21,38,61,.11);padding-bottom:max(12px,env(safe-area-inset-bottom));z-index:100}
@media(max-width:960px){body.horizon .campaign-grid{gap:28px}body.horizon .horizon-footer-container{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.horizon .horizon-photo-card{border-radius:0}body.horizon .horizon-photo-card .campaign-media-img{aspect-ratio:4/3;object-position:center top}body.horizon .horizon-mobile-gauge-card{margin-inline:12px}body.horizon .horizon-footer-container{grid-template-columns:1fr;gap:28px}body.horizon .modal-amounts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.horizon .donation-modal-dialog{max-height:92dvh;border-radius:18px 18px 0 0}body.horizon .mob-sticky{max-width:100vw}body.horizon .stat-raised{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){body.horizon .horizon-track,body.horizon .btn-horizon-sticky-donate,body.horizon .btn-horizon-sticky-share,body.horizon .btn-mob-donate{transition:none!important}}
