@charset "UTF-8";

:root {
    --blue: #0754d6;
    --ink: #142b4a;
    --muted: #6d7c8f;
    --line: #dce4ee;
    --bg: #f4f7fb
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 15px;
    line-height: 1.8
}

a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f1aa36;
    outline-offset: 5px
}

.wrap {
    max-width: 1240px;
    width: calc(100% - 100px);
    margin: auto
}

header {
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(35px, calc((100vw - 1320px)/2));
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #edf0f4
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand img {
    width: 48px;
    height: 55px;
    object-fit: contain
}

.brand b {
    font-size: 25px;
    letter-spacing: 3px;
    line-height: 1.4
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px
}

.brand span {
    display: block
}

nav {
    display: flex;
    gap: 33px;
    height: 100%;
    align-items: center
}

nav a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px
}

nav a.active,
nav a:hover {
    color: var(--blue)
}

nav a.active:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: calc(50% - 9px);
    width: 18px;
    height: 2px;
    background: var(--blue)
}

.nav-contact {
    background: var(--blue);
    color: #fff;
    padding: 10px 20px;
    font-size: 13px
}

.nav-contact span {
    margin-left: 20px
}

.menu-toggle {
    display: none
}

.hero {
    position: relative;
    min-height: 625px;
    overflow: hidden;
    background: #edf3fb
}

.hero-image {
    position: absolute;
    inset: 0 0 0 28%;
    background: url('/assets/hero-office.jpg') center 58%/cover
}

.hero:after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #f0f5fb 0%, #eff4faf5 26%, #eaf1f9b8 46%, #dbe7f000 75%)
}

.hero:after {
    background: linear-gradient(90deg, #f0f5fb 0%, #eff4faf5 26%, #eaf1f9b8 46%, #dbe7f000 75%)
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 75px
}

.eyebrow {
    font-size: 11px;
    color: var(--blue);
    letter-spacing: 2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px
}

.eyebrow>span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue)
}

h1 {
    font-size: clamp(40px, 4.4vw, 66px);
    line-height: 1.38;
    letter-spacing: 1px;
    margin: 24px 0 18px;
    font-weight: 650;
    white-space: pre-line
}

h1::first-line {
    color: var(--ink)
}

.hero p {
    color: #61758e;
    font-size: 17px;
    white-space: pre-line;
    line-height: 1.95
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: 32px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 38px;
    padding: 14px 23px;
    border: none
}

.primary {
    background: var(--blue);
    color: white
}

.primary:hover,
.nav-contact:hover {
    background: #003ead
}

.text-link {
    display: inline-flex;
    gap: 25px;
    align-items: center;
    font-size: 14px
}

.text-link:hover {
    color: var(--blue)
}

.hero-note {
    display: flex;
    gap: 60px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #7a8da7;
    margin-top: 62px
}

.hero-index {
    position: absolute;
    bottom: 30px;
    right: 50px;
    z-index: 3;
    color: white;
    font-size: 22px
}

.hero-index span {
    font-size: 11px;
    margin-left: 15px;
    letter-spacing: 1px
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 0;
    border-bottom: 1px solid var(--line)
}

.pillars>div {
    display: grid;
    grid-template-columns: 36px auto;
    padding-left: 26px;
    border-right: 1px solid var(--line)
}

.pillars>div:first-child {
    padding-left: 0
}

.pillars>div:last-child {
    border: 0
}

.pillars span {
    grid-row: span 2;
    font-size: 11px;
    color: #8da3c0;
    margin-top: 4px
}

.pillars b {
    font-weight: 550;
    font-size: 17px
}

.pillars small {
    color: var(--muted);
    font-size: 12px
}

.section {
    padding-top: 95px;
    padding-bottom: 95px
}

.services.section { padding-bottom: 60px }
.team.section { padding-top: 60px }

h2 {
    font-size: 32px;
    line-height: 1.6;
    font-weight: 550;
    letter-spacing: .5px;
    margin: 15px 0 0
}

