/* ==========================================================================
   星之辰留学 · XZC Academic (xzcoffer.cn) — v4 Editorial Design System
   Human-crafted print & academic atelier aesthetic:
   Warm archival paper, deep carbon ink, Oxbridge pine, hairline rules.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/v4/fonts/newsreader-roman.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/v4/fonts/newsreader-italic.woff2") format("woff2");
}

:root {
  --bg-canvas: #F9F8F5;
  --bg-sheet: #FFFFFF;
  --bg-stone: #F1EFEA;
  --bg-pine: #18332E;
  --bg-ink: #15181C;

  --ink-primary: #15181C;
  --ink-body: #3E444C;
  --ink-muted: #6E757E;
  --ink-faint: #9AA0A8;

  --accent-pine: #1A3A34;
  --accent-pine-hover: #234B43;
  --accent-pine-soft: #EBF1EF;
  --accent-redline: #8E2824;
  --accent-redline-bg: #FCF2F1;

  --rule-light: #E4E1D9;
  --rule-medium: #CFCBC0;
  --rule-dark: #15181C;

  --font-serif-cn: "Noto Serif SC", "Songti SC", "STSong", serif;
  --font-serif-en: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;

  --max-w: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-canvas);
  color: var(--ink-primary);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.nw {
  display: inline-block;
  white-space: nowrap;
}

/* ---------- Subtle Top Studio Index Bar ---------- */
.studio-bar {
  background: var(--bg-stone);
  border-bottom: 1px solid var(--rule-light);
  font-size: 12px;
  color: var(--ink-muted);
}

.studio-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 16px;
}

.studio-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-pine);
}

.studio-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.studio-bar-right strong {
  color: var(--ink-primary);
  font-weight: 600;
}

/* ---------- Light Archival Sticky Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-light);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(21, 24, 28, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-emblem {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-words {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-cn {
  font-family: var(--font-serif-cn);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-primary);
}

.brand-en {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 12px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-body);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink-primary);
}

.main-nav a.active {
  font-weight: 600;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: var(--accent-pine);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-pine {
  background: var(--accent-pine);
  color: #FFFFFF;
  border-color: var(--accent-pine);
}

.btn-pine:hover {
  background: var(--accent-pine-hover);
  border-color: var(--accent-pine-hover);
}

.btn-ink {
  background: var(--ink-primary);
  color: #FFFFFF;
  border-color: var(--ink-primary);
}

.btn-ink:hover {
  background: #282D34;
}

.btn-hairline {
  background: transparent;
  color: var(--ink-primary);
  border-color: var(--rule-medium);
}

.btn-hairline:hover {
  border-color: var(--ink-primary);
  background: rgba(21, 24, 28, 0.025);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.text-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-pine);
  border-bottom: 1px solid rgba(26, 58, 52, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.text-arrow-link:hover {
  border-bottom-color: var(--accent-pine);
}

/* ---------- Screen 1: Editorial Split Hero ---------- */
.hero-editorial {
  padding: 64px 0 0;
  border-bottom: 1px solid var(--rule-light);
  background: var(--bg-canvas);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}

.hero-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-pine);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero-meta-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent-pine);
}

.hero-headline {
  font-family: var(--font-serif-cn);
  font-size: clamp(30px, 3.05vw, 41px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  margin: 0 0 22px;
}

.hero-summary {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-body);
  margin: 0 0 30px;
  max-width: 590px;
}

.hero-summary strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
}

.hero-commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-light);
}

.hero-commit-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.hero-commit-item span {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  display: block;
}

/* Tactile Official Offer Desk Stack (Hero Right) */
.hero-folio-desk {
  background: var(--bg-stone);
  border: 1px solid var(--rule-light);
  padding: 28px 26px 20px;
  border-radius: 4px;
  position: relative;
}

.folio-stack {
  position: relative;
  height: 380px;
  margin-bottom: 14px;
}

