/* The homepage sketchbook: a cover, Onset inked in, the pencil bench and
   Notes. Strokes are drawn by home-sketchbook.js with doodle.js; everything
   here still reads without them. Motion is transforms, opacity and
   stroke-dashoffset only. */
@font-face {
  font-family: "Onset Display";
  src: url("/assets/fonts/Fraunces-Onset-Numerals.woff2") format("woff2");
  font-display: swap;
}
.sketchbook {
  --sheet: #FBFAF5;
  --card: #FFFFFF;
  --pencil: #6B6C65;
  --pencil-stroke: #8D8D85;
  --dev: #7A5E3E;
  --dev-stroke: #B39773;
  --onset-bg: #16140F;
  --onset-orange: #D97742;
  background-color: var(--sheet);
  background-image: radial-gradient(circle, var(--pen-wash) 1px, transparent 1.4px);
  background-size: 24px 24px;
}
:root[data-theme="dark"] .sketchbook {
  --sheet: var(--paper);
  --card: var(--porcelain);
  --pencil: #A9ABA4;
  --pencil-stroke: #85877F;
  --dev: #D5B58C;
  --dev-stroke: #9C8263;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sketchbook {
    --sheet: var(--paper);
    --card: var(--porcelain);
    --pencil: #A9ABA4;
    --pencil-stroke: #85877F;
    --dev: #D5B58C;
    --dev-stroke: #9C8263;
  }
}
.sketchbook [hidden] { display: none !important; }
.sketchbook main { overflow-x: clip; }
.sketchbook main a:not(.btn) { color: var(--pen); }
.sketchbook .hand { font-family: var(--hand); font-weight: 400; }

/* == Drawing == */
.sketchbook svg.doodle { overflow: visible; }
.sketchbook .draw {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1.02;
  stroke-dashoffset: 1;
  opacity: 0;
}
.sketchbook .drawn .draw {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset var(--dur, 700ms) cubic-bezier(.45, 0, .3, 1) var(--delay, 0ms), opacity 1ms linear var(--delay, 0ms);
}
.sketchbook .ink { stroke: var(--pen); stroke-width: 3.2; }
.sketchbook .pencil { stroke: var(--pencil-stroke); stroke-width: 2; }
.sketchbook .frame { position: absolute; inset: 0; pointer-events: none; }
.sketchbook .frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .sketchbook .fade {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 500ms var(--ease) var(--delay, 0ms), transform 500ms var(--ease) var(--delay, 0ms);
}
.js .sketchbook .drawn .fade { opacity: 1; transform: none; }