h2 em {
    font-style: normal;
    color: var(--blue)
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

.about-copy {
    padding-top: 26px
}

.about-copy p {
    color: var(--muted);
    line-height: 2.1;
    margin: 0
}

.about-tags {
    display: flex;
    gap: 28px;
    margin: 23px 0 25px;
    font-size: 12px;
    color: #496b96
}

.about-tags span:before {
    content: "＋";
    margin-right: 5px;
    color: var(--blue)
}

.services,
.news {
    background: var(--bg)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 40px;
    gap: 30px
}

.section-head>p,
.muted {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.service-card {
    border: 1px solid #e5ebf2;
    background: #fff;
    padding: 20px;
    transition: transform .2s, border .2s;
    display: flex;
    flex-direction: column
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #9cb9ee
}

.service-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #94a7c1;
    font-size: 11px;
    letter-spacing: 1px
}

.service-symbol {
    font-size: 24px;
    color: var(--blue);
    font-weight: 300;
    line-height: 1.2
}

.service-card h3 {
    font-size: 20px;
    font-weight: 550;
    line-height: 1.5;
    margin: 12px 0 5px
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 12px
}

.service-card .service-subtitle {
    color: var(--blue);
    font-size: 12px;
    margin-bottom: 10px
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.65
}

.service-features li {
    position: relative;
    padding-left: 11px;
    overflow-wrap: anywhere
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue)
}

.filters {
    display: flex;
    gap: 25px;
    margin-bottom: 30px
}

.filters button {
    border: 0;
    background: none;
    color: var(--muted);
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 2px solid transparent
}

.filters button.selected {
    color: var(--blue);
    border-color: var(--blue)
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

.person {
    border: 0;
    padding: 0;
    text-align: left;
    background: white;
    color: var(--ink)
}

.portrait {
    height: 280px;
    background: linear-gradient(135deg, #f1f4f8, #e1e9f3);
    overflow: hidden
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    transition: transform .4s
}

.person:hover img {
    transform: scale(1.035)
}

.person h3 {
    font-weight: 550;
    font-size: 20px;
    margin: 16px 0 3px;
    display: flex;
    justify-content: space-between
}

.person h3 span {
    color: #94a7c1;
    font-size: 16px
}

.person p {
    margin: 0;
    color: var(--muted);
    font-size: 12px
}

.news-row {
    width: 100%;
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    gap: 30px;
    text-align: left;
    background: white;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 25px;
    color: var(--ink)
}

.news-row time {
    font-size: 12px;
    color: var(--muted)
}

.news-row h3 {
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 500
}

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

.news-empty {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 35px
}

.news-empty>span {
    font-size: 38px;
    color: #9fb4d1;
    font-weight: 300
}

.news-empty h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px
}

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

.contact {
    background: #0b326c;
    color: white;
    padding: 70px 0
}

.contact .eyebrow {
    color: #9bbfee
}

.contact h2 {
    font-size: 38px;
    line-height: 1.5
}

.contact-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px
}

.contact p {
    font-size: 13px;
    color: #a9c2e2;
    margin-top: 22px
}

.contact-info-label {
    font-size: 12px;
    color: #a9c2e2
}

.contact-line {
    display: block;
    font-size: 22px;
    margin: 12px 0
}

.contact-placeholder {
    max-width: 320px;
    border-top: 1px solid #55749d;
    padding-top: 20px
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 32px;
    padding-bottom: 32px;
    font-size: 11px;
    color: var(--muted)
}

.footer-brand {
    font-size: 20px;
    color: var(--ink);
    font-weight: 600
}

.footer-brand small {
    font-weight: 400;
    font-size: 11px;
    margin-left: 15px
}

footer #filing {
    display: block
}

dialog {
    border: 0;
    max-width: 700px;
    width: calc(100% - 36px);
    padding: 55px;
    color: var(--ink);
    max-height: 85vh;
    overflow: auto;
    box-shadow: 0 20px 80px #10274333
}

dialog::backdrop {
    background: #10274388;
    backdrop-filter: blur(3px)
}

.dialog-close {
    position: absolute;
    right: 18px;
    top: 12px;
    background: transparent;
    border: 0;
    font-size: 30px;
    color: var(--muted)
}

dialog h2 {
    font-size: 28px
}

dialog p {
    white-space: pre-line;
    color: var(--muted)
}

dialog li {
    margin-bottom: 10px
}

dialog .source {
    color: var(--blue)
}

.detail-photo {
    height: 200px;
    max-width: 100%;
    background: var(--bg)
}

.skip {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 10px
}

.skip:focus {
    top: 10px
}

#error:not([hidden]) {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 18px;
    background: #fff0ed;
    border: 1px solid #b95039;
    z-index: 50
}

body.modal-open {
    overflow: hidden
}

@media(min-width:1500px) {
    .hero {
        min-height: 690px
    }

    .hero-content {
        padding-top: 100px
    }

    .hero-image {
        background-position: center 56%
    }
}

