/* ------------------------------------------------------------------
   vuk/markovic terminal
   void + violet event horizon (offsecvukmarkovic.com)
   charcoal rules, crimson, JetBrains Mono (crvenapilula.rs)
------------------------------------------------------------------- */

/* self-hosted fonts, SIL Open Font License (see fonts/OFL-*.txt) */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url("fonts/martian-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url("fonts/martian-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
  --void: #07060d;
  --panel: rgba(10, 8, 19, 0.8);
  --panel-solid: #0c0a16;
  --rule: #241f36;
  --rule-hi: #362f50;
  --text: #e7e4f0;
  --muted: #8e89a6;
  --faint: #5f5a78;
  --violet: #a98bff;
  --violet-hot: #efe8ff;
  --crimson: #ee4130;
  --crimson-deep: #9b1919;
  --amber: #e0a84a;

  --accent: var(--violet);
  --disk-dim: #2e2356;
  --disk: #a98bff;
  --disk-hot: #f4efff;
  --core: #ee4130;

  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --display: "Martian Mono", var(--mono);

  --fs: 14.5px;
  --lh: 1.6;
  --halo: clamp(160px, 35vh, 380px);
}

body[data-theme="crimson"] {
  --accent: #ff6a55;
  --disk-dim: #45130f;
  --disk: #ee4130;
  --disk-hot: #ffe6dc;
  --core: #a98bff;
  --panel: rgba(16, 8, 10, 0.8);
  --rule: #33201f;
  --rule-hi: #4a2a27;
}

html { background: var(--void); color-scheme: dark; }

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  background: var(--void);
  font: 400 var(--fs) / var(--lh) var(--mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#horizon {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 1px dashed var(--accent);
  outline-offset: 3px;
}

/* ---------------- top bar ---------------- */

.topbar {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(14px, 3vw, 32px);
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(rgba(7, 6, 13, 0.92), rgba(7, 6, 13, 0.6));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
  font-family: var(--display);
  font-variation-settings: "wdth" 112.5;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.mark-logo {
  flex: none;
  width: auto;
  height: 36px;
  margin: -4px 0;
}
.mark b { color: var(--crimson); font-weight: 700; }

.links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 13px;
}
.links a,
.links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.links a:hover,
.links button:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.35em;
}

.hire {
  padding: 7px 13px;
  border: 1px solid var(--rule-hi);
  border-radius: 2px;
  background: rgba(169, 139, 255, 0.08);
  color: var(--violet-hot);
  font: 600 13px / 1 var(--mono);
  cursor: pointer;
}
.hire:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.sos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--crimson);
  border-radius: 2px;
  background: var(--crimson-deep);
  color: #fff;
  font: 800 13px / 1 var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.sos:hover { background: var(--crimson); }

/* ---------------- quotes (right of the logo) ---------------- */

.quotes {
  position: fixed;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font: 400 12.5px / 1.6 var(--mono);
}
.quotes[hidden] { display: none; }
.q-cmd { margin: 0 0 8px; color: var(--faint); }
.q-sym { color: var(--accent); }
.q-body {
  margin: 0;
  padding-left: 2ch;
  border-left: 1px solid var(--rule-hi);
}
.q-text {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: var(--q-size, 16px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.q-caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: q-blink 1s steps(1) infinite;
}
.quotes.done .q-caret { display: none; }
.q-who,
.q-note {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.q-who { margin-top: 6px; }
.q-note { margin: 10px 0 0 2ch; color: var(--faint); transition-delay: 0.3s; }
.quotes.done .q-who,
.quotes.done .q-note { opacity: 1; transform: none; }
.quotes.leaving .q-body,
.quotes.leaving .q-note { opacity: 0; transition: opacity 0.4s ease; }
@keyframes q-blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .q-caret { animation: none; }
  .q-who, .q-note { transition: none; transform: none; }
}

/* ---------------- stage + terminal ---------------- */

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  padding: var(--halo) clamp(10px, 3vw, 32px) clamp(10px, 2.2vw, 24px);
}

.term {
  width: min(100%, 980px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule-hi);
  border-radius: 3px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

.term-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  color: var(--muted);
}
.term-bar .title { color: var(--text); }
.term-bar .dim {
  margin-left: auto;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px clamp(12px, 2.4vw, 24px) 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-hi) transparent;
  cursor: text;
}
.screen::-webkit-scrollbar { width: 8px; }
.screen::-webkit-scrollbar-thumb { background: var(--rule-hi); }

