
/* AWP Portal v1.1 — unified navigation and readability system */
.awp-global-nav { background: rgba(255,255,255,.99) !important; padding: 10px 0 !important; min-height: 78px; z-index: 1030; }
.awp-global-nav .awp-nav-brand { display:flex; align-items:center; min-width:180px; }
.awp-global-nav .awp-nav-brand img { display:block; width:190px; max-height:55px; object-fit:contain; }
.awp-global-nav .navbar-nav { gap: 2px; }
.awp-global-nav .nav-link { color:#17364b !important; font-size:14px !important; font-weight:600 !important; line-height:1.45; padding:12px 11px !important; white-space:nowrap; }
.awp-global-nav .nav-link:hover,
.awp-global-nav .nav-link.active { color:#087e69 !important; }
.awp-global-nav .dropdown-menu { min-width:245px; padding:8px; border:1px solid #dce7eb; border-radius:9px; }
.awp-global-nav .dropdown-item { color:#17364b; font-size:14px !important; line-height:1.45; padding:10px 12px; border-radius:5px; white-space:normal; }
.awp-global-nav .dropdown-item:hover,
.awp-global-nav .dropdown-item.active { color:#087e69; background:#eaf6f2; }
.awp-global-nav .btn-awp { font-size:13px !important; padding:10px 15px; white-space:nowrap; }
@media(max-width:1199px) {
 .awp-global-nav .nav-link { font-size:13px !important; padding:10px 8px !important; }
 .awp-global-nav .awp-nav-brand img { width:165px; }
}
@media(max-width:991px) {
 .awp-global-nav .navbar-collapse { background:#ffffff; padding:12px 15px 18px; margin-top:10px; border:1px solid #dce7eb; border-radius:9px; max-height:calc(100vh - 95px); overflow-y:auto; }
 .awp-global-nav .navbar-nav { align-items:stretch !important; }
 .awp-global-nav .nav-link { padding:11px 8px !important; }
 .awp-global-nav .dropdown-menu { background:#f7fafb; border-color:#dce7eb; margin:3px 0 8px; }
 .awp-global-nav .dropdown-item { color:#17364b; }
 .awp-global-nav .dropdown-item:hover,.awp-global-nav .dropdown-item.active { color:#087e69; background:#eaf6f2; }
 .awp-global-nav .btn-awp { display:inline-block; margin-top:8px; }
}

/* Global readable type scale; retain existing hierarchy and layouts. */
body { font-size:16px; line-height:1.65; }
.section-intro { font-size:16px !important; line-height:1.8 !important; color:#526b7a !important; }
.hero-copy,.hero p,.page-hero p { font-size:16px !important; line-height:1.8 !important; }
.hero-copy,.hero p,.page-hero p,.dark-section p,.dark-section li { color:#d2e1e8; opacity:1; }
.eyebrow,.section-kicker { font-size:12px !important; line-height:1.5; }
.trustline { font-size:12px !important; line-height:1.6; }
.hero-tags span { font-size:13px !important; line-height:1.5; color:#e0edf1 !important; }
.principles b { font-size:14px !important; }
.cap-card h3 { font-size:16px !important; line-height:1.45; }
.cap-card p { font-size:14px !important; line-height:1.7 !important; color:#526b7a !important; }
.dark-copy { font-size:15px !important; line-height:1.8 !important; color:#d0dfe6 !important; }
.entity-grid b { font-size:14px !important; }
.entity-grid span { font-size:13px !important; line-height:1.6; color:#c6d7df !important; }
.model-note { font-size:13px !important; line-height:1.75; }
.industry-card small { font-size:12px !important; }
.industry-card p { font-size:14px !important; line-height:1.75 !important; }
.industry-card>b { font-size:13px !important; }
.sovereignty-list b { font-size:15px !important; }
.sovereignty-list small { font-size:14px !important; line-height:1.7 !important; }
.shift-head { font-size:12px !important; }
.shift-row span,.shift-row b { font-size:14px !important; line-height:1.6; }
.cta-panel p { font-size:14px !important; line-height:1.75; }
footer h6 { font-size:12px !important; }
footer a:not(.footer-logo),.foot-muted,.footer-strap { font-size:13px !important; line-height:1.7 !important; }
.foot-bottom { font-size:11px !important; }

/* Architecture diagram and technology rows */
.arch-workspace small { font-size:12px !important; }
.arch-workspace b,.arch-workspace>span { font-size:13px !important; line-height:1.5; }
.arch-layer { grid-template-columns:minmax(170px,220px) minmax(0,1fr); }
.arch-label strong,.arch-title { font-size:14px !important; line-height:1.5; }
.arch-content p { font-size:13px !important; line-height:1.7 !important; color:#526b7a !important; }
.governance-rail h3 { font-size:15px !important; }
.governance-rail>div:not(.rail-icon) { font-size:13px !important; line-height:1.5; }
.architecture-note p { font-size:14px !important; line-height:1.7; }
.tech-row>b,.tech-row strong { font-size:14px !important; line-height:1.5; }
.tech-row p { font-size:14px !important; line-height:1.7 !important; color:#d0dfe6 !important; }
.execution-flow b,.investigation-steps small { font-size:13px !important; }
.execution-flow span,.investigation-steps b { font-size:14px !important; line-height:1.55; }

/* Workforce lifecycle, modules and process descriptions */
.journey-step p,.journey-step small,.journey-step li { font-size:14px !important; line-height:1.75 !important; }
.journey-step h3,.journey-step strong { font-size:16px !important; line-height:1.5; }
.module-card p,.module-grid p,.module-card small { font-size:14px !important; line-height:1.7 !important; }
.module-card h3,.module-grid h3 { font-size:17px !important; line-height:1.45; }

/* Industry-specific component text, with background-aware contrast. */
.industry-page .page-hero p { color:#d4e2e9 !important; font-size:16px !important; opacity:1 !important; }
.industry-page .domain-card p,.industry-page .data-grid p,
.industry-page .industry-flow small,.industry-page .maturity-panel p,
.industry-page .maturity-panel .note { color:#40596a !important; font-size:14px !important; line-height:1.75 !important; opacity:1 !important; }
.industry-page .domain-card h3 { font-size:18px !important; }
.industry-page .domain-card>b { font-size:13px !important; }
.industry-page .domain-card>small { font-size:13px !important; }
.industry-page .control-grid b { font-size:16px !important; }
.industry-page .control-grid small { color:#d4e2e9 !important; font-size:14px !important; line-height:1.75 !important; opacity:1 !important; }
.industry-page .dark-section p,.industry-page .dark-section small { color:#d4e2e9 !important; opacity:1 !important; }
.industry-page .dark-section .control-grid>div { background:#173b55; border-color:#3b5c72; }
.industry-page .industry-flow strong { font-size:16px !important; }
.industry-page .maturity-panel .note { font-size:14px !important; }

/* Prevent cramped diagram layouts on smaller screens. */
@media(max-width:767px) {
 .architecture-shell { grid-template-columns:1fr; }
 .arch-layer { grid-template-columns:1fr; }
 .execution-flow,.investigation-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .capability-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .cap-card.wide { grid-column:span 2; }
 .tech-row { grid-template-columns:1fr; }
}
@media(max-width:575px) {
 .execution-flow,.investigation-steps,.capability-grid { grid-template-columns:1fr; }
 .cap-card.wide { grid-column:span 1; }
 .journey-step { grid-template-columns:32px 1fr; }
 .journey-step>:nth-child(2) { display:none; }
 .page-hero { padding-top:125px; }
 .page-hero h1 { font-size:clamp(36px,10vw,48px) !important; }
}