@media(max-width:1100px) {
    nav {
        gap: 20px
    }

    .wrap {
        width: calc(100% - 64px)
    }

    header {
        padding: 0 28px
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .team-grid {
        gap: 18px
    }

    .portrait {
        height: 235px
    }

    .about {
        gap: 40px
    }

    .about-tags {
        gap: 14px
    }

    .nav-contact {
        padding: 10px 14px
    }

    .brand {
        gap: 8px
    }

    .brand b {
        font-size: 21px
    }

    .brand img {
        width: 38px
    }
}

@media(max-width:760px) {
    header {
        height: 76px;
        padding: 0 22px
    }

    .wrap {
        width: calc(100% - 44px)
    }

    .nav-contact {
        display: none
    }

    .menu-toggle {
        display: block;
        background: none;
        border: 0;
        color: var(--ink);
        font-size: 24px
    }

    nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: white;
        height: auto;
        padding: 20px;
        box-shadow: 0 12px 20px #12274312
    }

    nav.open {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: stretch
    }

    nav a {
        padding: 10px;
        height: auto
    }

    nav a.active:after {
        display: none
    }

    .hero {
        min-height: 680px
    }

    .hero-image {
        inset: 180px 0 0 0;
        background-position: center 62%
    }

    .hero:after {
        background: linear-gradient(180deg, #f0f5fb 0%, #f0f5fbef 35%, #edf3fb88 60%, transparent 90%)
    }

    .hero-content {
        padding-top: 40px
    }

    h1 {
        font-size: 40px;
        margin-top: 22px
    }

    .hero p {
        font-size: 14px
    }

    .hero-actions {
        gap: 20px;
        margin-top: 24px
    }

    .button {
        padding: 11px 16px;
        gap: 15px;
        font-size: 13px
    }

    .text-link {
        font-size: 13px;
        gap: 15px
    }

    .hero-note {
        margin-top: 36px;
        font-size: 8px;
        gap: 25px
    }

    .hero-index {
        right: 22px;
        font-size: 18px;
        bottom: 18px
    }

    .pillars {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
        padding: 25px 0
    }

    .pillars>div {
        padding-left: 16px
    }

    .pillars>div:nth-child(3) {
        padding-left: 0
    }

    .pillars>div:nth-child(2) {
        border: 0
    }

    .pillars b {
        font-size: 16px
    }

    .section {
        padding-top: 58px;
        padding-bottom: 58px
    }

    .services.section { padding-bottom: 36px }
    .team.section { padding-top: 36px }

    .about {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .about-copy {
        padding: 0
    }

    h2 {
        font-size: 27px
    }

    .section-head {
        display: block;
        margin-bottom: 25px
    }

    .section-head>p {
        margin-top: 12px
    }

    .service-grid {
        gap: 10px
    }

    .service-card {
        padding: 12px
    }

    .service-card h3 {
        font-size: 17px;
        margin: 8px 0 4px
    }

    .service-card p {
        font-size: 12px;
        line-height: 1.7;
        margin: 0 0 10px
    }

    .service-card .service-subtitle {
        font-size: 11px;
        margin-bottom: 8px
    }

    .service-features {
        grid-template-columns: 1fr;
        gap: 4px;
        font-size: 11px;
        margin-bottom: 0
    }

    .service-symbol {
        font-size: 23px
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 16px
    }

    .portrait {
        height: 240px
    }

    .person h3 {
        font-size: 18px
    }

    .person p {
        font-size: 11px
    }

    .filters {
        gap: 20px
    }

    .news-row {
        grid-template-columns: 1fr 25px;
        gap: 8px;
        padding: 20px
    }

    .news-row time {
        grid-column: span 2
    }

    .news-row h3 {
        font-size: 17px
    }

    .contact {
        padding: 45px 0
    }

    .contact-main {
        display: block
    }

    .contact h2 {
        font-size: 31px
    }

    .contact-placeholder {
        margin-top: 30px
    }

    .contact-line {
        font-size: 19px
    }

    footer {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 15px
    }

    .footer-brand {
        width: 100%
    }

    dialog {
        padding: 45px 25px
    }

    .news-empty {
        gap: 20px
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px
    }
}

@media(max-width:380px) {
    .portrait {
        height: 200px
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-features {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .filters {
        gap: 14px
    }

    h1 {
        font-size: 35px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}
