@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-var.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/ibm-plex-mono-normal-400.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/ibm-plex-mono-normal-500.woff2) format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body { position: fixed; inset: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; user-select: none; -webkit-user-select: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
input { user-select: text; -webkit-user-select: text; }
.mono { font-family: "Plex Mono", ui-monospace, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* KIT :: twelve plates are the whole site. Nothing is added or removed; the same parts turn over and
 re-seat into every state. Accent = the active part (what is selected, or the one ask). */
:root { --dur: .52s; --ease: cubic-bezier(.25, 1.18, .35, 1); }
:root { --bg: #d6d4cc; --plate: #f3f2ed; --edge: #b9b6ac; --ink: #131416; --mute: #63666a; --accent: #c9f23a; --on: #11140a; --well: #e6e4dd; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0b0c0e; --plate: #16181b; --edge: #2b2e33; --ink: #ecebe6; --mute: #8a8e95; --accent: #c9f23a; --on: #11140a; --well: #0f1012; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0b0c0e; --plate: #16181b; --edge: #2b2e33; --ink: #ecebe6; --mute: #8a8e95; --accent: #c9f23a; --on: #11140a; --well: #0f1012; color-scheme: dark; }
#kit { position: absolute; inset: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.plate { position: absolute; left: 0; top: 0; perspective: 900px;
  transition: transform var(--dur) var(--ease) var(--dl, 0ms), width var(--dur) var(--ease) var(--dl, 0ms), height var(--dur) var(--ease) var(--dl, 0ms); }
.turn { position: absolute; inset: 0; background: var(--plate); border: 1px solid var(--edge); border-radius: 3px; overflow: hidden;
  container-type: size; transition: background-color .2s, border-color .2s, color .2s; }
.turn[data-tone="accent"] { background: var(--accent); border-color: var(--accent); color: var(--on); --mute: #4a5a12; --ink: var(--on); }
.turn[data-tone="well"] { background: var(--well); }
.pn { position: absolute; left: 6px; top: 4px; font-size: 8px; letter-spacing: .1em; color: var(--mute); z-index: 3; pointer-events: none; }
.face { position: absolute; inset: 0; }
.face > a, .face > button, .face > label { position: absolute; inset: 0; display: block; }
.arr { position: absolute; right: 7px; top: 3px; font-style: normal; font-size: clamp(11px, 9cqh, 18px); line-height: 1.2; font-family: "Plex Mono", monospace; }
.t { display: block; font-weight: 700; font-stretch: 108%; line-height: 1; letter-spacing: -.01em; font-size: clamp(11px, min(13cqw, 30cqh), 40px); }
.k { display: block; font-family: "Plex Mono", monospace; font-size: clamp(8px, min(5.4cqw, 13cqh), 11px); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); line-height: 1.3; }
.foot { position: absolute; left: clamp(7px, 6cqw, 16px); right: clamp(7px, 6cqw, 16px); bottom: clamp(6px, 9cqh, 16px); display: grid; gap: clamp(2px, 3cqh, 6px); }

/* name */
.f-name { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 4.2cqw 6cqh;
  font-weight: 800; line-height: .88; letter-spacing: -.025em; font-size: min(18.6cqw, 42cqh); font-stretch: 118%; animation: widen .9s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes widen { from { font-stretch: 62%; letter-spacing: .02em; } }
.f-home .foot { bottom: auto; top: 50%; transform: translateY(-42%); padding-left: clamp(16px, 9cqw, 30px); }
.f-home .t { font-size: clamp(12px, min(7.6cqw, 34cqh), 26px); font-weight: 800; font-stretch: 112%; white-space: nowrap; }
.f-home .arr { left: clamp(7px, 3cqw, 14px); right: auto; top: 50%; transform: translateY(-50%); }
.f-line { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; padding: 8px clamp(8px, 5cqw, 22px) 0;
  font-weight: 500; font-stretch: 100%; font-size: clamp(13px, min(6.1cqw, 30cqh), 30px); line-height: 1.15; text-wrap: balance; }

/* text plates */
.f-title { position: absolute; inset: 0; padding: clamp(15px, 12cqh, 30px) clamp(10px, 4cqw, 26px) 0; }
.f-title h2 { margin: clamp(2px, 2cqh, 8px) 0 clamp(4px, 5cqh, 12px); font-weight: 800; font-stretch: 116%; letter-spacing: -.02em; line-height: .95;
  font-size: clamp(22px, min(11.5cqw, 31cqh), 76px); animation: widen .7s cubic-bezier(.2, .9, .2, 1) both; }
.f-title p, .f-cap p, .f-status p { margin: 0; font-size: clamp(12px, min(3.7cqw, 12.5cqh), 19px); line-height: 1.3; font-weight: 400; max-width: 46ch; text-wrap: pretty; }
.f-title p { max-width: min(46ch, 66cqw); font-size: clamp(12px, min(3.5cqw, 12cqh), 19px); line-height: 1.24; } /* three lines must clear the plate's edge */
.f-title .glyph { position: absolute; right: 4cqw; bottom: 10cqh; width: 24cqw; height: 36cqh; }
.f-title canvas.glyph { right: 4cqw; bottom: 12cqh; width: 24cqw; height: 30cqh; }
/* a short title plate gives its picture up to the words */
@container (max-height: 120px) { .f-title .glyph { display: none; } .f-title p { max-width: none; } }
@container (max-height: 96px) { .f-title { padding-top: 13px; } .f-title h2 { font-size: clamp(18px, 25cqh, 30px); margin: 1px 0 3px; } .f-title p { font-size: 11px; line-height: 1.25; } }
.f-cap, .f-status { position: absolute; inset: 0; padding: clamp(16px, 14cqh, 28px) clamp(10px, 4cqw, 26px) 0; display: grid; align-content: start; gap: clamp(3px, 4cqh, 10px); }
.f-cap .lk { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: clamp(10px, min(3cqw, 10cqh), 13px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--mute); }
.f-status .ok { font-weight: 600; font-size: clamp(14px, min(4.6cqw, 20cqh), 24px); line-height: 1.22; }

/* media */
.f-media { position: absolute; inset: 0; display: block; }
.f-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.f-media img.fit { object-fit: contain; background: #efe9df; }
.f-media .cap { position: absolute; left: 0; right: 0; bottom: 0; background: var(--plate); border-top: 1px solid var(--edge); padding: 8px 10px 9px; display: grid; gap: 4px; }
.f-media .cap .t { font-size: clamp(12px, 5.4cqw, 20px); font-weight: 600; font-stretch: 100%; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-media pre { position: absolute; inset: 0; margin: 0; padding: 22px 12px 10px; font: 400 clamp(8.5px, 2.25cqw, 15px)/1.5 "Plex Mono", monospace; white-space: pre; overflow: hidden; tab-size: 2; }
.f-media pre b { font-weight: 400; color: var(--mute); }
.f-media svg.planfull { position: absolute; inset: 9% 6%; width: 88%; height: 82%; }
svg.plan path { fill: currentColor; stroke: currentColor; stroke-width: .5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.f-media svg.planfull { animation: draw 1s .3s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* keys */
.f-umb .glyph { position: absolute; left: 7cqw; top: 17cqh; height: 30cqh; width: 86cqw; }
.f-umb .t { font-size: clamp(13px, min(11cqw, 19cqh), 40px); white-space: nowrap; }
.f-check .box { position: absolute; left: clamp(8px, 3cqw, 22px); top: 50%; width: clamp(14px, 30cqh, 26px); aspect-ratio: 1; transform: translateY(-50%); border: 1.5px solid currentColor; border-radius: 2px; }
.f-check[aria-checked="true"] .box { background: currentColor; }
.f-check .t, .f-send .t { position: absolute; left: clamp(34px, 10cqw, 70px); top: 50%; transform: translateY(-46%); font-size: clamp(15px, min(6cqw, 40cqh), 34px); }
.f-send .t { left: clamp(10px, 3cqw, 22px); }
.f-send .arr { top: 50%; transform: translateY(-50%); font-size: clamp(16px, 34cqh, 30px); right: clamp(10px, 3cqw, 22px); }
.f-field .k { position: absolute; left: clamp(10px, 3cqw, 22px); top: clamp(16px, 16cqh, 26px); }
.f-field input { position: absolute; left: 0; right: 0; bottom: 0; top: 30%; width: 100%; border: 0; outline: 0; background: transparent; padding: 0 clamp(10px, 3cqw, 22px);
  font-weight: 600; font-stretch: 104%; font-size: clamp(17px, min(6cqw, 34cqh), 44px); caret-color: var(--ink); }
.f-field input::placeholder { color: var(--mute); opacity: .7; }
.f-tog .foot { left: 6px; right: 4px; bottom: 6px; gap: 1px; }
.f-tog .k { font-size: clamp(9px, 13cqw, 11px); letter-spacing: .03em; }
.f-tog .v { color: var(--ink); }
canvas.glyph { display: block; }
.plain { position: absolute; inset: 0; padding: 28px; display: grid; gap: 12px; align-content: center; font-size: 19px; }
.plain strong { font-weight: 800; font-stretch: 116%; font-size: 34px; letter-spacing: -.02em; line-height: 1; }
.plain a { text-decoration: underline; text-underline-offset: 4px; }
.hp { position: absolute; left: -200vw; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.f-send[disabled] { opacity: .6; cursor: default; }
@media (prefers-reduced-motion: reduce) { .plate, .turn { transition: none; } .f-name, .f-title h2, .f-media svg.planfull { animation: none; } }
