/* ==========================================================================
   聯盟智庫 · 靜態站樣式表
   復刻自原站設計系統：深藍 #20364d / 米白 #f5f3ee / 琥珀 #c88d3e
   純 CSS，無任何 JS 依賴，內容在 JS 關閉時仍完整可讀。
   ========================================================================== */

/* ---------- 1. 設計 Token ---------- */
:root {
  --ink: #20364d;
  --ink-soft: #29445f;
  --ink-mute: #73808d;
  --ink-faint: #99a2a9;
  --paper: #f5f3ee;
  --paper-alt: #eeeae2;
  --paper-card: #f6f3ed;
  --gold: #c88d3e;
  --gold-deep: #b37c38;
  --gold-soft: #d2a35e;
  --gold-pale: #e2b563;
  --line: #d2d5d2;
  --line-strong: #cad0d2;
  --copy: #c4ccd0;

  --serif: "Noto Serif TC", "Songti TC", "SimSun", Georgia, serif;
  --sans: "DM Sans", "PingFang TC", "Microsoft JhengHei", -apple-system,
    "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(24px, 6vw, 96px);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

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

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; border: 0; }
button, a { font: inherit; }
a { color: inherit; }

/* 無障礙：跳至主內容 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 13px;
}
.skip-link:focus { left: 0; }

/* 無障礙：保留語意標題層級但視覺隱藏（供螢幕閱讀器與搜尋引擎理解結構） */
.sr-only {
  position: absolute;
  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;
}

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

.site-shell { background: var(--paper); overflow-x: hidden; }

/* ---------- 2. 頂欄 / 導覽 ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 94px;
  padding: 0 var(--pad-x);
  background: var(--paper);
  border-bottom: 1px solid rgba(32, 54, 77, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 22px;
  font-style: italic;
}
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.1em;
}
.brand small {
  display: block;
  margin-top: 2px;
  color: #a17a47;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  gap: 42px;
  margin-left: auto;
  margin-right: 55px;
}
.main-nav a {
  position: relative;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--gold);
}

.menu-button {
  display: grid;
  gap: 5px;
  padding: 9px 0 9px 18px;
  background: none;
  border: 0;
  border-left: 1px solid var(--line-strong);
}
.menu-button span { display: block; width: 24px; height: 1px; background: var(--ink); }

/* ---------- 3. 首頁 Hero ---------- */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(390px, 42%) 1fr;
  min-height: 620px;
  position: relative;
}
.hero-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 96px) clamp(30px, 6vw, 92px);
  background: var(--paper);
  position: relative;
}
.eyebrow, .section-kicker, .modal-kicker {
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }

.hero-copy h1 {
  margin: 38px 0 19px;
  font-family: var(--serif);
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.hero-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.gold-rule { height: 1px; max-width: 450px; margin: 27px 0 16px; background: var(--gold-soft); }
.english-title {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #bb843e;
}
.english-title b { padding: 0 7px; font-weight: 400; }

.primary-button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 212px;
  margin-top: 32px;
  padding: 17px 20px;
  background: #263242;
  color: #f9f8f3;
  border: 0;
  border-bottom: 3px solid var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
}
.primary-button:hover { background: var(--gold-deep); transform: translateY(-2px); }
.primary-button span { font-size: 22px; font-weight: 400; line-height: 0.5; }

.hero-visual {
  position: relative;
  min-height: 620px;
  background-color: #d9dde0;
  background-image: url("../assets/home-hero.jpg");
  background-size: cover;
  background-position: 100%;
}
.visual-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 243, 238, 0.95) 0%, rgba(245, 243, 238, 0.28) 19%, rgba(0, 0, 0, 0) 43%);
}
.visual-orbit { position: absolute; width: 10px; height: 10px; border: 1px solid var(--gold-pale); border-radius: 50%; }
.orbit-one { top: 39%; right: 32%; }
.orbit-two { width: 5px; height: 5px; bottom: 25%; right: 14%; background: var(--gold-pale); }

