/* v1.5 public-facing visual refresh: brighter, clearer and more editorial. */
body:not(.admin-body) .site-header{box-shadow:0 8px 28px rgba(22,65,112,.045);border-bottom-color:#edf2f8}
body:not(.admin-body) .main-nav .nav-cta{background:linear-gradient(110deg,#1769dc,#11a9c6);box-shadow:0 9px 22px rgba(17,102,222,.16);border-radius:999px;padding:12px 21px}
body:not(.admin-body) .hero-slider{background:radial-gradient(ellipse at 82% 40%,rgba(42,184,223,.15),transparent 34%),radial-gradient(ellipse at 4% 0%,rgba(54,126,236,.08),transparent 35%),linear-gradient(120deg,#fbfdff 0%,#f1f7ff 55%,#f7fcff 100%);color:var(--ink);padding-bottom:24px;overflow:hidden}
body:not(.admin-body) .hero-slider:after{opacity:.52;background-image:linear-gradient(rgba(53,111,177,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(53,111,177,.055) 1px,transparent 1px);mask-image:linear-gradient(90deg,#000,transparent 88%)}
body:not(.admin-body) .hero-slide-backdrop{background:radial-gradient(circle at 83% 50%,rgba(32,166,223,.11),transparent 30%)}
body:not(.admin-body) .hero-eyebrow{color:#1668c8}
body:not(.admin-body) .hero-eyebrow i{background:#19b9ce;box-shadow:0 0 0 6px rgba(25,185,206,.12)}
body:not(.admin-body) .hero-slide h1{color:#102a4b;text-shadow:none}
body:not(.admin-body) .hero-slide h1 em{color:#147bd5}
body:not(.admin-body) .hero-slide-copy>p{color:#61748c}
body:not(.admin-body) .hero-slide .btn-primary{background:linear-gradient(110deg,#1768db,#10a9c6);box-shadow:0 13px 28px rgba(20,119,208,.20)}
body:not(.admin-body) .hero-slide .btn-glass{color:#16406a;border:1px solid #cfdeed;background:rgba(255,255,255,.78);backdrop-filter:blur(8px)}
body:not(.admin-body) .hero-slide .btn-glass:hover{background:#fff;border-color:#9fc0e2}
body:not(.admin-body) .hero-trustline{color:#71859c}
body:not(.admin-body) .hero-slide-visual{min-height:435px;padding:16px;border-radius:30px;border:1px solid rgba(255,255,255,.9);background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(231,244,255,.84));box-shadow:0 28px 75px rgba(31,92,150,.12);isolation:isolate}
body:not(.admin-body) .hero-slide-visual:before{width:76%;height:76%;border-color:rgba(30,139,208,.17);box-shadow:0 0 0 26px rgba(37,155,207,.035),0 0 0 54px rgba(37,155,207,.025)}
body:not(.admin-body) .hero-slide-visual img{max-height:390px;filter:drop-shadow(0 18px 35px rgba(4,28,59,.18))}
body:not(.admin-body) .visual-halo{background:rgba(37,167,218,.15)}
body:not(.admin-body) .visual-float{box-shadow:0 16px 38px rgba(27,72,120,.15);border-color:#e6eff8}
body:not(.admin-body) .slider-arrows button{background:#fff;border-color:#dce8f4;color:#1a568f;box-shadow:0 5px 14px rgba(26,73,124,.08)}
body:not(.admin-body) .slider-arrows button:hover{background:#176bdc;border-color:#176bdc;color:#fff}
body:not(.admin-body) .slider-dots button{background:#bfd0e2}
body:not(.admin-body) .slider-dots button.is-active{background:#147dd1}
body:not(.admin-body) .slider-count{color:#8094aa}
body:not(.admin-body) .slider-count b{color:#17416f}
body:not(.admin-body) .slider-count i{color:#9bb0c5}
body:not(.admin-body) .hero-bottom{color:#7890aa}
body:not(.admin-body) .hero-bottom-line{background:#d6e4f1}
body:not(.admin-body) .intro-ribbon{background:#fff;border-bottom:1px solid #e9f0f7}
body:not(.admin-body) .intro-ribbon-inner{min-height:86px}
body:not(.admin-body) .section{padding-top:92px;padding-bottom:92px}
body:not(.admin-body) .section-heading h2{color:#132e50}
body:not(.admin-body) .service-card,body:not(.admin-body) .project-card,body:not(.admin-body) .team-card{box-shadow:0 12px 34px rgba(26,69,116,.055)}
body:not(.admin-body) .service-card:hover,body:not(.admin-body) .project-card:hover,body:not(.admin-body) .team-card:hover{box-shadow:0 22px 48px rgba(26,69,116,.11)}
body:not(.admin-body) .project-visual{background:linear-gradient(135deg,#eaf3ff,#e2f7fa)}
body:not(.admin-body) .section-partners{background:linear-gradient(135deg,#f5f9ff,#edf7fb);border-top:1px solid #e9f1f8;border-bottom:1px solid #e9f1f8}
body:not(.admin-body) .partner-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body:not(.admin-body) .partner-item{min-height:116px;background:#fff;border:1px solid #e5edf6;border-radius:16px;color:#284563;box-shadow:0 9px 25px rgba(24,67,114,.045)}
body:not(.admin-body) .partner-item img{max-width:150px;max-height:52px;filter:none;opacity:1}
body:not(.admin-body) .partner-item:hover{background:#fff;box-shadow:0 15px 32px rgba(24,67,114,.09)}
body:not(.admin-body) .page-hero{background:radial-gradient(ellipse at 85% 10%,rgba(25,175,211,.13),transparent 35%),linear-gradient(115deg,#f8fbff,#eef6ff 58%,#f7fcff);border-bottom:1px solid #e8f0f8;color:var(--ink);position:relative;overflow:hidden}
body:not(.admin-body) .page-hero:after{content:"";position:absolute;right:7%;top:18%;width:190px;height:190px;border:1px solid rgba(27,124,206,.12);border-radius:50%;box-shadow:0 0 0 26px rgba(27,124,206,.025),0 0 0 52px rgba(27,124,206,.02);pointer-events:none}
body:not(.admin-body) .page-hero h1{color:#102a4b;position:relative;z-index:1}
body:not(.admin-body) .page-hero h1 em{color:#147bd5}
body:not(.admin-body) .page-hero p{color:#61748c;position:relative;z-index:1}
body:not(.admin-body) .page-hero .eyebrow{color:#176bc8}
body:not(.admin-body) .site-footer{background:linear-gradient(180deg,#f8fbff,#f0f5fb);color:#526982;border-top:1px solid #e5edf6;padding-top:64px}
body:not(.admin-body) .footer-brand .brand-name strong{color:#123154}
body:not(.admin-body) .footer-brand .brand-name small{color:#66829e}
body:not(.admin-body) .footer-about p{color:#627a94}
body:not(.admin-body) .footer-links strong{color:#183a5f}
body:not(.admin-body) .footer-links a,body:not(.admin-body) .footer-address{color:#5e7791}
body:not(.admin-body) .footer-links a:hover{color:#126ed0}
body:not(.admin-body) .footer-bottom{border-top-color:#dce7f2;color:#71859a}
body:not(.admin-body) .footer-about .social-links a{color:#365b7d;border-color:#d5e2ef}
body:not(.admin-body) .team-grid-home{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body:not(.admin-body) .team-card{border-color:#e3ebf4;border-radius:18px;transition:transform .22s,box-shadow .22s}
body:not(.admin-body) .team-card:hover{transform:translateY(-5px)}
body:not(.admin-body) .team-photo-wrap{width:100%;aspect-ratio:7/9;height:auto;overflow:hidden;background:linear-gradient(135deg,#e7f1ff,#e6f8fa);position:relative}
body:not(.admin-body) .team-photo-wrap>img{display:block;height:100%;width:100%;object-fit:cover;object-position:center 22%;transition:transform .5s}
body:not(.admin-body) .team-photo-wrap>.team-placeholder{width:100%;height:100%;min-height:0;display:block;overflow:hidden}
body:not(.admin-body) .team-photo-wrap>.team-placeholder img{width:100%;height:100%;object-fit:cover;object-position:center top}
body:not(.admin-body) .team-card:hover .team-photo-wrap>img{transform:scale(1.04)}
body:not(.admin-body) .team-card-body{padding:21px}
body:not(.admin-body) .team-card-body h3{margin-bottom:8px}
body:not(.admin-body) .team-card-body>span{display:inline-block;color:#1472cb;background:#edf6ff;border-radius:999px;padding:5px 10px;font-size:10px}
body:not(.admin-body) .team-card-body p{line-height:1.75;color:#6a7e94}
body:not(.admin-body) .team-profile-link{font-size:11px}
body:not(.admin-body) .team-links{display:flex;gap:15px;flex-wrap:wrap;margin-top:14px}
body:not(.admin-body) .cta-section{background:linear-gradient(110deg,#1769d8,#08a8c5);border-radius:0}
body:not(.admin-body) .cta-section .eyebrow{color:#d7fbff}
body:not(.admin-body) .cta-section h2{color:#fff}
body:not(.admin-body) .cta-section .btn-white{border-radius:999px;box-shadow:0 12px 28px rgba(4,55,105,.17)}
body:not(.admin-body) .content-prose{color:#526a84;line-height:1.9}
body:not(.admin-body) .content-prose h2,body:not(.admin-body) .content-prose h3{margin:28px 0 12px}
@media(max-width:1000px){body:not(.admin-body) .team-grid-home{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.admin-body) .hero-slide-visual{min-height:360px}body:not(.admin-body) .hero-slide-visual img{max-height:320px}}
@media(max-width:760px){body:not(.admin-body) .hero-slider{padding-bottom:17px}body:not(.admin-body) .hero-slide-visual{min-height:260px;border-radius:22px;padding:10px;margin:10px 0 0}body:not(.admin-body) .hero-slide-visual img{max-height:245px}body:not(.admin-body) .hero-slide-visual:before{width:72%;height:72%}body:not(.admin-body) .section{padding-top:70px;padding-bottom:70px}body:not(.admin-body) .partner-strip{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.admin-body) .team-grid-home{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.admin-body) .site-footer{padding-top:48px}}
@media(max-width:480px){body:not(.admin-body) .team-grid-home{grid-template-columns:1fr}body:not(.admin-body) .team-photo-wrap{height:auto;aspect-ratio:7/9}body:not(.admin-body) .partner-item{min-height:92px;padding:13px}body:not(.admin-body) .page-hero{padding:62px 0 54px}}


/* Project category filtering: interactive, responsive and public-page only. */
body:not(.admin-body) .project-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}
body:not(.admin-body) .project-filter{appearance:none;border:1px solid #d9e5f1;border-radius:999px;background:#fff;color:#47617c;padding:10px 17px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s,color .2s,box-shadow .2s}
body:not(.admin-body) .project-filter:hover{border-color:#8bb8e6;color:#1769c8}
body:not(.admin-body) .project-filter.is-active{border-color:#176bd8;background:linear-gradient(110deg,#1769dc,#12a5c4);color:#fff;box-shadow:0 8px 20px rgba(23,105,216,.18)}
body:not(.admin-body) .project-card[hidden]{display:none!important}
body:not(.admin-body) .project-client,body:not(.admin-body) .project-detail-client{display:block;margin:8px 0;color:#6d8298;font-size:11px;font-weight:700}
@media(max-width:600px){body:not(.admin-body) .project-filter-bar{gap:7px}body:not(.admin-body) .project-filter{padding:9px 13px;font-size:11px}}

/* Final photo treatment and neutral management profile placeholders. */
body:not(.admin-body) .hero-slide-visual{overflow:visible}
body:not(.admin-body) .hero-slide-visual img{width:100%;height:380px;max-height:380px;object-fit:cover;border-radius:22px;filter:drop-shadow(0 18px 32px rgba(13,57,105,.16))}
body:not(.admin-body) .team-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#edf5ff,#e6f8fa)}
body:not(.admin-body) .team-placeholder img{width:100%;height:100%;object-fit:cover;opacity:.92}
body:not(.admin-body) .footer-subhead{display:block;margin-top:18px}
@media(max-width:760px){body:not(.admin-body) .hero-slide-visual img{height:250px;max-height:250px}}


/* v1.5.4 — Public website readability / contrast refinement.
   Scoped to the public-facing website; no Admin Panel rules are changed. */
body:not(.admin-body) {
    color-scheme: light;
    color: #304861;
}

/* Homepage hero / slider */
body:not(.admin-body) .hero-slider { color: #263f59; }
body:not(.admin-body) .hero-slide-copy .hero-eyebrow {
    color: #155b9f !important;
}
body:not(.admin-body) .hero-slide-copy h1 {
    color: #102b4b !important;
    text-shadow: none !important;
}
body:not(.admin-body) .hero-slide-copy h1 em {
    color: #1266b5 !important;
}
body:not(.admin-body) .hero-slide-copy > p {
    color: #405a74 !important;
}
body:not(.admin-body) .hero-slide-copy .hero-trustline {
    color: #536b83 !important;
}
body:not(.admin-body) .hero-slide-copy .btn-glass {
    color: #153e67 !important;
    background: rgba(255,255,255,.94) !important;
    border-color: #b9cde1 !important;
}

/* Intro ribbon and ordinary content sections */
body:not(.admin-body) .intro-ribbon-inner {
    color: #38516b !important;
}
body:not(.admin-body) .intro-ribbon-inner > b {
    color: #173755 !important;
}
body:not(.admin-body) .section-heading h2 {
    color: #142f50 !important;
}
body:not(.admin-body) .section-heading .eyebrow {
    color: #155eaa !important;
}
body:not(.admin-body) .section-heading .text-link,
body:not(.admin-body) .text-link {
    color: #075eae;
}

/* Service, portfolio and team cards */
body:not(.admin-body) .service-card h3,
body:not(.admin-body) .project-info h3,
body:not(.admin-body) .project-info h3 a,
body:not(.admin-body) .team-card-body h3 {
    color: #183653 !important;
}
body:not(.admin-body) .service-card p,
body:not(.admin-body) .service-detail,
body:not(.admin-body) .project-info p,
body:not(.admin-body) .project-info > span,
body:not(.admin-body) .project-client,
body:not(.admin-body) .team-card-body p {
    color: #4c637b !important;
}
body:not(.admin-body) .team-card-body > span {
    color: #115b9f !important;
    background: #eaf4ff !important;
}
body:not(.admin-body) .partner-item {
    color: #294762 !important;
}

/* Secondary page hero and readable body copy */
body:not(.admin-body) .page-hero h1 {
    color: #102b4b !important;
}
body:not(.admin-body) .page-hero h1 em {
    color: #1266b5 !important;
}
body:not(.admin-body) .page-hero p {
    color: #405a74 !important;
}
body:not(.admin-body) .page-hero .eyebrow {
    color: #155eaa !important;
}
body:not(.admin-body) .content-prose {
    color: #405870 !important;
}
body:not(.admin-body) .content-prose h2,
body:not(.admin-body) .content-prose h3 {
    color: #173653 !important;
}

/* Keep deliberately white text on the blue/cyan call-to-action section. */
body:not(.admin-body) .cta-section,
body:not(.admin-body) .cta-section h2,
body:not(.admin-body) .cta-section .eyebrow {
    color: #ffffff !important;
}


/* v1.5.5 — Homepage hero slider: dark background with high-contrast white text.
   The remaining landing-page sections keep their existing light theme. */
body:not(.admin-body) .hero-slider {
    background: linear-gradient(115deg, #07172e 0%, #0a2342 56%, #0a3150 100%) !important;
    color: #ffffff !important;
}
body:not(.admin-body) .hero-slider:before {
    background: radial-gradient(ellipse at 83% 38%, rgba(25,146,222,.23), transparent 35%),
                radial-gradient(ellipse at 12% 5%, rgba(40,112,226,.23), transparent 35%),
                linear-gradient(120deg, #07172e 0%, #0a2342 56%, #0a3150 100%) !important;
}
body:not(.admin-body) .hero-slider .hero-slide-copy .hero-eyebrow {
    color: #b9f5fb !important;
}
body:not(.admin-body) .hero-slider .hero-slide-copy h1,
body:not(.admin-body) .hero-slider .hero-slide-copy h1 * {
    color: #ffffff !important;
    text-shadow: none !important;
}
body:not(.admin-body) .hero-slider .hero-slide-copy h1 em {
    color: #70e5ef !important;
}
body:not(.admin-body) .hero-slider .hero-slide-copy > p {
    color: #dce9f7 !important;
}
body:not(.admin-body) .hero-slider .hero-slide-copy .hero-trustline {
    color: #b8cde2 !important;
}
body:not(.admin-body) .hero-slider .hero-slide .btn-glass {
    color: #ffffff !important;
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(220,239,255,.42) !important;
}
body:not(.admin-body) .hero-slider .hero-slide .btn-glass:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,.16) !important;
}
body:not(.admin-body) .hero-slider .hero-bottom {
    color: #b8cde2 !important;
}
body:not(.admin-body) .hero-slider .hero-bottom-line {
    background: rgba(220,239,255,.28) !important;
}
body:not(.admin-body) .hero-slider .slider-count {
    color: #b8cde2 !important;
}
body:not(.admin-body) .hero-slider .slider-count b {
    color: #ffffff !important;
}
body:not(.admin-body) .hero-slider .slider-count i {
    color: #8aa9c7 !important;
}
