:root {
  --ink: #121212;
  --ink-soft: #27272a;
  --muted: #52525b;
  --paper: #faf9f5;
  --paper-alt: #f2efe7;
  --white: #ffffff;
  --jade: #0f766e;
  --jade-deep: #115e59;
  --jade-wash: #eefaf7;
  --seal: #b91c1c;
  --line: #e2dfd6;
  --line-dark: rgba(255,255,255,0.14);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.mono { font-family: var(--mono); font-size: 0.92em; }

/* Top bar */
.ink-topbar {
  background: var(--ink);
  color: #e4e4e7;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-dark);
}
.ink-topbar-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
  padding: 8px 0;
}
.tb-left, .tb-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seal-dot { width: 8px; height: 8px; background: var(--seal); display: inline-block; border-radius: 1px; }
.sep { opacity: 0.45; }
.tb-right a:hover { color: #5eead4; }

/* Masthead */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.seal-stamp {
  width: 38px;
  height: 38px;
  background: var(--seal);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.22);
}
.seal-stamp.sm { width: 30px; height: 30px; font-size: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 20px; letter-spacing: 0.06em; color: var(--ink); }
.brand-text em { font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); font-family: var(--mono); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.main-nav a {
  padding: 7px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 4px;
  transition: background 0.18s ease, color 0.18s ease;
}
.main-nav a:hover { background: var(--paper-alt); color: var(--jade-deep); }
.main-nav a.active { background: var(--ink); color: #fff; }
.nav-cta {
  padding: 9px 18px;
  background: var(--jade);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: var(--jade-deep); }

/* Hero Editorial Split */
.hero-ink {
  background:
    radial-gradient(circle at 86% 18%, rgba(15, 118, 110, 0.22), transparent 46%),
    linear-gradient(125deg, #121212 0%, #1c1f1e 62%, #113532 100%);
  color: #f8fafc;
  padding: 70px 0 64px;
  border-bottom: 3px solid var(--jade);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.92fr;
  gap: 36px;
  align-items: stretch;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99f6e4;
  border: 1px solid rgba(153, 246, 228, 0.32);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.hero-ink h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.24;
  margin: 0 0 18px;
  letter-spacing: 0.03em;
  font-weight: 700;
}
.hero-lead {
  font-size: 16px;
  color: #d4d4d8;
  margin: 0 0 28px;
  max-width: 62ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--jade);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 4px;
  transition: background 0.18s ease;
}
.btn-primary:hover { background: #14b8a6; color: #042f2e; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.34);
  color: #fff;
  font-size: 14.5px;
  border-radius: 4px;
}
.btn-outline:hover { border-color: #99f6e4; color: #99f6e4; }

.hero-dossier {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--seal);
  padding: 26px 26px 22px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dossier-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.dossier-head span { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; }
.dossier-head code { font-family: var(--mono); font-size: 11.5px; color: #5eead4; }
.dossier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dossier-list li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  font-size: 13.5px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 10px;
}
.dossier-list li:last-child { border-bottom: none; padding-bottom: 0; }
.dossier-list dt, .dossier-list strong { color: #a1a1aa; font-weight: 500; }
.dossier-list span { color: #f4f4f5; }

/* Subpage Banner */
.page-banner {
  background: var(--ink);
  color: #f8fafc;
  padding: 46px 0 40px;
  border-bottom: 3px solid var(--jade);
}
.breadcrumb { font-size: 12.5px; color: #a1a1aa; margin-bottom: 12px; }
.breadcrumb a:hover { color: #5eead4; }
.page-banner h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; line-height: 1.28; }
.page-banner p { margin: 0; color: #d4d4d8; max-width: 72ch; font-size: 15.5px; }

/* Sections */
.sec { padding: 56px 0; }
.sec.alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sec-eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--jade);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.sec-head h2 { font-family: var(--serif); font-size: clamp(22px, 2.5vw, 30px); margin: 0; color: var(--ink); }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; font-size: 14.5px; }

/* Bamboo Node Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 24px 22px;
  border-radius: 3px;
  transition: transform 0.18s ease, border-top-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); border-top-color: var(--jade); }
.card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--seal);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}
.card h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 10px; color: var(--ink); }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--jade-wash);
  color: var(--jade-deep);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 2px;
}

/* Bamboo Vertical Timeline */
.bamboo-list {
  display: grid;
  gap: 16px;
  border-left: 2px solid var(--jade);
  padding-left: 22px;
  margin-left: 6px;
}
.bamboo-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 3px;
}
.bamboo-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border: 3px solid var(--jade);
  border-radius: 50%;
}
.bamboo-item h3 { font-family: var(--serif); margin: 0 0 6px; font-size: 18px; }
.bamboo-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Scope Quote Box */
.scope-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--jade);
  padding: 24px 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.scope-box strong { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 8px; color: var(--ink); }

/* FAQ Accordion-like List */
.faq-stack { display: grid; gap: 14px; }
.faq-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: 3px;
}
.faq-card h3 { font-family: var(--serif); font-size: 17.5px; margin: 0 0 8px; color: var(--ink); }
.faq-card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Table */
.info-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.info-table th, .info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14.5px;
  vertical-align: top;
}
.info-table th { width: 28%; background: var(--paper-alt); font-weight: 600; color: var(--ink); }

/* Contact Panel */
.contact-box {
  background: var(--ink);
  color: #f4f4f5;
  padding: 32px;
  border-radius: 4px;
  border-left: 4px solid var(--seal);
}
.contact-box h2 { font-family: var(--serif); margin: 0 0 12px; font-size: 24px; }
.contact-box p { margin: 0 0 10px; color: #d4d4d8; font-size: 14.5px; }
.contact-box a { color: #5eead4; text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.ink-footer { background: #101011; color: #d4d4d8; padding: 52px 0 28px; border-top: 3px solid var(--jade); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.75fr 0.75fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line-dark); }
.f-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.f-title strong { font-family: var(--serif); font-size: 20px; color: #fff; letter-spacing: 0.05em; }
.f-desc { margin: 0 0 14px; font-size: 13.5px; color: #a1a1aa; max-width: 52ch; }
.f-meta { margin: 4px 0; font-size: 13.5px; color: #e4e4e7; }
.f-meta a:hover { color: #5eead4; }
.f-col h3 { font-family: var(--serif); font-size: 16px; color: #fff; margin: 0 0 12px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.f-col a:hover { color: #5eead4; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  font-size: 12.5px;
  color: #a1a1aa;
}

@media (max-width: 960px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .masthead-in { flex-wrap: wrap; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .main-nav { gap: 2px; }
  .main-nav a { padding: 6px 9px; font-size: 13px; }
  .info-table th { width: 34%; }
}
