/* The Journal (2026-11-04). Fable's direction. The index is a clipping file: five slips of paper, newest first; pointing
   at one (or tabbing to it) folds its top corner down in held frames and steps the arrow on. A post is a manuscript: one
   long ivory sheet with a reading column, its sections numbered in red in the margin, a second sheet laid over it where
   the post sets a passage apart, and the sources folded under the sheet's foot on a flap that opens. Shared: page.css. */

/* ---------- the index ---------- */
.jn-kicker { margin: clamp(10px, 2svh, 20px) 0 0; }
.jn-file { position: relative; }
.clips { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.6vw, 44px); }
.clip { --ear: 0px; position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 44px) clamp(24px, 2.8vw, 48px) clamp(26px, 2.8vw, 46px);
  background: var(--ivory) var(--sheet-a); background-size: 700px; box-shadow: var(--edge), 0 2px 3px rgb(21 31 34 / .14), 8px 18px 28px -16px rgb(13 22 25 / .45);
  transition: --ear .4s steps(6, end); }
.clip:nth-child(2n) { transform: rotate(.5deg); }
.clip:nth-child(2n+3) { transform: rotate(-.4deg); }
.clip--lead { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 80px); align-items: end; }
.clip--lead .clip__meta, .clip--lead .clip__title { grid-column: 1; }
.clip--lead .clip__sum { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-size: clamp(1.08rem, 1rem + .3vw, 1.3rem); }
/* the folded corner: the corner turned away shows the page behind (a triangle of the page's own paper, so the slip keeps its
   shadow and its focus ring, which a clip-path would cut), and the back of the slip, a shade darker, lies on its face */
.clip::before { content: ""; position: absolute; z-index: 1; top: -1px; right: -1px; width: var(--ear); height: var(--ear); background: linear-gradient(to bottom left, var(--ground) 50%, transparent 50%); }
.clip::after { z-index: 2; content: ""; position: absolute; top: 0; right: 0; width: var(--ear); height: var(--ear); background: linear-gradient(to bottom left, transparent 49%, #E0DBCF 50%, #F1EDE5 100%);
  box-shadow: -2px 2px 4px rgb(21 31 34 / .18); }
.clip:hover, .clip:focus-within { --ear: 46px; }
@property --ear { syntax: "<length>"; inherits: false; initial-value: 0px; }
.clip__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font: 500 .9rem var(--sans); color: var(--ink-2); }
.clip__title { font-size: clamp(1.5rem, 1rem + 1.1vw, 2.3rem); line-height: 1.1; color: #14191B; }
.clip--lead .clip__title { font-size: clamp(2rem, 1.2rem + 2vw, 3.6rem); line-height: 1.02; }
.clip__link { color: inherit; }
/* the whole slip is the link */
.clip__link::before { content: ""; position: absolute; inset: 0; }
.clip__link:focus-visible { outline: none; }
/* the ring goes round the whole slip, since the whole slip is the link */
.clip:has(.clip__link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 5px; }
.clip__tail { white-space: nowrap; }
.clip__arrow { display: inline-block; width: 30px; height: 14px; margin-left: 12px; vertical-align: .1em; fill: none; stroke: var(--ink-red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .36s steps(3, end); }
.clip:hover .clip__arrow, .clip:focus-within .clip__arrow { transform: translateX(8px); }
.clip__sum { font-size: 1.04rem; line-height: 1.55; color: var(--ink-2); max-width: 44rem; }
.jn-note { right: 4%; top: calc(100% - 40px); }
.jn-close .pcard { color: var(--ink); }
.jn-card { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 90px); padding: clamp(28px, 3.4vw, 64px); transform: rotate(-.4deg); }
.jn-card__title { font-size: clamp(2rem, 1.2rem + 2vw, 3.6rem); line-height: 1; color: #14191B; max-width: 16ch; }
.jn-facts { margin-top: clamp(18px, 3svh, 30px); }
.jn-facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); }
.jn-facts dt { font: 600 .74rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-red); }
.jn-facts dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.jn-card__act { display: grid; gap: 14px; align-content: end; justify-items: start; font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); }
.jn-card__act .ticket { margin-top: 8px; }

