/* 2026 refinement layer: legibility, sticky navigation and new first-level pages */
body[data-page="home"] .hero {
    overflow: visible !important
}

body[data-page="home"] .hero-bg, body[data-page="home"] .hero:before, body[data-page="home"] .hero:after {
    clip-path: inset(0)
}

body[data-page="home"] .site-header {
    background: linear-gradient(180deg, rgba(0, 31, 69, .9) 0%, rgba(0, 47, 99, .52) 72%, rgba(0, 54, 114, .08) 100%) !important;
    border-bottom-color: rgba(255, 255, 255, .12) !important
}

body[data-page="home"] .site-header.is-scrolled {
    position: fixed !important;
    inset: 0 0 auto !important;
    transform: none !important;
    background: rgba(0, 45, 97, .97) !important;
    box-shadow: 0 10px 32px rgba(0, 27, 59, .24) !important;
    backdrop-filter: blur(14px);
    animation: none !important
}

.hero-trust {
    min-height: 96px !important;
    border: 1px solid rgba(177, 198, 221, .72) !important;
    box-shadow: 0 22px 54px rgba(13, 46, 82, .2), 0 5px 16px rgba(0, 66, 142, .1) !important
}

.trust-icon {
    background: linear-gradient(145deg, #f7fbff, #e1efff) !important;
    border: 1px solid #bad3f0 !important;
    box-shadow: inset 0 0 0 5px #fff, 0 7px 16px rgba(0, 66, 142, .13) !important
}

.trust-item strong {
    line-height: 1.45 !important
}

.trust-item span {
    display: block !important;
    margin-top: 3px !important
}

/* Desktop font audit: body copy and labels remain readable at normal viewing distance. */
@media (min-width: 901px) {
    .nav {
        gap: 20px !important
    }

    .nav a {
        font-size: 14px !important
    }

    .brand {
        width: 285px !important
    }

    .header-inner {
        gap: 26px !important
    }

    .trust-item span, .service-card p, .case-card p, .tag, .visual-card small, .news-card time, .site-footer p, .site-footer li, .site-footer a, .timeline-item p, .honor-card p, .matrix-card p, .flow-card p, .advantage-card p, .system-content p, .system-content li, .solution-card p, .feature, .contact-mini span, .location-card p, .office-card p, .faq-grid p, .consult-card p, .comparison-grid span {
        font-size: 12px !important;
        line-height: 1.65 !important
    }

    .section-heading h2 small, .system-comparison h2 small, .eyebrow {
        font-size: 12px !important
    }

    .image-card .label {
        font-size: 14px !important;
        padding: 11px 14px !important
    }

    .board-label {
        font-size: 15px !important
    }

    .visual-card small {
        font-size: 11px !important;
        letter-spacing: .02em
    }

    .site-footer h4 {
        font-size: 15px !important
    }

    .copyright {
        font-size: 12px !important
    }

    .office-card h3 {
        font-size: 16px !important
    }

    .consult-card .btn {
        font-size: 12px !important
    }
}

/* Homepage video */
.promo-section {
    background: linear-gradient(120deg, #f6f9fd, #eaf2fb);
    border-top: 1px solid #e0eaf4;
    border-bottom: 1px solid #d8e5f1
}

.promo-layout {
    display: grid;
    grid-template-columns:1.35fr .65fr;
    gap: 52px;
    align-items: center
}

.promo-media {
    position: relative;
    display: block;
    min-height: 360px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 22px 45px rgba(12, 48, 86, .17)
}

.promo-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 34, 73, .15), rgba(0, 34, 73, .02)), linear-gradient(180deg, transparent 48%, rgba(0, 31, 67, .58))
}

.promo-media img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform .55s ease
}

.promo-media:hover img {
    transform: scale(1.035)
}

.play-button {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 35px rgba(0, 38, 82, .28)
}

.play-button:before {
    content: "";
    position: absolute;
    left: 35px;
    top: 27px;
    border-left: 23px solid var(--brand);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent
}

.promo-duration {
    position: absolute;
    z-index: 2;
    left: 25px;
    bottom: 20px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em
}

.promo-copy h2 {
    margin: 0 0 16px;
    color: #082e61;
    font-size: 34px
}

.promo-copy p {
    color: #52657b;
    margin: 0 0 22px
}

.promo-points {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 26px
}

.promo-points span {
    padding: 6px 13px;
    background: #fff;
    border: 1px solid #d4e2f0;
    border-radius: 99px;
    color: #194f88;
    font-size: 12px;
    font-weight: 700
}

/* Overseas offices */
.office-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin: 34px 0 18px
}

.office-heading h2 {
    font-size: 26px;
    color: #082e61;
    margin: 0
}

