/* ==========================================================================
   Beneficent Power — Contemplative Editorial
   A warm, bookish design system. Serif-forward, generous whitespace,
   a single restrained terracotta accent over a parchment ground.
   ========================================================================== */

:root {
  /* Parchment & ink */
  --paper:        #faf6ef;
  --paper-deep:   #f3ece0;
  --paper-card:   #fffdf8;
  --ink:          #211d17;
  --ink-soft:     #4a4339;
  --ink-faint:    #6f665a;
  --rule:         #e2d8c6;

  /* Accents */
  --terra:        #a2522f;   /* terracotta — primary accent */
  --terra-deep:   #823f22;
  --gold:         #b08542;   /* secondary, sparingly */

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "EB Garamond", Georgia, "Times New Roman", serif;

  /* Measure & rhythm */
  --measure: 40rem;
  --measure-wide: 58rem;
  --space:   clamp(1rem, 2.2vw, 1.6rem);
}

/* ----- Reset-ish ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.06rem, 0.6vw + 0.95rem, 1.22rem);
  line-height: 1.72;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration: none; }
a:hover { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ----- Headings -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }

/* Eyebrow / micro-label */
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  color: var(--terra);
  font-weight: 600;
  margin: 0 0 1.2rem;
  display: block;
}

/* ----- Layout ---------------------------------------------------------- */
.wrap { width: min(100% - 2.4rem, var(--measure)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2.4rem, var(--measure-wide)); margin-inline: auto; }
section { padding-block: clamp(1.6rem, 3.5vw, 3rem); }
.divider { width: 4rem; height: 2px; background: var(--terra); border: 0; margin: 2.2rem 0; }
.divider.center { margin-inline: auto; }

/* ----- Top navigation -------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-nav__inner {
  width: min(100% - 2.4rem, var(--measure-wide));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.32rem; font-weight: 600; color: var(--ink);
  letter-spacing: 0.02em; text-decoration: none;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand .mark { color: var(--terra); }
.nav-left { display: flex; align-items: center; gap: 0.65rem; }
.sidebar-toggle {
  display: none; background: none; border: 0; cursor: pointer; line-height: 0;
  color: var(--ink-soft); padding: 0.35rem; border-radius: 6px;
}
.sidebar-toggle:hover { color: var(--terra); background: color-mix(in srgb, var(--terra) 9%, transparent); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.92rem; color: var(--ink-soft); letter-spacing: 0.02em;
  text-transform: uppercase; font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--terra); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--ink); line-height: 1; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 4rem; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 22rem; }
  .nav-links a { padding: 0.9rem 1.2rem; border-top: 1px solid var(--rule); }
}

/* ----- Hero ------------------------------------------------------------ */
.hero { padding-block: clamp(0.75rem, 2vw, 1.75rem); text-align: center; }
.hero h1 { margin-bottom: 0.2em; }
.hero .lede {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ink-soft); font-style: italic;
  max-width: 34rem; margin: 1.4rem auto 0;
}
.hero .divider { margin-inline: auto; }

/* ----- Buttons / links ------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--body);
  font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--terra);
  border: 1px solid var(--terra); border-radius: 2px;
  padding: 0.75rem 1.6rem; transition: all 0.2s ease;
}
.btn:hover { background: var(--terra); color: var(--paper); text-decoration: none; }
.btn--solid { background: var(--terra); color: var(--paper); }
.btn--solid:hover { background: var(--terra-deep); border-color: var(--terra-deep); color: var(--paper); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* ----- Pull quotes ----------------------------------------------------- */
.pullquote {
  border-left: 2px solid var(--terra);
  padding: 0.2rem 0 0.2rem 1.6rem;
  margin: 2.4rem 0;
}
.pullquote p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.35; font-style: italic; color: var(--ink);
  margin-bottom: 0.6rem;
}
.pullquote cite, .quote-cite {
  display: block; font-style: normal; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-faint); font-weight: 600;
}
.quote-cite::before { content: "— "; }

/* Block excerpt (longer, set apart) */
.excerpt {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  margin: 2rem 0;
}
.excerpt p:last-of-type { margin-bottom: 0.8rem; }
.excerpt .quote-cite { margin-top: 0.4rem; }

/* ----- Feature grid (shape / pillars) ---------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
}
.card h3 { color: var(--terra-deep); }
.card .num {
  font-family: var(--display); font-size: 2.4rem; color: var(--terra);
  line-height: 1; display: block; margin-bottom: 0.4rem; opacity: 0.85;
}

/* The home cards as an arch: ascent (I), threshold, descent (II), coda.
   Card II bullets pair each attitude with its Getting Ready counterpart;
   the threshold and coda sit in the list's own type, set off by rules. */
