/* Fonts are loaded via <link rel="preconnect"> + <link rel="stylesheet"> in index.html
   (a render-blocking @import here would serialize CSS parse → font fetch). */

:root {
  --ink: #17110d;
  --coal: #130f0b;
  --coal-soft: #1d1712;
  --paper: #eee3cf;
  --paper-light: #f7efdf;
  --paper-deep: #d9c8aa;
  --rust: #a14e2e;
  --rust-light: #cf7547;
  --gold: #d7a75c;
  --gold-pale: #efd7a8;
  --blue: #31576b;
  --green: #4f6c5b;
  --muted: #756a5c;
  --line: rgba(42, 31, 22, .2);
  --serif: "Prata", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1320px;
  --shadow: 0 28px 80px rgba(23, 15, 8, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

p,
li {
  line-height: 1.72;
}

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

dfn {
  font-style: normal;
  border-bottom: 1px dotted currentColor;
}

.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: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--paper-light);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.reading-progress {
  position: fixed;
  z-index: 201;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.08);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rust-light), var(--gold));
}

.site-header {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  color: #f8ead2;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(19, 15, 11, .91);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  animation: header-in .35s ease;
}

@keyframes header-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 215, 168, .7);
  border-radius: 50%;
  font-family: var(--serif);
  letter-spacing: -.08em;
  color: var(--gold-pale);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.site-nav a {
  position: relative;
  padding: 9px 0;
  color: rgba(248,234,210,.74);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transition: right .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff7e9;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--coal);
  color: #fff4e2;
}

.hero-image,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/hero-seven-paths.jpg") center center / cover no-repeat;
  animation: hero-reveal 1.5s cubic-bezier(.2,.7,.2,1) both;
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(10,7,5,.92) 0%, rgba(10,7,5,.58) 37%, rgba(10,7,5,.06) 72%),
    linear-gradient(0deg, rgba(10,7,5,.65) 0%, transparent 34%),
    radial-gradient(circle at 50% 50%, transparent 32%, rgba(0,0,0,.2) 100%);
}

@keyframes hero-reveal {
  from { opacity: .1; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 52vw);
  padding: clamp(140px, 18vh, 205px) 0 90px clamp(24px, 7.5vw, 124px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--rust-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e0a25f;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  font-size: clamp(64px, 7.6vw, 126px);
  line-height: .91;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255,242,222,.77);
  font-size: clamp(16px, 1.35vw, 21px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--rust);
  color: #fff7ea;
  box-shadow: 0 12px 32px rgba(120,45,20,.28);
  transition: background .2s ease, transform .2s ease;
}

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

.text-link {
  color: #f5e7d2;
  text-decoration: none;
  font-size: 13px;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--gold);
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 6vw, 100px);
  bottom: 64px;
  width: 270px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.28);
}

.hero-note span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
}

.hero-note p {
  margin: 0;
  color: rgba(255,242,222,.7);
  font-size: 12px;
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 34px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.46);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.scroll-cue span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section {
  padding: clamp(88px, 10vw, 150px) clamp(22px, 6vw, 96px);
}

.section-intro {
  width: min(960px, 100%);
  margin: 0 auto 62px;
  text-align: center;
}

.section-intro h2,
.map-copy h2,
.chain-copy h2,
.cycle-heading h2,
.path-content h2,
.reflection-section h2,
.sources-intro h2 {
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.map-copy h2 {
  font-size: clamp(42px, 5vw, 72px);
}

.section-lead {
  max-width: 790px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 21px);
}

.foundation {
  background:
    radial-gradient(circle at 8% 14%, rgba(191,116,66,.11), transparent 28%),
    var(--paper-light);
}

.foundation-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-card {
  position: relative;
  min-height: 350px;
  padding: 38px 36px 34px;
}

.principle-card + .principle-card {
  border-left: 1px solid var(--line);
}

.principle-number {
  display: block;
  margin-bottom: 56px;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 17px;
}

.principle-card h3 {
  max-width: 300px;
  font-size: 28px;
  line-height: 1.25;
}

