/* ============================================================
   TIAS — Trade & Industry Association (Singapore)
   Editorial redesign — "chamber gazette" design system.
   Navy / gold / ivory broadsheet aesthetic: serif display type
   (Fraunces), double rules, numbered sections, ledgers.
   Mobile-first, no frameworks.
   ============================================================ */

:root {
  --navy: #10263f;
  --navy-2: #16324f;
  --navy-ink: #0a1929;
  --gold: #c19a3f;
  --gold-deep: #86641c;
  --gold-soft: rgba(193, 154, 63, 0.12);
  --ivory: #faf8f4;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #202a35;
  --slate: #47525e;
  --muted: #66707c;
  --hairline: #e0d8c4;
  --hairline-soft: #ece5d4;
  --hairline-dark: rgba(16, 38, 63, 0.16);
  --shadow-sm: 0 1px 2px rgba(16, 38, 63, 0.05);
  --radius: 4px;
  --font-display: "Fraunces", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 58px;
  --measure: 68ch;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.012em;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 {
  font-family: "Fraunces", "Noto Serif SC", "Songti SC", "SimSun", serif;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); letter-spacing: -0.022em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -0.016em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: -0.006em; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--navy-2); text-decoration-color: rgba(22, 50, 79, 0.35); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
img, svg, iframe { max-width: 100%; }
ul, ol { padding-left: 1.3em; }
strong { color: var(--ink); }
hr { border: 0; }

::selection { background: rgba(193, 154, 63, 0.32); color: var(--navy-ink); }

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

/* subtle, quiet scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: #cdc6b2; border: 2px solid var(--ivory); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scrollbar-width: thin; scrollbar-color: #cdc6b2 var(--ivory); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 400;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.88rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }

/* full-bleed navy band */
.band--navy {
  background: var(--navy);
  color: #c7d0dc;
}
.band--navy h1, .band--navy h2, .band--navy h3 { color: #fbf7ec; }
.band--navy .kicker { color: var(--gold); }

/* ---------- Editorial devices ---------- */

/* kicker: small-caps gold eyebrow with a rule leader */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}
.kicker::after {
  content: "";
  height: 1px;
  width: 64px;
  background: var(--gold);
}
.kicker--center { justify-content: center; }
html[lang="zh-CN"] .kicker { letter-spacing: 0.3em; }

/* double rule — 3px over 1px, the gazette signature */
.rule-double {
  border-top: 3px solid var(--navy);
  position: relative;
}
.rule-double::after {
  content: "";
  display: block;
  margin-top: 2px;
  border-top: 1px solid var(--navy);
}
.rule-double--gold { border-top-color: var(--gold); }
.rule-double--gold::after { border-top-color: var(--gold); }

.rule-hair { border: 0; border-top: 1px solid var(--hairline); margin: 28px 0; }

/* numbered section heading: "01 — Starting a Business" */
.sec-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.62em;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  margin-right: 0.55em;
  vertical-align: 0.14em;
}
.sec-num::after {
  content: "—";
  margin-left: 0.55em;
  color: var(--gold);
  font-weight: 400;
}
html[lang="zh-CN"] .sec-num { letter-spacing: 0; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

.lead {
  font-size: 1.14rem;
  line-height: 1.65;
  color: var(--ink);
}
.section-head .lead, .lead--quiet { color: var(--slate); }

/* drop cap for article leads */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.3em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--gold-deep);
}
html[lang="zh-CN"] .dropcap::first-letter { padding: 0.1em 0.16em 0 0; }

/* multi-column body text (about pages) */
.text-columns {
  columns: 2 300px;
  column-gap: 3rem;
  column-rule: 1px solid var(--hairline);
}
.text-columns p { margin-top: 0; }

/* pull quote with oversized gold quote mark */
.pull-quote {
  position: relative;
  margin: 40px 0;
  padding: 26px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--hairline);
}
.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: -6px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 4.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.pull-quote p { margin: 0; }

/* byline / dateline */
.byline, .dateline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dateline { color: var(--gold-deep); }
.byline strong { color: var(--navy); font-weight: 600; }
html[lang="zh-CN"] .byline, html[lang="zh-CN"] .dateline { letter-spacing: 0.1em; }