.threshold {
  color: var(--ink-soft);
  position: relative; padding-left: 1.4rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.9rem; margin-bottom: 1.1rem;
}
.coda {
  color: var(--ink-soft);
  position: relative; padding-left: 1.4rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem; margin: 1.4rem 0 1.1rem;
}
.threshold::before, .coda::before {
  content: "–"; position: absolute; left: 0;
  color: var(--terra); font-weight: 600;
}
.coda::before { top: 1rem; }
/* The "embeds into" arrow recedes; the paired names carry the line. */
.hook { color: color-mix(in srgb, var(--ink-faint) 60%, var(--paper-card)); }
/* Hover pairing (set by nav.js): an attitude and its counterpart brighten together. */
ul.clean li.dig-mate { color: var(--ink); }

/* The arc: prerequisites -> cultivations -> completions */
.arc { display: grid; gap: 1rem; text-align: center; }
.arc-row { }
.arc-row h4 { color: var(--terra); text-transform: uppercase; letter-spacing: 0.18em; font-family: var(--body); font-size: 0.78rem; font-weight: 700; margin-bottom: 0.8rem; }
.arc-items { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
.arc-chip {
  background: var(--paper-card); border: 1px solid var(--rule);
  border-radius: 2rem; padding: 0.5rem 1.2rem; font-size: 0.98rem; color: var(--ink-soft);
}
.arc-sep { width: 3rem; height: 1px; background: var(--rule); margin: 0.6rem auto; }

/* ----- Tables ---------------------------------------------------------- */
.table-scroll { overflow-x: auto; margin: 1.6rem 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; color: var(--terra); font-weight: 700; }
tbody tr:hover { background: var(--paper-deep); }

/* ----- Module + Week structure ----------------------------------------- */
.module { margin-block: 0; padding-block: 1.4rem; scroll-margin-top: 5rem; }
.module__head { margin-bottom: 1.6rem; }
.module__head .eyebrow { margin-bottom: 0.6rem; }
.module__head h2 { margin-bottom: 0.3rem; }

.week {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--terra);
  border-radius: 3px;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  margin-bottom: 1.3rem;
}
/* The module's practice + inquiry: set apart from the reading cards. */
.week--focus {
  background: color-mix(in srgb, var(--terra) 9%, var(--paper-card));
  border-left-color: var(--gold);
}
.week__num {
  font-family: var(--body); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.72rem; font-weight: 700; color: var(--terra); display: block; margin-bottom: 0.3rem;
}
.week h3 { font-size: 1.45rem; margin-bottom: 1rem; }
.week dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.45rem 1.1rem; }
.week dt {
  font-family: var(--body); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.72rem; font-weight: 700; color: var(--ink-faint); padding-top: 0.25em;
}
.week dd { margin: 0; color: var(--ink-soft); }
.week dd em { color: var(--ink); }
@media (max-width: 560px) {
  .week dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .week dt { margin-top: 0.7rem; }
}

/* ----- Source entries -------------------------------------------------- */
.source {
  border-top: 1px solid var(--rule);
  padding-block: 0.85rem;
}
.source:first-of-type { border-top: 0; }
.source h3 { margin-bottom: 0.2rem; }
.source__lead { margin: 0 0 0.25rem; }
.source__lead em { font-style: italic; }
.source__role { font-style: italic; }
.source__ref { margin-top: 0.25rem; font-size: 0.82rem; color: var(--ink-faint); }
.source__ref a { font-weight: 600; }
.source__meta { font-size: 0.84rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.tag {
  display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--terra-deep); background: var(--paper-deep); border: 1px solid var(--rule);
  border-radius: 2rem; padding: 0.2rem 0.7rem; font-weight: 600;
}