/* ---------- a post ---------- */
.jr-head__words { max-width: min(64rem, 70vw); }
.jr-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: calc(12 * var(--u)) 0 0; font: 500 calc(11.5 * var(--u)) var(--read); color: var(--ink-2); }
.jr-title { margin: calc(12 * var(--u)) 0 calc(12 * var(--u)); font-size: calc(46 * var(--u)); line-height: 1.02; letter-spacing: -.02em; color: var(--hd); max-width: 22ch; }
.jr-standfirst { font: 400 calc(13 * var(--u)) / 1.5 var(--read); color: var(--ink); max-width: 66ch; }
.jr-byline { margin-top: calc(10 * var(--u)); font: 500 calc(11.5 * var(--u)) var(--read); color: var(--ink-2); }
.jr-body { padding-block: clamp(40px, 7svh, 84px); }
.jr-sheet { counter-reset: sec; position: relative; padding: clamp(36px, 4vw, 80px) clamp(24px, 4vw, 80px) clamp(30px, 3vw, 60px) clamp(80px, 12vw, 220px); background: var(--ivory) var(--sheet-a); background-size: 800px;
  box-shadow: var(--edge), 0 2px 3px rgb(21 31 34 / .14), 12px 26px 44px -20px rgb(13 22 25 / .5); }
.jr-sheet > *, .jr-band > * { max-width: 68ch; }
.jr-sec { counter-increment: sec; position: relative; padding: clamp(18px, 3svh, 30px) 0; }
.jr-sec + .jr-sec { border-top: 1px solid var(--rule); }
.jr-sec::before { content: counter(sec, decimal-leading-zero); position: absolute; left: clamp(-150px, -8vw, -56px); top: clamp(20px, 3.2svh, 32px); font: 600 clamp(1.1rem, .9rem + .5vw, 1.6rem)/1 var(--display); color: var(--ink-red); }
.jr-h2 { font: 600 clamp(1.45rem, 1.1rem + .9vw, 2.15rem)/1.15 var(--display); color: #14191B; letter-spacing: -.01em; margin-bottom: 14px; }
.jr-prose { display: grid; gap: 1em; font-size: 1.08rem; line-height: 1.68; color: var(--ink); }
.jr-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(68 116 131 / .55); }
.jr-prose strong { font-weight: 600; }
/* a passage set apart: a second sheet laid over the first */
.jr-band { position: relative; margin: clamp(16px, 2.6svh, 26px) clamp(-60px, -3vw, -24px); padding: clamp(10px, 1.6svh, 18px) clamp(24px, 3vw, 60px); background: #FAF7F0 var(--sheet-b); background-size: 700px;
  transform: rotate(-.5deg); box-shadow: var(--edge), 6px 14px 24px -14px rgb(13 22 25 / .4); }