/* breadcrumb */
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; margin: 0; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
html[lang="zh-CN"] .btn { letter-spacing: 0.2em; }

.btn--gold {
  background: var(--gold);
  color: var(--navy-ink);
}
.btn--gold:hover { background: #d0ab54; color: var(--navy-ink); }

.btn--navy { background: var(--navy); color: #f5efe0; }
.btn--navy:hover { background: var(--navy-2); color: #f5efe0; }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 38, 63, 0.4);
}
.btn--outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); background: var(--gold-soft); }

.btn--ghost-light {
  background: transparent;
  color: #ede4cd;
  border-color: rgba(237, 228, 205, 0.45);
}
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }

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

/* text link with rule reveal */
.tlink {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  padding-bottom: 6px;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 2px no-repeat;
  transition: background-size 0.25s ease, color 0.15s ease;
}
.tlink::after { content: "→"; color: var(--gold-deep); }
.tlink:hover { background-size: 100% 2px; color: var(--gold-deep); }
html[lang="zh-CN"] .tlink { letter-spacing: 0.2em; }

/* ---------- Masthead & navigation ---------- */
.site-header { position: relative; z-index: 150; }

.masthead {
  background: var(--ivory);
  padding: 26px 0 0;
}
.masthead__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand:hover { color: var(--navy); }
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--navy);
}
.brand__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin: 7px 0 5px;
}
.brand__name {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[lang="zh-CN"] .brand__name { letter-spacing: 0.28em; }

.masthead__rule {
  border-top: 3px solid var(--navy);
}
.masthead__rule::after {
  content: "";
  display: block;
  margin-top: 2px;
  border-top: 1px solid var(--navy);
}

.masthead__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }

/* sticky broadsheet nav bar */
.site-nav-bar {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.2s ease;
}
.site-nav-bar.is-scrolled { box-shadow: 0 2px 16px rgba(16, 38, 63, 0.08); }
.site-nav-bar__inner {
  display: flex;
  align-items: center;
  min-height: var(--nav-h);
}
.site-nav { margin: 0 auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 13px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
html[lang="zh-CN"] .site-nav a { letter-spacing: 0.18em; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav a:hover { color: var(--gold-deep); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--navy); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 4px;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Heroes — each page gets its own composition ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #e6e0d2;
  overflow: hidden;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: 110px 0 100px;
  max-width: 860px;
}
.hero .kicker { color: var(--gold); }
.hero .kicker::after { background: var(--gold); }
.hero h1 {
  color: #fdfbf4;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}
html[lang="zh-CN"] .hero h1 { letter-spacing: 0; }
.hero .lead { color: #ccd5e0; font-size: 1.12rem; max-width: 700px; }
.hero strong { color: #f0dfae; }
.hero__rule {
  width: 84px;
  border-top: 3px solid var(--gold);
  margin: 0 0 30px;
  position: relative;
}
.hero__rule::after {
  content: "";
  display: block;
  margin-top: 3px;
  width: 42px;
  border-top: 1px solid var(--gold);
}
.hero .btn-row { margin-top: 38px; }

/* sub-page hero: calmer, rule-driven */
.hero--page .hero__inner { padding: 76px 0 70px; max-width: 780px; }
.hero--page h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* ---------- Values ticker strip ---------- */
.ticker {
  background: var(--navy-ink);
  border-top: 1px solid rgba(193, 154, 63, 0.35);
  border-bottom: 1px solid rgba(193, 154, 63, 0.35);
  overflow: hidden;
  padding: 13px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-run 36s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker__item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d9c68a;
  white-space: nowrap;
  padding: 0 26px;
}
html[lang="zh-CN"] .ticker__item { letter-spacing: 0.5em; }
.ticker__sep { color: var(--gold); font-size: 0.7rem; }
@keyframes ticker-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Editorial index rows (pillars, insights index) ---------- */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); }
.index-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.index-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.index-item:hover::before { width: 100%; }
.index-item__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}
.index-item h3 { margin-bottom: 8px; }
.index-item h3 a { color: var(--navy); text-decoration: none; }
.index-item h3 a:hover { color: var(--gold-deep); }
.index-item p { margin: 0; max-width: 64ch; }
.index-item .tlink { margin-top: 12px; }
.index-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
}