.principle-card p {
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.principle-card a {
  position: absolute;
  left: 36px;
  bottom: 30px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.reading-key {
  width: min(1000px, 100%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reading-key div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}

.reading-key p {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.key-tag {
  display: inline-block;
  width: fit-content;
  padding: 5px 8px 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.key-tag.fact {
  background: rgba(49,87,107,.12);
  color: var(--blue);
}

.key-tag.interpretation {
  background: rgba(161,78,46,.12);
  color: var(--rust);
}

.key-tag.practice {
  background: rgba(79,108,91,.14);
  color: var(--green);
}

.map-section {
  min-height: 850px;
  display: grid;
  grid-template-columns: minmax(300px, .68fr) minmax(600px, 1.35fr);
  align-items: center;
  gap: clamp(30px, 3vw, 60px);
  padding: 100px clamp(22px, 4vw, 68px);
  overflow: hidden;
  background: var(--paper);
}

.map-copy {
  max-width: 460px;
  margin-left: auto;
}

.map-copy > p:not(.eyebrow) {
  margin: 26px 0;
  color: var(--muted);
  font-size: 15px;
}

.map-legend {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.line {
  width: 28px;
  height: 2px;
  display: inline-block;
}

.line-rust { background: var(--rust); }
.line-blue { background: var(--blue); }
.line-gold { background: var(--gold); }

.map-visual {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 1.76;
  margin: 0 auto;
}

.map-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: contrast(.93) saturate(.8);
}

.map-center {
  position: absolute;
  left: 50%;
  top: 50.5%;
  width: 136px;
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(49,87,107,.48);
  border-radius: 50%;
  background: rgba(243,233,216,.82);
  box-shadow: 0 0 0 8px rgba(243,233,216,.3);
  transform: translate(-50%, -50%);
}

.map-center span {
  color: var(--rust);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-center strong {
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.4;
}

.map-node {
  position: absolute;
  width: clamp(70px, 6vw, 82px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(32,25,20,.52);
  border-radius: 50%;
  background: rgba(244,235,218,.93);
  box-shadow: 0 12px 26px rgba(57,40,24,.12);
  text-align: center;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 12px;
  transform: translate(-50%, -50%);
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.map-node span {
  color: var(--rust);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.map-node:hover,
.map-node:focus-visible {
  z-index: 3;
  background: var(--coal-soft);
  color: var(--gold-pale);
  box-shadow: 0 20px 36px rgba(32,22,14,.28);
  transform: translate(-50%, -50%) scale(1.07);
  outline: none;
}

.node-1 { left: 50%; top: 17%; }
.node-2 { left: 65%; top: 30%; }
.node-3 { left: 70%; top: 57%; }
.node-4 { left: 61%; top: 79.5%; }
.node-5 { left: 38.8%; top: 79.5%; }
.node-5 { font-size: 9px; }
.node-6 { left: 30.4%; top: 57%; }
.node-7 { left: 34.9%; top: 30.2%; }

.mobile-map-list {
  display: none;
}

.chain-section {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--coal);
  color: #f5e8d3;
}

.chain-image {
  position: absolute;
  inset: 0;
}

.chain-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19,15,11,.36), transparent 25%, transparent 75%, rgba(19,15,11,.36)),
    linear-gradient(0deg, rgba(19,15,11,.5), transparent 28%);
  pointer-events: none;
}

.chain-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  z-index: 1;
  left: 32px;
  bottom: 30px;
  max-width: 520px;
  margin: 0;
  color: rgba(255,239,213,.64);
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.chain-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 42vw);
  min-height: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(34px, 4vw, 62px);
  background: rgba(19,15,11,.83);
  border-left: 1px solid rgba(255,255,255,.12);
  border-right: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.chain-copy > p:not(.eyebrow) {
  margin: 26px 0 36px;
  color: rgba(245,232,211,.67);
  font-size: 15px;
}

.chain-steps {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.15);
}

.chain-steps li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.chain-steps span {
  grid-row: span 2;
  color: var(--rust-light);
  font-family: var(--serif);
}

.chain-steps strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
}

.chain-steps small {
  color: rgba(245,232,211,.5);
  font-size: 11px;
}

.source-link {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.atlas {
  padding-left: clamp(18px, 4vw, 64px);
  padding-right: clamp(18px, 4vw, 64px);
  background: var(--paper-light);
}

.atlas-intro {
  margin-bottom: 90px;
}

.sin-chapter {
  width: min(var(--max), 100%);
  margin: 0 auto 42px;
  scroll-margin-top: 10px;
  background: var(--paper);
  border: 1px solid rgba(42,31,22,.18);
  box-shadow: 0 18px 55px rgba(45,29,16,.08);
}

.sin-chapter.has-art {
  display: block;
  overflow: hidden;
}

.chapter-art {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--coal);
}

.chapter-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,9,7,.9) 0%, rgba(13,9,7,.45) 22%, transparent 55%);
}