/* ---------------- output ---------------- */

.line {
  min-height: calc(var(--lh) * 1em);
  max-width: 92ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.echo { margin-top: 1em; }
#output > .echo:first-child { margin-top: 0; }

.indent { padding-left: 4ch; max-width: 78ch; }
.para + .para { margin-top: 0.8em; }

.banner {
  margin: 0.45em 0 0.35em;
  font-family: var(--display);
  font-variation-settings: "wdth" 112.5;
  font-weight: 800;
  font-size: clamp(1.85rem, 6vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--violet-hot);
  text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 45%, transparent);
}
.banner .slash { color: var(--crimson); }

.lead { color: var(--text); }

/* tokens */
.k { color: var(--accent); }
.m { color: var(--muted); }
.f { color: var(--faint); }
.b { color: var(--violet-hot); font-weight: 600; }
.hot { color: var(--violet-hot); font-weight: 800; }
.err { color: var(--crimson); }
.ok { color: var(--accent); }
.warn { color: var(--amber); }
.u { color: var(--crimson); font-weight: 600; }
.at { color: var(--faint); }
.h { color: var(--accent); font-weight: 600; }
.p { color: var(--text); }
.sym { color: var(--muted); }
.head { color: var(--violet-hot); font-weight: 800; }
.tool { color: var(--text); }

.sev-crit, .sev-high, .sev-med {
  display: inline-block;
  min-width: 6ch;
  text-align: center;
  border-radius: 2px;
  line-height: 1.45;
  font-size: 0.86em;
  font-weight: 700;
}
.sev-crit {
  background: var(--crimson-deep);
  color: #fff;
  border: 1px solid var(--crimson);
}
.sev-high {
  color: var(--crimson);
  border: 1px solid color-mix(in srgb, var(--crimson) 55%, transparent);
}
.sev-med {
  color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 45%, transparent);
}

/* command chips that run when clicked */
.cmd {
  appearance: none;
  margin: 0;
  padding: 0 0.15ch;
  border: 0;
  border-radius: 2px;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}
.cmd:hover {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  text-decoration-style: solid;
}

#output a {
  color: var(--text);
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
}
#output a:hover { color: var(--violet-hot); }

/* two-column rows: key | value */
.row {
  display: grid;
  grid-template-columns: var(--key, 14ch) minmax(0, 1fr);
  column-gap: 2ch;
  max-width: 92ch;
  white-space: pre-wrap;
}
.row > span { min-width: 0; }
.rows-loose > .row + .row { margin-top: 0.75em; }
.key-wide { --key: 18ch; }
.key-narrow { --key: 9ch; }

/* tree with trailing comments */
.tree {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 3ch;
  white-space: pre;
}
.tree .c { color: var(--faint); white-space: normal; }

/* ascii + fetch */
.art {
  margin: 0;
  font: inherit;
  line-height: 1.2;
  white-space: pre;
}
.sigil-art {
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: 0;
}
.sg-eye { color: var(--crimson); font-weight: 800; }
.sg-horn { color: #f7a1a8; }
.sg-f1 { color: color-mix(in srgb, var(--accent) 45%, var(--void)); }
.sg-f2 { color: var(--accent); }
.sg-f3 { color: var(--violet-hot); }
.sg-edge { opacity: 0.5; }

.fetch {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.2em 4ch;
  margin: 0.4em 0 0.2em;
}
.fetch-info { min-width: 0; flex: 1 1 36ch; }
.swatches { display: flex; margin-top: 0.7em; }
.swatches span { width: 3.2ch; height: 1.15em; }

/* ---------------- prompt ---------------- */

.prompt-line {
  display: flex;
  align-items: baseline;
  gap: 1ch;
  margin-top: 1em;
}
.prompt { flex: none; cursor: text; }
.prompt .u { color: var(--crimson); font-weight: 600; }

#cmd {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  caret-color: var(--crimson);
}
.prompt-line:focus-within .sym { color: var(--crimson); }

/* ---------------- tmux status bar ---------------- */

.tmux {
  flex: none;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid var(--rule);
  background: rgba(18, 14, 32, 0.92);
  font-size: 12.5px;
  scrollbar-width: none;
}
body[data-theme="crimson"] .tmux { background: rgba(26, 12, 14, 0.92); }
.tmux::-webkit-scrollbar { display: none; }

