/* =====================================================================
   Ciarox Portfolio – Design-System (angelehnt an haustechnik-bohrer.de)
   ===================================================================== */
:root {
  --bg: #0a0d12;
  --bg-2: #0e1219;
  --bg-3: #131823;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e8ebf2;
  --dim: #9aa4b5;
  --mute: #6b7588;
  --blue: #2d8cf0;
  --blue-2: #005fab;
  --blue-deep: #003566;
  --yellow: #ffd700;
  --yellow-2: #ffb800;
  --green: #3ddc97;
  --red: #ff5f56;
  --purple: #a78bfa;
  --ring: rgba(45, 140, 240, .45);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-head: 'Archivo Variable', 'Archivo', 'Instrument Sans Variable', system-ui, sans-serif;
  --font-body: 'Instrument Sans Variable', 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --nav-h: 72px;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: rgba(255, 215, 0, .85); color: #111; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
code, kbd, pre { font-family: var(--font-mono); }
.mono { font-family: var(--font-mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.hide-sm { }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--yellow); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Hintergrund ---------- */
.bg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(0, 95, 171, .28), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 215, 0, .05), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(0, 95, 171, .18), transparent 60%);
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 140, 240, .13), transparent 65%);
  pointer-events: none; z-index: -1; transform: translate3d(-999px, -999px, 0); transition: opacity .4s; will-change: transform;
}
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--yellow)); box-shadow: 0 0 12px rgba(255, 215, 0, .6); }

/* ---------- Boot ---------- */
.boot { position: fixed; inset: 0; z-index: 500; background: var(--bg); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot__inner { width: min(560px, 90vw); }
.boot__logo { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, var(--blue-2), var(--blue-deep)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 0 40px rgba(45, 140, 240, .45); animation: bootPulse 1.4s ease-in-out infinite; }
.boot__logo span { font: 800 22px var(--font-head); color: #fff; letter-spacing: -.02em; }
.boot__log { margin: 0 0 18px; font-size: 12.5px; line-height: 1.75; color: var(--dim); min-height: 11.5em; white-space: pre-wrap; }
.boot__log .ok { color: var(--green); }
.boot__log .y { color: var(--yellow); }
.boot__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.boot__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .25s linear; }
.boot__skip { margin-top: 18px; background: none; border: 0; color: var(--mute); font: 500 12px var(--font-mono); padding: 4px 0; }
.boot__skip:hover { color: var(--text); }
@keyframes bootPulse { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 70px rgba(45, 140, 240, .7); } }

/* ---------- Buttons / Pills ---------- */
.btn {
  --bg-btn: var(--panel-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--bg-btn); font-weight: 650; font-size: 15px; letter-spacing: .005em; white-space: nowrap;
  transition: transform .35s var(--spring), background .25s, border-color .25s, box-shadow .3s;
  isolation: isolate; overflow: hidden;
}
.btn svg { font-size: 18px; transition: transform .3s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: linear-gradient(180deg, #ffe14d, var(--yellow) 45%, var(--yellow-2)); color: #14120a; border-color: rgba(255, 230, 120, .6); box-shadow: 0 10px 30px -10px rgba(255, 215, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(255, 215, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(45, 140, 240, .12); border-color: rgba(45, 140, 240, .5); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; gap: 8px; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #1b9e5a; box-shadow: 0 0 0 0 rgba(27, 158, 90, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(27, 158, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 158, 90, 0); } }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 215, 0, .35); background: rgba(255, 215, 0, .06); color: var(--yellow); font: 600 12px/1 var(--font-mono); letter-spacing: .12em; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 12px var(--pad) 0; transition: transform .4s var(--ease); }
.nav__wrap {
  max-width: calc(var(--wrap) - 2 * 0px); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 12px; border-radius: 18px; border: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.scrolled .nav__wrap { background: rgba(12, 16, 23, .72); border-color: var(--line); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue-deep)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 24px -8px rgba(45, 140, 240, .8); transition: transform .5s var(--spring); }
.brand__mark svg { width: 30px; height: 30px; stroke-width: 0; }
.brand__mark svg * { stroke-width: 2.2; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text b { font: 800 17px var(--font-head); letter-spacing: -.01em; }
.brand__text small { font: 500 11px var(--font-mono); color: var(--mute); }
.nav__links { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 14px; }
.nav__links a { position: relative; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 550; color: var(--dim); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: var(--panel); }
.nav__links a.active { color: var(--text); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.nav__links a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.kbd-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--dim); font-size: 14px; transition: border-color .2s, color .2s; }
.kbd-btn:hover { border-color: var(--line-2); color: var(--text); }
.kbd-btn svg { font-size: 16px; }
kbd { display: inline-flex; align-items: center; padding: 2px 6px; min-height: 20px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: rgba(255, 255, 255, .04); font-size: 11px; color: var(--dim); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--spring), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(8, 11, 16, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: calc(var(--nav-h) + 30px) var(--pad) 30px; display: flex; flex-direction: column; justify-content: space-between; animation: fadeIn .3s var(--ease); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 800 clamp(28px, 8vw, 40px)/1.1 var(--font-head); letter-spacing: -.02em; opacity: 0; transform: translateY(14px); animation: menuIn .5s var(--ease) forwards; }
.mobile-menu nav a i { font: 500 13px var(--font-mono); color: var(--yellow); font-style: normal; }
.mobile-menu nav a:nth-child(2) { animation-delay: .04s; } .mobile-menu nav a:nth-child(3) { animation-delay: .08s; } .mobile-menu nav a:nth-child(4) { animation-delay: .12s; } .mobile-menu nav a:nth-child(5) { animation-delay: .16s; } .mobile-menu nav a:nth-child(6) { animation-delay: .2s; }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title { font: 800 clamp(40px, 6.4vw, 84px)/.98 var(--font-head); letter-spacing: -.035em; margin: 22px 0 22px; }
.hero__title > span { display: block; }
.hero__hl { background: linear-gradient(92deg, var(--yellow) 10%, #ffe98a 45%, var(--yellow-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(255, 215, 0, .2)); }
.hero__text { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--dim); max-width: 560px; margin: 0 0 24px; }
.hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 28px; }
.status-chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 10px; border: 1px solid rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .07); color: #b8f5d9; font-size: 13.5px; font-weight: 600; }
.status-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 2s infinite; }
.status-chip.off { border-color: rgba(255, 95, 86, .3); background: rgba(255, 95, 86, .07); color: #ffc9c6; }
.status-chip.off i { background: var(--red); box-shadow: 0 0 10px var(--red); }
@keyframes blink { 50% { opacity: .35; } }
.hero__rotator { font: 500 14px var(--font-mono); color: var(--mute); }
.hero__rotator b { color: var(--text); font-weight: 600; }
.caret { display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--yellow); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); overflow: hidden; }
.hero__stats div { padding: 16px 18px; border-right: 1px solid var(--line); }
.hero__stats div:last-child { border-right: 0; }
.hero__stats dt { font: 800 clamp(24px, 2.6vw, 32px)/1 var(--font-head); letter-spacing: -.02em; }
.hero__stats dt em { font-style: normal; color: var(--yellow); }
.hero__stats dd { margin: 6px 0 0; font-size: 12.5px; color: var(--mute); line-height: 1.3; }

