/* LUCI DEV — dark, neon, one theme. No glass blur anywhere (flat translucent colours instead). */
:root {
  --bg: #06070a; --bg2: #0b0d11; --line: rgba(255, 255, 255, .07); --text: #e9eef0; --muted: #8b959c; --dim: #5d666d;
  --red: #ff2f55; --cyan: #74f0e2; --gold: #e7c47c;
  --display: 'Unbounded', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); overflow-x: hidden; }
body::before { /* cursor light, driven by --mx / --my */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(640px circle at var(--mx, 50%) var(--my, 18%), rgba(255, 47, 85, .06), transparent 62%);
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(255, 47, 85, .4); }
.mono { font-family: var(--mono); }
.dim { color: var(--dim); }
main, .foot { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- boot ---------- */
#boot { position: fixed; inset: 0; z-index: 100; background: #000; transition: opacity .4s; }
#boot.out { opacity: 0; pointer-events: none; }
.boot-log { padding: 24px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.boot-log .ok { color: var(--cyan); }
.boot-log .wait { color: var(--gold); }
.boot-logo { position: absolute; left: 50%; top: 50%; width: min(220px, 56vw); transform: translate(-50%, -50%); opacity: 0; }
.boot-logo.on { animation: neon .9s steps(1, end) forwards; }
@keyframes neon {
  0% { opacity: 0; } 8% { opacity: 1; filter: drop-shadow(0 0 14px var(--red)); }
  16% { opacity: .08; } 30% { opacity: 1; filter: drop-shadow(0 0 22px var(--red)); }
  40% { opacity: .15; } 55% { opacity: 1; filter: drop-shadow(0 0 10px var(--cyan)); }
  64% { opacity: .35; } 75%, 100% { opacity: 1; filter: drop-shadow(0 0 26px var(--red)) drop-shadow(0 0 8px var(--cyan)); }
}

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 7, 10, .96); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 32px; height: auto; }
.b1 { font: 900 18px var(--display); letter-spacing: .02em; }
.b2 { font: 500 12px var(--display); color: var(--dim); margin-left: -4px; }
.links { display: flex; gap: 22px; margin: 0 auto; font-size: 13px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang button { background: transparent; border: 0; padding: 6px 10px; font-size: 12px; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--red); color: #fff; }
.menu-btn { display: none; width: 40px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 22px; line-height: 1; }
.menu { position: fixed; inset: 60px 0 0 0; z-index: 49; background: rgba(6, 7, 10, .98); display: flex; flex-direction: column; gap: 6px; padding: 24px 16px; }
.menu a { padding: 14px 8px; font-size: 22px; border-bottom: 1px solid var(--line); }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 56px 0 72px; overflow: hidden; }
#glyphs { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 18px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero-h { display: flex; flex-direction: column; }
html[lang="tr"] .hero-h .rot { order: -1; }
.rot { white-space: nowrap; min-height: 1.06em; }
.stack { margin: -6px 0 26px; font-size: 12.5px; color: var(--cyan); letter-spacing: .02em; opacity: .8; }
h1 { margin: 0 0 22px; font: 900 clamp(26px, 3.7vw, 54px)/1.08 var(--display); letter-spacing: -.02em; }
.glitch { position: relative; display: block; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; }
.glitch::before { color: var(--red); }
.glitch::after { color: var(--cyan); }
h1:hover .glitch::before { animation: gl1 .3s steps(1, end); }
h1:hover .glitch::after { animation: gl2 .3s steps(1, end); }
@keyframes gl1 {
  0% { opacity: .9; transform: translate(-4px, 0); clip-path: inset(10% 0 70% 0); }
  25% { transform: translate(3px, 0); clip-path: inset(55% 0 20% 0); }
  50% { transform: translate(-2px, 0); clip-path: inset(30% 0 45% 0); }
  75% { transform: translate(4px, 0); clip-path: inset(75% 0 5% 0); }
  100% { opacity: 0; }
}
@keyframes gl2 {
  0% { opacity: .9; transform: translate(4px, 0); clip-path: inset(60% 0 15% 0); }
  25% { transform: translate(-3px, 0); clip-path: inset(15% 0 65% 0); }
  50% { transform: translate(2px, 0); clip-path: inset(45% 0 30% 0); }
  75% { transform: translate(-4px, 0); clip-path: inset(5% 0 80% 0); }
  100% { opacity: 0; }
}
.grad { background: linear-gradient(90deg, var(--red), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad::before { color: var(--red); background: none; }
.grad::after { color: var(--cyan); background: none; }
.lead { max-width: 520px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 8px; border: 1px solid transparent; font: 600 14px var(--body); transition: box-shadow .2s, border-color .2s, background .2s; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { box-shadow: 0 0 28px rgba(255, 47, 85, .5); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .18); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- terminal ---------- */
.term { background: rgba(11, 13, 17, .92); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 60px -20px rgba(255, 47, 85, .25); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim); cursor: default; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f47; }
.term-bar i:nth-child(1) { background: var(--red); }
.term-bar i:nth-child(2) { background: var(--gold); }
.term-bar i:nth-child(3) { background: var(--cyan); }
.term-bar span { margin-left: 8px; }
.term.min .term-bar { cursor: pointer; border-bottom: 0; }
.term.min .term-body { display: none; }
.term-body { height: 232px; overflow-y: auto; padding: 12px 14px; font-size: 13px; line-height: 1.6; cursor: text; }
.tl { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.tl.cmd { color: var(--muted); }
.tl.err { color: var(--red); }
.tl.dim { color: var(--dim); }
.term-line { display: flex; align-items: center; gap: 8px; }
.ps1 { color: var(--cyan); }
.term-line:not(:focus-within) .ps1 { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
#term-in { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0; color: var(--text); font: inherit; caret-color: var(--cyan); }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec-head { margin-bottom: 36px; }
.path { font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.path span { color: var(--red); }
.sec-head h2 { margin: 0 0 10px; font: 700 clamp(24px, 3.6vw, 40px)/1.15 var(--display); letter-spacing: -.01em; }
.desc { margin: 0; max-width: 620px; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.card { min-width: 0; background: rgba(11, 13, 17, .82); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ps-head { display: none; margin-bottom: 12px; font-size: 12px; color: var(--dim); white-space: pre; overflow: hidden; }

/* ---------- script cards ---------- */
.proc { display: flex; flex-direction: column; transition: border-color .25s; }
.proc:hover { border-color: rgba(255, 47, 85, .4); }
.shot { position: relative; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rgb { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; transition: opacity .2s; pointer-events: none; }
.rgb.r { background: #f00; transform: translateX(-3px); }
.rgb.c { background: #0ff; transform: translateX(3px); }
.rgb img { mix-blend-mode: multiply; }
.scan { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .2s; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px); }
.proc:hover .rgb { opacity: .6; }
.proc:hover .scan { opacity: 1; animation: drift 1.2s linear infinite; }
@keyframes drift { to { background-position: 0 6px; } }
.proc .body { padding: 20px 22px 22px; display: flex; flex-direction: column; min-width: 0; }
.meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--dim); }
.st { display: inline-flex; align-items: center; gap: 7px; color: var(--cyan); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
.proc h3 { margin: 10px 0 4px; font: 700 20px/1.2 var(--display); }
.tagline { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.proc ul { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; color: var(--text); }
.proc li { margin-bottom: 4px; }
.proc li::marker { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chip { padding: 2px 9px; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; color: var(--cyan); }
.proc .btn { margin-top: auto; align-self: flex-start; background: rgba(255, 47, 85, .12); border-color: rgba(255, 47, 85, .4); color: var(--text); }
.proc .btn:hover { background: rgba(255, 47, 85, .22); }
.proc .btn.disabled { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .2); color: var(--muted); }

/* ---------- workshop ---------- */
.ws { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.viewer { position: relative; aspect-ratio: 4 / 3; min-height: 320px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(circle at 50% 40%, #12151c, var(--bg2) 70%); overflow: hidden; }
#mv, .mv-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
#mv { background: transparent; --poster-color: transparent; }
.mv-fallback { object-fit: cover; }
.c { position: absolute; width: 16px; height: 16px; border: 0 solid var(--red); z-index: 2; pointer-events: none; }
.c.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.c.tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.c.bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.c.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.mv-status { position: absolute; left: 16px; right: 16px; bottom: 12px; margin: 0; z-index: 2; font-size: 12px; color: var(--dim); pointer-events: none; }
.tabs { display: flex; flex-direction: column; gap: 8px; }
.tab { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; text-align: left; background: transparent; border: 1px solid var(--line); border-left: 2px solid transparent; border-radius: 8px; transition: background .2s, border-color .2s; }
.tab:hover { background: rgba(255, 255, 255, .03); }
.tab[aria-selected="true"] { border-left-color: var(--red); background: rgba(255, 47, 85, .06); }
.tab .num { color: var(--red); font-size: 13px; padding-top: 2px; }
.tab strong { display: block; font: 500 14px var(--mono); }
.tab small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* ---------- verify ---------- */
.vf { max-width: 760px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 20px; text-align: center; color: var(--muted); border: 1.5px dashed rgba(255, 255, 255, .18); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--cyan); background: rgba(116, 240, 226, .04); color: var(--text); }
.drop-ico { font-size: 22px; color: var(--cyan); }
.vf-result { margin-top: 18px; padding: 20px; background: rgba(11, 13, 17, .82); border: 1px solid var(--line); border-radius: 12px; }
.vf-file { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-bottom: 14px; font-size: 13px; overflow-wrap: anywhere; }
.vf-hash { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 16px; font-size: 12px; }
.vf-hash code { overflow-wrap: anywhere; color: var(--text); }
.copy { padding: 4px 10px; font-size: 12px; background: transparent; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.copy:hover { border-color: var(--cyan); color: var(--cyan); }
.vf-status { font: 700 18px/1.35 var(--display); }
.vf-status.ok { color: var(--cyan); font-size: 22px; text-shadow: 0 0 18px rgba(116, 240, 226, .4); }
.vf-status.bad { color: var(--red); }
.vf-status.warn { color: var(--gold); font: 500 15px/1.5 var(--body); }
.vf-status.wait { color: var(--muted); font: 500 15px var(--mono); }
.vf-fp { margin-top: 8px; font-size: 12px; overflow-wrap: anywhere; }
.manual { margin-top: 20px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; }
.manual summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.manual p { margin: 14px 0 6px; font-size: 12px; }
.code { display: flex; gap: 10px; align-items: flex-start; }
.code pre { flex: 1; min-width: 0; margin: 0; padding: 10px 12px; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.manual .fp { line-height: 1.7; overflow-wrap: anywhere; }

/* ---------- devlog ---------- */
.pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); }
.badge-latest { padding: 2px 9px; border: 1px solid var(--gold); border-radius: 99px; font-size: 11px; color: var(--gold); }
.pf-glyph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 180px; background: radial-gradient(circle at 30% 30%, rgba(255, 47, 85, .18), transparent 60%), var(--bg2); font: 400 64px var(--mono); color: var(--cyan); opacity: .8; }
.post-feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 320px; margin-bottom: 20px; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.post-feat:hover { border-color: var(--red); box-shadow: 0 14px 40px -14px rgba(255, 47, 85, .4); }
.post-feat .pf-img { position: relative; min-height: 220px; overflow: hidden; }
.post-feat .pf-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-feat .pf-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 45%, rgba(11, 13, 17, .95)); }
.pf-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.pf-body h3 { margin: 0; font: 700 clamp(20px, 2.4vw, 28px)/1.2 var(--display); }
.pf-body .hook { margin: 0; color: var(--muted); line-height: 1.7; }
.pf-body .chips { margin-bottom: 0; }
.pf-body .btn { align-self: flex-start; background: rgba(255, 47, 85, .12); border-color: rgba(255, 47, 85, .4); color: var(--text); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 14px 40px -14px rgba(255, 47, 85, .4); }
.pc-img { aspect-ratio: 16 / 9; overflow: hidden; }
.pc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-card:hover .pc-img img { transform: scale(1.04); }
.pc-img .pf-glyph { min-height: 0; }
.pc-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.pc-body h3 { margin: 0; font: 600 17px/1.3 var(--display); }
.pc-body .hook { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-body .chips { margin: 4px 0 0; }

dialog#reader { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; background: var(--bg2); color: var(--text); border: 1px solid rgba(255, 47, 85, .35); border-radius: 14px; overflow: auto; }
dialog#reader::backdrop { background: rgba(0, 0, 0, .78); }
dialog#reader[open] { animation: rd-in .25s ease; }
@keyframes rd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#reader-in { padding: 0 0 32px; }
.rd-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rd-body { padding: 0 32px; }
.rd-body .pf-meta { margin-top: 24px; }
.rd-title { margin: 14px 0 0; font: 700 clamp(22px, 3vw, 30px)/1.2 var(--display); }
.rd-hook { margin: 14px 0 0; font-size: 17px; color: var(--text); line-height: 1.65; }
.rd-body h3 { margin: 28px 0 8px; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); }
.rd-body h3 + p { margin: 0; max-width: 68ch; color: var(--muted); line-height: 1.8; }
.rd-stack { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.rd-close { position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; width: 36px; height: 36px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(6, 7, 10, .75); border: 1px solid var(--line); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; z-index: 2; }
.rd-close:hover { border-color: var(--cyan); color: var(--cyan); }
body.reader-open { overflow: hidden; }
@media (max-width: 1100px) and (min-width: 901px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rd-body { padding: 0 20px; } .pf-body { padding: 22px 20px; } }

/* ---------- channels ---------- */
.chan { position: relative; display: block; padding: 26px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.chan:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 14px 40px -14px rgba(255, 47, 85, .4), 0 0 0 1px rgba(116, 240, 226, .22); }
.chan.off { opacity: .7; }
.chan.off:hover { transform: none; border-color: var(--line); box-shadow: none; }
.chan .host { font-size: 12px; color: var(--cyan); margin-bottom: 14px; overflow-wrap: anywhere; }
.chan h3 { margin: 0 0 8px; font: 700 20px/1.2 var(--display); }
.chan p { margin: 0; color: var(--muted); font-size: 14px; }
.badge { position: absolute; top: 18px; right: 18px; padding: 2px 9px; border: 1px solid var(--gold); border-radius: 99px; font-size: 11px; color: var(--gold); }

/* ---------- footer, toast, shake ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot-l { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.foot-l img { width: 28px; height: auto; }
.foot-r { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; color: var(--dim); }
.legal { flex: 1 1 100%; margin: 0; font-size: 12px; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { padding: 10px 16px; background: #12151b; border: 1px solid var(--line); border-radius: 8px; font: 500 13px var(--mono); animation: toast 2.4s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(8px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
body.shake main { animation: shake .3s linear; }
body.shake::after { content: ''; position: fixed; inset: 0; z-index: 80; pointer-events: none; box-shadow: inset 0 0 140px rgba(255, 47, 85, .55); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translate(-6px, 2px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-4px, 3px); } 80% { transform: translate(4px, -2px); } }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .links { display: none; }
  .nav-r { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }
  .post-feat { grid-template-columns: minmax(0, 1fr); }
  .post-feat .pf-img { aspect-ratio: 16 / 9; }
  .post-feat .pf-img::after { background: linear-gradient(180deg, transparent 55%, rgba(11, 13, 17, .95)); }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .ws { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 72px 0; }
  #term-in { font-size: 16px; } /* 16px stops iOS zooming on focus */
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }


  .vf-hash { grid-template-columns: minmax(0, 1fr) auto; }
  .vf-hash > span { grid-column: 1 / -1; }
  .code { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #boot { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot, .ps1, .scan { animation: none !important; }
  h1:hover .glitch::before, h1:hover .glitch::after { animation: none; }
  .chan, .btn, .post-card, .pc-img img { transition: none; }
  dialog#reader[open] { animation: none; }
}
