/* 法律风格官网｜语义化颜色、文字与间距令牌 */
.site-shell {
  --color-ink: #172330;
  --color-ink-soft: #33414c;
  --color-muted: #69747c;
  --color-paper: #f7f5f0;
  --color-white: #ffffff;
  --color-line: #dedbd3;
  --color-divider: #e9e6df;
  --color-brand: #a7834d;
  --color-brand-deep: #80633c;
  --color-on-brand: #ffffff;
  --color-focus: #c3934d;
  --container: 1280px;
  --page-gutter: clamp(24px, 4.3vw, 64px);
  --section-y: clamp(64px, 7vw, 88px);
  --fs-display: clamp(34px, 4vw, 48px);
  --fs-page-title: clamp(30px, 3vw, 40px);
  --fs-section-title: clamp(25px, 2.5vw, 36px);
  --fs-card-title: clamp(18px, 1.65vw, 22px);
  --fs-body: 16px;
  --fs-meta: 14px;
  --fs-label: 13px;
  --lh-heading: 1.25;
  --lh-ui: 1.5;
  --lh-body: 1.72;
  box-sizing: border-box;
  width: calc(100% + 16px);
  min-height: 100vh;
  margin: -8px;
  overflow: clip;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
.site-shell *,
.site-shell *::before,
.site-shell *::after { box-sizing: border-box; }
.site-shell img { max-width: 100%; }
.site-shell a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.site-shell a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}
.site-shell p { margin: 0; }
.site-shell h1,
.site-shell h2,
.site-shell h3,
.site-shell h4 {
  margin: 0;
  color: inherit;
  font-weight: 500;
  line-height: var(--lh-heading);
}
.site-shell h1 { font-size: var(--fs-page-title); }
.site-shell h2 { font-size: var(--fs-section-title); }
.site-shell h3 { font-size: var(--fs-card-title); }
.site-shell .section-inner,
.site-shell .header-inner {
  width: min(var(--container), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.site-shell .site-header {
  position: relative;
  z-index: 2;
  min-height: 80px;
  background: #172330;
  color: #fff;
}
.site-shell .header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-shell .wordmark,
.site-shell .footer-wordmark {
  flex: 0 0 auto;
  max-width: 40%;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.site-shell .header-nav { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.site-shell .header-nav ul,
.site-shell .header-nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-shell .header-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: var(--lh-ui);
}
.site-shell .header-nav a:hover,
.site-shell .header-nav a:focus-visible { color: #e4c99d; }

.site-shell .hero {
  position: relative;
  display: flex;
  min-height: min(670px, 72vw);
  min-height: clamp(500px, 56vw, 670px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #202b35;
  color: var(--color-white);
}
.site-shell .hero-media,
.site-shell .hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.site-shell .hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-shell .hero-shade {
  background: linear-gradient(90deg, rgba(16,25,34,.88) 0%, rgba(16,25,34,.68) 37%, rgba(16,25,34,.14) 75%, rgba(16,25,34,.04) 100%);
}
.site-shell .hero-inner {
  position: relative;
  width: min(var(--container), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
  padding-block: 68px;
}
.site-shell .hero-copy {
  display: grid;
  max-width: 1000px;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .62fr);
  align-items: end;
  gap: clamp(32px, 6vw, 88px);
}
.site-shell .hero h1 {
  max-width: 14ch;
  color: #fff;
  font-size: var(--fs-display);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.25;
  text-wrap: pretty;
}
.site-shell .hero-aside { display: grid; justify-items: start; gap: 28px; padding-bottom: 5px; }
.site-shell .hero-aside p { max-width: 38ch; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.8; }
.site-shell .hero-rule {
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 60px;
  background: #d7b77f;
}
.site-shell .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 11px 19px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--lh-ui);
}
.site-shell .button span,
.site-shell .text-link span { font-size: 18px; line-height: 1; }
.site-shell .button-light { background: #f4efe5; color: #172330; }
.site-shell .button-light:hover { background: #e7d8bc; }
.site-shell .button-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.site-shell .button-outline:hover { border-color: #e3c99d; background: rgba(255,255,255,.08); }

.site-shell .section { padding-block: var(--section-y); }
.site-shell .about-teaser { background: var(--color-paper); }
.site-shell .about-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.site-shell .eyebrow {
  margin-bottom: 16px;
  color: var(--color-brand-deep);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .12em;
  line-height: var(--lh-ui);
}
.site-shell .section-heading h2 { max-width: 18ch; font-size: var(--fs-section-title); }
.site-shell .about-copy { max-width: 68ch; }
.site-shell .prose { color: var(--color-ink-soft); font-size: var(--fs-body); line-height: var(--lh-body); overflow-wrap: anywhere; }
.site-shell .prose > * + * { margin-top: 1.25em; }
.site-shell .prose h1,
.site-shell .prose h2,
.site-shell .prose h3,
.site-shell .prose h4 { margin-top: 1.7em; color: var(--color-ink); }
.site-shell .prose h1 { font-size: var(--fs-page-title); }
.site-shell .prose h2 { font-size: clamp(22px, 2vw, 30px); }
.site-shell .prose h3,
.site-shell .prose h4 { font-size: var(--fs-card-title); }
.site-shell .prose ul,
.site-shell .prose ol { padding-left: 1.5em; }
.site-shell .prose li + li { margin-top: .5em; }
.site-shell .prose a { color: var(--color-brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.site-shell .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--color-brand);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: var(--lh-ui);
}
.site-shell .text-link:hover { color: var(--color-brand-deep); border-color: var(--color-brand-deep); }
.site-shell .about-copy .text-link { margin-top: 28px; }

.site-shell .reading-section { background: #fff; }
.site-shell .section-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.site-shell .section-topline h2 { font-size: var(--fs-section-title); }
.site-shell .section-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-shell .record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 40px 24px;
}
.site-shell .record-card {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}
.site-shell .record-kind {
  margin-bottom: 12px;
  color: var(--color-brand-deep);
  font-size: var(--fs-meta);
  line-height: var(--lh-ui);
}
.site-shell .record-divider { padding-inline: 8px; color: #a29a8b; }
.site-shell .record-card h2,
.site-shell .record-card h3 {
  margin-bottom: 12px;
  font-size: var(--fs-card-title);
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.site-shell .record-card h2 a:hover,
.site-shell .record-card h3 a:hover { color: var(--color-brand-deep); }
.site-shell .record-summary {
  max-width: 60ch;
  margin-bottom: 20px !important;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.site-shell .record-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-top: 2px;
  object-fit: cover;
  object-position: center;
}
.site-shell .record-card img[src=""] { display: none; }
.site-shell .empty-state {
  grid-column: 1 / -1;
  padding: 28px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 15px;
}

.site-shell .contact-band { padding-block: 52px; background: #26343e; color: #fff; }
.site-shell .contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-shell .contact-band .eyebrow { margin-bottom: 10px; color: #d3b989; }
.site-shell .contact-band h2 { font-size: clamp(22px, 2.2vw, 30px); }
.site-shell .site-footer { padding-block: 42px 36px; background: #172330; color: rgba(255,255,255,.78); }
.site-shell .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-shell .footer-wordmark { color: #fff; }
.site-shell .footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-shell .footer-links a { min-height: 40px; display: inline-flex; align-items: center; color: rgba(255,255,255,.78); font-size: 14px; }
.site-shell .footer-links a:hover { color: #e4c99d; }
.site-shell .footer-content { padding-top: 24px; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.site-shell .footer-content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-shell .footer-content ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; }

.site-shell .page-banner { padding-block: clamp(56px, 7vw, 84px); background: var(--color-paper); }
.site-shell .page-banner-inner { border-left: 2px solid var(--color-brand); padding-left: clamp(20px, 3vw, 36px); }
.site-shell .page-banner h1 { max-width: 24ch; font-size: var(--fs-page-title); overflow-wrap: anywhere; }
.site-shell .prose-section { min-height: 280px; }
.site-shell .reading-width { width: min(760px, calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.site-shell .list-intro { padding-block: clamp(44px, 5.2vw, 64px) 20px; }
.site-shell .dynamic-body { max-width: 80ch; }
.site-shell .list-section { padding-top: 28px; }
.site-shell .detail-section { padding-block: clamp(52px, 6vw, 76px) var(--section-y); }
.site-shell .detail-body { max-width: 760px; }
.site-shell .contact-section { padding-block: clamp(52px, 6vw, 76px); }
.site-shell .contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.site-shell .contact-content,
.site-shell .contact-form-slot { min-width: 0; overflow-wrap: anywhere; }
.site-shell .contact-form-slot { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--color-line); background: var(--color-paper); }
.site-shell .contact-form-slot:empty { display: none; }
.site-shell .map-section { padding-bottom: var(--section-y); }
.site-shell .map-panel { min-height: 80px; padding: 24px; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); color: var(--color-muted); overflow-wrap: anywhere; }
.site-shell .map-panel:empty { display: none; }
.site-shell .privacy-section { min-height: 55vh; }

@media (max-width: 1199px) {
  .site-shell {
    --page-gutter: 32px;
    --section-y: 60px;
    --fs-page-title: 34px;
    --fs-section-title: 29px;
  }
  .site-shell .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .site-shell .header-nav ul,
  .site-shell .header-nav ol { gap: 6px 18px; }
}
@media (max-width: 767px) {
  .site-shell {
    --page-gutter: 18px;
    --section-y: 38px;
    --fs-display: clamp(32px, 9vw, 42px);
    --fs-page-title: 27px;
    --fs-section-title: 23px;
    --fs-card-title: 18px;
    --fs-body: 16px;
    --fs-meta: 14px;
  }
  .site-shell .site-header,
  .site-shell .header-inner { min-height: 68px; }
  .site-shell .header-inner { gap: 12px; align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px; }
  .site-shell .wordmark { max-width: 100%; font-size: 16px; }
  .site-shell .header-nav { width: 100%; justify-content: flex-start; }
  .site-shell .header-nav ul,
  .site-shell .header-nav ol { justify-content: flex-start; gap: 0 16px; }
  .site-shell .header-nav a { min-height: 36px; font-size: 14px; }
  .site-shell .hero { min-height: 540px; align-items: flex-end; }
  .site-shell .hero-media img { object-position: 60% center; }
  .site-shell .hero-shade { background: linear-gradient(0deg, rgba(16,25,34,.9) 0%, rgba(16,25,34,.7) 47%, rgba(16,25,34,.18) 100%); }
  .site-shell .hero-inner { padding-block: 48px 42px; }
  .site-shell .hero-copy { grid-template-columns: 1fr; gap: 18px; }
  .site-shell .hero-aside { gap: 18px; padding: 0; }
  .site-shell .hero-aside p { max-width: 42ch; font-size: 15px; }
  .site-shell .hero-rule { margin-top: 30px; }
  .site-shell .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-shell .section-topline { display: grid; align-items: start; gap: 18px; margin-bottom: 26px; }
  .site-shell .section-links { gap: 6px 20px; }
  .site-shell .record-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-shell .record-card { padding-top: 16px; }
  .site-shell .contact-band { padding-block: 34px; }
  .site-shell .contact-band-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .site-shell .footer-top { align-items: flex-start; flex-direction: column; }
  .site-shell .footer-links { gap: 4px 18px; }
  .site-shell .page-banner { padding-block: 48px; }
  .site-shell .list-intro { padding-block: 36px 14px; }
  .site-shell .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .site-shell .contact-form-slot { padding: 20px; }
  .site-shell .map-panel { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell *,
  .site-shell *::before,
  .site-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
