/* ============================================================
   任善友律师个人网站 — 设计系统（仿中伦官网版式语言）
   实测基准（zhonglun.com @1440px）：
   固定白页头 70px / 610px 全幅轮播（自动播放、无箭头、无圆点外露）
   深藏青大色带（统计+简介+领域网格）/ 全幅深色图像过渡带
   白色内容区（左图右列表，红日期）/ 深灰 #262626 页脚
   中文粗黑体标题 / 单一中伦红点缀 / 无英文眉标、无编号标签
   ============================================================ */

:root {
  --red: #C8102E;
  --red-soft: color-mix(in srgb, var(--red) 72%, white);
  --navy: #14264C;
  --navy-2: #1B3563;
  --ink: #222222;
  --ink-2: #555555;
  --gray: #8c8c8c;
  --line: #e6e6e6;
  --wash: #f7f7f7;
  --footer: #262626;
  --sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.8; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ============================================================
   页头（固定 70px 白底，红色标志，悬停出全宽藏青下拉面板）
   ============================================================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 70px; background: #fff; border-bottom: 1px solid #ececec; transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: .65rem; }
.logo-seal { width: 38px; height: 38px; background: var(--red); color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-text { line-height: 1.25; }
.logo-text strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.logo-text em { display: block; font-style: normal; font-size: 9px; letter-spacing: .22em; color: var(--gray); text-transform: uppercase; }

.site-nav { display: flex; align-items: stretch; height: 70px; }
.site-nav > li { position: relative; }
.site-nav > li > a { position: relative; display: flex; align-items: center; height: 70px; padding: 0 1.1rem; font-size: 16px; color: var(--ink); }
.site-nav > li > a::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.site-nav > li:hover > a, .site-nav > li > a[aria-current="page"] { color: var(--red); }
.site-nav > li:hover > a::after, .site-nav > li > a[aria-current="page"]::after { transform: scaleX(1); }
.has-drop > a .caret { display: inline-block; margin-left: .35em; font-size: .7em; transition: transform .25s ease; }
.has-drop:hover > a .caret { transform: rotate(180deg); }

/* 全宽下拉面板（藏青） */
.drop { position: absolute; top: 70px; left: 50%; transform: translate(-50%, 8px); width: max-content; min-width: 100%; background: var(--navy); padding: 1.4rem 2.2rem; opacity: 0; visibility: hidden; transition: opacity .28s ease, transform .28s ease, visibility .28s; box-shadow: 0 18px 40px rgba(10, 25, 60, .25); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop ul { columns: 2; column-gap: 3rem; }
.drop a { display: block; padding: .45rem 0; font-size: 14px; color: rgba(255, 255, 255, .82); white-space: nowrap; transition: color .2s ease, padding-left .2s ease; }
.drop a:hover { color: var(--red-soft); padding-left: .5rem; }

.nav-cta { display: flex; align-items: center; height: 70px; margin-left: 1.2rem; }
.nav-cta a { padding: .5rem 1.5rem; background: var(--red); color: #fff; font-size: 15px; letter-spacing: .1em; transition: background .25s ease; }
.nav-cta a:hover { background: var(--red-soft); }
.nav-toggle { display: none; }
/* 移动端全屏菜单：桌面默认隐藏（无样式裸链接会显示在页头下，必须 display:none） */
.m-menu { display: none; }

/* ============================================================
   首屏轮播（610px 全幅，自动播放 + 每帧文字逐行入场，无箭头）
   ============================================================ */
.banner { position: relative; margin-top: 70px; height: 610px; overflow: hidden; background: var(--navy); }
.bn-slide { position: absolute; inset: 0; opacity: 0; z-index: 0; transition: opacity .8s ease; pointer-events: none; }
.bn-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.bn-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.0); transition: transform 6s ease-out; }
.bn-slide.is-active .bn-bg { transform: scale(1.06); }
.bn-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 40, .62) 0%, rgba(8, 18, 40, .28) 46%, rgba(8, 18, 40, .05) 75%); }
.bn-content { position: absolute; left: 0; right: 0; bottom: 108px; }
.bn-kicker { display: flex; align-items: center; gap: .7rem; font-size: 15px; letter-spacing: .28em; color: var(--red-soft); opacity: 0; transform: translateY(14px); transition: opacity .5s ease .1s, transform .5s ease .1s; }
.bn-kicker i { width: 26px; height: 2px; background: var(--red-soft); }
.bn-title { margin-top: 1rem; font-size: 52px; font-weight: 700; line-height: 1.32; color: #fff; letter-spacing: .02em; }
.bn-title .ln { display: block; overflow: hidden; }
.bn-title .ln-in { display: block; transform: translateY(112%); transition: transform .65s cubic-bezier(.22, .8, .3, 1); }
.bn-title .ln:nth-child(2) .ln-in { transition-delay: .14s; }
.bn-en { margin-top: 1rem; font-size: 13px; letter-spacing: .34em; color: rgba(255, 255, 255, .6); text-transform: uppercase; opacity: 0; transition: opacity .6s ease .5s; }
.bn-slide.is-active .bn-kicker { opacity: 1; transform: none; }
.bn-slide.is-active .ln-in { transform: none; }
.bn-slide.is-active .bn-en { opacity: 1; }

/* 底部说明条（每帧自带） */
.bn-caption { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: rgba(0, 0, 0, .38); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bn-caption span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.bn-caption a { font-size: 13px; color: rgba(255, 255, 255, .65); letter-spacing: .05em; transition: color .2s ease; white-space: nowrap; }
.bn-caption a:hover { color: #fff; }

/* 轮播指示条：说明条上方居中（中伦式克制，仅小横条） */
.bn-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 62px; z-index: 5; display: flex; gap: 10px; }
.bn-dot { width: 28px; height: 3px; background: rgba(255, 255, 255, .4); transition: background .3s ease; }
.bn-dot.is-active { background: var(--red-soft); }

/* ============================================================
   藏青大色带：统计数字 / 关于 / 领域网格
   ============================================================ */
.zone-navy { background: var(--navy); color: #fff; }

/* 统计带 */
.stats { padding: 54px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 0 1rem 1.6rem; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; }
.stat-num { font-size: 46px; font-weight: 700; line-height: 1.15; color: #fff; }
.stat-num .plus { color: var(--red-soft); font-size: 26px; font-weight: 700; margin-left: 2px; }
.stat-num .unit { font-size: 17px; font-weight: 400; color: rgba(255, 255, 255, .75); margin-left: 4px; }
.stat-label { margin-top: .35rem; font-size: 14px; letter-spacing: .18em; color: rgba(255, 255, 255, .55); }

/* 关于 */
.about { padding: 58px 0 66px; }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.about-side .sec-title { color: #fff; }
.more-link { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.6rem; font-size: 14px; letter-spacing: .1em; color: var(--red-soft); border-bottom: 1px solid color-mix(in srgb, var(--red) 45%, transparent); padding-bottom: .3rem; transition: border-color .25s ease, gap .25s ease; }
.more-link:hover { border-color: var(--red-soft); gap: .9em; }
.about-text p { max-width: 46em; color: rgba(255, 255, 255, .8); }
.about-text p + p { margin-top: 1rem; }

/* 领域网格（3×2，悬停上浮 + 红顶线） */
.prac { padding: 44px 0 84px; }
.prac-grid { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.p-card { position: relative; display: block; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); padding: 32px 28px 28px; overflow: hidden; transition: transform .32s ease, background .32s ease, box-shadow .32s ease; }
.p-card::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; background: var(--red-soft); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.p-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); box-shadow: 0 16px 34px rgba(5, 15, 40, .35); }
.p-card:hover::before { transform: scaleX(1); }
.p-name { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: .03em; }
.p-desc { margin-top: .9rem; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .62); }
.p-go { position: absolute; right: 22px; top: 32px; font-size: 18px; color: rgba(255, 255, 255, .35); transition: color .3s ease, transform .3s ease; }
.p-card:hover .p-go { color: var(--red-soft); transform: translateX(4px); }

/* ============================================================
   过渡图像带（藏青区 → 白区的节奏过渡）
   ============================================================ */
.band { position: relative; background: var(--navy); overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.band-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 56, .58) 0%, rgba(13, 27, 56, .5) 50%, rgba(13, 27, 56, .66) 100%); }
.band-inner { position: relative; padding: 96px 0; text-align: center; }
.band-kicker { font-size: 13px; letter-spacing: .3em; color: var(--red-soft); }
.band-text { margin-top: .9rem; font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: .08em; color: #fff; line-height: 1.6; }
.band-en { margin-top: .9rem; font-size: 12px; letter-spacing: .34em; color: rgba(255, 255, 255, .55); text-transform: uppercase; }

/* ============================================================
   白色内容区通用
   ============================================================ */
.sec-w { padding: 74px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.sec-title { font-size: 32px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
.sec-bar { width: 42px; height: 3px; background: var(--red); margin-top: .9rem; }
.sec-head .more-link { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); flex-shrink: 0; }
.sec-head .more-link:hover { border-color: var(--red); }
/* 藏青底上的 more-link 用亮红保证对比 */
.zone-navy .sec-head .more-link { color: var(--red-soft); border-color: color-mix(in srgb, var(--red) 45%, transparent); }
.zone-navy .sec-head .more-link:hover { border-color: var(--red-soft); }

/* 左图右列表（业绩） */
.duo-grid { margin-top: 3rem; display: grid; grid-template-columns: 440px 1fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.duo-img { aspect-ratio: 4 / 4.6; background-size: cover; background-position: center; }
.duo-img .ph-tip { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 13px; letter-spacing: .3em; color: var(--gray); background: var(--wash); }

/* 新闻/研究式列表行 */
.nl { border-top: 1px solid var(--line); }
.nl-item { border-bottom: 1px solid var(--line); }
.nl-link { display: flex; align-items: baseline; gap: 1.2rem; padding: 20px 4px; transition: background .25s ease; }
.nl-link:hover { background: var(--wash); }
.nl-date { flex-shrink: 0; width: 92px; font-size: 15px; font-weight: 700; color: var(--red); letter-spacing: .02em; }
.nl-main { flex: 1; min-width: 0; }
.nl-title { display: block; font-size: 17px; font-weight: 700; line-height: 1.6; color: var(--ink); transition: color .2s ease; }
.nl-note { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: 13px; color: var(--gray); }
.nl-link:hover .nl-title { color: var(--red); }
.nl-arrow { flex-shrink: 0; font-size: 16px; color: transparent; transition: color .25s ease, transform .25s ease; align-self: center; }
.nl-link:hover .nl-arrow { color: var(--red); transform: translateX(4px); }
.nl-tag { display: inline-block; flex-shrink: 0; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); padding: .1rem .55rem; letter-spacing: .15em; }

/* 文章特色卡（图上文下） */
.a-feat { display: block; border: 1px solid var(--line); }
.a-feat-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--wash); overflow: hidden; }
.a-feat-img .ph-tip { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 13px; letter-spacing: .3em; color: var(--gray); }
.a-feat:hover .a-feat-title { color: var(--red); }
.a-feat-body { padding: 22px 24px 26px; }
.a-feat-body .nl-date { width: auto; margin-bottom: .5rem; display: block; }
.a-feat-title { display: block; font-size: 20px; font-weight: 700; line-height: 1.6; transition: color .2s ease; }
.a-feat-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: .5rem; font-size: 13px; color: var(--gray); }