.folio-sheet {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid #D8D4CA;
  box-shadow: 0 14px 32px rgba(21, 24, 28, 0.09);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, z-index 0s;
}

.folio-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.folio-sheet.is-back-left {
  width: 58%;
  height: 300px;
  left: 0;
  top: 34px;
  transform: rotate(-2.5deg);
  z-index: 1;
}

.folio-sheet.is-back-right {
  width: 58%;
  height: 300px;
  right: 0;
  top: 26px;
  transform: rotate(2.2deg);
  z-index: 2;
}

.folio-sheet.is-front-main {
  width: 64%;
  height: 356px;
  left: 18%;
  top: 6px;
  z-index: 3;
  box-shadow: 0 20px 44px rgba(21, 24, 28, 0.14);
}

.folio-sheet:hover {
  transform: translateY(-6px) scale(1.02);
  z-index: 5;
  box-shadow: 0 24px 52px rgba(21, 24, 28, 0.18);
}

.folio-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-medium);
  font-size: 12px;
  color: var(--ink-muted);
}

.folio-caption-bar span:last-child {
  white-space: nowrap;
  flex-shrink: 0;
}

.folio-caption-bar strong {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Destination Index Strip */
.uni-index-bar {
  border-top: 1px solid var(--rule-light);
  background: var(--bg-sheet);
  padding: 15px 0;
}

.uni-index-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.uni-index-label {
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
}

.uni-index-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  font-family: var(--font-serif-en);
  font-size: 13.5px;
  color: var(--ink-body);
  letter-spacing: 0.01em;
}

.uni-index-list i {
  font-style: normal;
  color: var(--rule-medium);
}

/* ---------- Editorial Section Containers (Varied Layouts, Zero Formulaic Repetition) ---------- */
.ed-section {
  padding: 84px 0;
  border-bottom: 1px solid var(--rule-light);
}

.ed-section.bg-sheet {
  background: var(--bg-sheet);
}

.ed-section.bg-stone {
  background: var(--bg-stone);
}

.chapter-num {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-pine);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 10px;
}

.ed-h2 {
  font-family: var(--font-serif-cn);
  font-size: clamp(25px, 2.6vw, 33px);
  font-weight: 700;
  line-height: 1.34;
  color: var(--ink-primary);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.ed-lead {
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-body);
  margin: 0;
}

/* ---------- Screen 2: Asymmetric Left-Sticky Index + 3 Deep Case Dossiers ---------- */
.asymmetric-split {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.sticky-aside {
  position: sticky;
  top: 96px;
}

.sticky-aside .ed-lead {
  margin-bottom: 22px;
}

.case-dossier-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dossier-card {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-light);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 156px;
  gap: 28px;
  align-items: center;
  transition: border-color 0.2s ease;
}

.dossier-card:hover {
  border-color: var(--rule-medium);
}

.dossier-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule-light);
}

.dossier-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-pine);
  background: var(--accent-pine-soft);
  padding: 2px 8px;
  border-radius: 2px;
}

.dossier-header h3 {
  font-family: var(--font-serif-cn);
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--ink-primary);
}

.dossier-points {
  display: grid;
  gap: 9px;
  font-size: 13.8px;
  line-height: 1.68;
  color: var(--ink-body);
}

.dossier-points div strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.dossier-proof-thumb {
  cursor: pointer;
  border: 1px solid var(--rule-medium);
  background: var(--bg-canvas);
  padding: 6px;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.dossier-proof-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--accent-pine);
}

.dossier-proof-thumb img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid #EAE7DF;
}

.dossier-proof-thumb span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* ---------- Screen 3: Authentic Word / PDF Print-Layout Manuscript Desk ---------- */
.ms-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ms-header-left {
  max-width: 600px;
}

.doc-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--rule-medium);
  background: var(--bg-sheet);
  border-radius: 3px;
  overflow: hidden;
}

.doc-tab {
  background: #FFFFFF;
  border: 0;
  border-right: 1px solid var(--rule-light);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-body);
  cursor: pointer;
}

