:root {
  --oxblood: #8B1A1A;
  --oldgold: #C9A96E;
  --raven: #1A1A1A;
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #1e1e1e;
  --text-light: #4a4a4a;
  --border: #e0dbd1;
  --font-sans: Inter, sans-serif;
  --font-serif: Playfair Display, serif;
  --max-width: 1280px;
}
body.dark { --bg: #121212; --surface: #1e1e1e; --text: #ececec; --text-light: #b0b0b0; --border: #333; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 72px;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border);
  z-index: 1000; height: 72px; display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-area { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.6rem; color: #8B1A1A; font-weight: 700; }
.logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--text); }
.logo-text small { font-family: var(--font-sans); font-weight: 400; font-size: 0.7rem; opacity: 0.7; display: block; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text); border-bottom: 2px solid transparent; padding-bottom: 4px; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: #C9A96E; color: #8B1A1A; }
.header-controls { display: flex; align-items: center; gap: 12px; }
.ctrl-btn {
  background: transparent; border: 1px solid var(--border); border-radius: 40px;
  padding: 6px 14px; font-size: 0.8rem; cursor: pointer; color: var(--text);
  background: var(--surface); display: flex; align-items: center; gap: 6px;
}
.ctrl-btn:hover { border-color: #C9A96E; background: #8B1A1A; color: #fff; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--text); }
#progress-bar {
  position: fixed; top: 72px; left: 0; height: 3px;
  background: linear-gradient(90deg, #8B1A1A, #C9A96E); z-index: 999; width: 0%;
}
.btn-primary {
  display: inline-block; background: #8B1A1A; color: #fff; padding: 12px 28px;
  border-radius: 40px; font-weight: 600; border: none; cursor: pointer;
}
.btn-primary:hover { background: #1A1A1A; color: #fff; }
.btn-outline {
  background: transparent; border: 1.5px solid #8B1A1A; color: #8B1A1A;
  padding: 10px 26px; border-radius: 40px; font-weight: 600;
}
.btn-outline:hover { background: #8B1A1A; color: #fff; }
.site-footer {
  background: #1A1A1A; color: #ddd; padding: 48px 0 32px;
  margin-top: 60px; border-top: 2px solid #C9A96E;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-grid h4 { color: #C9A96E; font-family: var(--font-serif); margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul li a { color: #ccc; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: #C9A96E; }
.footer-bottom { border-top: 1px solid #333; margin-top: 32px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 0.8rem; color: #999; }
.footer-disclaimer { font-size: 0.7rem; max-width: 700px; margin-top: 8px; color: #888; line-height: 1.5; }
#back-to-top {
  position: fixed; bottom: 30px; right: 30px; background: #8B1A1A; color: #fff;
  border: none; border-radius: 50%; width: 48px; height: 48px; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; z-index: 500;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
.section-title { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 16px; color: var(--text); }
.hero { padding: 40px 0 56px; background: var(--surface); border-bottom: 1px solid var(--border); }
.hero h1 { font-family: var(--font-serif); font-size: 2.8rem; line-height: 1.2; max-width: 900px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 28px; }
.stat-item strong { font-size: 1.8rem; color: #8B1A1A; margin-right: 6px; }
.stat-note { font-size: 0.7rem; color: var(--text-light); margin-top: 4px; }
.badge-ccpfl {
  display: flex; flex-wrap: wrap; gap: 12px 20px; background: var(--surface);
  border-left: 4px solid #C9A96E; padding: 16px 24px; margin: 24px 0;
}
.badge-ccpfl span { font-weight: 600; color: #8B1A1A; margin-right: 4px; }
.dual-hub { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 40px 0; }
.hub-card { background: var(--surface); padding: 28px 24px; border-top: 4px solid #C9A96E; }
.hub-card h3 { font-family: var(--font-serif); font-size: 1.5rem; color: #8B1A1A; }
.hub-card ul { list-style: none; margin-top: 12px; }
.hub-card ul li { padding: 4px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.hub-card ul li i { color: #C9A96E; width: 20px; }
.sister-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0; }
.sister-card { background: var(--surface); padding: 16px; text-align: center; font-weight: 600; border: 1px solid var(--border); }
.sister-card:hover { border-color: #C9A96E; }
.content-section { background: var(--surface); padding: 28px 32px; margin-bottom: 32px; }
.content-section h2 { font-family: var(--font-serif); color: #8B1A1A; }
.page-head { padding: 32px 0 16px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.page-head h1 { font-family: var(--font-serif); font-size: 2.4rem; }
.vertical-item { border-left: 4px solid #C9A96E; padding-left: 20px; margin-bottom: 28px; }
.vertical-item h3 { font-family: var(--font-serif); font-size: 1.4rem; }
.matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin: 16px 0; }
.matrix-item { background: var(--bg); padding: 16px; font-weight: 500; border: 1px solid var(--border); }
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; background: var(--surface); position: absolute; top: 72px; left: 0; width: 100%; padding: 24px; }
  .nav-links.open { display: flex; }
  .mobile-menu-toggle { display: block; }
  .hero h1 { font-size: 2rem; }
  .dual-hub { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
