:root {
  --navy-deep: #0a1e38;
  --navy: #142b4c;
  --navy-light: #1f3d63;
  --navy-soft: #2d4a6e;
  --gold: #b8956a;
  --gold-light: #d4b896;
  --gold-dark: #8b6f4e;
  --ivory: #faf7f0;
  --cream: #ede5d4;
  --paper: #f5f1e8;
  --paper-soft: #f9f5ec;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --ink-light: #5a5a5a;
  --line: rgba(184, 149, 106, 0.25);
  --line-strong: rgba(184, 149, 106, 0.5);
  --warning: #8B3A3A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.95;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-mid {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10, 30, 56, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  padding: 22px 0;
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
  transition: padding 0.3s;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.logo .plus {
  color: var(--gold);
  font-style: italic;
}

.logo-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  text-transform: uppercase;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.15em;
  transition: color 0.4s;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.4s;
  font-family: 'Shippori Mincho', serif;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ivory);
}

/* ============ PAGE HERO ============ */
.page-hero {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 200px 0 160px;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(184, 149, 106, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(184, 149, 106, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* 細かいグリッドオーバーレイ - 「思考」のテクスチャ */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 149, 106, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 149, 106, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.breadcrumb {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 56px;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb .sep { margin: 0 12px; color: var(--gold); }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  letter-spacing: 0.4em;
  font-size: 12px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero-tag::before, .hero-tag::after {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(36px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 56px;
}

.page-hero h1 .accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 64px;
  font-weight: 300;
}

.hero-lead {
  font-size: 17px;
  line-height: 2.4;
  color: rgba(248, 244, 237, 0.85);
  max-width: 640px;
}

/* ============ PROLOGUE ============ */
.prologue {
  background: var(--paper);
  padding: 140px 0;
  position: relative;
}

.prologue::before {
  content: 'PROLOGUE';
  position: absolute;
  top: 80px; right: 60px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.6em;
  color: var(--gold);
  opacity: 0.5;
}

.prologue-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}

.prologue-symbol {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 64px;
  color: var(--gold);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1;
}

.prologue h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--navy-deep);
  margin-bottom: 56px;
  text-align: center;
  letter-spacing: 0.04em;
}

.prologue p {
  font-size: 17px;
  line-height: 2.4;
  color: var(--ink-soft);
  margin-bottom: 28px;
  text-indent: 1em;
}

.prologue p:first-of-type { text-indent: 0; }

.prologue-quote {
  margin: 64px auto;
  padding: 36px 40px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  text-align: center;
}

.prologue-quote .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.prologue-quote p {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-indent: 0;
  margin-bottom: 0;
}

/* ============ TABLE OF CONTENTS ============ */
.toc {
  background: var(--ivory);
  padding: 100px 0;
}

.toc-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  letter-spacing: 0.4em;
  font-size: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
}

.toc-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}

.toc h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: 56px;
  letter-spacing: 0.03em;
}

.toc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.toc-item {
  display: grid;
  grid-template-columns: 100px 80px 1fr 200px;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: padding 0.4s, background 0.4s;
}

.toc-item:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(184, 149, 106, 0.05) 0%, transparent 100%);
}

.toc-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.15em;
}

.toc-roman {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--gold-dark);
  font-weight: 300;
  text-align: center;
}

.toc-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.toc-meta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-align: right;
}

/* ============ CHAPTER ============ */
.chapter {
  padding: 160px 0;
  position: relative;
}

.chapter-paper { background: var(--paper); }
.chapter-ivory { background: var(--ivory); }
.chapter-paper-soft { background: var(--paper-soft); }
.chapter-dark { background: var(--navy-deep); color: var(--ivory); }

.chapter-header {
  max-width: 920px;
  margin: 0 auto 80px;
  padding: 0 48px;
  text-align: center;
}

.chapter-num-block {
  margin-bottom: 32px;
}

.chapter-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.chapter-dark .chapter-label { color: var(--gold-light); }