/* ----- Principles ------------------------------------------------------ */
.principles-visual {
  padding-top: 0;
}
.principles-map {
  position: relative;
}
.principles-map img {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper-card);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.principle-zone {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  display: none;
  z-index: 2;
}
.principles-map--ready .principle-zone { display: block; }
.principle-zone--beneficent-power { --x: 31%; --y: 4%; --w: 38%; --h: 10%; }
.principle-zone--searchlessness { --x: 13.5%; --y: 13%; --w: 20%; --h: 12%; }
.principle-zone--spaciousness { --x: 18%; --y: 27%; --w: 22%; --h: 12%; }
.principle-zone--care { --x: 44%; --y: 27%; --w: 15%; --h: 12%; }
.principle-zone--energy { --x: 65%; --y: 27%; --w: 18%; --h: 12%; }
.principle-zone--play { --x: 22%; --y: 57%; --w: 15%; --h: 12%; }
.principle-zone--nobility { --x: 41%; --y: 57%; --w: 19%; --h: 12%; }
.principle-zone--power { --x: 65%; --y: 57%; --w: 17%; --h: 12%; }
.principle-zone--responsiveness { --x: 75%; --y: 76%; --w: 22%; --h: 13%; }
.principle-zone--attitude { --x: 2.5%; --y: 30%; --w: 13%; --h: 9%; }
.principle-zone--method { --x: 2.5%; --y: 58%; --w: 12%; --h: 9%; }
.principle-zone--potential { --x: 20%; --y: 82%; --w: 15%; --h: 9%; }
.principle-zone--vision { --x: 43%; --y: 82%; --w: 13%; --h: 9%; }
.principle-zone--action { --x: 66%; --y: 82%; --w: 13%; --h: 9%; }
.principle-zone__trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  cursor: help;
}
.principle-zone__trigger:hover,
.principle-zone__trigger:focus-visible {
  border-color: color-mix(in srgb, var(--terra) 55%, transparent);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  outline: 0;
}
.principle-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  z-index: 4;
  width: min(22rem, 72vw);
  max-height: min(22rem, 70vh);
  overflow: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--terra);
  border-radius: 3px;
  background: color-mix(in srgb, var(--paper-card) 96%, white);
  box-shadow: 0 0.8rem 2rem rgba(40, 30, 20, 0.14);
  color: var(--ink-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 0.35rem);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}
.principle-zone--beneficent-power .principle-tooltip,
.principle-zone--searchlessness .principle-tooltip,
.principle-zone--spaciousness .principle-tooltip,
.principle-zone--play .principle-tooltip,
.principle-zone--attitude .principle-tooltip,
.principle-zone--method .principle-tooltip,
.principle-zone--potential .principle-tooltip {
  left: 0;
  transform: translate(0, 0.35rem);
}
.principle-zone--energy .principle-tooltip,
.principle-zone--power .principle-tooltip,
.principle-zone--responsiveness .principle-tooltip,
.principle-zone--action .principle-tooltip {
  left: auto;
  right: 0;
  transform: translate(0, 0.35rem);
}
.principle-zone--beneficent-power .principle-tooltip,
.principle-zone--searchlessness .principle-tooltip,
.principle-zone--spaciousness .principle-tooltip,
.principle-zone--care .principle-tooltip,
.principle-zone--energy .principle-tooltip {
  top: calc(100% + 0.5rem);
  bottom: auto;
}
.principle-zone:hover .principle-tooltip,
.principle-zone:focus-within .principle-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.principle-zone--beneficent-power:hover .principle-tooltip,
.principle-zone--beneficent-power:focus-within .principle-tooltip,
.principle-zone--searchlessness:hover .principle-tooltip,
.principle-zone--searchlessness:focus-within .principle-tooltip,
.principle-zone--spaciousness:hover .principle-tooltip,
.principle-zone--spaciousness:focus-within .principle-tooltip,
.principle-zone--play:hover .principle-tooltip,
.principle-zone--play:focus-within .principle-tooltip,
.principle-zone--attitude:hover .principle-tooltip,
.principle-zone--attitude:focus-within .principle-tooltip,
.principle-zone--method:hover .principle-tooltip,
.principle-zone--method:focus-within .principle-tooltip,
.principle-zone--potential:hover .principle-tooltip,
.principle-zone--potential:focus-within .principle-tooltip,
.principle-zone--energy:hover .principle-tooltip,
.principle-zone--energy:focus-within .principle-tooltip,
.principle-zone--power:hover .principle-tooltip,
.principle-zone--power:focus-within .principle-tooltip,
.principle-zone--action:hover .principle-tooltip,
.principle-zone--action:focus-within .principle-tooltip,
.principle-zone--responsiveness:hover .principle-tooltip,
.principle-zone--responsiveness:focus-within .principle-tooltip {
  transform: translate(0, 0);
}
.principle-tooltip h3 {
  color: var(--terra-deep);
  margin-bottom: 0.45rem;
}
.principle-tooltip ol {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.42;
}
.principle-tooltip li + li {
  margin-top: 0.45rem;
}
.principle-tooltip p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.42;
}

@media (max-width: 760px) {
  .principles-map--ready .principle-zone,
  .principle-zone {
    display: none;
  }
}

