/* Die Lichtstube: Sophia's room of the Werkstatt Sophos in velvet red and sand beige.
   Loaded after sternwarte.css: re-colours the shared components and adds the chakra components. */
:root{
  --night:#3A1219; --night-2:#4A1820; --night-3:#5C2029;
  --lav:#B4545E; --lav-deep:#8E2A35; --lav-ink:#7A2330;
  --lilac:#EFE4D2; --lilac-2:#F5EDE0; --ivory:#F4ECDF; --paper:#FCF8F2;
  --gold:#D9B47A; --gold-ink:#8A5A2B;
  --ink:#2F1E20; --ink-2:#523C3D; --ink-3:#715A5A;
  --line:rgb(58 18 25 / .12); --line-2:rgb(58 18 25 / .22);
  --on-night:#F8EEE6; --on-night-2:#E2CDC6;
}
html{scrollbar-color:var(--lav-deep) var(--lilac)}
::selection{background:#F0D2C8}
.nav{background:rgb(58 18 25 / .95);border-bottom-color:rgb(217 180 122 / .3)}
.subnav{border-bottom-color:rgb(142 42 53 / .2)}
.subnav a[aria-current="page"]{background:#F3DCD6;color:var(--night)}
.sky .glow{background:radial-gradient(ellipse at 50% 100%,rgb(180 84 94 / .38),transparent 65%)}
.btn-primary{background:var(--lav-deep);box-shadow:0 8px 20px -10px rgb(142 42 53 / .7)}
.btn-primary:hover{background:#74212B}
.kicker{color:var(--gold)}
.kicker::before{background:var(--gold)}
.fact{background:rgb(248 238 230 / .06);border-color:rgb(217 180 122 / .3)}
.foot .legal{border-top-color:rgb(248 238 230 / .12)}
.kicker-ink{display:block;font-size:.78rem;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:var(--gold-ink);margin-bottom:.3rem}

/* the figure with seven dots */
.ch-hero{justify-self:center;width:min(100%,400px)}
.ch-figure{display:block;width:100%;height:auto;overflow:visible}
.ch-body circle,.ch-body path{fill:rgb(248 238 230 / .07);stroke:rgb(217 180 122 / .55);stroke-width:1.4}
.ch-body .ch-line{fill:none;stroke:rgb(217 180 122 / .3)}
.ch-axis{stroke:rgb(217 180 122 / .35);stroke-width:1;stroke-dasharray:1 4}
.ch-dot text{font-family:var(--display);font-style:italic;font-size:17px;fill:var(--on-night)}
.ch-dot circle{transition:r .2s var(--ease)}
.ch-dot:hover circle:last-of-type,.ch-dot:focus-visible circle:last-of-type{r:9}
.ch-dot:focus-visible{outline:none}
.ch-dot:focus-visible text,.ch-dot:hover text{text-decoration:underline}
.ch-mini{display:flex;flex-direction:column;align-items:center}
.ch-mini .ch-figure{max-width:240px}
.ch-mini .ch-body circle,.ch-mini .ch-body path{fill:var(--lilac-2);stroke:rgb(138 90 43 / .45)}
.ch-mini .ch-body .ch-line{fill:none;stroke:rgb(138 90 43 / .25)}
.ch-mini .ch-axis{stroke:rgb(138 90 43 / .35)}
.ch-mini .ch-dot text{fill:var(--ink)}
.ch-mini .side-p{margin:.4rem 0 0}

/* hero on a chakra page: a glowing dot in the chakra's colour */
.ch-hero-dot{justify-self:center;width:clamp(150px,28vw,240px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle,color-mix(in srgb,var(--c) 38%,transparent),transparent 68%);
  box-shadow:inset 0 0 0 1px rgb(217 180 122 / .45),inset 0 0 0 12px rgb(58 18 25 / .55),inset 0 0 0 13px rgb(217 180 122 / .22)}
.ch-hero-dot span{width:30%;aspect-ratio:1;border-radius:50%;background:var(--c);box-shadow:0 0 0 10px color-mix(in srgb,var(--c) 30%,transparent),0 0 40px 10px color-mix(in srgb,var(--c) 45%,transparent)}

/* the seven cards on the overview */
.ch-sec{background:var(--lilac-2);border-block:1px solid var(--line)}
.ch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:1rem;margin-top:1.6rem}
.ch-card{position:relative;display:flex;flex-direction:column;gap:.15rem;text-decoration:none;color:var(--ink);background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.1rem 1.1rem 1.1rem 1.4rem;overflow:hidden;transition:transform .2s var(--ease),box-shadow .2s}
.ch-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--c)}
.ch-card:hover{transform:translateY(-3px);box-shadow:0 22px 40px -28px rgb(58 18 25 / .7);color:var(--ink)}
.ch-card b{font-family:var(--display);font-size:1.3rem;line-height:1.2}
.ch-nr{position:absolute;right:1rem;top:.7rem;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:.9rem;color:#fff;background:var(--c)}
.ch-skt{font-size:.8rem;letter-spacing:1.3px;text-transform:uppercase;color:var(--gold-ink);font-weight:700}
.ch-thema{color:var(--ink-2)}
.ch-meta{font-size:.9rem;color:var(--ink-3);margin-top:.3rem}

/* chakra page */
.flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin-top:1.6rem}
.flow{border-top:4px solid var(--c)}
.flow b{font-family:var(--display);font-size:1.15rem}
.flow p{margin-top:.35rem;color:var(--ink-2)}
.flow.stuck{border-top-color:var(--line-2);background:var(--lilac-2)}
.ch-list{padding-left:0;list-style:none;margin-top:.8rem}
.ch-list li{position:relative;padding-left:1.4rem;margin-bottom:.45rem}
.ch-list li::before{content:"";position:absolute;left:.2rem;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--c,var(--lav-deep))}
.ch-list.q li{font-family:var(--display);font-style:italic;font-size:1.12rem}
.ch-uebung{margin-top:1.6rem;border-left:5px solid var(--c)}
.ch-uebung b{font-family:var(--display);font-size:1.25rem;display:block}
.ch-uebung p{margin-top:.4rem}
.bruecke{margin-top:1.4rem;font-family:var(--display);font-size:1.15rem;color:var(--lav-ink)}
.note-card{background:var(--lilac-2)}
.ch-table td a,.ch-table th a{text-decoration:none}
.ch-table td a:hover,.ch-table th a:hover{text-decoration:underline}