.chapter-roman {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 96px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
}

.chapter-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 32px auto;
}

.chapter-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  color: var(--navy-deep);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.chapter-dark .chapter-title { color: var(--ivory); }

.chapter-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--gold-dark);
  letter-spacing: 0.2em;
  font-weight: 300;
}

.chapter-dark .chapter-subtitle { color: var(--gold-light); }

.chapter-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
}

.chapter-body p {
  font-size: 16px;
  line-height: 2.4;
  color: var(--ink-soft);
  margin-bottom: 28px;
  text-indent: 1em;
}

.chapter-dark .chapter-body p { color: rgba(248, 244, 237, 0.85); }

.chapter-body p.no-indent { text-indent: 0; }

.chapter-body h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  color: var(--navy-deep);
  font-weight: 600;
  margin: 56px 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  letter-spacing: 0.03em;
}

.chapter-dark .chapter-body h3 {
  color: var(--ivory);
}

/* DATA POINT - 数値や事実を強調 */
.data-point {
  margin: 48px 0;
  padding: 32px 36px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  position: relative;
}

.chapter-dark .data-point {
  background: rgba(184, 149, 106, 0.08);
  border-left-color: var(--gold);
}

.data-point-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.chapter-dark .data-point-label { color: var(--gold-light); }

.data-point-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--navy-deep);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.chapter-dark .data-point-number { color: var(--gold-light); }

.data-point-unit {
  font-size: 18px;
  color: var(--gold-dark);
  margin-left: 8px;
  font-style: normal;
  font-family: 'Shippori Mincho', serif;
}

.data-point-caption {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.85;
  font-style: italic;
}

.chapter-dark .data-point-caption { color: rgba(248, 244, 237, 0.65); }

/* PULL QUOTE - 重要な引用 */
.pull-quote {
  margin: 64px 0;
  padding: 0;
  text-align: center;
}

.pull-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 300;
}

.pull-quote-text {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy-deep);
  line-height: 1.85;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-indent: 0;
  margin-bottom: 0;
  padding: 32px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.chapter-dark .pull-quote-text {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* HISTORICAL FACT BOX */
.fact-box {
  margin: 56px 0;
  padding: 40px 44px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  position: relative;
}

.chapter-dark .fact-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(184, 149, 106, 0.3);
}

.fact-box::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.fact-box::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.fact-box-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.chapter-dark .fact-box-label { color: var(--gold-light); }

.fact-box h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  color: var(--navy-deep);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.chapter-dark .fact-box h4 { color: var(--ivory); }

.fact-box p {
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 12px;
  text-indent: 0;
}

.fact-box p:last-child { margin-bottom: 0; }

/* CHRONOLOGY - 年表 */
.chronology {
  margin: 56px 0;
  position: relative;
}

.chronology::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.chronology-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 16px 0;
  align-items: start;
}

.chronology-year {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 18px;
  letter-spacing: 0.1em;
  text-align: right;
  position: relative;
  padding-right: 24px;
}

.chronology-year::after {
  content: '';
  position: absolute;
  right: -5px; top: 12px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--paper);
}

.chapter-dark .chronology-year::after {
  border-color: var(--navy-deep);
}

.chapter-dark .chronology-year { color: var(--gold-light); }

.chronology-event {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  text-indent: 0;
  padding-top: 4px;
}

.chapter-dark .chronology-event { color: rgba(248, 244, 237, 0.78); }