/* ---------- Ledger (membership categories, register) ---------- */
.ledger {
  width: 100%;
  border-collapse: collapse;
  border-top: 3px solid var(--navy);
  font-size: 0.95rem;
}
.ledger caption {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0 0 12px;
}
.ledger th, .ledger td {
  padding: 16px 18px 16px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
}
.ledger thead th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--navy);
}
.ledger tbody th {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.ledger tbody tr { transition: background 0.15s ease; }
.ledger tbody tr:hover { background: var(--gold-soft); }
.ledger .ledger__fee { color: var(--gold-deep); font-weight: 600; white-space: nowrap; }

/* ---------- Cards (quiet, editorial) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-top: 3px solid var(--navy);
  border-radius: 0;
  padding: 30px 28px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.card:hover::after { width: 100%; }
.card:hover { border-color: var(--hairline); background: var(--white); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.card__icon svg { width: 22px; height: 22px; }

.card__fee {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 5px 14px;
  margin-top: 8px;
}

/* numbered cards */
.card--numbered { padding-top: 34px; }
.card__number {
  position: absolute;
  top: -19px;
  left: 24px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ivory);
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--navy);
  color: #c7d0dc;
  padding: 76px 0;
}
.stat-strip .kicker { color: var(--gold); }
.stat-strip .kicker::after { background: var(--gold); }
.stat-strip__heading { color: #fdfbf4; margin-bottom: 40px; }
.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}
.stat {
  border-top: 3px solid var(--gold);
  padding-top: 22px;
  position: relative;
}
.stat::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 34px;
  border-top: 1px solid rgba(193, 154, 63, 0.6);
}
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.stat__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #f2e9cf;
  margin-bottom: 8px;
}
.stat__body { font-size: 0.9rem; color: #a9b5c3; margin: 0; }

/* ---------- Values row ---------- */
.values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  text-align: center;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--hairline);
}
.value-item {
  padding: 34px 20px;
}
.value-item + .value-item { border-left: 1px solid var(--hairline); }
.value-item h3 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-item h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}
.value-item p { font-size: 0.92rem; margin: 0; }
.values-row--boxed {
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--navy);
  background: var(--paper);
}

/* ---------- Steps (numbered flow) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-top: 3px solid var(--gold);
  padding: 26px 24px 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; margin: 0; }
.steps--vertical { grid-template-columns: 1fr; }
.steps--vertical .step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 22px; padding: 22px 24px; }
.steps--vertical .step::before { grid-row: span 2; margin: 0; font-size: 2rem; }
.steps--vertical .step h3 { margin-bottom: 4px; }

/* ---------- Checklist ---------- */
.check-list { list-style: none; margin: 0; padding: 0; counter-reset: check; }
.check-list li {
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--slate);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396731f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/13px no-repeat,
    var(--gold-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #c7d0dc;
  position: relative;
  overflow: hidden;
}
.cta-band .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding-top: 68px;
  padding-bottom: 68px;
}
.cta-band .kicker { color: var(--gold); }
.cta-band .kicker::after { background: var(--gold); }
.cta-band h2 { color: #fdfbf4; margin-bottom: 10px; }
.cta-band p { max-width: 560px; margin: 0; }
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 3px solid var(--gold);
}

/* ---------- Split layouts (asymmetric 12-col) ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 56px; align-items: start; }
.split > * { min-width: 0; }
.resource-content, .article-body, .article-grid > *, .contact-grid > *, .resource-layout > * { min-width: 0; }
.split__main { grid-column: span 7; }
.split__rail { grid-column: span 5; }
.split--wide-rail .split__main { grid-column: span 8; }
.split--wide-rail .split__rail { grid-column: span 4; }

.panel {
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-top: 3px solid var(--navy);
  padding: 34px;
}
.panel--gold { border-top-color: var(--gold); }
.panel > :last-child { margin-bottom: 0; }

.offset-block {
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-left: 3px solid var(--gold);
  padding: 30px 32px;
}

/* ---------- Data tables (editorial ledger style) ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  margin: 24px 0 32px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}
.data-table caption {
  text-align: left;
  padding: 14px 18px 14px 0;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--hairline);
}
.data-table th,
.data-table td {
  padding: 13px 18px 13px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline-soft);
}
.data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.data-table thead th {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--navy);
}
.data-table tbody tr { transition: background 0.15s ease; }
.data-table tbody tr:hover { background: var(--gold-soft); }
.data-table tbody th[scope="row"] { color: var(--navy); font-weight: 600; }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td { font-variant-numeric: tabular-nums; }

/* ---------- Link chips ---------- */
.link-chips {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--hairline-dark);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.chip-link::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  background: currentColor;
  opacity: 0.65;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.chip-link:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-soft); }

