/* Reading notes card on the home page (static/js/card-notes-pile.js): a pile of papers under a desk lamp; the top one boils down to its idea.
   Layout: the two project cards keep home.css's grid exactly (1fr 1fr, one column at 800 px and below); the notes card
   goes below them, the full width and shorter, its picture on the left and its words on the right; on a narrow screen
   it stacks like the others. */
.home .demo.npile-card { position: relative; }
@media (min-width: 801px) {
  .home .demo.npile-card { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  .home .demo.npile-card .shot.npile { flex: 1 1 60%; aspect-ratio: auto; min-height: 250px; margin: var(--mat) 0 var(--mat) var(--mat); }
  .home .demo.npile-card .body { flex: 0 0 38%; justify-content: center; padding: 24px 28px 24px 22px; }
  .home .demo.npile-card .body p:last-child { margin-bottom: 0; }
}
@media (max-width: 800px) {
  .home .demo.npile-card .shot.npile { aspect-ratio: 5 / 2; }
  .home .demo.npile-card .body { padding: 14px 28px 24px; }
}
@media (max-width: 560px) { .home .demo.npile-card .shot.npile { aspect-ratio: 3 / 2; } }

/* the picture: drawn in the shot's own pixels (the script sets the viewBox to the shot's size), so lines keep one weight */
.home .shot.npile { background: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.home .shot.npile .rp { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.home .shot.npile .rp path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.home .shot.npile .rp a { cursor: pointer; outline: none; }
.home .shot.npile .rp .sheet { stroke: var(--ink); stroke-width: 1.15; opacity: 0.72; }
/* the sheets are clear: the page shows through them (a sheet hides what lies under it by a mask, card-notes-pile.js
   SEE-THROUGH SHEETS); the face still takes a touch anywhere on the paper */
.home .shot.npile .rp .face { fill: none; stroke: none; pointer-events: fill; }
.home .shot.npile .rp .edge { stroke: var(--ink-2); stroke-width: 0.9; opacity: 0.55; }
.home .shot.npile .rp .tx { stroke: var(--ink-3); stroke-width: 0.8; opacity: 0.8; }
.home .shot.npile .rp .tx.k { stroke: var(--ink-2); }
/* titles: the papers are rotated, and Chrome on Android hints and snaps each glyph of rotated small SVG text, which spaces
   letters unevenly ("Mu on"); geometric precision keeps the font's own advances and kerning, and no letter-spacing */
.home .shot.npile .rp .ttl { font: 500 11.5px/1 Newsreader, "Iowan Old Style", Georgia, serif; fill: var(--ink); text-anchor: middle;
  letter-spacing: normal; word-spacing: normal; text-rendering: geometricPrecision; font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1; font-synthesis: none; }
.home .shot.npile .rp a:focus-visible .sheet { stroke: var(--accent); opacity: 1; }
/* the note's picture, in the shelves' inks (as on /notes/) */
.home .shot.npile .rp .p-a { stroke: var(--accent); stroke-width: 1.7; }
.home .shot.npile .rp .p-b { stroke: var(--warm); stroke-width: 1.7; }
.home .shot.npile .rp .p-ink { stroke: var(--ink-2); stroke-width: 1.1; }
.home .shot.npile .rp .p-thin { stroke: var(--ink-2); stroke-width: 0.9; opacity: 0.55; }
.home .shot.npile .rp .p-dash { stroke: var(--warm); stroke-width: 1.1; stroke-dasharray: 3 3.5; opacity: 0.8; }
.home .shot.npile .rp .p-dot { stroke: var(--ink-2); stroke-width: 1.3; }
@media (prefers-reduced-motion: reduce) { .home .shot.npile .rp * { transition: none !important; } }
/* the looser hand (trial r2a): each pencil line gone over a second time, fainter and a hair off */
.home .shot.npile .rp .sheet.soft { stroke-width: 0.7; opacity: 0.3; }
.home .shot.npile .rp .soft { stroke-width: 0.8; }

/* the "?" in a boiled-down paper's corner, as on the note pages; it writes itself, then can be touched */

.home .shot.npile { touch-action: pan-y; }
.home .shot.npile .rp .pp a:hover .sheet { opacity: 0.95; }
.home .shot.npile:focus, .home .shot.npile svg:focus, .home .shot.npile .rp a:focus:not(:focus-visible) { outline: none; }
/* the stack's top paper: touching it takes it off */
.home .shot.npile .rp .pp.top a { cursor: pointer; }
.home .shot.npile .rp .pp.top:hover .sheet { stroke: var(--accent); opacity: 0.9; }
/* the "?" at the end of a short note, as on the note pages */
.home .shot.npile .rp .qm { cursor: pointer; pointer-events: none; }
.home .shot.npile .rp .qm.live { pointer-events: auto; }
.home .shot.npile .rp .hit { fill: transparent; stroke: none; }
.home .shot.npile .rp .qm .qq { stroke: color-mix(in srgb, var(--ink-3) 85%, transparent); stroke-width: 1.7; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.home .shot.npile .rp .qm .qq.soft { stroke-width: 0.9; opacity: 0.35; }
.home .shot.npile .rp .qm:hover .qq { stroke-width: 2.1; stroke: var(--ink); }
/* the back: the question as a drawn multiple choice */
.home .shot.npile .rp .back { cursor: default; }
.home .shot.npile .rp .back .sc { stroke-width: 0.95; }
.home .shot.npile .rp .back .sc.q { stroke: var(--ink); opacity: 0.85; }
.home .shot.npile .rp .back .sc.o { stroke: var(--ink-2); opacity: 0.75; }
.home .shot.npile .rp .back .sc.bub { stroke: var(--ink-2); stroke-width: 1; opacity: 0.85; }
.home .shot.npile .rp .back .opt { cursor: pointer; outline: none; }
.home .shot.npile .rp .back:not(.done) .opt:hover .sc.o, .home .shot.npile .rp .back:not(.done) .opt:focus-visible .sc.o { stroke: var(--accent); opacity: 1; }
.home .shot.npile .rp .back:not(.done) .opt:hover .sc.bub { stroke: var(--accent); }
.home .shot.npile .rp .back.done .opt { cursor: default; }
.home .shot.npile .rp .back .pick { fill: var(--ink); stroke: none; opacity: 0; transition: opacity 0.2s; }
.home .shot.npile .rp .back .opt.chosen .pick { opacity: 1; }
.home .shot.npile .rp .back .ring { stroke: var(--wa); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0.9; transition: stroke-dashoffset 0.7s ease 0.15s; }
.home .shot.npile .rp .back.done .ring { stroke-dashoffset: 0; }
.home .shot.npile .rp .back .miss { stroke: var(--warm); stroke-width: 1.5; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.3s; }
.home .shot.npile .rp .back .opt.wrong .miss { stroke-dashoffset: 0; }
.home .shot.npile .rp .back .opt.wrong .pick { opacity: 0; }
.dark .home .shot.npile .rp .back .ring { stroke: var(--wa); }
.home .shot.npile .rp .back .go { opacity: 0; pointer-events: none; transition: opacity 0.3s 0.6s; cursor: pointer; }
.home .shot.npile .rp .back.done .go { opacity: 1; pointer-events: auto; }
.home .shot.npile .rp .back .go .arr { stroke: var(--accent); stroke-width: 1.5; }
.home .demo.npile-card { --mat: 18px; }
@media (max-width: 520px) { .home .demo.npile-card { --mat: 15px; } }

/* the books, seen from above, in the same pencil as the papers: a cover a shade off the paper, its page block showing
   a few pixels past it (the thickness, kept subtle), the joint by the spine and a call-number label; no colour blocks */
.home .shot.npile .rp .bk .cv { stroke: none; }
.home .shot.npile .rp .bk .co { stroke: var(--ink); stroke-width: 1.1; opacity: 0.6; }
.home .shot.npile .rp .bk .co.soft { stroke-width: 0.7; opacity: 0.28; }
.home .shot.npile .rp .bk .pg { fill: #f3ebd8; stroke: none; }
.home .shot.npile .rp .bk .po { fill: none; stroke: var(--ink-2); stroke-width: 0.8; opacity: 0.5; }
.home .shot.npile .rp .bk .hg { stroke: var(--ink-2); stroke-width: 0.85; opacity: 0.45; }
.home .shot.npile .rp .bk .lb { stroke: var(--ink-2); stroke-width: 0.75; opacity: 0.55; }
.home .shot.npile .rp .bk .gt { stroke: var(--ink-2); stroke-width: 0.85; opacity: 0.45; }
.home .shot.npile .rp .bk .rb { stroke: var(--warm); stroke-width: 1.8; opacity: 0.75; }
.home .shot.npile .rp .bk .lf { fill: #efe6cf; stroke: none; }
.home .shot.npile .rp .bk .lo { stroke: var(--ink-2); stroke-width: 0.8; opacity: 0.5; }
.home .shot.npile .rp .bk.c0 .cv { fill: #e2d6bc; }
.home .shot.npile .rp .bk.c1 .cv { fill: #dcd3bd; }
.home .shot.npile .rp .bk.c2 .cv { fill: #e5dac3; }
.home .shot.npile .rp .bk.c3 .cv { fill: #d8d1be; }
.home .shot.npile .rp .bk.c4 .cv { fill: #e7dcc0; }
.dark .home .shot.npile .rp .bk .pg { fill: #38393c; }
.dark .home .shot.npile .rp .bk .lf { fill: #303134; }
.dark .home .shot.npile .rp .bk .co { opacity: 0.5; }
.dark .home .shot.npile .rp .bk.c0 .cv { fill: #2b2b2c; }
.dark .home .shot.npile .rp .bk.c1 .cv { fill: #29292b; }
.dark .home .shot.npile .rp .bk.c2 .cv { fill: #2d2d2e; }
.dark .home .shot.npile .rp .bk.c3 .cv { fill: #28292b; }
.dark .home .shot.npile .rp .bk.c4 .cv { fill: #2c2c2d; }
/* the frame and its books stay pencil grey in both themes, on hover too (never the accent blue) */

/* the frame (npile): towers of books lying flat up the sides, a plank across their tops, the floor, and a lamp clamped
   to the plank whose light is the card's bright middle; pencil grey, the books told apart by a grey wash only */
.home .demo.npile-card .cframe, .home .demo.npile-card:hover .cframe { color: var(--ink-2); }
.home .demo.npile-card .npileframe path { vector-effect: non-scaling-stroke; }
.home .demo.npile-card .npileframe .b { stroke-width: 0.85; opacity: 0.5; }
.home .demo.npile-card .npileframe .d { stroke-width: 0.6; opacity: 0.32; }
.home .demo.npile-card .npileframe .s { stroke-width: 0.7; opacity: 0.45; }
.home .demo.npile-card .npileframe path.f { fill: currentColor; stroke: none; opacity: 0.16; }
.home .demo.npile-card .npileframe path.f2 { fill: currentColor; stroke: none; opacity: 0.32; }
/* (npile) the lamp's pool of light: a soft ellipse fading to nothing inside the drawing, no dark around it */
.home .demo.npile-card .npileframe .lp { stop-color: #fffcf0; }
.home .demo.npile-card .npileframe .vg { opacity: 0.6; pointer-events: none; }   /* the pool is now paper-sized, so it can be stronger without washing the card (was 0.42; 0.5 before that) */
.home .demo.npile-card .npileframe .lamp path { stroke: var(--ink-2); stroke-width: 0.8; opacity: 0.8; }   /* (HAND EDGES, Sam: the lamp too) the frame's pencil grey, never black */
.home .demo.npile-card .npileframe .lamp .lbd { fill: currentColor; fill-opacity: 0.1; }   /* (Sam: its "metallic looking part") no flat paint: a faint wash the paper's grain shows through */
.home .demo.npile-card .npileframe .lamp .rim { fill: #fffbea; stroke-width: 0.7; }
.home .demo.npile-card .npileframe .lamp .soft { stroke-width: 0.55; opacity: 0.45; }
.home .demo.npile-card .npileframe .lamp .cord { stroke-width: 0.8; opacity: 0.45; }
.home .demo.npile-card .npileframe .lamp .beam { stroke: none; opacity: 1; }
.home .demo.npile-card .npileframe .bs0 { stop-color: #fffdf2; stop-opacity: 0.38; }   /* was 0.26 */
.home .demo.npile-card .npileframe .bs1 { stop-color: #fffbea; stop-opacity: 0; }
.dark .home .demo.npile-card .npileframe .b { opacity: 0.45; }
.dark .home .demo.npile-card .npileframe path.f { opacity: 0.16; }
.dark .home .demo.npile-card .npileframe path.f2 { opacity: 0.3; }
.dark .home .demo.npile-card .npileframe .lp { stop-color: #fff3d0; }
.dark .home .demo.npile-card .npileframe .vg { opacity: 0.17; }   /* (Sam: brighter in dark mode) was 0.07 */
.dark .home .demo.npile-card .npileframe .lamp path { opacity: 0.7; }
.dark .home .demo.npile-card .npileframe .lamp .rim { fill: #8a8778; }
.dark .home .demo.npile-card .npileframe .bs0 { stop-color: #fff6d8; stop-opacity: 0.24; }   /* was 0.11 */
.dark .home .demo.npile-card .npileframe .bs1 { stop-color: #fff6d8; stop-opacity: 0; }
.home .demo.npile-card { --mat: 20px; }
@media (max-width: 520px) { .home .demo.npile-card { --mat: 16px; } }
/* the quiz slip the "?" grows into: the note stays under it, so it carries a soft pencil shadow */
.home .shot.npile .rp .back .qq.big { stroke: color-mix(in srgb, var(--ink-3) 85%, transparent); stroke-width: 1.6; stroke-dasharray: none; opacity: 0.9; }
.home .shot.npile .rp .back .shd { fill: rgba(0, 0, 0, 0.12); stroke: none; }
.dark .home .shot.npile .rp .back .shd { fill: rgba(0, 0, 0, 0.35); }
/* the border takes touches (the frame itself stays click-through elsewhere): towers, plank, floor and lamp */
.home .demo.npile-card .npileframe .hitz path { fill: transparent; stroke: none; pointer-events: all; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home .demo.npile-card .npileframe .hitz path.fat { fill: none; stroke: transparent; stroke-width: 16px; vector-effect: none; pointer-events: stroke; }
/* the quiz's marks as on the note pages: the "?" in pencil grey (study-note.css .qstop), the right answer ringed in the
   notes' blue (--wa, as in study-quiz.css), a wrong pick crossed in the warm ink */
.home .demo.npile-card { --wa: #1f3fd0; }
.dark .home .demo.npile-card { --wa: #6a8ee6; }
/* ---------------------------------------------------------------- PILE SHAPE (npile: the swatch fan)
   the sheets fanned under the top one, held at one corner by a rivet: each sheet's writing in faint pencil
   (only its line ends show), the punched hole a dot of desk shadow, the rivet a small grey dome with a soft shadow */
.home .shot.npile .rp .pile { cursor: pointer; }
.home .shot.npile .rp .fs .fw { stroke: var(--ink-3); stroke-width: 0.9; opacity: 0.8; }
.home .shot.npile .rp .fs .edge { stroke: var(--ink-2); stroke-width: 0.85; opacity: 0.6; }
.home .shot.npile .rp .hole { fill: color-mix(in srgb, var(--ink) 30%, transparent); stroke: none; }
.home .shot.npile .rp .rivet .rh { fill: #d9d2c0; stroke: none; }
.home .shot.npile .rp .rivet .rs { fill: #000; opacity: 0.16; }
.home .shot.npile .rp .rivet .ro { stroke: var(--ink-2); stroke-width: 1.1; }
.home .shot.npile .rp .rivet .rl { stroke: #fff; stroke-width: 1; opacity: 0.8; }
.dark .home .shot.npile .rp .rivet .rh { fill: #57575c; }
.dark .home .shot.npile .rp .rivet .rs { opacity: 0.5; }
.dark .home .shot.npile .rp .rivet .ro { stroke: #b4b4b8; }
.dark .home .shot.npile .rp .rivet .rl { stroke: #d8d8dc; opacity: 0.55; }
/* END PILE SHAPE */
/* (final pass) keyboard focus: the "?" and the options show a dashed pencil ring around their target */
.home .shot.npile .rp .qm:focus-visible .hit, .home .shot.npile .rp .back .opt:focus-visible .hit, .home .shot.npile .rp .back .go:focus-visible .hit { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 2 2.5; }
.home .shot.npile .rp .qm:focus-visible .qq { stroke: var(--ink); }
.home .shot.npile .rp .qm, .home .shot.npile .rp .back .go { outline: none; }
/* (final pass) the lamp's switch: a clear button over the lamp; off, the pool of light and the beam fade out and the
   shade's rim loses its glow */
.home .demo.npile-card .lampsw { position: absolute; z-index: 3; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent;
  cursor: pointer; -webkit-tap-highlight-color: transparent; }
.home .demo.npile-card .lampsw:focus { outline: none; }
.home .demo.npile-card .lampsw:focus-visible { outline: 1px dashed var(--ink-2); outline-offset: -2px; }
.home .demo.npile-card .npileframe .vg, .home .demo.npile-card .npileframe .lamp .beam { transition: opacity 0.6s ease; }
.home .demo.npile-card .npileframe .lamp .rim { transition: fill 0.4s ease; }
.home .demo.npile-card.lamp-off .npileframe .vg, .home .demo.npile-card.lamp-off .npileframe .lamp .beam { opacity: 0; }
.home .demo.npile-card.lamp-off .npileframe .lamp .rim { fill: #cfc8b4; }
.dark .home .demo.npile-card.lamp-off .npileframe .lamp .rim { fill: #3a3b3e; }
@media (prefers-reduced-motion: reduce) { .home .demo.npile-card .npileframe .vg, .home .demo.npile-card .npileframe .lamp .beam, .home .demo.npile-card .npileframe .lamp .rim { transition: none; } }
/* the "?" turning into the quiz and back: the slip's outline keeps its weight while it grows; the marks of an answer
   (the ring, the cross, the dot) fade as soon as the quiz starts folding back into its "?" */
.home .shot.npile .rp .back .sg path { vector-effect: non-scaling-stroke; }
.home .shot.npile .rp .back.folding .ring, .home .shot.npile .rp .back.folding .miss, .home .shot.npile .rp .back.folding .pick,
.home .shot.npile .rp .back.folding .go { opacity: 0 !important; transition: opacity 0.2s; }
/* (Sam: "when the card shakes ... the boundaries go out of bounds a bit and get cut off") the border sways a few pixels
   past the card's edge; the card lets it show instead of clipping it, as the Noise-State card does for its rims. At rest
   nothing lies outside the card, and the picture keeps its own clip (.shot) */
.home .demo.npile-card { overflow: visible; }
/* ---------------------------------------------------------------- BASE (the desk blotter, trial base-b, picked 2026-11-03)
   the pad under the note and its quiz in the same pencil as the papers, nothing filled; its four corner pockets a grey
   leather wash with a stitched seam */
.home .shot.npile .rp .blotter .pe { stroke: var(--ink-2); stroke-width: 1; opacity: 0.55; }
.home .shot.npile .rp .blotter .pe.soft { stroke-width: 0.7; opacity: 0.25; }
.home .shot.npile .rp .blotter .pt { stroke: var(--ink-2); stroke-width: 0.8; opacity: 0.3; }
.home .shot.npile .rp .blotter .pk { fill: var(--ink-2); stroke: none; opacity: 0.13; }
.home .shot.npile .rp .blotter .ps { stroke: var(--ink-2); stroke-width: 0.8; stroke-dasharray: 2.2 2.4; opacity: 0.5; }
.dark .home .shot.npile .rp .blotter .pk { opacity: 0.16; }
/* ---------------------------------------------------------------- HAND EDGES (picked 2026-11-04, the medium hand) a sheet's edge as a light pencil line whose pressure comes and goes (card-notes-pile.js
   HAND EDGES paints each with one of a few gradients of the grey); thinner than the straight edges, and never black */
.home .shot.npile .rp .pr { stop-color: var(--ink-2); }
.home .shot.npile .rp .sheet.hand { stroke: var(--hp); stroke-width: 0.85; opacity: 1; }
.home .shot.npile .rp .sheet.hand.soft { stroke-width: 0.6; opacity: 0.5; }
.home .shot.npile .rp .edge.hand { stroke: var(--hp); stroke-width: 0.7; opacity: 0.75; }
.home .shot.npile .rp .fs .edge.hand { stroke-width: 0.75; opacity: 0.85; }
.home .shot.npile .rp .blotter .pe.hand { stroke: var(--hp); stroke-width: 0.85; opacity: 0.8; }
.home .shot.npile .rp .blotter .pe.hand.soft { stroke-width: 0.6; opacity: 0.4; }
/* the cord and the mug on the border (card-notes-pile.js cordAndMug), in the frame's pencil grey and its weights */
.home .demo.npile-card .npileframe .atm path { vector-effect: non-scaling-stroke; }
.home .demo.npile-card .npileframe .atm .cd { stroke-width: 0.8; opacity: 0.45; }
.home .demo.npile-card .npileframe .atm path.cs { fill: currentColor; fill-opacity: 0.12; stroke-width: 0.75; opacity: 0.6; }
.home .demo.npile-card .npileframe .atm .mg { stroke-width: 0.85; opacity: 0.55; }
.home .demo.npile-card .npileframe .atm .mr { stroke-width: 0.7; opacity: 0.45; }
.home .demo.npile-card .npileframe .atm path.mf { fill: currentColor; stroke: none; opacity: 0.1; }
.home .demo.npile-card .npileframe .atm .ms { stroke-width: 0.55; opacity: 0.45; }
.home .demo.npile-card .npileframe .atm .mt { stroke-width: 0.65; opacity: 0.5; }
/* (Sam: the lamp's rim "doesn't look pencily enough, especially on light mode") no flat near-white disc: a warm wash the
   paper's grain shows through, its outline gone over twice, a little shading on its far side */
.home .demo.npile-card .npileframe .lamp .rim { fill-opacity: 0.55; }
.dark .home .demo.npile-card .npileframe .lamp .rim { fill-opacity: 0.7; }
.home .demo.npile-card .npileframe .lamp .rim2 { fill: none; stroke: var(--ink-2); stroke-width: 0.55; opacity: 0.5; }
.home .demo.npile-card .npileframe .lamp .rimh { fill: none; stroke: var(--ink-2); stroke-width: 0.45; opacity: 0.35; }
/* (Sam: the lamp head "is shaded in light mode") in light mode the shade has no flat wash, only pencil hatching down one
   side; dark mode keeps its faint wash and no hatching */
.home .demo.npile-card .npileframe .lamp .coneh { fill: none; stroke: var(--ink-2); stroke-width: 0.45; opacity: 0.5; }
html:not(.dark) .home .demo.npile-card .npileframe .lamp .cone { fill: none; }
.dark .home .demo.npile-card .npileframe .lamp .coneh { display: none; }
/* (Sam: the shade's hatching and the rim's "clash") in light mode the shade's strokes carry the shading, so the rim keeps
   only its wash and its doubled outline; dark mode has no shade strokes and keeps the rim's */
html:not(.dark) .home .demo.npile-card .npileframe .lamp .rimh { display: none; }
/* (Sam, after deploy: "the lamp's rim shouldn't be the darkest part of the card") seen nearly edge on, the rim's two long
   sides lie a pixel apart, so every pass doubled its ink: one light pass now, no second pass in light mode, at the
   shelf's weight */
.home .demo.npile-card .npileframe .lamp .rim { stroke-width: 0.6; opacity: 0.55; }
.dark .home .demo.npile-card .npileframe .lamp .rim { opacity: 0.55; }
html:not(.dark) .home .demo.npile-card .npileframe .lamp .rim2 { display: none; }
.dark .home .demo.npile-card .npileframe .lamp .rim2 { opacity: 0.35; }
/* (Sam, after deploy: "I don't think it's just the lamp head that is the most dark on the card") the darkest marks
   should be the paper titles and the figure; measured, the next darkest were the quiz's question lines in the text's
   near-black, the rivet's ring, and the stack's scribbled text by sheer count. All down to the frame's pencil weight,
   in light mode only (Sam: "At least in light mode") */
html:not(.dark) .home .shot.npile .rp .back .sc.q { stroke: var(--ink-2); opacity: 0.7; }
html:not(.dark) .home .shot.npile .rp .rivet .ro { stroke-width: 0.8; opacity: 0.7; }
html:not(.dark) .home .shot.npile .rp .tx { opacity: 0.62; }
/* (Sam: the lines that "draw the eye first" should be the middle page) the paper just read (.lit) a step heavier: its
   outline, its title and its writing; every other paper's title and outline a step lighter, so they read as papers
   without competing; the frame and the lamp stay lightest of all */
.home .shot.npile .rp .pp.lit .sheet.hand { stroke-width: 1.05; }
.home .shot.npile .rp .pp:not(.lit) .sheet.hand { opacity: 0.7; }
.home .shot.npile .rp .pp:not(.lit) .ttl { fill: var(--ink-2); }
.home .shot.npile .rp .pp.lit .ttl { font-weight: 600; }
html:not(.dark) .home .shot.npile .rp .pp.lit .tx { opacity: 0.85; }
.home .shot.npile .rp .pp.lit .tx.k { opacity: 1; }

/* (Sam agreed, 2026-11-05) the quiz's question lines toned down in dark mode too, so nothing outshines the middle page;
   and in light mode the other papers' writing (the stack's tangles above all) a touch lighter, so the stack recedes */
.dark .home .shot.npile .rp .back .sc.q { stroke: var(--ink-2); opacity: 0.7; }
html:not(.dark) .home .shot.npile .rp .pp:not(.lit) .tx { opacity: 0.36; }
/* (Sam: "But also the quiz is important too") the open quiz comes second, after the middle page and above the stack and
   the frame: its question lines, options and outline back to near full strength, still in the pencil grey, not the
   near-black they were */
html:not(.dark) .home .shot.npile .rp .back .sc.q, .dark .home .shot.npile .rp .back .sc.q { opacity: 0.9; }
.home .shot.npile .rp .pp:not(.lit) .back .sheet.hand { opacity: 0.95; }
.home .shot.npile .rp .back .sc.o, .home .shot.npile .rp .back .sc.bub { opacity: 0.9; }
/* the rivet in pencil (Sam: it looked "like clipart instead of pencil"): no flat disc or shadow blob, only a faint wash
   the paper shows through, its ring gone over twice, a few strokes of shading, and the glint a short pencil stroke */
.home .shot.npile .rp .rivet .rh { fill: currentColor; fill-opacity: 0.08; color: var(--ink-2); }
.home .shot.npile .rp .rivet .rs { display: none; }
.home .shot.npile .rp .rivet .ro2 { fill: none; stroke: var(--ink-2); stroke-width: 0.6; opacity: 0.5; }
.home .shot.npile .rp .rivet .rhh { fill: none; stroke: var(--ink-2); stroke-width: 0.5; opacity: 0.45; }
.home .shot.npile .rp .rivet .rl { stroke: var(--ink-2); stroke-width: 0.6; opacity: 0.35; }
.dark .home .shot.npile .rp .rivet .rh { fill-opacity: 0.12; color: #b4b4b8; }
.dark .home .shot.npile .rp .rivet .ro2, .dark .home .shot.npile .rp .rivet .rhh, .dark .home .shot.npile .rp .rivet .rl { stroke: #b4b4b8; }

/* (Sam: "Would prefer if the rivet was less bold") a lighter ring in both themes, the pencil weight of the sheets' edges */
.home .shot.npile .rp .rivet .ro, html:not(.dark) .home .shot.npile .rp .rivet .ro { stroke-width: 0.7; opacity: 0.55; }
.home .shot.npile .rp .rivet .ro2 { opacity: 0.35; }