/* 文章三列卡（首页"文章与观点"与文章列表页共用，区别于业绩区的左图右列表） */
.art-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.art-item { display: block; border: 1px solid var(--line); background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.art-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(20, 38, 76, .1); }
.art-item-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--wash); }
.art-item-img .ph-tip { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 12px; letter-spacing: .3em; color: var(--gray); }
.art-item-body { padding: 20px 22px 24px; }
.art-item-body .nl-date { width: auto; display: block; margin-bottom: .45rem; font-size: 14px; }
.art-item-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.65; transition: color .2s ease; }
.art-item:hover .art-item-title { color: var(--red); }
.art-item-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: .45rem; font-size: 13px; color: var(--gray); }

/* 资质小网格 */
.qua-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qua { border: 1px solid var(--line); padding: 24px 18px; text-align: center; transition: border-color .3s ease, transform .3s ease; }
.qua:hover { border-color: var(--red); transform: translateY(-4px); }
.qua-k { font-size: 12px; letter-spacing: .28em; color: var(--red); }
.qua-v { margin-top: .6rem; font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ============================================================
   子页页头横幅（藏青）
   ============================================================ */
.page-banner { margin-top: 70px; background: var(--navy); color: #fff; padding: 58px 0 54px; position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; }
.page-banner::before { content: ""; position: absolute; right: 40px; top: -140px; width: 340px; height: 340px; border: 1px solid rgba(255, 255, 255, .05); border-radius: 50%; }
.pb-title { font-size: 36px; font-weight: 700; letter-spacing: .05em; }
.pb-bar { width: 42px; height: 3px; background: var(--red-soft); margin-top: 1.1rem; }

/* 子页领域详情手风琴 */
.acc { margin-top: 3rem; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 1.2rem; padding: 24px 6px; cursor: pointer; list-style: none; transition: background .25s ease; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: var(--wash); }
.acc-name { font-size: 20px; font-weight: 700; letter-spacing: .03em; }
.acc-toggle { font-size: 22px; font-weight: 300; color: var(--gray); text-align: center; transition: transform .3s ease, color .3s ease; }
.acc-item[open] .acc-toggle { transform: rotate(45deg); color: var(--red); }
.acc-body { padding: 0 6px 28px; }
.acc-body p { max-width: 46em; color: var(--ink-2); }
.acc-body p + p { margin-top: .7rem; }
.acc-body h3 { font-size: 16px; font-weight: 700; margin: 1.5rem 0 .5rem; color: var(--ink); }
.acc-body h3:first-child { margin-top: 0; }
.acc-body ul { margin: .5rem 0 1rem; list-style: none; }
.acc-body ul li { position: relative; padding-left: 1.2em; margin-bottom: .45rem; max-width: 46em; color: var(--ink-2); }
.acc-body ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--red); }