.chapter-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-label {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 28px;
  right: auto;
  bottom: auto;
  padding: 11px 14px;
  background: rgba(19,15,11,.72);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  color: #fff0d7;
  font-family: var(--serif);
  font-size: 14px;
}

.art-label span {
  display: inline;
  margin: 0 9px 0 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.chapter-content {
  --chapter-pad: clamp(34px, 5vw, 72px);
  padding: var(--chapter-pad);
}

.has-art .chapter-content {
  padding-top: 0;
}

.has-art .chapter-header {
  position: relative;
  z-index: 2;
  min-height: 210px;
  margin: -210px calc(0px - var(--chapter-pad)) 0;
  padding: 72px var(--chapter-pad) 38px;
  border-bottom: 0;
  background: linear-gradient(0deg, rgba(19,15,11,.99) 0%, rgba(19,15,11,.9) 64%, rgba(19,15,11,0) 100%);
  color: #fff1d9;
}

.has-art .chapter-header h3 {
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.has-art .chapter-thesis {
  color: var(--gold-pale);
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}

.has-art .chapter-number,
.has-art .latin {
  color: var(--gold);
}

.chapter-header {
  display: grid;
  grid-template-columns: 60px minmax(170px, auto) 1fr;
  align-items: end;
  gap: 22px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.chapter-number {
  align-self: start;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 18px;
}

.latin {
  margin: 0 0 5px;
  color: var(--rust);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.chapter-header h3 {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1;
}

.chapter-thesis {
  max-width: 440px;
  margin: 0 0 4px auto;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 42px;
  padding: 42px 0;
}

.chapter-grid > div {
  min-width: 0;
}

.chapter-grid h4 {
  margin-bottom: 13px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.chapter-grid p,
.chapter-grid li {
  color: #554b40;
  font-size: 13px;
}

.chapter-grid p {
  margin: 0;
}

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

.chapter-grid p .key-tag {
  margin-right: 6px;
  vertical-align: 2px;
}

.chapter-grid ul {
  margin: 0;
  padding-left: 18px;
}

.promise-box {
  padding: 24px;
  border: 1px solid rgba(161,78,46,.32);
  background: rgba(161,78,46,.055);
}

.promise-box span,
.chapter-footer span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.promise-box strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.chapter-footer {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.65fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter-footer > div {
  min-height: 130px;
  padding: 24px 22px;
}

.chapter-footer > div + div {
  border-left: 1px solid var(--line);
}

.chapter-footer strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.chapter-footer .virtue {
  background: rgba(79,108,91,.08);
}

.practice-step p {
  margin: 0;
  color: #554b40;
  font-size: 11px;
  line-height: 1.6;
}

.practice-step .key-tag {
  margin-bottom: 9px;
}

.chapter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 25px;
}

.chapter-links a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.dark-chapter {
  background:
    radial-gradient(circle at 90% 10%, rgba(172,91,47,.16), transparent 34%),
    var(--coal-soft);
  color: #f3e5ce;
  border-color: rgba(255,255,255,.09);
}

.dark-chapter .chapter-header,
.dark-chapter .chapter-footer,
.dark-chapter .chapter-footer > div + div {
  border-color: rgba(255,255,255,.13);
}

.dark-chapter .chapter-thesis {
  color: var(--gold-pale);
}

.dark-chapter .chapter-grid p,
.dark-chapter .chapter-grid li,
.dark-chapter .practice-step p {
  color: rgba(243,229,206,.69);
}

.dark-chapter .promise-box {
  background: rgba(202,111,65,.08);
  border-color: rgba(202,111,65,.35);
}

.dark-chapter .chapter-footer span,
.dark-chapter .promise-box span {
  color: rgba(243,229,206,.48);
}

.dark-chapter .chapter-footer .virtue {
  background: rgba(77,119,96,.12);
}

.dark-chapter .chapter-links a {
  color: var(--gold);
}

.health-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 22px;
  border-left: 3px solid var(--blue);
  background: rgba(49,87,107,.08);
}

.health-note strong {
  font-family: var(--serif);
  font-weight: 400;
}

.health-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cycle-section {
  padding: 120px clamp(22px, 6vw, 96px);
  background:
    linear-gradient(rgba(19,15,11,.94), rgba(19,15,11,.94)),
    url("assets/still.jpg") center/cover;
  color: #f5e7d1;
}

.cycle-heading {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cycle-heading > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px auto 0;
  color: rgba(245,231,209,.61);
  font-size: 14px;
}

.cycle-track {
  width: min(var(--max), 100%);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 15px;
  padding: 0;
  list-style: none;
}

.cycle-track li {
  position: relative;
  min-height: 175px;
  padding: 24px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-top: 3px solid var(--rust-light);
}

.cycle-track li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -23px;
  width: 30px;
  color: var(--gold);
  text-align: center;
  transform: translateY(-50%);
}

.cycle-track span,
.path-steps span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
}

.cycle-track strong {
  display: block;
  margin: 28px 0 8px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.cycle-track small {
  color: rgba(245,231,209,.5);
  font-size: 10px;
  line-height: 1.5;
}

.cycle-result {
  max-width: 750px;
  margin: 42px auto 0;
  color: var(--gold-pale);
  text-align: center;
  font-family: var(--serif);
  font-size: 21px;
}

.path-section {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  color: var(--ink);
}

.path-section > img,
.path-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.path-section > img {
  object-fit: cover;
}

.path-overlay {
  background: linear-gradient(90deg, rgba(247,239,223,.98) 0%, rgba(247,239,223,.89) 48%, rgba(247,239,223,.25) 100%);
}

.path-content {
  position: relative;
  z-index: 1;
  width: min(800px, 58vw);
  padding: 110px 0 110px clamp(24px, 7vw, 110px);
}

.path-content h2 {
  max-width: 720px;
}

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

.path-steps article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(247,239,223,.46);
}

.path-steps h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.path-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.reflection-section {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(40px, 8vw, 120px);
  background: var(--paper);
}

.reflection-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.reflection-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.reflection-list span {
  color: var(--rust);
  font-family: var(--serif);
}

.reflection-list p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
}

.sources-section {
  padding: 110px clamp(22px, 6vw, 96px);
  background: var(--paper-deep);
}

.sources-intro {
  width: min(900px, 100%);
}

.sources-intro > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: #65594b;
  font-size: 14px;
}

