/* Ubangui homepage — visual language aligned with Axurion */
.home {
  --home-ink: #07121f;
  --home-ink-2: #0c2032;
  --home-line: rgba(255,255,255,.14);
  --home-paper: #f5f8fb;
  --home-cyan: #00a6d6;
  --home-green: #a7e8b0;
  background: var(--home-ink);
  color: #eaf2f7;
}
.home h1, .home h2, .home h3 { font-family: var(--font-display); letter-spacing: -.04em; }
.home .container { max-width: 1228px; }
.home .eyebrow { color: var(--home-cyan); font-size: 1rem; letter-spacing: .13em; line-height: 1.4; }
.home .eyebrow:before { content: ""; display: inline-block; width: 32px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }
.home .eyebrow.eyebrow-xl { font-size: 1.08rem; letter-spacing: .13em; }
.home .btn { min-height: 52px; border-radius: 0; border-width: 1px; padding: 12px 24px; }
.home .btn:hover { transform: none; box-shadow: none; }
.home .btn-accent { color: var(--home-ink); background: var(--home-cyan); border-color: var(--home-cyan); }
.home .btn-accent:hover { color: var(--home-ink); background: #fff; border-color: #fff; }
.home .btn-outline-dark { color: #eaf2f7; border-color: var(--home-cyan); }
.home .btn-outline-dark:hover { color: #fff; background: rgba(0,166,214,.1); }

.home .site-header { padding: 0; background: rgba(7,18,31,.96); border-bottom: 1px solid var(--home-line); box-shadow: none; }
.home .site-header.scrolled { padding: 0; }
.home .nav-shell { height: 96px; padding: 0 24px; background: transparent; border-radius: 0; box-shadow: none; gap: 20px; }
.home .brand { font-size: 1.485rem; letter-spacing: .13em; text-transform: uppercase; gap: 12px; }
.home .brand img { width: 73px; height: 73px; object-fit: contain; }
.home .nav-links { gap: 20px; }
.home .nav-links a { font-size: calc(.92rem + 5px); font-weight: 500; color: #c9d5de; }
.home .nav-links a.active, .home .nav-links a:hover { color: var(--home-cyan); }
.home .nav-cta { font-size: .86rem; min-height: 42px; padding: 8px 16px; color: var(--home-cyan); background: transparent; border-color: rgba(0,166,214,.55); }
.home .nav-cta:hover { color: #fff; background: rgba(0,166,214,.1); border-color: var(--home-cyan); }

.home .hero { min-height: 690px; display: flex; align-items: center; padding: 105px 0 115px;
  background: radial-gradient(circle at 75% 15%,rgba(46,134,171,.19),transparent 31%),radial-gradient(circle at 73% 80%,rgba(0,166,214,.11),transparent 34%),var(--home-ink); }
.home .hero:before { opacity: .18; background-image: linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to right,transparent 8%,#000 55%); }
.home .hero-grid { display: block; position: relative; }
.home .hero-copy { max-width: 780px; }
.home .hero-copy .eyebrow { font-size: calc(.82rem + 2px); letter-spacing: .18em; color: var(--home-cyan); }
.home .hero h1 { color: #f2f7fa; font-size: clamp(3.6rem,7vw,6.4rem); line-height: .98; font-weight: 800; letter-spacing: -.06em; margin: 24px 0 28px; }
.home .hero h1 .period-cyan { color: var(--home-cyan); }
.home .hero h1 .period-green { color: var(--home-green); }
.home .hero-copy .lead { color: #bdcbd6; font-size: 1.2rem; max-width: 630px; line-height: 1.6; margin: 0; }
.home .hero-actions { margin-top: 40px; }
.home .hero-visual { position: absolute; top: 50%; right: -3%; width: min(53vw,650px); height: auto; min-height: 0; transform: translateY(-46%); border: 0; border-radius: 0; overflow: visible; box-shadow: none; background: none; pointer-events: none; opacity: .9; }
.home .terrain-map { display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 35px rgba(0,0,0,.26)); }

.home section { padding: 108px 0; }
.home .section-navy { background: var(--home-ink); }
.home .section-navy:before { display: none; }
.home .section-head { max-width: none; margin-bottom: 50px; }
.home .section-head h2, .home .news-heading h2, .home #about h2, .home #industries h2 { font-size: clamp(2.4rem,4.4vw,4.25rem); line-height: 1.08; font-weight: 750; letter-spacing: -.045em; }
.home #capabilities .section-head h2 { max-width: 730px; }
.home #capabilities .eyebrow { font-size: calc(1.08rem + 2px); }
.home #capabilities .grid { gap: 0; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--home-line); border-left: 1px solid var(--home-line); }
.home #capabilities .card { display: flex; flex-direction: column; min-height: 290px; padding: 34px; border: 0; border-right: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); border-radius: 0; box-shadow: none; background: transparent; transition: background .25s,transform .25s; }
.home #capabilities .card:before { display: none; }
.home #capabilities .card:hover { background: var(--home-ink-2); transform: translateY(-3px); }
.home #capabilities .card-number { font-size: 3.05rem; line-height: 1; letter-spacing: -.06em; font-weight: 800; color: var(--home-cyan); margin-bottom: 22px; }
.home #capabilities .card h3 { color: #f2f7fa; font-size: 1.42rem; margin-bottom: 12px; letter-spacing: -.02em; }
.home #capabilities .card p { color: #a8b8c7; font-size: 1rem; line-height: 1.65; margin-bottom: 22px; }
.home #capabilities .cap-more-btn { color: var(--home-cyan); margin-top: auto; font-size: .9rem; }
.home #capabilities .cap-more-btn:hover { color: #fff; }

.home #industries { background: var(--home-paper); color: var(--home-ink); }
.home .story-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: start; }
.home #industries .eyebrow { color: #287c78; }
.home #industries .eyebrow, .home #about .eyebrow, .home .home-cta .eyebrow { font-size: calc(1rem + 2px); }
.home #industries h2 { color: var(--home-ink); max-width: 520px; }
.home #industries p { color: #425466; font-size: 1.25rem; line-height: 1.58; padding-top: 38px; }
.home #industries .flow { margin-top: 65px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 18px; border-top: 1px solid #cad5dc; padding-top: 24px; }
.home #industries .flow div { aspect-ratio: auto; border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; align-items: flex-start; text-align: left; gap: 5px; }
.home #industries .flow div:hover { transform: none; }
.home #industries .flow span { color: #0f8580; font-size: 1.2rem; }
.home #industries .flow strong { font-family: var(--font-display); color: #24384a; font-size: .88rem; }
.home #industries .flow i { color: #0f8580; font-size: 1.2rem; align-self: start; }

.home #about { padding: 105px 0; background: #0b1b2b; }
.home #about h2 { color: #f2f7fa; max-width: 600px; }
.home #about p { color: #a8b8c7; font-size: 1.2rem; line-height: 1.62; margin: 42px 0 28px; }
.home #about .two-col { grid-template-columns: 1fr 1fr; gap: 85px; }

.home #insights { background: var(--home-paper); }
.home #insights:before { display: none; }
.home #insights .eyebrow { color: #287c78; }
.home #insights h2 { color: var(--home-ink); }
.home .news-heading { margin-bottom: 48px; }
.home .news-heading > p { color: #425466; font-size: 1.06rem; }
.home .news-card { background: #fff; border-color: #d4dee6; border-radius: 0; box-shadow: none; }
.home .news-card:hover { background: #fff; box-shadow: 0 20px 48px rgba(7,18,31,.12); }
.home .news-card h3 { font-family: var(--font-display); letter-spacing: -.025em; }
.home .announcement-mark { font-family: var(--font-display); }
.home .ubangui-announcement-slot { border-left-color: var(--home-green); }
.home .announcement-label { font-size: calc(.7rem + 2px); }
.home .announcement-label:after { background: var(--home-green); }
.home .news-refresh-note { border-radius: 0; }

.home .home-cta { background: var(--home-cyan); color: var(--home-ink); padding: 95px 0; }
.home .home-cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 55px; }
.home .home-cta .eyebrow, .home .home-cta h2, .home .home-cta p { color: var(--home-ink); }
.home .home-cta .eyebrow:before { background: var(--home-ink); }
.home .home-cta h2 { font-size: clamp(2.5rem,4vw,4rem); line-height: 1.08; max-width: 720px; margin: 12px 0 15px; }
.home .home-cta p { margin: 0; font-size: 1.05rem; }
.home .home-cta .btn { flex: 0 0 auto; color: var(--home-ink); background: transparent; border-color: var(--home-ink); }
.home .home-cta .btn:hover { background: var(--home-ink); color: #fff; }
.home .site-footer { background: var(--home-ink); padding-top: 54px; }
.home .footer-brand img { width: 55px; height: 55px; object-fit: contain; }

.home .cap-modal-backdrop { background: rgba(2,9,16,.82); backdrop-filter: blur(7px); }
.home .cap-modal-box { color: #eaf2f7; background: #081725; border: 1px solid rgba(0,166,214,.36); border-radius: 0; box-shadow: 0 30px 100px rgba(0,0,0,.6); }
.home .cap-modal-box h2 { color: #f2f7fa; border-color: var(--home-line); font-size: clamp(1.7rem,3vw,2.4rem); }
.home .cap-modal-item h3 { color: var(--home-cyan); }
.home .cap-modal-item p { color: #a8b8c7; }
.home .cap-modal-close { color: #eaf2f7; }
.home .cap-modal-close:hover { color: var(--home-cyan); background: var(--home-ink-2); }

@media (max-width: 1079px) {
  .home .nav-shell { border-radius: 0; }
  .home .nav-links { top: 96px; left: 0; right: 0; background: var(--home-ink); border-radius: 0; }
}
@media (max-width: 900px) {
  .home .hero { min-height: 650px; }
  .home .hero-copy { max-width: 670px; }
  .home .hero-visual { opacity: .52; width: 68%; right: -13%; }
  .home .story-intro, .home #about .two-col { grid-template-columns: 1fr; gap: 18px; }
  .home #industries p, .home #about p { padding-top: 0; margin-top: 0; }
}
@media (max-width: 620px) {
  .home .nav-shell { height: 84px; padding: 0 21px; }
  .home .brand { font-size: 1.35rem; }
  .home .brand img { width: 66px; height: 66px; }
  .home .nav-links { top: 84px; }
  .home .hero { min-height: 620px; padding: 85px 0 100px; }
  .home .hero h1 { font-size: clamp(3.3rem,13vw,4.8rem); }
  .home .hero-visual { width: 115%; top: 52%; right: -57%; opacity: .26; }
  .home .hero-copy .lead { font-size: 1.05rem; }
  .home .hero-actions { gap: 12px; }
  .home .hero-actions .btn { width: 100%; justify-content: center; }
  .home section { padding: 78px 0; }
  .home .eyebrow, .home .eyebrow.eyebrow-xl { font-size: .92rem; }
  .home .hero-copy .eyebrow { font-size: calc(.82rem + 2px); }
  .home #capabilities .eyebrow { font-size: calc(.92rem + 2px); }
  .home #industries .eyebrow, .home #about .eyebrow, .home .home-cta .eyebrow { font-size: calc(.92rem + 2px); }
  .home #capabilities .grid { grid-template-columns: 1fr; }
  .home #capabilities .card { min-height: 255px; padding: 27px; }
  .home #industries .flow { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 45px; }
  .home #industries .flow i { display: none; }
  .home #industries .flow div { padding-bottom: 16px; border-bottom: 1px solid #cad5dc; }
  .home #industries p { font-size: 1.08rem; }
  .home .news-heading { gap: 15px; }
  .home .home-cta-grid { align-items: flex-start; flex-direction: column; gap: 28px; }
  .home .home-cta .btn { width: 100%; justify-content: center; }
}