/* == Scribble == */
.sketchbook .scribble-line { fill: none; stroke: var(--pen); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.sketchbook .scribble-eye { fill: var(--ink); }
.sketchbook .scribble-smile { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.sketchbook .rider { position: absolute; left: 0; top: 0; width: 46px; height: 37px; pointer-events: none; }
.sketchbook .rider svg { width: 100%; height: 100%; transform: scaleX(-1); }
.sketchbook .rider .scribble-line { stroke-width: 12; }
.sketchbook .rider .scribble-smile { stroke-width: 9; }

/* == Pages == */
.sketchbook .page { position: relative; padding: 72px 0 64px; }
.sketchbook .page + .page { border-top: 1px dashed var(--pen-line); }
.sketchbook .page-no { position: absolute; top: 22px; right: 0; font: 24px var(--hand); color: var(--pencil); }
/* Page turn: each page below the cover swings in from its spine while a
   shadow sweeps across it. Without the script, pages stay put. */
.js .sketchbook .page.turn:not(.drawn) { opacity: 0; }
.js:not(.sketch-ready) .sketchbook .page.turn:not(.drawn),
.js:not(.sketch-ready) .sketchbook .fade { animation: sketch-fallback 1ms 3s forwards; }
.sketchbook .page.turn.drawn { animation: page-turn 950ms var(--ease) both; transform-origin: 0 40%; }
.sketchbook .page.turn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent 30%, #1b1c1814 46%, #fffef8a0 52%, transparent 62%);
  transform: translateX(-70%);
}
.sketchbook .page.turn.drawn::before { animation: page-sweep 1200ms cubic-bezier(.3, .6, .2, 1) 60ms both; }
@keyframes page-turn {
  from { opacity: 0; transform: perspective(1800px) rotateY(-16deg) translateX(-24px); }
  to { opacity: 1; transform: none; }
}
@keyframes page-sweep {
  0% { opacity: 1; transform: translateX(-70%); }
  100% { opacity: 0; transform: translateX(70%); }
}
@keyframes sketch-fallback { to { opacity: 1; transform: none; } }

/* == Cover == */
.sketchbook .cover { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; padding-top: 72px; }
.sketchbook .cover h1 { position: relative; display: inline-block; margin: 0; font: 800 clamp(56px, 8.5vw, 112px) / .95 var(--display); letter-spacing: -.05em; }
.sketchbook .h1-under { position: absolute; left: -2%; bottom: -22px; width: 96%; height: 24px; }
.sketchbook .cover .intro { max-width: 30ch; margin: 44px 0 0; font-size: 20px; line-height: 1.55; }
.sketchbook .cover-aside { padding-bottom: 6px; }
.sketchbook .toc-title { margin: 0 0 4px; font: 30px var(--hand); color: var(--pencil); }
.sketchbook .toc { list-style: none; margin: 0; padding: 0; font: 28px / 1.1 var(--hand); }
.sketchbook .toc li { display: flex; gap: 10px; align-items: center; }
.sketchbook .toc li span { min-width: 2.2ch; color: var(--pencil); }
.sketchbook .toc a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sketchbook .toc a:hover { text-decoration: underline; }

/* == Section heads == */
.sketchbook .sec-head { position: relative; display: flex; align-items: baseline; gap: 96px; margin-bottom: 36px; }
.sketchbook .sec-head h2 { position: relative; margin: 0; font: 700 clamp(30px, 4vw, 44px) / 1 var(--display); letter-spacing: -.04em; }
.sketchbook .sec-head .u { position: absolute; left: 0; bottom: -14px; width: 100%; height: 16px; }
.sketchbook .sec-head p { margin: 0; color: var(--ink-soft); }

/* == Onset == */
.sketchbook .onset-spread { display: grid; grid-template-columns: minmax(0, 1fr) 250px minmax(0, 1fr); gap: 44px; align-items: start; }
.sketchbook .onset-id { display: flex; gap: 20px; align-items: center; }
.sketchbook .onset-icon { position: relative; flex: none; width: 104px; height: 104px; }
.sketchbook .onset-icon .fill { position: absolute; inset: 8px; border-radius: 24px; background: var(--onset-bg); transform: rotate(-3deg); }
.sketchbook .onset-icon svg.curve { position: absolute; inset: 8px; width: 88px; height: 88px; transform: rotate(-3deg); }
.sketchbook .onset-icon .oc { fill: none; stroke: var(--onset-orange); stroke-width: 64; stroke-linecap: round; stroke-dasharray: 1 1.02; }
.sketchbook .onset-icon .od { fill: var(--onset-orange); }
.sketchbook .onset-icon .doodle { position: absolute; inset: 0; width: 104px; height: 104px; }
.js .sketchbook .onset-icon .fill { opacity: 0; transform: scale(.92) rotate(-3deg); transition: opacity 500ms var(--ease) 1100ms, transform 600ms var(--drop) 1100ms; }
.js .sketchbook .drawn .onset-icon .fill { opacity: 1; transform: rotate(-3deg); }
.js .sketchbook .onset-icon .oc { stroke-dashoffset: 1; transition: stroke-dashoffset 700ms cubic-bezier(.45, 0, .3, 1) 1500ms; }
.js .sketchbook .drawn .onset-icon .oc { stroke-dashoffset: 0; }
.js .sketchbook .onset-icon .od { opacity: 0; transition: opacity 200ms 1450ms; }
.js .sketchbook .drawn .onset-icon .od { opacity: 1; }
.sketchbook .onset-id h3 { margin: 0; font: 700 40px / 1 var(--display); letter-spacing: -.04em; }
.sketchbook .live { position: relative; display: inline-block; margin-top: 8px; padding: 4px 10px; font: 25px / 1 var(--hand); color: var(--pen); }
.sketchbook .live svg { position: absolute; inset: -6px -10px; width: calc(100% + 20px); height: calc(100% + 12px); }
.sketchbook .onset-copy { max-width: 36ch; margin: 24px 0 0; font-size: 18px; line-height: 1.55; }
.sketchbook .cta { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; margin-top: 24px; }
.sketchbook .cta a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.sketchbook .btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--button-text); font: 600 15px var(--sans); text-decoration: none; }
.sketchbook .btn:hover { background: var(--button-hover); }
.sketchbook .btn:active { transform: scale(var(--press-scale)); }
.sketchbook .shelf { margin-top: 32px; }
.sketchbook .shelf-label { display: inline-block; margin: 0 0 6px; font: 26px / 1 var(--hand); color: var(--pen); transform: rotate(-2deg); }
.sketchbook .stickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; max-width: 420px; }
.sketchbook .sticker { position: relative; display: flex; flex-direction: column; align-items: center; padding: 6px 4px 4px; border: 0; background: none; color: var(--ink-soft); font: 13px var(--sans); cursor: pointer; }
.sketchbook .sticker img { width: 86px; height: 86px; object-fit: contain; filter: drop-shadow(0 6px 8px #1b1c1820); transition: transform 300ms var(--drop); }
.sketchbook .sticker:hover img { transform: rotate(-6deg) scale(1.06); }
.sketchbook .sticker:active img { transform: scale(.94); }
.sketchbook .sticker .ring { position: absolute; left: 50%; top: 2px; width: 104px; height: 100px; margin-left: -52px; pointer-events: none; }
.sketchbook .sticker .ring path { fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1; transition: stroke-dashoffset 500ms cubic-bezier(.45, 0, .3, 1); }
.sketchbook .sticker[aria-pressed="true"] .ring path { stroke-dashoffset: 0; }
.sketchbook .sticker[aria-pressed="true"] span { color: var(--pen); }
.sketchbook .sticker:disabled { cursor: default; }

/* The real Today screen, frameless: rounded corners and a soft shadow. */
.sketchbook .reveal { position: relative; width: 250px; margin: 40px 0 0; }
.sketchbook .screen { position: relative; aspect-ratio: 736 / 1534; overflow: hidden; border-radius: 26px; background: var(--onset-bg); box-shadow: 0 22px 44px -26px #1b1c1866; }
.sketchbook .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sketchbook .screen-sketch { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.js .sketchbook .screen-sketch { display: block; }
.js .sketchbook .reveal.done .screen-sketch { display: none; }
.sketchbook .screen-sketch .paper { fill: var(--card); }
.sketchbook .screen-sketch .w { fill: none; stroke: var(--pencil-stroke); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1; }
.sketchbook .screen-sketch .wipe { fill: none; stroke: #000; stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1; }
.sketchbook .reveal-note { position: absolute; left: 4px; top: -40px; margin: 0; font: 23px / 1.05 var(--hand); color: var(--pencil); white-space: nowrap; transform: rotate(-3deg); transition: opacity .6s; }
.sketchbook .reveal.done .reveal-note { opacity: 0; }
.sketchbook .ink-stamp { position: absolute; bottom: 58px; right: -52px; display: grid; place-items: center; width: 132px; height: 68px; font: 34px / 1 var(--hand); color: var(--pen); transform: rotate(-9deg); pointer-events: none; }
.js .sketchbook .ink-stamp { opacity: 0; }
.js .sketchbook .reveal.inked .ink-stamp { opacity: 1; }
.sketchbook .ink-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sketchbook .ink-stamp .ring { fill: none; stroke: var(--pen); stroke-width: 3.4; stroke-linecap: round; }
.sketchbook .ink-stamp .blot { fill: var(--pen); transform-box: fill-box; transform-origin: center; }
.sketchbook .reveal figcaption { margin-top: 14px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); }
.sketchbook .reveal figcaption button { display: flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--pen); font: 13px var(--sans); cursor: pointer; }
.sketchbook .reveal figcaption button span { margin-left: 6px; }

/* Sample demo, on a card of its own */
.sketchbook .sample { position: relative; padding: 28px 28px 20px; border-radius: 22px; background: var(--card); }
.sketchbook .sample .kicker { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--ink-soft); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.sketchbook .sample h4 { margin: 0; font: 500 24px / 1.2 var(--sans); letter-spacing: -.04em; }
.sketchbook .sample-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.sketchbook .sample-inputs > div { min-width: 0; }
.sketchbook .sample-inputs label { display: flex; justify-content: space-between; gap: 4px; color: var(--ink-soft); font-size: 12px; }
.sketchbook #dose { font-variant-numeric: tabular-nums; }
.sketchbook .sample-inputs select { width: 100%; min-width: 0; min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: 500 16px var(--sans); cursor: pointer; }
.sketchbook .sample-estimate { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.sketchbook .sample-estimate p { margin: 0; }
.sketchbook .sample-estimate > p:first-child { font-size: 13px; line-height: 1.5; }
.sketchbook .sample-estimate > p:first-child span { display: block; color: var(--ink-soft); font-size: 11px; }
.sketchbook .estimate-value { white-space: nowrap; font: 58px / 1 "Onset Display", Georgia, serif; letter-spacing: -2px; }
.sketchbook .unit { color: var(--ink-soft); font: 14px var(--sans); letter-spacing: 0; }
.sketchbook .sample-chart { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.sketchbook .chart-baseline { fill: none; stroke: var(--line); stroke-width: 1; }
.sketchbook #chart-curve { fill: none; stroke: var(--pen); stroke-width: 2; stroke-linecap: round; }
.sketchbook #bed-point { fill: var(--pen); }
.sketchbook .sample-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.sketchbook .sample-foot p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.sketchbook .sample-foot button { min-height: 44px; padding: 0 0 0 8px; border: 0; background: none; color: var(--pen); font: 13px var(--sans); cursor: pointer; }
.sketchbook .sample-foot button span { margin-left: 6px; font-size: 17px; }
.sketchbook .sample button:disabled { cursor: default; }
.sketchbook .sample-cap { margin: 16px 0 0 8px; font: 24px / 1.1 var(--hand); color: var(--ink-soft); }
.sketchbook .fallback { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* == Bench == */
.sketchbook .bench-intro { max-width: 52ch; margin: -12px 0 36px; color: var(--ink-soft); }
.sketchbook .bench { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sketchbook .card { position: relative; min-height: 300px; padding: 26px 24px 24px; color: var(--ink-soft); }
.sketchbook .card-top { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 14px; align-items: start; }
.sketchbook .card .icon { width: 76px; height: 76px; }
.sketchbook .stamp { position: relative; display: inline-block; margin: 14px 0 0 2px; padding: 4px 8px; font: 24px / 1 var(--hand); color: var(--pencil); transform: rotate(4deg); }
.sketchbook .stamp svg { position: absolute; inset: -5px -8px; width: calc(100% + 16px); height: calc(100% + 10px); }
.sketchbook .stamp.dev { color: var(--dev); }
.sketchbook .stamp.dev .draw { stroke: var(--dev-stroke); }
.sketchbook .card h3 { margin: 12px 0 0; font: 700 24px / 1.1 var(--display); letter-spacing: -.03em; }
.sketchbook .card h3 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.sketchbook .card h3 a:hover { color: var(--pen); text-decoration: underline; }
.sketchbook .card p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; }
.sketchbook .card .scrawl { margin-top: 12px; font: 22px / 1 var(--hand); color: var(--pencil); }
.sketchbook .wire { display: block; width: 70px; height: 152px; overflow: visible; border-radius: 12px; background: color-mix(in srgb, var(--card) 65%, transparent); }
.sketchbook .wire path { fill: none; stroke: var(--ink-soft); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.02; stroke-dashoffset: 1; opacity: .6; transition: opacity 1.4s ease; }
.sketchbook .wire path.on { stroke-dashoffset: 0; }
.sketchbook .wire path.fresh { opacity: 1; transition: none; }
.sketchbook .scribble-card { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.sketchbook .scribble-card svg.sc { width: min(220px, 80%); height: auto; }
.sketchbook .scribble-card .hand { margin: 6px 0 0; font-size: 28px; color: var(--pen); }
.sketchbook .scribble-card .away { margin: 4px 0 0; color: var(--ink-soft); font-size: 14px; }
.sketchbook .walker { position: absolute; left: 0; top: 0; z-index: 6; display: none; width: 76px; height: 60px; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.sketchbook .bench.walking .walker { display: block; }
.sketchbook .walker .hop,
.sketchbook .walker .dir,
.sketchbook .walker svg { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; }
.sketchbook .walker .scribble-line { stroke-width: 15; }
.sketchbook .walker .scribble-smile { stroke-width: 9; }
.sketchbook .bench.walking .scribble-card svg.sc { visibility: hidden; }

/* == Notes == */
.sketchbook .notes { list-style: none; max-width: 820px; margin: 0; padding: 0; }
.sketchbook .notes li { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; }
.sketchbook .notes .rule { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; }
.sketchbook .notes h3 { margin: 0; font: 500 19px / 1.35 var(--sans); letter-spacing: -.01em; }
.sketchbook .notes h3 a { display: inline-block; padding-block: 6px; color: var(--ink); text-decoration: none; }
.sketchbook .notes h3 a:hover { color: var(--pen); text-decoration: underline; }
.sketchbook .notes .meta { padding-top: 6px; white-space: nowrap; font: 22px var(--hand); color: var(--pencil); }
.sketchbook .all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }

/* == Sign-off == */
.sketchbook .studio-signature { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 56px 0 40px; }
.sketchbook .studio-signature img { width: 210px; height: auto; }
.sketchbook .studio-signature .play { margin: 0; font: 34px / 1.1 var(--hand); color: var(--pen); }
.sketchbook .studio-signature p + p { margin: 8px 0 0; color: var(--ink-soft); }
.sketchbook .studio-signature p a { display: inline-flex; align-items: center; min-height: 44px; }

/* == Smaller screens == */
@media (max-width: 1000px) {
  .sketchbook .onset-spread { grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; }
  .sketchbook .sample-col { grid-column: 1 / -1; max-width: 520px; }
  .sketchbook .reveal { margin-top: 44px; }
  .sketchbook .reveal-note { display: none; }
  .sketchbook .ink-stamp { right: -14px; }
}
@media (max-width: 900px) {
  .sketchbook .cover { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 48px; }
  .sketchbook .bench { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
  .sketchbook .page { padding: 56px 0 48px; }
  .sketchbook .cover { padding-top: 32px; }
  .sketchbook .cover .intro { margin-top: 40px; font-size: 18px; }
  .sketchbook .sec-head { flex-direction: column; gap: 28px; }
  .sketchbook .onset-spread { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sketchbook .onset-id { gap: 14px; }
  .sketchbook .onset-icon { margin: -8px; transform: scale(.85); }
  .sketchbook .onset-id h3 { font-size: 34px; }
  .sketchbook .live { padding: 4px 8px; font-size: 20px; white-space: nowrap; }
  .sketchbook .reveal { width: 220px; margin: 0 auto; }
  /* Phone order: Onset, screenshot, then the drink picker right above the calculator it drives. */
  .sketchbook .onset-spread { row-gap: 0; }
  .sketchbook .onset-main { display: contents; }
  .sketchbook .onset-spread .reveal { order: 1; margin-top: 40px; }
  .sketchbook .onset-spread .shelf { order: 2; margin-top: 40px; }
  .sketchbook .onset-spread .sample-col { order: 3; margin-top: 20px; }
  .sketchbook .ink-stamp { right: -28px; bottom: 56px; width: 112px; font-size: 29px; }
  .sketchbook .sample { padding: 22px 16px 14px; }
  .sketchbook .sample-inputs { gap: 12px; }
  .sketchbook .estimate-value { font-size: 50px; }
  .sketchbook .bench { grid-template-columns: minmax(0, 1fr); }
  .sketchbook .card { min-height: 0; }
  .sketchbook .card-top { grid-template-columns: minmax(0, 1fr) 62px; }
  .sketchbook .wire { width: 62px; height: 135px; }
  .sketchbook .scribble-card svg.sc { width: 150px; }
  .sketchbook .notes li { flex-direction: column; gap: 0; }
  .sketchbook .notes .meta { padding-top: 0; }
  .sketchbook .studio-signature { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sketchbook .studio-signature img { width: 150px; }
}
@media (max-width: 380px) {
  .sketchbook .onset-id { flex-wrap: wrap; }
  .sketchbook .live { white-space: normal; }
  .sketchbook .sticker img { width: 70px; height: 70px; }
  .sketchbook .sticker .ring { width: 86px; height: 84px; margin-left: -43px; }
  .sketchbook .sample-inputs { grid-template-columns: minmax(0, 1fr); }
}

/* Reduced motion: no page turn, no walker; everything already drawn. */
@media (prefers-reduced-motion: reduce) {
  .sketchbook .draw,
  .js .sketchbook .fade,
  .js .sketchbook .onset-icon *,
  .sketchbook .sticker img,
  .sketchbook .sticker .ring path,
  .sketchbook .wire path,
  .sketchbook .reveal-note { transition: none !important; }
  .sketchbook .page.turn.drawn,
  .sketchbook .page.turn.drawn::before { animation: none; }
  .js .sketchbook .page.turn:not(.drawn) { opacity: 1; }
  .sketchbook .walker { display: none !important; }
  .sketchbook .bench.walking .scribble-card svg.sc { visibility: visible; }
}
