:root {
  --paper: #f3f1ea;
  --paper-bright: #faf9f4;
  --ink: #17201d;
  --forest: #173f35;
  --forest-2: #255b4b;
  --clay: #c96f43;
  --mist: #dce6e1;
  --dark: #101513;
  --white: #f8f7f1;
  --line: rgba(23, 32, 29, 0.22);
  --line-light: rgba(248, 247, 241, 0.25);
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Courier New", monospace;
  --header-h: 64px;
  --max: 1280px;
  --copy: 600px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

html.route-changing {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

::selection {
  color: var(--paper-bright);
  background: var(--forest);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-150%);
}

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

#field-canvas {
  position: fixed;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0.028;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(243, 241, 234, 0.9);
  backdrop-filter: blur(14px);
}

.site-header.on-dark:not(.scrolled) {
  color: var(--white);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand-mark {
  color: var(--clay);
  font-family: var(--sans);
  font-size: 15px;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desktop-nav a,
.nav-button {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after,
.nav-button::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.nav-button:hover::after,
.nav-button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.desktop-nav .nav-cta {
  padding: 10px 14px;
  border: 1px solid currentColor;
}

.desktop-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  position: relative;
  z-index: 201;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  list-style: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu .menu-close-button {
  position: fixed;
  z-index: 202;
  top: 11px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(11, 4, 32, 0.6);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-close-button span {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}

.menu-close-button span:first-child {
  transform: rotate(45deg);
}

.menu-close-button span:last-child {
  transform: rotate(-45deg);
}

.mobile-navigation[open] > .menu-toggle {
  visibility: hidden;
  pointer-events: none;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transition: transform 250ms var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

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

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  align-items: end;
  visibility: hidden;
  pointer-events: none;
  color: var(--white);
  background: var(--dark);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 280ms ease, transform 280ms var(--ease), visibility 280ms;
}

.mobile-menu[aria-hidden="false"],
.mobile-navigation[open] .mobile-menu {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-inner {
  display: grid;
  gap: 12px;
  padding: 110px 24px 40px;
}

.mobile-menu a,
.mobile-menu button {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(34px, 11vw, 56px);
  line-height: 1.04;
  text-align: left;
}

.eyebrow,
.scene-kicker,
.chapter-index,
.visual-tag,
.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero {
  min-height: 92svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.home-hero-inner {
  width: min(1040px, 100%);
}

.home-hero h1 {
  margin: 22px 0 18px;
  font-family: var(--serif);
  font-size: clamp(76px, 14vw, 188px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.home-hero h1 span {
  display: block;
  margin-top: 0.32em;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 0.11em;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-deck {
  max-width: 690px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.system-summary strong {
  color: var(--cyan);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--forest);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: transparent;
}

.orbit-seal {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 34px;
}

.seal-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--forest);
  border-radius: 50%;
  animation: slow-spin 22s linear infinite;
}

.seal-ring::before,
.seal-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
  transform: translate(-50%, -50%) translateX(38px);
}

.seal-ring::after {
  background: var(--forest);
  transform: translate(-50%, -50%) translateX(-38px);
}

.seal-core {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 8px rgba(23, 63, 53, 0.08);
}

.course-section {
  padding: 120px 24px 150px;
  border-top: 1px solid var(--line);
  background: rgba(243, 241, 234, 0.86);
}

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

.course-intro h2,
.manifesto h2 {
  margin: 16px 0 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.course-intro p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
}

.course-list {
  width: min(860px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.chapter-card {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 72px 1fr 56px;
  gap: 18px;
  align-items: center;
  padding: 26px 30px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(250, 249, 244, 0.62);
  transition: color 320ms ease, background 320ms ease, transform 320ms var(--ease);
}

.chapter-card:hover,
.chapter-card:focus-visible {
  z-index: 2;
  color: var(--white);
  background: var(--forest);
  transform: scale(1.012);
}

.card-number {
  align-self: start;
  font-family: var(--mono);
  font-size: 12px;
}

.card-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}

.card-summary {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.card-arrow {
  font-family: var(--serif);
  font-size: 30px;
  text-align: right;
  transition: transform 320ms var(--ease);
}

.chapter-card:hover .card-arrow,
.chapter-card:focus-visible .card-arrow {
  transform: translate(6px, -4px);
}

.card-glyph {
  position: absolute;
  right: 82px;
  bottom: -54px;
  width: 116px;
  height: 116px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
  transition: opacity 320ms ease, transform 550ms var(--ease);
}

.card-glyph::before,
.card-glyph::after {
  position: absolute;
  inset: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.card-glyph::after {
  inset: 44px;
  background: currentColor;
}

.chapter-card:hover .card-glyph,
.chapter-card:focus-visible .card-glyph {
  opacity: 0.32;
  transform: rotate(28deg) translateY(-26px);
}

.manifesto {
  padding: 160px 24px;
  color: var(--white);
  background: var(--dark);
  text-align: center;
}

.manifesto-inner {
  max-width: 980px;
  margin: 0 auto;
}

.grammar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.grammar-token {
  padding: 13px 15px;
  border: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chapter-hero {
  min-height: 88svh;
  display: grid;
  place-items: center;
  padding: 116px 24px 90px;
}

.chapter-hero-inner {
  width: min(900px, 100%);
  text-align: center;
}

.title-frame {
  margin: 20px 0 36px;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--line);
  background: rgba(250, 249, 244, 0.6);
  backdrop-filter: blur(4px);
}

.title-frame h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 118px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.chapter-subtitle {
  max-width: 740px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 42px);
  font-style: italic;
  line-height: 1.2;
}

.chapter-outcome {
  max-width: 720px;
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.chapter-outcome strong {
  margin-right: 8px;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-progress {
  position: fixed;
  z-index: 210;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.chapter-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--clay);
}

.scene {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px 48px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(243, 241, 234, 0.94);
}

.scene.tone-mist {
  background: rgba(220, 230, 225, 0.96);
}

.scene.tone-dark {
  color: var(--white);
  background: var(--dark);
  border-color: var(--line-light);
}

.scene-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  margin: 0 auto;
}

.scene:nth-child(even) .scene-copy {
  order: 2;
}

.scene:nth-child(even) .visual-wrap {
  order: 1;
}

.scene-copy,
.visual-wrap {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms ease, transform 900ms var(--ease);
}

.scene.is-visible .scene-copy,
.scene.is-visible .visual-wrap {
  opacity: 1;
  transform: translateY(0);
}

.has-gsap .scene-copy,
.has-gsap .visual-wrap {
  opacity: 1;
  transform: none;
  transition: none;
}

.has-gsap .chapter-card,
.has-gsap .grammar-token,
.has-gsap .chapter-mini,
.has-gsap .next-link {
  will-change: transform, opacity;
}

.has-gsap .visual-stage {
  will-change: transform;
}

.scene-kicker {
  margin-bottom: 18px;
  color: var(--clay);
}

.scene-headline {
  max-width: 720px;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.3vw, 70px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.scene-body {
  max-width: var(--copy);
}

.scene-body p {
  margin: 0 0 16px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.62;
}

.scene-question-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: scene-question;
}

.scene-question-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 19px 0;
  border-top: 1px solid currentColor;
  counter-increment: scene-question;
}

.scene-question-list li::before {
  content: "0" counter(scene-question);
  padding-top: 2px;
  color: var(--clay);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.scene-question-list strong {
  display: block;
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 650;
  line-height: 1.3;
}

.scene-question-list p,
.scene-body .scene-question-list p {
  margin: 7px 0 0;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.58;
  opacity: 0.72;
}

.evidence-panel {
  margin-top: 30px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.evidence-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.evidence-panel summary::-webkit-details-marker {
  display: none;
}

.evidence-panel summary::after {
  content: "+";
  font-size: 16px;
}

.evidence-panel[open] summary::after {
  content: "−";
}

.evidence-panel p {
  margin: 0;
  padding: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
}

.interface-copy {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 10px 12px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.visual-wrap {
  position: relative;
  min-width: 0;
}

.visual-stage {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto;
  isolation: isolate;
}

.visual-stage::before {
  position: absolute;
  inset: 4%;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.18;
}

.visual-tag {
  position: absolute;
  top: 1%;
  left: 0;
  color: currentColor;
  opacity: 0.55;
}

.visual-caption {
  max-width: 440px;
  margin: 18px auto 0;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  opacity: 0.62;
  text-align: center;
  text-transform: uppercase;
}

.v-orbit,
.v-ring {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.v-orbit.one {
  inset: 18%;
  animation: slow-spin 18s linear infinite;
}

.v-orbit.two {
  inset: 31%;
  animation: slow-spin 11s linear infinite reverse;
}

.v-orbit.three {
  inset: 42%;
}

.v-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 8px rgba(201, 111, 67, 0.14);
  transform: translate(-50%, -50%);
}

.v-orbit.one::before,
.v-orbit.two::before {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--paper);
  content: "";
  transform: translate(-50%, -50%);
}

.tone-dark .v-orbit.one::before,
.tone-dark .v-orbit.two::before {
  background: var(--dark);
}

.v-label {
  position: absolute;
  z-index: 3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-grid {
  width: 68%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  transform: perspective(500px) rotateX(22deg);
}

.calendar-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  opacity: 0.34;
  animation: cell-breathe 3.2s ease-in-out infinite;
}

.calendar-cell.active {
  color: var(--white);
  background: var(--clay);
  opacity: 1;
}

.season-wheel {
  position: relative;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: slow-spin 30s linear infinite;
}

.season-quadrant {
  position: absolute;
  width: 44%;
  height: 44%;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50% 8% 50% 8%;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.season-quadrant:nth-child(1) { top: 4%; left: 4%; background: rgba(23, 63, 53, 0.18); }
.season-quadrant:nth-child(2) { top: 4%; right: 4%; background: rgba(201, 111, 67, 0.2); transform: rotate(90deg); }
.season-quadrant:nth-child(3) { right: 4%; bottom: 4%; background: rgba(152, 122, 68, 0.18); transform: rotate(180deg); }
.season-quadrant:nth-child(4) { bottom: 4%; left: 4%; background: rgba(62, 90, 118, 0.16); transform: rotate(270deg); }

.season-quadrant span {
  transform: rotate(var(--unrotate, 0deg));
}

.solar-ticks {
  position: absolute;
  inset: 9%;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: slow-spin 36s linear infinite;
}

.solar-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 50%;
  background: linear-gradient(currentColor 0 8px, transparent 8px);
  transform-origin: top center;
}

.cycle-rings {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
}

.cycle-ring {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.cycle-ring.ten {
  inset: 5%;
  animation: slow-spin 24s linear infinite;
}

.cycle-ring.twelve {
  inset: 21%;
  animation: slow-spin 31s linear infinite reverse;
}

.cycle-token {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 8px;
  transform: rotate(var(--a)) translateY(var(--radius)) rotate(calc(-1 * var(--a)));
}

.element-system {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
}

.element-node {
  --size: 62px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-142px) rotate(calc(-1 * var(--a)));
  animation: node-pulse 4s ease-in-out infinite;
  animation-delay: var(--delay);
}

.tone-dark .element-node {
  color: var(--white);
  background: var(--dark);
}

.element-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-family: var(--serif);
  font-size: 34px;
  transform: translate(-50%, -50%);
}

.element-lines {
  position: absolute;
  inset: 12%;
  opacity: 0.3;
}

.yin-yang-field {
  width: 70%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: slow-spin 20s linear infinite;
}

.yin-yang-field div {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.yin-yang-field .yang {
  color: var(--white);
  background: var(--forest);
}

.yin-yang-field .yin {
  color: var(--ink);
  background: var(--paper-bright);
}

.path-map {
  width: 82%;
}

.path-map svg {
  width: 100%;
  overflow: visible;
}

.path-map path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-dasharray: 8 8;
  animation: dash 12s linear infinite;
}

.path-map circle {
  fill: var(--clay);
}

.grammar-stack {
  width: 86%;
  display: grid;
  gap: 8px;
}

.grammar-line {
  display: grid;
  grid-template-columns: 92px 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  transform: translateX(var(--offset));
  animation: grammar-in 5s var(--ease) infinite alternate;
}

.input-pipeline {
  width: 86%;
  display: grid;
  gap: 16px;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.input-box,
.pipeline-node {
  min-height: 62px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}

.pipeline-arrow {
  text-align: center;
  animation: arrow-pulse 1.8s ease-in-out infinite;
}

.person-avatar {
  position: relative;
  width: 210px;
  height: 300px;
}

.person-avatar .head,
.person-avatar .body {
  position: absolute;
  left: 50%;
  border: 1px solid currentColor;
  transform: translateX(-50%);
}

.person-avatar .head {
  top: 20px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
}

.person-avatar .body {
  bottom: 22px;
  width: 190px;
  height: 176px;
  border-radius: 100px 100px 12px 12px;
}

.person-avatar::after {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 16px rgba(201, 111, 67, 0.15);
  content: "";
  transform: translateX(-50%);
}

.pillars {
  width: 88%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;
}

.pillar {
  display: grid;
  gap: 4px;
  text-align: center;
}

.pillar-name {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.pillar-char {
  min-height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: "Songti SC", "Noto Serif CJK SC", var(--serif);
  font-size: clamp(28px, 4vw, 48px);
}

.pillar-char.branch {
  position: relative;
  color: var(--white);
  background: var(--forest);
}

.tone-dark .pillar-char.branch {
  color: var(--ink);
  background: var(--mist);
}

.hidden-stems {
  max-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  overflow: hidden;
  transition: max-height 500ms var(--ease);
}

.pillar:hover .hidden-stems,
.pillar:focus-within .hidden-stems,
.pillars.reveal .hidden-stems {
  max-height: 52px;
}

.hidden-stems span {
  padding: 5px 2px;
  border: 1px solid currentColor;
  font-size: 13px;
}

.day-master-glyph {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Songti SC", "Noto Serif CJK SC", var(--serif);
  font-size: 96px;
}

.day-master-glyph::before,
.day-master-glyph::after {
  position: absolute;
  inset: -24px;
  border: 1px dashed currentColor;
  border-radius: 50%;
  content: "";
  animation: slow-spin 18s linear infinite;
}

.day-master-glyph::after {
  inset: -52px;
  opacity: 0.3;
  animation-direction: reverse;
}

.clock-face {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.clock-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 50%;
  background: linear-gradient(currentColor 0 12px, transparent 12px);
  transform-origin: top center;
}

.clock-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 34%;
  background: var(--clay);
  transform-origin: top center;
  animation: clock-sweep 12s steps(12) infinite;
}

.network-visual {
  width: 86%;
  height: 76%;
}

.network-visual line,
.network-visual path {
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.32;
}

.network-visual circle {
  fill: var(--paper-bright);
  stroke: currentColor;
}

.tone-dark .network-visual circle {
  fill: var(--dark);
}

.network-visual circle.active {
  fill: var(--clay);
  stroke: var(--clay);
  animation: node-pulse 2.5s ease-in-out infinite;
}

.avatar-visual {
  position: relative;
  width: 76%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.avatar-glyph {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 46% 54% 40% 60%;
  color: var(--white);
  background: var(--avatar-color, var(--forest));
  font-family: var(--serif);
  font-size: 66px;
  animation: morph 7s ease-in-out infinite alternate;
}

.avatar-radiance {
  position: absolute;
  inset: 8%;
  border: 1px dashed currentColor;
  border-radius: 50%;
  opacity: 0.45;
  animation: slow-spin 16s linear infinite;
}

.context-cards,
.strategy-cards {
  width: 88%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.context-card,
.strategy-card {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  transition: color 250ms ease, background 250ms ease, transform 250ms var(--ease);
}

.context-card:hover,
.strategy-card:hover,
.strategy-card.active {
  color: var(--white);
  background: var(--forest);
  transform: translateY(-4px);
}

.profile-bars {
  width: 86%;
  display: grid;
  gap: 18px;
}

.profile-bar {
  display: grid;
  grid-template-columns: 100px 1fr 30px;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.profile-track {
  height: 9px;
  border: 1px solid currentColor;
}

.profile-fill {
  width: var(--value);
  height: 100%;
  background: var(--clay);
  transform-origin: left;
  animation: bar-grow 2.5s var(--ease) both;
}

.evidence-stack {
  width: 80%;
  display: grid;
}

.evidence-card {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid currentColor;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  transform: translateY(calc(var(--i) * -9px)) translateX(calc(var(--i) * 7px));
}

.tone-dark .evidence-card {
  background: var(--dark);
  color: var(--white);
}

.evidence-card strong {
  color: var(--clay);
}

.flip-demo {
  position: relative;
  width: 80%;
  aspect-ratio: 1.35;
  padding: 0;
  border: 0;
  outline-offset: 6px;
  background: transparent;
  cursor: pointer;
  perspective: 1100px;
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid currentColor;
  background: var(--paper-bright);
  backface-visibility: hidden;
  transition: transform 700ms var(--ease), box-shadow 300ms ease;
  transform-style: preserve-3d;
  text-align: left;
}

.flip-demo:hover .flip-front,
.flip-demo:focus-visible .flip-front,
.flip-demo:hover .flip-back,
.flip-demo:focus-visible .flip-back {
  box-shadow: 12px 12px 0 rgba(201, 111, 67, 0.18);
}

.flip-front {
  transform: rotateY(0deg);
}

.flip-back {
  color: var(--white);
  background: var(--forest);
  transform: rotateY(180deg);
}

.flip-demo.is-flipped .flip-front {
  transform: rotateY(-180deg);
}

.flip-demo.is-flipped .flip-back {
  transform: rotateY(0deg);
}

.flip-demo small,
.flip-demo em {
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flip-demo strong {
  max-width: 390px;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.05;
}

.method-visual {
  width: 88%;
  display: grid;
  grid-template-columns: 1fr 58px 1fr;
  gap: 8px;
  align-items: center;
}

.method-path {
  display: grid;
  gap: 7px;
}

.method-node {
  padding: 12px 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
  text-transform: uppercase;
}

.method-node.changed {
  color: var(--white);
  background: var(--clay);
}

.confidence-meter {
  position: relative;
  width: 82%;
  height: 16px;
  border: 1px solid currentColor;
}

.confidence-meter::before {
  position: absolute;
  inset: 0 26% 0 0;
  background: linear-gradient(90deg, var(--clay), var(--forest));
  content: "";
}

.confidence-meter::after {
  position: absolute;
  top: -14px;
  right: 26%;
  width: 1px;
  height: 44px;
  background: currentColor;
  content: "";
  animation: meter-scan 4s ease-in-out infinite alternate;
}

.energy-cycle {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
}

.cycle-node-five {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-150px) rotate(calc(-1 * var(--a)));
}

.tone-dark .cycle-node-five {
  background: var(--dark);
  color: var(--white);
}

.energy-cycle svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.energy-cycle polygon,
.energy-cycle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: 7 6;
  animation: dash 12s linear infinite;
}

.timing-system {
  position: relative;
  width: 82%;
  aspect-ratio: 1;
}

.timing-ring {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.timing-ring.baseline { inset: 35%; border-width: 2px; }
.timing-ring.decade { inset: 20%; animation: slow-spin 28s linear infinite; }
.timing-ring.year { inset: 9%; animation: slow-spin 18s linear infinite reverse; }
.timing-ring.day { inset: 0; border-style: dashed; animation: slow-spin 9s linear infinite; }

.timing-ring::before {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
  transform: translate(-50%, -50%);
}

.timing-core {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  background: var(--forest);
}

.daily-card {
  width: 82%;
  padding: 24px;
  border: 1px solid currentColor;
  background: rgba(250, 249, 244, 0.55);
}

.tone-dark .daily-card {
  background: rgba(255, 255, 255, 0.04);
}

.daily-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.daily-card h4 {
  margin: 22px 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
}

.daily-card p {
  margin: 0;
  font-size: 13px;
}

.daily-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 22px;
}

.daily-evidence span {
  padding: 8px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
  text-transform: uppercase;
}

.compass {
  position: relative;
  width: 260px;
  height: 260px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.compass::before,
.compass::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.compass::before {
  width: 1px;
  height: 116%;
  background: currentColor;
}

.compass::after {
  width: 116%;
  height: 1px;
  background: currentColor;
}

.compass-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 176px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(var(--clay) 0 50%, var(--forest) 50%);
  transform: translate(-50%, -50%) rotate(-23deg);
  animation: needle 6s ease-in-out infinite alternate;
}

.chapter-next {
  padding: 120px 24px;
  color: var(--white);
  background: var(--forest);
}

.chapter-next-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.next-link {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.next-number {
  font-family: var(--mono);
  font-size: 11px;
}

.next-link h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.next-arrow {
  font-family: var(--serif);
  font-size: 52px;
  transition: transform 300ms var(--ease);
}

.next-link:hover .next-arrow,
.next-link:focus-visible .next-arrow {
  transform: translate(10px, -8px);
}

.all-sections,
.site-footer {
  padding: 90px 24px;
  background: var(--paper-bright);
}

.all-sections-inner,
.site-footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.chapter-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.chapter-mini {
  min-height: 126px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease;
}

.chapter-mini:hover,
.chapter-mini.current {
  color: var(--white);
  background: var(--forest);
}

.chapter-mini span {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 9px;
}

.chapter-mini strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.08;
}

.site-footer {
  color: var(--white);
  background: var(--dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}

.footer-top h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.footer-top .footer-tagline {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.footer-links {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--line-light);
}

.footer-links a,
.footer-links button {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-note {
  margin: 74px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 11px;
  line-height: 1.55;
  opacity: 0.68;
}

.methodology-dialog {
  width: min(860px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper-bright);
}

.methodology-dialog::backdrop {
  background: rgba(16, 21, 19, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  padding: clamp(24px, 5vw, 50px);
}

.dialog-head {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dialog-head h2 {
  max-width: 620px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.dialog-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.methodology-list {
  border-top: 1px solid var(--line);
}

.methodology-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.methodology-item strong {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.methodology-item span {
  font-size: 13px;
}

.dialog-note {
  margin: 30px 0 0;
  padding: 16px;
  border-left: 3px solid var(--clay);
  background: rgba(201, 111, 67, 0.1);
  font-size: 13px;
}

.not-found {
  min-height: 90svh;
  display: grid;
  place-items: center;
  padding: 100px 24px;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 110px);
  font-weight: 400;
}

@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes node-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,111,67,0); } 50% { box-shadow: 0 0 0 12px rgba(201,111,67,.13); } }
@keyframes cell-breathe { 0%, 100% { opacity: .22; } 50% { opacity: .52; } }
@keyframes dash { to { stroke-dashoffset: -160; } }
@keyframes grammar-in { from { transform: translateX(var(--offset)); } to { transform: translateX(calc(var(--offset) * -0.45)); } }
@keyframes arrow-pulse { 0%, 100% { transform: translateY(-3px); opacity: .4; } 50% { transform: translateY(4px); opacity: 1; } }
@keyframes clock-sweep { to { transform: rotate(360deg); } }
@keyframes morph { 0% { border-radius: 46% 54% 40% 60%; transform: rotate(-3deg) scale(.94); } 100% { border-radius: 60% 40% 57% 43%; transform: rotate(5deg) scale(1.04); } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes meter-scan { from { right: 82%; } to { right: 12%; } }
@keyframes needle { from { transform: translate(-50%, -50%) rotate(-35deg); } to { transform: translate(-50%, -50%) rotate(-12deg); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .scene { min-height: auto; padding: 108px 24px; }
  .scene-inner { grid-template-columns: 1fr; gap: 54px; }
  .scene:nth-child(even) .scene-copy,
  .scene:nth-child(even) .visual-wrap { order: initial; }
  .scene-copy { max-width: 720px; margin: 0 auto; text-align: center; }
  .scene-body { margin: 0 auto; }
  .visual-stage { max-width: 520px; }
  .footer-top { grid-template-columns: 1fr; }
  .chapter-mini-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 56px; }
  .site-header { padding: 0 18px; }
  .brand { font-size: 20px; }
  .home-hero { min-height: 94svh; padding: 100px 18px 64px; }
  .home-hero h1 { font-size: clamp(72px, 23vw, 116px); }
  .hero-deck { font-size: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .course-section { padding: 90px 18px 110px; }
  .chapter-card { grid-template-columns: 34px 1fr 24px; gap: 10px; min-height: 148px; padding: 22px 16px; }
  .card-summary { font-size: 13px; }
  .card-glyph { right: 40px; width: 94px; height: 94px; }
  .manifesto { padding: 110px 18px; }
  .chapter-hero { min-height: 88svh; padding: 94px 18px 64px; }
  .title-frame { padding: 32px 16px; }
  .title-frame h1 { font-size: clamp(52px, 15vw, 78px); }
  .chapter-subtitle { font-size: 26px; }
  .scene { padding: 90px 20px; }
  .scene-headline { font-size: clamp(38px, 12vw, 56px); }
  .scene-body p { font-size: 15px; }
  .visual-stage { width: 100%; }
  .visual-stage::before { inset: 1%; }
  .element-node { --size: 54px; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-110px) rotate(calc(-1 * var(--a))); }
  .cycle-node-five { width: 58px; height: 58px; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-112px) rotate(calc(-1 * var(--a))); }
  .grammar-line { grid-template-columns: 76px 36px 1fr; padding: 9px; font-size: 8px; }
  .input-row { grid-template-columns: 1fr; }
  .pillars { width: 100%; gap: 4px; }
  .pillar-char { min-height: 66px; }
  .context-cards, .strategy-cards { width: 100%; }
  .profile-bar { grid-template-columns: 80px 1fr 26px; gap: 8px; }
  .method-visual { grid-template-columns: 1fr; }
  .method-visual > .v-label { position: static; text-align: center; }
  .next-link { grid-template-columns: 36px 1fr 28px; gap: 10px; }
  .chapter-mini-grid { grid-template-columns: 1fr; }
  .footer-top h2 { font-size: 54px; }
  .footer-top .footer-tagline { font-size: 32px; }
  .methodology-item { grid-template-columns: 1fr; gap: 6px; }
  .flip-demo { width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-gsap .chapter-card,
  .has-gsap .grammar-token,
  .has-gsap .chapter-mini,
  .has-gsap .next-link,
  .has-gsap .visual-stage {
    will-change: auto;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
