:root {
  --navy: #102c46;
  --navy-deep: #091e31;
  --ink: #1d2935;
  --muted: #64717d;
  --line: #d9e1e7;
  --paper: #ffffff;
  --wash: #f3f6f8;
  --gold: #b28b52;
  --max: 1180px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; line-height: 1.85; background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  width: min(calc(100% - 48px), var(--max));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 700; text-decoration: none; letter-spacing: .06em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--navy); font-family: serif; font-size: 20px; }
nav { display: flex; gap: clamp(18px, 3vw, 38px); }
nav a { color: #42515e; font-size: 14px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--navy); }

.hero {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 108px) clamp(0px, 4vw, 50px);
  display: grid;
  grid-template-columns: 1fr minmax(250px, 326px);
  align-items: center;
  gap: clamp(48px, 9vw, 116px);
}

.eyebrow, .card-kicker { margin: 0 0 18px; color: var(--navy); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.hero h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(58px, 8vw, 96px); font-weight: 600; line-height: 1.05; letter-spacing: .12em; color: #0a1117; }
.identity { display: flex; align-items: center; gap: 18px; margin: 34px 0 14px; color: #67747f; font-size: clamp(17px, 2vw, 21px); }
.identity strong { color: var(--navy); font-size: 26px; }
.identity span { width: 1px; height: 24px; background: #9eabb5; }
.focus { margin: 0; color: #394854; font-size: 17px; letter-spacing: .04em; }
.focus i { padding: 0 6px; color: var(--gold); font-style: normal; }
.contact-button { display: inline-flex; margin-top: 32px; padding: 10px 20px; color: white; background: var(--navy); text-decoration: none; font-size: 15px; letter-spacing: .03em; transition: background .2s ease, transform .2s ease; }
.contact-button:hover { background: var(--navy-deep); transform: translateY(-1px); }

.portrait-frame { position: relative; margin: 0; padding: 14px 14px 0 0; }
.portrait-frame::before { content: ""; position: absolute; inset: 0 0 14px 14px; border: 1px solid var(--gold); z-index: -1; }
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 409 / 616; object-fit: cover; box-shadow: 0 22px 54px rgba(9, 30, 49, .13); }

.content-shell { padding: clamp(58px, 8vw, 92px) max(24px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: clamp(48px, 7vw, 90px); background: var(--wash); }
.section-block { scroll-margin-top: 24px; }
.section-block + .section-block { margin-top: 68px; }
.section-heading { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.section-heading > p { margin: 3px 0 0; color: var(--gold); font-family: Georgia, serif; font-size: 15px; }
.section-heading h2, .detail-card h2, .contact-intro h2 { margin: 0; color: var(--navy); font-size: 28px; line-height: 1.35; }
.section-heading span { display: block; margin-top: 4px; color: #7c8791; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.main-column > section > p { margin: 0 0 16px; color: #42515e; font-size: 16px; text-align: justify; }

.practice-grid { margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.practice-grid li { position: relative; padding: 17px 18px 17px 34px; border: 1px solid #d9e2e8; background: rgba(255,255,255,.72); color: #2a3945; font-size: 15px; line-height: 1.65; }
.practice-grid li::before { content: ""; position: absolute; left: 17px; top: 28px; width: 5px; height: 5px; background: var(--gold); }

.side-column { display: flex; flex-direction: column; gap: 24px; }
.detail-card { padding: 30px; background: white; border-top: 3px solid var(--navy); box-shadow: 0 14px 34px rgba(16, 44, 70, .06); }
.detail-card .card-kicker { margin-bottom: 4px; font-size: 11px; }
.detail-card h2 { margin-bottom: 22px; font-size: 23px; }
.detail-card dl { margin: 0; }
.detail-card dl > div { padding: 13px 0; border-top: 1px solid var(--line); }
.detail-card dt { color: #273642; font-weight: 700; font-size: 15px; line-height: 1.55; }
.detail-card dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.media-card a { display: block; margin-top: 12px; padding: 13px 15px; color: var(--navy); border: 1px solid var(--line); text-decoration: none; font-weight: 700; line-height: 1.5; }
.media-card a:hover { border-color: var(--gold); }
.media-card a span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }

.contact-section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: clamp(62px, 8vw, 94px) 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(48px, 8vw, 112px); scroll-margin-top: 24px; }
.contact-intro .eyebrow { margin-bottom: 4px; }
.contact-intro h2 { margin-bottom: 26px; font-size: 30px; }
address { font-style: normal; }
address > div { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
address span { color: var(--navy); font-size: 14px; font-weight: 700; }
address p { margin: 0; color: #4c5a66; font-size: 16px; }
address a { color: var(--navy); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.qr-grid { display: grid; grid-template-columns: repeat(2, 188px); gap: 28px; }
.qr-grid figure { margin: 0; text-align: center; }
.qr-grid figcaption { margin-bottom: 12px; color: var(--navy); font-size: 15px; font-weight: 800; }
.qr-code { width: 188px; height: 188px; background: white; }

footer { padding: 24px; color: #afbac2; background: var(--navy-deep); text-align: center; font-size: 13px; letter-spacing: .08em; }
footer p { margin: 0; }
.knowledge-strip { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 30px 0 54px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.knowledge-strip .eyebrow { margin-bottom: 8px; }
.knowledge-strip h2 { margin: 0 0 7px; color: var(--navy); font-size: 22px; }
.knowledge-strip p:not(.eyebrow) { max-width: 600px; margin: 0; color: var(--muted); font-size: 14px; }
.text-link { color: var(--navy); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--gold); }

/* Article pages */
.article-wrap { width: min(calc(100% - 48px), 920px); margin: 0 auto; padding: clamp(58px, 8vw, 98px) 0 90px; }
.article-meta { margin: 0 0 16px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.article-wrap h1 { max-width: 800px; margin: 0 0 18px; color: var(--navy); font-family: "Songti SC", "STSong", serif; font-size: clamp(34px, 5vw, 58px); line-height: 1.25; }
.article-lede { margin: 0 0 42px; color: var(--muted); font-size: 18px; }
.article-body { padding-top: 34px; border-top: 1px solid var(--line); }
.article-body h2 { margin: 34px 0 12px; color: var(--navy); font-size: 23px; line-height: 1.45; }
.article-body p, .article-body li { color: #354653; font-size: 17px; line-height: 1.9; }
.article-body ul { padding-left: 22px; }
.article-source { margin-top: 42px; padding: 20px 22px; background: var(--wash); color: var(--muted); font-size: 14px; line-height: 1.7; }
.article-source a { color: var(--navy); }
.article-back { display: inline-block; margin-top: 34px; color: var(--navy); font-weight: 800; text-decoration: none; }
.article-back:hover { color: var(--gold); }
.article-body .practice-grid a { position: relative; display: block; padding: 22px 22px 21px; border: 1px solid var(--line); background: white; color: var(--navy); text-decoration: none; line-height: 1.55; }
.article-body .practice-grid a:hover { border-color: var(--gold); }
.article-body .practice-grid a span { display: block; margin-bottom: 5px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.article-body .practice-grid a strong { font-size: 16px; }
@media (max-width: 600px) { .knowledge-strip { width: calc(100% - 40px); display: block; padding-bottom: 44px; } .knowledge-strip .text-link { display: inline-block; margin-top: 18px; } .article-wrap { width: calc(100% - 40px); padding-top: 48px; } .article-lede { font-size: 16px; } .article-body p, .article-body li { font-size: 16px; } }

@media (max-width: 860px) {
  .site-header { width: min(calc(100% - 36px), var(--max)); min-height: 70px; }
  nav { display: none; }
  .hero { width: min(calc(100% - 40px), var(--max)); grid-template-columns: minmax(0, 1fr) 210px; gap: 38px; padding: 58px 0 68px; }
  .content-shell { grid-template-columns: 1fr; }
  .side-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-card { grid-column: 1 / -1; }
  .contact-section { grid-template-columns: 1fr; }
  .qr-grid { justify-content: start; }
}

@media (max-width: 600px) {
  body { line-height: 1.75; }
  .site-header { width: calc(100% - 32px); }
  .hero { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 34px; padding: 44px 0 54px; }
  .hero-copy { order: 1; }
  .portrait-frame { order: 0; width: min(62vw, 230px); justify-self: end; }
  .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: 58px; }
  .identity { flex-wrap: wrap; gap: 10px 14px; margin-top: 24px; font-size: 17px; }
  .identity strong { font-size: 23px; }
  .focus { font-size: 15px; }
  .contact-button { width: 100%; justify-content: center; padding: 13px 18px; }
  .content-shell { padding: 52px 20px; gap: 52px; }
  .section-block + .section-block { margin-top: 52px; }
  .section-heading h2 { font-size: 25px; }
  .practice-grid { grid-template-columns: 1fr; }
  .side-column { display: flex; }
  .detail-card { padding: 26px 22px; }
  .contact-section { width: calc(100% - 40px); padding: 54px 0 60px; gap: 38px; }
  address > div { grid-template-columns: 48px 1fr; }
  .qr-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .qr-code { width: 100%; height: auto; aspect-ratio: 1; }
  .qr-grid figcaption { font-size: 14px; }
}

@media (max-width: 390px) {
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .qr-grid { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-button { transition: none; }
}