/* Glitch */
.glitch { position: relative; }
.glitch.run::before, .glitch.run::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.glitch.run::before { color: #3ae; transform: translate(-2px, 0); clip-path: inset(10% 0 55% 0); animation: gl1 .45s steps(2) 1; mix-blend-mode: screen; }
.glitch.run::after { color: var(--yellow); transform: translate(2px, 0); clip-path: inset(60% 0 8% 0); animation: gl2 .45s steps(2) 1; mix-blend-mode: screen; }
.glitch.run::before, .glitch.run::after { opacity: 0; animation-fill-mode: none; }
@keyframes gl1 { 0% { opacity: 1; clip-path: inset(10% 0 70% 0); } 50% { opacity: 1; clip-path: inset(40% 0 30% 0); transform: translate(-4px, 1px); } 99% { opacity: 1; clip-path: inset(80% 0 2% 0); } 100% { opacity: 0; } }
@keyframes gl2 { 0% { opacity: 1; clip-path: inset(70% 0 10% 0); } 50% { opacity: 1; clip-path: inset(20% 0 60% 0); transform: translate(4px, -1px); } 99% { opacity: 1; clip-path: inset(2% 0 85% 0); } 100% { opacity: 0; } }

/* IDE */
.hero__visual { position: relative; perspective: 1400px; }
.ide {
  position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 26, 37, .92), rgba(12, 16, 23, .95)); border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 80px -30px rgba(45, 140, 240, .5);
  overflow: hidden; transform: rotateY(-7deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s var(--ease);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__visual:hover .ide { transform: rotateY(-2deg) rotateX(1deg); }
.ide::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .06), transparent 30%); }
.ide__bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.ide__dots { display: flex; gap: 7px; flex: none; }
.ide__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ide__dots i:nth-child(2) { background: #febc2e; }
.ide__dots i:nth-child(3) { background: #28c840; }
.ide__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.ide__tabs::-webkit-scrollbar { display: none; }
.ide__tab { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; border: 0; background: none; font: 500 12.5px var(--font-mono); color: var(--mute); transition: background .2s, color .2s; }
.ide__tab::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: #3b82f6; }
.ide__tab[aria-selected="true"] { background: rgba(255, 255, 255, .07); color: var(--text); }
.ide__tab:hover { color: var(--text); }
.ide__run { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: rgba(61, 220, 151, .1); }
.ide__run svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.ide__run.busy { color: var(--yellow); background: rgba(255, 215, 0, .1); animation: blink 0.8s infinite; }
.ide__body { display: flex; height: clamp(290px, 34vw, 360px); font: 400 13px/1.7 var(--font-mono); }
.ide__gutter { flex: none; width: 46px; padding: 14px 10px 14px 0; text-align: right; color: #3c4658; border-right: 1px solid var(--line); user-select: none; white-space: pre; overflow: hidden; }
.ide__code { margin: 0; flex: 1; padding: 14px 16px; overflow: hidden; color: #cdd6e4; white-space: pre; tab-size: 2; }
.ide__code .cur { display: inline-block; width: 2px; height: 1.2em; vertical-align: -3px; background: var(--yellow); animation: caret 1s steps(1) infinite; margin-left: 1px; }
.ide__status { display: flex; gap: 16px; align-items: center; height: 30px; padding: 0 14px; border-top: 1px solid var(--line); background: var(--blue-2); color: rgba(255, 255, 255, .88); font: 500 11.5px var(--font-mono); overflow: hidden; white-space: nowrap; }
.ide__status span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.ide__status span:nth-child(3) { margin-left: auto; }
/* Lua-Highlighting */
.tk-k { color: #c792ea; }
.tk-s { color: #c3e88d; }
.tk-c { color: #5c6b85; font-style: italic; }
.tk-n { color: #f78c6c; }
.tk-f { color: #82aaff; }
.tk-g { color: #ffcb6b; }
.tk-b { color: #89ddff; }
.tk-o { color: #89ddff; }

/* Vorschau */
.preview {
  position: absolute; right: -18px; bottom: -46px; width: min(300px, 62%); border-radius: 16px; z-index: 3;
  background: rgba(13, 17, 25, .9); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9), 0 0 40px -10px rgba(255, 215, 0, .25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; transform: translateZ(60px);
}
.preview__head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 500 11px var(--font-mono); color: var(--mute); }
.preview__state { color: var(--yellow); }
.preview__state.ok { color: var(--green); }
.preview__stage { position: relative; height: 150px; padding: 14px; background: radial-gradient(circle at 70% 20%, rgba(45, 140, 240, .18), transparent 60%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 22px); overflow: hidden; }
.pv { position: absolute; inset: 14px; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pv.show { opacity: 1; transform: none; }
.pv-hud { display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; }
.pv-hud .row { display: flex; align-items: center; gap: 8px; font: 700 11px var(--font-mono); }
.pv-hud .bar { flex: 1; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pv-hud .bar i { display: block; height: 100%; border-radius: 5px; transition: width .8s var(--ease); }
.pv-hud .hp i { background: linear-gradient(90deg, #ff4d5e, #ff8a65); }
.pv-hud .ar i { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.pv-hud .money { position: absolute; top: 0; right: 0; font: 800 18px var(--font-head); color: var(--green); }
.pv-hud .job { position: absolute; top: 0; left: 0; padding: 4px 9px; border-radius: 6px; background: rgba(255, 215, 0, .12); color: var(--yellow); font: 600 11px var(--font-mono); }
.pv-frame { border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(16, 21, 30, .85); backdrop-filter: blur(4px); overflow: hidden; }
.pv-frame .t { display: flex; justify-content: space-between; padding: 7px 10px; background: rgba(255, 95, 86, .15); font: 700 11px var(--font-mono); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pv-frame .b { padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv-frame .b span { height: 34px; border-radius: 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .06); animation: shimmer 1.6s infinite; background-size: 200% 100%; background-image: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); }
.pv-frame .b span:nth-child(2) { animation-delay: .1s; } .pv-frame .b span:nth-child(3) { animation-delay: .2s; } .pv-frame .b span:nth-child(4) { animation-delay: .3s; } .pv-frame .b span:nth-child(5) { animation-delay: .4s; } .pv-frame .b span:nth-child(6) { animation-delay: .5s; }
@keyframes shimmer { to { background-position: -200% 0; } }
.pv-net { display: flex; flex-direction: column; gap: 6px; font: 500 11px/1.4 var(--font-mono); }
.pv-net div { display: flex; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .04); opacity: 0; transform: translateX(-8px); }
.pv-net.show div { animation: slideIn .4s var(--ease) forwards; }
.pv-net.show div:nth-child(2) { animation-delay: .25s; } .pv-net.show div:nth-child(3) { animation-delay: .5s; } .pv-net.show div:nth-child(4) { animation-delay: .75s; }
.pv-net b { color: var(--green); } .pv-net em { color: var(--red); font-style: normal; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

.float-chip { position: absolute; z-index: 4; padding: 8px 12px; border-radius: 11px; background: rgba(13, 17, 25, .85); border: 1px solid var(--line-2); font: 500 12px var(--font-mono); color: var(--dim); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: inline-flex; gap: 7px; align-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); animation: floaty 6s ease-in-out infinite; }
.float-chip b { color: var(--yellow); }
.float-chip--a { left: -26px; top: 18%; }
.float-chip--b { left: 8%; bottom: -26px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid var(--line-2); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; font: 600 15px var(--font-mono); color: var(--dim); white-space: nowrap; }
.marquee__track span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.marquee__track span:nth-child(3n)::before { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .018) 12%, rgba(255, 255, 255, .018) 88%, transparent); }
.sec-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.sec-head h2, .contact h2 { font: 800 clamp(32px, 4.6vw, 56px)/1.04 var(--font-head); letter-spacing: -.03em; margin: 14px 0 16px; }
.sec-head p { color: var(--dim); font-size: clamp(15.5px, 1.4vw, 17.5px); margin: 0 auto; max-width: 620px; }
.sec-head p code, .contact p code { color: var(--yellow); background: rgba(255, 215, 0, .08); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.sec-head h2::after { content: ''; display: block; width: 64px; height: 3px; margin: 22px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--yellow)); }
.sec-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--font-mono); color: var(--mute); }
.sec-kicker i { font-style: normal; color: var(--yellow); padding: 3px 8px; border-radius: 7px; border: 1px solid rgba(255, 215, 0, .3); background: rgba(255, 215, 0, .06); }
.grad { background: linear-gradient(92deg, #6cb4ff, var(--blue) 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--y { background-image: linear-gradient(92deg, var(--yellow), var(--yellow-2)); }
.inline-cmd { font: 700 .62em var(--font-mono); padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--green); vertical-align: middle; letter-spacing: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 11px; background: none; color: var(--dim); font-weight: 600; font-size: 14.5px; transition: color .25s; }
.seg button svg { font-size: 16px; }
.seg button b { font: 600 11.5px var(--font-mono); padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--mute); transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { color: #111; }
.seg button[aria-selected="true"] b { background: rgba(0, 0, 0, .14); color: #222; }
.seg__glider { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 11px; background: linear-gradient(180deg, #ffe14d, var(--yellow)); box-shadow: 0 6px 20px -6px rgba(255, 215, 0, .6); transition: transform .45s var(--spring), width .45s var(--spring); }
.search { position: relative; display: flex; align-items: center; flex: 0 1 320px; }
.search svg { position: absolute; left: 14px; font-size: 17px; color: var(--mute); pointer-events: none; }
.search input { width: 100%; height: 50px; padding: 0 16px 0 42px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font: 500 14px var(--font-mono); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.search input:focus { border-color: rgba(45, 140, 240, .6); box-shadow: 0 0 0 4px rgba(45, 140, 240, .15); background: rgba(255, 255, 255, .05); }
.search input::placeholder { color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; min-height: 36px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 13.5px; font-weight: 550; transition: all .25s var(--ease); animation: chipIn .4s var(--ease) both; }
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip[aria-pressed="true"] { border-color: rgba(45, 140, 240, .6); background: rgba(45, 140, 240, .14); color: #cfe6ff; }
.chip small { margin-left: 4px; color: var(--mute); font-family: var(--font-mono); }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px) scale(.96); } }

/* ---------- Projekt-Grid ---------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; grid-auto-flow: dense; }
.card {
  --mx: 50%; --my: 50%; --glow: #2d8cf0;
  position: relative; grid-column: span 4; display: flex; flex-direction: column; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); overflow: hidden; cursor: pointer; isolation: isolate; text-align: left; padding: 0; color: inherit;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .4s, opacity .35s;
  transform-style: preserve-3d; will-change: transform;
}
.card.is-wide { grid-column: span 8; }
.card::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 45%); }
.card::after { content: ''; position: absolute; inset: -1px; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .35s; background: radial-gradient(300px circle at var(--mx) var(--my), var(--glow), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover { border-color: var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 60px -30px var(--glow); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.card.is-wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.card.is-wide .card__media { aspect-ratio: auto; min-height: 300px; height: 100%; }
.card.is-wide .card__media::after { background: linear-gradient(90deg, transparent 55%, rgba(10, 13, 18, .6)); }
.card.is-wide .card__body { justify-content: center; padding: 28px 30px 30px; gap: 10px; }
.card.is-wide .card__sub { font-size: 15.5px; }
.card.is-wide .card__tags { margin-top: 8px; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease), opacity .6s; opacity: 0; }
.card__media img.loaded { opacity: 1; }
.card__media img.contain { object-fit: contain; padding: 8%; }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 13, 18, .85)); pointer-events: none; }
.card__badges { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 9px; background: rgba(10, 13, 18, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 11.5px var(--font-mono); color: var(--text); }
.badge svg { font-size: 13px; }
.badge--y { color: var(--yellow); border-color: rgba(255, 215, 0, .35); }
.badge--b { color: #9ccfff; border-color: rgba(45, 140, 240, .4); }
.card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.card__cat { font: 500 12px var(--font-mono); color: var(--mute); display: flex; align-items: center; gap: 8px; }
.card__cat::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.card__title { font: 750 21px/1.2 var(--font-head); letter-spacing: -.015em; margin: 0; }
.card.is-wide .card__title { font-size: 26px; }
.card__sub { color: var(--dim); font-size: 14.5px; margin: 0; line-height: 1.5; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tag { font: 500 11.5px var(--font-mono); padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, .05); color: var(--dim); border: 1px solid var(--line); }
.card__go { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); color: #111; transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .45s var(--spring), opacity .3s; }
.card__go svg { font-size: 18px; }
.card:hover .card__go, .card:focus-visible .card__go { transform: none; opacity: 1; }
.card.hide { display: none; }

/* generiertes Code-Cover */
.codecover { position: absolute; inset: 0; padding: 18px 20px; font: 500 11.5px/1.75 var(--font-mono); color: #5e6c84; overflow: hidden; background: radial-gradient(500px 260px at 85% 10%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%), linear-gradient(160deg, #111827, #0b0f16); }
.codecover pre { margin: 0; white-space: pre; transition: transform 1.2s var(--ease); }
.card:hover .codecover pre { transform: translateY(-14px); }
.codecover .big { position: absolute; right: 16px; bottom: 14px; font: 900 clamp(48px, 7vw, 86px)/1 var(--font-head); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18); }
.codecover .play { position: absolute; left: 50%; top: 46%; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); color: #fff; transition: transform .4s var(--spring), background .3s; }
.codecover .play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-left: 3px; }
.card:hover .codecover .play { transform: scale(1.12); background: var(--red); border-color: var(--red); }

.empty { text-align: center; color: var(--dim); padding: 40px 0; }
.empty code { color: var(--yellow); }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(50px, 7vw, 90px); }
.skill-group { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: 24px; position: relative; overflow: hidden; }
.skill-group::before { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 140, 240, .22), transparent 70%); }
.skill-group:nth-child(2)::before { background: radial-gradient(circle, rgba(255, 215, 0, .14), transparent 70%); }
.skill-group h3 { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; font: 750 20px var(--font-head); }
.skill-group h3 small { font: 500 12px var(--font-mono); color: var(--mute); }
.skill { position: relative; display: block; width: 100%; padding: 12px 14px; margin: 0 -14px; width: calc(100% + 28px); border: 0; border-radius: 12px; background: none; text-align: left; transition: background .25s; }
.skill:hover, .skill.open { background: rgba(255, 255, 255, .04); }
.skill__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; font-weight: 600; font-size: 15px; }
.skill__top span:last-child { font: 600 12.5px var(--font-mono); color: var(--mute); }
.leds { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; }
.leds i { height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .06); transition: background .3s, box-shadow .3s; transition-delay: calc(var(--n) * 22ms); }
.skill-group.in .leds i.on { background: var(--c, var(--blue)); box-shadow: 0 0 8px -1px var(--c, var(--blue)); }
.skill__note { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease), opacity .3s; opacity: 0; color: var(--dim); font-size: 13.5px; }
.skill__note > span { overflow: hidden; }
.skill.open .skill__note, .skill:hover .skill__note { grid-template-rows: 1fr; opacity: 1; }
.skill.open .skill__note > span, .skill:hover .skill__note > span { padding-top: 8px; }

.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 50px); align-items: start; }
.about .sec-kicker { margin-bottom: 14px; }
.rich { color: #c9d0dc; font-size: 16.5px; }
.rich p { margin: 0 0 1em; }
.rich a { color: #8cc6ff; text-decoration: underline; text-decoration-color: rgba(140, 198, 255, .35); text-underline-offset: 3px; }
.rich a:hover { text-decoration-color: currentColor; }
.rich strong { color: #fff; }
.rich h2 { font: 750 24px/1.25 var(--font-head); margin: 1.6em 0 .6em; letter-spacing: -.015em; }
.rich h3 { font: 700 19px/1.3 var(--font-head); margin: 1.4em 0 .5em; }
.rich h4 { font: 700 16px var(--font-head); margin: 1.2em 0 .4em; }
.rich ul, .rich ol { padding-left: 1.3em; margin: 0 0 1em; }
.rich li { margin: .3em 0; }
.rich li::marker { color: var(--yellow); }
.rich blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--yellow); color: var(--dim); font-style: italic; }
.rich code { font-size: .88em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #ffd97a; }
.rich pre { position: relative; margin: 1.2em 0; padding: 16px 18px; border-radius: 14px; background: #0b0f16; border: 1px solid var(--line); overflow-x: auto; font-size: 13px; line-height: 1.7; }
.rich pre code { padding: 0; background: none; color: #cdd6e4; font-size: inherit; }
.rich img { border-radius: 12px; margin: 1.2em 0; border: 1px solid var(--line); cursor: zoom-in; }
.rich hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.rich mark, .rich .hl-yellow { background: rgba(255, 215, 0, .2); color: #ffe98a; padding: 0 3px; border-radius: 3px; }
.rich .hl-blue { color: #8cc6ff; } .rich .hl-green { color: var(--green); } .rich .hl-red { color: #ff8a84; }
.rich table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 14.5px; }
.rich th, .rich td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.rich th { background: rgba(255, 255, 255, .04); }
.rich .callout { margin: 1.2em 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(45, 140, 240, .35); background: rgba(45, 140, 240, .08); }
.rich .callout-warn { border-color: rgba(255, 215, 0, .35); background: rgba(255, 215, 0, .07); }
.rich .callout p:last-child { margin-bottom: 0; }

.neofetch { display: flex; gap: 22px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #0b0f16; font: 500 13px/1.75 var(--font-mono); box-shadow: var(--shadow); overflow: hidden; }
.neofetch__art { color: var(--blue); white-space: pre; line-height: 1.15; font-size: 12px; font-weight: 700; text-shadow: 0 0 18px rgba(45, 140, 240, .5); }
.neofetch__art b { color: var(--yellow); font-weight: 700; }
.neofetch__info { min-width: 0; }
.neofetch__info .h { color: var(--yellow); font-weight: 700; }
.neofetch__info .k { color: var(--blue); font-weight: 700; }
.neofetch__info .sep { color: var(--mute); }
.neofetch__info div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-row { display: flex; gap: 0; margin-top: 10px; }
.palette-row i { width: 22px; height: 14px; }

/* ---------- Git-Log ---------- */
.gitlog { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.gitlog::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--yellow), var(--blue) 30%, rgba(45, 140, 240, .2)); border-radius: 2px; transform-origin: top; transform: scaleY(var(--grow, 0)); transition: transform 1.4s var(--ease); }
.commit { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.commit__node { position: relative; z-index: 1; width: 48px; display: flex; justify-content: center; padding-top: 20px; }
.commit__node i { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--blue); box-shadow: 0 0 0 5px var(--bg), 0 0 14px var(--blue); transition: transform .4s var(--spring); }
.commit--design .commit__node i { border-color: var(--yellow); box-shadow: 0 0 0 5px var(--bg), 0 0 14px var(--yellow); }
.commit:hover .commit__node i { transform: scale(1.35); }
.commit__card { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: 16px 20px; transition: border-color .3s, transform .4s var(--ease), background .3s; }
.commit:hover .commit__card { border-color: var(--line-2); transform: translateX(4px); background: rgba(255, 255, 255, .04); }
.commit__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 500 12.5px var(--font-mono); color: var(--mute); margin-bottom: 6px; }
.commit__hash { color: var(--yellow); }
.ref { padding: 1px 8px; border-radius: 6px; font-weight: 700; font-size: 11.5px; }
.ref--head { background: rgba(61, 220, 151, .14); color: var(--green); border: 1px solid rgba(61, 220, 151, .3); }
.ref--dev { background: rgba(45, 140, 240, .14); color: #8cc6ff; border: 1px solid rgba(45, 140, 240, .35); }
.ref--design { background: rgba(255, 215, 0, .1); color: var(--yellow); border: 1px solid rgba(255, 215, 0, .3); }
.commit__title { font: 700 18px/1.35 var(--font-head); margin: 0 0 4px; }
.commit__title span { color: var(--mute); font-family: var(--font-mono); font-weight: 500; font-size: 15px; }
.commit__text { color: var(--dim); margin: 0; font-size: 14.5px; }

/* ---------- Terminal ---------- */
.term { max-width: 960px; margin: 0 auto; border-radius: 20px; border: 1px solid var(--line-2); background: #070a0f; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 70px -30px rgba(61, 220, 151, .35); overflow: hidden; font: 400 14px/1.65 var(--font-mono); }
.term__bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #0d1117; }
.term__title { flex: 1; text-align: center; color: var(--mute); font-size: 12.5px; }
.term__hint { color: #3c4658; font-size: 11.5px; }
.term__out { height: clamp(300px, 42vh, 400px); overflow-y: auto; padding: 16px 18px 6px; scrollbar-width: thin; scrollbar-color: #263040 transparent; overscroll-behavior: contain; }
.term__out > div { white-space: pre-wrap; word-break: break-word; }
.term__out .cmd { color: var(--text); }
.term__out .cmd b { color: var(--green); font-weight: 600; }
.term__out .cmd i { color: #6cb4ff; font-style: normal; }
.term__out .muted { color: var(--mute); }
.term__out .y { color: var(--yellow); }
.term__out .b { color: #6cb4ff; }
.term__out .g { color: var(--green); }
.term__out .r { color: var(--red); }
.term__out a, .term__out button.lnk { color: #8cc6ff; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; }
.term__line { display: flex; align-items: center; gap: 10px; padding: 4px 18px 14px; }
.term__prompt { flex: none; color: var(--text); }
.term__prompt b { color: var(--green); font-weight: 600; }
.term__prompt i { color: #6cb4ff; font-style: normal; }
.term__line input { flex: 1; min-width: 0; height: 30px; border: 0; outline: none; background: none; color: var(--text); font: inherit; caret-color: var(--yellow); }
.term__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: #0b0f15; }
.term__quick button { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--dim); font: 500 12.5px var(--font-mono); transition: all .2s; }
.term__quick button:hover { border-color: rgba(61, 220, 151, .45); color: var(--green); background: rgba(61, 220, 151, .06); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.contact__copy p { color: var(--dim); font-size: 17px; margin: 0 0 26px; }
.contact h2 { margin-top: 14px; }
.contact > * { min-width: 0; }
.contact__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.clink { min-width: 0; }
.clink { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-align: left; width: 100%; transition: border-color .25s, background .25s, transform .4s var(--ease); }
.clink:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); transform: translateX(4px); }
.clink__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(45, 140, 240, .14); color: #8cc6ff; }
.clink__ico svg { font-size: 21px; }
.clink__ico.y { background: rgba(255, 215, 0, .1); color: var(--yellow); }
.clink__txt { display: flex; flex-direction: column; min-width: 0; }
.clink__txt small { font: 500 12px var(--font-mono); color: var(--mute); }
.clink__txt b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clink__act { margin-left: auto; font: 500 12px var(--font-mono); color: var(--mute); flex: none; }

.dframe { position: relative; border-radius: 14px; background: rgba(16, 21, 30, .88); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 60px -25px rgba(45, 140, 240, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; touch-action: none; }
.dframe.dragging { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 1), 0 0 0 1px var(--yellow), 0 0 80px -20px rgba(255, 215, 0, .4); }
.dframe__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; padding: 0 10px 0 16px; background: linear-gradient(90deg, rgba(0, 95, 171, .55), rgba(0, 53, 102, .35)); border-bottom: 1px solid rgba(255, 255, 255, .1); cursor: grab; user-select: none; }
.dframe.dragging .dframe__bar { cursor: grabbing; }
.dframe__title { display: inline-flex; align-items: center; gap: 9px; font: 600 12.5px var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dframe__title svg { font-size: 15px; color: var(--yellow); }
.dframe__btns { display: flex; gap: 5px; }
.dframe__btns i { width: 22px; height: 18px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.dframe__btns i.x { background: rgba(255, 95, 86, .75); }
.dframe__body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; touch-action: auto; }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font: 600 12.5px var(--font-mono); color: var(--dim); letter-spacing: .02em; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: rgba(255, 215, 0, .6); box-shadow: 0 0 0 4px rgba(255, 215, 0, .12); }
.field input::placeholder, .field textarea::placeholder { color: #566074; }
.field.invalid input, .field.invalid textarea { border-color: rgba(255, 95, 86, .7); }
.field__count { position: absolute; right: 10px; bottom: 9px; font: 500 11px var(--font-mono); color: var(--mute); pointer-events: none; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { position: relative; cursor: pointer; }
.radio-pills input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pills span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .2); font-size: 14px; font-weight: 550; color: var(--dim); transition: all .2s; }
.radio-pills input:checked + span { border-color: rgba(255, 215, 0, .6); background: rgba(255, 215, 0, .1); color: var(--yellow); }
.radio-pills input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dframe__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-note { margin: 0; font: 500 13px var(--font-mono); color: var(--mute); min-height: 1.2em; flex: 1 1 200px; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #ff8a84; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer__wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
.footer__brand .brand__mark svg { width: 25px; height: 25px; }
.footer__brand p { margin: 0; color: var(--dim); font-size: 14px; }
.footer__meta { margin: 0; color: var(--mute); font-size: 12.5px; }
.footer__links { display: flex; gap: 18px; font-size: 14px; color: var(--dim); }
.footer__links a:hover { color: var(--text); }

/* ---------- Detail ---------- */
.detail { position: fixed; inset: 0; z-index: 200; }
.detail__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 10, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s var(--ease); }
.detail.open .detail__backdrop { opacity: 1; }
.detail__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(1080px, 100%); background: var(--bg-2); border-left: 1px solid var(--line-2);
  overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .6s var(--ease); outline: none; box-shadow: -40px 0 100px -40px rgba(0, 0, 0, .9);
  scrollbar-width: thin; scrollbar-color: #263040 transparent;
}
.detail.open .detail__panel { transform: none; }
.dt__top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(16px, 3vw, 28px); background: rgba(14, 18, 25, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.dt__crumb { font: 500 13px var(--font-mono); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dt__crumb b { color: var(--text); font-weight: 600; }
.dt__btns { display: flex; gap: 8px; flex: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); transition: all .2s; }
.icon-btn:hover { border-color: var(--line-2); background: var(--panel-2); }
.icon-btn svg { font-size: 18px; }
.dt__hero { position: relative; aspect-ratio: 21 / 9; max-height: 440px; width: 100%; overflow: hidden; background: var(--bg-3); }
.dt__hero img { width: 100%; height: 100%; object-fit: cover; }
.dt__hero img.contain { object-fit: contain; padding: 4%; }
.dt__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg-2)); }
.dt__hero .codecover { --glow: #2d8cf0; }
.dt__main { padding: 0 clamp(18px, 4vw, 48px) 60px; margin-top: -60px; position: relative; z-index: 2; }
.dt__head h1 { font: 800 clamp(30px, 4.5vw, 52px)/1.05 var(--font-head); letter-spacing: -.03em; margin: 12px 0 10px; }
.dt__head p { color: var(--dim); font-size: 18px; margin: 0 0 26px; max-width: 760px; }
.dt__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.dt__side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; }
.side-card { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: 16px 18px; }
.side-card h4 { margin: 0 0 10px; font: 600 12px var(--font-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.facts { margin: 0; display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 9px; }
.facts div:last-child { border: 0; padding-bottom: 0; }
.facts dt { color: var(--mute); }
.facts dd { margin: 0; text-align: right; font-weight: 600; }
.dt__links { display: grid; gap: 8px; }
.dt__links .btn { width: 100%; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #05070a; margin: 0 0 28px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(255, 95, 86, .18), transparent 60%), #080b10; }
.video__consent p { margin: 0; max-width: 440px; color: var(--dim); font-size: 13.5px; }
.video__consent .play { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; border: 0; box-shadow: 0 0 0 10px rgba(255, 95, 86, .15); transition: transform .35s var(--spring); }
.video__consent .play svg { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 4px; }
.video__consent .play:hover { transform: scale(1.08); }
.gallery { margin-top: 30px; columns: 3 240px; column-gap: 14px; }
.gallery__title { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 14px; font: 700 20px var(--font-head); }
.gallery__title small { font: 500 12.5px var(--font-mono); color: var(--mute); }
.gallery button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg-3); break-inside: avoid; position: relative; cursor: zoom-in; transition: border-color .25s, transform .4s var(--ease); }
.gallery button:hover { border-color: var(--line-2); transform: translateY(-3px); }
.gallery img { width: 100%; height: auto; opacity: 0; transition: opacity .5s; }
.gallery img.loaded { opacity: 1; }
.dt__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 50px; }
.dt__nav button { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-align: left; transition: all .25s; min-width: 0; }
.dt__nav button:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.dt__nav button:last-child { text-align: right; align-items: flex-end; }
.dt__nav small { font: 500 12px var(--font-mono); color: var(--mute); }
.dt__nav b { font: 700 17px var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dt__views { font: 500 12px var(--font-mono); color: var(--mute); display: flex; align-items: center; gap: 6px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 6, 9, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .3s var(--ease); touch-action: none; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__count { font: 500 13px var(--font-mono); color: var(--dim); }
.lightbox__tools { display: flex; gap: 8px; }
.lightbox__tools > * { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.lightbox__tools svg { font-size: 19px; }
.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 70px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; transition: transform .35s var(--ease), opacity .25s; user-select: none; -webkit-user-drag: none; }
.lightbox__stage.zoomed img { cursor: zoom-out; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(15, 19, 27, .8); transition: all .2s; }
.lightbox__nav:hover { background: var(--yellow); color: #111; border-color: var(--yellow); }
.lightbox__nav svg { font-size: 22px; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__strip { display: flex; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); overflow-x: auto; justify-content: center; scrollbar-width: none; }
.lightbox__strip button { flex: none; width: 64px; height: 44px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .45; background: var(--bg-3); transition: all .2s; }
.lightbox__strip button.on { border-color: var(--yellow); opacity: 1; }
.lightbox__strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Palette ---------- */
.palette { position: fixed; inset: 0; z-index: 400; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.palette__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 10, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .2s; }
.palette__box { position: relative; width: min(640px, 100%); border-radius: 18px; background: rgba(16, 20, 28, .96); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5); overflow: hidden; animation: popIn .3s var(--spring); }
@keyframes popIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.palette__input { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette__input svg { font-size: 18px; color: var(--yellow); }
.palette__input input { flex: 1; height: 58px; border: 0; outline: none; background: none; font-size: 16px; min-width: 0; }
.palette__list { list-style: none; margin: 0; padding: 8px; max-height: min(52vh, 420px); overflow-y: auto; }
.palette__list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; cursor: pointer; }
.palette__list li.on { background: rgba(45, 140, 240, .16); }
.palette__list li .pi { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .06); color: var(--dim); }
.palette__list li.on .pi { background: var(--yellow); color: #111; }
.palette__list li .pt { display: flex; flex-direction: column; min-width: 0; }
.palette__list li .pt b { font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette__list li .pt small { color: var(--mute); font-size: 12.5px; }
.palette__list li .pk { margin-left: auto; font: 500 11.5px var(--font-mono); color: var(--mute); }
.palette__list .grp { padding: 10px 12px 4px; font: 600 11px var(--font-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .12em; cursor: default; }
.palette__foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.palette__foot kbd { margin-right: 3px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 600; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 13px; background: rgba(16, 20, 28, .95); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .9); font: 500 14px var(--font-body); transition: transform .4s var(--spring), opacity .3s; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }

/* noclip-Easteregg */
body.noclip .card, body.noclip .commit__card, body.noclip .skill-group { animation: noclip 3s ease-in-out infinite alternate; }
@keyframes noclip { to { transform: translate3d(0, -8px, 0) rotate(-.6deg); } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 10px; }
  .kbd-btn span, .kbd-btn kbd { display: none; }
  .kbd-btn { width: 40px; justify-content: center; padding: 0; }
  .card { grid-column: span 6; }
  .card.is-wide { grid-column: span 12; }
  .float-chip--a { left: -10px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .burger { display: block; }
  .nav__wrap { height: 56px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 640px; width: 100%; margin: 0 auto 50px; }
  .ide { transform: none; }
  .hero__visual:hover .ide { transform: none; }
  .scroll-hint { display: none; }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .dt__layout { grid-template-columns: minmax(0, 1fr); }
  .dt__side { position: static; order: -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none !important; }
  .nav { padding-top: 8px; }
  .nav .btn--sm { display: none; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats div:nth-child(2) { border-right: 0; }
  .hero__stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero__cta .btn { flex: 1 1 auto; }
  .ide__body { height: 260px; font-size: 11.5px; }
  .ide__gutter { width: 34px; padding-right: 7px; }
  .ide__code { padding: 12px; }
  .preview { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; transform: none; }
  .float-chip { display: none; }
  .filters { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: 0 8px; font-size: 13.5px; gap: 6px; }
  .seg button svg { display: none; }
  .search { flex: 1 1 auto; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad)) 24px; padding: 0 var(--pad) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .grid { gap: 14px; }
  .card, .card.is-wide { grid-column: span 12; }
  .card.is-wide { display: flex; }
  .card.is-wide .card__media { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
  .card.is-wide .card__media::after { background: linear-gradient(180deg, transparent 50%, rgba(10, 13, 18, .85)); }
  .card.is-wide .card__body { padding: 18px 20px 20px; }
  .card.is-wide .card__title { font-size: 21px; }
  .card__go { opacity: 1; transform: none; width: 34px; height: 34px; }
  .skill-group { padding: 18px; }
  .neofetch { flex-direction: column; gap: 14px; padding: 18px; font-size: 12.5px; }
  .neofetch__art { font-size: 10px; }
  .neofetch__info div { white-space: normal; overflow: visible; }
  .gitlog::before { left: 15px; }
  .commit { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .commit__node { width: 32px; }
  .commit__card { padding: 14px 16px; }
  .commit__title { font-size: 16.5px; }
  .term { border-radius: 16px; font-size: 13px; }
  .term__out { height: 340px; padding: 14px 14px 6px; }
  .term__line { padding: 4px 14px 12px; }
  .term__prompt b { display: none; }
  .dframe__body { grid-template-columns: 1fr; padding: 18px; }
  .dframe__foot .btn { width: 100%; }
  .dt__hero { aspect-ratio: 16 / 10; }
  .dt__main { margin-top: -40px; }
  .dt__nav { grid-template-columns: 1fr; }
  .dt__nav button:last-child { text-align: left; align-items: flex-start; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery button { margin-bottom: 10px; }
  .lightbox__stage { padding: 0 8px; }
  .lightbox__nav { top: auto; bottom: 86px; width: 46px; height: 46px; }
  .lightbox__strip { justify-content: flex-start; }
  .palette { padding-top: 10px; }
  .footer__wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .brand__text small { display: none; }
  .hero__title { font-size: 36px; }
  .seg button b { display: none; }
}
@media (hover: none) {
  .cursor-glow { display: none; }
  .card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