.jr-band .jr-sec + .jr-sec { border-top-color: var(--rule); }
.jr-ins { margin: clamp(14px, 2.4svh, 24px) 0; }
.jr-pull { margin: clamp(10px, 2svh, 20px) 0; font: italic 400 clamp(1.4rem, 1rem + 1vw, 2rem)/1.3 var(--serif); color: var(--sage-deep); max-width: 30ch; }
.jr-note { padding: clamp(20px, 2.2vw, 34px); display: grid; gap: 8px; transform: rotate(.5deg); }
.jr-note__title { font: 600 1.25rem/1.25 var(--display); }
.jr-note p:not(.label) { font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.jr-fig, .jr-keys, .jr-scores, .jr-check { padding: clamp(20px, 2.2vw, 34px); margin: clamp(10px, 2svh, 20px) 0; }
.jr-fig__title { margin: 8px 0 16px; font: 600 1.2rem/1.3 var(--display); }
.jr-bars { display: grid; gap: 10px; }
.jr-bars li { display: grid; grid-template-columns: minmax(8rem, 34%) 1fr; gap: 12px; align-items: center; }
.jr-bars__l { font: 500 .9rem var(--sans); color: var(--ink-2); }
.jr-bars__t { display: flex; align-items: center; gap: 10px; height: 28px; }
.jr-bars__t i { height: 100%; width: calc(var(--v) * 1%); max-width: calc(100% - 4.5rem); background: #D7CFBF var(--strip-tex); background-size: 900px; background-blend-mode: multiply; box-shadow: var(--edge); }
.jr-bars li.is-lead .jr-bars__t i { background: #234048 var(--deep-tex); background-size: 300px; }
.jr-bars b { font: 600 1rem var(--display); }
.jr-cap { margin-top: 12px; font: italic .9rem/1.45 var(--serif); color: var(--ink-2); }
.jr-keys ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-top: 12px; }
.jr-keys__v { font: 600 clamp(2rem, 1.4rem + 1.4vw, 3rem)/1 var(--display); color: #14191B; }
.jr-keys__v span { font: 500 .95rem var(--sans); color: var(--ink-2); }
.jr-keys__m { margin-top: 6px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.jr-scores dl div { display: grid; grid-template-columns: 9rem 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule); }
.jr-scores dl div:first-child { border-top: 0; }
.jr-scores dt { display: grid; gap: 2px; }
.jr-scores dt .label { border: 0; padding: 0; }
.jr-scores__n { font: 600 1.3rem var(--display); }
.jr-scores dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.jr-steps { counter-reset: st; display: grid; gap: 14px; }
.jr-steps li { counter-increment: st; position: relative; padding-left: 50px; display: grid; gap: 4px; }
.jr-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink-red); display: grid; place-items: center; font: 600 1rem/1 var(--display); color: var(--ink-red); }
.jr-steps strong { font: 600 1.12rem/1.3 var(--display); }
.jr-steps span { font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); }
.jr-list { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.jr-list li::marker { color: var(--ink-red); }
.jr-faq { display: grid; }
.jr-qa { padding: 14px 0; border-top: 1px solid var(--rule); }
.jr-qa h3 { font: 600 1.15rem/1.3 var(--display); }
.jr-qa p { margin-top: 6px; }
.jr-check .checks { gap: 12px; }
.jr-check__red { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgb(68 116 131 / .4); font-size: .98rem; color: var(--ink-2); }
/* the sources: a flap folded under the sheet's foot; its tab opens it, and it unfolds in held frames */
.jr-fold { margin: clamp(24px, 4svh, 40px) 0 0; border-top: 2px dotted rgb(23 29 31 / .25); padding-top: 14px; }
.jr-fold summary { list-style: none; cursor: pointer; display: inline-flex; }
.jr-fold summary::-webkit-details-marker { display: none; }
.jr-fold__tab { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; font: 600 .78rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory);
  background: #234048 var(--deep-tex); background-size: 300px; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%); }
.jr-fold__tab::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s steps(3, end); }
.jr-fold[open] .jr-fold__tab::after { transform: rotate(225deg) translateY(-2px); }
.jr-fold summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.jr-fold[open] .jr-fold__body { animation: unfold .5s steps(6, end) both; transform-origin: 50% 0; }
@keyframes unfold { from { transform: perspective(900px) rotateX(-80deg); opacity: .4; } to { transform: none; opacity: 1; } }
.jr-sources { display: grid; gap: 6px; margin-top: 16px; padding-left: 1.2em; list-style: decimal; font-size: .95rem; line-height: 1.5; }
.jr-sources a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(23 29 31 / .35); }
.jr-sources li::marker { color: var(--ink-red); font-family: var(--sans); }
.jr-close__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 90px); align-items: center; }
.jr-close__slip { padding: clamp(24px, 3vw, 50px); display: grid; gap: 16px; font-size: 1.05rem; line-height: 1.6; transform: rotate(.6deg); }
.jr-close__slip a:not(.ticket) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.jr-close__act { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.jr-close__fine { font: italic 1rem var(--serif); color: var(--ink-2); }

@media (max-width: 1100px) {
  .jn-card, .jr-close__grid { grid-template-columns: 1fr; }
  .jr-head__words { max-width: none; }
}
@media (max-width: 760px) {
  .clips { grid-template-columns: 1fr; }
  .clip--lead { grid-template-columns: 1fr; }
  .clip--lead .clip__sum { grid-column: 1; grid-row: auto; }
  .jn-note { display: none; }
  .jn-facts div, .jr-scores dl div { grid-template-columns: 1fr; gap: 2px; }
  .jr-sheet { padding: 28px 20px 26px; }
  .jr-sec { padding-top: 46px; }
  .jr-sec::before { left: 0; top: 18px; }
  .jr-band { margin-inline: -10px; padding-inline: 16px; }
  .jr-bars li { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .clip { transition: none; } .jr-fold[open] .jr-fold__body { animation: none; } }

/* the manuscript is a page, not a band: a reading width, with the next page of the manuscript peeking out behind it */
.jr-body { display: grid; grid-template-columns: minmax(0, 1160px) 1fr; }
.jr-sheet { isolation: isolate; }
.jr-sheet::before { content: ""; position: absolute; z-index: -1; inset: 18px -22px -16px 26px; background: #F7F4ED var(--sheet-b); background-size: 700px;
  box-shadow: var(--edge), 10px 20px 34px -18px rgb(13 22 25 / .45); }
/* no rotation on the page behind: a manuscript is thousands of pixels tall, and even one degree swings its foot far past
   the window's edge (it widened every post on phones, 2026-11-04) */
.jr-body { overflow-x: clip; }
/* a band that holds only a figure card needs no second sheet of its own */
.jr-band:has(> .jr-ins:only-child) { background: none; box-shadow: none; transform: none; padding-inline: 0; margin-inline: 0; }
@media (max-width: 760px) { .jr-body { grid-template-columns: 1fr; } .jr-sheet::before { inset: 10px -8px -10px 10px; } }
@media (max-width: 760px) { .jr-head .crumbs li[aria-current] { display: none; } }
@media (max-width: 1100px) { .jr-title { font-size: 2.2rem; } .jr-standfirst { font-size: 1.05rem; } }
