/* Habesha Hub homepage redesign (2026-10).
 * Loaded after styles.css on index.html only. Every rule is scoped to body.rd so the
 * state pages and supporting pages keep their current look until they are migrated.
 * Remove the <link> to this file in index.html to return to the previous design.
 */
body.rd{
 --midnight:#0e1a2b;--midnight-2:#13233a;--midnight-line:#22324a;--deep:#0a1422;
 --ink:#121826;--slate:#556070;--slate-2:#3a4556;--mist:#f6f7f9;--line:#e5e8ee;--line-2:#c9cfd9;
 --emerald:#0e7c57;--emerald-dark:#0a5e42;--emerald-tint:#e3f3ec;
 --gold:#e9b949;--gold-tint:#fdf4dd;--gold-ink:#7a4f00;--clay:#c2452d;--clay-ink:#a33a25;
 --on-dark:#c7ced9;--on-dark-2:#a9b3c3;
 --radius:16px;--shadow:0 12px 28px rgba(14,26,43,.10);
 --green:var(--emerald);--green2:var(--emerald);--muted:var(--slate);--paper:#fff;--soft:var(--mist);
 background:#fff;color:var(--ink);font-family:"Plus Jakarta Sans",Inter,Arial,sans-serif;line-height:1.6
}
body.rd a{color:var(--emerald)}
body.rd a:hover{color:var(--emerald-dark)}
body.rd .wrap{width:min(1240px,calc(100% - 48px))}
body.rd h1,body.rd h2,body.rd h3,body.rd .brand,body.rd .section-head h2,body.rd .listing h3,body.rd .resource-card h3,
body.rd .about-card h3,body.rd .state-title,body.rd .city-group{font-family:"Plus Jakarta Sans",Inter,Arial,sans-serif;letter-spacing:-.02em}
body.rd .eyebrow{color:var(--emerald);font-weight:700;letter-spacing:.1em;font-size:.8rem}
body.rd .section-head h2{font-weight:800;font-size:clamp(1.9rem,3.4vw,2.5rem);letter-spacing:-.03em}
body.rd .section-head p{color:var(--slate)}
body.rd section{padding:80px 0}
body.rd .soft{background:var(--mist);border-block:1px solid var(--line)}

