:root {
  --ink: #17201d;
  --muted: #596a63;
  --paper: #f8f5ed;
  --paper-strong: #fffdf7;
  --line: rgba(23, 32, 29, 0.14);
  --forest: #163b35;
  --moss: #5c7b62;
  --gold: #c89d4b;
  --rose: #a75f5d;
  --sky: #d7e5e3;
  --shadow: 0 18px 60px rgba(20, 31, 28, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(248, 245, 237, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 157, 75, 0.16);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.5vw, 20px);
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 58px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #15231f;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 21, 19, 0.78), rgba(7, 21, 19, 0.38) 48%, rgba(7, 21, 19, 0.1)),
    linear-gradient(0deg, rgba(7, 21, 19, 0.72), rgba(7, 21, 19, 0.02) 45%);
}

.hero-content {
  position: relative;
  max-width: 820px;
  padding: 0 clamp(22px, 7vw, 88px) clamp(52px, 10vh, 112px);
  color: #fffdf7;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(4rem, 12vw, 9rem);
}

.hero p:not(.kicker) {
  max-width: 670px;
  margin: 22px 0 0;
  font-size: clamp(1.12rem, 2.2vw, 1.46rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 253, 247, 0.34);
  border-radius: 6px;
  color: #fffdf7;
  text-decoration: none;
  background: rgba(255, 253, 247, 0.08);
}

.hero-actions a:first-child {
  color: #17201d;
  background: var(--gold);
  border-color: var(--gold);
}

.page-hero,
.intro-grid,
.band,
.split,
.two-column,
.quote-section,
.tradition-list,
.source-list,
.page-lede,
.claim-section,
.continue-section {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.page-hero {
  padding: clamp(58px, 9vw, 104px) 0 30px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.page-hero p:not(.kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.2rem;
}

.intro-grid,
.split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(46px, 8vw, 84px) 0;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-lede {
  padding: 18px 0 38px;
}

.page-lede p,
.lede {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.28;
}

p {
  margin: 14px 0 0;
}

.note-panel,
.fact-card {
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.note-panel h2,
.fact-card h3 {
  font-size: 1.28rem;
}

.band {
  padding: clamp(48px, 8vw, 84px) 0;
  border-top: 1px solid var(--line);
}

.learning-map,
.study-grid,
.agent-grid,
.angle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.study-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.angle-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.angle-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.learning-step,
.study-card,
.angle-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-decoration: none;
}

.angle-card {
  min-height: 280px;
  gap: 12px;
}

.learning-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fffdf7;
  background: var(--forest);
  font-weight: 800;
}

.learning-step h3,
.study-card h3,
.angle-card h3 {
  font-size: 1.18rem;
}

.learning-step p,
.study-card p,
.angle-card p {
  color: var(--muted);
}

.angle-card strong {
  color: var(--ink);
}

.angle-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.learning-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.claim-section {
  display: grid;
  gap: 18px;
  padding: clamp(34px, 6vw, 66px) 0;
  border-top: 1px solid var(--line);
}

.claim-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.58);
}

.claim-card__meta {
  min-width: 0;
}

.claim-card__meta .source-line {
  margin-top: 0;
}

.claim-card__body {
  min-width: 0;
}

.claim-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.claim-card__body p {
  color: var(--muted);
}

.source-line {
  margin-top: 16px;
  color: var(--rose);
  font-size: 0.86rem;
  font-weight: 800;
}

.source-line a {
  text-decoration-color: rgba(167, 95, 93, 0.38);
  text-underline-offset: 3px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-decoration: none;
}

.info-card h3 {
  font-size: 1.34rem;
}

.info-card p {
  color: var(--muted);
}

.info-card span {
  color: var(--rose);
  font-weight: 800;
}

.linked:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.quote-section {
  padding: clamp(42px, 7vw, 74px) 0;
  border-top: 1px solid var(--line);
}

.quote-section p {
  max-width: 980px;
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.45rem);
  line-height: 1.16;
}

.timeline {
  display: grid;
  gap: 14px;
}

.compact-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.62);
}

.step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fffdf7;
  background: var(--forest);
  font-weight: 800;
}

.compact-timeline .step {
  grid-template-columns: 72px 1fr;
}

.compact-timeline .step span {
  width: 58px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.tradition-list {
  display: grid;
  gap: 16px;
  padding-bottom: 52px;
}

.tradition {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.tradition h2 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.tradition p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.tradition p + p {
  margin-top: 12px;
}

.tradition strong {
  color: var(--ink);
}

.tradition .source-line {
  margin-top: 14px;
  font-size: 0.8rem;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 54px;
}

.source-shelf + .source-shelf {
  margin-top: 34px;
}

.source-shelf h3 {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 1.28rem;
}

.source-item {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-decoration: none;
}

.source-item span {
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.source-item:hover {
  box-shadow: var(--shadow);
}

.continue-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  margin-top: clamp(18px, 4vw, 42px);
  margin-bottom: clamp(54px, 8vw, 92px);
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.continue-section h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.continue-section p:not(.kicker) {
  max-width: 680px;
  color: var(--muted);
}

.continue-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.continue-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.continue-actions a:first-child {
  color: #17201d;
  border-color: var(--gold);
  background: var(--gold);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  max-width: 480px;
  margin: 4px 0 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 710px;
  }

  .intro-grid,
  .split,
  .two-column,
  .section-heading,
  .tradition,
  .source-list,
  .claim-card,
  .glossary-grid,
  .continue-section {
    grid-template-columns: 1fr;
  }

  .continue-actions {
    justify-content: flex-start;
  }

  .feature-grid,
  .learning-map,
  .study-grid,
  .agent-grid,
  .angle-grid,
  .compact-timeline {
    grid-template-columns: 1fr;
  }

  .info-card,
  .learning-step,
  .study-card,
  .angle-card {
    min-height: 190px;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: relative;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-content {
    padding-bottom: 42px;
  }
}