.tmux .session {
  display: flex;
  align-items: center;
  padding: 3px 11px;
  background: var(--crimson-deep);
  color: #fff;
  font-weight: 800;
}
.tmux button {
  padding: 4px 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.tmux button:hover { color: var(--text); }
.tmux button[aria-current="true"] {
  background: var(--accent);
  color: var(--void);
  font-weight: 800;
}
.tmux .right {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 3px 12px 3px 18px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.tmux .uptime { color: var(--faint); }

/* ---------------- the wire (live headline ticker) ---------------- */

.wire {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: stretch;
  height: 30px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: rgba(7, 6, 13, 0.78);
  font-size: 12.5px;
}
.wire-label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 clamp(14px, 3vw, 32px);
  border: 0;
  background: var(--crimson-deep);
  color: #fff;
  font: 800 12px / 1 var(--mono);
  letter-spacing: 0.06em;
  cursor: pointer;
}
.wire-label:hover { background: var(--crimson); }
.wire-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.wire-track {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.wire-reel {
  display: flex;
  white-space: nowrap;
  padding-left: 16px;
}
.wire-reel.run {
  animation: wire var(--dur, 120s) linear infinite;
  will-change: transform;
}
.wire:hover .wire-reel,
.wire:focus-within .wire-reel { animation-play-state: paused; }
@keyframes wire { to { transform: translateX(-50%); } }

.wire-set { display: inline-flex; }
.wire-msg { color: var(--faint); }
.wire-item {
  display: inline-flex;
  align-items: baseline;
  gap: 1ch;
  padding-right: 4ch;
  color: var(--text);
  text-decoration: none;
}
.wire-item .rg { color: var(--muted); }
.wire-item .ago { color: var(--faint); }
.wire-item:hover .t,
.wire-item:focus-visible .t {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
}

/* attack type tags, shared by the ticker and the news list */
.tag { font-weight: 700; }
.t-red { color: var(--crimson); }
.t-amber { color: var(--amber); }
.t-accent { color: var(--accent); }

/* ---------------- news list ---------------- */

.news-row {
  display: grid;
  grid-template-columns: 11ch 4ch 13ch minmax(0, 1fr);
  column-gap: 1.6ch;
  max-width: 120ch;
  padding: 0.12em 0;
}
.news-row .ago { color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.news-row .rg { color: var(--muted); }
#output .news-row .nt a { color: var(--text); text-decoration: none; }
#output .news-row .nt a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* ---------------- scope interview ---------------- */

#cmd::placeholder { color: var(--faint); opacity: 1; }

.wz-options {
  display: grid;
  justify-items: start;
  gap: 0.1em;
  margin: 0.35em 0 0 2ch;
}
.wz-opt {
  margin: 0;
  padding: 0.05em 0.8ch;
  border: 0;
  border-radius: 2px;
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.wz-opt .n { color: var(--accent); }
.wz-opt .box { color: var(--faint); }
.wz-opt:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.wz-opt[aria-pressed="true"] { color: var(--violet-hot); }
.wz-opt[aria-pressed="true"] .box { color: var(--accent); }
.wz-opt:disabled { color: var(--faint); cursor: default; }
.wz-opt:disabled .n { color: var(--faint); }
.wz-opt.chosen { color: var(--text); }
.wz-opt.chosen .n,
.wz-opt.chosen .box { color: var(--accent); }
.wz-done { margin-top: 0.35em; }
.cmd:disabled { color: var(--faint); cursor: default; text-decoration: none; background: none; }

.wz-answer { margin-top: 0.25em; }

.wz-raw {
  margin: 0.4em 0 0;
  padding: 0.8em 1.2ch;
  max-width: 92ch;
  border: 1px dashed var(--rule-hi);
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--text);
}

.wz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 3ch;
}
#output .wz-send {
  padding: 0.2em 1.4ch;
  border: 1px solid var(--crimson);
  border-radius: 2px;
  background: var(--crimson-deep);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
#output .wz-send:hover { background: var(--crimson); color: #fff; }

/* ---------------- videos ---------------- */

.video-row {
  display: grid;
  grid-template-columns: 13ch minmax(0, 1fr);
  column-gap: 2ch;
  max-width: 96ch;
  padding: 0.1em 0;
}
#output .video-row a { color: var(--text); text-decoration: none; }
#output .video-row a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

/* ---------------- experience ---------------- */

.xp {
  display: grid;
  grid-template-columns: 20ch minmax(0, 1fr);
  column-gap: 2ch;
  max-width: 100ch;
}
.xp + .xp { margin-top: 1em; }
.xp .when { color: var(--faint); }
.xp .pt {
  padding-left: 2ch;
  text-indent: -2ch;
  max-width: 78ch;
}

.hang {
  padding-left: 2ch;
  text-indent: -2ch;
  max-width: 80ch;
}

/* ---------------- recommendations ---------------- */

.rec { max-width: 84ch; }
.rec-q {
  margin: 0.3em 0 0.25em;
  padding-left: 2ch;
  border-left: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  max-width: 80ch;
  color: var(--text);
}

/* ---------------- skill matrix ---------------- */

.mx { max-width: 96ch; }
.mx-row {
  display: grid;
  grid-template-columns: minmax(0, 37ch) 7ch repeat(4, 6ch);
  column-gap: 1ch;
  align-items: baseline;
}
.mx-row > :nth-child(n + 3) { text-align: center; }
.mx-head { color: var(--faint); margin-bottom: 0.2em; }
.mx-lvl { color: var(--accent); letter-spacing: 0.04em; }
.mx-lvl .off { color: var(--rule-hi); }
.mx-yes { color: var(--accent); }
.mx-no { color: var(--rule-hi); }

/* ---------------- projects ---------------- */

.proj { max-width: 88ch; }
.proj + .proj { margin-top: 1em; }
.pname { color: var(--violet-hot); font-weight: 800; }
.proj-body { padding-left: 2ch; }
.proj-body .line { max-width: 80ch; }

/* ---------------- 404 ---------------- */

.lost {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: auto;
}
.lost .mark { text-decoration: none; }
.lost .stage {
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vh, 28px);
  padding-top: clamp(24px, 6vh, 64px);
}
.lost-logo {
  flex: none;
  width: auto;
  height: clamp(110px, 24vh, 220px);
  filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent) 35%, transparent));
}
.lost .term { flex: none; width: min(100%, 760px); }
.lost .screen { flex: none; overflow: visible; cursor: auto; }
.lost .banner { margin-top: 0.7em; }
.lost p { margin: 0; }
.lost-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em 3ch;
  margin-top: 1.4em;
}
#output a.cmd { color: var(--accent); }

