/* discipleship.html — Read mode. Poster grammar only in the title band and the section heads;
   the essay itself is set quiet: ink on paper, one 68ch column right of the rail, contents left of it. */
html { scroll-padding-top: calc(var(--nav-h) + 20px); }

/* title band: red sheet, ink type */
.dh { position: relative; background: var(--red); color: var(--ink); padding-block: clamp(20px, 4vw, 40px) clamp(40px, 6vw, 72px); }
.dh::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--rx); width: 2px; background: var(--ink); pointer-events: none; }
.dh .grid { row-gap: 0; }
.d-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-stretch: 62%; font-weight: 800; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.d-back svg { width: 20px; height: 20px; }
.d-back:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.dh__h1 { margin-top: clamp(12px, 3vw, 28px); font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: clamp(2.05rem, 8.6vw, 5.4rem); line-height: .92; letter-spacing: -.012em; }
@media (min-width: 600px) { .dh__h1 { font-stretch: 125%; font-size: clamp(2.2rem, 4.6vw, 4.6rem); } }
.dh__full { margin-top: 18px; font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.1; color: var(--paper); max-width: 30ch; }
.dh__lede { margin-top: 14px; max-width: 52ch; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.55; font-weight: 600; }
.dh__meta { list-style: none; margin: 22px 0 0; padding: 12px 0 0; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 6px 22px; font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }

/* page: paper sheet */
.d-page { padding-block: clamp(32px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.d-layout { align-items: start; }

/* contents: sticky on the left of the rail on desktop, collapsible inside the column on phones */
.d-aside { display: none; }
@media (min-width: 960px) {
  .d-aside { display: block; position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; width: min(100%, 320px); scrollbar-width: thin; }
  .d-toc-m { display: none; }
}
.d-aside__h { margin: 0 0 8px; font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; }
.d-toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.d-toc li { counter-increment: toc; }
.d-toc li.lang-de { counter-increment: none; }
.d-toc a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; min-height: 44px; border-bottom: 1px solid var(--ink); font-size: .95rem; line-height: 1.35; text-decoration: none; }
.d-toc li:not(.lang-de) a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.6em; font-weight: 900; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.d-toc li.lang-de a::before { content: ""; flex: none; width: 1.6em; height: 2px; align-self: center; background: var(--ink); }
.d-toc a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
@media (min-width: 960px) {
  .d-aside { justify-self: end; text-align: right; }
  .d-aside .d-toc a { flex-direction: row-reverse; min-height: 0; padding: 8px 0; }
  .d-aside .d-toc li:first-child a, .d-aside .d-toc li.lang-de + li a { border-top: 0; }
  .d-aside__h { padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 0; }
}
.d-toc-m { margin: 0 0 32px; }
.d-toc-m summary::after { background: var(--ink) !important; }
.d-toc-m .d-toc { margin-bottom: 12px; }
.d-toc-m .d-toc li:last-child a { border-bottom: 0; }

/* essay column: plain and quiet */
.d-essay { max-width: 68ch; font-size: 1.08rem; line-height: 1.7; min-width: 0; }
.d-essay p { margin: 0 0 1.1em; overflow-wrap: break-word; hyphens: auto; }
.d-note { margin-bottom: 32px; padding: 16px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); font-size: .96rem; line-height: 1.6; }
.d-note p { margin: 0; }
.d-note .d-note__h { margin-bottom: 6px; font-weight: 800; font-stretch: 62%; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; }
.d-pre { font-style: italic; }
.d-sec { padding-top: clamp(28px, 4vw, 44px); }
.d-h { margin: 0 0 18px; font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: clamp(1.4rem, 4.6vw, 2.05rem); line-height: 1.02; letter-spacing: -.005em; }
@media (min-width: 600px) { .d-h { font-stretch: 118%; } }
.d-essay blockquote { margin: 1.4em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--red); font-style: italic; }
.d-essay blockquote p { margin-bottom: .5em; }
.d-essay blockquote p:last-child { margin-bottom: 0; }
.terms { margin: 0 0 1.3em; padding: 0; border-top: 2px solid var(--ink); font-size: 1rem; }
.terms div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ink); }
.terms dt { font-weight: 800; }
.terms dd { margin: 0; }
.d-end { margin-top: 44px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: .95rem; }
.d-end p { margin-bottom: 10px; }
.d-end .d-back { color: var(--ink); }
.d-page :focus-visible { outline-color: var(--ink); }
