/* Meme Processing Unit. One world: a Y2K wallpaper hill, a giant GPU, a thermal printer. */
:root {
  --sky-1: #2d4be8; --sky-2: #3b7bff; --grass: #3fa42b; --grass-d: #1f6e16; --grass-dd: #175a10;
  --paper: #fbfbf7; --ink: #3a3a3a; --fan: #2d6bff; --heat: #ff3b30; --alu: #c9ced6;
  --w98: #c3c3c3; --w98-hi: #ffffff; --w98-lo: #808080; --w98-dk: #3a3a3a; --w98-blue: #1636a8;
  --display: "Doto", system-ui, sans-serif; --text: "Manrope", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1440px; --edge: 48px; --sky-top: #1844fc;
  --side: max(var(--edge), calc((100% - var(--wrap)) / 2));
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 18px/1.55 var(--text); color: #fff; background: var(--grass-d); font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 800; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: normal; letter-spacing: -0.01em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px 18px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--fan); }

/* ---- nav: four plain words on the sky ---- */
.nav { position: absolute; z-index: 20; top: 20px; left: calc(var(--side) - 18px); display: flex; gap: 8px; }
.nav a { font: 700 18px/1 var(--text); text-decoration: none; padding: 14px 18px; border-radius: 10px; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 40, .35); }
.nav a:hover { background: rgba(255, 255, 255, .18); box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .6); }
.nav a:focus-visible { background: rgba(255, 255, 255, .22); outline: 3px solid #fff; outline-offset: 2px; box-shadow: none; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .2); box-shadow: inset 0 -3px 0 #fff; }

/* ---- the hero: the stage covers the window, anchored bottom right ---- */
.hero { position: relative; height: 100svh; min-height: 600px; max-height: 1200px; overflow: hidden; background: var(--sky-top); /* the art's own top row: the sky goes on above it */ }
.stage { position: absolute; right: 0; bottom: 0; width: 100%; aspect-ratio: 16 / 9; }
.stage-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* positions in % of the 16:9 art, measured off its pixels (tools/measure.mjs) */
.fan { position: absolute; width: var(--fan-d); aspect-ratio: 1; left: var(--x); top: var(--y); transform: translate(-50%, -50%); --fan-d: 16.1%; }
.fan img { width: 100%; height: 100%; will-change: transform; }
.f1 { --x: 52.93%; --y: 44.45%; } .f2 { --x: 71.53%; --y: 44.3%; } .f3 { --x: 90.13%; --y: 44.5%; }
.is-running .fan img { filter: drop-shadow(0 0 0.6vw rgba(255, 59, 48, .45)); }
.feed { position: absolute; left: 45.19%; bottom: calc(100% - 72.2%); width: 9.6%; transform: translateX(-50%); display: flex; flex-direction: column; justify-content: flex-end; max-height: 48%; z-index: 3; }
.feed::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -6px; height: 10px; border-radius: 3px; background: linear-gradient(180deg, #3a3a3a, #8d8d8d); box-shadow: 0 2px 2px rgba(0, 0, 0, .3); }

/* ---- the copy on the calm sky ---- */
.copy { position: relative; z-index: 10; width: min(560px, calc(40.4vw - 24px - var(--side))); margin-left: var(--side); padding-top: clamp(76px, 10svh, 120px); }
.name { position: relative; margin: 0; font: 900 clamp(56px, 4.4vw, 84px)/0.95 var(--display); letter-spacing: -0.02em; color: #fff; text-shadow: 1px 0 0 #ff2bd6, -1px 0 0 #00e5ff; -webkit-font-smoothing: none; font-smooth: never; }
.say { margin-top: 16px; padding: 20px 32px 20px; border-radius: 16px; background: rgba(12, 24, 96, .62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 10px 26px rgba(0, 10, 60, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.headline { margin: 0; font: 800 clamp(24px, 2.05vw, 32px)/1.2 var(--text); letter-spacing: -0.01em; text-shadow: 0 1px 0 rgba(0, 0, 40, .3); }
.headline em { font-style: normal; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: #ffd23f; }
.lede { margin: 10px 0 0; max-width: 34em; font-size: 18px; }
.actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 1.3em; border-radius: 14px; font: 800 19px/1 var(--text); text-decoration: none; cursor: pointer; border: 0; transition: transform .12s ease-out, box-shadow .12s ease-out; }
.btn.primary { background: #fff; color: #10206b; box-shadow: 0 5px 0 #0f2a9c, 0 10px 24px rgba(0, 10, 80, .25); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 6px 0 #0f2a9c, 0 12px 26px rgba(0, 10, 80, .3); }
.btn.primary:active { transform: translateY(4px); box-shadow: 0 1px 0 #0f2a9c; }
.btn.ghost { color: #fff; background: #12227a; box-shadow: inset 0 0 0 2px #fff, 0 5px 0 #0a1450; }
.btn.ghost:hover { background: #1a2f99; transform: translateY(-1px); }
.btn.ghost:active { transform: translateY(4px); box-shadow: inset 0 0 0 2px #fff, 0 1px 0 #0a1450; }
.btn.small { min-height: 48px; font-size: 17px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- Win98 parts: the contract plate and the job dialog ---- */
.bevel { background: var(--w98); box-shadow: inset -2px -2px 0 var(--w98-dk), inset 2px 2px 0 var(--w98-hi), inset -4px -4px 0 var(--w98-lo); }
.plate98 { margin-top: 16px; padding: 16px 18px 18px; color: #111; background: #fff; border-radius: 16px; box-shadow: 0 5px 0 #0f2a9c, 0 12px 28px rgba(0, 10, 60, .25); max-width: 560px; }
.plate-title { font: 800 16px/1 var(--text); color: #10206b; margin-bottom: 12px; }
.plate-row { display: flex; gap: 10px; }
.ca-field { flex: 1; min-width: 0; min-height: 48px; display: flex; align-items: center; padding: 10px 16px; border-radius: 10px; background: #eef2ff; color: #111; font-size: 16px; box-shadow: inset 0 0 0 2px #c9d3f5; overflow: hidden; }
.ca-field .mono { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: all; }
.ca-field.is-empty { color: #3d4670; }
.btn98 { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 800 16px/1 var(--text); color: #10206b; text-decoration: none; background: #fff; border: 0; cursor: pointer; box-shadow: inset 0 0 0 2px #10206b, 0 3px 0 #10206b; transition: transform .12s ease-out, box-shadow .12s ease-out, background .12s; }
.btn98:hover:not([disabled]):not(.is-off) { background: #eef2ff; transform: translateY(-1px); }
.btn98:active:not([disabled]):not(.is-off) { transform: translateY(3px); box-shadow: inset 0 0 0 2px #10206b, 0 0 0 #10206b; }
.btn98.copy-btn { color: #fff; background: var(--w98-blue); box-shadow: 0 3px 0 #0a1450; }
.btn98.copy-btn:hover:not([disabled]) { background: #1d45cc; }
.btn98.copy-btn:active:not([disabled]) { box-shadow: 0 0 0 #0a1450; }
.btn98.copy-btn[disabled] { color: #10206b; background: #dfe5fb; box-shadow: inset 0 0 0 2px #9aa8dc; cursor: not-allowed; }
.btn98.is-off { color: #3d4670; background: #f2f4fb; box-shadow: inset 0 0 0 2px #c9d3f5; cursor: not-allowed; }
.btn98.is-off img { filter: grayscale(1); opacity: .6; }
.btn98 img { width: 20px; height: 20px; object-fit: contain; }
.plate-links { display: flex; gap: 10px; margin-top: 10px; }
.plate-links .btn98 { flex: 1 1 auto; padding: 0 16px; gap: 8px; }
.plate-note { margin: 10px 0 0; font-size: 16px; color: #3d4670; }

.dialog98 { position: absolute; z-index: 12; right: var(--side); bottom: 24px; width: min(360px, 27vw); color: #111; background: var(--w98); box-shadow: inset -2px -2px 0 var(--w98-dk), inset 2px 2px 0 var(--w98-hi), inset -4px -4px 0 var(--w98-lo), 0 14px 30px rgba(0, 10, 60, .28); padding: 4px; }
.d-title { display: flex; align-items: center; padding: 12px 16px; color: #fff; font: 800 16px/1 var(--text); background: linear-gradient(90deg, #0b2393, #3b6cf0); }
.d-x { display: inline-grid; place-items: center; width: 26px; height: 24px; color: #111; font: 800 16px/1 var(--text); background: var(--w98); box-shadow: inset -1px -1px 0 var(--w98-dk), inset 1px 1px 0 var(--w98-hi); }
.d-body { padding: 12px 16px 14px; }
.d-body p { margin: 0 0 10px; font-size: 16px; line-height: 1.35; }
.d-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font: 700 16px/1.2 var(--text); }
.d-bar { height: 26px; padding: 3px; background: #e4e4e4; box-shadow: inset 2px 2px 0 var(--w98-lo), inset -2px -2px 0 var(--w98-hi); }
.d-bar i { display: block; height: 100%; width: max(14px, calc(var(--p, 0) * 100%)); background: repeating-linear-gradient(90deg, #1636a8 0 14px, transparent 14px 17px); transition: width .8s ease-out; }
.d-bar i.is-busy { width: 100%; background: repeating-linear-gradient(90deg, #1636a8 0 14px, transparent 14px 17px) 0 0 / 68px 100%; animation: busy 1.2s steps(4) infinite; }
@keyframes busy { to { background-position: 68px 0; } }

/* ---- the thermal receipt ---- */
.receipt { position: relative; color: var(--ink); background: var(--paper); padding: 20px 18px 30px; font-size: 16px; line-height: 1.35; box-shadow: 0 10px 24px rgba(0, 20, 0, .22); }
.receipt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .018) 0 2px, transparent 2px 4px); }
.r-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; }
.sep { display: block; height: 0; border-top: 1px dotted #c4c4bd; }
.sep.dash { border-top: 2px dashed #b9b9b2; }
.r-name { font: 900 18px/1 var(--display); color: #222; white-space: nowrap; }
.r-job { font: 800 16px/1 var(--text); }
.r-tag { display: inline-block; margin-top: 10px; padding: 10px 16px; font: 800 16px/1.2 var(--text); letter-spacing: .04em; color: #fff; background: var(--ink); }
.r-what { margin: 10px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.r-pic { display: block; margin: 12px 0 4px; background: #e9e9e3; aspect-ratio: 1; overflow: hidden; }
.r-pic img { width: 100%; height: 100%; object-fit: cover; }
.r-lines { margin-top: 10px; }
.r-line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.r-line span { color: #5a5a5a; }
.r-line b { text-align: right; font-weight: 700; }
.r-line.hot b { color: #c8231a; }
.r-mono { margin-top: 10px; display: grid; gap: 4px; }
.r-mono div { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.r-mono div > :last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.r-mono span:first-child { color: #5a5a5a; }
.r-mono a { color: #1636a8; }
.r-memo { margin: 10px 0 0; font-size: 16px; color: #333; overflow-wrap: anywhere; }
.r-foot { margin: 12px 0 0; font-weight: 700; }
.r-tear { position: absolute; left: 0; right: 0; bottom: -10px; height: 12px; background: var(--paper); -webkit-mask: linear-gradient(-45deg, transparent 6px, #000 6px) 0 0 / 12px 12px repeat-x, linear-gradient(45deg, transparent 6px, #000 6px) 0 0 / 12px 12px repeat-x; mask: linear-gradient(-45deg, transparent 6px, #000 6px) 0 0 / 12px 12px repeat-x, linear-gradient(45deg, transparent 6px, #000 6px) 0 0 / 12px 12px repeat-x; }

/* the strip in the printer slot: narrow like a real till roll, short lines, the picture */
.strip { position: relative; color: var(--ink); background: var(--paper); padding: 12px 16px 14px; font: 700 16px/1.25 var(--text); box-shadow: 0 -4px 18px rgba(0, 20, 60, .2); }
.strip::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .02) 0 2px, transparent 2px 4px); }
.strip .s-job { font: 900 16px/1 var(--display); color: #222; padding-bottom: 8px; white-space: nowrap; }
.strip .s-pic { display: block; margin: 10px 0; aspect-ratio: 1; background: #e9e9e3; overflow: hidden; }
.strip .s-pic img { width: 100%; height: 100%; object-fit: cover; }
.strip .s-l { padding: 4px 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip .s-l small { display: block; font: 600 16px/1.2 var(--text); color: #666; }
.strip::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 12px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #e8e8e1, var(--paper)); box-shadow: 0 -2px 4px rgba(0, 0, 0, .12); }
.strip .s-btn { display: flex; align-items: center; justify-content: center; width: calc(100% + 16px); margin: 10px -8px 0; min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px; font: 800 16px/1 var(--text); color: #fff; background: var(--w98-blue); box-shadow: 0 3px 0 #0a1450; cursor: pointer; transition: transform .12s ease-out, background .12s; }
.strip .s-btn:hover { background: #1d45cc; }
.strip .s-btn:active { transform: translateY(3px); box-shadow: none; }
.strip .s-btn:focus-visible { outline: 3px solid #10206b; outline-offset: 2px; box-shadow: none; }
.strip .s-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.strip .s-l.hot { color: #c8231a; }
.strip .s-tag { margin-top: 8px; font: 800 16px/1.2 var(--text); color: #222; text-align: center; }
.strip.is-feeding { clip-path: inset(100% -8px 0 -8px); }
.strip.is-printing { clip-path: inset(-16px -8px 0 -8px); transition: clip-path 1.8s steps(28, end); }
.strip.is-feeding .s-pic img { filter: grayscale(1) contrast(3) brightness(1.5); opacity: .25; }
.strip.is-done .s-pic img { filter: none; opacity: 1; transition: filter 2.4s ease-out, opacity 1.2s ease-out; }
.under { display: none; }
/* the receipt in the printer (stacked layout): it feeds down under the picture */
.feed .receipt { padding: 14px 14px 18px; font-size: clamp(13px, 0.96vw, 16px); box-shadow: 0 -4px 18px rgba(0, 20, 60, .18); }
.feed .r-name { font-size: clamp(14px, 1.05vw, 18px); }
.feed .r-tag, .feed .r-mono div, .feed .r-memo { font-size: clamp(11px, 0.82vw, 13.5px); }
.feed .r-tear { display: none; }
.under .receipt.is-feeding { clip-path: inset(0 0 100% 0); }
.under .receipt.is-printing { clip-path: inset(0 0 -20px 0); transition: clip-path 1.8s steps(28, end); }
.under .is-feeding .r-pic img { filter: grayscale(1) contrast(3) brightness(1.4); opacity: .2; }
.under .is-done .r-pic img { filter: none; opacity: 1; transition: filter 2.4s ease-out, opacity 1.2s ease-out; }

/* ---- sections below the hero: the hill goes on ---- */
.sec { position: relative; padding: var(--s7) 0; background: linear-gradient(180deg, var(--grass) 0, var(--grass-d) 160px, var(--grass-d) 100%); }
.sec + .sec { background: var(--grass-d); border-top: 1px solid rgba(255, 255, 255, .08); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--edge)); margin: 0 auto; padding: 0 var(--edge); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: var(--s5); }
.sec-head h2 { margin: 0; font: 900 48px/1 var(--display); text-shadow: -2px 0 0 #00e5ff, 2px 0 0 #ff2bd6; }
.sec-head p { margin: 0; max-width: 36em; color: #e6f5e0; }
.note { color: #e6f5e0; margin: 16px 0 0; }
.fold { display: none; }
.note.wide { grid-column: 1 / -1; margin: 0; }

.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ticket { display: grid; gap: 6px; align-content: start; min-height: 168px; padding: 20px 28px 24px; color: var(--ink); background: var(--paper); box-shadow: 0 8px 18px rgba(0, 30, 0, .25); }
.ticket .t-n { font: 900 28px/1 var(--display); color: #222; }
.ticket .t-type { font: 800 16px/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--fan); }
.ticket.is-running .t-type { color: #c8231a; }
.ticket .t-what { font-weight: 700; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ticket .t-who { font-size: 16px; color: #555; }
.ticket.is-empty { grid-column: 1 / -1; min-height: 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 28px; }
.ticket.is-empty b { font-size: 22px; }
.ticket.is-empty .btn { background: var(--fan); color: #fff; }

.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.total { padding: 28px 32px 30px; background: rgba(0, 0, 0, .14); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); border-radius: 4px; }
.total b { display: block; font: 900 clamp(48px, 5vw, 76px)/1 var(--display); }
.total.hot b { color: #ffd2cf; }
.total span { display: block; margin-top: 10px; font-weight: 700; color: #e6f5e0; }

.paper-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { padding: 24px 32px 28px; color: var(--ink); background: var(--paper); box-shadow: 0 8px 18px rgba(0, 30, 0, .25); counter-increment: s; }
.steps h3 { margin: 12px 0 6px; font: 900 30px/1 var(--display); color: #222; }
.steps h3::before { content: counter(s) " "; color: var(--fan); }
.steps p { margin: 0; font-size: 17px; }
.step-art { display: block; width: 100%; aspect-ratio: 1.3; object-fit: contain; }

/* ---- stacked (tablets, phones, square windows): the GPU on top, the full receipt under it ---- */
/* short desktop windows (a laptop with the browser's bars): everything one step tighter */
@media (min-width: 1101px) and (min-aspect-ratio: 4/3) and (max-height: 720px) {
  .copy { padding-top: 72px; }
  .name { font-size: 56px; }
  .say { margin-top: 12px; padding: 16px 24px; }
  .headline { font-size: 22px; }
  .lede { font-size: 17px; margin-top: 6px; }
  .actions { margin-top: 14px; }
  .btn { min-height: 50px; }
  .plate98 { margin-top: 12px; padding: 12px 16px 14px; }
  .plate-title { margin-bottom: 8px; }
  .dialog98 { bottom: 16px; }
}
@media (max-width: 1100px) { .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps, .paper-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px), (max-aspect-ratio: 4/3) {
  .nav { position: relative; top: 0; left: 0; padding: 16px calc(var(--edge) - 12px) 0; background: var(--sky-top); }
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; background: var(--sky-top); padding-bottom: var(--s5); }
  .copy { display: contents; }
  .name { order: 1; margin: 16px var(--edge) 0; font-size: clamp(48px, 9vw, 96px); }
  .say { order: 2; margin: 16px var(--edge) 0; max-width: 640px; }
  .stage { order: 3; position: relative; right: auto; bottom: auto; width: 100%; margin-top: 8px; }
  .feed { display: none; }
  .actions { order: 5; margin: 24px var(--edge) 0; flex-wrap: wrap; }
  .plate98 { order: 6; margin: 28px var(--edge) 0; }
  .dialog98 { order: 7; position: relative; right: auto; top: auto; bottom: auto; width: auto; max-width: 560px; margin: 28px var(--edge) 0; }
  .under { display: block; order: 8; margin: 28px var(--edge) 0; max-width: 560px; }
}
@media (max-width: 760px) {
  :root { --edge: 16px; --sky-top: #2e5bfc; /* the tall art cut at a quarter of its height */ }
  body { font-size: 17px; }
  .nav { gap: 0; }
  .nav a { padding: 12px 17px; font-size: 17px; }
  .plate-links .btn98 span { display: none; }
  .plate-links .btn98 img { width: 24px; height: 24px; }
  .name { font-size: clamp(44px, 13.4vw, 60px); }
  .headline { font-size: 23px; }
  /* the tall art, top quarter of sky cut away: aspect 3:4, positions converted from the 9:16 art */
  .stage { aspect-ratio: 3 / 4; }
  .stage-art { object-position: 50% 100%; }
  .fan { --fan-d: 26.1%; --y: 31.1%; }
  .f1 { --x: 22.74%; } .f2 { --x: 51.97%; } .f3 { --x: 81.19%; }
  .sec { padding: var(--s6) 0; }
  .sec-head h2 { font-size: 40px; }
  .tickets, .totals, .paper-row, .steps { grid-template-columns: 1fr; }
  .plate98, .dialog98, .under { max-width: none; }
  .plate98 { padding: 16px; }
  .plate-row { flex-direction: column; }
  .ticket { min-height: 0; }
  .tickets:not(.is-open) .ticket:nth-child(n+4) { display: none; }
  .fold:not([hidden]) { display: inline-flex; }
  .fold { margin-top: 16px; width: 100%; background: #fff; color: #10206b; }
}
@media (max-width: 380px) {
  :root { --edge: 24px; }
  .nav a { padding: 12px 16px; font-size: 16px; }
  .nav { padding-left: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---- 404: the printer alone on the hill, an empty receipt ---- */
.page-404 { background: var(--sky-1); }
.lost { position: relative; min-height: 100svh; overflow: hidden; display: grid; place-items: center end; padding: 96px max(var(--edge), 12vw) 48px; }
@media (max-width: 760px) { .lost { place-items: end center; padding: 96px var(--edge) 32px; } }
.lost-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.lost-receipt { position: relative; width: min(380px, 100%); padding: 24px 24px 34px; font-size: 17px; }
.lost-home { margin-top: 20px; width: 100%; background: var(--fan); color: #fff; box-shadow: 0 5px 0 #0f2a9c; }
