:root {
    color-scheme: light;
    --ink: #142e3b;
    --inverse: #122631;
    --paper: #fff;
    --ground: #eef3f1;
    --surface: #dfe9e5;
    --muted: #405561;
    --line: #b2c1bc;
    --control-line: #617a73;
    --action: #943d22;
    --action-hover: #79301a;
    --action-active: #662614;
    --disabled-bg: #e0e7e4;
    --disabled-text: #526660;
    --s1: 4px;
    --s2: 8px;
    --s3: 12px;
    --s4: 16px;
    --s6: 24px;
    --s8: 32px;
    --s12: 48px;
    --s16: 64px;
    --s24: 96px;
    --gutter: clamp(18px, 5.55vw, 80px);
    --width: 1280px;
    --band: clamp(54px, 7vw, var(--s24));
    --control: 44px;
    --radius: 4px;
    --columns: 12;
    --column-gap: 24px;
    --fast: 160ms;
    --arrival: 680ms;
    --ease: cubic-bezier(.2, .75, .3, 1);
    --font: "Segoe UI", "Noto Sans", Arial, sans-serif;
}

:lang(zh) { --font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--s4); }
body { margin: 0; color: var(--ink); background: var(--ground); font: 400 1rem/1.65 var(--font); }
::selection { color: var(--paper); background: var(--action); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; overflow-wrap: anywhere; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.3vw, 4.75rem); line-height: 1.16; letter-spacing: -.034em; }
:lang(zh) h1, :lang(vi) h1 { line-height: 1.22; letter-spacing: -.022em; }
h2 { font-size: clamp(1.875rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: clamp(1.375rem, 2.25vw, 1.75rem); line-height: 1.3; }
a, button, summary { color: inherit; font: inherit; }
a { text-underline-offset: .25em; overflow-wrap: anywhere; }
button:not(:disabled), summary { cursor: pointer; }
button, summary { border-radius: var(--radius); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
img { display: block; max-width: 100%; }
.icon { width: 20px; height: 20px; flex: none; }
.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: var(--s2) auto auto var(--gutter); transform: translateY(-150%); padding: var(--s3); background: var(--paper); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.site-nav-row { min-height: 76px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; justify-content: center; flex: none; width: fit-content; min-height: var(--control); padding: var(--s2) var(--s3); background: var(--inverse); color: var(--paper); text-decoration: none; }
.brand img { width: 152px; height: auto; }
.brand span { font: 600 .95rem/1.2 var(--font); letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.primary-nav a, .primary-nav summary, .language summary, .mobile-menu > summary, .link-control { display: inline-flex; align-items: center; gap: var(--s1); min-height: var(--control); }
.primary-nav > a, .primary-nav summary, .language summary, .mobile-menu > summary { font-size: .875rem; font-weight: 600; text-decoration: none; }
.primary-nav > a:hover, .primary-nav a[aria-current], .primary-nav summary:hover { text-decoration: underline; }
.site-header summary .icon { width: 16px; height: 16px; }
.site-header details[open] > summary .icon { rotate: 180deg; }
.language > summary { border: 1px solid var(--control-line); padding-inline: var(--s2); background: var(--paper); }
.language-options { position: absolute; z-index: 4; inset: 100% 0 auto auto; min-width: 144px; padding: var(--s2); border: 1px solid var(--line); background: var(--paper); }
.language-options > * { display: flex; align-items: center; min-height: var(--control); padding-inline: var(--s2); text-decoration: none; }
.language-options a:hover { background: var(--surface); text-decoration: underline; }
.language-options [aria-current] { background: var(--disabled-bg); color: var(--disabled-text); }
.mobile-menu { display: none; }
.mega { position: absolute; z-index: 3; inset: 100% 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); padding: var(--s6); background: var(--paper); border: 1px solid var(--line); }
.mega a { display: flex; min-height: var(--control); }
.mega div a:first-child { font-weight: 600; }
.mega-overview { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--s2); }

.hero { padding-block: clamp(36px, 5vw, 75px) var(--s6); }
@media (min-width: 1120px) {
    .hero--text { padding-block-end: calc(var(--s16) + var(--s4)); }
}
.hero-head, .split, .photo-block { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: var(--column-gap); }
.hero-head { align-items: end; margin-bottom: var(--s8); }
.hero-head h1 { grid-column: 1 / span 8; }
.hero-head h1 { text-wrap: balance; }
.hero :lang(vi) { overflow-wrap: break-word; }
.hero:lang(vi) h1 { font-size: clamp(2rem, 4.5vw, 4rem); }
.hero-head .hero-lead { grid-column: 10 / -1; }
.hero-lead { max-width: 41ch; }
.hero-lead p { font-size: 1.125rem; color: var(--muted); margin-bottom: var(--s4); }
.hero-frame { overflow: hidden; background: var(--surface); }
.hero-frame :is(img, video) { width: 100%; aspect-ratio: 3.1; height: auto; object-fit: cover; object-position: center 55%; }
.hero[data-enter] .hero-frame :is(img, video) { animation: settle var(--arrival) var(--ease) both; }
.hero-phrase { display: block; }
.hero-unit { white-space: nowrap; }
@keyframes settle { from { transform: scale(1.035); } to { transform: scale(1); } }
.audience { display: flex; flex-wrap: wrap; gap: 0 var(--s6); margin-top: var(--s3); border-bottom: 1px solid var(--line); }
.audience a { display: inline-flex; align-items: center; min-height: var(--control); font-weight: 600; font-size: .875rem; }
.band { padding-block: var(--band); border-bottom: 1px solid var(--line); }
.surface { background: var(--surface); }
.split { align-items: start; }
.split > :first-child { grid-column: 1 / span 4; }
.split > :last-child { grid-column: 6 / -1; }
.photo-block { align-items: center; }
.photo-block > :is(img, video) { grid-column: 1 / span 6; }
.photo-block > div { grid-column: 8 / -1; }
.photo-block :is(img, video) { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.photo-block h3, #scenarios h3 { margin-top: var(--s6); }
.body-copy { max-width: 65ch; color: var(--muted); margin-top: var(--s3); text-wrap: pretty; }
.split .body-copy:first-child { margin-top: 0; }
.line-item { border-top: 1px solid var(--line); padding-block: var(--s6); }
.line-item p { margin-top: var(--s2); max-width: 65ch; }
.line-item:last-child { border-bottom: 1px solid var(--line); }
.home-access h3 a { display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--control); text-decoration: none; }
.home-access h3 a:hover { text-decoration: underline; }
.home-access .line-item:last-child { border-bottom: 0; }
@media (max-width: 759px) {
    .home-access { padding-block-end: calc(var(--band) - var(--s6)); }
}

.button { display: inline-flex; justify-content: center; align-items: center; gap: var(--s2); min-height: var(--control); border: 1px solid transparent; border-radius: var(--radius); padding: var(--s2) var(--s4); font-weight: 600; text-decoration: none; transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.button--primary { background: var(--action); color: var(--paper); }
.button--primary:hover { background: var(--action-hover); }
.button--primary:active { background: var(--action-active); }
.button--secondary { background: transparent; border-color: currentColor; }
.button--secondary:hover { background: var(--surface); color: var(--ink); }
.button--text { background: transparent; padding-inline: 0; text-align: start; }
.button--text:hover { text-decoration: underline; }
.button:is(:disabled, [aria-busy=true]) { background: var(--disabled-bg); color: var(--disabled-text); cursor: default; }
.site-footer { background: var(--inverse); color: var(--paper); padding-block: var(--band) var(--s6); }
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer p { color: var(--surface); margin-top: var(--s3); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.footer-grid h3 { font-size: 1rem; margin-block: var(--s2); }
.footer-grid a { display: flex; align-items: center; min-height: var(--control); }
.footer-end { border-top: 1px solid var(--control-line); margin-top: var(--s12); padding-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); }
.footer-end p { margin: 0; font-size: .875rem; text-wrap: pretty; }

.breadcrumbs { padding-block: var(--s2); }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 0 var(--s3); list-style: none; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--s3); min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: ""; flex: none; width: 5px; height: 5px; rotate: -45deg; border-inline-end: 1px solid; border-block-end: 1px solid; }
.breadcrumbs a { display: inline-flex; min-height: var(--control); align-items: center; }
.mega a[aria-current], .nav-section-active { text-decoration: underline; }