/* ---------- Callout / disclaimer ---------- */
.callout {
  border: 1px solid rgba(150, 115, 31, 0.4);
  border-left: 3px solid var(--gold-deep);
  background: #fbf5e7;
  padding: 22px 26px;
  font-size: 0.94rem;
  color: var(--ink);
}
.callout p:last-child { margin-bottom: 0; }
.callout--plain { border-left-color: var(--navy); border-color: var(--hairline); background: var(--paper); }

/* ---------- Resources layout (ledger TOC + sticky rail) ---------- */
.resource-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.resource-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: transparent;
  border-top: 3px solid var(--navy);
  padding: 20px 0 0;
}
.resource-toc h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.resource-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.resource-toc a {
  counter-increment: toc;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 4px;
  font-size: 0.9rem;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-soft);
  transition: color 0.15s ease, background 0.15s ease;
}
.resource-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--gold);
  flex: none;
}
.resource-toc a:hover { color: var(--navy); background: var(--gold-soft); }
.resource-toc a.is-active { color: var(--navy); font-weight: 600; background: var(--gold-soft); }
.resource-section {
  padding: 44px 0 12px;
  border-top: 1px solid var(--hairline);
  margin-top: 32px;
}
.resource-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.resource-section > h2 { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.resource-section h3 { margin-top: 34px; }
.resource-section .lead { font-size: 1.04rem; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(193, 154, 63, 0.22);
}
.form-field [aria-invalid="true"] { border-color: #a33a2a; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }

/* honeypot — hidden via CSS, never type=hidden */
.hp-wrap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--slate);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--gold-deep);
}