/* ============================================================
   关于页：简历列表 + 联系
   ============================================================ */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 3rem; }
.photo { aspect-ratio: 3 / 4; background: var(--wash); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo:hover img { transform: scale(1.04); }
.photo .ph-tip { font-size: 13px; letter-spacing: .3em; color: var(--gray); }
.bio-lead { font-size: 20px; font-weight: 700; line-height: 1.8; margin-bottom: 1.2rem; }
.bio-text p { color: var(--ink-2); max-width: 44em; }
.bio-text p + p { margin-top: .9rem; }

.cv-list { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.cv-item { display: grid; grid-template-columns: 130px 1fr; gap: 1.4rem; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.cv-year { font-size: 14px; font-weight: 700; color: var(--red); }
.cv-sub { display: block; font-size: 13px; color: var(--gray); margin-top: 2px; }

.contact-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2.2rem; }
.contact-item .label { font-size: 12px; letter-spacing: .3em; color: var(--gray); margin-bottom: .5rem; }
.contact-item .value { font-size: 17px; font-weight: 700; }
.qr-box { margin-top: 2.6rem; width: 190px; aspect-ratio: 1; background: var(--wash); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; letter-spacing: .25em; color: var(--gray); line-height: 2; }
.qr-box img, .footer-qr img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   文章页
   ============================================================ */
.post-head { max-width: 800px; margin: 0 auto; }
.post-meta { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.2rem; }
.post-meta .nl-date { width: auto; }
.post-title { font-size: 32px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.post-body { max-width: 800px; margin: 0 auto; padding: 3rem 0 4.5rem; }
.post-body p { margin-bottom: 1.35rem; color: var(--ink-2); }
.post-body h2 { font-size: 22px; font-weight: 700; margin: 2.4rem 0 1rem; padding-left: .8rem; border-left: 3px solid var(--red); }
.post-body blockquote { border-left: 3px solid var(--red); background: var(--wash); padding: 1rem 1.4rem; margin: 1.8rem 0; color: var(--ink-2); }
.post-body ul { margin: 0 0 1.35rem; }
.post-body ul li { padding-left: 1.3em; position: relative; margin-bottom: .4rem; color: var(--ink-2); }
.post-body ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--red); }
.back-link { display: inline-block; margin-top: 2.6rem; font-size: 14px; letter-spacing: .1em; color: var(--red); border-bottom: 1px solid color-mix(in srgb, var(--red) 40%, transparent); padding-bottom: .25rem; }
.back-link:hover { border-color: var(--red); }

/* ============================================================
   页脚（#262626 深灰，四栏 + 备案条）
   ============================================================ */
.site-footer { background: var(--footer); color: #fff; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr; gap: 3rem; padding: 60px 0 48px; }
.footer-name { font-size: 24px; font-weight: 700; letter-spacing: .06em; }
.footer-bar { width: 34px; height: 3px; background: var(--red); margin: .9rem 0 1.1rem; }
.footer-meta { font-size: 13px; color: #9a9a9a; line-height: 2.1; }
.footer-col .label { font-size: 12px; letter-spacing: .3em; color: #9a9a9a; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a, .footer-col span { font-size: 14px; color: #cfcfcf; transition: color .2s ease; }
.footer-col a:hover { color: var(--red-soft); }
.footer-qr { width: 120px; aspect-ratio: 1; background: #333; border: 1px solid #3d3d3d; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; letter-spacing: .2em; color: #8a8a8a; line-height: 1.9; }
.footer-legal { margin-top: 1.4rem; font-size: 12px; color: #8a8a8a; line-height: 2; max-width: 26em; }
.footer-bottom { border-top: 1px solid #3a3a3a; padding: 18px 0 22px; display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: 13px; color: #8a8a8a; }

/* ============================================================
   动效（无 JS 时内容直显；JS 加 html.js 后才隐藏待触发）
   ============================================================ */
html.js .wow { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .3, 1); }
html.js .wow-left { opacity: 0; transform: translateX(-30px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .3, 1); }
html.js .wow-right { opacity: 0; transform: translateX(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .3, 1); }
html.js .wow.in, html.js .wow-left.in, html.js .wow-right.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .wow, html.js .wow-left, html.js .wow-right { opacity: 1; transform: none; transition: none; }
  .bn-bg, .ln-in, .bn-kicker, .bn-en { transition: none !important; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  /* 平板以下切换为汉堡菜单，防止导航与"联系我"按钮挤叠 */
  .site-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: .55rem; font-size: 14px; letter-spacing: .25em; height: 70px; }
  .nav-toggle .bars { font-size: 20px; line-height: 1; }
  .m-menu { display: block; position: fixed; inset: 0; z-index: 99; background: var(--navy); padding: 90px var(--pad) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  .m-menu.is-open { opacity: 1; visibility: visible; }
  .m-menu > li > a { display: block; padding: 1rem 0; font-size: 20px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .m-menu > li > a:active { color: var(--red-soft); }
  .m-sub { display: none; padding: .2rem 0 .9rem; }
  .m-sub a { display: block; padding: .45rem 0 .45rem 1.2rem; font-size: 14px; color: rgba(255, 255, 255, .72); }
  .m-menu li.open .m-sub { display: block; }
  body.menu-open { overflow: hidden; }

  .prac-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.4rem; }
  .stat:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .duo-grid { grid-template-columns: 1fr; }
  .duo-img { aspect-ratio: 16 / 8; max-height: 320px; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .qua-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
}
@media (max-width: 860px) {
  .prac-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: 1fr; }
  .band-inner { padding: 64px 0; }

  .banner { height: 62vw; min-height: 340px; max-height: 440px; }
  .bn-content { bottom: 96px; }
  .bn-title { font-size: clamp(24px, 6.4vw, 34px); }
  .bn-kicker { font-size: 13px; }
  .bn-dots { bottom: 56px; }
  .bn-caption { height: 40px; }
  .bn-caption span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bn-caption a { display: none; }

  .stat-num { font-size: 34px; }
  .about-grid, .profile { grid-template-columns: 1fr; }
  .photo { max-width: 300px; }
  .sec-title { font-size: 26px; }
  .pb-title { font-size: 27px; }
  .page-banner { padding: 42px 0 38px; }
  .nl-link { flex-wrap: wrap; gap: .5rem 1rem; }
  .nl-date { width: auto; }
  .nl-arrow { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; padding: 46px 0 36px; }
  .cv-item { grid-template-columns: 1fr; gap: .2rem; }
}