.inner-hero { padding-block: clamp(24px, 5vw, 72px) var(--band); }
.inner-hero .hero-head { margin-bottom: 0; }
.inner-hero--overview .hero-head { align-items: center; }
.inner-head { display: grid; gap: var(--s6); }
.inner-head h1 { max-width: 24ch; text-wrap: balance; }
.inner-intro { max-width: 68ch; display: grid; justify-items: start; gap: var(--s4); }
.inner-lead { font-size: 1.125rem; color: var(--muted); overflow-wrap: anywhere; text-wrap: pretty; }
.inner-hero--audience { background: var(--paper); }
.inner-hero--reading { padding-block-end: var(--s8); }
.review-label, .availability { color: var(--muted); font-size: .875rem; font-weight: 600; }
.review-label { background: var(--surface); padding: var(--s1) var(--s2); }

.directory-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; padding-block: var(--s8); border-block-start: 1px solid var(--line); }
.directory-row:last-child { border-block-end: 1px solid var(--line); }
.directory-row h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); text-wrap: wrap; }
.directory-row h2 a { display: flex; align-items: center; gap: var(--s3); min-height: var(--control); text-decoration-thickness: 1px; }
.directory-row p { max-width: 65ch; color: var(--muted); text-wrap: pretty; }
.service-groups { display: grid; gap: var(--s12); }
.service-group { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); align-items: start; gap: var(--s6); }
.service-group h2, .policy-body h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); text-wrap: balance; }
.service-detail.surface .service-group { grid-template-columns: minmax(0, 1fr); }
.service-entries { margin: 0; }
.service-entries > div { padding-block: var(--s4); border-block-start: 1px solid var(--line); overflow-wrap: anywhere; }
.service-entries > div:last-child { border-block-end: 1px solid var(--line); }
.service-entries dt { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 600; line-height: 1.3; }
.service-entries dd { margin: var(--s2) 0 0; color: var(--muted); text-wrap: pretty; }
.service-detail.surface .service-entries > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: start; column-gap: var(--s6); }
.service-detail.surface .service-entries dd { margin: 0; }
.service-detail--parallel .service-groups { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.service-detail--parallel .service-group { display: block; }
.service-detail--parallel .service-entries { margin-top: var(--s6); }
.service-boundary { background: var(--surface); padding: var(--s6); margin-top: var(--s6); overflow-wrap: anywhere; }
.service-boundary p { margin-top: var(--s2); }

.page-links { display: grid; justify-items: start; }
.page-links--inline { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); }
.page-links .icon { width: 16px; height: 16px; }
.audience-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s12); }
.audience-step + .audience-step { border-inline-start: 1px solid var(--line); padding-inline-start: var(--s6); }
.policy-body .wrap { max-width: 72ch; }
.policy-body section + section { margin-top: var(--s8); }
.office-address { margin-top: var(--s4); overflow-wrap: anywhere; }
.contact-channels > a { display: flex; align-items: center; gap: var(--s2); overflow-wrap: anywhere; min-height: var(--control); }
.wechat { border-block-start: 1px solid var(--line); margin-block-start: var(--s3); padding-block-start: var(--s4); }
.wechat [hidden] { display: none; }
.wechat .copy-status { min-block-size: 1.5em; color: var(--muted); font-size: .875rem; }
.footer-grid a { overflow-wrap: anywhere; }