/* ---- top bar + header ---- */
body.rd .topbar{background:var(--deep);color:var(--on-dark);font-size:.82rem}
body.rd .topbar-in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding:8px 0}
body.rd .topbar-links{display:flex;gap:16px}
body.rd .topbar a{color:var(--on-dark);text-decoration:none}
body.rd .topbar a.topbar-ad{color:var(--gold);font-weight:700}
body.rd header{background:var(--midnight);border-bottom:1px solid var(--midnight-line);backdrop-filter:none}
body.rd .nav{min-height:72px;gap:20px}
body.rd .brand{color:#fff;font-weight:800;font-size:1.2rem}
body.rd .mark{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--gold);box-shadow:none;color:var(--midnight);font-family:"Noto Sans Ethiopic",sans-serif;font-weight:700;font-size:1.25rem}
body.rd nav{margin-left:auto}
body.rd #mainNav{gap:6px 18px}
body.rd .nav-group summary{background:transparent;border:0;box-shadow:none;color:#e6eaf0;padding:10px 4px;font-weight:600;font-size:.94rem}
body.rd .nav-group summary:hover{transform:none;box-shadow:none;color:#fff}
body.rd .nav-group[open] summary{background:transparent;color:var(--gold);box-shadow:none}
body.rd .nav-panel{border-color:var(--line);box-shadow:0 18px 40px rgba(0,0,0,.25)}
body.rd #mainNav .nav-panel a{color:var(--ink)}
body.rd #mainNav .nav-panel a:hover{background:var(--mist);color:var(--emerald)}
body.rd #mainNav .nav-link{color:#e6eaf0;font-weight:600;font-size:.94rem;padding:10px 4px;text-decoration:none;white-space:nowrap}
body.rd .nav-group summary,body.rd .lang{white-space:nowrap}
body.rd #mainNav .nav-link:hover{color:#fff}
body.rd #mainNav .nav-biz{color:var(--gold)}
body.rd .lang{background:transparent;border:1px solid #33425a;color:#fff;border-radius:999px;padding:8px 14px;font-weight:600}
body.rd .nav-add{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:10px;background:var(--emerald);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
body.rd .nav-add:hover{background:var(--emerald-dark);color:#fff}
body.rd .menu{background:transparent;border:1px solid #33425a;color:#fff}

/* ---- hero ---- */
body.rd .hero{background:var(--midnight);color:#fff;padding:72px 0 88px;border:0;overflow:hidden}
body.rd .hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px}
body.rd .hero-welcome{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px;font-size:.9rem;color:var(--on-dark)}
body.rd .hero-welcome .am{font-family:"Noto Sans Ethiopic",sans-serif;font-weight:700;color:var(--gold);font-size:1.05rem}
body.rd .hero-welcome .dot{width:4px;height:4px;border-radius:50%;background:#5b6b84}
body.rd .hero h1{font-family:"Plus Jakarta Sans",Inter,Arial,sans-serif;font-weight:800;font-size:clamp(2.4rem,5vw,4.1rem);line-height:1.04;letter-spacing:-.035em;margin:0;color:#fff;max-width:none;text-shadow:none}
body.rd .hero h1 span{color:var(--gold)}
body.rd .hero .hero-lede{margin:20px 0 28px;font-size:1.15rem;color:var(--on-dark);max-width:600px}
body.rd .hero .filters{margin:0;background:#fff;border:0;border-radius:16px;padding:14px;box-shadow:0 24px 48px rgba(0,0,0,.3);grid-template-columns:1.3fr 1fr 1fr 1fr}
body.rd .filters label.f{color:var(--slate);font-weight:700}
body.rd .filters input,body.rd .filters select{border-color:var(--line-2);border-radius:10px;min-height:46px}
body.rd .hero .filters .clear-wrap{grid-column:1/-1}
body.rd #searchResults{background:var(--emerald);border-radius:10px;padding:0 26px;font-weight:700}
body.rd #searchResults:hover{background:var(--emerald-dark)}
body.rd .clear-wrap #clearFilters{border-color:var(--line-2);color:var(--ink);border-radius:10px}
body.rd .hero .filter-extra{margin:14px 2px 0;color:var(--on-dark)}
body.rd .hero .filter-extra a{color:var(--gold)}
body.rd .hero-stats{display:flex;flex-wrap:wrap;gap:12px 36px;margin-top:28px}
body.rd .hero-stats .stat{border:0;padding:0}
body.rd .hero-stats strong{display:block;font-size:1.75rem;font-weight:800;letter-spacing:-.02em;color:#fff;line-height:1.2}
body.rd .hero-stats strong.gold{color:var(--gold)}
body.rd .hero-stats span{font-size:.85rem;color:var(--on-dark-2)}
body.rd .hero-visual{position:relative;min-height:440px;border-radius:28px;padding:56px 28px 28px;isolation:isolate}
body.rd .hero-pattern{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
body.rd .hero-visual-label{display:inline-block;margin:0 0 14px;padding:4px 12px;border-radius:999px;background:var(--gold);color:var(--midnight);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.rd .hero-picks{display:grid;gap:16px}
body.rd .hero-pick{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 20px 40px rgba(0,0,0,.35);transition:transform .15s}
body.rd .hero-pick:nth-child(2){margin-left:36px}
body.rd .hero-pick:hover{transform:translateY(-2px);color:var(--ink)}
body.rd .hero-pick .ini{flex:0 0 auto;width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:1.2rem;background:var(--emerald-tint);color:var(--emerald-dark)}
body.rd .hero-pick .txt{flex:1;min-width:0}
body.rd .hero-pick b{display:block;line-height:1.3}
body.rd .hero-pick small{display:block;color:var(--slate);font-size:.82rem}
body.rd .hero-pick .chk{flex:0 0 auto;padding:3px 10px;border-radius:999px;background:var(--emerald-tint);color:var(--emerald-dark);font-size:.75rem;font-weight:700}
body.rd .tricolor{display:flex;height:6px}
body.rd .tricolor.thin{height:4px}
body.rd .tricolor span{flex:1;background:var(--emerald)}
body.rd .tricolor span:nth-child(2){background:var(--gold)}
body.rd .tricolor span:nth-child(3){background:var(--clay)}

/* ---- listings ---- */
body.rd .listing,body.rd .resource-card,body.rd .about-card,body.rd .state-picker{border-color:var(--line);border-radius:16px}
body.rd .listing .type{color:var(--clay-ink)}
body.rd .listing h3 a{color:var(--ink);text-decoration:none}
body.rd .listing h3 a:hover{color:var(--emerald)}
body.rd .badge.s-verified{background:var(--emerald-tint);color:var(--emerald-dark)}
body.rd .badge.s-community{background:#e6f0fb;color:#1d4e89}
body.rd .badge.s-needs-review{background:var(--gold-tint);color:var(--gold-ink)}
body.rd .listing-actions a.pri{background:var(--emerald)}
body.rd .btn.primary,body.rd .primary{background:var(--emerald);color:#fff}
body.rd .btn.secondary{border-color:var(--line-2);color:var(--ink)}

/* ---- categories (flat cards, no 3D) ---- */
body.rd #community{overflow:visible}
body.rd #categoryGrid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;padding:0;perspective:none}
body.rd #categoryGrid .cat{color:var(--ink);min-height:0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:none;transform:none;display:flex;flex-direction:column;gap:6px;transition:border-color .15s,box-shadow .15s}
body.rd #categoryGrid .cat:nth-child(3n+2){transform:none}
body.rd #categoryGrid .cat::before,body.rd #categoryGrid .cat::after{content:none}
body.rd #categoryGrid .cat:hover,body.rd #categoryGrid .cat.is-active{border-color:var(--emerald);box-shadow:var(--shadow);transform:none}
body.rd #categoryGrid .icon{display:grid;place-items:center;width:44px;height:44px;margin-bottom:6px;border-radius:12px;background:#f1f3f7;color:var(--slate-2);font-size:inherit}
body.rd #categoryGrid .icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.rd #categoryGrid .tone-clay{background:#fceee9;color:var(--clay-ink)}
body.rd #categoryGrid .tone-green{background:var(--emerald-tint);color:var(--emerald-dark)}
body.rd #categoryGrid .tone-violet{background:#edebfa;color:#4a3aa8}
body.rd #categoryGrid .tone-blue{background:#e6f0fb;color:#1d4e89}
body.rd #categoryGrid .tone-gold{background:var(--gold-tint);color:#8a5a00}
body.rd #categoryGrid .cat strong{font-size:1rem;margin:0;transform:none}
body.rd #categoryGrid .cat > span:not(.icon){transform:none;margin:0}
body.rd #categoryGrid .category-count{margin-top:auto;padding-top:6px;color:var(--emerald-dark);font-weight:700;font-size:.85rem}

/* ---- states: tile map ---- */
body.rd .state-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;align-items:start}
body.rd .tile-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}
body.rd .tile-map{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px}
body.rd .tile{aspect-ratio:1;min-width:0;min-height:0;border:0;border-radius:6px;padding:0;font:700 .72rem "Plus Jakarta Sans",Inter,sans-serif;cursor:pointer;background:#eef0f4;color:var(--slate)}
body.rd .tile.b1{background:#c6e6d7;color:var(--emerald-dark)}
body.rd .tile.b2{background:#4fa882;color:#06301f}
body.rd .tile.b3{background:var(--emerald);color:#fff}
body.rd .tile:hover{filter:brightness(.93)}
body.rd .tile[aria-pressed="true"]{box-shadow:0 0 0 3px var(--gold)}
body.rd .tile-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:18px;font-size:.8rem;color:var(--slate)}
body.rd .tile-legend span{display:inline-flex;align-items:center;gap:6px}
body.rd .tile-legend i{display:inline-block;width:14px;height:14px;border-radius:3px;background:#eef0f4;border:1px solid #d5dae2}
body.rd .tile-legend i.b1{background:#c6e6d7;border:0}body.rd .tile-legend i.b2{background:#4fa882;border:0}body.rd .tile-legend i.b3{background:var(--emerald);border:0}
body.rd .state-side{display:grid;gap:16px}
body.rd .state-picker{background:var(--midnight);border-color:var(--midnight);color:#fff}
body.rd .state-picker .result-meta{color:var(--on-dark)}
body.rd .top-states{background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px}
body.rd .top-states-h{margin:0;padding:10px 12px 4px;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--slate)}
body.rd .top-states button{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:transparent;font:600 .95rem "Plus Jakarta Sans",Inter,sans-serif;color:var(--ink);cursor:pointer}
body.rd .top-states button span{color:var(--slate);font-weight:700}
body.rd .top-states button:hover,body.rd .top-states button[aria-pressed="true"]{background:var(--mist)}
body.rd .state-summary{margin-top:24px;border-radius:20px}
body.rd .chip{color:var(--emerald-dark)}

/* ---- advertise here ---- */
body.rd .ad-feature{background:var(--midnight);color:#fff;padding:88px 0}
body.rd .ad-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:center}
body.rd .ad-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--gold);color:var(--midnight);font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.rd .ad-badge svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
body.rd .ad-feature h2{margin:20px 0 14px;font-weight:800;font-size:clamp(2rem,3.6vw,3rem);line-height:1.08;letter-spacing:-.035em;color:#fff}
body.rd .ad-lede{margin:0 0 26px;font-size:1.08rem;color:var(--on-dark)}
body.rd .ad-benefits{list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
body.rd .ad-benefits li{position:relative;padding-left:32px}
body.rd .ad-benefits li::before{content:"";position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:50%;background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1a2b' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat}
body.rd .ad-benefits strong{display:block;color:#fff}
body.rd .ad-benefits span{display:block;font-size:.92rem;color:var(--on-dark-2)}
body.rd .ad-actions{display:flex;flex-wrap:wrap;gap:12px}
body.rd .ad-cta,body.rd .ad-cta2{display:inline-flex;align-items:center;min-height:52px;padding:0 26px;border-radius:12px;font-weight:800;text-decoration:none}
body.rd .ad-cta{background:var(--gold);color:var(--midnight)}
body.rd .ad-cta:hover{background:#f3c862;color:var(--midnight)}
body.rd .ad-cta2{border:1px solid #4a5a73;color:#fff;font-weight:700}
body.rd .ad-cta2:hover{border-color:#fff;color:#fff}
body.rd .ad-creative{margin:0}
body.rd .ad-creative-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;margin-bottom:12px;font-size:.82rem;color:var(--on-dark-2)}
body.rd .sponsored{display:inline-block;margin-right:8px;padding:2px 8px;border-radius:4px;background:var(--midnight-2);color:var(--gold);font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.rd .ad-frame{border-radius:18px;overflow:hidden;border:1px solid #2b3a52;box-shadow:0 40px 80px rgba(0,0,0,.45),0 0 0 8px rgba(233,185,73,.12)}
body.rd .ad-frame img{display:block;width:100%;height:auto}
body.rd .ad-creative figcaption{margin-top:14px;font-size:.88rem;color:var(--on-dark-2)}
body.rd .ad-options{margin-top:64px;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
body.rd .ad-options div{background:var(--midnight-2);border:1px solid var(--midnight-line);border-radius:16px;padding:22px}
body.rd .ad-options strong{display:block;margin-bottom:6px;font-size:1.05rem;color:#fff}
body.rd .ad-options span{display:block;font-size:.92rem;color:var(--on-dark-2)}
body.rd .ad-note{margin:24px 0 0;font-size:.88rem;color:var(--on-dark-2)}

/* ---- housing, resources ---- */
body.rd .status-pill.active{background:var(--emerald-tint);color:var(--emerald-dark)}
body.rd .status-pill.recheck{background:var(--gold-tint);color:var(--gold-ink)}
body.rd .notice{border-left-color:var(--gold);border-radius:10px}
body.rd .dark-band{background:var(--midnight);color:#fff}
body.rd .dark-band .section-head h2{color:#fff}
body.rd .dark-band .section-head p{color:var(--on-dark)}
body.rd .dark-band .eyebrow{color:var(--gold)}
body.rd .dark-band .resource-card{background:var(--midnight-2);border-color:var(--midnight-line)}
body.rd .dark-band .resource-card h3{color:#fff}
body.rd .dark-band .resource-card p{color:var(--on-dark-2)}
body.rd .dark-band .resource-card a{color:var(--gold)}
body.rd .dark-band .resource-card .eyebrow{color:var(--gold)}
body.rd .dark-band .notice{background:var(--midnight-2);color:var(--on-dark)}

/* ---- contribute ---- */
body.rd .contribute{background:var(--mist);color:var(--ink);border-top:1px solid var(--line)}
body.rd .contribute h2{color:var(--ink)}
body.rd .contribute p,body.rd .review-note{color:var(--slate)}
body.rd .contribute .eyebrow{color:var(--emerald)}
body.rd .contrib{background:#fff;border:1px solid var(--line);color:var(--ink);transition:border-color .15s,box-shadow .15s}
body.rd .contrib span{color:var(--slate)}
body.rd .contrib:hover,body.rd .contrib:focus-visible{background:#fff;border-color:var(--emerald);box-shadow:var(--shadow)}

/* ---- founder, about ---- */
body.rd .founder-quote{max-width:820px}
body.rd .founder-quote .quote{margin:8px 0 14px;font-size:clamp(1.4rem,2.6vw,1.9rem);font-weight:700;line-height:1.3;letter-spacing:-.02em}
body.rd .founder-quote p{color:var(--slate)}
body.rd .founder-quote strong{color:var(--ink)}
body.rd .trust-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px;color:var(--slate-2);font-size:.95rem}
body.rd .trust-list .badge{margin-right:6px}

/* ---- footer ---- */
body.rd footer{background:var(--midnight);color:var(--on-dark-2);border:0;padding:56px 0 32px}
body.rd footer .brand{color:#fff}
body.rd .foot p{color:var(--on-dark-2)}
body.rd footer a,body.rd .state-links a{color:var(--on-dark)}
body.rd footer a:hover{color:#fff}
body.rd .state-links h2{color:#fff}
body.rd .footlinks a.foot-ad{color:var(--gold);font-weight:700}

/* ---- responsive ---- */
@media(max-width:1100px){
 body.rd .hero .filters{grid-template-columns:1fr 1fr}
}
@media(max-width:1180px){
 body.rd .nav-add{display:none}
}
@media(max-width:900px){
 body.rd .hero-grid,body.rd .ad-grid,body.rd .state-layout{grid-template-columns:1fr}
 body.rd .hero-visual{min-height:0}
 body.rd #mainNav{background:var(--midnight);border-bottom:1px solid var(--midnight-line)}
 body.rd .nav-panel{background:#fff}
}
@media(max-width:620px){
 body.rd .wrap{width:min(100% - 32px,1240px)}
 body.rd section{padding:56px 0}
 body.rd .hero{padding:44px 0 56px}
 body.rd .hero h1{font-size:2.3rem}
 body.rd .hero .filters{grid-template-columns:1fr}
 body.rd .hero-pick:nth-child(2){margin-left:0}
 body.rd .hero-visual{padding:44px 16px 16px}
 body.rd .tile{font-size:.55rem;border-radius:4px}
 body.rd .tile-map{gap:3px}
 body.rd .topbar-in > span:first-child{display:none}
}
@media(prefers-reduced-motion:reduce){body.rd .hero-pick,body.rd #categoryGrid .cat{transition:none}}