.form-status {
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  border-left: 3px solid transparent;
}
.form-status--success { background: #eef4e9; border-color: #4c7a43; color: #2f5d33; }
.form-status--error { background: #faefec; border-color: #a33a2a; color: #8a3a2d; }
.form-status--info { background: var(--gold-soft); border-color: var(--gold-deep); color: var(--ink); }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  background: var(--navy);
  color: #c7d0dc;
  border-top: 3px solid var(--gold);
}
.newsletter-band .container {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: center;
}
.newsletter-band h2 { color: #fdfbf4; }
.newsletter-band p { margin: 0; color: #b3bfcd; }
.newsletter-form { display: grid; gap: 14px; }
.newsletter-form__row { display: flex; gap: 0; }
.newsletter-form__row input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--gold);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 13px 16px;
}
.newsletter-form__row input[type="email"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 154, 63, 0.3);
}
.newsletter-form__row .btn { border-radius: 0 var(--radius) var(--radius) 0; flex: none; }
.newsletter-form .consent { color: #b3bfcd; }
.newsletter-form .consent a { color: #d9c68a; }
.newsletter-form__privacy { font-size: 0.8rem; margin: 0; }
.newsletter-form__privacy a { color: #d9c68a; }
.newsletter-form .form-status { margin-top: 0; }
.newsletter-form .form-status--success { background: rgba(76, 122, 67, 0.22); color: #cfe3c8; }
.newsletter-form .form-status--error { background: rgba(163, 58, 42, 0.22); color: #f2cdc4; }
.newsletter-form .form-status--info { background: rgba(193, 154, 63, 0.18); color: #f0e3bd; }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 3px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-deep);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item__body {
  padding: 0 4px 24px;
  max-width: var(--measure);
}
.faq-item__body p { margin: 0; }

/* ---------- News (live wire) ---------- */
.news-masthead {
  border-bottom: 1px solid var(--hairline);
}
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--navy);
}
.news-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filter {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--hairline-dark);
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s ease;
}
.news-filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.news-filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #f0e6c8;
}
.news-updated { font-size: 0.8rem; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }

/* the wire: ruled rows, not cards */
.news-grid { display: block; border-top: 1px solid var(--hairline); }
.news-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 28px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  position: relative;
  transition: background 0.15s ease;
}
.news-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.news-card:hover { background: var(--paper); }
.news-card:hover::after { width: 100%; }
.news-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 4px 0 0;
  grid-row: span 2;
}
.news-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.news-badge--bt { background: #14324e; color: #e8d9ae; }
.news-badge--cna { background: #7a1f22; color: #f6e3e3; }
.news-badge--st { background: #3d4a28; color: #e9eed9; }
.news-card__time { font-size: 0.76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.004em;
}
.news-card__title a { color: var(--navy); text-decoration: none; }
.news-card__title a:hover { color: var(--gold-deep); }
.news-card__excerpt { font-size: 0.9rem; color: var(--slate); margin: 0; max-width: 72ch; grid-column: 2; }

.news-error {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--hairline-dark);
}
.news-error p { max-width: 520px; margin: 0 auto 22px; }

/* skeleton loaders */
.news-card--skeleton { pointer-events: none; grid-template-columns: 1fr; }
.skel {
  display: block;
  border-radius: 2px;
  background: linear-gradient(90deg, #eae4d3 25%, #f5f1e6 50%, #eae4d3 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease infinite;
}
.skel-badge { width: 56px; height: 16px; margin-bottom: 12px; }
.skel-line { height: 12px; margin-bottom: 10px; }
.skel-line--title { height: 18px; width: 88%; }
.skel-line--short { width: 55%; }
@keyframes skel-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Article layout (magazine) ---------- */
.article-head {
  padding: 64px 0 44px;
  border-bottom: 3px solid var(--navy);
}
.article-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 20ch;
  margin-bottom: 22px;
}
html[lang="zh-CN"] .article-head h1 { max-width: none; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: baseline;
}
.article-meta .byline { color: var(--slate); }

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  padding: 56px 0;
  align-items: start;
}
.article-body { max-width: var(--measure); }
.article-body > p:first-of-type { font-size: 1.13rem; line-height: 1.7; color: var(--ink); }
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.3em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--gold-deep);
}
.article-body h2 {
  margin: 48px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}
.article-body h2:first-of-type { border-top: 0; padding-top: 0; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; }
.article-body li { margin-bottom: 8px; }
.article-body .table-scroll { margin: 26px 0 34px; }
.article-disclaimer {
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  margin-top: 40px;
}

/* key takeaways box */
.takeaways {
  margin: 44px 0;
  padding: 28px 30px 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
}
.takeaways__title {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-bottom: 8px; }
.takeaways li:last-child { margin-bottom: 0; }

/* article side rail */
.article-rail {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  border-top: 3px solid var(--navy);
  padding-top: 22px;
}
.article-rail .pull-quote {
  font-size: 1.25rem;
  margin: 26px 0 0;
  padding-top: 34px;
}
.article-rail .pull-quote::before { top: 0; }
.rail-block { margin-bottom: 24px; }
.rail-block dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.rail-block dd { margin: 0; color: var(--ink); font-size: 0.94rem; }

/* related articles + prev/next */
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.related-list li { border-top: 1px solid var(--hairline); }
.related-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 4px;
  text-decoration: none;
  color: var(--navy);
  transition: background 0.15s ease;
}
.related-list a:hover { background: var(--gold-soft); }
.related-list .related-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.05rem;
  flex: none;
}
.related-list .related-title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.related-list .related-meta { margin-left: auto; font-size: 0.76rem; color: var(--muted); white-space: nowrap; }

.prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 3px solid var(--navy);
  margin-top: 56px;
}
.prevnext a {
  display: block;
  padding: 24px 20px 26px;
  text-decoration: none;
  color: var(--navy);
  transition: background 0.15s ease;
}
.prevnext a:hover { background: var(--gold-soft); }
.prevnext a + a { border-left: 1px solid var(--hairline); text-align: right; }
.prevnext .prevnext__dir {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.prevnext .prevnext__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
}
.prevnext a[aria-disabled="true"] { color: var(--muted); pointer-events: none; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.info-list { display: grid; gap: 0; border-top: 3px solid var(--navy); margin: 0 0 30px; }
.info-item {
  padding: 18px 4px;
  border-bottom: 1px solid var(--hairline);
}
.info-item dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}
.info-item dd { margin: 0; color: var(--ink); font-size: 1rem; }
.map-frame {
  width: 100%;
  min-height: 340px;
  border: 1px solid var(--hairline);
  display: block;
  background: var(--hairline-soft);
  filter: grayscale(0.35) sepia(0.08);
}

