/* /dissertation: the cover, the scroll-told opening, and the contents. Paper, pencil and one blue. */

.opening {
  --paper: #fffff0;
  --sheet: #fffdf6;
  --ink: #1b1b20;
  --ink-2: #4a4a55;
  --ink-3: #62626c;
  --rule: rgba(20, 20, 30, 0.1);
  --accent: #1f3fd0;
  --warm: #b4461f;
  color: var(--ink);
  /* no ground of its own: the site's paper (body) runs through, the same paper as the header bar over it (an older
     SVG noise laid here, from before the paper, made these pages a shade off the bar: lighter in dark, darker in light) */
}
.dark .opening {
  --paper: #1f2022;
  --sheet: #25262a;
  --ink: #ecedf1;
  --ink-2: #b2b3bc;
  --ink-3: #8e8f98;
  --rule: rgba(255, 255, 255, 0.12);
  --accent: #8fb0ff;
  --warm: #ee8a5e;
}
.opening a { color: inherit; }

/* ---------------------------------------------------------------- the cover */
/* (Sam 11-11) the cover is a full screen with its words centred, as it was ("move the title back up"); the gap after
   it is kept short below instead: little padding before the story, and the first step's words level with the top of its
   drawing rather than half way down it */
.cover { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
html #story.story.plated .steps { padding-top: 1.5rem; }
html #story.story.plated .step:first-child { align-items: start; }
.cover .shocks { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.cover .shocks path { fill: none; stroke: currentColor; stroke-linecap: round; }
.cover .shocks path.accent { stroke: var(--accent); }
.cover-text { position: relative; z-index: 1; width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding-top: 3rem; }
.cover .eyebrow { font: 0.74rem Newsreader, Georgia, serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1.2rem; }
.cover .big { font-family: Newsreader, "Iowan Old Style", Georgia, serif; font-weight: 400; font-size: clamp(3.4rem, 11vw, 9.5rem);
  line-height: 0.92; letter-spacing: -0.035em; margin: 0 0 1.8rem; max-width: 11ch; }
.cover .big span { display: inline-block; opacity: 0; transform: translateY(0.35em) rotate(var(--r, 0deg)); transition: opacity 0.9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.cover.in .big span { opacity: 1; transform: none; }
.cover .big span:nth-child(1) { --r: -4deg; transition-delay: 0.05s; }
.cover .big span:nth-child(2) { --r: 3deg; transition-delay: 0.3s; }
.cover .big span:nth-child(3) { --r: -2deg; transition-delay: 0.55s; }
.cover .big span:nth-child(4) { --r: 5deg; transition-delay: 0.85s; }
.cover .title { font-family: Newsreader, Georgia, serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.3; max-width: 30ch; margin: 0 0 0.35rem;
  opacity: 0; transition: opacity 0.5s 0.1s; }   /* title, byline and buttons arrive at once; the big words keep their entrance */
.cover .by { font: 0.95rem Newsreader, Georgia, serif; color: var(--ink-2); margin: 0 0 1.8rem; opacity: 0; transition: opacity 0.5s 0.15s; }
.cover .cta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.7rem; opacity: 0; transition: opacity 0.5s 0.2s; }
.cover.in .title, .cover.in .by, .cover.in .cta { opacity: 1; }
/* (shapes 11-09) links, not pills: semibold ink on a thin grey line. The one to take first is larger, in the accent, on the pencil line */
.cover .cta a, .idea .ideafoot .cta a { --pad: 0.6rem; position: relative; font: 600 0.95rem Newsreader, Georgia, serif; padding: var(--pad) 0; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.cover .cta a:hover, .idea .ideafoot .cta a:hover { color: var(--accent); text-decoration-color: currentColor; }
/* (Sam 11-11: "I don't like that start reading is blue") the one to take first stays in ink; its size, weight and pencil
   underline mark it, and only the underline takes the accent under the pointer */
.cover .cta a.primary, .idea .ideafoot .cta a.primary { color: var(--ink); font-size: 1.12rem; text-decoration: none; }
.cover .cta a.primary:hover, .idea .ideafoot .cta a.primary:hover { color: var(--ink); }
.cover .cta a.primary::after, .idea .ideafoot .cta a.primary::after { opacity: 0.7; }
.cover .cta a.primary:is(:hover, :focus-visible)::after, .idea .ideafoot .cta a.primary:is(:hover, :focus-visible)::after { background: var(--accent); opacity: 1; }
.cover .cta a.primary::after, .idea .ideafoot .cta a.primary::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--pad) - 5px); height: 6px; pointer-events: none;
  background: currentColor; -webkit-mask: url(../images/marks/underline.svg) 0 0 / 100% 100% no-repeat; mask: url(../images/marks/underline.svg) 0 0 / 100% 100% no-repeat; }
@media (pointer: coarse) { .cover .cta a, .idea .ideafoot .cta a { --pad: 0.8rem; } }
/* (shapes round 2, 11-09) the cover's one call to action: a clear step up in size and weight from the links beside it
   (same pencil underline), so it is found first and not read as the first of seven links. On a narrow screen it has its
   own line and the two links after it share the next. */
