:root {
    color-scheme: light;
    --ink: #181818;
    --muted: #535353;
    --red: #c8102e;
    --red-hover: #a30e26;
    --soft: #f3f3f3;
    --white: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 16px/1.75 "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.33; font-weight: 400; }
h2 { font-size: clamp(25px, 2.6vw, 34px); }
h3 { font-size: 21px; }
p { color: var(--muted); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(1260px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: 8px; left: 8px; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { background: var(--white); }
.home-page .site-header {
    position: absolute;
    z-index: 2;
    inset: 0 0 auto;
    color: var(--white);
    background: linear-gradient(#111e, #1110);
}
.home-page .site-header .brand img, .site-footer .brand img { filter: brightness(0) invert(1); }
.home-page .site-header nav a:hover, .home-page .site-header nav a[aria-current] { color: var(--white); }
.home-page .header-cta { color: var(--white); border-color: #ffffff85; background: #17171742; }
.home-page .header-cta:hover { border-color: var(--white); background: #ffffff20; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 80px; gap: 16px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 175px; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(9px, 2.6vw, 40px); }
.site-header nav a { position: relative; display: flex; align-items: center; min-height: 46px; padding-inline: 4px; font-size: 17px; font-weight: 400; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--red); }
.site-header nav a[aria-current]::after { content: ""; position: absolute; inset: auto 4px 1px; height: 2px; background: var(--red); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 9px 19px; border: 1px solid transparent; border-radius: 4px; background: var(--red); color: var(--white); font-size: 15px; font-weight: 400; cursor: pointer; transition: background-color .18s, border-color .18s; }
.button:hover { background: var(--red-hover); }
.button-outline { border-color: #d2d2d2; background: var(--white); color: var(--ink); }
.button-outline:hover { border-color: var(--red); background: var(--white); color: var(--red); }
.header-cta { min-height: 42px; white-space: nowrap; }
.header-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.language-control { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.language-control a[aria-current] { color: var(--red); }
.language-control a + a { border: 0; border-left: 1px solid #d8d8d8; background: transparent; color: var(--muted); padding: 2px 0 2px 8px; cursor: pointer; }
.home-page .language-control a[aria-current] { color: var(--white); }
.home-page .language-control a + a { color: #c4c4c4; border-color: #ffffff55; }
.language-control a[aria-current="true"] { color: var(--red); }
.home-page .language-control a[aria-current="true"] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #181818; color: var(--white); }
.hero-image, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; background: linear-gradient(90deg, #111 0%, #111e 27%, #1118 54%, #1111 100%), linear-gradient(0deg, #1119, transparent 24%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(460px, 58svh, 550px); padding-block: 112px 75px; }
.hero-content { max-width: 570px; }
.hero h1 { font-size: clamp(36px, 3.75vw, 53px); line-height: 1.26; }
.hero-description { margin-top: 22px; max-width: 370px; color: #e4e4e4; font-size: 17px; }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; color: #f5f5f5; font-size: 14px; font-weight: 400; letter-spacing: .08em; margin-bottom: 16px; }
.hero-tag::before { content: ""; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.hero h1 span { color: #d9d9d9; }
.hero-secondary { background: #1818184d; border-color: #ffffff8c; }
.hero-secondary:hover { background: #ffffff1f; border-color: var(--white); }
.hero-caption { position: absolute; inset: auto 0 23px; color: #dedede; font-size: 13px; letter-spacing: .05em; }
.hero-caption span { padding-inline: 7px; color: #b6b6b6; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding-block: clamp(42px, 5.9vw, 85px); }
.soft, .news-section { background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 30px; }
.section-description { margin-top: 8px; max-width: 42ch; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 15px; font-weight: 400; white-space: nowrap; }
a.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.card { min-width: 0; padding: clamp(20px, 2.4vw, 32px); background: var(--soft); border-radius: 5px; }
.soft .card { background: var(--white); }
.service { display: flex; flex-direction: column; align-items: flex-start; }
.card p { margin-top: 10px; }
.card .text-link { margin-top: auto; padding-top: 19px; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 15px; border-radius: 4px; color: #424242; background: #e8e8e8; }
.feature-icon { width: 28px; height: 28px; filter: grayscale(1); }
.arrow { width: 18px; height: 18px; flex: none; }
.arrow-back { transform: rotate(180deg); }
.media-card { padding: 0; overflow: hidden; transition: box-shadow .2s; }
.media-card:hover { box-shadow: 0 10px 28px #15151514; }
.media-card-image { overflow: hidden; width: 100%; aspect-ratio: 16/10; background: #e6e6e6; }
.media-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform .35s ease, filter .25s ease; }
.media-card:hover img { transform: scale(1.035); filter: saturate(1); }
.media-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; width: 100%; padding: clamp(18px, 2.2vw, 27px); }
.media-card time { margin-bottom: 9px; font-size: 13px; }
.media-card-text { min-height: 220px; }
.news-section .media-card { background: var(--white); }
.news-grid .media-card:hover h3 { color: var(--red); }
time { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }

.about-section { position: relative; isolation: isolate; overflow: hidden; background: #202020; color: var(--white); }
.about-backdrop { position: absolute; z-index: -2; inset: 0; width: 70%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.65); }
.about-section .about-feature { display: flex; justify-content: flex-end; align-items: center; min-height: 270px; }


.about-section::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #15151508 15%, #1515151f 35%, #151515e8 61%, #202020 70%), linear-gradient(0deg, #1118, transparent 23%); }

.about-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 6vw, 86px); align-items: center; }
.about-feature > * { min-width: 0; }
.about-copy { position: relative; max-width: 430px; }
.about-copy h2 + p { margin-top: 16px; }
.about-copy .text-link { margin-top: 20px; }
.about-section .about-copy > p:not(.section-index) { color: #e6e6e6; }
.about-section .section-index, .about-section .text-link { color: #ff8396; }



.inquiry-band { position: relative; isolation: isolate; overflow: hidden; background: #282828; color: var(--white); }
.inquiry-image, .inquiry-band::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.inquiry-image { z-index: -2; object-fit: cover; object-position: center 55%; }
.inquiry-band::before { content: ""; z-index: -1; background: linear-gradient(90deg, #151515f5 0%, #151515db 40%, #15151550 100%); }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 245px; padding-block: clamp(35px, 5vw, 70px); }
.band-inner h2 { font-size: clamp(23px, 2.4vw, 32px); }
.band-inner p { margin-top: 8px; color: var(--white); }
.band-inner .button { flex: none; }
.site-footer { background: #141414; color: var(--white); padding: 46px 0 21px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr .85fr; align-items: start; gap: 30px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 15px; }
.site-footer nav strong { grid-column: 1 / -1; margin-bottom: 5px; }
.site-footer nav a, .site-footer p, .copyright { color: #c5c5c5; }
.site-footer p { margin-top: 9px; font-size: 15px; }
.site-footer nav a:hover, .footer-contact .text-link { color: #ff8a9c; }
.footer-contact .text-link { margin-top: 10px; }
.copyright { margin-top: 32px; padding-top: 18px; border-top: 1px solid #ffffff24; font-size: 13px; }

.article { max-width: 820px; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2, .prose h3 { margin-block: 1em .5em; }
.prose a:not(.button) { color: var(--red); text-decoration: underline; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; }
.pagination li > * { display: block; min-width: 38px; padding: 5px 10px; text-align: center; background: var(--soft); border-radius: 4px; }
.pagination .active > * { background: var(--red); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-areas: "details form" "map form"; align-items: start; gap: 30px clamp(32px, 6vw, 90px); }
.contact-grid h2 { margin-bottom: 14px; }
.contact-form { display: grid; gap: 16px; margin-top: 25px; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: block; font-weight: 400; }
.contact-form label > span:not(.captcha) { color: var(--red); }
.contact-form input, .contact-form textarea { width: 100%; display: block; margin-top: 6px; padding: 10px 12px; color: var(--ink); background: #f3f3f4; border: 1px solid transparent; border-radius: 9px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #8c8c8c; outline-offset: 1px; }
.contact-form textarea { min-height: 112px; resize: vertical; }
.contact-form .button { justify-self: start; }
.captcha { display: flex; align-items: end; gap: 12px; }
.captcha-refresh { display: grid; place-items: center; border: 0; border-radius: 4px; padding: 3px; background: var(--white); cursor: pointer; }
.captcha img { display: block; width: 116px; max-width: none; }

/* Home introductions and single service page */
.services-overview-inner { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(24px, 7vw, 100px); }
.services-intro p { max-width: 28ch; margin-top: 13px; }
.section-index { color: var(--red); font-size: 14px; font-weight: 500; letter-spacing: .05em; }
.service-links { display: grid; gap: 9px; }
.service-links a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: start; gap: 13px; padding: 15px 19px; border-radius: 9px; }
.service-links a:hover { background: #f5f5f5; }
.service-links .arrow { color: var(--red); align-self: center; }
.service-links h3 { margin-bottom: 5px; font-size: 19px; }
.service-links p { font-size: 15px; }
.service-sections { display: grid; gap: clamp(35px, 6vw, 84px); }
.service-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 6vw, 78px); align-items: center; scroll-margin-top: 24px; }
.service-feature figure img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.service-feature:nth-child(even) figure { order: 2; }
.service-feature-text { grid-template-columns: 1fr; }
.service-feature-copy h2 { margin-top: 9px; }
.service-feature-copy h2 + p { max-width: 46ch; margin-top: 13px; }
.service-feature-copy .text-link { margin-top: 18px; }

/* Inside pages */
.page-mast { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: #202020; }
.mast-image, .page-mast::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.mast-image { object-fit: cover; object-position: center 51%; }
.page-mast::after { content: ""; background: linear-gradient(90deg, #151515f5 0%, #151515df 31%, #15151586 57%, #15151522 100%); }
.mast-inner { display: flex; align-items: center; min-height: clamp(235px, 21vw, 325px); padding-block: 36px; }
.mast-copy { width: min(100%, 650px); }
.page-mast h1 { font-size: clamp(30px, 3.6vw, 44px); }
.page-mast h1 + p { margin-top: 12px; max-width: 48ch; }
.page-mast p, .page-mast time, .page-mast .breadcrumb-link { color: #ededed; }
.page-mast time { display: block; margin-bottom: 8px; }
.page-mast .breadcrumb-link:hover { color: #ffacb9; }
.breadcrumb-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.breadcrumb-link::before { content: ""; width: 6px; height: 6px; border: solid var(--red); border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
.breadcrumb-link:hover { color: var(--red); }
.about-page-intro { align-items: start; }
.about-page-intro h2 { max-width: 13ch; }
.about-page-intro .prose { font-size: 16px; }
.workflow { background: #f6f5f3; }
.workflow-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 8vw, 100px); }
.workflow-inner h2 + p { margin-top: 12px; max-width: 28ch; }
.workflow-steps { display: grid; gap: 23px; margin: 0; padding: 0; list-style: none; }
.workflow-steps li { display: grid; grid-template-columns: 47px 1fr; gap: 12px; align-items: start; }
.workflow-steps li > span { color: var(--red); font-size: 17px; font-weight: 400; }
.workflow-steps h3 { margin-bottom: 6px; }

/* Contact and map */
.contact-page { padding-block: clamp(40px, 6vw, 76px); background: linear-gradient(125deg, #f5f4f1, #fff 66%); }
.contact-details { grid-area: details; }
.contact-details dl { display: grid; gap: 25px; margin: 34px 0 0; }
.contact-details dt { margin-bottom: 5px; color: var(--muted); font-size: 14px; font-weight: 400; }
.contact-details dd { margin: 0; }
.contact-details address { font-style: normal; }
.contact-details address span { display: block; max-width: 38ch; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-phone { font-size: 25px; font-weight: 400; }
.contact-phone:hover { color: var(--red); }
.contact-panel { grid-area: form; padding: clamp(22px, 3.5vw, 42px); border-radius: 16px; background: var(--white); box-shadow: 0 14px 50px #1515150d; }
.contact-panel h2 { margin-bottom: 7px; }
.contact-location { grid-area: map; }
.contact-location .section-heading { margin-bottom: 13px; align-items: start; flex-wrap: wrap; gap: 8px 16px; }
.contact-location h2 { font-size: 21px; }
.contact-location .text-link { font-size: 14px; }
.contact-location h2 + p { margin-top: 4px; }
.contact-map { display: block; width: 100%; height: clamp(230px, 26vw, 335px); border: 0; border-radius: 13px; background: #eee; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.social-links:not(:empty) { margin-top: 8px; }
.social-links a { color: #c5c5c5; }
.social-links a:hover, .footer-contact p a:hover { color: #ff8a9c; }

@media (max-width: 950px) {
    .wrap { width: calc(100% - 56px); }
    .about-section .about-copy { width: 47%; }
    .site-header nav { gap: clamp(6px, 1.5vw, 16px); }
    .site-header nav a { font-size: 16px; }
    .header-tools { gap: 10px; }
    .header-cta { padding-inline: 13px; }
}
@media (max-width: 790px) {
    .header-inner { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
    .site-header nav { order: 3; width: 100%; padding-block: 4px; }
    .site-header nav a { min-height: 38px; }
    .hero-inner { padding-top: 130px; }
}
@media (max-width: 710px) {
    .wrap { width: calc(100% - 36px); }
    .brand img { width: 145px; }
    .site-header nav { justify-content: space-between; gap: 3px; }
    .site-header nav a { font-size: 14px; }
    .header-cta { min-height: 38px; padding: 6px 10px; font-size: 14px; }
    .hero-inner { align-items: end; min-height: 440px; padding-block: 130px 66px; }
    .hero-image { object-position: 67% center; }
    .hero::after { background: linear-gradient(0deg, #111 0%, #111d 35%, #1115 76%, #1118 100%); }
    .hero h1 { font-size: clamp(34px, 7vw, 45px); }
    .hero-caption { bottom: 21px; }
    .grid, .contact-grid, .about-feature, .services-overview-inner, .service-feature, .workflow-inner { grid-template-columns: 1fr; gap: 20px; }
    .service-feature:nth-child(even) figure { order: 0; }
    .service-links a { padding-inline: 0; }
    .contact-grid { grid-template-areas: "details" "form" "map"; gap: 28px; }
    .about-section { padding-top: 205px; }
    .about-backdrop { width: 100%; height: 205px; object-position: center 48%; }
    .mast-inner { min-height: 215px; }
    .mast-image { object-position: 63% center; }
    .page-mast::after { background: linear-gradient(90deg, #151515ed, #15151560); }
    .about-section .about-feature { display: block; min-height: 0; }
    .about-section .about-copy { width: auto; }


    .about-section::before { background: linear-gradient(0deg, #202020 0%, #202020 43%, #20202000 76%); }
    .band-inner { flex-direction: column; align-items: flex-start; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
    .form-pair { grid-template-columns: 1fr; }
    .header-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

html[lang="en"] .site-header nav { gap: clamp(8px, 1.4vw, 20px); }
@media (min-width: 791px) and (max-width: 1060px) {
    html[lang="en"] .header-inner { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
    html[lang="en"] .site-header nav { order: 3; width: 100%; padding-block: 4px; }
    html[lang="en"] .hero-inner { padding-top: 145px; }
}
.menu-toggle { display: none; }
.about-intro-visual { min-width: 0; }
.about-intro-visual img { display: block; width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; border-radius: 8px; margin-top: 20px; }
.news-detail { padding-block: clamp(32px, 5vw, 68px); }
.news-detail-header { margin-bottom: 25px; }
.news-detail-header h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.35; font-weight: 500; }
.news-detail-header time { display: block; margin-top: 12px; font-size: 14px; }
.news-detail-cover { display: block; width: 100%; aspect-ratio: 2.35 / 1; object-fit: cover; border-radius: 6px; margin-bottom: 30px; }
.news-detail-body { font-size: 16px; line-height: 1.85; }
.news-detail-body h2 { font-size: 22px; line-height: 1.4; margin-top: 1.55em; }
.news-detail-body h3 { font-size: 18px; }
.article-neighbors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.article-neighbors:not(:has(a)) { display: none; }
.article-neighbors a { padding: 15px 18px; border-radius: 6px; background: var(--soft); line-height: 1.5; overflow-wrap: anywhere; }
.article-neighbors a:hover { color: var(--red); }
.article-neighbors a[rel="next"] { grid-column: 2; }
.article-neighbors span { display: block; color: var(--red); font-size: 13px; margin-bottom: 5px; }

@media (max-width: 790px) {
    .site-header.has-menu-toggle .header-inner { position: relative; padding-block: 9px; min-height: 66px; }
    .site-header.has-menu-toggle nav { position: absolute; z-index: 3; inset: 100% 0 auto; display: grid; gap: 0; padding: 8px; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 12px 32px #0003; }
    .site-header.has-menu-toggle:not(:has(.menu-toggle[aria-expanded="true"])) nav { display: none; }
    .site-header.has-menu-toggle nav a { padding-inline: 12px; min-height: 42px; color: var(--ink); }
    .site-header.has-menu-toggle nav a[aria-current], .site-header.has-menu-toggle nav a:hover { color: var(--red); background: var(--soft); }
    .site-header.has-menu-toggle nav a::after { display: none; }
    .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 9px; border: 1px solid #9998; border-radius: 4px; background: transparent; color: inherit; font-size: 14px; }
    .menu-toggle::before { content: "☰"; margin-right: 5px; }
    .home-page:has(.has-menu-toggle) .hero-inner { padding-top: 90px; }
}
@media (max-width: 440px) {
    .article-neighbors { grid-template-columns: 1fr; }
    .article-neighbors a[rel="next"] { grid-column: auto; }
}