:root {
    --night: #04040e;
    --ink: #f4efe1;
    --muted: rgba(244, 239, 225, .72);
    --faint: rgba(244, 239, 225, .45);
    --gold: #e9c877;
    --gold-hi: #fbe7b0;
    --gold-lo: #b8893a;
    --line: rgba(233, 200, 119, .22);
    --line-soft: rgba(233, 200, 119, .12);
    --violet: #7b2cbf;
    --panel: rgba(7, 7, 22, .62);
    --display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --body: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --caps: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--night); scroll-behavior: smooth; }
/* never let anything widen the page sideways on phones */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }


body {
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--body);
    font-size: clamp(1.15rem, 1.05rem + .4vw, 1.34rem);
    line-height: 1.62;
    background: var(--night);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* the nebula lives on a fixed layer: background-attachment:fixed is ignored on iOS */
body::before {
    content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(58, 26, 110, .55) 0%, transparent 70%),
        radial-gradient(45% 35% at 88% 55%, rgba(24, 44, 120, .28) 0%, transparent 70%),
        radial-gradient(50% 40% at 8% 80%, rgba(90, 30, 110, .2) 0%, transparent 70%);
}

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

.top, main, .foot { position: relative; z-index: 1; }

a { color: inherit; }
q { quotes: '\201C' '\201D' '\2018' '\2019'; font-style: italic; }
::selection { background: rgba(233, 200, 119, .3); }

/* ---------- top bar ---------- */
.top {
    position: absolute;
    z-index: 5; /* above the hero, which would otherwise cover the links */
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px clamp(16px, 4vw, 44px);
}

.brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em;
    text-decoration: none;
}
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 14px 2px rgba(123, 44, 191, .8); }

.top nav { display: flex; gap: clamp(2px, 1.6vw, 18px); }
.top nav a {
    font-family: var(--caps); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; padding: 12px 8px; min-width: 44px; text-align: center;
    border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.top nav a:hover, .top nav a:focus-visible { color: var(--gold-hi); border-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    text-align: center;
    padding: 47vh clamp(16px, 4vw, 40px) 6vh;
    padding: 47svh clamp(16px, 4vw, 40px) clamp(28px, 6svh, 64px);
}

.kicker {
    font-family: var(--display); font-style: italic; font-size: clamp(1.05rem, 2.1vw, 1.5rem);
    color: var(--muted); max-width: 30em; text-wrap: balance;
}
.kicker cite, .cite, blockquote cite {
    font-family: var(--caps); font-style: normal; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold);
}
.kicker cite { display: block; margin-top: 10px; }

h1 {
    font-family: var(--display); font-weight: 500;
    font-size: clamp(3.5rem, 14.5vw, 12rem);
    line-height: .92; letter-spacing: -.025em;
    margin: 3vh 0;
    margin: clamp(14px, 3svh, 30px) 0 clamp(14px, 3svh, 28px);
    text-shadow: 0 0 60px rgba(4, 4, 14, .9);
}
h1 .w { display: inline-block; }
h1 .w2 { font-style: italic; font-weight: 300; color: var(--muted); padding: 0 .04em; }
h1 .w3 {
    color: transparent;
    background: linear-gradient(100deg, #fff6d8 0%, var(--gold) 28%, var(--gold-lo) 50%, var(--gold-hi) 72%, #fff6d8 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    padding: 0 .05em .32em; margin-bottom: -.32em; /* room for the g's descender inside the clipped gradient */
    filter: drop-shadow(0 0 28px rgba(233, 200, 119, .35));
}

.sub { max-width: 31em; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.36rem); text-wrap: balance; }

.begin {
    margin-top: 5vh;
    margin-top: clamp(22px, 5svh, 52px);
    display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
    font-family: var(--caps); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold); text-decoration: none;
}
.begin i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); transform-origin: top; }

/* ---------- prose ---------- */
.prose, .finale, .sources {
    max-width: 44rem; margin: 0 auto;
    padding: clamp(80px, 16vh, 170px) clamp(18px, 5vw, 40px) 0;
}
.prose.wide { max-width: 62rem; }
.prose > p, .finale > p, .reply p, .answer p { text-shadow: 0 0 14px var(--night), 0 0 30px var(--night); }
.prose > p + p { margin-top: 1em; }