.sources-grid {
  width: min(var(--max), 100%);
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(42,31,22,.25);
}

.sources-grid > div {
  padding: 30px 28px;
}

.sources-grid > div + div {
  border-left: 1px solid rgba(42,31,22,.25);
}

.sources-grid h3 {
  margin-bottom: 26px;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sources-grid a {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(42,31,22,.16);
  color: #493f35;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.sources-grid a:hover {
  color: var(--rust);
}

.sources-grid a span {
  color: var(--blue);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 50px clamp(22px, 6vw, 96px);
  background: var(--coal);
  color: rgba(245,231,209,.6);
}

.footer-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239,215,168,.35);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -.08em;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  font-size: 12px;
}

.site-footer a {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: nowrap;
}

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

@media (max-width: 1180px) {
  .hero-content {
    width: min(720px, 65vw);
  }

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

  .map-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .map-legend {
    grid-template-columns: repeat(3, auto);
    justify-content: center;
  }

  .map-visual {
    width: min(900px, 100%);
  }

  .chapter-header {
    grid-template-columns: 50px 1fr;
  }

  .chapter-thesis {
    grid-column: 2;
    max-width: none;
    margin: 10px 0 0;
  }

  .has-art .chapter-header {
    min-height: 250px;
    margin-top: -250px;
  }

  .cycle-track {
    grid-template-columns: repeat(5, 1fr);
  }

}