/* ---------- Prose (privacy, misc) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.prose .updated {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: #a9b5c3;
}
.footer-newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-newsletter .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px 56px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 56px;
}
.footer-newsletter h2 {
  color: #f5eed9;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.008em;
  margin-bottom: 10px;
}
.footer-newsletter p { margin: 0; font-size: 0.92rem; color: #9fabb9; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 44px;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand__wordmark { color: #f5eed9; font-size: 1.6rem; }
.footer-brand .brand__rule { background: rgba(193, 154, 63, 0.6); width: 120px; }
.footer-brand .brand__name { color: #8d99a8; }
.site-footer h2 {
  color: #d9c68a;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer p { font-size: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #a9b5c3; text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold); }
.footer-contact dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7e8b9b;
  margin-bottom: 2px;
}
.footer-contact dd { margin: 0 0 14px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: #7e8b9b; }
.footer-colophon {
  font-size: 0.72rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #667382;
}
.footer-bottom nav ul { display: flex; gap: 22px; }
.footer-bottom nav li { margin: 0; }
.footer-bottom a { font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .resource-layout { grid-template-columns: 1fr; gap: 40px; }
  .resource-toc { position: static; }
  .resource-toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .resource-toc a {
    border: 1px solid var(--hairline-dark);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.84rem;
  }
  .resource-toc a.is-active { border-color: var(--navy); background: var(--navy); color: #f0e6c8; }
  .resource-toc a.is-active::before { color: var(--gold); }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-rail { position: static; order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .split, .split--wide-rail { grid-template-columns: 1fr; }
  .split__main, .split__rail, .split--wide-rail .split__main, .split--wide-rail .split__rail { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: var(--ivory);
    padding: calc(var(--nav-h) + 40px) 32px 40px;
    display: none;
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--hairline); }
  .site-nav a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  html[lang="zh-CN"] .site-nav a { letter-spacing: 0.06em; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold-deep); }
  body.nav-open { overflow: hidden; }
  .brand__name { max-width: 46vw; }
  .masthead { padding-top: 18px; }
  .masthead__inner { padding-bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-newsletter .container,
  .newsletter-band .container { grid-template-columns: 1fr; gap: 26px; }
  .news-card { grid-template-columns: 1fr; gap: 8px; }
  .news-card__meta { flex-direction: row; align-items: center; gap: 12px; grid-row: auto; }
  .news-card__excerpt { grid-column: 1; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero__inner { padding: 72px 0 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .newsletter-form__row { flex-direction: column; gap: 12px; }
  .newsletter-form__row input[type="email"] { border-right: 1px solid var(--gold); border-radius: var(--radius); }
  .newsletter-form__row .btn { border-radius: var(--radius); }
  .news-updated { margin-left: 0; width: 100%; }
  .values-row { border-bottom: 0; }
  .value-item + .value-item { border-left: 0; border-top: 1px solid var(--hairline); }
  .index-item { grid-template-columns: 1fr; gap: 6px; }
  .index-item__num { font-size: 1.15rem; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a + a { border-left: 0; border-top: 1px solid var(--hairline); text-align: left; }
  .related-list .related-meta { display: none; }
  .article-head h1 { max-width: none; }
}

/* ---------- Print ---------- */
@media print {
  :root { --nav-h: 0px; }
  html { scroll-padding-top: 0; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .ticker, .btn-row, .news-toolbar,
  .article-rail, .related, .prevnext, .newsletter-band,
  form, .map-frame, .skip-link, .breadcrumb { display: none !important; }
  .hero, .band--navy, .stat-strip, .cta-band { background: #fff !important; color: #000 !important; padding: 0 0 12pt !important; }
  .hero h1, .band--navy h1, .band--navy h2, .cta-band h2, .stat-strip__heading { color: #000 !important; }
  .hero .lead, .hero strong, .stat__body, .cta-band p { color: #000 !important; }
  .stat__number, .stat__label { color: #000 !important; }
  .section { padding: 16pt 0; }
  .article-grid, .resource-layout, .contact-grid, .split { display: block; }
  .article-body, .prose { max-width: 100%; }
  a { color: #000; text-decoration: underline; }
  .data-table, .ledger { font-size: 9pt; }
  .data-table thead th { color: #000; border-bottom: 1.5pt solid #000; }
  h2, h3 { page-break-after: avoid; }
  .takeaways, .callout, .card, .step { border: 0.75pt solid #999; page-break-inside: avoid; }
  .faq-item { page-break-inside: avoid; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; width: auto; flex-wrap: wrap; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ── Registry identity details (v2.1) ───────────────────────── */
.brand__est {
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c19a3f;
  border: 1px solid rgba(193, 154, 63, 0.55);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: center;
}
.footer-registry {
  color: rgba(250, 248, 244, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}
.registry-line {
  font-family: "Fraunces", "Noto Serif SC", serif;
  font-size: 1.02rem;
  border-top: 3px double #c19a3f;
  padding-top: 18px;
  margin-top: 34px;
  color: #4a5568;
}
@media (max-width: 720px) {
  .brand__est { display: none; }
}

/* ── Official emblem integration (v2.2) ─────────────────────── */
.brand__emblem {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin-right: 14px;
  flex: 0 0 auto;
}
.brand { display: flex; align-items: center; }
.footer-brand__emblem {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 14px;
  display: block;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .footer-brand__emblem { margin-bottom: 0; }
@media (max-width: 720px) {
  .brand__emblem { width: 40px; height: 40px; margin-right: 10px; }
}

/* ── Photography (v2.3) ─────────────────────────────────────── */
.hero--photo .hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.34;
}
.hero--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,38,63,.95) 0%, rgba(16,38,63,.78) 48%, rgba(16,38,63,.5) 100%);
}
.hero--photo .hero__inner, .hero--photo .hero__pattern { z-index: 1; }
.hero--photo .hero__pattern { position: absolute; }
.hero--photo::after { z-index: 0; }
.hero--photo .container { position: relative; }

.photo-card {
  margin: 0 0 24px; background: #fff;
  border: 1px solid rgba(16,38,63,.14); padding: 10px 10px 12px;
  box-shadow: 0 12px 32px rgba(16,38,63,.09);
}
.photo-card img { width: 100%; display: block; }
.photo-card figcaption {
  padding: 10px 4px 0; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: #86641c; font-weight: 600;
}
.photo-band { margin: 0; line-height: 0; }
.photo-band img { width: 100%; height: 360px; object-fit: cover; display: block; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.photo-grid .photo-card { margin: 0; }
.article-featured { margin: 30px 0 6px; }
.article-featured img { width: 100%; display: block; border: 1px solid rgba(16,38,63,.14); }
.article-featured figcaption {
  padding: 10px 2px 0; font-size: .74rem; letter-spacing: .16em;
  text-transform: uppercase; color: #86641c; font-weight: 600;
}
.insight-thumb {
  float: left; width: 250px; aspect-ratio: 3 / 2; object-fit: cover;
  margin: 6px 24px 12px 0; border: 1px solid rgba(16,38,63,.14);
}
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: 1fr; }
  .insight-thumb { float: none; width: 100%; margin: 0 0 16px; }
  .photo-band img { height: 240px; }
}

/* ── Brand lockup fix (v2.3.1): emblem LEFT, wordmark stack RIGHT ── */
.brand { flex-direction: row; align-items: center; gap: 18px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__emblem { width: 64px; height: 64px; margin-right: 0; }
@media (max-width: 720px) {
  .brand { gap: 12px; }
  .brand__emblem { width: 48px; height: 48px; }
}

/* footer lockup wrap fix */
.footer-brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name--footer { white-space: normal; overflow: visible; text-overflow: clip; }

/* v2.3.2 — mobile masthead: let the full society name wrap, never ellipsize */
@media (max-width: 720px) {
  .masthead .brand__name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 54vw;
    line-height: 1.55;
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }
}