.office-heading .eyebrow {
    margin-bottom: 2px
}

.office-heading p {
    max-width: 540px;
    margin: 0;
    color: var(--muted)
}

.office-title {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line)
}

.office-title .flag {
    line-height: 1
}

.office-title h3 {
    margin: 0 0 3px !important;
    color: #0a3972
}

.office-title b {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    color: #597087;
    font-weight: 600;
    min-height: 32px
}

.map-pin small {
    font-size: 11px !important;
    line-height: 1.35
}

.office-details {
    display: grid;
    gap: 7px;
    margin: 0
}

.office-details div {
    display: grid;
    grid-template-columns:34px 1fr;
    gap: 7px
}

.office-details dt {
    font-size: 12px;
    color: #7b8ca0
}

.office-details dd {
    margin: 0;
    font-size: 12px;
    color: #2e4967;
    overflow-wrap: anywhere
}

.office-details a:hover {
    color: var(--brand)
}

/* New listing pages */
.listing-intro {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 35px;
    align-items: end
}

.listing-intro p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted)
}

.case-filter {
    margin-top: 28px;
    padding: 9px;
    background: #f2f6fb;
    border: 1px solid #dce6f0;
    border-radius: 9px
}

.case-list-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px;
    margin-top: 26px
}

.case-list-card {
    overflow: hidden;
    transition: transform .25s, box-shadow .25s
}

.case-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(22, 60, 99, .13)
}

.case-list-card[hidden] {
    display: none
}

.case-list-card img {
    width: 100%;
    height: 235px;
    object-fit: cover
}

.case-list-card .body {
    padding: 20px
}

.case-list-card h2 {
    font-size: 19px;
    margin: 5px 0 8px;
    color: #0a376d
}

.case-list-card p {
    font-size: 13px;
    margin: 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden
}

.case-list-card .case-meta-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: #587086
}

.case-list-card .text-link {
    font-size: 12px
}

.page-stat-band {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    padding: 28px;
    background: linear-gradient(110deg, #06498f, #002c61);
    color: #fff;
    border-radius: 11px;
    box-shadow: 0 18px 40px rgba(0, 45, 97, .18)
}

.page-stat-band div {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .2)
}

.page-stat-band div:last-child {
    border: 0
}

.page-stat-band b {
    display: block;
    font-size: 30px
}

.page-stat-band span {
    font-size: 12px;
    color: rgba(255, 255, 255, .78)
}

.news-feature {
    display: grid;
    grid-template-columns:1.2fr .8fr;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s
}

.news-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(22, 60, 99, .13)
}

.news-feature img {
    width: 100%;
    height: 380px;
    object-fit: cover
}

.news-feature .body {
    padding: 42px
}

.news-feature time, .news-list-card time {
    color: var(--brand);
    font-size: 12px;
    font-weight: 700
}

.news-feature h2 {
    font-size: 28px;
    line-height: 1.4;
    margin: 15px 0;
    color: #082e61
}

.news-feature p {
    color: var(--muted)
}

.news-list-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px
}

.news-list-card {
    overflow: hidden;
    transition: transform .25s, box-shadow .25s
}

.news-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(22, 60, 99, .13)
}

.news-list-card img {
    width: 100%;
    height: 190px;
    object-fit: cover
}

.news-list-card .body {
    padding: 20px
}

.news-list-card h2 {
    font-size: 18px;
    line-height: 1.55;
    margin: 8px 0 10px;
    color: #0b396f
}

.news-list-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden
}

.career-values {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px
}

.career-value {
    padding: 26px
}

.career-value .icon {
    color: var(--brand);
    width: 36px;
    height: 36px
}

.career-value h3 {
    margin: 12px 0 7px;
    color: #0a3972
}

.career-value p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.jobs-layout {
    display: grid;
    grid-template-columns:300px 1fr;
    gap: 28px;
    align-items: start
}

.jobs-aside {
    position: sticky;
    top: 110px;
    padding: 25px;
    background: linear-gradient(145deg, #06498f, #002c61);
    color: #fff;
    border-radius: 10px
}

.jobs-aside h2 {
    margin: 0 0 10px
}

.jobs-aside p {
    color: rgba(255, 255, 255, .78)
}

.jobs-aside a {
    color: #fff;
    font-weight: 700
}

.job-list {
    display: grid;
    gap: 12px
}

.job-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(22, 60, 99, .05)
}

.job-card summary {
    display: grid;
    grid-template-columns:1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none
}

.job-card summary::-webkit-details-marker {
    display: none
}

.job-card summary h3 {
    margin: 0;
    color: #0a3972
}

