@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #f4f2ff;
  --muted: #a5a1b6;
  --lavender: #c3b0ff;
  --line: rgba(213, 199, 255, .12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f0e1b;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 42%, #a38bff18, #8564e608 58%, transparent 90%);
  pointer-events: none;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--lavender); outline-offset: 8px; }
::selection { background: #b9a4f5; color: #100d20; }

.page { max-width: 1440px; margin: auto; min-height: 100svh; padding: 42px 7%; display: flex; flex-direction: column; }
.masthead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; font-size: 27px; font-weight: 650; letter-spacing: -1.5px; }
.wordmark-domain { color: var(--lavender); }
.language-switcher { display: grid; grid-template-columns: repeat(6, auto); gap: 5px; margin-left: auto; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 8px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.language-switcher a:hover, .language-switcher a[aria-current="page"] { color: var(--ink); border-color: var(--line); background: #c3b0ff09; }
.language-switcher a:focus-visible { outline-offset: 2px; }
.language-flag { display: block; flex: 0 0 21px; width: 21px; height: 14px; border-radius: 2px; overflow: hidden; }
.hero { display: flex; flex-direction: column; width: min(100%, 800px); margin-inline: auto; flex: 1; padding: 82px 0 100px; }
.set-formula { margin: 0 0 30px; padding: 20px 0 24px 18px; border-left: 2px solid #c3b0ff55; color: #ded3ff; font-size: clamp(18px, 1.9vw, 25px); }
.set-formula .katex-display { margin: 0; text-align: left; }
.set-formula .katex-display > .katex { text-align: left; }
.formula-details { margin-bottom: 30px; }
.formula-details > summary { margin-bottom: 0; list-style: none; cursor: pointer; }
.formula-details > summary::-webkit-details-marker { display: none; }
.formula-details > summary:focus-visible { outline: 2px solid var(--lavender); outline-offset: 5px; border-radius: 2px; }
.formula-toggle { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--muted); font: 12px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .02em; }
.toggle-open { display: none; }
.formula-details[open] .toggle-closed { display: none; }
.formula-details[open] .toggle-open { display: inline; }
.toggle-symbol::after { content: "+"; font-size: 18px; color: var(--lavender); }
.formula-details[open] .toggle-symbol::after { content: "−"; }
.formula-explanation { max-width: 100%; margin-top: 20px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 12px; background: #c3b0ff05; color: #bcb6cd; font-size: 14px; line-height: 1.85; }
.formula-explanation h2 { margin: 0 0 14px; color: var(--ink); font-size: 19px; font-weight: 500; }
.formula-explanation h3 { margin: 24px 0 10px; color: #ded3ff; font-size: 15px; font-weight: 500; }
.formula-explanation p { margin: 0 0 14px; }
.formula-explanation p:last-child { margin-bottom: 0; }
.formula-explanation strong { color: #e0d7f1; font-weight: 600; }
.formula-explanation ol { padding-left: 20px; margin: 12px 0 18px; }
.formula-explanation li + li { margin-top: 14px; }
.wisdom-intelligence { margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--line); color: #bcb6cd; font-size: 15px; line-height: 1.9; }
.section-kicker { margin: 0 0 18px; color: #aaa0bf; font-size: 10px; letter-spacing: .15em; }
.wisdom-intelligence h2 { margin: 0 0 24px; color: #ded3ff; font-size: clamp(27px, 3vw, 36px); line-height: 1.3; font-weight: 450; letter-spacing: -.02em; }
.wisdom-intelligence h3 { margin: 28px 0 12px; color: var(--ink); font-size: 17px; font-weight: 500; }
.wisdom-intelligence p { margin-bottom: 20px; }
.wisdom-intelligence strong { font-weight: 500; color: #ded3ff; }
.wisdom-intelligence .closing-thought { color: var(--lavender); }
.identity-statement { margin: 36px 0; padding: 28px 24px; border: 1px solid var(--line); border-radius: 12px; background: #c3b0ff05; }
.identity-statement > h3:first-child { margin-top: 0; color: var(--lavender); font-size: 23px; line-height: 1.4; }
.ways-of-knowing { margin: 26px 0; }
.ways-of-knowing > div { padding: 22px 0; border-top: 1px solid var(--line); }
.ways-of-knowing dt { color: var(--ink); font-size: 17px; font-weight: 500; }
.ways-of-knowing dd { margin: 10px 0 0; }
.ways-of-knowing dd p { margin: 0 0 12px; }
.ways-of-knowing dd p:last-child { margin-bottom: 0; }
.knowledge-example { color: #ded3ff; }
[data-art] { display: flex; align-items: center; gap: 18px; }
.section-title-text { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.section-art { display: block; width: 88px; height: 70px; flex: 0 0 88px; background: transparent; }
.section-art .art-line, .section-art .art-spark { fill: none; stroke: #c3b0ff; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.section-art .art-orbit { fill: none; stroke: #c3b0ff; stroke-opacity: .13; stroke-width: .7; stroke-dasharray: 1 5; }
.section-art .art-halo { fill: #c3b0ff; fill-opacity: .025; }
.section-art .art-faint { stroke-opacity: .3; }
.section-art .art-cyan { stroke: #9edbe8; }
.section-art .art-light { fill: #ded3ff; stroke: #ded3ff; }
.section-art .art-blue { fill: #9edbe8; stroke: #9edbe8; }
.section-art .art-soft { fill: #c3b0ff; fill-opacity: .14; }
.section-art .art-spark { stroke-opacity: .6; stroke-width: 1; }
.manifesto { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.manifesto > h3 { margin-top: 40px; }
.manifesto > h3:first-of-type { margin-top: 0; font-size: 24px; color: var(--lavender); }
.reading-room { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.reading-room > h3 { margin-top: 0; font-size: 24px; color: var(--lavender); }
.reading-room h4 { margin: 32px 0 8px; font-size: 16px; font-weight: 500; color: #ded3ff; }
.reading-list { margin: 0; padding: 0; list-style: none; }
.reading-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.reading-list a { color: #ded3ff; text-underline-offset: 4px; text-decoration-color: #c3b0ff66; }
.reading-list > li > a { font-weight: 500; }
.reading-list li p { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.85; }
h1 { margin: 0 0 44px; font-size: clamp(44px, 6.15vw, 86px); font-weight: 450; line-height: 1.06; letter-spacing: -.025em; }
h1 .accent { font-family: inherit; font-style: normal; font-weight: 400; letter-spacing: inherit; color: var(--lavender); }
.project-intro { margin: 0 0 40px; color: #bcb6cd; font-size: 15px; line-height: 1.9; }
.name-story { margin: 0 0 40px; padding: 24px 0; border-block: 1px solid var(--line); color: #bcb6cd; font-size: 15px; line-height: 1.9; }
.name-story h2 { margin: 0 0 20px; color: var(--lavender); font-size: 23px; font-weight: 450; line-height: 1.5; }
.name-story p { margin: 0 0 16px; }
.name-story p:last-child { margin-bottom: 0; }
.name-story em { color: #ded3ff; }
.tradition-map { margin: 0 0 48px; }
.traditions-diagram { display: block; width: 100%; height: auto; background: transparent; }
.map-branch, .map-symbol, .map-light, .map-stars { fill: none; stroke: #c3b0ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.map-branch { stroke-opacity: .5; }
.map-cyan, .map-cyan .map-symbol { stroke: #9edbe8; }
.map-halo { fill: #c3b0ff; fill-opacity: .035; }
.map-ring { fill: none; stroke: #c3b0ff; stroke-opacity: .2; stroke-dasharray: 2 7; }
.map-heart { fill: #e7ddff; }
.map-light { fill: #c3b0ff; fill-opacity: .07; }
.map-stars { stroke-opacity: .5; }
.tradition-map figcaption { margin: 10px 0 20px; color: var(--lavender); text-align: center; font-size: 17px; }
.tradition-legend { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.tradition-legend li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.tradition-legend strong { color: #ded3ff; font-weight: 500; }
.tradition-dialogue { margin: 40px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.tradition-dialogue > h3 { margin-top: 0; color: var(--lavender); font-size: 24px; }
.tradition-dialogue h4 { margin: 28px 0 14px; color: #ded3ff; font-size: 17px; font-weight: 500; line-height: 1.5; }
.passage-links { font-size: 12px; color: var(--muted); }
.passage-links a { color: #ded3ff; text-underline-offset: 4px; text-decoration-color: #c3b0ff66; }
.reflection { width: 100%; margin: 0 0 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.wisdom-quote { margin: 0; }
.wisdom-quote blockquote { margin: 0; color: var(--lavender); font: clamp(23px, 2.1vw, 28px)/1.55 Georgia, serif; }
.wisdom-quote blockquote p { margin: 0; }
.wisdom-quote figcaption { margin-top: 14px; color: #aaa0bf; font-size: 11px; letter-spacing: .05em; }
.reflection-copy { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.artwork { position: relative; width: 100%; aspect-ratio: 480 / 360; margin: 0 0 40px; background: transparent; }
.distribution-graph { background: transparent; display: block; width: 100%; height: auto; overflow: visible; }
.graph-grid { stroke: #c6b4ff12; stroke-width: 1; }
.graph-axis { stroke: #c6b4ff44; stroke-width: 1; }
.graph-tick { fill: #918ba5; font: 12px -apple-system, BlinkMacSystemFont, sans-serif; }
.graph-label { fill: #ded3ff; font: italic 21px Georgia, serif; }
.graph-label-prior { fill: #9edbe8; }
.graph-sub { font-size: 13px; }
.graph-divergence { fill: #bfb3d9; font: italic 19px Georgia, serif; }
.curve-prior { fill: none; stroke: #9edbe8; stroke-width: 2; stroke-dasharray: 5 6; }
.curve-posterior { fill: none; stroke: #c3b0ff; stroke-width: 2.5; }
.curve-prior-fill { fill: url(#prior-fill); }
.curve-posterior-fill { fill: url(#posterior-fill); }
.curve-difference { fill: #c3b0ff; fill-opacity: .18; }
.still-curves { display: none; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: #9290a5; font-size: 11px; letter-spacing: .02em; }
.page-view-counter { white-space: nowrap; }
.page-view-count { font-variant-numeric: tabular-nums; color: #bcb6cd; }
.footer-signature { display: inline-flex; gap: 10px; align-items: center; }
.tiny-star { font-size: 13px; color: var(--lavender); }


@media (min-width: 1600px) { .page { padding-right: 95px; padding-left: 95px; } }
@media (max-width: 900px) {
  .page { padding: 32px 6%; }
  .language-switcher { grid-template-columns: repeat(3, auto); }
  .hero { padding: 70px 0 85px; }
  .artwork { width: 100%; }
  h1 { font-size: clamp(44px, 6.3vw, 64px); }
}
@media (max-width: 620px) {
  .page { padding: 26px 26px 22px; }
  .wordmark { font-size: 25px; }
  .language-switcher { width: 100%; margin-left: 0; gap: 4px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .language-switcher a { gap: 5px; padding: 9px 4px; font-size: 11px; }
  .language-flag { flex-basis: 18px; width: 18px; height: 12px; }
  .project-intro { font-size: 14px; margin-bottom: 32px; }
  .name-story { margin-bottom: 32px; font-size: 14px; }
  .name-story h2 { font-size: 20px; }
  .hero { padding: 62px 0 55px; }
  h1 { font-size: clamp(40px, 10.8vw, 64px); margin: 0 0 32px; }
  .reflection { margin-bottom: 32px; padding-top: 24px; }
  .wisdom-quote blockquote { font-size: 21px; }
  .reflection-copy { font-size: 13px; line-height: 1.85; }
  .set-formula { padding-left: 12px; font-size: clamp(13.5px, 4.6vw, 22px); margin-bottom: 24px; }
  .formula-details > summary { margin-bottom: 0; }
  .formula-explanation { padding: 20px 16px; font-size: 13px; }
  .wisdom-intelligence { padding-top: 30px; font-size: 14px; }
  .identity-statement { padding: 24px 16px; }
  [data-art] { gap: 12px; }
  .section-art { width: 64px; height: 56px; flex-basis: 64px; }
  .artwork { margin-bottom: 28px; }
  .footer { font-size: 9px; gap: 14px; padding-top: 20px; }
  .page-view-counter { order: 3; width: 100%; text-align: center; }
}
@media (max-width: 340px) {
  .language-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .motion-curves { display: none; }
  .still-curves { display: inline; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
