@font-face{font-family:'Instrument Sans';src:url('fonts/instrument-sans.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:'DM Mono';src:url('fonts/dm-mono.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
:root{
  --p-bg:#18191b;--p-surface:#222427;--p-ink:#eff0f1;--p-muted:#9c9ea3;
  --p-accent:#ff4a1f;--p-accent-ink:#18191b;--p-action:#ff4a1f;--p-action-ink:#18191b;
  --p-inv-bg:#eff0f1;--p-inv-surface:#dedfe0;--p-inv-ink:#18191b;--p-inv-muted:#5b5c5e;
  --p-inv-accent:#18191b;--p-inv-accent-ink:#eff0f1;--p-inv-action:#18191b;--p-inv-action-ink:#eff0f1;
  --font-display:'Instrument Sans',system-ui,sans-serif;--font-text:'Instrument Sans',system-ui,sans-serif;
  --font-mono:'DM Mono',ui-monospace,monospace;--display-weight:500;--display-tracking:-.028em;--display-tracking-xl:-.036em;--display-stretch:96%;--ly-scale:1.04;
}
/* The requested personal art direction, applied to the dealt graphite/orange base. */
:root{--p-bg:#09080d;--p-surface:#100d18;--p-ink:#f4f1ed;--p-muted:#a8a2b2;--p-action:#f3c3a5;--p-action-ink:#21130e;--p-accent:#c3a8ff;--nav:96px;--gut:64px;--t-h1:clamp(64px,7.35vw,112px);--t-h2:clamp(56px,6.7vw,102px);--t-lead:18px;--cosmos-fade:1;--scene-x:70%;--scene-y:50%}
html{background:#09080d;scroll-behavior:auto;scroll-padding-top:0;color-scheme:dark}
body{background:transparent;color:var(--p-ink);overflow-x:clip;-webkit-font-smoothing:antialiased}
::selection{background:#af8ee9;color:#09080d}
.wrap{width:min(calc(100% - 2 * var(--gut)),1440px);margin-inline:auto}
.nav{height:var(--nav);background:#09080d;border:0;z-index:10}
.nav__bar{height:100%;display:flex;align-items:center;justify-content:space-between;gap:32px}
.nav__logo{font-size:23px;font-weight:500;letter-spacing:-1.1px;white-space:nowrap}
.logo-dot{color:#d1adff}
.nav-note{font-family:var(--font-mono);font-size:12px;letter-spacing:.01em;color:#a39aaa}
.nav__links{display:flex;flex:none;gap:32px;align-items:center;margin-left:0}
.nav__link{font-size:14px;font-weight:400;color:#e8e2ec;min-height:44px;display:inline-flex;align-items:center;gap:16px;padding-inline:0}
.nav__link:hover{color:#fff}
.skip-link{position:absolute;top:10px;left:10px;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.skip-link:focus{width:auto;height:auto;clip-path:none;background:var(--p-ink);color:var(--p-bg);padding:12px 20px;z-index:99}
.universe{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#09080d;opacity:var(--cosmos-fade)}
#cosmos{display:block;width:100%;height:100%;opacity:0;transition:opacity .4s ease}
html[data-cosmos=ready] #cosmos{opacity:1}
.cosmic-haze{position:absolute;inset:0;background:radial-gradient(ellipse at var(--scene-x) var(--scene-y),#5b24591a 0,transparent 48%),radial-gradient(ellipse at 90% 70%,#30116b14 0,transparent 45%)}
.cosmic-fallback{position:absolute;top:50%;left:70%;width:min(75vw,1100px);height:auto;transform:translate(-50%,-50%);opacity:.95;transition:opacity .4s ease}
html[data-cosmos=ready] .cosmic-fallback{opacity:0}
.vignette{position:absolute;inset:0;background:linear-gradient(90deg,#09080d33,transparent 65%),linear-gradient(0deg,#09080d 0,transparent 15%,transparent 85%,#09080d 100%)}
main>.chapter,footer.closing{height:100svh;min-height:680px;padding:0;position:relative;background:transparent;isolation:isolate}
.chapter>.wrap{height:100%;position:relative;display:flex;flex-direction:column;justify-content:center;padding-block:calc(var(--nav) + 48px) 112px;z-index:1}
.hero-text,.chapter-copy{max-width:760px;position:relative}
.eyebrow{display:flex;align-items:center;gap:12px;font-family:var(--font-mono);font-size:13px;line-height:1.5;font-weight:400;letter-spacing:.06em;color:#b6adbf;margin:0 0 32px}
.tiny-star{font-family:var(--font-text);color:#d2b5ff;font-size:22px;line-height:1}
h1,h2{font-weight:500;letter-spacing:-.058em;line-height:.99;margin:0;color:#f4f1ed;max-width:none;font-stretch:96%}
h1{font-size:var(--t-h1)}
h2{font-size:var(--t-h2)}
.period{color:#d6b4fa}
.hero__lead,.chapter-lead{color:#b7afc0;font-size:18px;line-height:1.65;letter-spacing:-.01em;margin:32px 0 0;max-width:500px;font-weight:400}
.chapter-foot{position:absolute;bottom:48px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:32px}
.scroll-link{display:inline-flex;align-items:center;gap:16px;font-size:13px;color:#d0c8d8}
.scroll-disc{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #ffffff24;border-radius:50%;font-size:20px}
.location,.chapter-note{font-family:var(--font-mono);font-size:12px;letter-spacing:.01em;color:#a89eb3;margin:0}
.location span{padding:0 12px;color:#d7b2ff}
.chapter-index{color:#83758f}
.lavender{color:#cbb1ed}
.peach{color:#f5be97}
.chapter-symbol{font-size:24px;color:#c7b0e4}
.chapter-foot>a:not(.scroll-link){font-size:13px;color:#c5bbc9}
#intelligence .chapter-copy{max-width:700px}
#practice .chapter-copy{max-width:780px}
#practice h2{font-size:clamp(56px,6.3vw,96px)}
.about{background:#0c0a10!important;z-index:1}
footer.closing>.wrap{height:100%;display:flex;flex-direction:column;justify-content:space-between;padding-top:calc(var(--nav) + 48px);padding-bottom:32px;gap:48px}
.about-content{display:grid;grid-template-columns:1fr 1fr;gap:96px;align-items:start}
.about-title h2{font-size:clamp(64px,7.1vw,108px)}
.about-body{padding-top:50px;max-width:470px}
.about-body p{color:#b8b0c2;font-size:18px;line-height:1.65;letter-spacing:-.015em;margin:0 0 20px}
.about-body .about-intro{font-size:28px;color:#f3edf5;line-height:1.2;margin-bottom:24px}
.about-body .btn{margin-top:12px;min-width:150px;gap:28px;font-size:15px;height:48px;border-radius:999px}
.orbit-art{width:min(100%,420px);margin-top:24px;opacity:.75}
.orbit-art svg{display:block;width:100%;height:auto;stroke:#b797db;stroke-width:.7;stroke-opacity:.45}
.orbit-core{fill:#ecc6b3;stroke:#ecc6b3;stroke-opacity:1}
.orbit-satellite{fill:#bfa0e9;stroke-opacity:1}
.closing__links{display:block!important;border:0;padding:0!important}
.footer-socials{display:flex;gap:32px;margin-bottom:32px}
.footer-socials a{font-size:14px;color:#e4d9ee;min-height:30px;display:inline-flex;align-items:center}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:24px;border-top:1px solid #ffffff17;font-family:var(--font-mono);font-size:12px;color:#a59aac;gap:24px}
.scene-controls{position:fixed;right:24px;bottom:20px;display:flex;align-items:center;gap:12px;z-index:8;opacity:var(--cosmos-fade)}
.scene-label{font-family:var(--font-mono);font-size:10px;color:#8c8197;display:none}
.motion-toggle{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff24;border-radius:50%;color:#c3b6ce;background:#100c17;cursor:pointer;padding:0}
.motion-toggle[hidden]{display:none}
.motion-toggle:hover{color:#fff;background:#282031}
.motion-toggle svg{grid-area:1/1;width:14px;height:14px;stroke:currentColor;stroke-width:1.3;fill:none}
.motion-toggle .play-icon{display:none}
.motion-toggle[aria-pressed=true] .pause-icon{display:none}
.motion-toggle[aria-pressed=true] .play-icon{display:block}
a:focus-visible,button:focus-visible{outline:2px solid #d8b5ff;outline-offset:6px}
@media(min-width:1600px){:root{--t-h1:124px;--t-h2:112px}}
@media(max-width:1100px){:root{--gut:48px;--t-h1:clamp(64px,8.4vw,96px);--t-h2:clamp(56px,7.5vw,88px)}.nav-note{display:none}.about-content{gap:64px}.about-body{padding-top:45px}.about-body p{font-size:17px}.location{font-size:12px}.cosmic-fallback{width:90vw;left:74%}}
@media(min-width:640px) and (max-width:900px){.chapter>.wrap{justify-content:flex-start;padding-top:190px}.chapter-copy{max-width:620px}.hero-text{max-width:620px}.about-content{gap:48px}.about-body{padding-top:42px}.about-title h2{font-size:70px}.orbit-art{margin-top:64px}.about-body p{font-size:17px}.location{max-width:180px;line-height:1.7;text-align:right}.location span{padding:0 4px}}
@media(max-width:639px){
  :root{--gut:24px;--nav:80px;--t-h1:clamp(49px,12.6vw,76px);--t-h2:clamp(46px,12vw,70px)}
  .nav__bar{gap:16px}.nav__logo{font-size:20px}.nav__links{display:flex;gap:24px}.nav__link{font-size:13px;gap:8px}.nav-note{display:none}
  main>.chapter,footer.closing{height:100svh;min-height:680px}
  .chapter>.wrap{justify-content:flex-start;padding-top:calc(var(--nav) + 48px);padding-bottom:96px}
  .eyebrow{font-size:12px;margin-bottom:24px;gap:8px;letter-spacing:.03em}.tiny-star{font-size:19px}
  h1,h2{letter-spacing:-.06em;line-height:1.02}
  .hero__lead,.chapter-lead{font-size:16px;line-height:1.6;margin-top:24px;max-width:330px}
  .chapter-foot{bottom:32px;gap:16px}.scroll-link{font-size:12px;gap:12px}.scroll-disc{width:32px;height:32px;font-size:17px}
  .location{max-width:108px;font-size:11px;line-height:1.6;text-align:right}.location span{display:none}
  .chapter-note{font-size:12px}.chapter-symbol{font-size:20px}
  .chapter-foot>a:not(.scroll-link){max-width:135px;text-align:right;font-size:11px;line-height:1.8}
  #practice h2{font-size:clamp(43px,11.6vw,68px)}
  #practice .chapter-lead{max-width:290px}#practice .chapter-lead br{display:none}
  footer.closing>.wrap{padding-top:112px;padding-bottom:24px;gap:32px}
  .about-content{display:block}.about-title h2{font-size:58px;line-height:1}.about-title h2 br{display:block}
  .about-title .eyebrow{margin-bottom:20px}.orbit-art{display:none}
  .about-body{padding-top:32px;max-width:none}.about-body .about-intro{font-size:23px;margin-bottom:16px}.about-body p{font-size:16px;line-height:1.55;margin-bottom:16px}
  .about-body .btn{margin-top:8px;width:auto;min-width:152px;height:44px;font-size:14px}
  .footer-socials{gap:28px;margin-bottom:20px}.footer-socials a{font-size:13px}
  .footer-bottom{font-size:11px;gap:12px;padding-top:20px}.footer-bottom a{white-space:nowrap}
  .scene-controls{right:12px;bottom:90px}.motion-toggle{width:32px;height:32px}
  .cosmic-fallback{left:55%;top:66%;width:145vw}
  .vignette{background:linear-gradient(0deg,#09080d 0,transparent 20%,transparent 65%,#09080d77 100%)}
}
@media(max-height:720px) and (min-width:640px){:root{--t-h1:76px;--t-h2:70px;--nav:80px}.chapter>.wrap{padding-top:120px}.eyebrow{margin-bottom:24px}.hero__lead,.chapter-lead{margin-top:24px}.about-title h2{font-size:80px}.about-body{padding-top:32px}.about-body p{font-size:16px}.orbit-art{max-width:280px}.about-content{gap:64px}footer.closing>.wrap{padding-top:120px;gap:24px}.footer-socials{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.scene-controls{display:none}#cosmos,.cosmic-fallback{transition:none}}
@media print{.universe,.scene-controls,.nav{display:none}body{background:white;color:#111}main>.chapter,footer.closing{height:auto;min-height:0;break-inside:avoid;background:white!important}.chapter>.wrap,footer.closing>.wrap{padding-block:48px}.chapter-foot{position:static;margin-top:32px}h1,h2,.about-body p,.hero__lead,.chapter-lead{color:#111}.about-content{display:block}.orbit-art{display:none}}

/* Keep the personal scene screens at exact viewport rhythm across tablet widths. */
main>section.chapter{height:100svh;min-height:680px}
main>section.chapter>.wrap{height:100%;flex:0 0 auto}
@media(max-height:679px){main>section.chapter{min-height:100svh}.chapter>.wrap{padding-top:112px}h1{font-size:clamp(42px,7vw,76px)}.hero__lead,.chapter-lead{margin-top:20px}.eyebrow{margin-bottom:20px}.chapter-foot{bottom:24px}}

/* Chapter footnotes share the same twelve-column grid as the content. */
:root{--padb:48px}
.chapter-foot{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
.chapter-foot>:first-child{grid-column:1/7}
.chapter-foot>:last-child{grid-column:7/-1;text-align:right;max-width:none}
.location{white-space:nowrap}
footer.closing{--padb:32px}
.about-content{grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
.about-title{grid-column:1/8}
.about-body{grid-column:8/-1;max-width:none}
@media(min-width:640px) and (max-width:900px){.about-title{grid-column:1/7}.about-body{grid-column:7/-1}}
@media(max-width:639px){:root{--padb:32px}.chapter-foot{gap:12px}footer.closing{--padb:24px}.location{font-size:11px}.chapter-foot>a:not(.scroll-link){max-width:none}}
