/* The Century of Value — self-contained editorial design system */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #0b1528;
  --navy-soft: #14223a;
  --ivory: #faf8f5;
  --paper: #f1ece3;
  --paper-deep: #e7dfd2;
  --burgundy: #7f1d1d;
  --burgundy-light: #a44a42;
  --gold: #c5a059;
  --ink: #172033;
  --muted: #6d6a64;
  --line: #d8d1c5;
  --white-line: rgba(250, 248, 245, 0.18);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Noto Serif SC", Georgia, serif;
  --sans: Inter, "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --max-width: 1440px;
  --reading-width: 760px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--navy);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

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

img {
  height: auto;
}

button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3,
h4,
figure,
blockquote {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--ivory);
  color: var(--navy);
  font-weight: 700;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  z-index: 1001;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  will-change: transform;
}

.shell {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--white-line);
  background: var(--navy);
  color: var(--ivory);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  min-height: 84px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 0.28rem;
  color: rgba(250, 248, 245, 0.58);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.primary-nav a {
  position: relative;
  padding-block: 1.9rem;
  color: rgba(250, 248, 245, 0.68);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 200ms var(--ease);
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1.35rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  content: "";
  transition: transform 240ms var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="location"] {
  color: var(--ivory);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.language-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
}

.language-control svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.language-select {
  min-height: 40px;
  padding: 0.45rem 1.7rem 0.45rem 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.5);
  border-radius: 0;
  appearance: none;
  background: transparent;
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.language-select option {
  background: var(--navy);
  color: var(--ivory);
}

.language-control::after {
  position: absolute;
  right: 0.25rem;
  width: 5px;
  height: 5px;
  transform: rotate(45deg) translateY(-2px);
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  content: "";
  pointer-events: none;
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--white-line);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.icon-button svg,
.menu-button svg {
  width: 17px;
  height: 17px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--ivory);
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 9rem);
  width: 1px;
  background: rgba(250, 248, 245, 0.055);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 1.5rem;
  min-height: min(800px, calc(100vh - 84px));
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.hero-copy {
  z-index: 1;
  grid-column: 1 / span 7;
  padding-right: clamp(0rem, 2vw, 2rem);
}

.edition-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.edition-line::before {
  width: 34px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.hero-kicker {
  margin-bottom: 1rem;
  color: rgba(250, 248, 245, 0.64);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.4vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.99;
}

.hero-title em {
  color: var(--gold);
  font-weight: 400;
}

.hero-deck {
  max-width: 680px;
  margin-top: 1.8rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--burgundy-light);
  color: rgba(250, 248, 245, 0.74);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--ivory);
}

.button--ghost {
  border-color: rgba(250, 248, 245, 0.28);
  background: transparent;
  color: var(--ivory);
}

.button--ghost:hover {
  border-color: var(--ivory);
  background: transparent;
}

.button svg {
  width: 16px;
  height: 16px;
}

.hero-visual {
  position: relative;
  grid-column: 9 / span 4;
  align-self: stretch;
  padding: 0.75rem 0 2rem 1rem;
}

.portrait-frame {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.portrait-frame::before {
  position: absolute;
  z-index: 0;
  top: -0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  left: -0.75rem;
  border: 1px solid rgba(197, 160, 89, 0.44);
  content: "";
}

.portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.62) contrast(1.04);
}

