/* Somali DNA Peace Project — public brand layer.
   Loaded after original templates so the genealogy UI and data stay untouched. */
:root{--peace-ocean:#0a7f85;--peace-deep:#143c51;--peace-blue:#2b71b4}
.navbar-brand{display:inline-flex!important;align-items:center;gap:10px;font-weight:800!important;line-height:1.2!important;white-space:normal!important;letter-spacing:-.45px}
.navbar-brand::before{content:"✦";display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:10px;background:linear-gradient(135deg,#118f8a,#326ec5);color:#fff;font-size:16px;box-shadow:0 4px 12px #08687320}
body.light-mode .navbar-brand{color:#126d7a!important}
.home-hero{position:relative;isolation:isolate;overflow:hidden}
.home-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 92% 8%,#80d9c72c,transparent 44%),radial-gradient(ellipse at 8% 94%,#7cb8e22c,transparent 45%);pointer-events:none}
.home-hero-text{max-width:750px!important}
.home-hero-text h1{font-size:clamp(2rem,4.5vw,3.15rem)!important;font-weight:830!important;line-height:1.1!important;letter-spacing:-1.6px!important;text-wrap:balance}
.home-hero-text h1 em{font-style:normal;color:#0c828b}
body.light-mode .home-hero-text h1 em{color:#0b8185}
.home-hero-text p{font-size:clamp(.94rem,1.5vw,1.06rem)!important;max-width:650px!important;line-height:1.75!important}
.atlas-eyebrow{letter-spacing:2.2px!important;color:#0b8587!important;font-weight:800!important}
.home-hero-icon{flex:none;box-shadow:0 14px 30px #087f8330!important}
body.light-mode .home-hero{background:linear-gradient(125deg,#e8faf5 0%,#f0f8ff 62%,#f4efff 100%)!important}
body:not(.light-mode) .home-hero{background:linear-gradient(120deg,#102d38,#163e47 60%,#173650)!important}
body:not(.light-mode) .home-hero-text h1 em{color:#80e0d2}
body:not(.light-mode) .home-hero-text p{color:#c0d6de!important}
body:not(.light-mode) .atlas-eyebrow{color:#80e0d2!important}
body:not(.light-mode) .home-hero-icon{background:linear-gradient(145deg,#0b8584,#286db9);color:white}
.top .brand{letter-spacing:-.3px}
@media(max-width:620px){
 .navbar-brand{font-size:clamp(.9rem,3.6vw,1.1rem)!important;max-width:calc(100vw - 110px)}
 .navbar-brand::before{width:24px;height:24px;border-radius:8px;font-size:13px}
 .home-hero{padding:31px 21px!important}
 .home-hero-text h1{font-size:clamp(1.88rem,7.5vw,2.55rem)!important;letter-spacing:-1px!important}
 .home-hero-text p{font-size:.94rem!important;line-height:1.65!important}
 .atlas-eyebrow{font-size:.66rem!important;letter-spacing:1.35px!important}
}
@media(prefers-reduced-motion:reduce){.home-hero,.navbar-brand{transition:none!important}}
