/*
 * Strömbrytaren
 * Layout: a sticky dark wall you walk along by scrolling (unit --u = 1% of its height),
 * then a 1:1 neon drawing where one SVG tube runs in the side gutters and bends above each project.
 */
:root {
  --ink: #0b0b0d;
  --ink-2: #111014;
  --paper: #f1efe9;
  --text: #d6d3cb;
  --dim: #a7a49d;
  --faint: #77746e;
  --line: rgba(255, 255, 255, .14);
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --tube: 'Tilt Neon', 'Arial Rounded MT Bold', sans-serif;
  --script: 'Neonderthaw', 'Brush Script MT', cursive;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --sb-top: var(--wp-admin--admin-bar--height, 0px);
  color-scheme: dark;
}

/* ---------- base ---------- */
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
img, video { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -100px; padding: 10px 14px; background: var(--paper); color: var(--ink); font: 500 13px/1 var(--mono); }
.skip-link:focus { top: calc(var(--sb-top) + 64px); }

/* ---------- floating controls ---------- */
.hud { position: fixed; z-index: 60; top: calc(var(--sb-top) + 14px + env(safe-area-inset-top, 0px)); left: max(14px, env(safe-area-inset-left, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.hud-right { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hud-menu { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hud-chip, .hud-menu a { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; box-sizing: border-box; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(10,10,12,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--paper); font: 500 12px/1 var(--mono); letter-spacing: .04em; text-decoration: none; cursor: pointer; white-space: nowrap; }
.hud-chip:hover, .hud-menu a:hover { border-color: rgba(255,255,255,.5); }
.hud-menu .current-menu-item a { border-color: rgba(255,255,255,.55); }

/* ---------- the wall ---------- */
.wall-track { position: relative; height: calc(100vh - var(--sb-top)); height: calc(100svh - var(--sb-top)); background: #050506; }
.wall-sticky { position: sticky; top: var(--sb-top); height: calc(100vh - var(--sb-top)); height: calc(100svh - var(--sb-top)); overflow: hidden; --u: calc((100vh - var(--sb-top)) / 100); --u: calc((100svh - var(--sb-top)) / 100); }
.wall {
  position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--u) * var(--wall-w)); will-change: transform;
  background-color: #111014;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 87.6%, #2a2830 87.6%, #2a2830 88.4%, #0c0b0e 88.4%, #08080a 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .22 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.004' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .52  0 0 0 0 .6  0 0 0 .13 0'/></filter><rect width='900' height='900' filter='url(%23m)'/></svg>");
}
.wall-cables { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wall-cables path { fill: none; stroke: #070708; stroke-width: calc(var(--u) * .32); stroke-linecap: round; }

.wall-sign { position: absolute; display: block; color: inherit; text-decoration: none; transform-origin: 50% 50%; }
.wall-sign .bb { position: absolute; inset: calc(var(--u) * -1.6) calc(var(--u) * -2); border: 1px solid rgba(255,255,255,.055); background-color: rgba(255,255,255,.012);
  background-image: radial-gradient(circle, #3a3940 0 38%, #1a1a1e 46%, transparent 52%), radial-gradient(circle, #3a3940 0 38%, #1a1a1e 46%, transparent 52%), radial-gradient(circle, #3a3940 0 38%, #1a1a1e 46%, transparent 52%), radial-gradient(circle, #3a3940 0 38%, #1a1a1e 46%, transparent 52%);
  background-size: calc(var(--u) * 1.4) calc(var(--u) * 1.4); background-repeat: no-repeat;
  background-position: calc(var(--u) * .5) calc(var(--u) * .5), calc(100% - var(--u) * .5) calc(var(--u) * .5), calc(var(--u) * .5) calc(100% - var(--u) * .5), calc(100% - var(--u) * .5) calc(100% - var(--u) * .5); }
.wall-sign .glow { position: absolute; left: 50%; top: 50%; width: 260%; height: 420%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--c) 0, transparent 100%); opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity 1.2s ease; }
.wall-sign .tx, .wall-head .tx { position: relative; display: block; white-space: nowrap; line-height: 1; font-size: calc(var(--u) * var(--s)); color: rgba(235,232,240,.13); text-shadow: 0 1px 0 rgba(0,0,0,.7); transition: color .2s; }
.wall-sign .tx { font-family: var(--tube); }
.wall-sign svg { position: relative; display: block; width: calc(var(--u) * 8); height: calc(var(--u) * 8); margin: 0 auto calc(var(--u) * 1.2); overflow: visible; }
.wall-sign svg path { fill: none; stroke: rgba(235,232,240,.13); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wall-head { position: absolute; margin: 0; font-weight: 400; pointer-events: none; }
.wall-head .tx.script { font-family: var(--script); line-height: 1.1; }
.wall-head .tx.tube { font-family: var(--tube); }

.lit .tx { color: var(--core); text-shadow: 0 0 .03em #fff, 0 0 .1em var(--c), 0 0 .24em var(--c), 0 0 .55em var(--c), 0 0 1.2em var(--c); }
.lit svg path { stroke: var(--core); filter: drop-shadow(0 0 2px var(--c)) drop-shadow(0 0 7px var(--c)) drop-shadow(0 0 18px var(--c)); }
.lit .glow { opacity: .34; }
.wall-sign.lit:hover .glow, .wall-sign.lit:focus-visible .glow { opacity: .55; }
.wall-sign.lit:hover .tx, .wall-sign.lit:focus-visible .tx { text-shadow: 0 0 .03em #fff, 0 0 .1em var(--c), 0 0 .3em var(--c), 0 0 .7em var(--c), 0 0 1.6em var(--c), 0 0 3em var(--c); }
.wall-sign:hover, .wall-sign:focus-visible { z-index: 3; }
.wall-sign:focus-visible { outline: none; }
.wall-sign:focus-visible .bb { border-color: rgba(255,255,255,.45); }
.striking { animation: sb-strike .72s steps(1, end) both; }
@keyframes sb-strike { 0% { opacity: .15; } 12% { opacity: 1; } 22% { opacity: .3; } 30% { opacity: .85; } 46% { opacity: .4; } 58%, 100% { opacity: 1; } }
.dying { animation: sb-die .5s ease-out both; }
@keyframes sb-die { 0% { opacity: 1; } 18% { opacity: .35; } 26% { opacity: .8; } 100% { opacity: 1; } }
.sb-bad { animation: sb-bad 5.3s steps(1, end) infinite; }
@keyframes sb-bad { 0%, 86%, 100% { opacity: 1; } 87% { opacity: .25; } 89% { opacity: .9; } 90% { opacity: .2; } 93% { opacity: 1; } }

.wall-label { position: absolute; left: 0; top: calc(100% + var(--u) * 3.2); z-index: 5; display: flex; flex-direction: column; gap: 4px; width: max-content; max-width: 300px; padding: 12px 14px; background: #efece4; color: #1b1a17; box-shadow: 0 10px 30px rgba(0,0,0,.6); font: 400 12px/1.45 var(--mono); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; text-shadow: none; white-space: normal; }
.wall-label b { font: 700 16px/1.2 var(--display); font-stretch: 85%; }
.wall-sign:hover .wall-label, .wall-sign:focus-visible .wall-label { opacity: 1; transform: none; }

.wall-switch { position: absolute; width: calc(var(--u) * 9); height: calc(var(--u) * 9); padding: 0; border: 0; border-radius: calc(var(--u) * .8); cursor: pointer; background: linear-gradient(160deg, #f2eee4, #d8d3c6); box-shadow: inset 0 calc(var(--u) * .15) 0 rgba(255,255,255,.7), 0 calc(var(--u) * .5) calc(var(--u) * 1.2) rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.25); }
.wall-switch .rk { position: absolute; inset: 22%; border-radius: calc(var(--u) * .4); background: linear-gradient(180deg, #e2ddd0 0, #f7f4ec 48%, #d4cfc1 52%, #ebe7dc 100%); box-shadow: 0 calc(var(--u) * .35) 0 #b8b2a4, inset 0 -1px 0 rgba(0,0,0,.1); }
.wall-switch[aria-pressed="true"] .rk { background: linear-gradient(180deg, #d4cfc1 0, #ebe7dc 48%, #f7f4ec 52%, #e2ddd0 100%); box-shadow: 0 calc(var(--u) * -.35) 0 #b8b2a4, inset 0 1px 0 rgba(0,0,0,.1); }
.wall-switch .glim { position: absolute; z-index: 8; left: 50%; top: 9%; width: calc(var(--u) * .7); height: calc(var(--u) * .7); margin-left: calc(var(--u) * -.35); border-radius: 50%; background: #ff8a2a; box-shadow: 0 0 calc(var(--u) * .6) #ff8a2a, 0 0 calc(var(--u) * 2) #ff6a00, 0 0 calc(var(--u) * 5) rgba(255,106,0,.5); transition: opacity .3s; }
.wall-switch[aria-pressed="true"] .glim { opacity: .06; box-shadow: none; }
.wall-switch:focus-visible { outline: 2px solid #ff8a2a; outline-offset: 6px; }
.wall-glimhalo { position: absolute; z-index: 7; width: calc(var(--u) * 14); height: calc(var(--u) * 14); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,120,30,.22), transparent); pointer-events: none; transition: opacity .4s; }
.wall-torch { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle calc(var(--u) * 26) at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.05) 0, rgba(0,0,0,.6) 48%, rgba(0,0,0,.975) 100%); transition: opacity 1.4s ease; }
.on .wall-torch, .on .wall-glimhalo { opacity: 0; }

.wall-hint { position: absolute; z-index: 50; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 14px; align-items: center; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(10,10,12,.7); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 400 12px/1.3 var(--mono); color: #cfccc4; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; }
.wall-hint button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--paper); font: inherit; cursor: pointer; }
.wall-hint button:hover { background: rgba(255,255,255,.1); }

/* without JS: lights on, wall scrolls sideways */
html:not(.js) .wall-sticky { position: relative; overflow-x: auto; }
html:not(.js) .wall-torch, html:not(.js) .wall-hint, html:not(.js) .wall-glimhalo { display: none; }
html:not(.js) .lamp .tx { color: var(--core); text-shadow: 0 0 .03em #fff, 0 0 .1em var(--c), 0 0 .3em var(--c), 0 0 .7em var(--c); }

/* ---------- the tube ---------- */
.tube-page { position: relative; overflow: clip;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px; }
.tube-svg { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; }
.tube-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tube-svg .glass { stroke: rgba(255,255,255,.1); stroke-width: 7; }
.tube-svg .g3 { stroke: var(--c); stroke-width: 34; opacity: .09; }
.tube-svg .g2 { stroke: var(--c); stroke-width: 15; opacity: .26; }
.tube-svg .g1 { stroke: var(--c); stroke-width: 6.5; }
.tube-svg .core { stroke: #fff; stroke-width: 2.2; opacity: .8; }
.tube-svg .paint { stroke: #050506; stroke-width: 8.5; }
.tube-svg .wire { stroke: #2a2a30; stroke-width: 1.5; }
.tube-svg .elec { fill: url(#sb-metal); stroke: #111; stroke-width: 1; }
.tube-svg .front { fill: #fff; }
.tube-svg .front-glow { fill: var(--c); opacity: .5; }

.tube-inner { position: relative; z-index: 3; max-width: 1180px; margin: 0 auto; padding-left: max(52px, 7vw, env(safe-area-inset-left, 0px)); padding-right: max(52px, 7vw, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
.tube-hero { padding-block: calc(var(--sb-top) + 110px) 40px; display: flex; flex-direction: column; gap: 22px; outline: none; }
.tube-block { align-self: flex-end; display: grid; grid-template-columns: auto auto; margin: 0; border: 1px solid rgba(255,255,255,.22); font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tube-block dt, .tube-block dd { margin: 0; padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.22); }
.tube-block dt { border-right: 1px solid rgba(255,255,255,.22); }
.tube-block dd { color: var(--paper); }
.tube-block dt:nth-last-of-type(1), .tube-block dd:nth-last-of-type(1) { border-bottom: 0; }
.tube-h { margin: 0; font: 800 clamp(64px, 11vw, 176px)/.84 var(--display); font-stretch: 62%; letter-spacing: -.01em; text-transform: uppercase; color: #f4f1ea; text-wrap: balance; }
.neon-h { margin: 0; font: 400 clamp(56px, 9vw, 140px)/1 var(--tube); color: var(--core); text-shadow: 0 0 .03em #fff, 0 0 .1em var(--c), 0 0 .3em var(--c), 0 0 .7em var(--c); text-wrap: balance; }
.tube-start { height: 70px; }
.tube-lede { margin: 0; max-width: 44ch; font: 400 clamp(18px, 1.6vw, 22px)/1.5 var(--display); color: #cfccc4; }
.tube-hint { margin: 0; padding-top: 14px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8d8a84; }
.tube-meta { margin: 0; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9d9a93; }

.tube-sec { position: relative; }
.tube-bend { position: relative; height: 300px; }
.tube-note { position: absolute; left: 0; top: 34px; font: 400 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.tube-note b { color: var(--c); font-weight: 500; }
.tube-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-bottom: 40px; }
.tube-sec:nth-of-type(even) .tube-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.tube-sec:nth-of-type(even) .tube-media { order: 2; }
.tube-media { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: #000; filter: brightness(.32) saturate(.4); transition: filter 1s ease, box-shadow 1s ease; }
.tube-media img, .tube-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-nomedia { position: absolute; inset: 0; display: grid; place-items: center; font: 400 11px/1.4 var(--mono); color: var(--faint); background: repeating-linear-gradient(135deg, #0d0d10 0 12px, #121216 12px 24px); }
.tube-txt { display: flex; flex-direction: column; gap: 14px; min-width: 0; container-type: inline-size; }
.tube-title { margin: 0; font: 800 clamp(36px, 15cqi, 88px)/.9 var(--display); font-stretch: 64%; text-transform: uppercase; color: #6d6a65; transition: color .6s, text-shadow .6s; overflow-wrap: break-word; }
.tube-title a { text-decoration: none; }
.tube-full { margin: -4px 0 0; font: 500 15px/1.4 var(--display); color: var(--dim); }
.tube-excerpt { margin: 0; font: 400 17px/1.6 var(--display); color: #c9c6be; max-width: 42ch; }
.tube-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tube-chips li { padding: 5px 9px; border: 1px solid rgba(255,255,255,.16); font: 400 10px/1.3 var(--mono); color: #c9c6be; }
.tube-more { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 18px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.25); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: border-color .3s, background .3s; }
.tube-more:hover { border-color: var(--c); background: rgba(255,255,255,.04); }
.tube-sec.lit .tube-media { filter: none; box-shadow: 0 0 120px -30px var(--c); }
.tube-sec.lit .tube-title { color: var(--core); text-shadow: 0 0 .04em #fff, 0 0 .12em var(--c), 0 0 .4em var(--c); }
.tube-sec.lit .tube-more { border-color: var(--c); }
html:not(.js) .tube-media { filter: none; }
html:not(.js) .tube-title { color: var(--core); }

/* ---------- single project and pages ---------- */
.tube-single .tube-bend { height: 260px; }
.single-media { margin: 0 0 56px; overflow: hidden; background: #000; box-shadow: 0 0 140px -40px var(--c); }
.single-media img, .single-media video { display: block; width: 100%; height: auto; }
.single-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-bottom: 40px; }
.single-body.is-page { grid-template-columns: minmax(0, 1fr); }
.single-facts dl { position: sticky; top: calc(var(--sb-top) + 80px); margin: 0; display: grid; gap: 4px; font: 400 11px/1.5 var(--mono); }
.single-facts dt { color: var(--c); letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }
.single-facts dd { margin: 0 0 14px; color: var(--text); }

.entry-content { max-width: 68ch; color: var(--text); font-size: 18px; line-height: 1.7; overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; font: 800 clamp(28px, 3vw, 40px)/1.05 var(--display); font-stretch: 70%; text-transform: uppercase; color: var(--paper); }
.entry-content h3 { font-size: clamp(22px, 2.2vw, 28px); }
.entry-content a { color: var(--core); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content strong { color: var(--paper); }
.entry-content figure { margin-inline: 0; }
.entry-content img, .entry-content video { display: block; border-radius: 2px; }
.entry-content .wp-block-video video, .entry-content .wp-block-image img { width: 100%; }
.entry-content figcaption { margin-top: 8px; font: 400 11px/1.5 var(--mono); color: var(--dim); }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.entry-content blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--c); color: var(--paper); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }

/* ---------- end of the tube ---------- */
.tube-foot { padding-block: 180px 80px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.tube-next { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-bottom: 120px; text-decoration: none; }
.tube-next span { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.tube-next b { font: 400 clamp(40px, 6vw, 84px)/1 var(--tube); color: var(--core); text-shadow: 0 0 .03em #fff, 0 0 .1em var(--c), 0 0 .3em var(--c), 0 0 .7em var(--c); }
.tube-next:hover b { text-shadow: 0 0 .03em #fff, 0 0 .1em var(--c), 0 0 .4em var(--c), 0 0 1em var(--c), 0 0 2em var(--c); }
.tube-end { width: 220px; padding: 18px 16px; background: linear-gradient(170deg, #3a3a40, #1c1c20); border: 1px solid #4a4a52; border-radius: 4px; font: 500 10px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #d7d4cc; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.tube-end b { display: block; font-size: 14px; color: #ffd23d; }
.tube-foot h2 { margin: 24px 0 0; font: 800 clamp(48px, 7vw, 110px)/.9 var(--display); font-stretch: 62%; text-transform: uppercase; }
.tube-mail { margin: 0; font: 400 16px/1.6 var(--mono); }
.tube-mail a { text-underline-offset: 4px; }
.tube-copy { margin: 40px 0 0; font: 400 11px/1 var(--mono); color: var(--faint); }

.navigation.pagination { padding-top: 120px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font: 500 12px/1 var(--mono); }
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; }
.navigation.pagination .current { border-color: var(--paper); }

/* ---------- 404 ---------- */
.sb-404 { min-height: calc(100vh - var(--sb-top)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 120px 16px 60px; box-sizing: border-box; text-align: center; background: radial-gradient(ellipse at 50% 40%, rgba(255,46,77,.12), transparent 60%), #0b0a0d; }
.sign-404 { margin: 0; }
.sign-404 .tx { font: 400 clamp(120px, 24vw, 280px)/1 var(--tube); }
.sb-404 h1 { margin: 0; font: 400 14px/1.5 var(--mono); color: var(--dim); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .tube-inner { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
  .tube-bend, .tube-single .tube-bend { height: 220px; }
  .tube-row, .tube-sec:nth-of-type(even) .tube-row { grid-template-columns: minmax(0, 1fr); }
  .tube-sec:nth-of-type(even) .tube-media { order: 0; }
  .tube-svg .g3 { stroke-width: 22; }
  .single-body { grid-template-columns: minmax(0, 1fr); }
  .single-facts dl { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .hud-home { display: none; }
  .wall-hint { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .striking, .dying, .sb-bad { animation: none !important; }
  .wall-sign .glow, .tube-media, .tube-title, .wall-torch { transition: none !important; }
}