/* ---------------- no-js ---------------- */

.nojs {
  max-width: 60ch;
  padding: 24px;
  background: var(--panel-solid);
  border: 1px solid var(--rule-hi);
}
.nojs a { color: var(--violet); }

/* ---------------- small screens ---------------- */

@media (max-width: 760px) {
  .topbar { gap: 12px; }
  .links { display: none; }
  .hire { margin-left: auto; }
}

@media (max-width: 520px) {
  .hire { display: none; }
  .sos { margin-left: auto; }
}

@media (max-width: 640px) {
  :root {
    --fs: 13.5px;
    --halo: clamp(120px, 24vh, 200px);
  }
  .row { --key: 11ch; column-gap: 1.4ch; }
  .key-wide { --key: 13ch; }
  .key-narrow { --key: 7ch; }
  .tree { grid-template-columns: minmax(0, 1fr); }
  .tree .c { padding-left: 6ch; margin-bottom: 0.35em; }
  .tree .c:empty { display: none; }
  .tmux .uptime { display: none; }

  .wire-label { padding-left: 14px; }
  .news-row { grid-template-columns: auto auto 1fr; }
  .news-row .ago { text-align: left; }
  .news-row .nt { grid-column: 1 / -1; padding-bottom: 0.45em; }
  .xp { grid-template-columns: minmax(0, 1fr); }
  .xp .when { margin-bottom: 0.15em; }
  .mx-row { grid-template-columns: 7ch repeat(4, 5ch); }
  .mx-row .mx-name { grid-column: 1 / -1; margin-top: 0.45em; }
  .mx-head .mx-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wire-reel.run { animation: none; }
  .wire-track { overflow-x: auto; }
}

@media (pointer: coarse) {
  #cmd { font-size: 16px; } /* stops iOS from zooming on focus */
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
