/* Lapo to Landlord · Live Printer
   The page is the print room: warm paper table, one dark printer that prints
   each flyer straight into its place in the end layout. */

@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "New Rocker"; src: url("assets/fonts/NewRocker-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Anton"; src: url("assets/fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/Unbounded-VF.ttf") format("truetype"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("assets/fonts/JetBrainsMono-Variable.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --lilac-950: #201231;
  --lilac-700: #64418A;
  --lilac-300: #CEA4F5;
  --lilac-200: #E1BFFF;
  --cream: #FFF4EA;
  --gold: #FBCC4E;

  --table: #EFE4D6;          /* the print-room table */
  --sheet: #FFFBF6;          /* paper stock */
  --ink: var(--lilac-950);
  --ink-soft: rgba(32, 18, 49, .62);

  --display: "Anton", Impact, sans-serif;
  --sans: "Unbounded", system-ui, sans-serif;
  --inter: "Inter", "Inter Display", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --kente-h: 40px;
  --pw: 680px;                 /* printer drawn at 680 wide; scaled with transforms */
  --ph: calc(var(--pw) * .36);
}
@media (max-width: 600px) { :root { --kente-h: 28px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--table); }
body { margin: 0; color: var(--ink); background: var(--table); font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: clip; }
body::after { /* fine paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50;
  background: url("assets/grain.png"); opacity: .3;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lilac-700); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--cream); padding: 10px 14px; font: 600 13px var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }

/* ============ STAGE ============ */
.stage { position: relative; padding: 0 16px; }

/* Ghana kente band across the very top, crisp tile + thin ink rule */
.kente {
  height: calc(var(--kente-h) + 2px); margin: 0 -16px;
  background: url("assets/kente-tile.png") 0 -24px / 180px 180px repeat-x;
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 600px) { .kente { background-size: 140px 140px; background-position: 0 -18px; } }

.mast {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 8px 0; font: 500 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-soft);
  position: relative; z-index: 3;
}
.mast i { font-style: normal; color: var(--lilac-700); }

.hero-copy { text-align: center; padding: clamp(40px, 8svh, 88px) 0 0; position: relative; z-index: 3; }
.hero-copy h1 {
  margin: 0; font-family: var(--inter); font-weight: 650; letter-spacing: -.035em;
  font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; color: var(--ink);
}
.flourish {
  font-family: "New Rocker", var(--inter); font-weight: 400; letter-spacing: 0;
  font-size: 1.2em; line-height: .9; color: var(--lilac-700);
}
.hero-copy p { margin: 16px 0 0; font-size: clamp(12px, 1.1vw, 14px); font-weight: 500; color: var(--ink-soft); }

.hint { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--ink-soft); margin: 0; display: none; }
.hint span { display: inline-block; margin-left: 6px; }

/* ----- The printer ----- */
.rig { position: relative; width: var(--pw); max-width: 100%; margin: calc(var(--ph) * .2 + 40px) auto 0; }
.printer { position: relative; width: var(--pw); height: var(--ph); z-index: 2; }
html:not(.motion) .rig { width: min(var(--pw), 100%); }
html:not(.motion) .printer { transform-origin: 0 0; }

.p-stack { position: absolute; left: 20%; right: 20%; bottom: 72%; height: 34%; }
.p-stack i { position: absolute; inset: 0; background: var(--sheet); box-shadow: 0 0 0 1px rgba(32,18,49,.08); }
.p-stack i:nth-child(1) { transform: rotate(-1.6deg) translateY(4%); }
.p-stack i:nth-child(2) { transform: rotate(1deg) translateY(2%); }

.p-lid { position: absolute; left: 3%; right: 3%; top: 0; height: 26%; background: linear-gradient(#3a2554, #2a1840 70%); border-radius: 14px 14px 0 0; box-shadow: inset 0 1px 0 rgba(225,191,255,.25); }
.p-body {
  position: absolute; left: 0; right: 0; top: 22%; bottom: 4%;
  background: linear-gradient(180deg, rgba(225,191,255,.10), transparent 18%), linear-gradient(180deg, #2a1840 0%, var(--lilac-950) 55%, #170c25 100%);
  border-radius: 10px 10px 16px 16px;
  box-shadow: inset 0 1px 0 rgba(225,191,255,.28), inset 0 -6px 14px rgba(0,0,0,.35), 0 28px 40px -18px rgba(32,18,49,.55), 0 6px 10px -4px rgba(32,18,49,.35);
}
.p-vents { position: absolute; left: 5%; top: 14%; width: 18%; height: 22%; background: repeating-linear-gradient(90deg, rgba(0,0,0,.55) 0 3px, rgba(225,191,255,.07) 3px 7px); border-radius: 3px; }
.p-plate { position: absolute; left: 5%; top: 44%; font: 600 10px/1 var(--mono); letter-spacing: .14em; color: rgba(225,191,255,.42); }
.p-plate b { color: var(--gold); font-weight: 700; opacity: .8; margin-left: .6em; }
.p-panel {
  position: absolute; right: 4%; top: 9%; width: 60%; height: 34%;
  display: flex; align-items: center; gap: 2.5%; padding: 0 2.5%; border-radius: 8px;
  background: #160b22; box-shadow: inset 0 1px 3px rgba(0,0,0,.6), 0 1px 0 rgba(225,191,255,.12);
}
.led { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(251,204,78,.18), 0 0 12px rgba(251,204,78,.75); }
.stage.is-printing .led { animation: blink .5s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.lcd {
  flex: 1; height: 66%; overflow: hidden; display: flex; align-items: center; padding: 0 3.5%; border-radius: 3px;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), linear-gradient(#2f2048, #251838);
  box-shadow: inset 0 0 0 1px rgba(206,164,245,.18), inset 0 0 14px rgba(206,164,245,.18);
}
.lcd-text { font: 600 15px/1 var(--mono); letter-spacing: .04em; white-space: nowrap; color: var(--lilac-200); text-shadow: 0 0 6px rgba(225,191,255,.6); }
.p-btn { flex: none; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #4a3266, #22142f); box-shadow: 0 1px 0 rgba(225,191,255,.18), 0 2px 3px rgba(0,0,0,.5); }
.p-slot {
  position: absolute; left: 6%; right: 6%; top: 54%; height: 9%;
  background: #07030c; border-radius: 4px; overflow: hidden;
  box-shadow: inset 0 3px 6px rgba(0,0,0,.9), 0 1px 0 rgba(225,191,255,.16), 0 -1px 0 rgba(0,0,0,.5);
}
.p-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--lilac-200), transparent); opacity: 0; transition: opacity .2s; }
.stage.is-printing .p-glow { opacity: .9; }
.p-lip { position: absolute; left: 4%; right: 4%; top: 66%; height: 8%; background: linear-gradient(#3a2554, #24153a); border-radius: 2px 2px 8px 8px; box-shadow: inset 0 1px 0 rgba(225,191,255,.25), 0 6px 10px -6px rgba(0,0,0,.6); }
.p-feet { position: absolute; left: 8%; right: 8%; bottom: 0; height: 5%; display: flex; justify-content: space-between; }
.p-feet i { width: 10%; background: #120a1c; border-radius: 0 0 4px 4px; }

/* static printer on phones: draw it to the column width */
@media (max-width: 720px) {
  html:not(.motion) { --pw: calc(100vw - 32px); }
  html:not(.motion) .lcd-text { font-size: 9px; }
  html:not(.motion) .p-btn, html:not(.motion) .p-plate { display: none; }
  html:not(.motion) .led { width: 7px; height: 7px; }
}

/* ============ END LAYOUT (also the print targets) ============
   ?end=a drying line (default) · ?end=b proof table. Sheets equal size, never overlapping. */
.table { position: relative; max-width: 1320px; margin: 0 auto; padding: clamp(64px, 10vh, 120px) 24px clamp(56px, 8vh, 96px); }
.line { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 56px); }
/* 3 across from 900px; below that one per row, capped so a sheet never outgrows a phone-sized column (16 Nov: 2+1 broke the print run) */
@media (max-width: 899px) { .table { padding-left: 16px; padding-right: 16px; } .line { grid-template-columns: minmax(0, 420px); justify-content: center; gap: 56px; } }

.pin { position: relative; min-width: 0; }
.psheet { position: relative; display: block; text-decoration: none; color: var(--ink); transform-origin: 50% 0; }
.psheet:focus-visible { outline: 2px solid var(--lilac-700); outline-offset: 6px; }
.proof { position: relative; display: block; background: var(--sheet); padding: 3.5%; box-shadow: 0 1px 0 rgba(32,18,49,.06), 0 22px 32px -20px rgba(32,18,49,.55), 0 2px 4px rgba(32,18,49,.12); }
.art { position: relative; display: block; }
.ink-wrap { position: relative; display: block; overflow: hidden; }
.ink, .ink img { display: block; width: 100%; height: auto; }

/* print head + ink-dry sheen (motion run only) */
.head { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.head::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #fff; box-shadow: 0 0 8px 2px rgba(225,191,255,.95), 0 0 22px 6px rgba(206,164,245,.55); }
.head i { position: absolute; top: -5px; left: 0; width: 12%; height: 10px; background: radial-gradient(closest-side, #fff, rgba(225,191,255,.8) 45%, transparent); animation: carriage .42s linear infinite alternate; animation-play-state: paused; }
.stage.is-printing ~ * .head i, .is-printing .head i { animation-play-state: running; }
@keyframes carriage { to { transform: translateX(733%); } }
.sheen { position: absolute; top: -10%; bottom: -10%; left: 0; width: 45%; pointer-events: none; opacity: 0; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55) 50%, transparent); transform: translateX(-120%) skewX(-12deg); }

/* crop marks (proof table only) */
.crop { display: none; position: absolute; width: 0; height: 0; --L: 12px; --g: 4px; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: var(--L); height: 1px; top: 0; }
.crop::after { width: 1px; height: var(--L); left: 0; }
.c-tl { left: 0; top: 0; }       .c-tl::before { right: var(--g); } .c-tl::after { bottom: var(--g); }
.c-tr { left: 100%; top: 0; }    .c-tr::before { left: var(--g); }  .c-tr::after { bottom: var(--g); }
.c-bl { left: 0; top: 100%; }    .c-bl::before { right: var(--g); } .c-bl::after { top: var(--g); }
.c-br { left: 100%; top: 100%; } .c-br::before { left: var(--g); }  .c-br::after { top: var(--g); }
.mini-stamp { display: none; }

.cap { display: block; margin-top: 14px; text-align: center; }
.cap-l { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-soft); }
.cap-l b { font-weight: 700; color: var(--ink); letter-spacing: .02em; margin: 0 .3em; }
.idea { display: block; margin: 4px auto 0; max-width: 34ch; font-size: 12px; line-height: 1.45; font-weight: 500; color: var(--ink-soft); }
.psheet:hover .cap-l b { text-decoration: underline; text-underline-offset: 3px; }

/* queued slots in the motion run: blank stock waiting for its job */
.ghost { display: none; }
html.motion .ghost {
  display: flex; align-items: center; justify-content: center; position: absolute; left: 0; right: 0; top: 0;
  aspect-ratio: 1 / 1.2325; border: 1.5px dashed rgba(32,18,49,.32); background: rgba(255,251,246,.62);
  font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--ink-soft);
}
html.motion[data-end="b"] .ghost { aspect-ratio: 1 / 1.205; }

/* A · drying line: taut wire, one bulldog clip per sheet */
html[data-end="a"] .line { padding-top: 40px; }
html[data-end="a"] .line::before, html[data-end="a"] .pin::before {
  content: ""; position: absolute; top: 16px; left: -60vw; right: -60vw; height: 2px;
  background: linear-gradient(rgba(32,18,49,.75), rgba(32,18,49,.45)); box-shadow: 0 3px 4px rgba(32,18,49,.12);
}
html[data-end="a"] .pin::before { display: none; }
.clip { display: none; }
html[data-end="a"] .clip {
  display: block; position: absolute; z-index: 2; left: 50%; top: -18px; width: 34px; height: 30px; margin-left: -17px;
  background: linear-gradient(#3d2858, var(--lilac-950)); border-radius: 3px 3px 2px 2px;
}
html[data-end="a"] .clip::before { content: ""; position: absolute; left: 50%; top: -12px; width: 22px; height: 16px; margin-left: -11px; border: 2px solid #9c8cad; border-bottom: 0; border-radius: 10px 10px 0 0; }
html[data-end="a"] .clip::after { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 3px; border-radius: 2px; background: rgba(225,191,255,.28); }
@media (max-width: 899px) {
  html[data-end="a"] .line::before { display: none; }
  html[data-end="a"] .pin::before { display: block; top: -24px; }
  html[data-end="a"] .line { padding-top: 24px; }
}

/* B · proof table: flat, straight, crop marks + stamp, on a cutting-mat grid */
html[data-end="b"] .line { padding: clamp(16px, 3vw, 40px); }
html[data-end="b"] .line::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(32,18,49,.07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(32,18,49,.07) 1px, transparent 1px) 0 0 / 24px 24px, rgba(255,251,246,.35);
  box-shadow: inset 0 0 0 1px rgba(32,18,49,.18);
}
.line::before { opacity: var(--deco, 1); }
html[data-end="b"] .proof { padding: 9%; box-shadow: 0 1px 0 rgba(32,18,49,.06), 0 3px 6px rgba(32,18,49,.10); }
html[data-end="b"] .crop { display: block; }
html[data-end="b"] .mini-stamp {
  display: inline-block; position: absolute; left: 50%; bottom: 1.8%; white-space: nowrap;
  padding: 3px 6px 2px; font: 800 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--lilac-700); border: 1.5px solid var(--lilac-700); border-radius: 2px; transform: translateX(-50%) rotate(-4deg);
}
html[data-end="b"] .cap, html[data-end="b"] .idea { text-align: left; margin-left: 0; }
html[data-end="b"] .psheet:hover .proof { box-shadow: 0 1px 0 rgba(32,18,49,.06), 0 10px 18px -8px rgba(32,18,49,.3); }

/* under the row: the headline, then the queue + download all */
.after { margin: clamp(48px, 7vh, 72px) auto 0; max-width: 880px; }
.end-head { text-align: center; margin-bottom: 28px; }
.end-head h2 { margin: 0; font: 400 clamp(40px, 5vw, 68px)/1 var(--display); }
.lede { margin: 12px auto 0; font-size: 14px; font-weight: 500; color: var(--ink-soft); max-width: 40ch; }
.desk { display: grid; gap: 16px; }
@media (min-width: 900px) { .desk { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 24px; } }

.log { font-family: var(--mono); font-size: 13px; line-height: 1.5; background: var(--sheet); padding: 16px 18px 14px; box-shadow: 0 0 0 1px rgba(32,18,49,.1), 0 12px 20px -16px rgba(32,18,49,.45); }
.log-h, .log-f { margin: 0; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.log ol { list-style: none; margin: 10px 0; padding: 10px 0; border-block: 1px dashed rgba(32,18,49,.3); }
.log li { display: grid; grid-template-columns: 4.6em 1fr auto auto; gap: 12px; align-items: baseline; padding: 4px 0; }
.log li > span:first-child { color: var(--lilac-700); font-weight: 700; }
.log .ok { color: var(--ink-soft); }
.log .ok::before { content: "✓ "; color: var(--lilac-700); }
.log a { font-weight: 700; text-decoration: none; padding: 4px 8px; margin: -4px -8px -4px 0; border-radius: 2px; }
.log a:hover { background: var(--lilac-950); color: var(--cream); }

.all { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; background: var(--lilac-950); color: var(--cream); box-shadow: 0 14px 22px -14px rgba(32,18,49,.7); transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .2s; }
.all span { font: 400 24px/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.all small { font: 500 11px/1.3 var(--mono); letter-spacing: .04em; color: var(--lilac-200); text-align: right; }
.all:hover { background: var(--lilac-700); }
.all:active { transform: translateY(1px); }
.all:focus-visible { outline-offset: 4px; }

/* ============ FOOTER ============ */
.foot { padding: 40px 24px 32px; border-top: 1px solid rgba(32,18,49,.14); display: grid; gap: 24px; justify-items: center; text-align: center; }
.foot-logos { display: flex; align-items: center; gap: 18px; color: var(--ink-soft); font: 500 14px/1 var(--mono); }
.foot-logos img:first-child { height: 26px; width: auto; }
.foot-logos img:last-child { height: 19px; width: auto; }
.foot-text { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font: 500 11px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-soft); }
@media (max-width: 600px) { .foot-logos img:first-child { height: 22px; } .foot-logos img:last-child { height: 16px; } .foot-text { flex-direction: column; } }

/* ============ MOTION LAYOUT: one pinned run ============ */
html.motion .stage { height: 100vh; height: 100svh; overflow: hidden; padding: 0; z-index: 2; }
html.motion .kente { position: absolute; left: 0; right: 0; top: 0; margin: 0; z-index: 4; }
html.motion .mast { position: absolute; left: 16px; right: 16px; top: calc(var(--kente-h) + 2px); }
html.motion .hero-copy { position: absolute; left: 16px; right: 16px; top: 0; padding: 0; }
html.motion .rig { position: absolute; left: 0; top: 0; margin: 0; width: var(--pw); max-width: none; z-index: 5; }
html.motion .hint { display: block; position: absolute; left: 0; right: 0; bottom: 22px; }
/* the end layout lives inside the pinned stage as a track (moved there by app.js) */
html.motion .stage > .table { position: absolute; left: 0; right: 0; top: 0; z-index: 3; }

@media (max-width: 520px) {
  .mast span:last-child { display: none; }
  .log li { grid-template-columns: 4.2em 1fr auto; }
  .log .ok { display: none; }
  .all span { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .all { transition: none; } }

/* ============ sheet → viewer ============ */
.open { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: zoom-in; position: relative; }
.open:focus-visible { outline: 2px solid var(--lilac-700); outline-offset: 6px; }
.psheet:focus-visible { outline: none; }
.cap .dl { text-decoration: none; color: var(--ink); font-weight: 700; padding: 2px 4px; margin: -2px -4px; border-radius: 2px; }
.cap .dl:hover { background: var(--lilac-950); color: var(--cream); }
.open:hover + .cap .cap-l b { text-decoration: underline; text-underline-offset: 3px; }
html:not(.motion) .table { overflow-x: clip; }

.viewer {
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(32, 18, 49, .94); color: var(--cream); padding: 12px 16px 16px;
  touch-action: pan-y;
}
.viewer[hidden] { display: none; }
.v-bar { display: flex; justify-content: space-between; align-items: center; }
.v-count { font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--lilac-200); }
.v-fig { margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.v-img { width: auto; height: auto; max-width: min(100%, 1080px); max-height: calc(100svh - 190px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform-origin: 0 0; }
.v-fig figcaption { text-align: center; font: 500 12px/1.5 var(--mono); letter-spacing: .04em; max-width: 60ch; }
.v-label { display: block; color: var(--cream); font-weight: 700; letter-spacing: .1em; }
.v-idea { display: block; color: var(--lilac-200); }
.v-nav { display: flex; justify-content: center; align-items: center; gap: 16px; padding-top: 12px; }
.v-btn {
  width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(225,191,255,.35); border-radius: 50%;
  background: rgba(255,244,234,.06); color: var(--cream); font: 500 20px/1 var(--mono); cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.v-btn:hover { background: rgba(255,244,234,.14); border-color: var(--lilac-200); }
.v-close { font-size: 16px; }
.v-dl { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; background: var(--cream); color: var(--ink); text-decoration: none; font: 400 20px/1 var(--display); letter-spacing: .03em; }
.v-dl:hover { background: var(--lilac-200); }
.viewer :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (min-width: 900px) {
  .v-prev, .v-next { position: fixed; top: 50%; margin-top: -24px; }
  .v-prev { left: 28px; } .v-next { right: 28px; }
}
html.v-open, html.v-open body { overflow: hidden; }

/* ============ PRINT button + hero peek (16 Nov, finished by hand) ============ */
.p-print {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 66%; padding: 0 12px;
  border: 0; border-radius: 4px; cursor: pointer;
  font: 700 12px/1 var(--mono); letter-spacing: .14em; color: var(--lilac-950, #201231);
  background: linear-gradient(#fbd56a, #f2bd34); box-shadow: 0 2px 0 #b8860b, 0 3px 6px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .12s ease, box-shadow .12s ease;
}
.p-print .ring { width: 7px; height: 7px; border-radius: 50%; background: #201231; box-shadow: 0 0 0 2px rgba(32,18,49,.25); }
.p-print:hover { filter: brightness(1.05); }
.p-print:active { transform: translateY(2px); box-shadow: 0 0 0 #b8860b, 0 1px 3px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5); }
.p-print:focus-visible { outline: 2px solid var(--gold, #FBCC4E); outline-offset: 3px; }
@media (max-width: 600px) { .p-print { padding: 0 8px; font-size: 9px; letter-spacing: .08em; gap: 4px; } }

/* the static "peek" only belongs to the no-motion layout: the motion run prints job 1 itself */
html.motion .p-peek { display: none; }
.p-peek { position: relative; width: 78%; margin: calc(var(--ph) * -0.35) auto 0; height: calc(var(--pw) * .78 * 1.25 * .24); overflow: hidden; z-index: 1;
  box-shadow: 0 10px 24px rgba(32,18,49,.18); }
.p-peek img { display: block; width: 100%; height: auto; }
html.motion .table:not(.live) .line { pointer-events: none; }