.doc-tab:hover:not(.active) {
  background: #F4F3EE;
  color: var(--ink-primary);
}

.doc-tab:last-child {
  border-right: 0;
}

.doc-tab.active {
  background: var(--accent-pine);
  color: #FFFFFF;
  font-weight: 600;
}

/* Realistic Word / Acrobat Desktop Workspace */
.word-workspace {
  background: #E5E4DF;
  border: 1px solid #CBC8BE;
  border-radius: 4px;
  overflow: hidden;
}

.word-window-chrome {
  background: #F4F3F0;
  border-bottom: 1px solid #D2CFC6;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #525860;
}

.word-win-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.win-dots {
  display: inline-flex;
  gap: 6px;
}

.win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C9C6BD;
  display: inline-block;
}

.word-doc-title {
  font-weight: 600;
  color: var(--ink-primary);
}

.word-mode-badge {
  font-size: 11.5px;
  color: var(--accent-redline);
  background: #F9E8E7;
  border: 1px solid rgba(142, 40, 36, 0.22);
  padding: 2px 8px;
  border-radius: 2px;
}

.word-canvas-pad {
  padding: 26px;
}

.word-a4-sheet {
  background: #FFFFFF;
  border: 1px solid #D4D1C8;
  box-shadow: 0 8px 28px rgba(21, 24, 28, 0.08);
  display: grid;
  grid-template-columns: 38px minmax(0, 1.5fr) 320px;
}

.word-line-gutter {
  background: #FAFAF8;
  border-right: 1px solid #ECEAE4;
  padding: 34px 0;
  text-align: center;
  font-size: 11px;
  line-height: 2.18;
  color: #B0ADA4;
  user-select: none;
  font-variant-numeric: tabular-nums;
}

.word-page-prose {
  padding: 32px 34px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 15.5px;
  line-height: 1.96;
  color: #1D2126;
  border-right: 1px solid #E6E4DD;
  position: relative;
}

/* Authentic Word Left-Margin Track-Changes Vertical Revision Bar */
.word-page-prose p {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 2px solid var(--accent-redline);
}

.word-page-prose p:last-child {
  margin-bottom: 0;
}

.trk-del {
  color: #98322E;
  text-decoration: line-through;
  background: #FDF3F2;
}

.trk-ins {
  color: #7A1F1C;
  border-bottom: 1px solid #98322E;
  background: #FEF9F8;
}

.word-margin-balloons {
  background: #FAF9F6;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.balloon-card {
  background: #FFFFFF;
  border: 1px solid #DCD9D0;
  border-radius: 3px;
  padding: 13px 14px;
  font-size: 12.8px;
  line-height: 1.64;
  color: var(--ink-body);
}

.balloon-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #F0EEE8;
}

.balloon-author {
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-primary);
}

.balloon-role {
  font-size: 11px;
  color: var(--accent-pine);
  font-weight: 500;
}

.balloon-card.is-en {
  font-family: var(--font-sans);
  font-size: 12.4px;
}

.balloon-card.is-en .balloon-role {
  color: var(--accent-redline);
}

.word-statusbar {
  background: #F4F3F0;
  border-top: 1px solid #D2CFC6;
  padding: 11px 22px;
  font-size: 13px;
  color: var(--ink-body);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.word-statusbar strong {
  color: var(--ink-primary);
}

/* Native Word / LaTeX-PDF Exported Capture Frame */
.native-doc-showcase {
  border: 1px solid var(--rule-medium);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-sheet);
  box-shadow: 0 12px 32px rgba(21, 24, 28, 0.08);
}

.native-doc-img-wrap {
  cursor: zoom-in;
  background: #E8E7E3;
  line-height: 0;
}

.native-doc-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.native-doc-caption {
  padding: 13px 20px;
  background: var(--bg-sheet);
  border-top: 1px solid var(--rule-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.native-doc-caption strong {
  color: var(--ink-primary);
}

.founder-cred-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--accent-pine);
  font-weight: 600;
}