@media (max-width: 900px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .menu-toggle {
    position: relative;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
  }

  .menu-toggle span:not(.sr-only) {
    position: absolute;
    width: 23px;
    height: 1px;
    background: currentColor;
    transition: transform .25s ease;
  }

  .menu-toggle span:first-child { transform: translateY(-4px); }
  .menu-toggle span:nth-child(2) { transform: translateY(4px); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 3;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    background: rgba(19,15,11,.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero-content {
    width: min(720px, 78vw);
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(10,7,5,.91), rgba(10,7,5,.42) 70%, rgba(10,7,5,.2)),
      linear-gradient(0deg, rgba(10,7,5,.72), transparent 44%);
  }

  .hero-note {
    display: none;
  }

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

  .principle-card {
    min-height: auto;
    padding-bottom: 78px;
  }

  .principle-card + .principle-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principle-number {
    margin-bottom: 28px;
  }

  .reading-key {
    grid-template-columns: 1fr;
  }

  .chain-section {
    min-height: 0;
  }

  .chain-image {
    position: relative;
    inset: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .chain-image::after {
    background: linear-gradient(0deg, var(--coal) 0%, transparent 35%);
  }

  .chain-copy {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 54px clamp(26px, 8vw, 76px) 72px;
    background: var(--coal);
    border: 0;
    backdrop-filter: none;
  }

  .chapter-art {
    min-height: 0;
  }

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

  .chapter-footer > div {
    min-height: auto;
  }

  .chapter-footer > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

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

  .sources-grid > div + div {
    border-left: 0;
    border-top: 1px solid rgba(42,31,22,.25);
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 68px;
  }

  .brand {
    font-size: 10px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 830px;
  }

  .hero-image {
    background-position: 59% center;
  }

  .hero-vignette {
    background:
      linear-gradient(0deg, rgba(10,7,5,.95) 0%, rgba(10,7,5,.54) 63%, rgba(10,7,5,.32) 100%),
      linear-gradient(90deg, rgba(10,7,5,.68), transparent 80%);
  }

  .hero-content {
    width: 100%;
    min-height: 830px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 120px 22px 90px;
  }

  .hero h1 {
    font-size: clamp(55px, 17vw, 76px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 76px 18px;
  }

  .section-intro {
    margin-bottom: 42px;
    text-align: left;
  }

  .section-intro h2,
  .map-copy h2,
  .chain-copy h2,
  .cycle-heading h2,
  .path-content h2,
  .reflection-section h2,
  .sources-intro h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .section-lead {
    font-size: 15px;
  }

  .principle-card {
    padding: 28px 22px 72px;
  }

  .principle-card a {
    left: 22px;
  }

  .map-section {
    min-height: 0;
    padding: 80px 18px;
  }

  .map-copy {
    text-align: left;
  }

  .map-legend {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .map-visual {
    margin-top: 12px;
  }

  .map-center {
    width: 88px;
    padding: 8px;
  }

  .map-center strong {
    font-size: 8px;
  }

  .map-center span,
  .map-node {
    display: none;
  }

  .mobile-map-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mobile-map-list a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    color: var(--blue);
    font-family: var(--serif);
    font-size: 12px;
    text-decoration: none;
  }

  .chain-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .chain-image img {
    object-position: center;
  }

  .image-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .chain-copy {
    padding: 38px 18px 76px;
  }

  .atlas {
    padding-left: 10px;
    padding-right: 10px;
  }

  .atlas-intro {
    padding: 0 8px;
    margin-bottom: 56px;
  }

  .sin-chapter {
    margin-bottom: 18px;
  }

  .chapter-art {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .chapter-art img {
    object-position: center;
  }

  .chapter-content {
    --chapter-pad: 20px;
    padding: 30px 20px;
  }

  .chapter-header {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding-bottom: 25px;
  }

  .has-art .chapter-content {
    padding-top: 0;
  }

  .has-art .chapter-header {
    min-height: 0;
    margin: 0 calc(0px - var(--chapter-pad));
    padding: 30px var(--chapter-pad) 32px;
    background: var(--coal);
  }

  .art-label {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    font-size: 11px;
  }

  .art-label span {
    font-size: 7px;
  }

  .chapter-header h3 {
    font-size: clamp(36px, 11vw, 48px);
  }

  #acedia .chapter-header h3 {
    font-size: 34px;
  }

  .chapter-thesis {
    font-size: 16px;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0;
  }

  .chapter-grid p,
  .chapter-grid li {
    font-size: 13px;
  }

  .health-note {
    grid-template-columns: 1fr;
  }

  .cycle-section {
    padding: 80px 18px;
  }

  .cycle-heading {
    text-align: left;
  }

  .cycle-track {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 44px;
  }

  .cycle-track li {
    min-height: auto;
  }

  .cycle-track li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 18px;
    bottom: -19px;
    transform: none;
  }

  .cycle-track strong {
    margin-top: 14px;
  }

  .cycle-result {
    text-align: left;
    font-size: 18px;
  }

  .path-section {
    min-height: 0;
  }

  .path-section > img {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center;
  }

  .path-overlay {
    display: none;
  }

  .path-content {
    width: 100%;
    padding: 80px 18px;
    background: var(--paper-light);
  }

  .path-steps {
    grid-template-columns: 1fr;
  }

  .path-steps article {
    min-height: auto;
  }

  .reflection-list li {
    grid-template-columns: 36px 1fr;
    gap: 10px;
  }

  .sources-section {
    padding: 80px 18px;
  }

  .sources-grid {
    margin-top: 46px;
  }

  .sources-grid > div {
    padding: 26px 0;
  }

  .sources-grid a {
    grid-template-columns: 78px 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 52px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .reading-progress,
  .hero-actions,
  .scroll-cue {
    display: none !important;
  }

  .hero {
    min-height: 640px;
  }

  .sin-chapter {
    break-inside: avoid;
    box-shadow: none;
  }
}