.cover .cta a.primary { font-size: 1.55rem; font-weight: 700; --pad: 0.5rem; margin-right: 0.4rem; }
.cover .cta a.primary::after { height: 7px; bottom: calc(var(--pad) - 6px); }
@media (pointer: coarse) { .cover .cta a.primary { --pad: 0.6rem; } }
@media (max-width: 640px) {
  .cover .cta { display: block; }
  .cover .cta a { display: inline-block; margin-right: 1.5rem; }
  .cover .cta a.primary { display: block; width: fit-content; margin-right: 0; }
}
.cover .ctamore { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0.5rem 0 0; opacity: 0; transition: opacity 0.5s 0.3s; font: 0.88rem Newsreader, Georgia, serif; }
.cover.in .ctamore { opacity: 1; }
.cover .ctamore a { color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.cover .ctamore a:hover { color: var(--accent); border-bottom-color: currentColor; }
.cover .scrollhint { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); line-height: 0;
  color: var(--ink-3); margin: 0; animation: nudge 2.4s ease-in-out infinite; }   /* a pencil stroke pointing down, no word */
.cover .scrollhint svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); opacity: 0.5; } 50% { transform: translate(-50%, 6px); opacity: 1; } }

/* ---------------------------------------------------------------- the story: text on the left, a drawing that stays */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.stage { grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; }
.stage > svg { width: min(100%, 78vh); height: auto; overflow: visible; }
.steps { grid-column: 1; grid-row: 1; padding: 30vh 0 40vh; }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: 0.22; transition: opacity 0.5s; }
.step.on { opacity: 1; }
.step p { font-family: Newsreader, Georgia, serif; font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 0.8rem; }
.step p.small { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-2); }
.step p.src { font: 0.8rem Newsreader, Georgia, serif; color: var(--ink-3); letter-spacing: 0.02em; }
.step em { font-style: italic; color: var(--accent); }

