:root {
  --blue: #174b9b;
  --blue-bright: #1d5bb7;
  --blue-dark: #0b2e59;
  --blue-deep: #061b33;
  --orange: #ed972b;
  --ink: #132033;
  --muted: #68758a;
  --line: #dfe5ec;
  --paper: #f5f7f9;
  --white: #fff;
  --content: 1200px;
  --shadow: 0 18px 50px rgba(7, 31, 61, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
.hero h1, .inner-hero h1, .section-head h2, .intro-title, .feature-copy h2,
.service-section h2, .cta-inner h2, .article-hero h1 {
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
}
.container { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 999; padding: 10px 18px; background: var(--orange); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 82px; color: #fff; transition: background .25s ease, box-shadow .25s ease, height .25s ease; }
.site-header.is-scrolled, .site-header.inner-header { height: 72px; background: rgba(6, 27, 51, .97); box-shadow: 0 10px 32px rgba(0,0,0,.13); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { width: 188px; flex: 0 0 auto; }
.brand img { height: 47px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { position: relative; padding: 25px 0 22px; color: rgba(255,255,255,.86); font-size: 14px; letter-spacing: .05em; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 16px; height: 2px; background: var(--orange); transition: right .22s ease; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-contact { display: flex; align-items: center; gap: 10px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.38); font-size: 13px; letter-spacing: .05em; }
.header-contact::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 6px 0; background: currentColor; }
.mobile-panel { display: none; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--blue-deep); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,19,37,.94) 0%, rgba(4,30,58,.72) 43%, rgba(4,30,58,.32) 74%, rgba(4,30,58,.46) 100%), url("assets/images/hero-wall.jpg") center/cover no-repeat; transform: scale(1.01); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(6,27,51,.46)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 280px; gap: 80px; align-items: end; padding: 175px 0 86px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; color: var(--blue-bright); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero h1 { max-width: 900px; margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(46px, 6.1vw, 82px); font-weight: 500; line-height: 1.14; letter-spacing: .02em; }
.hero h1 span { display: block; color: var(--orange); }
.hero-lead { max-width: 700px; margin: 30px 0 36px; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; border: 1px solid transparent; font-size: 14px; font-weight: 650; letter-spacing: .05em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #1c2736; }
.button-secondary { border-color: rgba(255,255,255,.42); color: #fff; }
.button-blue { background: var(--blue); color: #fff; }
.button-outline { border-color: var(--blue); color: var(--blue); }
.hero-aside { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.28); }
.hero-aside strong { display: block; margin-bottom: 10px; font: 400 25px/1.35 Georgia, serif; }
.hero-aside span { color: rgba(255,255,255,.62); font-size: 13px; letter-spacing: .08em; }

.inner-hero { position: relative; min-height: 470px; display: flex; align-items: flex-end; padding: 170px 0 82px; color: #fff; overflow: hidden; background: linear-gradient(130deg, var(--blue-deep), var(--blue)); }
.inner-hero::before { content: "NANHENG"; position: absolute; right: -18px; bottom: -57px; color: rgba(255,255,255,.045); font: 700 clamp(100px, 18vw, 260px)/1 Arial, sans-serif; letter-spacing: -.06em; }
.inner-hero::after { content: ""; position: absolute; top: 0; right: 9%; width: 1px; height: 100%; background: rgba(255,255,255,.08); box-shadow: 180px 0 rgba(255,255,255,.05), 360px 0 rgba(255,255,255,.04); }
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 { margin: 0 0 18px; font: 500 clamp(42px, 6vw, 68px)/1.18 Georgia, "Noto Serif SC", serif; }
.inner-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; }
.breadcrumbs { margin-bottom: 22px; color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: .07em; }
.fact-strip { border-bottom: 1px solid var(--line); background: #fff; }
.fact-grid { display: grid; grid-template-columns: 1.45fr .7fr 1fr 1fr; }
.fact-grid > div { min-height: 106px; display: flex; flex-direction: column; justify-content: center; padding: 20px 28px; border-right: 1px solid var(--line); }
.fact-grid > div:last-child { border-right: 0; }
.fact-grid b { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.fact-grid span, .fact-grid a { margin-top: 4px; color: var(--blue-dark); font-weight: 650; }

.section { padding: 104px 0; }
.section-soft { background: var(--paper); }
.section-dark { color: #fff; background: var(--blue-deep); }
.section-blue { color: #fff; background: var(--blue); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 50px; }
.section-head h2 { max-width: 720px; margin: 0; font: 500 clamp(34px, 4vw, 50px)/1.25 Georgia, "Noto Serif SC", serif; }
.section-head p { max-width: 440px; margin: 0; color: var(--muted); }
.section-dark .section-head p, .section-blue .section-head p { color: rgba(255,255,255,.65); }
.section-label { display: block; margin-bottom: 15px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-dark .section-label, .section-blue .section-label { color: var(--orange); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.35fr; gap: 90px; align-items: start; }
.intro-title {
  margin: 0;
  font: 500 clamp(32px, 3.25vw, 50px)/1.35 Georgia, "Noto Serif SC", serif;
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: normal;
}
.intro-copy p:first-child { margin-top: 0; font-size: 19px; color: #34445a; }
.intro-copy p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--blue); font-weight: 650; font-size: 14px; }
.text-link::after { content: "→"; color: var(--orange); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(5px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--blue); font: 500 clamp(30px, 4vw, 44px)/1.1 Georgia, serif; }
.stat span { color: var(--muted); font-size: 13px; }

.feature-split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 610px; }
.feature-image { min-height: 520px; background: #dfe7f0; overflow: hidden; }
.feature-image { background: var(--blue-deep); }
.feature-image img { height: 100%; object-fit: contain; object-position: center; }
.feature-image.feature-image-contain { background: var(--blue-deep); }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(42px, 7vw, 110px); background: var(--blue-deep); color: #fff; }
.feature-copy h2 { margin: 0 0 28px; font: 500 clamp(34px, 4vw, 50px)/1.25 Georgia, "Noto Serif SC", serif; }
.feature-copy p { color: rgba(255,255,255,.68); }
.quote-line { margin-top: 28px; padding: 20px 0 0 24px; border-left: 2px solid var(--orange); color: #fff !important; font-size: 18px; }

.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.practice-card { position: relative; min-height: 290px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: color .25s ease, background .25s ease; }
.practice-card::before { content: attr(data-index); display: block; margin-bottom: 50px; color: var(--orange); font: 600 12px/1 Arial; letter-spacing: .15em; }
.practice-card h3 { margin: 0 0 14px; font: 500 23px/1.4 Georgia, "Noto Serif SC", serif; }
.practice-card p { margin: 0; color: var(--muted); font-size: 14px; }
.practice-card .arrow { position: absolute; right: 30px; bottom: 28px; color: var(--blue); }
.practice-card:hover { background: var(--blue-deep); color: #fff; }
.practice-card:hover p { color: rgba(255,255,255,.65); }
.practice-card:hover .arrow { color: var(--orange); }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.geo-standard { grid-template-columns: repeat(3, 1fr); background: var(--line); }
.geo-standard .method-item { min-height: 235px; color: #fff; }
.method-item { min-height: 280px; padding: 36px 30px; background: var(--blue-deep); }
.method-item b { display: block; margin-bottom: 64px; color: var(--orange); font: 500 13px/1 Arial; letter-spacing: .12em; }
.method-item h3 { margin: 0 0 12px; font: 500 22px/1.35 Georgia, "Noto Serif SC", serif; }
.method-item p { margin: 0; color: rgba(255,255,255,.58); font-size: 14px; }

.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.leader-card { position: relative; display: grid; grid-template-columns: minmax(170px, .72fr) 1.28fr; min-height: 430px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.leader-photo { min-height: 0; align-self: start; overflow: hidden; background: #fff; }
.leader-photo img { height: auto; object-fit: contain; object-position: center top; transition: transform .55s ease; }
.leader-card:hover .leader-photo img { transform: scale(1.025); }
.leader-info { padding: 30px 28px 32px; }
.leader-info h3 { margin: 0; font: 500 27px/1.35 Georgia, "Noto Serif SC", serif; }
.leader-info .role { margin: 5px 0 15px; color: var(--blue); font-size: 13px; font-weight: 650; }
.leader-titles { margin: 0 0 18px; padding: 0; list-style: none; color: #44546a; font-size: 12px; line-height: 1.65; }
.leader-titles li + li { margin-top: 3px; }
.leader-expertise { margin: 0 0 16px; color: var(--blue-dark); font-size: 12px; font-weight: 650; line-height: 1.7; }
.leader-bio { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; text-align: justify; }

.case-grid, .insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { min-height: 300px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); background: #fff; }
.case-card .tag, .insight-card .tag { display: inline-flex; align-self: flex-start; padding: 4px 9px; color: var(--blue); background: #edf3fb; font-size: 12px; }
.case-card h3 { margin: 42px 0 14px; font: 500 22px/1.5 Georgia, "Noto Serif SC", serif; }
.case-card p { margin: 0; color: var(--muted); font-size: 14px; }
.case-card .text-link { margin-top: auto; padding-top: 24px; }
.insight-card { display: flex; flex-direction: column; min-height: 330px; padding: 30px; background: var(--paper); border-top: 3px solid var(--blue); }
.insight-card h3 { margin: 40px 0 14px; font: 500 22px/1.5 Georgia, "Noto Serif SC", serif; }
.insight-card p { margin: 0; color: var(--muted); font-size: 14px; }
.insight-card footer { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 25px; color: #8a95a5; font-size: 12px; }

.client-wall { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-logo { height: 124px; display: grid; place-items: center; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.client-logo img { max-width: 150px; max-height: 62px; width: auto; filter: grayscale(1); opacity: .66; transition: filter .2s ease, opacity .2s ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }

.cta-band { position: relative; overflow: hidden; padding: 88px 0; color: #fff; background: var(--blue); }
.cta-band::after { content: "NH"; position: absolute; right: -25px; top: -75px; color: rgba(255,255,255,.055); font: 700 260px/1 Arial; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner h2 { margin: 0 0 12px; font: 500 clamp(32px, 4vw, 48px)/1.25 Georgia, "Noto Serif SC", serif; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.7); }

.content-grid { display: grid; grid-template-columns: 280px 1fr; gap: 70px; align-items: start; }
.side-nav { position: sticky; top: 105px; border-top: 2px solid var(--blue); }
.side-nav a { display: block; padding: 15px 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.side-nav a:hover { color: var(--blue); }
.prose h2 { margin: 0 0 26px; font: 500 35px/1.35 Georgia, "Noto Serif SC", serif; }
.prose h3 { margin: 44px 0 16px; font: 500 24px/1.4 Georgia, "Noto Serif SC", serif; }
.prose p { color: var(--muted); }
.prose blockquote { margin: 44px 0; padding: 24px 28px; border-left: 3px solid var(--orange); color: var(--blue-dark); background: var(--paper); font: 500 20px/1.7 Georgia, "Noto Serif SC", serif; }
.culture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 35px; }
.culture-card { padding: 30px; border: 1px solid var(--line); }
.culture-card b { display: block; color: var(--orange); font-size: 12px; letter-spacing: .12em; }
.culture-card h3 { margin: 18px 0 6px; font-size: 21px; }
.culture-card p { margin: 0; font-size: 14px; }
.wide-image { margin: 60px 0; aspect-ratio: 16/7; overflow: hidden; background: #e7ebf0; }
.wide-image img { height: 100%; object-fit: contain; }

.service-section { scroll-margin-top: 100px; padding: 60px 0; border-bottom: 1px solid var(--line); }
.service-section:first-child { padding-top: 0; }
.service-number { display: block; margin-bottom: 16px; color: var(--orange); font: 600 12px/1 Arial; letter-spacing: .15em; }
.service-section h2 { margin: 0 0 18px; font: 500 34px/1.35 Georgia, "Noto Serif SC", serif; }
.service-section > p { max-width: 760px; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 36px; margin: 30px 0 0; padding: 0; list-style: none; }
.service-list li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); color: #34445a; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 25px; width: 6px; height: 6px; background: var(--orange); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.industry-card { min-height: 210px; padding: 27px; color: #fff; background: linear-gradient(145deg, var(--blue-dark), var(--blue)); }
.industry-card h3 { margin: 46px 0 10px; font: 500 21px/1.4 Georgia, "Noto Serif SC", serif; }
.industry-card p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }

.professional-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.professional-card { padding: 28px; border: 1px solid var(--line); background: #fff; }
.professional-photo { width: 150px; aspect-ratio: 1; margin: 0 auto 22px; overflow: hidden; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.professional-photo img { height: 100%; object-fit: contain; }
.professional-card h3 { margin: 0 0 15px; text-align: center; font: 500 23px/1.35 Georgia, "Noto Serif SC", serif; }
.professional-detail { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.professional-detail + .professional-detail { margin-top: 9px; }
.professional-detail b { color: var(--blue-dark); }
.professional-philosophy { padding-top: 13px; border-top: 1px solid var(--line); }
.team-loading { grid-column: 1/-1; padding: 50px 24px; color: var(--muted); text-align: center; }

body[data-page="home"] .leader-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-page="home"] .leader-card { display: block; min-height: 0; }
body[data-page="home"] .leader-photo { aspect-ratio: 4/4.5; }
body[data-page="home"] .leader-photo img { width: 100%; height: 100%; }
.notice { padding: 18px 22px; border-left: 3px solid var(--orange); color: var(--muted); background: #fff8ee; font-size: 13px; }
.knowledge-loading { grid-column: 1/-1; padding: 65px 24px; color: var(--muted); background: var(--paper); text-align: center; }
.knowledge-card { color: inherit; }
.article-hero { padding: 160px 0 75px; color: #fff; background: linear-gradient(130deg,var(--blue-deep),var(--blue)); }
.article-hero h1 { max-width: 950px; margin: 18px 0 20px; font: 500 clamp(38px,5vw,62px)/1.25 Georgia,"Noto Serif SC",serif; }
.article-hero p { max-width: 790px; margin: 0; color: rgba(255,255,255,.7); font-size: 17px; }
.article-type { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.article-meta { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 28px; color: rgba(255,255,255,.52); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0,790px) 280px; justify-content: space-between; gap: 70px; align-items: start; }
.article-content { color: #3c4b5e; font-size: 17px; line-height: 2; }
.article-content > p { margin: 0 0 25px; }
.article-content h2 { margin: 48px 0 18px; color: var(--ink); font: 500 28px/1.45 Georgia,"Noto Serif SC",serif; }
.direct-answer { margin-bottom: 45px; padding: 28px 30px; border-left: 3px solid var(--orange); background: var(--paper); }
.direct-answer b { color: var(--blue); font-size: 12px; letter-spacing: .12em; }
.direct-answer p { margin: 12px 0 0; color: var(--ink); font-size: 18px; }
.legal-basis { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.article-aside { position: sticky; top: 100px; }
.aside-box { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); }
.aside-box span { color: var(--blue); font-size: 12px; font-weight: 700; }
.aside-box p { color: var(--muted); font-size: 13px; }
.aside-box .button { margin-top: 8px; }

.branch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.branch-card { min-height: 245px; padding: 34px; border: 1px solid var(--line); background: #fff; }
.branch-card.featured { color: #fff; background: var(--blue-deep); border-color: var(--blue-deep); }
.branch-card .branch-type { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.branch-card h3 { margin: 32px 0 14px; font: 500 25px/1.35 Georgia, "Noto Serif SC", serif; }
.branch-card p { margin: 0; color: var(--muted); }
.branch-card.featured p { color: rgba(255,255,255,.65); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact-meta { margin: 35px 0 0; padding: 0; list-style: none; }
.contact-meta li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-meta b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 13px; }
.contact-form { padding: 38px; background: var(--paper); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 7px; color: #3a485a; font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfd7e2; border-radius: 0; padding: 12px 13px; color: var(--ink); background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,75,155,.08); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.form-message { display: none; margin-top: 18px; padding: 12px 15px; color: #164c2d; background: #e8f5ed; font-size: 13px; }
.form-message.show { display: block; }

.site-footer { color: rgba(255,255,255,.72); background: #041425; }
.footer-main { display: grid; grid-template-columns: 1.3fr .75fr .9fr 1.3fr; gap: 50px; padding: 70px 0 55px; }
.footer-brand img { width: 190px; height: 54px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 330px; margin: 22px 0 0; color: rgba(255,255,255,.48); font-size: 13px; }
.footer-col h3 { margin: 3px 0 20px; color: #fff; font-size: 14px; letter-spacing: .08em; }
.footer-col a, .footer-col span { display: block; margin: 9px 0; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: 13px; }
  .header-contact { display: none; }
  .practice-grid, .case-grid, .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid, .industry-grid, .roster, .geo-standard { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main .footer-col:last-child { grid-column: 1/-1; }
  .leader-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 34px, var(--content)); }
  .site-header, .site-header.is-scrolled, .site-header.inner-header { height: 68px; background: rgba(6,27,51,.98); }
  .brand { width: 158px; }
  .brand img { height: 40px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-panel { position: fixed; inset: 68px 0 0; display: flex; flex-direction: column; padding: 28px 24px 40px; color: #fff; background: var(--blue-deep); transform: translateX(100%); transition: transform .25s ease; overflow: auto; }
  .menu-open .mobile-panel { transform: none; }
  .mobile-panel a { padding: 14px 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 140px 0 60px; }
  .hero-aside { max-width: 400px; }
  .section { padding: 78px 0; }
  .section-head { display: block; margin-bottom: 38px; }
  .section-head p { margin-top: 18px; }
  .intro-grid, .feature-split, .content-grid, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .feature-image { min-height: 410px; }
  .feature-copy { padding: 60px 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .leader-grid { grid-template-columns: 1fr; }
  .professional-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-wall { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 28px; }
  .side-nav { position: static; display: flex; gap: 10px; overflow: auto; border-top: 0; }
  .side-nav a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid > div:nth-child(2) { border-right: 0; }
  .fact-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-main .footer-brand, .footer-main .footer-col:last-child { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 28px); }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .hero-aside { display: none; }
  .inner-hero { min-height: 390px; padding: 135px 0 58px; }
  .section { padding: 64px 0; }
  .practice-grid, .leader-grid, .case-grid, .insight-grid, .method-grid, .industry-grid, .roster, .professional-grid, .branch-grid, .culture-grid, .form-grid, .geo-standard { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 0; aspect-ratio: 4/4.4; }
  .leader-photo img { object-position: center top; }
  .practice-card { min-height: 235px; }
  .practice-card::before { margin-bottom: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 25px 16px; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .client-logo { height: 102px; padding: 17px; }
  .service-list { grid-template-columns: 1fr; }
  .contact-form { padding: 25px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 52px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid > div { min-height: 84px; border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-main .footer-brand, .footer-main .footer-col:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
