/* =========================================================================
   杨航胜律师 · 个人网站
   设计基调：深墨蓝 + 暖象牙 + 哑金，衬线标题，克制留白
   ========================================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --ink-900: #0a1220;
  --ink-800: #0f1c2e;
  --ink-700: #16263c;
  --ink-600: #1f3350;
  --paper: #f7f4ed;
  --paper-warm: #efe8db;
  --white: #ffffff;
  --gold: #a9823f;
  --gold-light: #c8a667;
  --gold-soft: rgba(169, 130, 63, 0.12);

  --text-strong: #101d2f;
  --text: #3c4859;
  --text-muted: #6d7787;
  --text-invert: rgba(255, 255, 255, 0.76);

  --line: #e2dbcb;
  --line-soft: #ece6d9;
  --line-invert: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 1px 2px rgba(16, 29, 47, 0.05), 0 10px 26px -16px rgba(16, 29, 47, 0.22);
  --shadow-md: 0 30px 70px -40px rgba(16, 29, 47, 0.45);

  --container: 1180px;
  --gutter: 32px;
  --radius: 2px;

  --font-serif: "Georgia", "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink-800);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 3. 排版 ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- 4. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section--tight {
  padding: clamp(52px, 6vw, 76px) 0;
}

.section--paper {
  background: var(--paper);
}

.section--warm {
  background: var(--paper-warm);
}

.section--ink {
  background: var(--ink-800);
  color: var(--text-invert);
}

.section--ink h2,
.section--ink h3 {
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink-800);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 5. 小节标题 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section--ink .eyebrow {
  color: var(--gold-light);
}

.section--ink .eyebrow::before {
  background: var(--gold-light);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.section-head p {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section--ink .section-head p {
  color: var(--text-invert);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

/* ---------- 6. 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(16, 29, 47, 0.5);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink-800);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: var(--radius);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(200, 166, 103, 0.42);
  border-radius: 1px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: 0.06em;
}

.brand__meta {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--ink-800);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink-800);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink-800);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink-800);
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  font-family: var(--font-sans);
}

.btn--primary {
  background: var(--ink-800);
  color: #fff;
}

.btn--primary:hover {
  background: var(--ink-600);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink-800);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink-800);
  background: rgba(16, 29, 47, 0.04);
}

.btn--gold {
  background: var(--gold);
  color: #fff;
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn--onink {
  border-color: var(--line-invert);
  color: #fff;
}

.btn--onink:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn__arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(169, 130, 63, 0.35);
  padding-bottom: 3px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.link-more:hover {
  color: var(--ink-800);
  border-color: var(--ink-800);
}

/* ---------- 8. 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 29, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 29, 47, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 70% at 62% 38%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 62% 38%, #000 12%, transparent 72%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}

.hero__name {
  font-size: clamp(2.6rem, 6vw, 4.05rem);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.hero__latin {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.hero__role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--ink-700);
  margin-bottom: 26px;
}

.hero__role .divider {
  width: 1px;
  height: 15px;
  background: var(--line);
}

.hero__lead {
  font-size: 1.06rem;
  color: var(--text);
  max-width: 30em;
  margin-bottom: 34px;
}

.hero__lead strong {
  color: var(--ink-800);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 430px;
}

.portrait {
  position: relative;
  background: linear-gradient(158deg, var(--ink-700) 0%, var(--ink-900) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  box-shadow: var(--shadow-md);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 18%, rgba(200, 166, 103, 0.22), transparent 58%);
}

.portrait::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(10, 18, 32, 0.9) 0%, rgba(10, 18, 32, 0.4) 45%, rgba(10, 18, 32, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.portrait img {
  position: absolute;
  bottom: -1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 106%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
}

.portrait__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(200, 166, 103, 0.3);
  border-radius: 1px;
  pointer-events: none;
  z-index: 3;
}

.portrait__caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}

.portrait__caption span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(200, 166, 103, 0.9);
  margin-top: 6px;
}

/* ---------- 9. 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 34px 26px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--ink-800);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat__value em {
  font-style: normal;
  font-size: 0.52em;
  color: var(--gold);
  margin-left: 3px;
  letter-spacing: 0.04em;
}

.stat__label {
  font-size: 0.86rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- 10. 卡片 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 32px 34px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.card:hover::after {
  transform: scaleX(1);
}

.card__index {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
}

.card__title {
  margin-bottom: 14px;
}

.card__body {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.card__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card__list li:last-child {
  margin-bottom: 0;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: 0.05em;
}

.card__link::after {
  content: "→";
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* ---------- 11. 简介区 ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.prose {
  font-size: 1.02rem;
  color: var(--text);
}

.prose p {
  margin-bottom: 1.3em;
}

.prose strong {
  color: var(--ink-800);
  font-weight: 600;
}

.prose--lead > p:first-child {
  font-size: 1.08rem;
  color: var(--ink-700);
  letter-spacing: 0.012em;
}

.fact-panel {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.fact-panel__title {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.92rem;
}

.fact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-list dt,
.fact-list .k {
  flex: none;
  width: 84px;
  color: var(--text-muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.fact-list .v {
  color: var(--text-strong);
  font-weight: 500;
}

/* ---------- 12. 时间轴 ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 34px;
  padding: 0 0 34px;
  position: relative;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__year {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink-800);
  text-align: right;
  line-height: 1.6;
}

.timeline__body {
  position: relative;
  padding-left: 8px;
}

.timeline__body::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--paper);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

.timeline__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.timeline__desc {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- 13. 业绩列表 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.28s var(--ease);
}

.filter-btn:hover {
  border-color: var(--ink-800);
  color: var(--ink-800);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #fff;
}

.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.case-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.case-item:hover {
  background: rgba(255, 255, 255, 0.62);
}

.case-item.is-hidden {
  display: none;
}

.case-item__tag {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  padding-top: 5px;
  font-weight: 600;
}

.case-item__title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--text-strong);
  line-height: 1.65;
  margin-bottom: 8px;
}

.case-item__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.case-empty {
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  display: none;
}

/* ---------- 14. 文章 ---------- */
.article-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: baseline;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.article-item:first-child {
  border-top: 1px solid var(--line);
}

