:root {
  --navy: #18364a;
  --deep: #122c3e;
  --cream: #f4f3eb;
  --white: #fff;
  --red: #c90c30;
  --gold: #ad9468;
  --light-gold: #d3be94;
  --muted: #657686;
  --line: #d8dedf;
  --serif: 'Noto Serif SC', 'Songti SC', SimSun, serif;
  --sans: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 14px/1.85 var(--sans); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.45; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
img { display: block; width: 100%; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b27b2b; outline-offset: 4px; }
.skip { position: fixed; top: -70px; left: 20px; z-index: 20; background: white; padding: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1030px, calc(100% - 56px)); margin-inline: auto; }
.section { padding-block: 90px; }
.white { background: white; }
.kicker { display: flex; align-items: center; gap: 11px; color: var(--gold); font-size: 11px; letter-spacing: 3px; font-weight: 600; margin-bottom: 15px; }
.kicker::before { content: ''; width: 27px; height: 1px; background: currentColor; flex-shrink: 0; }
.section-title { max-width: 610px; text-align: center; margin: 0 0 48px; }
.section-title .kicker { justify-content: center; }
.section-title > p:not(.kicker) { margin-top: 14px; line-height: 1.95; }
.en { color: #8a7653; font: 11px/1.6 Georgia, serif; text-transform: uppercase; letter-spacing: 1.5px; }

#header { position: sticky; top: 0; height: 70px; background: rgba(255,255,255,.97); z-index: 10; box-shadow: 0 2px 13px #112d3808; }
.topbar { display: flex; height: 100%; justify-content: space-between; align-items: center; gap: 26px; }
.brand { position: relative; container-type: inline-size; flex: 0 0 auto; width: clamp(136px, 18vw, 160px); }
.brand img { width: 100%; height: auto; clip-path: polygon(0 0, 100% 0, 100% 81%, 27% 81%, 27% 100%, 0 100%); }
.brand-english { position: absolute; left: 29%; right: 0; bottom: 6.5%; color: #0b1e2b; font: 700 4.1cqw/1 Arial, sans-serif; letter-spacing: -.018em; text-align: center; white-space: nowrap; }
.logo-filters { position: absolute; pointer-events: none; }
.at-top .topbar .brand img { filter: url(#logo-remove-white); }
.hotline strong, .hotline small { display: block; }
.topbar nav { display: flex; align-items: center; gap: 33px; }
.topbar nav a { position: relative; font-size: 13px; white-space: nowrap; }
.topbar nav a[aria-current]::after, .topbar nav a:hover::after { content: ''; position: absolute; inset: auto 0 -8px; background: var(--gold); height: 1px; }
.hotline { border-left: 1px solid #9aabba45; padding: 3px 0 3px 20px; display: flex; align-items: center; gap: 8px; color: #ad1431; line-height: 1.55; white-space: nowrap; }
.hotline svg { width: 17px; height: 17px; }
.hotline strong { font-size: 14px; }
.hotline small { font-size: 10px; letter-spacing: .4px; }
.menu-toggle { display: none; }
body[data-page='home'] main { margin-top: -70px; }
.at-top #header { color: #fff; background: transparent; box-shadow: none; }
.at-top .hotline { color: #fff; }
.at-top .hotline svg { color: var(--light-gold); }

.hero { background: linear-gradient(180deg,#142f421b 0%,#112c4133 52%,#0d26386b 100%), url('assets/sunrise.jpg') center / cover; color: white; min-height: 740px; min-height: max(740px, 100svh); display: flex; flex-direction: column; }
.hero-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: clamp(110px, 22vh, 224px); padding-bottom: 30px; }
.hero-copy .kicker { color: var(--light-gold); margin-bottom: 21px; }
.hero-copy h1 { font-size: clamp(42px, 3vw, 56px); letter-spacing: 2px; line-height: 1.35; }
.hero-copy h1 span { color: var(--light-gold); }
.hero-copy > p:not(.kicker) { color: #f4f7fa; margin: 20px 0 31px; max-width: 575px; font-size: 15px; line-height: 2.02; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: 10px 27px; color: white; background: var(--red); border: 1px solid var(--red); font-size: 13px; font-weight: 600; }
.button:hover { background: #a80b29; }
.button-outline { background: #122b3e38; border-color: #ffffff95; }
.button-outline:hover { background: #122b3eac; }
.stats { background: var(--navy); color: white; padding: 47px 0 54px; }
.stats-hero { background: none; padding: 16px 0 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats-grid strong { display: block; font: 46px/1.14 'Times New Roman', var(--serif); }
.stats-grid strong small { color: var(--light-gold); font: 16px var(--serif); padding-left: 2px; }
.stats-grid div > span { display: block; color: #d4dfe5; font-size: 12px; margin-top: 7px; }
.stats-hero .stats-grid > div + div { border-left: 1px solid #ffffff29; }
.stats-hero .stats-grid strong { font-size: 37px; }

.home-about, .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 66px; }
.home-about figure { position: relative; align-self: center; }
.home-about img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; box-shadow: 0 17px 34px #233e4519; }
.home-about figcaption { position: absolute; bottom: 34px; left: -22px; background: var(--navy); padding: 13px 25px 18px; color: white; }
.home-about figcaption strong { color: var(--light-gold); display: block; font: 27px/1.45 var(--serif); }
.home-about figcaption span { font-size: 11px; letter-spacing: 1px; }
.home-about h2, .about-grid h2 { margin-bottom: 17px; }
.home-about p:not(.kicker), .about-grid p:not(.kicker) { color: #526575; }
.about-grid p + p { margin-top: 15px; }
.creed { margin-top: 27px; border-top: 1px solid var(--line); }
.creed div { display: grid; grid-template-columns: 87px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.creed dt { color: #8a7350; font-family: var(--serif); }
.home-practice { padding-bottom: 0; }
.service-cards, .more-cards, .process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.service-cards article, .contact-cards article, .lawyer { background: white; border: 1px solid #e4e7e8; border-radius: 3px; }
.service-cards article { padding: 35px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.icon-circle { width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: #e9f0f1; color: #416e7d; margin-bottom: 18px; }
.icon-circle svg { width: 21px; height: 21px; }
.service-cards h3 { margin-bottom: 4px; }
.service-cards .en { margin-bottom: 14px; }
.service-cards p:not(.en) { font-size: 13px; margin-bottom: 17px; }
.service-cards a { margin-top: auto; font-size: 12px; font-weight: 600; }
.service-cards a:hover { color: var(--red); }
.more-section { padding-block: 94px 85px; scroll-margin-top: 35px; }
.more-section .section-title { margin-inline: auto; }
.more-cards { gap: 20px; }
.more-cards a { position: relative; isolation: isolate; overflow: hidden; min-height: 238px; padding: 21px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; color: white; background: var(--navy); border-radius: 3px; }
.more-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -2; transition: transform .3s ease; }
.more-cards a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0b22348f 0%, #102a3b10 35%, #102739cc 69%, #0e2537 100%); }
.more-cards a:hover .more-card-image { transform: scale(1.055); }
.more-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.more-card-top svg { color: #ead6af; }
.card-number { font: 31px/1 Georgia, serif; color: #f2e1c0; text-shadow: 0 1px 5px #132b3d; }
.more-card-copy { min-height: 65px; }
.more-cards h3 { margin-bottom: 5px; }
.more-cards p { color: #fff; font-size: 12px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .more-card-image { transition: none; } }

.banner { min-height: 308px; background: linear-gradient(90deg,#122b4030,#102b443f), url('assets/ridge.jpg') center 33% / cover; color: white; display: flex; align-items: center; }
.banner-sunrise { background-image: linear-gradient(90deg,#122b40a6,#102b4487), url('assets/sunrise.jpg'); }
.banner h1 { font-size: 39px; letter-spacing: 1.5px; }
.banner p { color: #e2ebef; font-size: 12px; margin-top: 8px; }
.banner p a { margin-right: 4px; }
.section-links { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 13px; }
.section-links a:hover { color: var(--red); }
#service-gallery { scroll-margin-top: 70px; }
.section-links + .section { padding-top: 62px; }
body[data-page='cases'] .section-links { max-width: 832px; }
.about-navigation { background: var(--white); border-bottom: 1px solid var(--line); }
.about-navigation nav { display: flex; gap: 32px; }
.about-navigation a { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 18px; border-bottom: 2px solid transparent; white-space: nowrap; }
.about-navigation a:hover, .about-navigation a[aria-current='page'] { color: var(--red); }
.about-navigation a[aria-current='page'] { border-color: var(--red); font-weight: 600; }
#about-panel > .section { padding-top: 62px; }
.timeline { padding: 0 0 0 34px; margin: 4px 0 0 5px; border-left: 1px solid #ced7d9; list-style: none; }
.timeline li { position: relative; padding-bottom: 27px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -42px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--gold); background: var(--cream); }
.timeline h3 { font-size: 15px; margin-bottom: 8px; color: #88734e; }
.timeline h3.dated { color: #a92139; }
.timeline p { font-size: 13px; }
.office-gallery > p:not(.kicker) { margin: 13px 0 46px; }
.office-gallery img { object-fit: cover; border-radius: 3px; }
.office-gallery figcaption { color: var(--muted); font-size: 11px; margin-top: 9px; }
.office-feature img { aspect-ratio: 2.72; }
.team-photo { margin-top: 82px; }
.team-photo img { aspect-ratio: 2.48; }

.lawyer-cards { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lawyer-cards::-webkit-scrollbar { display: none; }
.lawyer-cards > article { scroll-snap-align: start; }
.lawyer { padding: 0; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.lawyer > img { aspect-ratio: 5 / 6; object-fit: cover; object-position: center top; }
.lawyer-copy { padding: 15px 19px 19px; display: block; }
.lawyer-copy strong { font: 600 18px/1.5 var(--serif); display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.pills > span { border-radius: 20px; background: #eaf0f0; color: #426878; padding: 3px 8px; font-size: 10px; }

.practice-list { padding-bottom: 36px; }
.practice-item { padding: 39px 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.practice-item:first-of-type { padding-top: 8px; }
.practice-item:last-child { border: 0; }
.service-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 31px; }
.service-heading .icon-circle { background: var(--navy); color: var(--light-gold); width: 52px; height: 52px; margin: 0; }
.service-heading h2 { font-size: 25px; }
.practice-columns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; }
.practice-columns h3 { font: 600 13px var(--sans); color: #aa1432; margin-bottom: 12px; }
.practice-columns ul { padding-left: 18px; margin: 0; }
.practice-columns li { margin-bottom: 5px; color: #526575; font-size: 13px; }
.practice-columns li::marker { color: var(--gold); }
.white .section-title { margin-inline: auto; }
.process-grid { text-align: center; }
.process-grid strong { font: 30px var(--serif); }
.process-grid p { margin-top: 10px; font-size: 12px; }

.news-content { max-width: 832px; margin-inline: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filters button { background: transparent; border: 1px solid #d9dedb; padding: 8px 20px; border-radius: 2px; font-size: 12px; }
.filters button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: white; }
.news-row { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 104px; padding: 17px 23px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.news-row:hover { background: white; color: #a91430; }
.date { width: 68px; flex-shrink: 0; }
.date strong, .date small { display: block; }
.date strong { font: 36px/1.15 Georgia, serif; }
.date small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.news-tag { background: #f7e8eb; color: #9c1631; font-size: 11px; padding: 1px 8px; white-space: nowrap; }
.news-title { font-size: 16px; font-weight: 500; }
.case-row { min-height: 75px; }
.case-articles .section-title { margin-inline: auto; }
.wechat-articles { margin-top: 27px; padding: 14px 19px; border: 1px solid var(--line); background: #fff; }
.wechat-articles summary { cursor: pointer; font-weight: 500; }
.wechat-articles > div { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.wechat-articles a { font-size: 12px; color: #a91430; }
.wechat-articles a:hover { text-decoration: underline; }
.service-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 870px; margin-inline: auto; }
.service-photo { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #fff; }
.service-photo-stage { position: relative; }
.service-photo-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.service-photo-track::-webkit-scrollbar { display: none; }
.photo-preview { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; padding: 0; background: #edf1ef; }
.photo-preview { scroll-snap-align: start; }
.photo-preview:focus-visible { outline-offset: -4px; }
.photo-preview img { height: 100%; object-fit: cover; }
.photo-preview[data-photo='pennant-01'] img { object-position: center 75%; }
.photo-preview[data-photo='pennant-02'] img { object-fit: contain; }
.photo-preview > span { position: absolute; right: 10px; bottom: 10px; padding-inline: 8px; border-radius: 2px; background: var(--deep); color: #fff; }
.photo-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0 0 3px; border: 1px solid #fff8; border-radius: 50%; background: #122c3edc; color: white; font: 27px/1 Georgia, serif; }
.photo-arrow-prev { left: 9px; }
.photo-arrow-next { right: 9px; }
.photo-arrow:hover { background: var(--deep); }
.service-photo-body { padding: 16px; }
.service-photo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.service-photo-heading > span, .service-photo-body > p, .photo-detail figcaption { color: var(--muted); font-size: 12px; }
.service-photo-body > p { margin-top: 4px; }
.photo-pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.photo-dots { display: flex; }
.photo-dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; }
.photo-dots button::after { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gold); }
.photo-dots button[aria-current='true']::after { background: var(--gold); }
.photo-playback { border: 0; background: none; padding: 4px; color: var(--muted); font-size: 12px; }
.photo-playback:hover { color: var(--navy); text-decoration: underline; }
.photo-preview:hover > span { background: white; color: var(--red); }
.photo-detail img { width: auto; max-width: 100%; max-height: 63vh; margin: 13px auto; object-fit: contain; }
.service-video { display: grid; grid-template-columns: 162px minmax(0, 1fr); align-items: center; gap: 32px; max-width: 870px; margin: 26px auto 0; padding: 22px; border: 1px solid var(--line); border-radius: 3px; background: #f4f6f3; scroll-margin-top: 94px; }
.service-video-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--deep); }
.service-video-cover img { height: auto; }
.service-video-play { position: absolute; display: grid; place-items: center; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; padding-left: 3px; border: 1px solid #fffb; border-radius: 50%; background: #122c3ee5; color: white; font-size: 16px; }
.service-video-time { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 2px; background: var(--deep); color: white; font-size: 11px; }
.service-video-cover:hover .service-video-play { background: var(--red); }
.service-video-copy h3 { font-size: 26px; }
.service-video-copy p:not(.kicker) { margin: 9px 0 16px; }
.service-video-link { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; border-bottom: 1px solid var(--gold); background: transparent; color: var(--navy); }
.service-video-link:hover { color: var(--red); }
.video-detail { width: min(400px, 100%); text-align: center; }
.video-detail h2 { margin-bottom: 14px; font-size: 21px; }
.video-detail video { display: block; width: auto; max-width: 100%; height: min(69dvh, 630px); margin-inline: auto; background: #080d10; }

.contact-section { padding-top: 85px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 53px; align-items: start; }
.contact-grid > div { padding-top: 10px; }
.contact-grid > div > p:not(.kicker) { margin-top: 11px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.contact-cards article { min-height: 170px; padding: 25px; }
.contact-cards h3 { font-size: 17px; }
.contact-cards p { margin-top: 6px; font-size: 12px; }
.contact-cards .icon-circle { width: 41px; height: 41px; margin-bottom: 11px; }
.phone-consult { display: flex; flex-direction: column; align-items: flex-start; min-height: 220px; padding: 34px 37px; background: white; border-radius: 3px; box-shadow: 0 10px 25px #2036480d; }
.phone-consult h2 { margin-top: 8px; font-size: 23px; }
.phone-consult p { margin-top: 8px; font-size: 13px; }
.phone-consult .button { margin-top: 23px; }
.phone-consult small { margin-top: 13px; color: var(--muted); font-size: 11px; }
.office-map { margin-top: 65px; scroll-margin-top: 85px; }
.office-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.office-map-heading h2 { font-size: 24px; }
.office-map-heading p { margin-top: 4px; font-size: 13px; }
.office-map-heading a { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 8px 13px; border: 1px solid var(--line); background: white; border-radius: 3px; font-size: 13px; }
.office-map-heading a:hover { color: var(--red); }
.office-map-heading a svg { width: 16px; height: 16px; }
.office-map iframe { display: block; width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 3px; background: #e9efed; }
.faqs { max-width: 758px; margin-inline: auto; }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { list-style: none; cursor: pointer; position: relative; padding: 18px 30px 18px 3px; font-weight: 500; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: '+'; position: absolute; right: 5px; color: #92784e; font-size: 18px; }
.faqs details[open] summary::after { content: '−'; }
.faqs details p { padding: 0 30px 19px 3px; }
.narrow { max-width: 830px; }
.senior-recruitment { padding-block: 72px; }
.career-heading { margin-bottom: 34px; }
.career-heading h2 + p { margin-top: 12px; }
.career-terms { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: 24px; border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 3px; background: #e9efed; }
.career-terms > section { padding: 22px 25px; }
.career-pay { border-left: 1px solid var(--line); }
.career-pay h3 { font-size: 16px; }
.career-pay .career-pay-amount { color: var(--navy); font: 39px/1.15 'Times New Roman', var(--serif); margin: 6px 0; }
.career-pay small { font: 14px var(--sans); }
.career-pay p:last-child { font-size: 12px; }
.career-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.career-role { padding: 25px 23px; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 3px; background: var(--white); }
.career-role h3 { font-size: 24px; margin: 5px 0 16px; }
.career-role dl { border-top: 1px solid var(--line); padding-top: 11px; }
.career-role dl > div + div { margin-top: 10px; }
.career-role dt { font-size: 12px; font-weight: 600; }
.career-role dd { font-size: 13px; color: var(--muted); }
.career-criteria ul { padding-left: 18px; margin: 8px 0 0; }
.career-criteria li + li { margin-top: 4px; }
.career-contact { padding-block: 58px; }
.career-contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.career-contact h2 + p { margin-top: 10px; }
.career-contact .button { flex-shrink: 0; }

#footer { background: var(--deep); padding: 67px 0 20px; color: #b7cbd8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr .8fr; gap: 44px; }
.footer-brand { display: block; width: 152px; max-width: 100%; }
.footer-brand img { filter: url(#logo-remove-white) url(#logo-footer-ink); }
.footer-brand .brand-english { color: #f8f7f2; }
.footer-grid h2 { color: white; font: 600 14px/1.6 var(--sans); margin: 23px 0 19px; }
.footer-grid p { color: #adc3d1; font-size: 12px; line-height: 1.95; margin-top: 18px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 12px; }
.footer-grid a:hover { color: white; }
.foot-item { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; font-size: 12px; }
.foot-item svg { width: 16px; height: 16px; margin-top: 3px; color: var(--light-gold); }
.wechat { display: grid; justify-items: start; align-content: start; gap: 7px; width: fit-content; min-height: 0; padding: 0; background: transparent; color: #adc3d1; border-radius: 0; font-size: 10px; }
.wechat img { display: block; width: 100px; height: 100px; object-fit: contain; }
.wechat small { font-size: 8px; color: var(--muted); }
.footer-bottom { margin-top: 59px; border-top: 1px solid #ffffff22; padding-top: 17px; display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #9ab3c4; }

#detail { padding: 38px; border: 0; border-radius: 4px; color: var(--navy); max-width: min(740px, calc(100vw - 28px)); }
#detail::backdrop { background: #071d2ad1; }
#detail p:not(.kicker) { margin-top: 13px; }
#detail form { position: absolute; top: 4px; right: 7px; }
.close { background: none; border: 0; font-size: 26px; padding: 0 8px; }

@media (max-width: 850px) {
  .topbar { gap: 15px; }
  .topbar nav { gap: 16px; }
  .hotline { padding-left: 10px; }
  .hotline small { display: none; }
  .service-cards, .more-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lawyer-cards { grid-auto-columns: calc((100% - 44px) / 3); }
  .home-about, .about-grid, .contact-grid { gap: 35px; }
  .footer-grid { gap: 20px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 54px; }
  .section-title { margin-bottom: 31px; }
  .senior-recruitment, .career-contact { padding-block: 42px; }
  .career-heading { margin-bottom: 23px; }
  .career-roles { grid-template-columns: 1fr; gap: 14px; }
  .career-contact-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .career-terms { grid-template-columns: 1fr; }
  .career-terms > section { padding: 18px; }
  .career-pay { border-left: 0; border-top: 1px solid var(--line); }
  .career-role { padding: 19px; }
  .section-links + .section { padding-top: 42px; }
  .about-navigation nav { gap: 8px; }
  .about-navigation a { flex: 1; min-height: 51px; padding-inline: 5px; font-size: 13px; }
  #about-panel > .section { padding-top: 42px; }
  h2 { font-size: 25px; }
  .menu-toggle { display: block; margin-left: auto; border: 1px solid currentColor; background: transparent; border-radius: 2px; padding: 3px 12px; }
  .hotline { display: none; }
  .topbar nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; background: white; color: var(--navy); padding: 16px 20px; box-shadow: 0 6px 16px #1234; }
  .topbar nav.open { display: flex; }
  .topbar nav a { padding: 3px 0; }
  .topbar nav a[aria-current]::after, .topbar nav a:hover::after { display: none; }
  .hero { min-height: max(650px, 100svh); }
  .hero-copy { padding-top: 105px; }
  .hero-copy h1 { font-size: clamp(30px, 9vw, 49px); letter-spacing: 0; }
  .hero-copy > p:not(.kicker) { font-size: 13px; margin: 16px 0 23px; }
  .hero-copy .kicker { font-size: 9px; letter-spacing: 1.5px; }
  .hero-actions { gap: 9px; }
  .button { min-height: 46px; padding-inline: 17px; }
  .stats { padding: 31px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px 4px; }
  .stats-grid strong, .stats-hero .stats-grid strong { font-size: 29px; }
  .stats-grid strong small { font-size: 13px; }
  .stats-grid div > span { margin-top: 3px; font-size: 10px; }
  .stats-hero .stats-grid > div:nth-child(3) { border: 0; }
  .home-about, .about-grid, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 33px; }
  .home-about figcaption { left: -6px; bottom: 17px; }
  .home-about figcaption strong { font-size: 23px; }
  .service-cards, .more-cards, .lawyer-cards { gap: 13px; }
  .lawyer-cards { grid-auto-columns: 44%; }
  .home-practice { padding-bottom: 0; }
  .service-cards article { padding: 17px 11px; }
  .service-cards .en { font-size: 8px; letter-spacing: 1px; }
  .service-cards p:not(.en) { font-size: 11px; }
  .more-section { padding-block: 53px; }
  .more-cards a { padding: 13px; min-height: 186px; }
  .card-number { font-size: 24px; }
  .more-cards p { font-size: 11px; }
  .banner { min-height: 212px; }
  .banner h1 { font-size: 32px; }
  .team-photo { margin-top: 42px; }
  .lawyer-copy { padding: 12px; }
  .lawyer-copy strong { font-size: 16px; }
  .practice-columns { gap: 18px; }
  .practice-columns li { font-size: 12px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid strong { font-size: 24px; }
  .filters { gap: 5px; }
  .filters button { padding: 7px 10px; font-size: 11px; }
  .news-row { padding: 14px 2px; gap: 7px; }
  .date { width: 46px; }
  .date strong { font-size: 27px; }
  .date small { font-size: 9px; }
  .news-tag { font-size: 9px; padding-inline: 4px; }
  .news-title { font-size: 13px; }
  .service-gallery { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .service-photo-body { padding: 12px; }
  .service-video { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; padding: 16px; }
  .service-video-cover { width: min(165px, 100%); justify-self: center; }
  .service-video-copy h3 { font-size: 23px; }
  .video-detail h2 { font-size: 17px; }
  .video-detail video { height: min(66dvh, 570px); }
  .contact-cards { gap: 12px; }
  .contact-cards article { padding: 15px; }
  .phone-consult { min-height: 0; padding: 23px 18px; }
  .office-map { margin-top: 42px; }
  .office-map-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .office-map iframe { height: 320px; }
  #footer { padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 17px; }
  .footer-grid h2 { margin-top: 0; }
  .footer-bottom { flex-direction: column; margin-top: 35px; gap: 4px; }
}
