:root { --k: #0b0b0c; --ink: #121314; --alu: #cfd2d3; --led: #ff2d1c; --ledo: #43120e; --sil: 'Michroma', 'Eurostile', 'Arial', sans-serif; --num: 'B612 Mono', ui-monospace, Menlo, monospace; --pad: clamp(14px, 1.6vw, 24px); --u: clamp(350px, calc((100svh - 148px) / 2), 420px); }
* { box-sizing: border-box; margin: 0; }
html { background: var(--k); color: #e9ebeb; -webkit-text-size-adjust: 100%; }
body { font: 400 15px/1.5 var(--num); overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #0a5cff; outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* the rack */
.case { position: relative; padding: 10px var(--pad) 14px; display: grid; gap: 10px; }
.mod { position: relative; background-color: var(--alu); background-image: var(--brush, none); color: var(--ink); border-radius: 2px; border: 1px solid #f1f3f3; border-right-color: #8d9192; border-bottom-color: #7f8384; min-width: 0; }
.mod::before, .mod::after { content: ''; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(38deg, transparent 44%, #3c3f41 45% 56%, transparent 57%), #aeb2b4; border: 2px solid #5d6163; } .mod::before { left: 8px; top: 8px; } .mod::after { right: 8px; bottom: 8px; }
.mod.dark { background-image: none; background-color: #1a1b1d; color: #e9ebeb; border-color: #3a3c3f #0c0c0d #0c0c0d #3a3c3f; }
.row { display: grid; gap: 4px; } .r1 { grid-template-columns: 1.36fr repeat(4, 1fr) .9fr .9fr; } .r2 { grid-template-columns: 1.5fr 1.65fr 1fr 2.2fr; } .row .mod { height: var(--u); }
.oneu { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 0 clamp(16px, 2.4vw, 40px); padding: 8px 34px; min-height: 92px; }
h1 { font: 400 clamp(34px, 4.6vw, 68px)/1 var(--sil); letter-spacing: -.02em; -webkit-text-stroke: .03em currentColor; } .hook { font: 400 clamp(15px, 1.35vw, 20px)/1.25 var(--sil); width: min-content; min-width: 8.6em; }
.msg { justify-self: stretch; background: #120303; color: #ff5a48; border: 3px solid #2a2c2e; border-radius: 4px; padding: 8px 14px; min-height: 58px; display: flex; align-items: center; font-size: 15px; line-height: 1.3; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 340px; } .btns button, .pre button { background: #232527; color: #f3f4f4; border: 2px solid #000; border-bottom-width: 4px; border-radius: 5px; padding: 4px 12px; min-height: 40px; font-size: 14px; cursor: pointer; } .btns button:active { border-bottom-width: 2px; margin-top: 2px; } .btns button[aria-pressed=true] { background: var(--led); color: #170000; font-weight: 700; } .btns button:hover { background: #3a3d40; } .btns button[aria-pressed=true]:hover { background: #ff5a48; }
.t { font: 400 14px/1 var(--sil); letter-spacing: .02em; position: absolute; top: 12px; left: 0; right: 0; text-align: center; }
.l { font: 700 13px/1.1 var(--num); text-align: center; white-space: nowrap; }
.leds { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px 4px; justify-items: center; } .leds i { width: 9px; height: 9px; border-radius: 50%; background: var(--ledo); border: 1px solid #0007; } .leds i.on { background: var(--led); box-shadow: inset 0 0 0 2px #ff8d7f; } .leds i.mine { outline: 2px solid #0a5cff; outline-offset: 1px; } .leds.green i { background: #0f2c16; } .leds.green i.on { background: #22c55e; box-shadow: inset 0 0 0 2px #9af0b7; } .leds i.gone { visibility: hidden; }
.lcd { background: #120303; color: #ff5a48; border: 3px solid #2a2c2e; border-radius: 4px; padding: 2px 8px; font-weight: 700; font-size: 16px; text-align: center; min-height: 33px; white-space: nowrap; overflow: hidden; }
.jack { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; border-radius: 50%; display: block; } .jack svg { width: 100%; height: 100%; display: block; pointer-events: none; } .jack.armed { outline: 4px solid #0a5cff; outline-offset: -1px; } .jack.can { outline: 4px solid #00a651; outline-offset: -1px; }
.knob { width: 92px; height: 92px; border-radius: 50%; cursor: ns-resize; touch-action: none; display: block; } .knob svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sw { display: grid; grid-template-columns: auto 34px auto; gap: 7px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; font: 700 13px/1 var(--num); min-height: 40px; } .sw span { opacity: .74; } .sw[aria-pressed=true] span:first-child, .sw[aria-pressed=false] span:last-child { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; } .sw svg { width: 34px; height: 34px; } .sw g { transform-origin: 17px 17px; transition: transform .12s; } .sw[aria-pressed=false] g { transform: rotate(180deg); }

.feed { padding: 36px 16px 14px; display: flex; flex-direction: column; justify-content: space-between; } .feed .outs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 2px; justify-items: center; } .feed .outs div { display: grid; justify-items: center; gap: 4px; } .feed .lcd { font-size: 13px; line-height: 1.35; min-height: 62px; white-space: normal; text-align: left; padding: 5px 9px; font-weight: 400; } .feed .lcd button { background: none; border: 1px solid; border-radius: 3px; padding: 0 7px; margin-left: 4px; cursor: pointer; font-size: 13px; min-height: 26px; }
.gate { padding: 38px 14px 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .gate .lcd { width: 100%; } .gate .leds { width: 100%; max-width: 170px; } .ends { display: flex; justify-content: space-between; width: 100%; } .ends div { display: grid; justify-items: center; gap: 3px; min-width: 48px; }
.logic { padding: 38px 12px 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .logic .leds { width: 100%; max-width: 160px; } .logic .mode { width: 100%; display: grid; gap: 4px; } .logic .mode button { border: 2px solid #16181a; background: none; border-radius: 5px; min-height: 36px; font: 400 12px/1 var(--sil); cursor: pointer; } .logic .mode button[aria-pressed=true] { background: #16181a; color: #fff; }
.hand { padding: 38px 16px 12px; display: flex; flex-direction: column; gap: 8px; } .faders { flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; } .fad { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 4px; min-width: 0; } .fad .slot { position: relative; width: 100%; min-height: 110px; cursor: ns-resize; touch-action: none; } .fad .slot::before { content: ''; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 5px; margin-left: -2.5px; background: #111; border-radius: 3px; } .fad .cap2 { position: absolute; left: 50%; width: 28px; height: 18px; margin: -9px 0 0 -14px; background: linear-gradient(#1b1c1e 0 44%, #fff 45% 55%, #1b1c1e 56%); border-radius: 3px; border: 1px solid #000; } .fad output { font-size: 12px; line-height: 1; white-space: nowrap; letter-spacing: -.04em; } .hand .send { align-self: stretch; border: 2px solid #16181a; background: none; border-radius: 5px; min-height: 40px; font: 400 12px/1 var(--sil); cursor: pointer; } .hand .send[aria-pressed=true] { background: #0a5cff; color: #fff; border-color: #0a5cff; }
.scope { padding: 36px 16px 10px; display: flex; flex-direction: column; gap: 8px; } .scope canvas { flex: 1; width: 100%; min-height: 0; background: #060707; border: 3px solid #34373a; border-radius: 6px; display: block; } .scope .bot, .bell .bot { display: flex; align-items: center; gap: 10px; } .scope .bot p { font-size: 13px; line-height: 1.25; min-height: 2.5em; flex: 1; display: flex; align-items: center; }
.bell { padding: 36px 14px 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; } .bell svg { width: 100%; max-width: 210px; flex: 1; min-height: 0; overflow: visible; } .bell .bot { width: 100%; justify-content: space-between; } .bell .lcd { font-size: 24px; min-width: 70px; min-height: 42px; } .bell .ham { transform-origin: 182px 150px; } .bell.ding .ham { animation: ham .3s steps(2) 3; } .bell.ding .dome { animation: shake .1s steps(2) 9; } @keyframes ham { 50% { transform: rotate(-16deg); } } @keyframes shake { 50% { transform: translate(1.5px, -1px); } }
.print { padding: 36px 22px 0; overflow: hidden; display: flex; flex-direction: column; } .slit { height: 13px; background: #050505; border-radius: 4px; border: 2px solid #3a3c3f; position: relative; z-index: 2; } .paper { position: relative; flex: 1; margin: -5px 10px 0; background: radial-gradient(circle at 9px 12px, #1a1b1d 3.4px, transparent 3.9px) 0 0 / 100% 24px, radial-gradient(circle at calc(100% - 9px) 12px, #1a1b1d 3.4px, transparent 3.9px) 0 0 / 100% 24px, #f6f4ec; color: #121314; padding: 14px 26px 20px; overflow: hidden; min-height: 0; list-style: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), 97% 100%, 94% calc(100% - 9px), 91% 100%, 88% calc(100% - 9px), 85% 100%, 82% calc(100% - 9px), 79% 100%, 76% calc(100% - 9px), 73% 100%, 70% calc(100% - 9px), 67% 100%, 64% calc(100% - 9px), 61% 100%, 58% calc(100% - 9px), 55% 100%, 52% calc(100% - 9px), 49% 100%, 46% calc(100% - 9px), 43% 100%, 40% calc(100% - 9px), 37% 100%, 34% calc(100% - 9px), 31% 100%, 28% calc(100% - 9px), 25% 100%, 22% calc(100% - 9px), 19% 100%, 16% calc(100% - 9px), 13% 100%, 10% calc(100% - 9px), 7% 100%, 4% calc(100% - 9px), 0 100%); } .paper li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) auto; gap: 10px; font-size: 14px; line-height: 24px; white-space: nowrap; } .paper b { overflow: hidden; text-overflow: ellipsis; } .paper a { color: inherit; } .paper .facts { grid-column: 2 / -1; font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; padding-bottom: 4px; } .paper .empty { display: block; white-space: normal; }
#cab { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; }

main > section:not(.case) { padding: clamp(70px, 9vw, 130px) var(--pad) 0; } h2 { font: 400 clamp(27px, 4.3vw, 64px)/1.05 var(--sil); letter-spacing: -.02em; }
.cap { margin-top: 12px; color: #b9bdbe; font-size: 16px; }
.pres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 30px; } .pre { padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 10px; } .pre b { font: 400 17px/1.15 var(--sil); } .pre p { font-size: 14px; line-height: 1.4; min-height: 4.2em; } .pre .leds { max-width: 200px; } .pre button { align-self: flex-start; } .pre button:hover { background: #3a3d40; } .pre .n { font-weight: 700; font-size: 15px; } .pre canvas { width: 100%; height: 120px; display: block; }
.wall { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px 6px; margin-top: 30px; } .wall button { background: none; border: 0; padding: 4px 0; display: grid; justify-items: center; gap: 6px; cursor: pointer; min-width: 0; } .wall i { width: clamp(34px, 4.6vw, 62px); aspect-ratio: 1; border-radius: 50%; background: var(--ledo); border: 4px solid #2a2c2e; } .wall .on i { background: var(--led); box-shadow: inset 0 0 0 5px #ff8d7f; } .wall .mine i { border-color: #0a5cff; } .wall button[aria-pressed=true] i { border-color: #fff; } .wall span { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wall .on span { font-weight: 700; color: #fff; } .wall span { color: #b9bdbe; }
.tell { font-size: clamp(17px, 1.7vw, 25px); margin-top: 26px; min-height: 3.2em; line-height: 1.4; } .tell a { color: #fff; } .tell b { color: #fff; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-bottom: clamp(70px, 8vw, 120px) !important; } .how canvas { width: 100%; aspect-ratio: 1.16; display: block; background-color: var(--alu); background-image: var(--brush, none); border-radius: 2px; } .how figcaption { font: 400 clamp(15px, 1.45vw, 21px)/1.35 var(--sil); margin: 14px 14px 0 0; }
footer { border-top: 4px solid #2a2c2e; padding: 34px var(--pad) 46px; display: grid; gap: 12px; } footer p { max-width: 84ch; font-size: 15px; line-height: 1.6; color: #c9cdce; } footer nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } footer nav > * { border: 2px solid #7d8183; background: none; border-radius: 5px; color: #fff; text-decoration: none; min-height: 46px; padding: 6px 18px; display: inline-flex; align-items: center; cursor: pointer; } footer nav [hidden] { display: none; } footer nav > *:hover { background: #fff; color: #000; }

@media (max-width: 1100px) and (min-width: 821px) { :root { --u: 400px; } .r1 { grid-template-columns: repeat(4, 1fr); } .r1 .feed { grid-column: span 2; } .r2 { grid-template-columns: 1fr 1fr; } .oneu { grid-template-columns: auto 1fr; padding: 14px 34px; gap: 10px 20px; } .btns { justify-content: flex-start; max-width: none; } .leds i { width: 8px; height: 8px; } }
@media (max-width: 820px) {
  :root { --u: auto; } .case { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 6px 8px 10px; } .row { display: contents; } .oneu { grid-column: 1 / -1; grid-template-columns: auto 1fr; padding: 6px 12px 8px; min-height: 0; gap: 7px 14px; order: 0; } .oneu::before, .oneu::after { display: none; } h1 { font-size: clamp(27px, 8vw, 40px); } .hook { font-size: 13px; min-width: 0; width: auto; text-align: right; line-height: 1.2; } .msg { grid-column: 1 / -1; min-height: 40px; padding: 4px 10px; font-size: 13px; } .btns { order: 20; grid-column: 1 / -1; max-width: none; justify-content: flex-start; display: grid; grid-template-columns: repeat(3, 1fr); } .btns button { padding: 2px 4px; font-size: 13px; min-height: 40px; }
  .row .mod { height: auto; min-height: 0; } .mod::before, .mod::after { width: 11px; height: 11px; left: 5px; top: 5px; } .mod::after { left: auto; top: auto; right: 5px; bottom: 5px; } .t { top: 9px; font-size: 12px; } .l { font-size: 12px; }
  .feed { order: 1; grid-column: 1 / -1; padding: 28px 10px 10px; gap: 8px; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; } .feed .outs { grid-column: 1 / -1; gap: 4px 2px; } .feed .lcd { min-height: 46px; font-size: 12px; padding: 3px 7px; } .jack { width: 42px; height: 42px; }
  .gate { padding: 26px 8px 8px; gap: 6px; } .gate[data-m=g1], .gate[data-m=g2] { order: 2; } .logic[data-m=l1] { order: 3; } .bell { order: 4; } .print { order: 5; grid-column: 1 / -1; } .mod.gate[data-m=g3], .mod.gate[data-m=g4] { order: 6; } .logic[data-m=l2] { order: 7; } .scope { order: 8; } .hand { order: 9; grid-column: 1 / -1; }
  .knob { width: 70px; height: 70px; } .gate .lcd { font-size: 14px; padding: 0 4px; min-height: 28px; } .leds { gap: 3px; } .leds i { width: 8px; height: 8px; } .sw { min-height: 38px; gap: 4px; }
  .logic { padding: 26px 8px 8px; gap: 8px; } .logic .mode { grid-template-columns: 1fr 1fr 1fr; gap: 3px; } .logic .mode button { font-size: 12px; min-height: 38px; padding: 0; letter-spacing: -.04em; } .bell { padding: 26px 8px 8px; } .bell svg { max-height: 92px; } .bell .lcd { font-size: 18px; min-width: 52px; min-height: 34px; }
  .print { padding: 28px 8px 0; } .paper { min-height: 190px; padding: 12px 22px 18px; } .paper li { font-size: 13px; grid-template-columns: 4.9em minmax(0, 1fr) auto; } .scope { padding: 26px 8px 8px; min-height: 240px !important; } .hand { padding: 28px 10px 10px; } .fad .slot { min-height: 120px; }
  .pres { grid-template-columns: 1fr 1fr; } .pre { padding: 26px 10px 12px; } .pre p { font-size: 13px; min-height: 5.6em; } .pre b { font-size: 14px; } .pre canvas { height: 90px; } .wall { grid-template-columns: repeat(5, 1fr); } .wall span { font-size: 12px; } .how { grid-template-columns: 1fr; gap: 34px; } footer nav > * { flex: 1 1 100%; justify-content: center; }

}
@media (prefers-reduced-motion: reduce) { .bell.ding .ham, .bell.ding .dome { animation: none; } .sw g { transition: none; } }