/* ----- Prose page (essay) ---------------------------------------------- */
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 2rem; color: var(--terra-deep); }
.prose .note { color: var(--ink-faint); font-size: 0.92rem; font-style: italic; }
.curric-link { margin: 0.3rem 0 0; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em; }

/* ----- Footer ---------------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
  padding-block: 3rem;
  text-align: center;
  color: var(--ink-faint);
}
.site-foot .blessing {
  font-family: var(--display); font-style: italic; font-size: 1.4rem;
  color: var(--terra-deep); margin-bottom: 1.4rem;
}
.site-foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.2rem; }
.site-foot nav a { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 600; }
.site-foot small { font-size: 0.8rem; display: block; line-height: 1.7; }
.site-foot .colophon { max-width: 40rem; margin: 0.8rem auto 0; }

/* ----- Misc ------------------------------------------------------------ */
.lead { font-size: 1.16em; color: var(--ink-soft); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-alt { background: transparent; }
.eyebrow-rule { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.eyebrow-rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
ul.clean { list-style: none; padding: 0; }
ul.clean li { padding-left: 1.4rem; position: relative; margin-bottom: 0.6rem; color: var(--ink-soft); }
ul.clean li::before { content: "–"; position: absolute; left: 0; color: var(--terra); font-weight: 600; }

/* ----- Layout shell + table-of-contents sidebar ------------------------ */
.shell { width: 100%; }
.site-toc { display: none; }
.gutter-hotspot { display: none; }

.toc__pages, .toc__mods, .toc__secs { list-style: none; padding: 0; margin: 0; }
.toc a { color: var(--ink-soft); text-decoration: none; display: block; padding: 0.18rem 0; line-height: 1.35; }
.toc a:hover { color: var(--terra); }
.toc a[aria-current="page"] { color: var(--terra); font-weight: 600; }
.toc__page { margin-bottom: 0.4rem; }
.toc__page > a, .toc summary { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.08rem; }
.toc summary { list-style: none; cursor: pointer; position: relative; color: var(--ink-soft); padding: 0.18rem 1.2rem 0.18rem 0; }
.toc summary:hover { color: var(--terra); }
.toc summary.is-current { color: var(--terra); font-weight: 600; }
.toc summary::-webkit-details-marker { display: none; }
.toc details > summary::after {
  content: "\203A"; position: absolute; right: 0.2rem; top: 0.15rem;
  color: var(--ink-soft); transition: transform 0.15s ease;
}
.toc details[open] > summary::after { transform: rotate(90deg); }
.toc__mods { margin: 0.15rem 0 0.6rem 0.2rem; border-left: 1px solid var(--rule); }
.toc__mod > a { padding-left: 0.8rem; font-size: 0.95rem; }
.toc__secs a { font-size: 0.85rem; padding-left: 1.5rem; }

.module, .week { scroll-margin-top: 1.5rem; }

@media (min-width: 1024px) {
  .shell {
    display: grid;
    grid-template-columns: 16.5rem minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    max-width: 78rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    align-items: start;
  }
  .site-toc {
    display: block;
    position: sticky;
    top: 4.6rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    padding: 2.4rem 0.5rem 2rem 0;
    border-right: 1px solid var(--rule);
  }
  .shell > main { min-width: 0; }

  .sidebar-toggle {
    display: inline-flex; align-items: center;
    position: fixed; z-index: 60;
    top: 4.5rem; left: clamp(0.85rem, 1.8vw, 1.5rem);
  }

  /* Collapsed: the sidebar leaves the layout; content reclaims the column. */
  html[data-sidebar="collapsed"] .shell { grid-template-columns: minmax(0, 1fr); }
  html[data-sidebar="collapsed"] .site-toc {
    position: fixed; left: 0; top: 4rem; width: 16.5rem;
    height: calc(100vh - 4rem); margin: 0; z-index: 45;
    padding: 2.4rem 1rem 2rem 1.25rem; overflow-y: auto;
    background: var(--paper); border-right: 1px solid var(--rule);
    box-shadow: 0 0 2rem rgba(40, 30, 20, 0.07);
    transform: translateX(-104%); transition: transform 0.22s ease;
  }
  /* Reveal on hover of the left gutter (or the sidebar itself). */
  html[data-sidebar="collapsed"] .gutter-hotspot {
    display: block; position: fixed; left: 0; top: 4rem;
    width: 16px; height: calc(100vh - 4rem); z-index: 44;
  }
  html[data-sidebar="collapsed"] .gutter-hotspot:hover + .site-toc,
  html[data-sidebar="collapsed"] .site-toc:hover { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