.founder-cred-badge {
  background: var(--accent-pine-soft);
  padding: 3px 9px;
  border-radius: 2px;
}

.booking-right-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-faq-card {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-light);
  padding: 20px 26px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-body);
  line-height: 1.65;
}

.booking-faq-card h4 {
  font-family: var(--font-serif-cn);
  font-size: 15px;
  margin: 0 0 2px;
  color: var(--ink-primary);
}

.booking-faq-card div strong {
  color: var(--ink-primary);
}

.fee-footnote {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 14px;
  border-top: 1px solid var(--rule-light);
}

/* ---------- Screen 4: Clean Horizontal Workflow + Honest Mentor Dossiers ---------- */
.process-ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-light);
  margin: 36px 0 64px;
}

.process-col {
  padding: 26px 24px 28px 0;
  border-right: 1px solid var(--rule-light);
}

.process-col:not(:first-child) {
  padding-left: 24px;
}

.process-col:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-idx {
  font-family: var(--font-serif-en);
  font-size: 14px;
  color: var(--accent-pine);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.process-col h3 {
  font-family: var(--font-serif-cn);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink-primary);
}

.process-col p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-body);
}

/* Lead Partner Banner + Academic Fellow Dossier Grid */
.partner-callout {
  background: var(--bg-stone);
  border: 1px solid var(--rule-light);
  padding: 28px 32px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 36px;
  align-items: center;
}

.partner-callout h3 {
  font-family: var(--font-serif-cn);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink-primary);
}

.partner-callout p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.74;
}

.partner-sla-list {
  border-left: 1px solid var(--rule-medium);
  padding-left: 28px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-body);
}

.partner-sla-list div strong {
  color: var(--ink-primary);
}

.fellow-privacy-note {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

.fellow-privacy-note strong {
  font-family: var(--font-serif-cn);
  font-size: 18px;
  color: var(--ink-primary);
}

.fellow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fellow-dossier {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-light);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fellow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.fellow-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--accent-pine);
  background: var(--accent-pine-soft);
  padding: 2px 7px;
  border-radius: 2px;
}

.fellow-dossier h4 {
  font-family: var(--font-serif-cn);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink-primary);
  line-height: 1.38;
}

.fellow-dept {
  font-family: var(--font-serif-en);
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-light);
}

.fellow-bio {
  font-size: 13.2px;
  line-height: 1.68;
  color: var(--ink-body);
  margin: 0;
}

/* ---------- Screen 5: Dual-Track Mandate & Official Offer Archive ---------- */
.mandate-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
  margin-bottom: 72px;
}

.mandate-box {
  background: var(--bg-canvas);
  border: 1px solid var(--rule-medium);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mandate-box.is-phd {
  background: var(--bg-pine);
  border-color: var(--bg-pine);
  color: #F4F3EF;
}

.mandate-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  display: block;
}

.mandate-box.is-phd .mandate-kicker {
  color: #B9CEC9;
}

.mandate-box h3 {
  font-family: var(--font-serif-cn);
  font-size: 22px;
  margin: 0 0 10px;
}

.mandate-scope {
  font-size: 14px;
  color: var(--ink-body);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule-light);
  line-height: 1.7;
}

.mandate-box.is-phd .mandate-scope {
  color: rgba(244, 243, 239, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.mandate-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 11px;
  font-size: 13.8px;
  line-height: 1.65;
}

.mandate-deliverables li {
  padding-left: 16px;
  position: relative;
}

.mandate-deliverables li::before {
  content: "•";
  font-weight: 700;
  position: absolute;
  left: 2px;
  color: var(--accent-pine);
}

.mandate-box.is-phd .mandate-deliverables li::before {
  color: #9AC2B9;
}

.mandate-foot {
  padding-top: 16px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.mandate-box.is-phd .mandate-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #C7D8D4;
}

.mandate-box.is-phd .text-arrow-link {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

/* Official Offer Archive Grid */
.archive-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--rule-medium);
  color: var(--ink-body);
  padding: 7px 15px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--ink-primary);
  color: #FFFFFF;
  border-color: var(--ink-primary);
}