@media (max-width: 1119px) {
    .site-nav-row { justify-content: flex-start; gap: var(--s3); }
    .mobile-menu { display: block; margin-inline-start: auto; }
    .primary-nav--desktop { display: none; }
    .primary-nav--mobile { position: absolute; z-index: 3; inset: 100% 0 auto; display: grid; gap: 0; padding: var(--s4); background: var(--paper); border: 1px solid var(--line); max-height: 75vh; overflow-y: auto; }
    .primary-nav--mobile > a, .primary-nav--mobile summary { width: 100%; }
    .mega { position: static; display: block; border: 0; border-inline-start: 1px solid var(--line); padding: 0 0 0 var(--s3); }
}

@media (760px <= width < 1024px) {
    :root { --columns: 8; --column-gap: 20px; }
    .hero-head h1 { grid-column: 1 / span 5; }
    .hero-head .hero-lead { grid-column: 6 / -1; }
    .split > :first-child { grid-column: 1 / span 3; }
    .split > :last-child { grid-column: 4 / -1; }
    .photo-block > :is(img, video) { grid-column: 1 / span 4; }
    .photo-block > div { grid-column: 5 / -1; }
}

@media (max-width: 759px) {
    :root { --columns: 4; --column-gap: 12px; }
    .site-nav-row { min-height: 64px; gap: var(--s2); }
    .brand img { width: 120px; }
    .brand { padding-inline: var(--s2); }
    .hero-head > h1, .hero-head > .hero-lead, .split > :first-child, .split > :last-child, .photo-block > :is(img, video), .photo-block > div { grid-column: 1 / -1; }
    .hero-head, .split, .photo-block { row-gap: var(--s6); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-frame :is(img, video) { aspect-ratio: 1.62; }
    .photo-block :is(img, video) { order: 1; }
    .audience { column-gap: var(--s4); }
    .footer-grid { gap: var(--s4); }
    .hero-lead .button { width: 100%; }
    .inner-hero { padding-block-end: var(--s12); }
    .directory-row, .service-group, .service-detail.surface .service-entries > div,
    .service-detail--parallel .service-groups, .audience-detail { grid-template-columns: minmax(0, 1fr); }
    .service-detail.surface .service-entries dd { margin-top: var(--s2); }
    .audience-detail { gap: var(--s6); }
    .audience-step + .audience-step { padding: var(--s6) 0 0; border-inline-start: 0; border-block-start: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
    .hero[data-enter] .hero-frame :is(img, video) { animation: none; }
    .button { transition: none; }
}