/* the drawing's inks */
:is(#stage, #stage2, .psvg) { color: var(--ink); font-family: Newsreader, Georgia, serif; }
:is(#stage, #stage2, .psvg) .pencil { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
:is(#stage, #stage2, .psvg) .soft { opacity: 0.35; }
:is(#stage, #stage2, .psvg) .accent { stroke: var(--accent); }
:is(#stage, #stage2, .psvg) .warm { stroke: var(--warm); }
:is(#stage, #stage2, .psvg) .fillacc { fill: var(--accent); }
:is(#stage, #stage2, .psvg) .fillink { fill: var(--ink-2); }
:is(#stage, #stage2, .psvg) .fillwarm { fill: var(--warm); }
:is(#stage, #stage2, .psvg) text { fill: currentColor; font-size: 17px; }
:is(#stage, #stage2, .psvg) text.label { font-size: 15px; }
:is(#stage, #stage2, .psvg) text.mono { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.08em; fill: var(--ink-3); }
:is(#stage, #stage2, .psvg) text.quote { font-family: Newsreader, Georgia, serif; font-style: italic; font-size: 14px; fill: var(--ink-2); }
:is(#stage, #stage2, .psvg) text.src { font: 11px Newsreader, Georgia, serif; fill: var(--ink-3); }
:is(#stage, #stage2, .psvg) text.acc { fill: var(--accent); }
:is(#stage, #stage2, .psvg) text.warmt { fill: var(--warm); }
/* on the textured paper nothing is filled with a flat paper colour: boxes and heads are clear, and a label's halo is a
   thin wash of the paper, which parts the lines crossing it but lets the grain through */
:is(#stage, #stage2, .psvg) text.halo { paint-order: stroke; stroke: color-mix(in srgb, var(--paper) 60%, transparent); stroke-width: 6px; stroke-linejoin: round; }
:is(#stage, #stage2, .psvg) .box { fill: transparent; }
:is(#stage, #stage2, .psvg) .headfill { fill: transparent; }
/* (interior audit 2, 11-06) outlines in the pencil hand (Sketch.hand): a lighter grey than the ink, the ends that
   taper fainter still; a person's faint wash is the colour its group is given */
:is(#stage, #stage2, .psvg) .pencil.hand { stroke-opacity: 0.8; }
:is(#stage, #stage2, .psvg) .pencil.hand.tip { stroke-opacity: 0.55; }
:is(#stage, #stage2, .psvg) .pencil.hand.soft { stroke-opacity: 0.5; }
:is(#stage, #stage2, .psvg) .pwash { fill: currentColor; fill-opacity: 0.24; }
/* (11-06) those who know are filled in the accent, so the crowd reads at a glance; the rest stay a faint wash */
:is(#stage, #stage2, .psvg) .knows .pwash { fill-opacity: 0.72; }
:is(#stage, #stage2, .psvg) .sunmid { fill: #f6b53d; }
:is(#stage, #stage2, .psvg) .suncore { fill: #fff6d8; }

/* ---------------------------------------------------------------- contents */
.contents { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 6rem 0 2rem; }
.contents h2 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; margin: 0 0 0.8rem; }
.contents .lede { font-size: 1.08rem; color: var(--ink-2); max-width: 40rem; margin: 0 0 2.4rem; }
.contents .lede a { color: var(--accent); text-decoration: none; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card a { position: relative; display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.2rem 1.25rem 1.3rem;
  background: transparent; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 10px 26px -18px rgba(40, 30, 10, 0.3); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card a:hover { transform: translateY(-3px) rotate(-0.25deg); border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 16px 34px -18px rgba(31, 63, 208, 0.35); }
.card .num { position: absolute; right: 1.35rem; top: 1.05rem; font-family: Newsreader, Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--rule); }
.card.chapter .num { color: color-mix(in srgb, var(--accent) 22%, transparent); }
.card .what { font: 600 0.7rem Newsreader, Georgia, serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.card .t { font-family: Newsreader, Georgia, serif; font-size: 1.28rem; line-height: 1.22; }
.card .num ~ .t { padding-right: 3.1rem; }   /* the title wraps clear of the big numeral */
.card .d { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.cite { margin-top: 2.2rem; font: 0.9rem Newsreader, Georgia, serif; color: var(--ink-2); }
.cite summary { cursor: pointer; }
.cite p { margin: 0.7rem 0 0; line-height: 1.5; }
/* (shapes round 3, 11-09) a true button, drawn as the spike page draws Play: one light pencil line a side (js/scribble.js,
   data-scribble in templates/thesis-index.html), the name in accent semibold. The ruled edge shows only without the script */
.cite .cite-copy { position: relative; --scr-ink: var(--ink); margin-top: 0.8rem; font: inherit; font-size: 0.82rem; font-weight: 600; padding: 7px 14px; border: 1px solid var(--rule); background: transparent; color: var(--accent); cursor: pointer; }
.cite .cite-copy:hover > .scr { opacity: 0.95; }
.cite .cite-copy:active > .scr { color: var(--accent); opacity: 1; }
@media (pointer: coarse) { .cite .cite-copy::after { content: ""; position: absolute; inset: -8px -2px; } }
html .cite button.cite-copy.cite-copy:is(:hover, :active):not(:disabled) { background-color: transparent !important; }
.cite pre { background: transparent; border: 1px solid var(--rule); padding: 0.9rem 1rem; overflow-x: auto; font-size: 0.8rem; margin-top: 0.9rem; }   /* (shapes round 3) the ruled edge is the fallback; js/scribble.js draws one light pencil line a side over it (data-scribble on the pre, held by the details so it does not slide with the text) */
.cite pre ~ .scr { --scr-opacity: 0.36; }
/* (cut-off, 11-09) the BibTeX wraps inside its frame, not runs under the right edge: each line is its own span (the line
   break kept inside it, so Copy BibTeX reads the same text), a wrapped field hangs under its value, and a url breaks at a slash */
.cite pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.cite pre .l { display: block; padding-left: 6ch; text-indent: -6ch; }
.cite pre .u { white-space: pre; }

/* ---------------------------------------------------------------- phones: the drawing on top, the text scrolls under it */
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; width: 100%; }
  /* the stage hides the text passing under it with a patch of the paper (::before), faded out at its foot; the patch
     is not moved with the scroll, so it costs nothing to scroll */
  .stage { grid-column: 1; height: 52vh; height: 52svh; top: 3.5rem; z-index: 1; --stage-fade: 88%; }
  .stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--ground) var(--paper-img) 0 var(--paper-y, 0px) / 768px 768px fixed; background-blend-mode: var(--patch-blend);
    -webkit-mask-image: linear-gradient(#000 var(--stage-fade), transparent); mask-image: linear-gradient(#000 var(--stage-fade), transparent); }
  .stage > svg { width: min(92vw, 46vh); }
  .steps { grid-column: 1; grid-row: 1; padding: 58vh 20px 30vh; position: relative; z-index: 2; pointer-events: none; }
  .step { min-height: 70vh; justify-content: flex-end; padding-bottom: calc(6vh + 3rem); }
  .step p { font-size: 1.3rem; padding: 0.4rem 0.2rem; }
  .step p.small { font-size: 1.02rem; }
}
/* the dissertation's own story pages (home, idea, wedge, afterword) put the text below the drawing instead: it passes
   under the drawing, never over it, and a step's text goes out at once as the next fades in. :where() keeps these at
   the specificity of the rules above, so the foldable layouts of css/fold.css still win. */
@media (max-width: 820px) {
  :where(#opening, #paper, #wedgepage, .idea:not([id])) .stage { height: calc(3.5rem + 44vh); height: calc(3.5rem + 44svh); top: 0; padding-top: 3.5rem;
    box-sizing: border-box; z-index: 3; --stage-fade: 94%; }
  :where(#opening, #paper, #wedgepage, .idea:not([id])) .stage > svg { width: min(92vw, 42vh); width: min(92vw, 42svh); }
  :where(#opening, #paper, #wedgepage, .idea:not([id])) .steps { z-index: 1; }
  /* each step is as tall as the room under the drawing, its text centred there, where readLine() picks the active one */
  :where(#opening, #paper, #wedgepage, .idea:not([id])) .step { min-height: calc(56vh - 3.5rem); min-height: calc(56svh - 3.5rem); justify-content: center;
    padding: 2vh 0; opacity: 0; transition: none; }
  :where(#opening, #paper, #wedgepage, .idea:not([id])) .step.on { opacity: 1; transition: opacity 0.35s; }
}
@media (max-width: 820px) and (max-height: 700px) {   /* css/fold.css shrinks the stage on short screens; keep room for the header */
  html:not(.fold-book):not(.fold-table) main:where(#opening, #paper, #wedgepage, .idea:not([id])) .story .stage { height: calc(3.5rem + 42vh); height: calc(3.5rem + 42svh); }
}
@media (prefers-reduced-motion: reduce) {
  .cover .big span, .cover .title, .cover .by, .cover .cta { transition: none; opacity: 1; transform: none; }
  .cover .scrollhint { animation: none; }
}

/* ---------------------------------------------------------------- a chapter told as a story (the afterword) */
.told { padding-top: 5.5rem; }
.told .toldhead, .told .toldfoot { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.told .kicker { font: 0.72rem Newsreader, Georgia, serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.told .kicker a { text-decoration: none; }
.told .story { display: grid; }
.told .toldbody { grid-column: 1; grid-row: 1; font-family: Newsreader, Georgia, serif; }
/* the fragment is <section><h1/><div.steps/>footnotes</section>; the section is laid out as the story's left column */
.told .toldbody section { padding: 0; margin: 0; }
.told .toldbody h1 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.03em; line-height: 1; margin: 3rem 0 0; }
.told .toldbody .steps { padding: 18vh 0 20vh; }
.told .step p { font-size: clamp(1.2rem, 1.75vw, 1.45rem); line-height: 1.5; letter-spacing: 0; }
.told .step a { color: var(--accent); text-decoration: none; font-size: 0.85em; }
.told .step .footnote-ref { vertical-align: super; font-size: 0.6em; }
.told aside.footnotes { font: 0.9rem Newsreader, Georgia, serif; color: var(--ink-2); max-width: 30rem; }
.told aside.footnotes hr { width: 5rem; border: 0; border-top: 1px solid var(--rule); margin: 0 0 0.8rem; }
.told aside.footnotes a { color: var(--accent); text-decoration: none; }
.told .pager { margin: 4rem 0 0; }
@media (max-width: 820px) {
  .told .stage { height: calc(3.5rem + 38vh); height: calc(3.5rem + 38svh); }   /* long paragraphs: more room below */
  .told .stage > svg { width: min(92vw, 36vh); width: min(92vw, 36svh); }
  .told .step { min-height: calc(62vh - 3.5rem); min-height: calc(62svh - 3.5rem); }
  .told .toldbody { position: relative; padding: 0 20px; }
  .told .toldbody h1 { position: relative; z-index: 4; }
  .told .toldbody .steps { padding: 58vh 0 20vh; }
  .told .step p { font-size: 1.12rem; }
}

/* ---------------------------------------------------------------- /dissertation/idea */
.idea .ideahead { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 8rem 0 0; }
.idea .ideahead .eyebrow { font: 0.74rem Newsreader, Georgia, serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1rem; }
.idea .ideahead .eyebrow a { text-decoration: none; }
.idea .ideahead h1 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 1; letter-spacing: -0.03em;
  max-width: 14ch; margin: 0 0 1.4rem; }
.idea .ideahead .lede { font-family: Newsreader, Georgia, serif; font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); max-width: 36rem; margin: 0; }
.idea .ideahead .lede + .lede { margin-top: 0.9rem; }
.idea .fx { margin: 0.4rem 0 1rem; color: var(--ink); }
.idea .fx svg { display: block; max-width: 100%; height: auto; width: 23rem; }
.idea .step a { color: var(--accent); text-decoration: none; }
.idea .ideafoot { width: min(1040px, calc(100% - 40px)); margin: 0 auto 0 max(20px, calc(50% - 520px)); padding: 2rem 0 3rem; max-width: 44rem; }   /* on the page's left edge, under the heading */
.idea .ideafoot > p:first-child { font-family: Newsreader, Georgia, serif; font-size: 1.3rem; line-height: 1.5; }
.idea .ideafoot a { color: var(--accent); text-decoration: none; }
.idea .ideafoot .cta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.7rem; margin: 1rem 0 1.6rem; }   /* the links themselves are styled with the cover's, above */
.idea .ideafoot .note { font: 0.84rem/1.55 Newsreader, Georgia, serif; color: var(--ink-3); }
@media (max-width: 820px) {
  .idea .ideahead { padding-top: 6rem; }
  .idea .fx { padding: 0.3rem; }
  .idea .fx svg { width: 100%; }
}
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: #1f3fd0; z-index: 60; }
.dark .progress { background: #8fb0ff; }
.idea .solvestate { display: block; margin-top: 0.8rem; font: 0.82rem ui-monospace, Menlo, monospace; color: var(--ink-3); }
.idea .solvestate.ok { color: var(--accent); }

/* ---------------------------------------------------------------- the detour map (detour.js) */
.detour { position: relative; }
.detour.js { height: 720vh; }
.dt-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center;
  width: min(1180px, calc(100% - 24px)); margin: 0 auto; padding: 3.2rem 0 3.6rem; box-sizing: border-box; }
.dt-map { width: 100%; flex: 1 1 0; min-height: 0; color: var(--ink); font-family: Newsreader, Georgia, serif; overflow: visible; }
.dt-caps { position: relative; flex: 0 0 auto; display: grid; max-width: 40rem; margin: 0 auto; width: 100%; }
.dt-cap { font-family: Newsreader, Georgia, serif; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em;
  margin: 0; text-align: center; }
.detour.js .dt-cap { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s; }
.detour.js .dt-cap.on { opacity: 1; transform: none; }
.dt-map .pn { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.dt-map .soft { opacity: 0.35; }
.dt-map .soft2 { opacity: 0.4; }
.dt-map .dash { stroke-dasharray: 3 5 !important; }
.dt-map .hatch { color: var(--ink-3); opacity: 0; }
.dt-map .road { color: var(--ink-2); }
.dt-map .acc { stroke: var(--accent); }
.dt-map .dot { fill: var(--warm); }
.dt-map text { fill: var(--ink-2); }
.dt-map .lab { font: 12.5px Newsreader, Georgia, serif; fill: var(--ink-3); }
.dt-map .lab .who { font: 15px Newsreader, Georgia, serif; fill: var(--ink); }
.dt-map .accl, .dt-map .accl .who { fill: var(--accent); }
.dt-map .bandname { font-size: 19px; font-style: italic; fill: var(--ink); }
.dt-map .mono { font: 11px ui-monospace, Menlo, monospace; letter-spacing: 0.2em; fill: var(--ink-3); }
.dt-map .halo { paint-order: stroke; stroke: color-mix(in srgb, var(--paper) 60%, transparent); stroke-width: 7px; stroke-linejoin: round; }
@media (max-width: 760px) {
  .dt-sticky { width: 100%; padding: 3.6rem 12px 3.4rem; }
  .dt-caps { padding: 0 8px; }
  .dt-cap { font-size: 1.02rem; line-height: 1.35; }
  .dt-map .lab { font-size: 11px; } .dt-map .lab .who { font-size: 15px; }
  .dt-map .lab:not(.accl) { fill: var(--ink-2); }   /* the year lines are about 9 px here: the stronger grey keeps them readable */
}

/* the bookmark ribbon (bookmark.js): hangs on the chapter where the reader stopped */
.cards a.ribbon { position: relative; }
.cards a.ribbon::after { content: ""; position: absolute; top: -1px; left: 14px; width: 11px; height: 26px;
  background: #b8322a; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%); pointer-events: none; }

/* ---------------------------------------------------------------- /dissertation/spike */
.spike .lives { width: min(1040px, calc(100% - 40px)); margin: 3rem auto 0; }
.spike .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; position: sticky; top: 3.5rem; z-index: 2; padding: 0.7rem 0;
  background: var(--ground) var(--paper-img) 0 var(--paper-y, 0px) / 768px 768px fixed; background-blend-mode: var(--patch-blend); border-bottom: 1px solid var(--rule);
  font: 0.85rem Newsreader, Georgia, serif; color: var(--ink-2); }
/* (shapes 11-09) the switches are words, not pills: the one that is on is in the accent on the pencil line, the other grey on a thin line */
.spike :is(.controls, .variants, .build-controls) button { --pad: 0.65rem; position: relative; font: 600 0.85rem Newsreader, Georgia, serif; padding: var(--pad) 0; border: 0;
  background: transparent; color: var(--ink); cursor: pointer; }
.spike :is(.controls, .variants, .build-controls) button:hover { color: var(--accent); }
/* (shapes round 2, 11-09) the switches read as the explorer's model tabs do: plain names, the chosen one in the accent on
   the pencil underline, and the same underline faintly under a name the cursor is on */
.spike :is(.modes, .variants) button, .spike :is(.modes, .variants) button:hover { color: var(--ink); }
.spike :is(.modes, .variants) button::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--pad) - 5px); height: 6px; pointer-events: none; opacity: 0;
  background: currentColor; -webkit-mask: url(../images/marks/underline.svg) 0 0 / 100% 100% no-repeat; mask: url(../images/marks/underline.svg) 0 0 / 100% 100% no-repeat; }
.spike :is(.modes, .variants) button:hover::after { opacity: 0.4; }
.spike :is(.modes, .variants) button[aria-pressed="true"] { color: var(--accent); }
.spike :is(.modes, .variants) button[aria-pressed="true"]::after { opacity: 0.9; }
.spike .modes { display: inline-flex; flex-wrap: wrap; gap: 0 1.2rem; }
@media (pointer: coarse) { .spike :is(.controls, .variants, .build-controls) button { --pad: 0.85rem; } }
/* (shapes round 2, 11-09) Play and Build are the page's two true buttons, drawn as the Decision Mesh and the explorer draw
   theirs: one light pencil line a side (js/scribble.js, data-scribble in templates/spike.html), nothing filled, the name in
   the accent; the pencil darkens under the pointer and turns to the accent when pressed or focused. The ruled square edge
   is only what shows if the pencil script did not load: the script makes it transparent */
.spike :is(#play, #build-play) { --scr-ink: var(--ink); padding: 7px 14px; border: 1px solid var(--rule); color: var(--accent); }
.spike :is(#play, #build-play):hover > .scr { opacity: 0.95; }
.spike :is(#play, #build-play):active > .scr { color: var(--accent); opacity: 1; }
@media (pointer: coarse) { .spike :is(#play, #build-play)::after { content: ""; position: absolute; inset: -5px -2px; } }   /* drawn the same size, takes a tap from a 44px band */
.spike .hint { color: var(--ink-3); flex: 1 1 18rem; }
.spike .one { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; flex: 1 1 30rem; }
.spike .one[hidden], .spike .hint[hidden] { display: none; }
.spike .scrub { display: flex; align-items: center; gap: 10px; }
.spike .scrub input { flex: 1; min-width: 6rem; accent-color: var(--accent); }
.spike .scrub.age { flex: 3 1 16rem; color: var(--ink); font-weight: 600; }
.spike .scrub.when { flex: 2 1 12rem; }
.spike .scrub small { color: var(--ink-3); font-weight: 400; }
.spike .clock { font-variant-numeric: tabular-nums; min-width: 2.6em; }
.spike .strip { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: 10px 32px; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.spike .strip h2 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin: 0 0 0.45rem; }
.spike .strip h2 small { display: block; font: 0.7rem Newsreader, Georgia, serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.35rem; }
.spike .strip p { font-family: Newsreader, Georgia, serif; font-size: 1.05rem; line-height: 1.45; color: var(--ink-2); margin: 0; }
.spike .strip p.model { font: 0.8rem/1.5 Newsreader, Georgia, serif; color: var(--ink-3); margin-top: 0.7rem; }
.spike .strip p.model b { font-weight: 600; color: var(--ink-2); }
.spike .plot { min-width: 0; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.spike .plot svg { width: 100%; display: block; overflow: visible; font: 11px Newsreader, Georgia, serif; }
.spike .plot .axis { stroke: var(--rule); stroke-width: 1; }
.spike .plot .zero { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.6; }
.spike .plot .curve { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.spike .plot .curve.old { stroke-width: 1.5; }
.spike .plot .perm { fill: none; stroke-width: 1.6; stroke-dasharray: 6 4; opacity: 0.75; }
.spike .variants { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.1rem; margin: 0 0 2px; font: 0.8rem Newsreader, Georgia, serif; color: var(--ink-2); }
.spike .variants button { font-size: 0.8rem; }
.spike .plot .wall { fill: var(--ink); opacity: 0.06; }
.spike .plot .wall.old { opacity: 0.025; }
.spike .plot .wall.old { opacity: 0.025; }
.spike .plot .mark { stroke: var(--ink-3); stroke-dasharray: 2 3; opacity: 0.45; }
.spike .plot .mark.lit { stroke: var(--ink); opacity: 0.7; }
.spike .plot .mark.never { opacity: 0.25; }
.spike .plot .cursor { stroke: var(--ink); stroke-width: 1; opacity: 0.35; }
.spike .plot .ahead { fill: none; stroke-width: 1.3; opacity: 0.22; stroke-dasharray: 1 3; stroke-linecap: round; }
.spike .plot .dot { stroke: var(--paper); stroke-width: 1.5; }
.spike .plot .bolt { stroke: var(--warm); stroke-width: 3; stroke-linecap: round; }
.spike .plot text { fill: var(--ink-3); }
.spike .plot .walllab { fill: var(--ink-2); }
.spike .plot .marklab { fill: var(--ink-3); transition: fill 0.25s; }
.spike .plot .marklab.lit { fill: var(--ink); font-weight: 600; }
.spike .plot .marklab.never { text-decoration: line-through; opacity: 0.6; }
.spike .legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font: 0.8rem Newsreader, Georgia, serif; color: var(--ink-2); }
.spike .legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.spike .legend b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.spike .legend .when { flex-basis: 100%; color: var(--ink-3); }
.spike .legend em { font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.spike .legend .key { flex-basis: 100%; color: var(--ink-3); }
.spike .legend i.dash { background: none; border-top: 2px dashed var(--ink-3); height: 0; width: 16px; }
.spike .note { font: 0.85rem/1.5 Newsreader, Georgia, serif; color: var(--ink-3); max-width: 44rem; margin: 1.4rem 0 0; }
.spike .note a { color: var(--accent); }
@media (max-width: 720px) { .spike .strip { grid-template-columns: 1fr; } .spike .strip h2 { font-size: 1.35rem; } .spike .scrub.age, .spike .scrub.when { flex-basis: 100%; } }

.spike .lemma { width: min(1040px, calc(100% - 40px)); margin: 3.5rem auto 0; }
.spike .lemma h2 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1; margin: 0 0 0.6rem; }
.spike .lemma .lede2 { font-family: Newsreader, Georgia, serif; font-size: 1.12rem; line-height: 1.5; color: var(--ink-2); max-width: 40rem; margin: 0 0 1.4rem; }
.spike .lemma .build { margin: 0 0 2.2rem; }
.spike .lemma .bowls { max-width: 720px; }
.spike .build-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 10px; font: 0.85rem Newsreader, Georgia, serif; color: var(--ink-2); }
.spike .build-controls .scrub { flex: 1 1 16rem; }
@media (max-width: 720px) { .spike .build-controls .scrub { order: 1; flex-basis: 100%; } }   /* (shapes round 2) on a narrow screen: the switches, then the drawn Build button, then the slider at full width, as the row at the top of the page stacks */
.spike .lemma .target { fill: none; stroke-width: 2; stroke-dasharray: 5 4; }
.spike .lemma .sum { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.spike .lemma .piece { fill: none; stroke-width: 1; opacity: 0.35; }
.spike .lemma figure { margin: 0; min-width: 0; }
.spike .lemma svg { width: 100%; display: block; overflow: visible; font: 11px Newsreader, Georgia, serif; }
.spike .lemma svg text { fill: var(--ink-3); }
.spike .lemma .axis { stroke: var(--rule); }
.spike .lemma .zero { stroke: var(--ink-3); stroke-dasharray: 2 3; opacity: 0.6; }
.spike .lemma .curve { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.spike .lemma .tangent { stroke-width: 1.2; stroke-dasharray: 4 3; }
.spike .lemma .comb { stroke: var(--warm); stroke-width: 2; stroke-linecap: round; }
.spike .lemma .dot { stroke: var(--paper); stroke-width: 1.5; }
.spike .lemma figcaption { font: 0.85rem/1.5 Newsreader, Georgia, serif; color: var(--ink-2); margin-top: 0.6rem; }
.spike .lemma-scrub { margin-top: 6px; font: 0.8rem Newsreader, Georgia, serif; color: var(--ink-2); }
.spike .lemma h3 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 1.45rem; margin: 2rem 0 0.5rem; }

/* ---------------------------------------------------------------- /noisestate/risk */
.risk .ideahead { display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 1fr); column-gap: 3.5rem; }
.risk .ideahead > .eyebrow, .risk .ideahead > h1 { grid-column: 1 / -1; }
.risk .ideahead > .lede { grid-column: 1; }
.risk .headfig { grid-column: 2; grid-row: 3 / span 2; align-self: center; margin: 0; }
.risk .headfig svg { max-width: 24rem; margin: 0 auto; font: 12.5px Newsreader, Georgia, serif; }
@media (max-width: 900px) {
  .risk .ideahead { grid-template-columns: minmax(0, 1fr); }
  .risk .headfig { grid-column: 1; grid-row: auto; margin-top: 1.6rem; }
  .risk .headfig svg { max-width: 20rem; margin: 0; }
}
.risk .rsec { width: min(1040px, calc(100% - 40px)); margin: 3rem auto 0; }
.risk .rsec h2 { font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1; margin: 0 0 0.6rem; }
.risk .lede2 { font-family: Newsreader, Georgia, serif; font-size: 1.12rem; line-height: 1.5; color: var(--ink-2); max-width: 42rem; margin: 0 0 1rem; }
.risk .rcontrols { position: sticky; top: 3.5rem; z-index: 2; padding: 0.6rem 0; margin-bottom: 0.8rem;
  background: var(--ground) var(--paper-img) 0 var(--paper-y, 0px) / 768px 768px fixed; background-blend-mode: var(--patch-blend); border-bottom: 1px solid var(--rule); font: 0.9rem Newsreader, Georgia, serif; color: var(--ink-2); }
.risk .scrub { display: flex; align-items: center; gap: 12px; max-width: 40rem; }
.risk .scrub input { flex: 1; accent-color: var(--accent); }
.risk .clock { font-variant-numeric: tabular-nums; min-width: 9em; }
.risk .rgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 28px; }
.risk .rgrid .wide { grid-column: 1 / -1; }
.risk figure { margin: 0; min-width: 0; }
.risk svg { width: 100%; display: block; overflow: visible; font: 11px Newsreader, Georgia, serif; }
.risk svg text { fill: var(--ink-3); }
.risk .axis { stroke: var(--rule); }
.risk .zero { stroke: var(--ink-3); stroke-dasharray: 2 3; opacity: 0.6; }
.risk .curve { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.risk .mark { stroke-width: 2; }
.risk .dot { stroke: var(--paper); stroke-width: 1.5; }
.risk .legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font: 0.8rem Newsreader, Georgia, serif; color: var(--ink-2); }
.risk .legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.risk .legend b { font-variant-numeric: tabular-nums; color: var(--ink); }
.risk figcaption { font: 0.85rem/1.5 Newsreader, Georgia, serif; color: var(--ink-2); margin-top: 0.5rem; }
.risk .rnote { font: 0.85rem/1.5 Newsreader, Georgia, serif; color: var(--ink-3); max-width: 44rem; margin: 1.2rem 0 0; }
.risk .rnote code { font-size: 0.8rem; }
@media (max-width: 720px) { .risk .rgrid { grid-template-columns: 1fr; } }
.risk .rcontrols { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.risk .rcontrols .scrub { flex: 1 1 18rem; }
.risk .toyfig svg { max-width: 560px; margin: 0 auto; }
.risk .nw { white-space: nowrap; }
.risk .legend i.dash { background: none; border-top: 2px dashed; height: 0; width: 16px; border-radius: 0; }
.spike .loadfail, .risk .loadfail { font: 0.9rem Newsreader, Georgia, serif; color: var(--warm); margin: 0.4rem 0; }
.risk .scrub { flex-wrap: wrap; min-width: 0; } .risk .scrub input { min-width: 8rem; } .risk .rcontrols .scrub { min-width: 0; }

/* the abstract, shortened by cuts only, after the stories and before the contents (a cover button jumps to it) */
.opening .abstract { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 1rem 0 3rem; }
.opening .abstract h2 { font: 0.74rem Newsreader, Georgia, serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1rem; font-weight: 400; }
.opening .abstract p { font-family: Newsreader, Georgia, serif; font-size: 1.15rem; line-height: 1.55; color: var(--ink-2); max-width: 40rem; margin: 0 0 0.9rem; }
.opening .abstract { scroll-margin-top: 4rem; padding-top: 3rem; }
.spike .jumplab { font: 600 0.72rem Newsreader, Georgia, serif; }
.spike .watchfig { margin: 1.4rem 0 0; max-width: 46rem; } .spike .watchfig svg { width: 100%; display: block; }
.opening .abstract .abs-full { font: 0.85rem Newsreader, Georgia, serif; color: var(--ink-3); }
.risk .routes .route { display: flex; align-items: center; gap: 6px 10px; margin: 0 0 18px; flex-wrap: nowrap; }
.risk .routes .rname { font: 600 0.85rem Newsreader, Georgia, serif; color: var(--ink); width: 8.5rem; flex: none; margin: 0; }
.risk .routes .rstep { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.risk .routes .rstep span { font: 0.78rem Newsreader, Georgia, serif; color: var(--ink-3); }
.risk .routes .rarrow { font: 0.78rem Newsreader, Georgia, serif; color: var(--ink-2); text-align: center; flex: 1 1 6rem; max-width: 9rem; margin: 0; }
.risk .routes .rarrow::after { content: " \2192"; }
.risk .routes svg text { font-size: 10px; }
@media (max-width: 860px) {
  .risk .routes .route { flex-direction: column; }
  .risk .routes .rname { width: auto; }
  .risk .routes .rarrow { max-width: none; flex: none; }
  .risk .routes .rarrow::after { content: " \2193"; }
}
.risk .routes .rname small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.74rem; margin-top: 2px; }
.risk .legend i.dot { background: none; border-top: 3px dotted; height: 0; width: 16px; border-radius: 0; }

/* ---------------------------------------------------------------- /dissertation/wedge: the tug slider */
#wedgepage .ideafoot > p:first-child + p { font-family: Newsreader, Georgia, serif; font-size: 1.3rem; line-height: 1.5; }
#wedgepage .tugctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0.2rem 0 0.9rem; pointer-events: auto;
  font: 0.9rem Newsreader, Georgia, serif; color: var(--ink-2); }
#wedgepage .tugctl input { flex: 1 1 10rem; min-width: 0; accent-color: var(--accent); }
#wedgepage .tugval { font: 0.9rem ui-monospace, Menlo, monospace; color: var(--accent); min-width: 5.5em; }
#wedgepage .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0; }

/* ---------------------------------------------------------------- the contents cards' frame: a hand-drawn pencil border
   (a static SVG whose strokes cross a little at the corners) with a fainter inner line, like a framed print */
/* mat: a framed print. A firm outer line, square corners, and a hairline mat 6px inside it */
/* pencil: drawn by hand, the strokes crossing a little at the corners, a fainter second line inside (one static SVG) */
.cards .card a { border-color: transparent; border-radius: 0; box-shadow: none; background: no-repeat 0 0 / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 240' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'%3E%3Cpath d='M-2.9,2.1 Q35.5,1.7 73.9,1.9 Q112.3,1.8 150.6,1.2 Q189.0,3.0 227.4,1.9 Q265.8,3.3 304.1,2.9 L342.5,2.9 M337.0,-2.5 Q337.5,24.6 337.1,51.8 Q337.4,78.9 338.5,106.1 Q336.7,133.2 337.5,160.3 Q337.3,187.5 336.7,214.6 L337.0,241.7 M342.5,237.2 Q304.3,238.0 266.0,237.4 Q227.8,238.0 189.5,237.0 Q151.2,237.2 113.0,238.0 Q74.8,237.5 36.5,237.5 L-1.7,237.8 M2.8,242.5 Q3.3,215.3 2.1,188.1 Q2.5,160.8 2.0,133.6 Q1.0,106.4 2.6,79.2 Q1.6,51.9 2.1,24.7 L2.0,-2.5' stroke='rgba%2827,27,32,0.62%29' stroke-width='1.3' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M7.8,8.8 Q43.9,9.1 80.0,9.0 Q116.2,8.4 152.3,8.6 Q188.5,8.9 224.6,8.3 Q260.7,8.9 296.9,9.3 L333.0,9.0 M331.4,7.0 Q331.6,32.2 331.9,57.4 Q331.6,82.6 332.1,107.8 Q331.8,133.0 332.0,158.2 Q331.7,183.4 331.4,208.6 L330.9,233.8 M333.0,231.3 Q296.7,230.6 260.4,231.2 Q224.2,231.9 187.9,231.5 Q151.6,231.1 115.3,231.4 Q79.1,231.5 42.8,231.6 L6.5,231.0 M8.8,233.0 Q9.0,207.9 9.1,182.8 Q8.5,157.7 9.6,132.6 Q9.5,107.4 9.3,82.3 Q8.6,57.2 8.4,32.1 L8.6,7.0' stroke='rgba%2827,27,32,0.28%29' stroke-width='0.8' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E"); }
html.dark .cards .card a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 240' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'%3E%3Cpath d='M-2.9,2.1 Q35.5,1.7 73.9,1.9 Q112.3,1.8 150.6,1.2 Q189.0,3.0 227.4,1.9 Q265.8,3.3 304.1,2.9 L342.5,2.9 M337.0,-2.5 Q337.5,24.6 337.1,51.8 Q337.4,78.9 338.5,106.1 Q336.7,133.2 337.5,160.3 Q337.3,187.5 336.7,214.6 L337.0,241.7 M342.5,237.2 Q304.3,238.0 266.0,237.4 Q227.8,238.0 189.5,237.0 Q151.2,237.2 113.0,238.0 Q74.8,237.5 36.5,237.5 L-1.7,237.8 M2.8,242.5 Q3.3,215.3 2.1,188.1 Q2.5,160.8 2.0,133.6 Q1.0,106.4 2.6,79.2 Q1.6,51.9 2.1,24.7 L2.0,-2.5' stroke='rgba%28236,237,241,0.5%29' stroke-width='1.3' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M7.8,8.8 Q43.9,9.1 80.0,9.0 Q116.2,8.4 152.3,8.6 Q188.5,8.9 224.6,8.3 Q260.7,8.9 296.9,9.3 L333.0,9.0 M331.4,7.0 Q331.6,32.2 331.9,57.4 Q331.6,82.6 332.1,107.8 Q331.8,133.0 332.0,158.2 Q331.7,183.4 331.4,208.6 L330.9,233.8 M333.0,231.3 Q296.7,230.6 260.4,231.2 Q224.2,231.9 187.9,231.5 Q151.6,231.1 115.3,231.4 Q79.1,231.5 42.8,231.6 L6.5,231.0 M8.8,233.0 Q9.0,207.9 9.1,182.8 Q8.5,157.7 9.6,132.6 Q9.5,107.4 9.3,82.3 Q8.6,57.2 8.4,32.1 L8.6,7.0' stroke='rgba%28236,237,241,0.22%29' stroke-width='0.8' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E"); }
.cards .card a:hover { border-color: transparent; box-shadow: none; }

/* (Sam 11-11: the "This dissertation..." sentence "could maybe be centered and look grander ... to state its importance
   and cover for the lack of image next to it") the one sentence on the page with no drawing: centred across the whole
   sheet, larger, with room around it; the drawing that comes down to it is statement.css|js */
html #story2.story.plated .step.statement { display: block; max-width: 44rem; margin: clamp(2rem, 8vh, 5rem) auto clamp(6rem, 18vh, 11rem); text-align: center; }
html #story2.story.plated .step.statement > .say { max-width: none; margin: 0 auto; text-align: center; }
html #story2.story.plated .step.statement p { font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.2; letter-spacing: -0.015em; margin: 0 auto; text-wrap: balance; }

/* (Sam 11-11) the Art Moore step carries a photo instead of a drawing: laid out as a drawing's step is (words, then the
   picture beside them on a desk, under them on a phone), the photo plain, no frame or effect */
html .story.plated .step.wordsonly.withphoto { display: grid; }
@media (max-width: 700px) { html .story.plated .step.wordsonly.withphoto { display: block; } }
.story.plated .plate.photo { position: relative; box-sizing: border-box; margin: 0; justify-self: center; }
.story.plated .plate.photo img { display: block; width: 100%; height: auto; position: relative; }
@media (max-width: 700px) { .story.plated .plate.photo { margin: 1.2rem auto 0; } }