.chronology-event strong {
  color: var(--navy-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.chapter-dark .chronology-event strong { color: var(--ivory); }

/* COMPARISON TABLE - 国際比較 */
.comparison {
  margin: 56px 0;
  border: 1px solid var(--line-strong);
  background: var(--ivory);
}

.chapter-dark .comparison {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(184, 149, 106, 0.3);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-deep);
  color: var(--ivory);
}

.comparison-header > div {
  padding: 16px 24px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.comparison-header > div:first-child {
  border-right: 1px solid rgba(184, 149, 106, 0.3);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.chapter-dark .comparison-row { border-color: rgba(184, 149, 106, 0.15); }

.comparison-row > div {
  padding: 16px 24px;
  font-size: 15px;
  color: var(--ink);
}

.chapter-dark .comparison-row > div { color: rgba(248, 244, 237, 0.85); }

.comparison-row > div:first-child {
  border-right: 1px solid var(--line);
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  color: var(--navy-deep);
}

.chapter-dark .comparison-row > div:first-child {
  color: var(--gold-light);
  border-color: rgba(184, 149, 106, 0.15);
}

.comparison-row.highlight > div {
  background: var(--cream);
  font-weight: 600;
  color: var(--navy-deep);
}

.chapter-dark .comparison-row.highlight > div {
  background: rgba(184, 149, 106, 0.1);
  color: var(--ivory);
}

/* CHAPTER FOOTER - 次章への誘導 */
.chapter-footer {
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.chapter-dark .chapter-footer { border-color: rgba(184, 149, 106, 0.2); }

.chapter-footer-link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.chapter-dark .chapter-footer-link { color: var(--gold-light); }

/* BIG SEPARATOR between chapters */
.big-separator {
  background: var(--ivory);
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.big-separator-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 48px;
  letter-spacing: 0.3em;
  font-weight: 300;
}

/* ============ EPILOGUE ============ */
.epilogue {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.epilogue::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.epilogue-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.epilogue-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.4em;
  font-size: 12px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.epilogue h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 56px;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.epilogue h2 .accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.epilogue p {
  font-size: 17px;
  line-height: 2.4;
  color: rgba(248, 244, 237, 0.85);
  margin-bottom: 28px;
}

.epilogue-bridge {
  margin: 80px auto 64px;
  padding: 40px 44px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.epilogue-bridge p {
  margin-bottom: 16px;
}

.next-step-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.next-step-card {
  padding: 32px 28px;
  border: 1px solid rgba(184, 149, 106, 0.3);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  text-align: left;
}

.next-step-card:hover {
  border-color: var(--gold);
  background: rgba(184, 149, 106, 0.06);
  transform: translateY(-2px);
}

.next-step-card-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.next-step-card h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 19px;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.next-step-card p {
  font-size: 14px;
  line-height: 1.95;
  color: rgba(248, 244, 237, 0.7);
  margin-bottom: 16px;
}

.next-step-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.15em;
}

/* ============ FOOTER ============ */
footer {
  background: #050f1d;
  color: rgba(248, 244, 237, 0.7);
  padding: 96px 0 48px;
  border-top: 1px solid rgba(184, 149, 106, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 80px;
}

.footer-brand .logo { margin-bottom: 28px; }
.footer-brand p {
  font-size: 13px;
  line-height: 2;
  color: rgba(248, 244, 237, 0.5);
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 149, 106, 0.2);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  color: rgba(248, 244, 237, 0.65);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(184, 149, 106, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(248, 244, 237, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s, transform 1s;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .container, .container-narrow, .container-mid { padding: 0 28px; }
  .nav-links { display: none; }
  .chapter, .epilogue { padding: 80px 0; }
  .page-hero { padding: 140px 0 80px; min-height: auto; }

  .toc-item {
    grid-template-columns: 50px 50px 1fr;
    gap: 16px;
  }
  .toc-meta { display: none; }

  .chapter-header { padding: 0 28px; }
  .chapter-body { padding: 0 28px; }
  .chronology { margin-left: -16px; }
  .chronology::before { left: 80px; }
  .chronology-item { grid-template-columns: 80px 1fr; gap: 24px; }

  .next-step-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .epilogue-content { padding: 0 28px; }
}

.demo-banner {
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--navy-deep);
  color: var(--gold-light);
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  z-index: 1000;
  border: 1px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* Reading progress indicator */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  width: 0;
  z-index: 200;
  transition: width 0.1s;
}