/* The workbench at night.
   The page is one rendered walnut bench (see ../../brand/scene/bench.py). Everything live sits
   exactly on top of the object it belongs to. Sizes inside the bench use --mm, one real millimetre
   of bench, so handwriting sits on the paper at a believable size and scales with the picture.
   Layers, bottom to top: the render · the night (darkness with the lamp's pool) · screens and words. */

@font-face { font-family: 'Bricolage'; src: url(/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(/fonts/caveat.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url(/fonts/caveat-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Mono'; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Mono'; src: url(/fonts/jetbrains-mono-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --wood: #1c120b;            /* the bench where the render ends */
  --lamp: #ffd9a8;            /* warm tungsten: words in the light */
  --chalk: #f4ead9;           /* text on the wood */
  --dim: #b9a68c;             /* secondary text on the wood */
  --ink: #1f2a44;             /* ballpoint blue on paper */
  --pencil: #3b3733;          /* graphite on paper */
  --orange: #ff5b1f;          /* the knife, shipped, the one accent */
  --paper: #f4f1ea;
  --display: 'Bricolage', 'Avenir Next', system-ui, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
  --mono: 'Mono', ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--wood); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--chalk); font: 400 16px/1.5 var(--display); font-optical-sizing: auto; background: var(--wood); overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--paper); color: #111; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Small words keep a floor (max(px, mm)) so a narrower laptop never shrinks them past reading size. */
/* ------------------------------------------------------------------ the top bar: a strip of light */
.top {
  position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) clamp(16px, 3vw, 40px) 14px;
  pointer-events: none;
}
/* The bar has no edge: the night simply gets deeper toward the top, deep enough that a heading
   scrolling underneath never reads through the name (a short gradient let them collide). */
.top::before { content: ''; position: absolute; inset: 0 0 auto; height: calc(100% + 44px); z-index: -1; pointer-events: none;
  background: linear-gradient(#0c0806f2 0, #0c0806e0 45%, #0c080680 72%, #0c080600 100%); }
.top > * { pointer-events: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px/1 var(--display); letter-spacing: -.02em; color: var(--chalk); }
.wm-cut { width: 22px; height: 4px; border-radius: 2px; background: var(--orange); transform: rotate(-35deg); box-shadow: 0 0 12px #ff5b1f99; }
.top nav { display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; font: 500 14px/1 var(--display); }
.top nav a { text-decoration: none; color: var(--dim); transition: color .2s; }
.top nav a:hover { color: var(--chalk); }
.top nav .top-cta { color: #160d07; background: var(--lamp); padding: 10px 16px; border-radius: 999px; font-weight: 650; box-shadow: 0 0 0 1px #ffffff22, 0 6px 24px #ffb35a33; transition: transform .2s, box-shadow .2s; }
.top nav .top-cta:hover { color: #160d07; transform: translateY(-1px); box-shadow: 0 0 0 1px #ffffff33, 0 10px 30px #ffb35a55; }

/* ------------------------------------------------------------------ the bench */
/* No container-type here on purpose: containment would make the bench its own stacking layer and the
   night could no longer sit between the picture and the words. --mm comes from --bw (bench width, set by JS). */
.bench { position: relative; width: 100%; overflow: hidden; --mm: calc(var(--bw, 100vw) / var(--wmm)); }
.bench-img { position: absolute; left: 0; width: 100%; display: block; user-select: none; }
.bench-phone { display: none; }
@media (max-width: 900px) {
  .bench-desktop { display: none; }
  .bench-phone { display: block; }
  .top nav a:not(.top-cta) { display: none; }
}
.bench > div { position: absolute; transform: translate(-50%, -50%) rotate(var(--rot)); z-index: 3; }

/* The night: everything is in darkness except a warm pool around the lamp (the pointer).
   On a phone the lamp hangs over the middle of the screen and the bench slides under it.
   Built for the compositor: the pool is one huge pre-drawn gradient that is only moved (.pool,
   translate) and grown (::before, scale), so following the pointer never repaints the page. */
.night { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
  background: #0a0603c4; transition: background-color 1.2s ease .25s; } /* dark until the lamp warms up */
.lamp-on .night, html:not(.js) .night { background-color: #0a060300; }
.night .pool { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform;
  transform: translate3d(72vw, 32vh, 0); }
.night .pool::before {
  content: ''; position: absolute; width: 320vmax; height: 320vmax; left: -160vmax; top: -160vmax;
  background: radial-gradient(circle at center, #ffcf8f12 0, #0a060300 22vmax, #0a060394 46vmax, #0a0603c4 62vmax);
  transform: scale(.08); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); will-change: transform;
}
.lamp-on .night .pool::before { transform: scale(1); }
.lamp-follow .night .pool { transition: transform .45s cubic-bezier(.2, .8, .3, 1); }
@media (max-width: 900px) {
  .night .pool { transform: translate3d(50vw, 46vh, 0) !important; }
  .lamp-on .night .pool::before { transform: scale(1.85); }
}
/* Without JavaScript the light is simply on. */
html:not(.js) .night .pool::before { transform: scale(1.15); }

/* ------------------------------------------------------------------ words on the wood */
.area { color: var(--chalk); text-shadow: 0 1px 1px #0008, 0 0 30px #0009; }
.area h2 { margin: 0 0 .25em; font: 750 max(28px, calc(var(--mm) * 22))/1 var(--display); letter-spacing: -.035em; color: var(--lamp); }
.area p { margin: 0; font-size: max(15px, calc(var(--mm) * 9.4)); line-height: 1.45; color: var(--chalk); max-width: 62ch; }
.hero-text { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--mm) * 9); }
.hero-text h1 {
  margin: 0; font: 800 calc(var(--mm) * 47)/.92 var(--display); letter-spacing: -.042em; color: var(--chalk);
  font-variation-settings: 'opsz' 96;
}
.hero-text h1 em { font-style: normal; color: var(--orange); text-shadow: 0 0 36px #ff5b1f66; position: relative; }
.hero-text h1 em::after { /* the cut under "use": drawn once when the lamp comes on */
  content: ''; position: absolute; left: .02em; right: .06em; bottom: -.04em; height: .07em; border-radius: 1em;
  background: var(--orange); transform-origin: left; transform: rotate(-2deg) scaleX(var(--cut, 1));
  transition: transform 1s cubic-bezier(.6, 0, .2, 1) .9s; box-shadow: 0 0 16px #ff5b1f88;
}
.js .hero-text h1 em::after { --cut: 0; }
.lamp-on .hero-text h1 em::after { --cut: 1; }
.hero-text .sub { font-size: max(16px, calc(var(--mm) * 11)); color: var(--dim); max-width: 34ch; }
.now { display: inline-flex; gap: .6em; align-items: center; font: 500 max(11.5px, calc(var(--mm) * 7))/1.35 var(--mono) !important; letter-spacing: .02em; color: var(--dim) !important; text-transform: none; }
.live { flex: none; width: .65em; height: .65em; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 #ff5b1f88; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #ff5b1f99; } 70% { box-shadow: 0 0 0 .7em #ff5b1f00; } 100% { box-shadow: 0 0 0 0 #ff5b1f00; } }
.numbers { display: grid; grid-template-columns: repeat(4, auto); gap: calc(var(--mm) * 5) calc(var(--mm) * 12); justify-content: start; }
.num b { display: block; font: 750 calc(var(--mm) * 21)/1 var(--display); letter-spacing: -.04em; color: var(--lamp); }
.num span { display: block; margin-top: .45em; font: 400 max(11px, calc(var(--mm) * 6.6))/1.25 var(--mono); letter-spacing: .03em; color: var(--dim); text-transform: uppercase; }
.also { font-size: max(13px, calc(var(--mm) * 8)) !important; color: var(--dim) !important; }
.also button { text-decoration: underline; text-decoration-color: #ff5b1f99; text-underline-offset: .2em; color: var(--chalk); }
.also button:hover { text-decoration-color: var(--orange); }
.k { display: inline-block; width: .62em; height: .62em; border-radius: 50%; margin: 0 .3em 0 .7em; vertical-align: .02em; }
.k-shipped { background: var(--orange); } .k-bench { background: #1a1a1a; box-shadow: 0 0 0 1.5px var(--chalk); } .k-tried { background: #7d8a80; }

/* ------------------------------------------------------------------ the screens glow */
.bench > .screen { z-index: 4; }
.screen { border-radius: calc(var(--mm) * 8.5); overflow: hidden; background: #000;
  box-shadow: 0 0 calc(var(--mm) * 14) calc(var(--mm) * 2) #9fc4ff1c, 0 0 calc(var(--mm) * 60) #9fc4ff12; }
.screen.is-tablet { border-radius: calc(var(--mm) * 11); box-shadow: 0 0 calc(var(--mm) * 20) calc(var(--mm) * 3) #8a7dff22, 0 0 calc(var(--mm) * 90) #6f6bff18; }
.screen-lll { box-shadow: 0 0 calc(var(--mm) * 16) calc(var(--mm) * 2) #ffd7d71f, 0 0 calc(var(--mm) * 60) #ffcfcf14; }
.screen-cp { box-shadow: 0 0 calc(var(--mm) * 16) calc(var(--mm) * 2) #ffc46a1f, 0 0 calc(var(--mm) * 60) #ffb04a14; }
.screen-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen-djubi .screen-media { object-fit: fill; }
.island { position: absolute; left: 50%; top: calc(var(--mm) * 6.4); width: calc(var(--mm) * 18.5); height: calc(var(--mm) * 5.5); transform: translate(-50%, -50%); background: #000; border-radius: 99px; }
.screen-btn { position: absolute; inset: 0; border-radius: inherit; }
.screen::after { /* glass sheen that moves with the lamp */
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, #ffffff00 30%, #ffffff10 48%, #ffffff00 62%);
  opacity: .9; transition: opacity .3s;
}
.screen:hover::after { opacity: 0; }
.screen:hover { box-shadow: 0 0 calc(var(--mm) * 22) calc(var(--mm) * 4) #ffe2b333, 0 0 calc(var(--mm) * 80) #ffd9a822; }
.bench > .device-label { z-index: 5; transform: translate(-50%, 0); }
/* Above a device the words grow upward from the label line (the box itself is only a line). */
.device-label.above button { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); padding: 0 0 calc(var(--mm) * 2); }
.device-label { display: flex; justify-content: center; overflow: visible; }
.device-label button { display: flex; flex-direction: column; align-items: center; text-align: center; width: max-content; flex-shrink: 0; max-width: max(210px, calc(var(--mm) * 190)); gap: .3em; padding-top: calc(var(--mm) * 3); text-shadow: 0 1px 2px #000c; }
.device-label b { white-space: nowrap; font: 700 max(13px, calc(var(--mm) * 8.5))/1 var(--display); letter-spacing: -.02em; color: var(--chalk); }
.device-label b::after { content: ' ↗'; color: var(--orange); }
.device-label span { font: 400 max(11px, calc(var(--mm) * 6.2))/1.25 var(--mono); color: var(--dim); letter-spacing: .02em; }
.device-label button:hover b { color: var(--lamp); }

/* ------------------------------------------------------------------ handwriting on paper */
.hand { font-family: var(--hand); font-weight: 600; letter-spacing: .005em; }
/* Ink on paper sits under the night, like the paper itself: the lamp lights both together. */
.bench > .caption, .bench > .card-text, .bench > .sticky-text, .bench > .tag-text { z-index: 1; display: flex; }
.caption { flex-direction: column; justify-content: center; padding: 0 calc(var(--mm) * 3); color: var(--ink); pointer-events: none; }
.caption .hand { font-size: max(12px, calc(var(--mm) * 8.6)); line-height: 1.02; }
.caption .stamp { margin-top: .5em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 700 calc(var(--mm) * 4.6)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #8b4a2e; }
.print-hit { z-index: 3; }
.print-hit button { position: absolute; inset: 0; border-radius: 2px; transition: box-shadow .25s, background .25s; }
.print-hit button:hover { box-shadow: 0 0 0 calc(var(--mm) * 1.2) #ffd9a866, 0 calc(var(--mm) * 8) calc(var(--mm) * 30) #000a; background: #ffd9a80d; }
.tag-text { align-items: center; justify-content: center; padding-left: calc(var(--mm) * 14); text-align: center; color: #3b2611; pointer-events: none; }
.tag-text .hand { font-size: calc(var(--mm) * 8.4); line-height: .98; font-weight: 700; }

.card-text { flex-direction: column; padding: calc(var(--mm) * 17.5) calc(var(--mm) * 8) 0; color: var(--ink); pointer-events: none; gap: calc(var(--mm) * 1.2); }
.card-date { align-self: flex-end; font: 400 max(9px, calc(var(--mm) * 4.6))/1 var(--mono); color: #8a8a8a; position: absolute; top: calc(var(--mm) * 5); right: calc(var(--mm) * 6); letter-spacing: .04em; text-transform: uppercase; }
.card-text .hand { font-size: max(15px, calc(var(--mm) * 11.5)); line-height: calc(var(--mm) * 12.7); }

.sticky-text { flex-direction: column; padding: calc(var(--mm) * 8) calc(var(--mm) * 7); color: #3a1a08; pointer-events: none; }
.step-n { font: 700 calc(var(--mm) * 5)/1 var(--mono); opacity: .55; margin-bottom: .6em; }
.sticky-text b { font: 750 calc(var(--mm) * 13)/1 var(--display); letter-spacing: -.035em; }
.sticky-text .hand { font-size: max(12.5px, calc(var(--mm) * 9.4)); line-height: 1; margin-top: .3em; }

/* ------------------------------------------------------------------ the tape measure */
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.dot { position: absolute; width: calc(var(--mm) * 7); height: calc(var(--mm) * 7); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: auto; }
.dot::before { content: ''; position: absolute; inset: 30%; border-radius: 50%; transition: transform .2s, box-shadow .2s; }
.dot-shipped::before { background: var(--orange); box-shadow: 0 0 10px #ff5b1fcc; }
.dot-bench::before { background: #1a1a1a; }
.dot-tried::before { background: #7d8a80; inset: 34%; }
.dot:hover::before, .dot.on::before { transform: scale(1.9); box-shadow: 0 0 0 2px #fff8, 0 0 14px #ffd9a8; }
.tip {
  position: absolute; z-index: 6; left: 0; top: 0; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) rotate(-1.5deg);
  max-width: min(78vw, 300px); padding: 10px 13px 11px; background: var(--paper); color: var(--ink); border-radius: 2px;
  box-shadow: 0 10px 30px #000b, 0 1px 0 #fff inset; transition: opacity .18s; text-align: left;
}
.tip.show { opacity: 1; }
.tip b { display: block; font: 700 22px/1 var(--hand); }
.tip span { display: block; margin-top: 6px; font: 400 10.5px/1.2 var(--mono); color: #7a6a58; letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------------------------------------------------ the legal pad is the form */
.bench > .pad-form { z-index: 1; padding: calc(var(--mm) * 40) calc(var(--mm) * 12) calc(var(--mm) * 12) calc(var(--mm) * 38); }
.talk-form { height: 100%; display: flex; flex-direction: column; gap: calc(var(--mm) * 4); color: var(--pencil); }
.talk-form label { display: flex; flex-direction: column; }
.talk-form label > span { font: 700 calc(var(--mm) * 9)/1 var(--hand); color: #b23a2a; }
.talk-form input, .talk-form textarea {
  font: 600 calc(var(--mm) * 12.5)/calc(var(--mm) * 14.2) var(--hand); color: var(--ink); background: transparent; border: 0; padding: 0 .1em; resize: none;
  border-bottom: 1.5px solid #1f2a4459; border-radius: 0; height: calc(var(--mm) * 14.2);
}
.talk-form input::placeholder { color: #1f2a4466; }
.talk-form input:focus, .talk-form textarea:focus { outline: none; background: #fff6b8aa; border-bottom-color: var(--orange); }
.talk-form .msg { flex: 1; }
.talk-form textarea { flex: 1; height: auto; min-height: calc(var(--mm) * 42); border: 0;
  background-image: none; }
.talk-form .hp { position: absolute; left: -9999px; }
.send-row { display: flex; align-items: center; gap: 1em; flex-wrap: wrap; }
.talk-form button {
  font: 700 calc(var(--mm) * 8.5)/1 var(--display); letter-spacing: -.01em; color: #fff; background: var(--orange);
  padding: .8em 1.15em; border-radius: 999px; box-shadow: 0 6px 16px #ff5b1f55; transition: transform .2s, box-shadow .2s;
}
.talk-form button:hover { transform: translateY(-1px) rotate(-1deg); box-shadow: 0 10px 22px #ff5b1f77; }
.talk-form button:disabled { opacity: .6; }
.form-status { margin: 0; font: 600 calc(var(--mm) * 9.5)/1.1 var(--hand); color: var(--ink); }
.pad-form.sent .talk-form { animation: tear .9s cubic-bezier(.5, 0, .7, .3) forwards; }
@keyframes tear { 30% { transform: rotate(-2deg) translateY(-2%); } 100% { transform: rotate(-9deg) translate(8%, -130%); opacity: 0; } }
.thanks { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: calc(var(--mm) * 30); color: var(--ink); font: 700 calc(var(--mm) * 15)/1.05 var(--hand); opacity: 0; transition: opacity .6s .7s; }
.pad-form.sent .thanks { opacity: 1; }

.talk-text .elsewhere { margin-top: 1.1em; display: flex; gap: 1.3em; font: 500 max(13px, calc(var(--mm) * 8.4))/1 var(--mono); }
.talk-text .elsewhere a { color: var(--lamp); text-decoration: none; border-bottom: 1px solid #ffd9a855; padding-bottom: 2px; }
.talk-text .elsewhere a:hover { border-color: var(--lamp); }

/* ------------------------------------------------------------------ phone bench sizes (its own composition) */
.bench-phone .area h2 { font-size: calc(var(--mm) * 25); }
.bench-phone .area p { font-size: calc(var(--mm) * 13); }
.bench-phone .hero-text { justify-content: center; padding-top: 40px; gap: calc(var(--mm) * 9); }
.bench-phone .hero-text h1 { font-size: calc(var(--mm) * 47); }
.bench-phone .hero-text .sub { font-size: calc(var(--mm) * 13.5); }
.bench-phone .now { font-size: calc(var(--mm) * 9.4) !important; }
.bench-phone .numbers { grid-template-columns: repeat(2, auto); gap: calc(var(--mm) * 7) calc(var(--mm) * 18); }
.bench-phone .num b { font-size: calc(var(--mm) * 25); }
.bench-phone .num span { font-size: calc(var(--mm) * 8.4); }
.bench-phone .also { font-size: calc(var(--mm) * 11) !important; }
.bench-phone .device-label b { font-size: calc(var(--mm) * 11); }
.bench-phone .device-label span { font-size: calc(var(--mm) * 8); }
.bench-phone .device-label button { max-width: calc(var(--mm) * 100); }
.bench-phone .caption .hand { font-size: calc(var(--mm) * 11.2); }
.bench-phone .caption .stamp { font-size: calc(var(--mm) * 5.8); }
.bench-phone .tag-text .hand { font-size: calc(var(--mm) * 9.5); }
.bench-phone .card-text .hand { font-size: calc(var(--mm) * 14); line-height: calc(var(--mm) * 12.7); }
.bench-phone .card-date { font-size: calc(var(--mm) * 6.2); }
.bench-phone .sticky-text b { font-size: calc(var(--mm) * 13.5); }
.bench-phone .sticky-text .hand { font-size: calc(var(--mm) * 11.5); }
.bench-phone .step-n { font-size: calc(var(--mm) * 6.5); }
.bench-phone .dot { width: calc(var(--mm) * 9); height: calc(var(--mm) * 9); }
.bench-phone .talk-form label > span { font-size: calc(var(--mm) * 11.5); }
.bench-phone .talk-form input, .bench-phone .talk-form textarea { font-size: max(16px, calc(var(--mm) * 14)); }
.bench-phone .talk-form button { font-size: calc(var(--mm) * 11.5); }
.bench-phone .form-status { font-size: calc(var(--mm) * 12); }
.bench-phone .pad-form { padding: calc(var(--mm) * 40) calc(var(--mm) * 14) calc(var(--mm) * 14) calc(var(--mm) * 38); }
.bench-phone .talk-text .elsewhere { font-size: calc(var(--mm) * 11); }

/* ------------------------------------------------------------------ the paper sheets (details) */
.sheet {
  width: min(92vw, 520px); max-height: 86vh; overflow: auto; padding: 34px 34px 30px; border: 0; border-radius: 3px;
  background: var(--paper) linear-gradient(#0000 0 calc(100% - 1px), #0000) ; color: #1c1c1c;
  box-shadow: 0 30px 80px #000c, 0 2px 0 #fff inset; transform: rotate(-1deg);
}
.sheet::backdrop { background: #070403cc; backdrop-filter: blur(3px); }
.sheet[open] { animation: lay .45s cubic-bezier(.2, .8, .2, 1.05); }
@keyframes lay { from { opacity: 0; transform: translateY(24px) rotate(3deg) scale(.96); } }
.sheet-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; font-size: 26px; color: #6b5a48; border-radius: 50%; }
.sheet-close:hover { background: #0000000d; }
.sheet-kind { margin: 0; font: 700 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a2481f; }
.sheet h3 { margin: 10px 0 10px; font: 800 40px/1 var(--display); letter-spacing: -.045em; }
.sheet h3.hand { font: 700 38px/1.02 var(--hand); letter-spacing: 0; color: var(--ink); }
.sheet-line { margin: 0 0 16px; font-size: 17px; line-height: 1.5; color: #3a3530; }
.sheet ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.sheet li { position: relative; padding-left: 22px; font-weight: 600; }
.sheet li::before { content: ''; position: absolute; left: 0; top: .55em; width: 12px; height: 3px; border-radius: 2px; background: var(--orange); transform: rotate(-35deg); }
.sheet blockquote { margin: 0 0 18px; padding: 14px 16px; background: #fff8d6; transform: rotate(.6deg); box-shadow: 0 3px 10px #0002; }
.sheet blockquote p { margin: 0; font: 600 23px/1.15 var(--hand); color: var(--ink); }
.sheet cite { display: block; margin-top: 6px; font: 400 11px/1.2 var(--mono); font-style: normal; color: #7a6a58; letter-spacing: .04em; text-transform: uppercase; }
.sheet-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.sheet-links a { text-decoration: none; font-weight: 650; padding: 9px 14px; border-radius: 999px; background: #1c1c1c; color: var(--paper); }
.sheet-links a:first-child { background: var(--orange); color: #fff; }
.sheet-links a:hover { filter: brightness(1.12); }
.sheet-more { margin: 14px 0 0; font: 400 12px/1.4 var(--mono); color: #7a6a58; }
.sheet-print figure { margin: -10px -10px 18px; background: #e9e4d8; padding: 10px; }
.sheet-print img { display: block; width: 100%; height: auto; max-height: 52vh; object-fit: contain; }

/* ------------------------------------------------------------------ footer: the bench's edge */
.foot { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
  padding: 28px clamp(16px, 3vw, 40px) calc(28px + env(safe-area-inset-bottom)); background: #0c0806; border-top: 1px solid #ffffff10;
  font: 400 12px/1.5 var(--mono); color: #8c7b66; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .night, .night .pool::before, .lamp-follow .night .pool { transition: none; }
  .live { animation: none; }
  .sheet[open], .pad-form.sent .talk-form { animation: none; }
  .hero-text h1 em::after { transition: none; }
}

/* ------------------------------------------------------------------ pencil marks on the wood around the tape */
.tape-note { position: absolute; transform: translate(-50%, -100%); width: 0; height: 0; overflow: visible; }
.tape-note span { position: absolute; left: 0; bottom: 0; width: 1px; background: linear-gradient(#f4ead900, #f4ead9aa); height: calc(var(--mm) * var(--lift)); }
.tape-note b { position: absolute; left: 0; bottom: calc(var(--mm) * var(--lift)); transform: translate(-12%, -2px) rotate(-3deg); white-space: nowrap;
  font: 700 max(14px, calc(var(--mm) * 11))/1 var(--hand); color: var(--chalk); text-shadow: 0 1px 2px #000c; }
.tape-note i { position: absolute; left: 0; bottom: calc(var(--mm) * var(--lift)); transform: translate(-12%, calc(-100% - var(--mm) * 9)); white-space: nowrap;
  font: 400 max(10px, calc(var(--mm) * 5.4))/1 var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.tape-note.shipped b::before { content: ''; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--orange); margin-right: .3em; vertical-align: .12em; box-shadow: 0 0 8px #ff5b1f; }
.today { position: absolute; transform: translate(-50%, 0); width: 0; height: 0; overflow: visible; }
.today span { position: absolute; left: -1px; top: 0; width: 2px; height: calc(var(--mm) * var(--th)); background: #2b2420; border-radius: 1px; box-shadow: 0 0 0 1px #f4ead922; }
.today b { position: absolute; left: 0; top: calc(var(--mm) * var(--th) + var(--mm) * 3); transform: translateX(-50%) rotate(-4deg); white-space: nowrap; font: 700 max(14px, calc(var(--mm) * 11))/1 var(--hand); color: var(--lamp); }
.bench-phone .tape-note b, .bench-phone .today b { font-size: calc(var(--mm) * 12.5); }
.bench-phone .tape-note i { font-size: calc(var(--mm) * 6.4); }
/* The year's words grow upward, away from the tape and its pencil marks. */
.year-text { display: flex; flex-direction: column; justify-content: flex-end; }
.bench-phone .tape-note i { display: none; } /* no room for dates on a phone; the dot's note has them */
.legend { display: flex; flex-wrap: wrap; gap: 0 1.1em; margin-top: .2em; }
.legend > span { white-space: nowrap; }
.legend .k { margin-left: 0; }

/* Tablets in portrait get the phone bench, at most 620 px wide, its edges fading into the night. */
@media (min-width: 621px) and (max-width: 900px) {
  .bench-phone { max-width: 620px; margin: 0 auto; }
  .bench-phone::before, .bench-phone::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
  .bench-phone::before { left: 0; background: linear-gradient(90deg, #0c0806, #0c0806cc 30%, #0c080600); }
  .bench-phone::after { right: 0; background: linear-gradient(-90deg, #0c0806, #0c0806cc 30%, #0c080600); }
  body { background: #0c0806; }
}
/* Section headings sit right above what they introduce, not floating at the top of their space. */
.section-text:not(.talk-text) { display: flex; flex-direction: column; justify-content: flex-end; }
.talk-text { display: flex; flex-direction: column; justify-content: center; }
/* Below ~1200 px the print's status stamp is too small to read; the sheet that opens still shows it. */
@media (min-width: 901px) and (max-width: 1199px) { .caption .stamp { display: none; } }