.portrait-frame figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem 1.15rem;
  background: rgba(11, 21, 40, 0.92);
  color: rgba(250, 248, 245, 0.64);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-seal {
  position: absolute;
  z-index: 3;
  top: 2.25rem;
  left: -2.6rem;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.milestone-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.milestone {
  min-width: 0;
  padding: 2rem clamp(1.1rem, 2.4vw, 2.5rem) 2.2rem;
  border-left: 1px solid var(--line);
}

.milestone:last-child {
  border-right: 1px solid var(--line);
}

.milestone-value {
  display: block;
  overflow-wrap: anywhere;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3.4rem);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.milestone-label {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.milestone-detail {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.section {
  position: relative;
  padding-block: var(--section-space);
  background: var(--ivory);
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: var(--navy);
  color: var(--ivory);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 2fr) minmax(0, 7fr) minmax(200px, 3fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.section--navy .section-heading {
  border-color: var(--white-line);
}

.section-number {
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--navy .section-number {
  color: var(--gold);
}

.section-title {
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.1vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.section-intro {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section--navy .section-intro {
  color: rgba(250, 248, 245, 0.65);
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(180px, 2.2fr) minmax(0, 9.8fr);
  gap: clamp(2rem, 5vw, 5.5rem);
}

.chapter-index {
  align-self: start;
}

.chapter-index__inner {
  position: sticky;
  top: 116px;
}

.index-label {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chapter-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-index a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.35;
  transition: color 180ms var(--ease), padding-left 180ms var(--ease);
}

.chapter-index li:last-child a {
  border-bottom: 1px solid var(--line);
}

.chapter-index a span {
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.chapter-index a:hover {
  padding-left: 0.25rem;
  color: var(--ink);
}

.timeline-list {
  border-top: 1px solid var(--ink);
}

.timeline-card {
  display: grid;
  grid-template-columns: minmax(120px, 1.5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.timeline-date small {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.timeline-title {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.timeline-subtitle {
  margin-top: 0.75rem;
  color: var(--burgundy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline-body {
  max-width: var(--reading-width);
  margin-top: 1.35rem;
  color: #3c4148;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.78;
}

.timeline-lesson {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  max-width: var(--reading-width);
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-lesson strong {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-figure {
  margin-top: 2rem;
}

.timeline-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.68) contrast(1.02);
}

.timeline-figure figcaption,
.legacy-figure figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-transform: uppercase;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle {
  position: relative;
  min-height: 300px;
  padding: clamp(1.8rem, 3.5vw, 3.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-number {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.principle h3 {
  max-width: 480px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
}

.principle p {
  max-width: 580px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
}

.principle-note {
  display: block;
  margin-top: 1.4rem;
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.chart-shell {
  border: 1px solid var(--line);
  background: var(--ivory);
}

.chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.chart-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
}

.chart-description {
  max-width: 660px;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.chart-controls {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.control-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}

.control-group button {
  min-width: 52px;
  min-height: 36px;
  padding: 0.45rem 0.75rem;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  cursor: pointer;
}

.control-group button:last-child {
  border-right: 0;
}

.control-group button:hover,
.control-group button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--ivory);
}

.scale-toggle {
  min-height: 34px;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  cursor: pointer;
}

.chart-body {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(200px, 3fr);
}

.chart-canvas {
  position: relative;
  min-width: 0;
  padding: 1.5rem 1rem 0.75rem;
  border-right: 1px solid var(--line);
}

.chart-canvas svg {
  width: 100%;
  min-height: 320px;
  overflow: visible;
}

.chart-grid-line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.chart-axis-label {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.chart-line-berkshire,
.chart-line-sp {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-berkshire {
  stroke: var(--burgundy);
  stroke-width: 3.5;
}

.chart-line-sp {
  stroke: var(--gold);
  stroke-width: 2;
}

.chart-end-berkshire {
  fill: var(--burgundy);
  stroke: var(--ivory);
  stroke-width: 3;
}

.chart-end-sp {
  fill: var(--gold);
  stroke: var(--ivory);
  stroke-width: 3;
}

.chart-hover-line {
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0.45;
}

.chart-tooltip {
  position: absolute;
  z-index: 4;
  top: 1.5rem;
  left: 50%;
  display: none;
  min-width: 190px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--navy);
  background: var(--ivory);
  box-shadow: 5px 5px 0 rgba(11, 21, 40, 0.09);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.67rem;
  line-height: 1.75;
  pointer-events: none;
}

.chart-tooltip.is-visible {
  display: block;
}

.chart-tooltip strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--serif);
  font-size: 1rem;
}

.chart-tooltip i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--burgundy);
}

.chart-tooltip i.gold {
  background: var(--gold);
}

.chart-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.chart-stat + .chart-stat {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.chart-stat-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-stat-label::before {
  width: 20px;
  height: 2px;
  background: var(--burgundy);
  content: "";
}

.chart-stat--sp .chart-stat-label::before {
  background: var(--gold);
}

.chart-stat-value {
  display: block;
  margin-top: 0.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1;
}

.chart-stat-rate {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.chart-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.2rem clamp(1.4rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.compounding-quote {
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.compounding-quote blockquote {
  grid-column: 2;
  max-width: 850px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-style: italic;
  line-height: 1.3;
}

.compounding-quote cite {
  grid-column: 2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.estate-diagram {
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid rgba(197, 160, 89, 0.42);
  background: var(--navy-soft);
}

.diagram-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagram-caption span:last-child {
  color: rgba(250, 248, 245, 0.45);
  text-align: right;
}

.estate-flow-main {
  display: grid;
  grid-template-columns: 1fr 48px 1.2fr 48px 1.4fr;
  align-items: stretch;
}

.flow-node {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--white-line);
}

.flow-node--accent {
  border-color: var(--gold);
}

.flow-node__eyebrow {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-node h3 {
  margin-top: 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
}

.flow-node p {
  margin-top: 0.75rem;
  color: rgba(250, 248, 245, 0.62);
  font-size: 0.75rem;
  line-height: 1.6;
}

.flow-node strong {
  color: var(--ivory);
  font-family: var(--mono);
  font-weight: 500;
}

.flow-arrow {
  position: relative;
  align-self: center;
  height: 1px;
  background: var(--gold);
}

.flow-arrow::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
}

.children-connector {
  width: 66.66%;
  height: 44px;
  margin-left: auto;
  border-right: 1px solid rgba(197, 160, 89, 0.65);
  border-bottom: 1px solid rgba(197, 160, 89, 0.65);
  border-left: 1px solid rgba(197, 160, 89, 0.65);
}

.estate-children {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.child-node {
  position: relative;
  padding: 1.5rem;
  border-top: 1px solid var(--gold);
  background: rgba(250, 248, 245, 0.04);
}

.child-node::before {
  position: absolute;
  top: -44px;
  left: 50%;
  width: 1px;
  height: 44px;
  background: rgba(197, 160, 89, 0.65);
  content: "";
}

.child-node span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.child-node h3 {
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.child-node p {
  margin-top: 0.55rem;
  color: rgba(250, 248, 245, 0.6);
  font-size: 0.75rem;
  line-height: 1.6;
}

.estate-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--white-line);
  border-left: 1px solid var(--white-line);
}

.estate-principle {
  padding: 1.5rem;
  border-right: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
}

.estate-principle strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.estate-principle p {
  margin-top: 0.5rem;
  color: rgba(250, 248, 245, 0.6);
  font-size: 0.72rem;
  line-height: 1.65;
}

.estate-footnote {
  max-width: 920px;
  margin-top: 1.5rem;
  color: rgba(250, 248, 245, 0.48);
  font-size: 0.68rem;
  line-height: 1.7;
}

.legacy-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-top: clamp(4rem, 8vw, 7rem);
}

.legacy-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.65);
}

.legacy-figure figcaption {
  color: rgba(250, 248, 245, 0.44);
}

.legacy-quote {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 1.25;
}

.legacy-quote::before {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--gold);
  content: "“";
  font-size: 4rem;
  line-height: 0.5;
}

.legacy-quote-source {
  display: block;
  margin-top: 1.5rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.succession-intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 3.5rem;
}

.succession-thesis {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.35;
}

.succession-distinction {
  padding-left: 1.5rem;
  border-left: 2px solid var(--burgundy);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.succession-distinction strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.succession-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.person-card {
  min-height: 320px;
  padding: 1.75rem;
  border-right: 1px solid var(--line);
}

.person-card:first-child {
  border-left: 1px solid var(--line);
}

.person-role {
  display: block;
  min-height: 2.5rem;
  color: var(--burgundy);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.person-card h3 {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.person-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.7;
}

.person-tag {
  display: inline-block;
  margin-top: 1.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--gold);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meeting-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 0;
  margin-top: 4rem;
  background: var(--paper);
}

.meeting-feature img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(0.62);
}

.meeting-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
}

.meeting-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
}

.meeting-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.75;
}

.faq-section {
  margin-top: var(--section-space);
}

.faq-heading {
  max-width: 760px;
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 1.55rem;
  right: 0.4rem;
  color: var(--burgundy);
  content: "+";
  font-family: var(--mono);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: var(--reading-width);
  padding: 0 2rem 1.8rem 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
}

.methodology-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: clamp(2rem, 6vw, 6rem);
}

.methodology-note {
  padding-top: 1.25rem;
  border-top: 2px solid var(--burgundy);
}

.methodology-note h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.methodology-note p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

.source-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sources;
}

.source-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.65;
  counter-increment: sources;
}

.source-list li::before {
  color: var(--burgundy);
  content: counter(sources, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.62rem;
}

.source-list strong {
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  background: #080f1e;
  color: var(--ivory);
}

.footer-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.footer-title {
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.footer-title span {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 0 2rem;
}

.footer-nav a {
  padding-block: 0.9rem;
  border-top: 1px solid var(--white-line);
  color: rgba(250, 248, 245, 0.65);
  font-size: 0.75rem;
  transition: color 180ms var(--ease);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--white-line);
  color: rgba(250, 248, 245, 0.4);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  text-transform: uppercase;
}

.footer-bottom a {
  color: var(--gold);
  white-space: nowrap;
}

.page-loading {
  display: grid;
  min-height: 80vh;
  place-items: center;
  align-content: center;
  gap: 1rem;
  background: var(--navy);
  color: rgba(250, 248, 245, 0.6);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-loading__mark {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.noscript-message {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 2rem;
  background: var(--ivory);
  text-align: center;
}

.noscript-message h1 {
  font-family: var(--serif);
  font-size: 3rem;
}

.noscript-message p {
  max-width: 600px;
  margin-top: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[lang^="zh"] .hero-title,
html[lang="ja"] .hero-title,
html[lang="ko"] .hero-title {
  letter-spacing: -0.025em;
  line-height: 1.15;
}

html[lang^="zh"] .timeline-body,
html[lang="ja"] .timeline-body,
html[lang="ko"] .timeline-body {
  line-height: 1.95;
}

html[lang="de"] .hero-title,
html[lang="fr"] .hero-title,
html[lang="es"] .hero-title {
  font-size: clamp(2.8rem, 4.8vw, 5rem);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: calc(-1 * var(--gutter));
    left: calc(-1 * var(--gutter));
    display: none;
    padding: 0.75rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--gold);
    background: var(--navy);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--white-line);
  }

  .primary-nav a::after {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero-copy {
    grid-column: 1 / span 7;
  }

  .hero-visual {
    grid-column: 8 / span 5;
  }

  .hero-title {
    font-size: clamp(3rem, 5.6vw, 4.7rem);
  }

  .section-heading {
    grid-template-columns: 1.5fr 6.5fr 4fr;
  }

  .succession-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .person-card {
    border-bottom: 1px solid var(--line);
  }

  .person-card:nth-child(odd) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    grid-column: 1 / span 7;
  }

  .hero-visual {
    grid-column: 8 / span 5;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 470px;
  }

  .hero-seal {
    left: -1.75rem;
    width: 86px;
    height: 86px;
    font-size: 0.62rem;
  }

  .milestones {
    grid-template-columns: repeat(2, 1fr);
  }

  .milestone:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .milestone:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr 5fr;
  }

  .section-intro {
    grid-column: 2;
    max-width: 650px;
  }

  .timeline-layout {
    display: block;
  }

  .chapter-index {
    margin-bottom: 2.5rem;
  }

  .chapter-index__inner {
    position: static;
  }

  .chapter-index ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
  }

  .chapter-index a {
    height: 100%;
    padding: 0.9rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .chapter-index li:last-child a {
    border-bottom: 1px solid var(--line);
  }

  .chart-header {
    flex-direction: column;
  }

  .chart-controls {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .chart-body {
    display: block;
  }

  .chart-canvas {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chart-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .chart-stat + .chart-stat {
    margin-top: 0;
    margin-left: 2rem;
    padding-top: 0;
    padding-left: 2rem;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .estate-flow-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-node {
    min-height: 0;
  }

  .flow-arrow {
    width: 1px;
    height: 36px;
    justify-self: center;
  }

  .flow-arrow::after {
    top: auto;
    right: -3px;
    bottom: 0;
    transform: rotate(135deg);
  }

  .children-connector {
    display: none;
  }

  .estate-children {
    gap: 0;
    margin-top: 1rem;
    border-top: 1px solid rgba(197, 160, 89, 0.65);
  }

  .child-node {
    border-top: 0;
    border-right: 1px solid var(--white-line);
  }

  .child-node::before {
    display: none;
  }

  .legacy-feature,
  .succession-intro-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .legacy-figure {
    max-width: 660px;
  }

  .meeting-feature {
    grid-template-columns: 1fr;
  }

  .meeting-feature img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 1.25rem;
  }

  html {
    scroll-padding-top: 5rem;
  }

  .header-inner {
    min-height: 72px;
    gap: 0.75rem;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header-tools {
    gap: 0.45rem;
  }

  .print-button {
    display: none;
  }

  .language-select {
    max-width: 116px;
    font-size: 0.7rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 3rem;
  }

  .hero-copy {
    width: 100%;
    padding-right: 0;
  }

  .edition-line {
    margin-bottom: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.75rem, 12vw, 4.4rem);
    line-height: 1.02;
  }

  html[lang="de"] .hero-title,
  html[lang="fr"] .hero-title,
  html[lang="es"] .hero-title {
    font-size: clamp(2.45rem, 10vw, 3.8rem);
  }

  .hero-deck {
    font-size: 1.05rem;
  }

  .hero-visual {
    width: calc(100% - 1rem);
    align-self: flex-end;
    padding-left: 0;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 0;
  }

  .portrait-frame img {
    aspect-ratio: 4 / 4.7;
  }

  .hero-seal {
    top: 1.5rem;
    left: -1rem;
  }

  .milestone {
    padding: 1.5rem 1rem;
  }

  .milestone-value {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
  }

  .section-heading {
    display: block;
  }

  .section-number {
    display: block;
    margin-bottom: 1.2rem;
  }

  .section-intro {
    margin-top: 1.25rem;
  }

  .chapter-index ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-card {
    display: block;
  }

  .timeline-date {
    margin-bottom: 1.25rem;
  }

  .timeline-date small {
    display: inline;
    margin-left: 0.75rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 0;
  }

  .principle-number {
    margin-bottom: 1.5rem;
  }

  .chart-canvas {
    padding-inline: 0.25rem;
    overflow: hidden;
  }

  .chart-canvas svg {
    min-height: 250px;
  }

  .chart-notes {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .compounding-quote {
    display: block;
  }

  .compounding-quote cite {
    display: block;
    margin-top: 1.25rem;
  }

  .estate-children,
  .estate-principles {
    grid-template-columns: 1fr;
  }

  .child-node {
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .legacy-feature {
    margin-top: 4rem;
  }

  .succession-grid {
    grid-template-columns: 1fr;
  }

  .person-card,
  .person-card:nth-child(odd) {
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .language-control > svg {
    display: none;
  }

  .language-select {
    max-width: 104px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .milestones {
    grid-template-columns: 1fr;
  }

  .milestone,
  .milestone:nth-child(3),
  .milestone:nth-child(4) {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 1.4fr;
    gap: 0 1rem;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .milestone:first-child {
    border-top: 0;
  }

  .milestone-value {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .milestone-label {
    margin-top: 0;
  }

  .timeline-lesson {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .chart-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-summary {
    padding: 1.25rem;
  }

  .chart-stat + .chart-stat {
    margin-left: 1rem;
    padding-left: 1rem;
  }

  .chart-stat-value {
    font-size: 1.6rem;
  }

  .diagram-caption {
    flex-direction: column;
  }

  .diagram-caption span:last-child {
    text-align: left;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 16mm;
  }

  html,
  body {
    background: #fff;
    color: #000;
    font-size: 10pt;
  }

  .site-header,
  .reading-progress,
  .hero-actions,
  .chart-controls,
  .skip-link,
  .site-footer,
  .chapter-index {
    display: none !important;
  }

  .hero,
  .section--navy,
  .estate-diagram,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero-grid,
  .section-heading,
  .timeline-layout,
  .legacy-feature,
  .methodology-grid {
    display: block;
    min-height: 0;
  }

  .hero-visual {
    max-width: 85mm;
    margin-top: 8mm;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 0;
  }

  .hero-title,
  .section-title,
  .hero-deck,
  .section-intro,
  .flow-node p,
  .child-node p,
  .legacy-quote,
  .estate-principle p {
    color: #000 !important;
  }

  .section {
    padding-block: 12mm;
  }

  .timeline-card,
  .principle,
  .person-card,
  .flow-node,
  .chart-shell {
    break-inside: avoid;
  }

  .timeline-layout {
    display: block;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