.article-item:hover {
  background: rgba(255, 255, 255, 0.62);
}

.article-item__kind {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
}

.article-item__title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.article-item__desc {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-item__go {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- 15. 联系区块 ---------- */
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.contact-band__title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: #fff;
  margin-bottom: 18px;
}

.contact-band p {
  color: var(--text-invert);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-invert);
  border: 1px solid var(--line-invert);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-cell {
  background: var(--ink-800);
  padding: 28px 26px;
}

.contact-cell__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.contact-cell__value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  word-break: break-word;
}

.contact-cell__value a:hover {
  color: var(--gold-light);
}

/* ---------- 16. 页面头部（内页） ---------- */
.page-head {
  position: relative;
  padding: clamp(52px, 6vw, 76px) 0 clamp(44px, 5vw, 60px);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-head::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(169, 130, 63, 0.22);
  border-radius: 50%;
}

.page-head::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(169, 130, 63, 0.16);
  border-radius: 50%;
}

.page-head__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  color: var(--line);
}

.page-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
}

.page-head__desc {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- 17. 内容详情 ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.side-card + .side-card {
  margin-top: 22px;
  position: static;
}

.side-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-strong);
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.side-list li {
  padding: 9px 0;
  color: var(--text);
  display: flex;
  gap: 12px;
}

.side-list .k {
  color: var(--text-muted);
  flex: none;
  width: 76px;
  font-size: 0.84rem;
}

.side-list .v {
  color: var(--text-strong);
}

.side-list a.v:hover {
  color: var(--gold);
}

.subhead {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--text-strong);
  margin: 42px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}

.subhead:first-child {
  margin-top: 0;
}

.bullet-list {
  list-style: none;
  margin: 0 0 1.2em;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: var(--text);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.quote {
  margin: 34px 0;
  padding: 28px 32px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink-700);
  line-height: 1.9;
}

.notice {
  margin-top: 34px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.notice strong {
  color: var(--text-strong);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 0.96rem;
}

/* ---------- 18. 表单 ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.84rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.field input,
.field textarea,
.field select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-strong);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 132px;
  line-height: 1.7;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form__hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 19. 页脚 ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.66);
  padding: clamp(52px, 6vw, 74px) 0 30px;
  font-size: 0.9rem;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-invert);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.footer__brand .brand__mark {
  background: rgba(255, 255, 255, 0.06);
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand .brand__meta {
  color: rgba(255, 255, 255, 0.5);
}

.footer__desc {
  max-width: 34em;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
}

.footer__title {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 11px;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.44);
}

/* ---------- 20. 滚动出现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 21. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--ink-800);
  color: #fff;
  border: 1px solid rgba(200, 166, 103, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s var(--ease);
  z-index: 90;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold);
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero__panel {
    justify-self: start;
    max-width: 360px;
  }

  .intro,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 22px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 20px;
    box-shadow: 0 20px 40px -28px rgba(16, 29, 47, 0.5);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.98rem;
  }

  .nav a::after {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .case-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .case-item__tag {
    padding-top: 0;
  }

  .article-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-item__go {
    margin-top: 4px;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 30px;
    padding-bottom: 28px;
  }

  .timeline__year {
    text-align: left;
    color: var(--gold);
    font-size: 0.92rem;
  }

  .timeline__body {
    padding-left: 0;
  }

  .timeline__body::before {
    left: -30px;
    top: 8px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand__meta {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 20px;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .hero__name {
    letter-spacing: 0.06em;
  }

  .card {
    padding: 30px 24px;
  }
}

/* ---------- 23. 打印与减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .hero__actions,
  .filters {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