.num {
    font-family: var(--caps); font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
    display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
}
.num::after { content: ''; flex: 0 0 64px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

h2 {
    font-family: var(--display); font-weight: 500; font-style: italic;
    font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.015em;
    margin-bottom: .55em; text-wrap: balance;
    text-shadow: 0 0 40px var(--night);
}
.lead { max-width: 40rem; color: var(--muted); }
.cite { display: block; margin-top: 1.4em; color: var(--gold); opacity: .85; line-height: 1.9; }
.caps { font-family: var(--caps); font-style: normal; letter-spacing: .08em; text-transform: uppercase; font-size: .86em; color: var(--gold-hi); }
.lab { display: block; font-family: var(--caps); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

.objections { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.objections li {
    padding: 22px 22px 24px; background: var(--panel);
    border: 1px solid var(--line-soft); border-top: 1px solid var(--line);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    font-size: .95em; line-height: 1.55; color: var(--muted);
}
.objections .lab { color: var(--faint); }

.contra { margin-top: 64px; text-align: center; }
.contra .lab { margin-bottom: 26px; }
.contra blockquote + blockquote { margin-top: 30px; }
.contra blockquote p {
    font-family: var(--display); font-size: clamp(1.7rem, 4.2vw, 3rem); line-height: 1.14; font-weight: 500;
    max-width: 22em; margin: 0 auto 12px; text-wrap: balance; text-shadow: 0 0 40px var(--night);
}
.contra .caps { font-size: .74em; letter-spacing: .1em; }

.answer { margin: 72px auto 0; max-width: 40rem; padding-left: 26px; border-left: 1px solid var(--gold); }
.answer p { font-size: 1.12em; }

/* ---------- plates ---------- */
.plate {
    position: relative;
    max-width: 68rem; margin: clamp(70px, 13vh, 140px) auto 0;
    width: calc(100% - 2 * clamp(12px, 3vw, 32px));
    padding: clamp(22px, 4vw, 52px);
    background: var(--panel);
    border: 1px solid var(--line);
    backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
/* atlas-plate corner marks */
.plate::before, .plate::after {
    content: ''; position: absolute; width: 22px; height: 22px; pointer-events: none;
    border: 1px solid var(--gold);
}
.plate::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.plate::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

.plate-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.plate-head span { font-family: var(--caps); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.plate-head h3 { font-family: var(--display); font-weight: 500; font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; }
.plate-intro { max-width: 38rem; margin-top: 20px; color: var(--muted); }
.plate-note { margin-top: 26px; font-style: italic; font-size: .88em; color: var(--faint); max-width: 40rem; }
.plate-body { margin-top: clamp(20px, 4vw, 40px); }

svg { display: block; width: 100%; height: auto; overflow: visible; }
.ticks { fill: none; stroke: var(--gold); stroke-opacity: .5; stroke-width: 7; stroke-dasharray: 1 5.44; }
.rim, .ring { fill: none; stroke: var(--gold); stroke-width: 1; }
.rim { stroke-opacity: .5; }
.body { fill: var(--gold-hi); }
.glow { fill: url(#halo); }

.spin { transform-origin: 50% 50%; transform-box: view-box; animation: spin linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Plate I */
.titles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.orrery { max-width: 520px; margin: 0 auto; }
.orbit .ring { stroke-opacity: .22; transition: stroke-opacity .5s, stroke-width .5s; }
.orbit .glow, .orbit .body { opacity: .4; transition: opacity .5s; }
.orbit.on .ring { stroke-opacity: .95; stroke-width: 1.5; }
.orbit.on .glow, .orbit.on .body { opacity: 1; }
.s1 { animation-duration: 26s; }
.s2 { animation-duration: 44s; animation-delay: -12s; }
.s3 { animation-duration: 70s; animation-delay: -40s; }
.sun { animation: breathe 6s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes breathe { 50% { transform: scale(1.14); opacity: .8; } }
.chirho path { fill: none; stroke: #fffaf0; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 240, 200, .9)); }

.titles-text { display: grid; grid-template-columns: minmax(0, 1fr); }
.titles-text .panel { grid-area: 2 / 1; }
.titles-text .panel[hidden] { display: block; visibility: hidden; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tabs button {
    font: inherit; font-family: var(--caps); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 11px 14px; cursor: pointer;
    transition: color .25s, border-color .25s, background .25s;
}
.tabs button b { color: var(--gold); font-weight: 500; margin-right: 8px; }
.tabs button:hover { color: var(--ink); border-color: var(--gold); }
.tabs button[aria-selected="true"] { color: var(--night); background: var(--gold); border-color: var(--gold); }
.tabs button[aria-selected="true"] b { color: var(--night); }
.panel h4, .reply h4 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin-bottom: .5em; }
.panel p + p { margin-top: .8em; }
.panel p { color: var(--muted); }
.panel:not([hidden]) { animation: panel .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes panel { from { opacity: 0; transform: translateY(10px); } }

/* Plate II */
.ends { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.spheres { max-width: 600px; margin: 0 auto; }
.sphere .ring { stroke-opacity: .34; transition: stroke-opacity .4s, stroke-width .4s; }
.sphere text { font-family: var(--caps); font-size: 13px; letter-spacing: 5px; text-transform: uppercase; fill: var(--muted); text-anchor: middle; transition: fill .4s; }
.sphere .body { opacity: .75; }
.sphere.god .ring { stroke-opacity: .95; stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(233, 200, 119, .8)); }
.sphere.god .two { stroke-width: .6; stroke-opacity: .6; }
.sphere.god text { fill: var(--gold-hi); font-size: 14px; letter-spacing: 9px; }
.sphere.hi .ring { stroke-opacity: 1; stroke-width: 2; }
.sphere.hi text { fill: var(--gold-hi); }
.e0 { animation-duration: 9s; } .e1 { animation-duration: 16s; animation-delay: -5s; }
.e2 { animation-duration: 27s; animation-delay: -9s; } .e3 { animation-duration: 44s; animation-delay: -30s; }
.man { fill: var(--ink); }
.man-lab { font-family: var(--caps); font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; fill: var(--faint); text-anchor: middle; }

.ends-list { list-style: none; counter-reset: e; }
.ends-list li {
    counter-increment: e; display: grid; grid-template-columns: 2.2em 1fr; column-gap: 6px; padding: 13px 10px;
    border-top: 1px solid var(--line-soft); cursor: default; transition: background .3s;
}
.ends-list li::before { content: counter(e, upper-roman); grid-row: span 2; font-family: var(--caps); font-size: .7rem; color: var(--gold); padding-top: .5em; }
.ends-list b { font-family: var(--display); font-weight: 600; font-size: 1.2em; line-height: 1.2; }
.ends-list span { color: var(--muted); font-size: .92em; line-height: 1.45; }
.ends-list li:hover, .ends-list li.hi { background: rgba(233, 200, 119, .06); }
.ends-list li.god { border-top-color: var(--gold); border-bottom: 1px solid var(--gold); }
.ends-list li.god b { color: var(--gold-hi); }
.ends-list li.god span { color: var(--ink); }

/* Plate III */
.scale { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); }
.ladder { position: relative; height: 780px; padding-left: 46px; margin-bottom: 44px; }
.rule {
    position: absolute; left: 12px; top: 0; bottom: 34px; width: 13px;
    border-left: 1px solid var(--gold);
    background: repeating-linear-gradient(to bottom, var(--gold) 0 1px, transparent 1px 5%);
    opacity: .75;
    transform-origin: top;
}
.ladder ul { list-style: none; position: absolute; left: 46px; right: 0; top: 0; bottom: 34px; }
.ladder li { position: absolute; top: var(--p); left: 0; right: 0; transform: translateY(-50%); line-height: 1.15; }
.ladder li::before {
    content: ''; position: absolute; left: -38.5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
    background: var(--gold-hi); box-shadow: 0 0 12px 3px rgba(233, 200, 119, .65);
}
.ladder li::after { content: ''; position: absolute; left: -26px; top: 50%; width: 18px; height: 1px; background: var(--line); }
.ladder b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.18em; }
.ladder span { display: block; color: var(--muted); font-size: .84em; }
.ladder li.last b { color: var(--gold-hi); }
.ladder-note { position: absolute; left: 0; bottom: -44px; font-style: italic; font-size: .82em; color: var(--faint); }

.scale-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.stats > div { padding: 18px 0; border-top: 1px solid var(--line-soft); }
.stats > div:last-child { border-bottom: 1px solid var(--line-soft); }
.stats dt { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1; color: var(--gold-hi); font-variant-numeric: lining-nums tabular-nums; }
.stats dd { margin-top: 8px; color: var(--muted); font-size: .92em; line-height: 1.4; }
.verse p { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.25; margin-bottom: 10px; }

.banner { margin-top: clamp(34px, 6vw, 64px); padding-top: clamp(28px, 5vw, 52px); border-top: 1px solid var(--line-soft); text-align: center; }
.banner p { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.1; max-width: 18em; margin: 0 auto 14px; text-wrap: balance; }

/* ---------- replies ---------- */
.reply { max-width: 42rem; margin-top: 60px; padding-left: 26px; border-left: 1px solid var(--line); }
.reply:first-of-type { margin-top: 36px; }
.reply p + p { margin-top: .9em; }
.reply .caps { font-size: .8em; }

/* ---------- Plate IV ---------- */
.crown { margin-top: 14px; }
.crown .line { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: .7; }
.crown .pt { fill: #fffaf0; }
.crown .field circle { fill: #fff; }
.wstar .glow { animation: twinkle 4.5s ease-in-out infinite; animation-delay: var(--d); transform-origin: center; transform-box: fill-box; }
@keyframes twinkle { 50% { transform: scale(1.35); opacity: .7; } }
.wnum { font-family: var(--caps); font-size: 13px; letter-spacing: 2px; fill: var(--gold); text-anchor: middle; }
.wname { font-family: var(--display); font-style: italic; font-size: 21px; fill: var(--ink); }
.wstar.alpha .wname { fill: var(--gold-hi); font-size: 25px; }

.witness-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 34px; margin-top: 26px; }
.witness-list li { display: grid; grid-template-columns: 2.4em 1fr; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.witness-list b { font-family: var(--caps); font-weight: 500; font-size: .72rem; letter-spacing: .1em; color: var(--gold); padding-top: .55em; }
.witness-list h4 { font-family: var(--display); font-weight: 600; font-size: 1.3em; line-height: 1.2; }
.witness-list p { color: var(--muted); font-size: .93em; line-height: 1.45; margin: 4px 0 8px; }
.witness-list cite { font-family: var(--caps); font-style: normal; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.witness-list li.alpha h4 { color: var(--gold-hi); }

/* ---------- finale ---------- */
.finale { position: relative; text-align: center; max-width: 52rem; padding-top: clamp(110px, 22vh, 240px); }
.finale .num { justify-content: center; }
.finale .num::before { content: ''; flex: 0 0 64px; height: 1px; background: linear-gradient(270deg, var(--gold), transparent); }
.finale h2 { font-size: clamp(3rem, 9vw, 7rem); }
.finale .big { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.25; color: var(--gold-hi); margin-bottom: 1.4em; text-wrap: balance; }
.finale > p:not(.big):not(.num):not(.laudes):not(.laudes-tr) { max-width: 34rem; margin: 0 auto; color: var(--muted); }
.dante { margin: clamp(44px, 8vh, 80px) 0; }
.dante p:first-child { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: 1.12; text-wrap: balance; text-shadow: 0 0 40px var(--night); }
.dante .tr { margin: 12px 0 14px; color: var(--muted); font-style: italic; }
.laudes {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 4vw, 48px);
    font-family: var(--caps); font-weight: 500; font-size: clamp(.95rem, 2.4vw, 1.5rem); letter-spacing: .26em; text-transform: uppercase;
    color: var(--gold-hi); text-shadow: 0 0 26px rgba(233, 200, 119, .55);
    margin-top: clamp(40px, 8vh, 90px);
}
.laudes-tr { margin-top: 16px; font-style: italic; color: var(--faint); }

/* ---------- sources + footer ---------- */
.sources { max-width: 56rem; margin-top: clamp(100px, 18vh, 200px); padding: clamp(22px, 4vw, 40px); width: calc(100% - 2 * clamp(12px, 3vw, 32px)); font-size: .86em; color: var(--muted); background: var(--panel); border: 1px solid var(--line-soft); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.sources h3 { font-family: var(--caps); font-weight: 500; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.sources ul { list-style: none; columns: 2 300px; column-gap: 44px; }
.sources li { break-inside: avoid; padding: 7px 0; border-top: 1px solid var(--line-soft); line-height: 1.45; }

.foot { max-width: 68rem; margin: clamp(60px, 10vh, 110px) auto 0; padding: 0 clamp(16px, 4vw, 32px) 44px; }
.elsewhere { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.elsewhere a { padding: 22px 20px; text-decoration: none; border-left: 1px solid var(--line-soft); transition: background .25s; }
.elsewhere a:first-child { border-left: 0; }
.elsewhere a:hover { background: rgba(233, 200, 119, .08); }
.elsewhere b { display: block; font-family: var(--caps); font-weight: 500; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-hi); }
.elsewhere b::after { content: ' \2192'; opacity: .6; }
.elsewhere span { display: block; margin-top: 6px; font-size: .86em; line-height: 1.35; color: var(--muted); }
.foot > p { margin-top: 26px; text-align: center; font-size: .86em; color: var(--faint); }
.foot > p a { color: var(--muted); text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .hero .kicker, .hero .sub, .hero .begin, .top { animation: fade 1.6s ease both; }
    .top { animation-delay: .2s; }
    .hero .kicker { animation-delay: .5s; }
    .hero .sub { animation-delay: 2.1s; }
    .hero .begin { animation-delay: 2.7s; }
    h1 .w { animation: word 1.8s cubic-bezier(.2, .7, .2, 1) both; }
    h1 .w1 { animation-delay: .9s; } h1 .w2 { animation-delay: 1.2s; }
    h1 .w3 { animation: word 1.8s cubic-bezier(.2, .7, .2, 1) 1.5s both, sheen 9s linear 3s infinite; }
    .begin i { animation: drip 2.4s ease-in-out infinite; }
    @keyframes fade { from { opacity: 0; } }
    @keyframes word { from { opacity: 0; filter: blur(14px); transform: translateY(.18em); letter-spacing: .06em; } }
    @keyframes sheen { to { background-position: -220% 0; } }
    @keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

    .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
    .js [data-reveal].in { opacity: 1; transform: none; }
    .js .objections li:nth-child(2) { transition-delay: .15s; }
    .js .objections li:nth-child(3) { transition-delay: .3s; }

    .js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(.4, 0, .2, 1), stroke-opacity .5s, stroke-width .5s; }
    .js .in .draw { stroke-dashoffset: 0; }
    .js .orbit[data-k="1"] .draw, .js .sphere[data-k="1"] .draw { transition-delay: .25s, 0s, 0s; }
    .js .orbit[data-k="2"] .draw, .js .sphere[data-k="2"] .draw { transition-delay: .5s, 0s, 0s; }
    .js .sphere[data-k="3"] .draw { transition-delay: .75s, 0s, 0s; }
    .js .sphere[data-k="4"] .draw { transition-delay: 1.1s, 0s, 0s; }
    .js .crown .line { transition-duration: 4.2s; transition-delay: .3s; }
    .js .wstar { opacity: 0; transition: opacity .9s ease; transition-delay: calc(var(--d) * .85 + .3s); }
    .js .in .wstar { opacity: 1; }
    .js .rule { transform: scaleY(0); transition: transform 2.6s cubic-bezier(.4, 0, .2, 1) .2s; }
    .js .in .rule { transform: none; }
    .js .ladder li { opacity: 0; transition: opacity .8s ease; }
    .js .in .ladder li { opacity: 1; }
    .js .in .ladder li:nth-child(1) { transition-delay: .3s; } .js .in .ladder li:nth-child(2) { transition-delay: .8s; }
    .js .in .ladder li:nth-child(3) { transition-delay: 1.1s; } .js .in .ladder li:nth-child(4) { transition-delay: 2s; }
    .js .in .ladder li:nth-child(5) { transition-delay: 2.2s; } .js .in .ladder li:nth-child(6) { transition-delay: 2.8s; }
    .js .laudes span { opacity: 0; transition: opacity 1.4s ease; }
    .js .laudes.in span { opacity: 1; }
    .js .laudes.in span:nth-child(2) { transition-delay: .7s; }
    .js .laudes.in span:nth-child(3) { transition-delay: 1.4s; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .spin, .sun, .wstar .glow { animation: none; }
}

/* ---------- breakpoints ---------- */
@media (max-width: 860px) {
    .objections { grid-template-columns: 1fr; }
    .titles, .ends, .scale { grid-template-columns: 1fr; }
    .orrery { max-width: 400px; }
    .spheres { max-width: 460px; }
    .elsewhere { grid-template-columns: repeat(2, 1fr); }
    .elsewhere a:nth-child(3) { border-left: 0; }
    .elsewhere a:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

@media (max-width: 560px) {
    .top nav a { font-size: .6rem; letter-spacing: .16em; }
    .brand { font-size: 1.15rem; }
    .wname { display: none; }
    .wnum { font-size: 26px; }
    .crown { margin-inline: -6px; width: calc(100% + 12px); }
    .sphere text { font-size: 15px; letter-spacing: 4px; }
    .sphere.god text { font-size: 18px; }
    .man-lab { font-size: 13px; }
    .answer, .reply { padding-left: 18px; }
    .tabs button { padding: 10px 11px; font-size: .62rem; }
}

/* the soft dark glow behind the closing text: only wider than the column where the screen has room */
.finale::before { content: ''; position: absolute; inset: 8% 0 -6%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(4, 4, 14, .78), rgba(4, 4, 14, .5) 60%, transparent); }

@media (min-width: 1240px) { .finale::before { inset: 8% -20% -6%; } }

@media (max-width: 400px) {
    .top { gap: 8px; padding-inline: 12px; }
    .brand { font-size: 1.05rem; gap: 7px; }
    .top nav { gap: 0; }
    .top nav a { font-size: .56rem; letter-spacing: .1em; padding: 12px 5px; min-width: 38px; }
}