.offer-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.offer-card {
  background: var(--bg-canvas);
  border: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.offer-card:hover {
  border-color: var(--ink-primary);
  transform: translateY(-2px);
}

.offer-paper-preview {
  height: 226px;
  background: var(--bg-stone);
  padding: 12px 12px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-light);
}

.offer-paper-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #FFFFFF;
  border: 1px solid #DFDDD5;
  border-bottom: 0;
}

.offer-caption {
  padding: 15px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-sheet);
}

.offer-term-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.offer-term-tag {
  color: var(--accent-pine);
  font-weight: 600;
}

.offer-caption h4 {
  font-family: var(--font-serif-cn);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--ink-primary);
}

.offer-prog-name {
  font-size: 12.8px;
  color: var(--ink-body);
  font-weight: 500;
  margin-bottom: 10px;
}

.offer-context-note {
  padding-top: 9px;
  border-top: 1px solid var(--rule-light);
  font-size: 12px;
  line-height: 1.56;
  color: var(--ink-muted);
}

/* ---------- Screen 6: Chongqing Boutique Studio & Unbiased Booking ---------- */
.studio-booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
}

.studio-visual-frame {
  border: 1px solid var(--rule-light);
  background: var(--bg-sheet);
  padding: 10px;
  margin-bottom: 22px;
}

.studio-visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.studio-photo-note {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px 2px;
  font-size: 12px;
  color: var(--ink-muted);
}

.studio-address-table {
  margin-top: 20px;
  border-top: 1px solid var(--rule-light);
  display: grid;
}

.studio-addr-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 13.8px;
}

.studio-addr-row span {
  color: var(--ink-muted);
}

.studio-addr-row div {
  color: var(--ink-primary);
  font-weight: 500;
}

.copy-inline-btn {
  margin-left: 8px;
  background: var(--bg-stone);
  border: 1px solid var(--rule-medium);
  color: var(--ink-primary);
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 2px;
  cursor: pointer;
}

.booking-sheet {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-medium);
  padding: 34px 36px;
}

.booking-sheet h3 {
  font-family: var(--font-serif-cn);
  font-size: 22px;
  margin: 0 0 8px;
}

.booking-sheet > p {
  margin: 0 0 24px;
  font-size: 13.8px;
  color: var(--ink-muted);
  line-height: 1.68;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-primary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--rule-medium);
  border-radius: 2px;
  background: var(--bg-canvas);
  color: var(--ink-primary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-pine);
  background: #FFFFFF;
}

.diag-feedback {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--accent-pine-soft);
  border-left: 3px solid var(--accent-pine);
  font-size: 13.2px;
  line-height: 1.68;
  color: var(--ink-primary);
}

/* ---------- Secondary Pages ---------- */
.subpage-header {
  padding: 54px 0 46px;
  background: var(--bg-stone);
  border-bottom: 1px solid var(--rule-light);
}

.subpage-header h1 {
  font-family: var(--font-serif-cn);
  font-size: clamp(28px, 3vw, 38px);
  margin: 8px 0 12px;
  color: var(--ink-primary);
}

@media (min-width: 721px) {
  .topic-title-break {
    display: none;
  }
}

.subpage-header p {
  margin: 0;
  max-width: 690px;
  font-size: 15.5px;
  color: var(--ink-body);
}

/* Transparent Fee Table on Secondary Services Page */
.fee-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.fee-card {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fee-card.is-primary {
  border-color: var(--accent-pine);
  box-shadow: 0 12px 32px rgba(26, 58, 52, 0.07);
}

.fee-card-top {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule-light);
}

.fee-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-pine);
  display: block;
  margin-bottom: 6px;
}

.fee-card h3 {
  font-family: var(--font-serif-cn);
  font-size: 19px;
  margin: 0 0 10px;
  text-wrap: balance;
}