.job-card summary span {
    font-size: 12px;
    color: var(--muted)
}

.job-card summary:after {
    content: "+";
    font-size: 25px;
    color: var(--brand)
}

.job-card[open] summary:after {
    content: "−"
}

.job-body {
    padding: 0 24px 24px;
    border-top: 1px solid var(--line)
}

.job-body h4 {
    margin: 18px 0 6px
}

.job-body p, .job-body li {
    font-size: 13px;
    color: #53687e
}

.job-body ul {
    margin: 0;
    padding-left: 20px
}

.sitemap-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px
}

.sitemap-card {
    padding: 25px
}

.sitemap-card h2 {
    font-size: 20px;
    color: #0b3b76;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line)
}

.sitemap-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px
}

.sitemap-card a {
    color: #506880
}

.sitemap-card a:hover {
    color: var(--brand)
}

.pagination a, .pagination span {
    background: #f2f6fb;
    color: #435a70;
    border-radius: 6px
}

.pagination a:hover, .pagination a:focus {
    background: #e8f0fb;
    color: #00428e
}

.pagination .current {
    background: #00428e !important;
    color: #fff !important
}

.contact-mini a {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none
}

.contact-mini a:hover {
    color: var(--brand);
    text-decoration: underline
}

@media (min-width: 901px) and (max-width: 1200px) {
    .nav {
        gap: 10px !important
    }

    .nav a {
        font-size: 12px !important
    }

    .brand {
        width: 216px !important
    }

    .header-inner {
        gap: 16px !important
    }

    .promo-layout {
        gap: 32px
    }

    .case-list-grid, .news-list-grid {
        grid-template-columns:repeat(3, 1fr)
    }

    .office-title b {
        font-size: 11px
    }
}

@media (max-width: 900px) {
    body[data-page="home"] .site-header.is-scrolled {
        height: 72px !important
    }

    .promo-layout, .news-feature, .jobs-layout {
        grid-template-columns:1fr
    }

    .promo-media, .promo-media img {
        min-height: 300px;
        height: 300px
    }

    .jobs-aside {
        position: static
    }

    .case-list-grid, .news-list-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .career-values, .sitemap-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .office-heading {
        align-items: start;
        display: block
    }

    .office-heading p {
        margin-top: 8px
    }

    .page-stat-band {
        grid-template-columns:repeat(2, 1fr);
        gap: 22px
    }

    .page-stat-band div:nth-child(2) {
        border-right: 0
    }
}

@media (max-width: 600px) {
    .promo-layout {
        gap: 28px
    }

    .promo-media, .promo-media img {
        min-height: 230px;
        height: 230px
    }

    .play-button {
        width: 66px;
        height: 66px
    }

    .play-button:before {
        left: 28px;
        top: 21px;
        border-left-width: 18px;
        border-top-width: 12px;
        border-bottom-width: 12px
    }

    .promo-copy h2 {
        font-size: 27px
    }

    .case-list-grid, .news-list-grid, .career-values, .sitemap-grid {
        grid-template-columns:1fr
    }

    .case-list-card img {
        height: 215px
    }

    .news-feature img {
        height: 240px
    }

    .news-feature .body {
        padding: 24px
    }

    .news-feature h2 {
        font-size: 22px
    }

    .job-card summary {
        grid-template-columns:1fr auto;
        padding: 17px
    }

    .job-card summary span {
        display: none
    }

    .job-body {
        padding: 0 17px 20px
    }

    .page-stat-band {
        padding: 22px 12px
    }

    .page-stat-band b {
        font-size: 25px
    }

    .office-title b {
        min-height: 0
    }

    .office-details div {
        grid-template-columns:38px 1fr
    }

    .map-pin span {
        font-size: 11px !important
    }
}

/* Brand VI download cards */
.office-grid.vi-grid{max-width:1260px;margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important}
@media(max-width:800px){.office-grid.vi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.office-grid.vi-grid{grid-template-columns:1fr!important}}
.vi-card{text-align:center;overflow:hidden;border-radius:var(--radius)}
.vi-preview{display:flex;align-items:center;justify-content:center;padding:45px;background:linear-gradient(180deg,#fbfcfe,#f1f5f9);border-bottom:1px solid var(--line)}
.vi-preview img{max-width:100%;height:auto;transition:transform .35s ease}
.vi-card:hover .vi-preview img{transform:scale(1.03)}
.vi-card .body{padding:28px 32px 32px}
.vi-card p{margin:0 0 10px;font-size:13px;color:var(--muted)}
.vi-downloads{display:flex;gap:12px;justify-content:center;margin-bottom:4px}
.vi-downloads .btn{min-width:auto;padding:0 26px;height:44px;font-size:14px}