/* ---------- 4. 人物區塊 ---------- */
.character-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  padding: 65px var(--pad-x) 58px;
  background: var(--paper);
}
.section-kicker { margin: 0 0 22px; }
.section-intro h2, .section-intro h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.65;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.section-intro > p:last-of-type {
  margin: 0;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 2;
  color: var(--ink-mute);
}
.slider-controls { display: flex; align-items: center; gap: 12px; margin-top: 38px; }
.slider-controls a,
.slider-controls button {
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.progress { background: #d9d5cd; width: 76px; height: 2px; }
.progress span {
  display: block;
  width: 5%;
  height: 100%;
  background: var(--gold);
  transition: width 0.35s;
}

/* 人物格線（靜態，無輪播 JS） */
.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  min-width: 0;
}
.character-card {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  min-height: 245px;
  padding: 19px 20px 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s, transform 0.25s;
}
.character-card:hover, .character-card:focus-visible { background: var(--paper-alt); transform: translateY(-5px); }

.card-topline, .card-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0a7aa;
  font-size: 9px;
  letter-spacing: 0.17em;
}
.card-topline { justify-content: flex-end; }
.card-arrow { color: #b6813c; font-size: 18px; }

.avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #a17a47, var(--ink) 90%);
  color: #fff;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #cad0ce;
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.avatar strong {
  position: relative;
  z-index: 2;
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 17px;
  color: #f8f2e8;
  opacity: 0.9;
}

.card-identity { display: flex; align-items: center; gap: 14px; min-width: 0; margin: 24px 0 19px; }
.card-copy { min-width: 0; }
.card-copy h3,
.card-copy h4 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.card-name { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink); }
.card-copy span { font-size: 10px; letter-spacing: 0.05em; color: #89939a; }
.card-bottomline { margin-top: 21px; padding-top: 12px; border-top: 1px solid #dddcd4; }
.card-bottomline span:last-child { color: #b6813c; font-size: 17px; }

/* 首頁人物輪播：一次露出 4 / 2 / 1 張，與原站相同 */
.character-list {
  min-width: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.character-track {
  display: flex;
  width: 100%;
  min-width: 0;
  will-change: transform;
}
.character-track.is-animated { transition: transform 0.68s cubic-bezier(0.22, 0.75, 0.2, 1); }
.character-list .character-card {
  flex: 0 0 25%;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid var(--line);
  min-height: 245px;
}
.home-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: var(--pad-x);
  z-index: 30;
  min-width: 196px;
  padding: 8px 0;
  background: var(--paper);
  border: 1px solid rgba(32, 54, 77, 0.12);
  box-shadow: 0 16px 40px rgba(32, 54, 77, 0.08);
}
.home-menu.is-open { display: grid; }
.home-menu a {
  padding: 11px 18px;
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.home-menu a:hover,
.home-menu a[aria-current="page"] { color: var(--ink); }
button.menu-button { cursor: pointer; }
.topbar { position: relative; }

/* ---------- 5. 深藍內容區塊 ---------- */
.investment-sections { background: var(--ink); color: var(--paper); padding: 0 var(--pad-x); }
.investment-panel {
  display: grid;
  grid-template-columns: minmax(300px, 39%) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 105px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 0 94px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.18);
}
.investment-panel:last-child { border-bottom: 0; }
.investment-kicker {
  margin: 1px 0 42px;
  color: #dca552;
  font-size: 10px;
  letter-spacing: 0.34em;
}
.investment-kicker span { color: rgba(245, 243, 238, 0.55); letter-spacing: 0.16em; }
.investment-aside h2 {
  max-width: 450px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.investment-copy h3 {
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.investment-copy > p {
  max-width: 780px;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: 0.07em;
  color: var(--copy);
}
.investment-copy > p.investment-closing {
  max-width: none;
  margin-top: 42px;
  margin-bottom: 0;
  padding-top: 27px;
  border-top: 1px solid rgba(245, 243, 238, 0.22);
  color: #d8dee0;
}
.investment-copy > p:last-child { margin-bottom: 0; }

/* ---------- 6. 聯絡 / 頁尾 ---------- */
.contact-section {
  padding: 72px var(--pad-x);
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(245, 243, 238, 0.18);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(300px, 39%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 7vw, 105px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.contact-copy h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.contact-copy .contact-lead {
  max-width: 520px;
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--copy);
}
.contact-address {
  max-width: 520px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.contact-address span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.contact-qr-link {
  display: block;
  justify-self: end;
  width: 148px;
  height: 148px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-qr-link:hover, .contact-qr-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(32, 54, 77, 0.14);
}
.contact-qr { width: 100%; height: 100%; object-fit: contain; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 19px var(--pad-x);
  background: var(--ink);
  color: #8e999f;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }

/* ---------- 7. 人物詳情頁 ---------- */
.profile-hero {
  display: grid;
  grid-template-columns: minmax(300px, 38%) minmax(0, 1fr);
  min-height: 560px;
  border-bottom: 1px solid rgba(32, 54, 77, 0.12);
}
.profile-portrait {
  position: relative;
  min-height: 560px;
  background: linear-gradient(145deg, #a17a47, var(--ink));
  overflow: hidden;
}
.profile-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(17, 32, 47, 0.57));
}
.portrait-number {
  position: absolute;
  right: 27px;
  bottom: 23px;
  z-index: 2;
  color: #f5e0bb;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 82px) clamp(30px, 6vw, 92px);
}
.profile-copy h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.profile-role {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.profile-quote {
  margin: 40px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.profile-meta b { color: var(--gold-deep); font-weight: 700; }

/* 麵包屑 */
.breadcrumb {
  padding: 18px var(--pad-x);
  border-bottom: 1px solid rgba(32, 54, 77, 0.08);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* 簡介正文 */
.bio-section { background: var(--paper); padding: 68px var(--pad-x) 78px; }
.bio-inner { max-width: 880px; margin: 0 auto; }
.bio-inner > p, .bio-inner > ul, .bio-inner > ol {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #46586b;
}
.bio-inner h2 {
  margin: 46px 0 20px;
  padding-top: 26px;
  border-top: 1px solid #dddcd4;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.bio-inner h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bio-inner ul, .bio-inner ol { padding-left: 22px; }
.bio-inner li { margin-bottom: 10px; }
.bio-inner strong { color: var(--ink); font-weight: 700; }
.bio-inner a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.bio-inner a:hover { color: var(--ink); }

.lead-text {
  margin: 0 0 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dddcd4;
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* 同頁導覽（上一位 / 下一位） */
.profile-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-pager a {
  display: block;
  padding: 30px var(--pad-x);
  background: var(--paper);
  text-decoration: none;
  transition: background 0.25s;
}
.profile-pager a:hover { background: var(--paper-alt); }
.profile-pager .pager-label { display: block; color: var(--gold-deep); font-size: 10px; letter-spacing: 0.25em; margin-bottom: 12px; }
.profile-pager .pager-name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.1em; color: var(--ink); }
.profile-pager .pager-role { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); }
.profile-pager .next { text-align: right; }

/* 相關人物 */
.related-section { padding: 64px var(--pad-x) 72px; background: var(--paper); }
.related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; max-width: var(--maxw); margin: 0 auto 30px; }
.related-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 27px); font-weight: 700; letter-spacing: 0.1em; color: var(--ink); }
.related-head a { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-mute); text-decoration: none; }
.related-head a:hover { color: var(--gold-deep); }

/* ---------- 8. 內頁通用 ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 108px) var(--pad-x); }
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.08em;
}
.page-hero .page-lead {
  max-width: 780px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.06em;
  color: var(--copy);
}

.page-body { padding: 72px var(--pad-x) 84px; background: var(--paper); }
.page-body-inner { max-width: 880px; margin: 0 auto; }
.page-body-inner h2 {
  margin: 48px 0 18px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.page-body-inner h2:first-child { margin-top: 0; }
.page-body-inner h3 {
  margin: 34px 0 14px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.page-body-inner p {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #46586b;
}
.page-body-inner ul, .page-body-inner ol { margin: 0 0 20px; padding-left: 22px; }
.page-body-inner li {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: #46586b;
}
.page-body-inner strong { color: var(--ink); }

/* 首頁人物索引清單 */
.index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.index-list li { border-bottom: 1px solid var(--line); }
.index-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.index-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 18px;
  text-decoration: none;
  transition: background 0.2s;
}
.index-list a:hover { background: var(--paper-alt); }
.index-list .idx { color: var(--gold-deep); font-size: 10px; letter-spacing: 0.18em; }
.index-list .who { font-family: var(--serif); font-size: 16px; letter-spacing: 0.1em; color: var(--ink); }
.index-list .what { margin-left: auto; font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-mute); text-align: right; }

/* ---------- 9. FAQ ---------- */
.faq-list { margin: 30px 0 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.faq-item p { margin: 0; }

/* ---------- 10. 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px var(--pad-x);
  text-align: center;
  background: var(--paper);
}
.notfound .code {
  font-family: var(--serif);
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}
.notfound h1 { margin: 18px 0 14px; font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.1em; color: var(--ink); }
.notfound p { margin: 0 0 30px; font-family: var(--serif); font-size: 15px; line-height: 2; color: var(--ink-mute); }

/* ---------- 11. 專區支柱頁（長文） ---------- */
.topic-meta {
  margin: 0 0 38px;
  padding: 22px 24px;
  background: #ece7db;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: #4a5c6e;
}
.topic-meta p { margin: 0; font-size: inherit; line-height: inherit; }
.topic-meta p + p { margin-top: 12px; }
.topic-meta strong { color: var(--ink); }

.topic-toc {
  margin: 0 0 56px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
}
.topic-toc h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.topic-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 34px;
}
.topic-toc li { margin-bottom: 10px; break-inside: avoid; }
.topic-toc a {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #46586b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.topic-toc a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-soft); }

.topic-section { margin-top: 62px; scroll-margin-top: 24px; }
.topic-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.topic-num {
  flex: 0 0 auto;
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.topic-table-wrap {
  margin: 0 0 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}
.topic-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}
.topic-table-wrap th,
.topic-table-wrap td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: #46586b;
}
.topic-table-wrap th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.topic-table-wrap td:first-child { white-space: nowrap; color: var(--ink); font-weight: 600; }
.topic-table-wrap tr:last-child td { border-bottom: 0; }

.page-body-inner blockquote {
  margin: 0 0 24px;
  padding: 22px 26px;
  background: #fff;
  border-left: 3px solid var(--ink);
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.topic-note {
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #f0ece1;
  border-radius: 2px;
  font-size: 13px !important;
  line-height: 1.95 !important;
  color: #6b7a88 !important;
}

.topic-section .faq-item { padding: 24px 0; }
.topic-section .faq-item h3 { margin: 0 0 12px; }

.topic-related ul { margin: 30px 0 0; padding: 0; list-style: none; }
.topic-related li { border-bottom: 1px solid var(--line); }
.topic-related li:first-child { border-top: 1px solid var(--line); }
.topic-related a {
  display: block;
  padding: 20px 4px;
  text-decoration: none;
  transition: padding-left 0.18s ease;
}
.topic-related a:hover { padding-left: 12px; }
.topic-related strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.topic-related span {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-mute);
}

/* 支柱頁在首頁 / 索引頁的推廣版位 */
.pillar-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 34px 0 0;
  padding: 26px 30px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.pillar-banner-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.pillar-banner-copy span {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245, 243, 238, 0.72);
}
.pillar-banner-go {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}
.pillar-banner:hover .pillar-banner-go { color: #fff; }

/* ---------- 12. 響應式 ---------- */
@media (max-width: 1100px) {
  .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 47% 53%; }
  .hero-copy { padding-left: 40px; padding-right: 35px; }
  .character-section { grid-template-columns: 1fr; gap: 25px; }
  .section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
  .section-kicker { grid-column: 1 / -1; }
  .slider-controls { justify-content: flex-end; margin: 0; }
  .character-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-hero { grid-template-columns: 1fr; min-height: 0; }
  .profile-portrait { min-height: 380px; }
}

@media (max-width: 760px) {
  .topbar {
    height: auto;
    padding: 14px 22px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; }
  .brand strong { font-size: 17px; }
  .main-nav {
    display: flex;
    gap: 16px;
    width: 100%;
    margin: 0;
    order: 3;
    flex-wrap: wrap;
    border-top: 1px solid rgba(32, 54, 77, 0.08);
    padding-top: 10px;
  }
  .main-nav a { font-size: 11px; }
  .main-nav a[aria-current="page"]::after { bottom: -6px; }
  .menu-button { display: none; }

  .topic-toc { padding: 22px 20px; margin-bottom: 42px; }
  .topic-toc ol { columns: 1; }
  .topic-section { margin-top: 46px; }
  .topic-meta { padding: 18px; font-size: 13px; }
  .topic-table-wrap th, .topic-table-wrap td { padding: 11px 13px; font-size: 13px; }
  .page-body-inner blockquote { padding: 18px 20px; font-size: 14.5px; }
  .pillar-banner { padding: 22px 20px; }

  .hero-layout { display: flex; flex-direction: column; }
  .hero-copy { justify-content: flex-start; min-height: 490px; padding: 55px 28px 45px; }
  .hero-copy h1 { margin-top: 35px; font-size: 55px; }
  .hero-copy h2 { font-size: 21px; }
  .hero-visual { min-height: 390px; background-position: 65%; }
  .visual-wash { background: linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(32, 54, 77, 0.25)); }

  .character-section { padding: 48px 20px; }
  .section-intro { display: block; }
  .slider-controls { justify-content: flex-start; margin-top: 25px; }
  .character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .character-card { min-height: 0; padding: 16px 14px 14px; }
  .card-identity { gap: 10px; margin: 16px 0 12px; flex-wrap: wrap; }
  .avatar { flex: 0 0 52px; width: 52px; height: 52px; }
  .card-name { font-size: 16px; }
  .card-copy h3 { font-size: 13px; }
  .card-copy span { font-size: 9.5px; line-height: 1.6; }
  .card-bottomline { margin-top: 14px; padding-top: 10px; }
  .card-bottomline span:first-child { font-size: 8px; }

  .investment-panel { display: block; padding: 56px 0 62px; }
  .investment-kicker { margin-bottom: 25px; }
  .investment-aside h2 { margin-bottom: 44px; font-size: 42px; }
  .investment-copy h3 { margin-bottom: 24px; }
  .investment-copy > p.investment-closing { margin-top: 30px; }

  .contact-section { padding: 56px 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-qr-link { justify-self: start; width: 132px; height: 132px; }
  .site-footer { flex-direction: column; gap: 12px; }

  .profile-copy { padding: 44px 24px 52px; }
  .profile-pager { grid-template-columns: 1fr; }
  .profile-pager .next { text-align: left; }
  .index-list { grid-template-columns: 1fr; }
  .index-list li:nth-child(odd) { border-right: 0; }
  .index-list .what { display: none; }
  .bio-section, .related-section, .page-body { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .character-grid { grid-template-columns: 1fr; }
}

/* 首頁對齊原站斷點：桌面左文右圖，700px 以下改為直向與雙卡輪播 */
@media (max-width: 760px) {
  .is-home .topbar {
    height: 94px;
    flex-wrap: nowrap;
    padding: 0 clamp(24px, 6vw, 96px);
  }
  .is-home .main-nav {
    display: flex;
    width: auto;
    order: 0;
    margin-left: auto;
    margin-right: 55px;
    border-top: 0;
    padding-top: 0;
    flex-wrap: nowrap;
  }
  .is-home .menu-button { display: grid; }
  .character-list .character-card {
    min-height: 245px;
    padding: 19px 20px 17px;
  }
  .character-list .card-identity {
    flex-wrap: nowrap;
    gap: 14px;
    margin: 24px 0 19px;
  }
  .character-list .avatar { flex: 0 0 70px; width: 70px; height: 70px; }
  .character-list .card-name { font-size: 20px; }
  .character-list .card-copy h4 { font-size: 17px; }
  .character-list .card-copy span { font-size: 10px; line-height: normal; }
  .character-list .card-bottomline { margin-top: 21px; padding-top: 12px; }
  .character-list .card-bottomline span:first-child { font-size: 9px; }
}

@media (min-width: 701px) and (max-width: 760px) {
  .is-home .hero-layout {
    display: grid;
    grid-template-columns: 47% 53%;
  }
  .is-home .hero-copy {
    justify-content: center;
    min-height: 0;
    padding: clamp(56px, 7vw, 96px) 35px clamp(56px, 7vw, 96px) 40px;
  }
  .is-home .hero-copy h1 { margin-top: 38px; font-size: clamp(48px, 5.6vw, 84px); }
  .is-home .hero-copy h2 { font-size: clamp(22px, 2.1vw, 31px); }
  .is-home .hero-visual { min-height: 620px; background-position: 100%; }
  .is-home .visual-wash {
    background: linear-gradient(90deg, rgba(245, 243, 238, 0.95) 0%, rgba(245, 243, 238, 0.28) 19%, rgba(0, 0, 0, 0) 43%);
  }
  .is-home .section-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .is-home .section-kicker { grid-column: 1 / -1; }
  .is-home .slider-controls { justify-content: flex-end; margin: 0; }
  .is-home .investment-panel { display: grid; padding: 88px 0 94px; }
  .is-home .investment-aside h2 { margin-bottom: 0; font-size: clamp(42px, 5vw, 68px); }
  .is-home .contact-inner { grid-template-columns: minmax(300px, 39%) minmax(0, 1fr); }
  .is-home .contact-qr-link { justify-self: end; width: 148px; height: 148px; }
  .is-home .site-footer { flex-direction: row; }
}

@media (max-width: 700px) {
  .is-home .topbar { height: 74px; padding: 0 22px; }
  .is-home .main-nav { display: none; }
  .is-home .home-menu { right: 22px; }
  .is-home .character-section { padding: 48px 20px; }
  .is-home .section-intro { display: block; }
  .is-home .slider-controls { justify-content: flex-start; margin-top: 25px; }
  .character-list { border-bottom: 0; }
  .character-list .character-card {
    flex: 0 0 50%;
    min-height: 230px;
    border-bottom: 1px solid var(--line);
  }
  .character-list .character-card:nth-child(odd) { border-left: 1px solid var(--line); }
  .character-list .character-card:nth-child(2n) { border-right: 1px solid var(--line); }
}

@media (max-width: 390px) {
  .character-list .character-card,
  .character-list .character-card:nth-child(odd),
  .character-list .character-card:nth-child(2n) {
    flex: 0 0 100%;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}