.fee-price-line {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: var(--ink-muted);
}

.fee-price-line strong {
  font-family: var(--font-serif-en);
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink-primary);
}

.fee-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-body);
  line-height: 1.65;
}

.fee-list li {
  padding-left: 15px;
  position: relative;
}

.fee-list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  font-weight: 700;
  color: var(--accent-pine);
}

/* ---------- Restrained Dark Ink Footer ---------- */
.site-footer {
  background: var(--bg-ink);
  color: rgba(249, 248, 245, 0.72);
  padding: 56px 0 32px;
  font-size: 13.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 1.05fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand-cn {
  color: #F9F8F5;
}

.site-footer .brand-en {
  color: rgba(249, 248, 245, 0.52);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 14px;
}

.footer-links,
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.footer-about {
  margin: 0;
  line-height: 1.72;
}

.footer-links a:hover,
.footer-col ul a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(249, 248, 245, 0.46);
}

/* ---------- Lightbox Modal ---------- */
.lightbox,
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 18, 22, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open,
.lightbox-backdrop.is-open {
  display: flex;
}

.lightbox-inner,
.lightbox-panel {
  max-width: 1080px;
  width: 100%;
  max-height: 92vh;
  background: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-bar,
.lightbox-top {
  background: var(--ink-primary);
  color: #F9F8F5;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.lightbox-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 2px;
  cursor: pointer;
}

.lightbox-img-wrap {
  overflow: auto;
  padding: 18px;
  background: #EEEDE8;
}

.lightbox-img-wrap img {
  margin: 0 auto;
  max-height: 76vh;
  width: auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .hero-split,
  .asymmetric-split,
  .studio-booking-grid,
  .partner-callout,
  .mandate-compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .asymmetric-split > *,
  .partner-callout > * {
    min-width: 0;
  }
  .sticky-aside {
    position: static;
  }
  .word-a4-sheet {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .word-margin-balloons {
    grid-column: 1 / -1;
    border-top: 1px solid #E6E4DD;
  }
  .process-ledger {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .process-col,
  .process-col:not(:first-child) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule-light);
  }
  .fellow-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fee-tier-grid {
    grid-template-columns: 1fr;
  }
  .partner-sla-list {
    border-left: 0;
    border-top: 1px solid var(--rule-medium);
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 1220px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 10px 6px;
    gap: 8px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 2px 12px;
    padding-top: 4px;
    border-top: 1px solid var(--rule-light);
  }
  .main-nav a {
    padding-block: 3px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }
  .studio-bar-right,
  .header-actions .btn-hairline {
    display: none;
  }
  .subpage-header {
    padding: 36px 0 28px;
  }
  .ed-h2,
  .subpage-header h1,
  .fee-card h3,
  .process-col h3,
  .dossier-card h3,
  .geo-faq-item h3 {
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .ed-h2 {
    font-size: 21px;
    line-height: 1.38;
  }
  .subpage-header h1 {
    font-size: 24px;
    line-height: 1.36;
  }
  .fee-card h3 {
    font-size: 18px;
    line-height: 1.4;
  }
  .process-col h3 {
    font-size: 16.5px;
    line-height: 1.4;
  }
  .hero-editorial {
    padding-top: 36px;
  }
  .hero-headline {
    font-size: clamp(20px, 6.75vw, 30px);
  }
  .hero-commitments,
  .dossier-card,
  .process-ledger,
  .fellow-grid,
  .offer-archive-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .folio-stack {
    height: 300px;
  }
  .word-canvas-pad {
    padding: 12px;
  }
  .word-a4-sheet {
    grid-template-columns: 1fr;
  }
  .word-line-gutter {
    display: none;
  }
  .word-page-prose {
    padding: 20px 18px;
    border-right: 0;
  }
  .booking-sheet {
    padding: 24px 20px;
  }
}

/* ---------- GEO Editorial Guide & Comparison Table Styles ---------- */
.geo-verdict-box {
  background: var(--accent-pine-soft);
  border-left: 3px solid var(--accent-pine);
  padding: 20px 26px;
  margin-bottom: 32px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--ink-primary);
}
.geo-verdict-box strong {
  color: var(--accent-pine);
}
.geo-article-prose h2 {
  font-family: var(--font-serif-cn);
  font-size: 22px;
  margin: 40px 0 14px;
  color: var(--ink-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-light);
}
.geo-article-prose h3 {
  font-family: var(--font-serif-cn);
  font-size: 17.5px;
  margin: 24px 0 10px;
  color: var(--ink-primary);
}
.geo-article-prose p {
  font-size: 14.8px;
  line-height: 1.8;
  color: var(--ink-body);
  margin: 0 0 16px;
}
.geo-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--rule-medium);
  background: var(--bg-sheet);
}
.geo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.geo-table th,
.geo-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule-light);
  border-right: 1px solid var(--rule-light);
  line-height: 1.6;
  vertical-align: top;
}
@media (max-width: 360px) {
  .geo-table th,
  .geo-table td {
    padding: 9px 8px;
    overflow-wrap: anywhere;
  }
}
.geo-table th:last-child,
.geo-table td:last-child {
  border-right: 0;
}
.geo-table thead th {
  background: var(--bg-stone);
  font-weight: 700;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--rule-medium);
}
.geo-table tbody tr:hover {
  background: var(--bg-canvas);
}
.geo-faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.geo-faq-item {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-light);
  padding: 20px 24px;
}
.geo-faq-item h3 {
  font-family: var(--font-serif-cn);
  font-size: 16.5px;
  margin: 0 0 8px;
  color: var(--ink-primary);
}
.geo-faq-item p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.72;
}
.geo-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.geo-guide-card {
  background: var(--bg-sheet);
  border: 1px solid var(--rule-medium);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.geo-guide-card:hover {
  border-color: var(--accent-pine);
  transform: translateY(-2px);
}
.geo-guide-card .guide-cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-pine);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}
.geo-guide-card h3 {
  font-family: var(--font-serif-cn);
  font-size: 18.5px;
  margin: 0 0 10px;
  color: var(--ink-primary);
  line-height: 1.45;
}
.geo-guide-card p {
  font-size: 13.5px;
  color: var(--ink-body);
  line-height: 1.68;
  margin: 0 0 18px;
}
@media (max-width: 1060px) {
  .geo-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== BREADCRUMB TRAIL (SEO & HIERARCHY) ==================== */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--ink-muted, #72777A);
  line-height: 1.4;
}
.breadcrumb-trail a {
  color: var(--ink-muted, #72777A);
  text-decoration: none;
  transition: color 0.18s ease;
}
.breadcrumb-trail a:hover {
  color: var(--accent-pine, #1A3A34);
  text-decoration: underline;
}
.breadcrumb-separator {
  opacity: 0.45;
  font-size: 11px;
  user-select: none;
}
.breadcrumb-current {
  color: var(--ink-primary, #15181C);
  font-weight: 500;
}

/* ==================== TOPIC CROSS LINKS (NETWORK TOPOLOGY) ==================== */
.cross-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.cross-topic-card {
  background: var(--bg-sheet, #FFFFFF);
  border: 1px solid var(--rule-light, #E2E6E4);
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cross-topic-card:hover {
  border-color: var(--accent-pine, #1A3A34);
  transform: translateY(-2px);
}
.cross-topic-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-pine, #1A3A34);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: block;
}
.cross-topic-card h3 {
  font-family: var(--font-serif-cn, 'Noto Serif SC', serif);
  font-size: 18px;
  line-height: 1.42;
  margin: 0 0 10px;
  color: var(--ink-primary, #15181C);
}
.cross-topic-card p {
  font-size: 13.5px;
  color: var(--ink-body, #3D4442);
  line-height: 1.62;
  margin: 0 0 16px;
  flex-grow: 1;
}
.cross-topic-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-pine, #1A3A34);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
