/*
Theme Name: Eren Dev Nexus
Theme URI: https://alierencinar.com/
Author: Ali Eren Çınar
Author URI: https://alierencinar.com/
Description: Yazılımcı portföyü, uygulamalar ve teknik içerikler için hızlı, erişilebilir ve SEO odaklı bağımsız WordPress teması.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: eren-dev-nexus
Tags: blog, portfolio, dark, responsive-layout, accessibility-ready, custom-logo, custom-menu, featured-images
*/

:root {
  --bg: #050810;
  --bg-soft: #09101d;
  --surface: rgba(12, 22, 38, .82);
  --surface-strong: #0f1a2c;
  --line: rgba(146, 185, 220, .16);
  --text: #edf7ff;
  --muted: #9eb0c2;
  --cyan: #5ee7ff;
  --lime: #b8ff6a;
  --amber: #ffca61;
  --violet: #a78bfa;
  --danger: #ff7698;
  --radius: 22px;
  --radius-sm: 13px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --wrap: min(1180px, calc(100% - 40px));
  --motion-speed: 18s;
  --cursor-x: 50vw;
  --cursor-y: 30vh;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -10%, rgba(94, 231, 255, .14), transparent 32rem),
    radial-gradient(circle at 92% 6%, rgba(167, 139, 250, .14), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: linear-gradient(rgba(94,231,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(94,231,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.no-effect-grid::before { display: none; }
.no-effect-orbit .hero::after { display: none; }
.no-effect-progress .scroll-progress { display: none; }
.no-effect-card-glow .panel::after, .no-effect-card-glow .app-card::after, .no-effect-card-glow .post-card::after { display: none; }
.no-effect-terminal-reveal .terminal-line { opacity: 1; animation: none; }
.no-effect-aurora .ambient-space { display: none; }
.no-effect-cursor .cursor-aura { display: none; }
.no-effect-marquee .tech-marquee { display: none; }
.no-effect-hologram .terminal::after, .no-effect-hologram .site-header::after { display: none; }
.no-effect-icon-float .app-icon { animation: none; }
.ambient-space { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; width: 48vw; height: 48vw; border-radius: 44% 56% 62% 38%; filter: blur(75px); mix-blend-mode: screen; opacity: .13; will-change: transform; }
.aurora-a { top: -22vw; left: -12vw; background: var(--cyan); animation: auroraDrift var(--motion-speed) ease-in-out infinite alternate; }
.aurora-b { top: 12vh; right: -20vw; background: var(--violet); animation: auroraDrift calc(var(--motion-speed) * 1.25) ease-in-out -6s infinite alternate-reverse; }
.aurora-c { bottom: -28vw; left: 28vw; background: var(--lime); animation: auroraDrift calc(var(--motion-speed) * .85) ease-in-out -3s infinite alternate; }
.star-field { position: absolute; inset: 0; opacity: .32; background-image: radial-gradient(circle at 10% 20%, var(--cyan) 0 1px, transparent 1.5px), radial-gradient(circle at 80% 40%, var(--violet) 0 1px, transparent 1.5px), radial-gradient(circle at 35% 78%, var(--lime) 0 1px, transparent 1.5px), radial-gradient(circle at 65% 12%, white 0 1px, transparent 1.5px); background-size: 190px 210px, 260px 230px, 310px 290px, 370px 330px; animation: starShift calc(var(--motion-speed) * 2) linear infinite; }
.cursor-aura { position: fixed; top: 0; left: 0; z-index: 0; width: 520px; height: 520px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(94,231,255,.09), rgba(167,139,250,.035) 38%, transparent 68%); transform: translate(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%)); transition: opacity .3s; will-change: transform; }
a { color: var(--cyan); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--lime); }
img, picture, video, canvas, svg, iframe, embed, object { max-width: 100%; }
img { display: block; height: auto; }
video { height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { color: #061018; background: var(--cyan); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.screen-reader-text:focus { z-index: 100000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; color: #061018; background: var(--amber); }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono, code, pre, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 9999; padding: 12px 18px; color: #041018; background: var(--amber); border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 20px; }
.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 1000; width: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--lime), var(--violet)); box-shadow: 0 0 18px var(--cyan); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(5, 8, 16, .78); backdrop-filter: blur(18px); }
.site-header::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--lime), transparent); background-size: 240% 100%; animation: headerBeam 7s linear infinite; opacity: .65; }
.nav-shell { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 850; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(94,231,255,.42); border-radius: 12px; color: var(--cyan); background: linear-gradient(145deg, rgba(94,231,255,.12), rgba(167,139,250,.1)); box-shadow: inset 0 0 20px rgba(94,231,255,.07); }
.brand-mark { animation: brandPulse 4.5s ease-in-out infinite; }
.brand img { width: 39px; height: 39px; object-fit: contain; border-radius: 12px; }
.brand b { color: var(--cyan); }
.main-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); background: rgba(94,231,255,.08); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 20px; height: 2px; margin: 5px auto; content: ""; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

main { position: relative; z-index: 1; min-height: 70vh; }
.hero { position: relative; display: grid; min-height: 690px; align-items: center; padding: 90px 0 72px; overflow: hidden; }
.hero::after { position: absolute; top: 10%; right: -10%; z-index: -1; width: 430px; height: 430px; content: ""; border: 1px solid rgba(94,231,255,.14); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 24px, rgba(94,231,255,.035) 25px 26px); animation: orbit 24s linear infinite; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--lime); font: 700 .82rem/1.4 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 8px; height: 8px; content: ""; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 7px rgba(184,255,106,.1), 0 0 18px currentColor; animation: pulse 2s ease-in-out infinite; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.8rem, 6vw, 5.7rem); line-height: .99; letter-spacing: -.072em; }
.gradient-text { color: transparent; background: linear-gradient(100deg, var(--cyan), var(--lime) 48%, var(--violet)); background-clip: text; -webkit-background-clip: text; }
.gradient-text { background-size: 220% auto; animation: gradientFlow 5s linear infinite; filter: drop-shadow(0 0 26px rgba(94,231,255,.1)); }
.hero-lead { max-width: 660px; margin: 25px 0 30px; color: var(--muted); font-size: clamp(1.03rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { position: relative; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid rgba(94,231,255,.34); border-radius: 13px; color: #061018; background: linear-gradient(115deg, var(--cyan), var(--lime)); box-shadow: 0 10px 30px rgba(94,231,255,.15); font-weight: 850; text-decoration: none; transition: transform .25s, box-shadow .25s; overflow: hidden; }
.button::after { position: absolute; top: -100%; left: -45%; width: 32%; height: 300%; content: ""; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: rotate(24deg); animation: buttonShine 5.5s ease-in-out infinite; }
.button:hover { color: #061018; transform: translateY(-3px); box-shadow: 0 16px 42px rgba(94,231,255,.23); }
.button.ghost { color: var(--text); background: rgba(255,255,255,.025); box-shadow: none; }
.button.ghost:hover { color: var(--lime); background: rgba(184,255,106,.06); }
.terminal { position: relative; border: 1px solid rgba(94,231,255,.18); border-radius: var(--radius); background: linear-gradient(160deg, rgba(15,26,44,.96), rgba(7,13,24,.92)); box-shadow: var(--shadow), 0 0 80px rgba(94,231,255,.08); transform-style: preserve-3d; transition: transform .18s ease-out; }
.terminal::before { position: absolute; inset: -1px; z-index: -1; content: ""; border-radius: inherit; background: linear-gradient(135deg, rgba(94,231,255,.4), transparent 35%, transparent 65%, rgba(167,139,250,.35)); filter: blur(12px); opacity: .45; }
.terminal::after { position: absolute; inset: 0; z-index: 4; pointer-events: none; content: ""; border-radius: inherit; background: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(94,231,255,.025) 6px 7px); mix-blend-mode: screen; animation: holoScan 8s linear infinite; }
.float-chip { position: absolute; z-index: 6; padding: 7px 10px; border: 1px solid rgba(94,231,255,.34); border-radius: 9px; color: var(--cyan); background: rgba(5,8,16,.82); box-shadow: 0 8px 30px rgba(0,0,0,.28), inset 0 0 18px rgba(94,231,255,.08); backdrop-filter: blur(10px); font: 750 .62rem ui-monospace, monospace; letter-spacing: .08em; pointer-events: none; animation: chipFloat 5s ease-in-out infinite; }
.chip-a { top: -18px; right: 28px; color: var(--lime); border-color: rgba(184,255,106,.34); }.chip-b { right: -34px; bottom: 72px; animation-delay: -1.7s; }.chip-c { bottom: -16px; left: 35px; color: var(--violet); border-color: rgba(167,139,250,.38); animation-delay: -3.4s; }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 17px; border-bottom: 1px solid var(--line); color: var(--muted); font: .74rem ui-monospace, monospace; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); box-shadow: 18px 0 var(--amber), 36px 0 var(--lime); }
.terminal-title { margin-left: 38px; }
.terminal-body { min-height: 350px; padding: 27px; color: #c8d8e8; font: clamp(.78rem, 1.45vw, .96rem)/1.85 ui-monospace, monospace; }
.terminal-body p { margin: 0 0 8px; }
.prompt { color: var(--lime); }
.command { color: var(--cyan); }
.token { color: var(--violet); }
.terminal-line { opacity: 0; animation: reveal .5s ease forwards; }
.terminal-line:nth-child(2) { animation-delay: .25s; }.terminal-line:nth-child(3) { animation-delay: .5s; }.terminal-line:nth-child(4) { animation-delay: .75s; }.terminal-line:nth-child(5) { animation-delay: 1s; }.terminal-line:nth-child(6) { animation-delay: 1.25s; }
.cursor { display: inline-block; width: .58em; height: 1.1em; margin-left: 4px; vertical-align: -.15em; background: var(--lime); animation: blink 1s steps(1) infinite; }

.tech-marquee { position: relative; z-index: 3; width: 100%; border-block: 1px solid var(--line); background: rgba(7,13,24,.75); overflow: hidden; transform: rotate(-1deg) scale(1.02); box-shadow: 0 16px 45px rgba(0,0,0,.18); }
.tech-marquee::before, .tech-marquee::after { position: absolute; top: 0; bottom: 0; z-index: 2; width: 10vw; content: ""; pointer-events: none; }.tech-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }.tech-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; width: max-content; padding: 14px 0; animation: marqueeMove var(--motion-speed) linear infinite; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span { color: #c8d8e8; font: 780 .74rem ui-monospace, monospace; letter-spacing: .13em; white-space: nowrap; }
.marquee-group i { margin: 0 22px; color: var(--lime); font-style: normal; text-shadow: 0 0 14px currentColor; animation: starSpin 3s linear infinite; }

.section { padding: 94px 0; }
.section.alt { border-block: 1px solid var(--line); background: rgba(9,16,29,.5); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.section-intro { max-width: 640px; margin: 10px 0 0; color: var(--muted); }
.text-link { white-space: nowrap; font-weight: 800; text-decoration: none; }
.skills-grid, .apps-grid, .posts-grid { display: grid; gap: 20px; }
.skills-grid { grid-template-columns: repeat(3, 1fr); }
.apps-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
.panel, .app-card, .post-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15,26,44,.76), rgba(8,14,25,.88)); box-shadow: 0 18px 50px rgba(0,0,0,.17); overflow: hidden; }
.panel, .app-card, .post-card { isolation: isolate; }
.panel::before, .app-card::before, .post-card::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(125deg, transparent 20%, rgba(94,231,255,.045), transparent 45%, rgba(167,139,250,.04), transparent 75%); background-size: 250% 100%; transform: translateX(-45%); transition: transform .8s ease; }
.panel:hover::before, .app-card:hover::before, .post-card:hover::before { transform: translateX(35%); }
.panel { padding: 27px; }
.panel::after, .app-card::after, .post-card::after { position: absolute; inset: 0; pointer-events: none; content: ""; background: radial-gradient(450px circle at var(--mx, 50%) var(--my, 50%), rgba(94,231,255,.095), transparent 42%); opacity: 0; transition: opacity .3s; }
.panel:hover::after, .app-card:hover::after, .post-card:hover::after { opacity: 1; }
.panel-number { color: var(--cyan); font: 700 .8rem ui-monospace, monospace; }
.panel h3 { margin: 30px 0 9px; font-size: 1.25rem; }
.panel p { margin: 0; color: var(--muted); font-size: .94rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: #bbcad8; background: rgba(255,255,255,.025); font: 650 .72rem ui-monospace, monospace; }

.app-card { display: grid; grid-template-columns: 110px 1fr; gap: 25px; min-height: 285px; padding: 28px; transition: border-color .25s, transform .25s; }
.app-card:hover { border-color: rgba(94,231,255,.36); transform: translateY(-4px); }
.app-icon { display: grid; width: 104px; height: 104px; place-items: center; align-self: start; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; color: #061018; background: linear-gradient(145deg, var(--cyan), var(--violet)); box-shadow: 0 14px 35px rgba(94,231,255,.14); font: 900 1.9rem ui-monospace, monospace; letter-spacing: -.08em; }
.app-icon { animation: iconFloat 6s ease-in-out infinite; }
.app-card:nth-child(2) .app-icon { animation-delay: -1.5s; }.app-card:nth-child(3) .app-icon { animation-delay: -3s; }.app-card:nth-child(4) .app-icon { animation-delay: -4.5s; }
.app-card:nth-child(2) .app-icon { background: linear-gradient(145deg, var(--lime), var(--cyan)); }.app-card:nth-child(3) .app-icon { background: linear-gradient(145deg, var(--violet), #ff8ccc); }.app-card:nth-child(4) .app-icon { background: linear-gradient(145deg, var(--amber), var(--lime)); }
.app-kicker { margin: 0 0 7px; color: var(--cyan); font: 750 .73rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.app-card h3 { margin: 0 0 9px; font-size: 1.42rem; letter-spacing: -.03em; }
.app-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.app-links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.app-links a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); font: 750 .76rem ui-monospace, monospace; text-decoration: none; }
.app-links a:hover { border-color: var(--lime); color: var(--lime); }
.badge { display: inline-block; margin-left: 8px; padding: 3px 7px; border: 1px solid rgba(184,255,106,.34); border-radius: 999px; color: var(--lime); background: rgba(184,255,106,.07); font: 750 .62rem ui-monospace, monospace; vertical-align: middle; }

.post-card { display: flex; min-height: 250px; flex-direction: column; padding: 27px; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: rgba(167,139,250,.4); transform: translateY(-4px); }
.post-thumb { margin: -27px -27px 22px; aspect-ratio: 16/8; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumb img { transform: scale(1.035); }
.post-meta, .entry-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font: .73rem ui-monospace, monospace; }
.post-card h3 { margin: 14px 0 10px; font-size: clamp(1.2rem, 2.3vw, 1.58rem); line-height: 1.25; letter-spacing: -.028em; }
.post-card h3 a { position: relative; z-index: 2; color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--cyan); }
.post-card p { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.post-card .text-link { position: relative; z-index: 2; margin-top: auto; }

.cta { position: relative; padding: clamp(32px, 6vw, 66px); border: 1px solid rgba(94,231,255,.22); border-radius: 30px; background: linear-gradient(115deg, rgba(94,231,255,.1), rgba(167,139,250,.09) 50%, rgba(184,255,106,.08)); overflow: hidden; }
.cta::after { position: absolute; right: -40px; bottom: -80px; width: 250px; height: 250px; content: ""; border: 1px solid rgba(184,255,106,.2); border-radius: 50%; box-shadow: 0 0 80px rgba(184,255,106,.08); }
.cta h2 { max-width: 750px; margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.07; letter-spacing: -.05em; }
.cta p { max-width: 700px; margin: 0 0 25px; color: var(--muted); }

.page-hero { padding: 82px 0 38px; }
.page-hero h1 { max-width: 900px; margin: 10px 0 16px; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.06em; }
.breadcrumbs { color: var(--muted); font: .78rem ui-monospace, monospace; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.content-layout { display: grid; grid-template-columns: minmax(0, 800px) minmax(240px, 1fr); gap: 48px; align-items: start; padding: 24px 0 96px; }
.article-shell { min-width: 0; }
.entry-content { color: #d8e4ee; }
.entry-content > * { max-width: 760px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 2em 0 .65em; color: var(--text); line-height: 1.2; letter-spacing: -.035em; scroll-margin-top: 100px; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }.entry-content h3 { font-size: 1.45rem; }
.entry-content p, .entry-content li { color: #cbd9e5; }
.entry-content blockquote { margin: 2rem 0; padding: 18px 24px; border-left: 4px solid var(--cyan); border-radius: 0 14px 14px 0; background: rgba(94,231,255,.055); }
.entry-content pre { max-width: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #03070d; overflow: auto; }
.entry-content code { color: var(--lime); }
.entry-content img { border-radius: 16px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.entry-footer { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.sidebar-card { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sidebar-card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.sidebar-card p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.nav-links, .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.page-numbers, .post-navigation a { display: inline-flex; min-height: 42px; align-items: center; padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; }
.page-numbers.current, .page-numbers:hover, .post-navigation a:hover { border-color: var(--cyan); color: var(--cyan); }

.search-form { display: flex; gap: 8px; }
.search-field { min-width: 0; flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: rgba(0,0,0,.2); }
.search-submit { padding: 9px 13px; border: 0; border-radius: 10px; color: #061018; background: var(--cyan); font-weight: 800; cursor: pointer; }
.comments-area { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.comment-list { padding-left: 24px; }
.comment-list li { margin: 18px 0; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .85rem; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: rgba(0,0,0,.2); }
.comment-form .submit { padding: 11px 17px; border: 0; border-radius: 11px; color: #061018; background: var(--cyan); font-weight: 800; cursor: pointer; }
.not-found { padding: 110px 0; text-align: center; }
.not-found .error-code { margin: 0; color: transparent; background: linear-gradient(90deg, var(--cyan), var(--violet)); background-clip: text; font: 900 clamp(5rem, 18vw, 12rem)/.8 ui-monospace, monospace; }

.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: #03060c; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 45px; padding: 62px 0 38px; }
.footer-copy { max-width: 430px; color: var(--muted); font-size: .9rem; }
.footer-brand { max-width: 100%; }
.footer-brand .footer-brand-logo { width: auto; max-width: 72px; height: 44px; flex: 0 0 auto; object-fit: contain; border-radius: 0; }
.footer-brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.footer-title { margin: 0 0 14px; color: var(--text); font: 800 .78rem ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); color: #74879a; font: .73rem ui-monospace, monospace; }

@keyframes pulse { 50% { opacity: .55; transform: scale(.86); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes auroraDrift { 0% { transform: translate3d(-3%, -2%, 0) rotate(0) scale(.9); } 50% { transform: translate3d(16%, 12%, 0) rotate(35deg) scale(1.1); } 100% { transform: translate3d(4%, 24%, 0) rotate(75deg) scale(.96); } }
@keyframes starShift { to { transform: translate3d(70px, 90px, 0); } }
@keyframes headerBeam { to { background-position: -240% 0; } }
@keyframes brandPulse { 50% { border-color: rgba(184,255,106,.6); box-shadow: inset 0 0 24px rgba(94,231,255,.1), 0 0 22px rgba(94,231,255,.12); transform: rotate(-3deg); } }
@keyframes gradientFlow { to { background-position: -220% center; } }
@keyframes buttonShine { 0%, 68% { transform: translateX(-180%) rotate(24deg); } 88%, 100% { transform: translateX(600%) rotate(24deg); } }
@keyframes holoScan { from { background-position: 0 0; } to { background-position: 0 70px; } }
@keyframes chipFloat { 50% { transform: translateY(-8px) rotate(1deg); box-shadow: 0 14px 34px rgba(0,0,0,.34), 0 0 22px rgba(94,231,255,.1); } }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
@keyframes starSpin { to { transform: rotate(360deg); } }
@keyframes iconFloat { 50% { transform: translateY(-8px) rotate(2deg); box-shadow: 0 22px 44px rgba(94,231,255,.2); } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 14px 20px 20px; border-bottom: 1px solid var(--line); background: rgba(5,8,16,.97); }
  .main-nav.is-open { display: block; }
  .main-nav ul { align-items: stretch; flex-direction: column; }
  .main-nav a { padding: 12px; }
  .hero { min-height: auto; padding-top: 68px; }
  .hero-grid, .content-layout { grid-template-columns: 1fr; }
  .terminal { max-width: 650px; }
  .chip-b { right: -10px; }
  .skills-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

@media (max-width: 1100px) {
  .content-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar-card { position: static; }
}
@media (max-width: 680px) {
  :root { --wrap: min(100% - 26px, 1180px); --radius: 18px; }
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2.55rem, 15vw, 4rem); }
  .apps-grid, .posts-grid, .footer-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 72px 1fr; gap: 17px; padding: 21px; }
  .app-icon { width: 70px; height: 70px; border-radius: 19px; font-size: 1.35rem; }
  .app-links { grid-column: 1 / -1; }
  .section { padding: 70px 0; }
  .section-head, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .terminal-body { min-height: 315px; padding: 20px; font-size: .72rem; overflow-x: auto; }
  .float-chip { font-size: .55rem; }.chip-a { right: 14px; }.chip-b { right: -4px; bottom: 60px; }.chip-c { left: 18px; }
  .footer-grid { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .terminal-line { opacity: 1; }
  .aurora, .star-field, .gradient-text, .brand-mark, .button::after, .terminal::after, .float-chip, .marquee-track, .marquee-group i, .app-icon { animation: none !important; }
}

/* Pixel Reforged — the original site character, rebuilt with cleaner structure. */
body {
  background:
    radial-gradient(circle at 20% 12%, rgba(124,235,213,.08), transparent 29rem),
    radial-gradient(circle at 88% 20%, rgba(139,92,246,.17), transparent 34rem),
    var(--bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
body::before {
  z-index: 0;
  opacity: .72;
  background-image: linear-gradient(rgba(139,92,246,.105) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.105) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000 0 75%, transparent 100%);
  animation: pixelGrid 28s linear infinite;
}
.site-header { border-bottom: 4px solid #090713; background: rgba(16,12,29,.94); box-shadow: 0 4px 0 rgba(139,92,246,.25); backdrop-filter: blur(12px); }
.site-header::after { display: none; }
.nav-shell { min-height: 78px; }
.brand { color: var(--lime); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; text-shadow: 2px 2px 0 #090713; }
.brand-mark, .brand img { border-radius: 2px; animation: none; }
.brand-mark { border: 2px solid var(--cyan); box-shadow: 4px 4px 0 #090713; }
.main-nav a { border: 2px solid transparent; border-radius: 2px; color: #d7cce7; font-size: .82rem; letter-spacing: .035em; }
.main-nav a:hover, .main-nav .current-menu-item > a { border-color: var(--violet); color: var(--lime); background: #211936; box-shadow: 3px 3px 0 #090713; transform: translate(-1px,-1px); }
.nav-toggle { border: 2px solid var(--violet); border-radius: 2px; box-shadow: 3px 3px 0 #090713; }
.scroll-progress { height: 4px; background: linear-gradient(90deg,var(--violet),var(--cyan),var(--lime)); box-shadow: none; }
.hero { min-height: 690px; padding: 82px 0 78px; }
.hero::after { top: 9%; right: -5%; width: 420px; height: 420px; border: 0; border-radius: 0; background: linear-gradient(90deg, transparent 48%, rgba(124,235,213,.09) 49% 51%, transparent 52%), linear-gradient(transparent 48%, rgba(124,235,213,.09) 49% 51%, transparent 52%); background-size: 48px 48px; animation: none; transform: rotate(8deg); }
.eyebrow { padding: 7px 10px; border: 2px solid var(--cyan); color: var(--cyan); background: #151126; box-shadow: 4px 4px 0 #090713; letter-spacing: .08em; }
.eyebrow::before { border-radius: 0; box-shadow: 0 0 0 3px #151126, 0 0 0 5px currentColor; animation: pixelBlink 1.8s steps(2) infinite; }
.hero h1, .section-title, .page-hero h1, .cta h2 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  letter-spacing: -.065em;
  text-shadow: 5px 5px 0 #090713;
}
.hero h1 { max-width: 740px; font-size: clamp(3rem,6vw,5.45rem); line-height: .98; }
.gradient-text { color: var(--lime); background: none; -webkit-text-fill-color: initial; filter: none; animation: none; text-shadow: 4px 4px 0 #2d1f55; }
.hero-lead { color: #c0b4ce; }
.button { border: 2px solid #090713; border-radius: 2px; color: #151126; background: var(--lime); box-shadow: 5px 5px 0 #090713; text-transform: uppercase; letter-spacing: .025em; transition: transform .12s, box-shadow .12s; }
.button::after { display: none; }
.button:hover { color: #151126; box-shadow: 2px 2px 0 #090713; transform: translate(3px,3px); }
.button.ghost { border-color: var(--violet); color: var(--text); background: #211936; box-shadow: 5px 5px 0 #090713; }
.button.ghost:hover { color: var(--cyan); background: #2a2043; }
.terminal { border: 4px solid var(--violet); border-radius: 1px; background: rgba(31,23,52,.96); box-shadow: 12px 12px 0 #090713; transition: transform .14s; }
.terminal::before { inset: auto -16px -16px auto; width: 38%; height: 38%; border: 0; border-radius: 0; background: repeating-linear-gradient(90deg,var(--cyan) 0 24px,var(--lime) 24px 48px,var(--violet) 48px 72px); filter: none; opacity: .18; }
.terminal::after { display: none; }
.terminal-bar { padding: 13px 15px; border-bottom: 4px solid var(--violet); background: #171026; }
.dot { width: 12px; height: 12px; border-radius: 0; background: #d95c5c; box-shadow: 20px 0 var(--lime), 40px 0 var(--cyan); }
.terminal-body { color: #d8cce6; }
.prompt { color: var(--cyan); }.command { color: var(--lime); }.token { color: #c89cff; }
.section { padding: 88px 0; }
.section.alt { border-block: 4px solid #090713; background: rgba(30,23,48,.72); box-shadow: inset 0 4px 0 rgba(139,92,246,.15), inset 0 -4px 0 rgba(139,92,246,.15); }
.section-title { color: var(--text); }
.panel, .app-card, .post-card { border: 3px solid #5f43ad; border-radius: 2px; background: rgba(30,23,48,.95); box-shadow: 8px 8px 0 #090713; }
.panel::before, .app-card::before, .post-card::before, .panel::after, .app-card::after, .post-card::after { display: none; }
.panel { padding: 26px; transition: transform .14s,box-shadow .14s,border-color .14s; }
.panel:hover, .app-card:hover, .post-card:hover { border-color: var(--cyan); box-shadow: 4px 4px 0 #090713; transform: translate(4px,4px); }
.panel-number, .app-kicker { color: var(--lime); }
.panel h3, .app-card h3, .post-card h3 { color: var(--text); font-family: ui-monospace,monospace; }
.tag { border: 2px solid #5f43ad; border-radius: 1px; color: #d8cce6; background: #171026; }
.apps-grid { counter-reset: pixel-app; }
.app-card { counter-increment: pixel-app; grid-template-columns: 92px 1fr; overflow: visible; }
.app-card::after { position: absolute; top: -14px; right: 12px; display: block; padding: 4px 8px; content: "0" counter(pixel-app); border: 2px solid var(--lime); color: var(--lime); background: #151126; box-shadow: 3px 3px 0 #090713; font: 800 .7rem ui-monospace,monospace; }
.app-icon { width: 86px; height: 86px; border: 3px solid #090713; border-radius: 2px; color: #151126; background: var(--cyan); box-shadow: 5px 5px 0 #090713; animation: none; }
.app-card:nth-child(2) .app-icon { background: var(--lime); }.app-card:nth-child(3) .app-icon { background: #a78bfa; }.app-card:nth-child(4) .app-icon { background: #f29a8a; }
.app-links a { border: 2px solid #5f43ad; border-radius: 1px; background: #171026; }
.badge { border: 2px solid var(--lime); border-radius: 1px; background: #151126; }
.post-thumb { border-bottom: 3px solid #5f43ad; filter: saturate(.82) contrast(1.05); }
.cta { border: 4px solid var(--cyan); border-radius: 2px; background: #211936; box-shadow: 12px 12px 0 #090713; }
.cta::after { right: 20px; bottom: 20px; width: 90px; height: 90px; border: 0; border-radius: 0; background: repeating-linear-gradient(45deg,var(--violet) 0 8px,transparent 8px 16px); box-shadow: none; opacity: .2; }
.page-hero { border-bottom: 4px solid #090713; background: rgba(33,25,54,.66); }
.breadcrumbs, .entry-meta, .post-meta { color: #a99dbb; }
.sidebar-card { border: 3px solid #5f43ad; border-radius: 2px; background: #211936; box-shadow: 7px 7px 0 #090713; }
.search-field, .comment-form input:not([type="checkbox"]), .comment-form textarea { border: 2px solid #5f43ad; border-radius: 1px; background: #171026; }
.search-submit, .comment-form .submit { border: 2px solid #090713; border-radius: 1px; background: var(--lime); box-shadow: 3px 3px 0 #090713; }
.site-footer { border-top: 4px solid #090713; background: #100c1d; box-shadow: inset 0 4px 0 rgba(139,92,246,.18); }
.footer-bottom { border-top: 2px solid #392a5f; color: #978aa8; }

@keyframes pixelGrid { to { background-position: 32px 32px; } }
@keyframes pixelBlink { 50% { opacity: .45; } }

@media (max-width:900px) {
  .main-nav { border-bottom: 4px solid #090713; background: #100c1d; }
  .hero-grid { gap: 62px; }
}
@media (max-width:680px) {
  :root { --radius: 3px; }
  .hero h1 { font-size: clamp(2.65rem,14vw,4rem); text-shadow: 3px 3px 0 #090713; }
  .app-card { grid-template-columns: 68px 1fr; }
  .app-icon { width: 62px; height: 62px; border-radius: 1px; }
  .terminal { box-shadow: 7px 7px 0 #090713; }
  .cta { box-shadow: 7px 7px 0 #090713; }
}

/* Mobile hardening: prevent monospace min-content from widening the viewport. */
@media (max-width: 900px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .wrap { width: calc(100% - 32px); max-width: 100%; }
  main, section, article, aside, header, footer, nav, form, fieldset, .hero-grid, .hero-grid > *, .content-layout, .content-layout > *, .article-shell, .terminal, .panel, .app-card, .post-card, .contact-grid, .contact-grid > * { min-width: 0; max-width: 100%; }
  .hero { min-height: auto; padding: 64px 0 72px; }
  .hero h1, .page-hero h1, .section-title, .cta h2 { max-width: 100%; hyphens: auto; overflow-wrap: break-word; word-break: normal; }
  .hero::after { right: -30%; opacity: .45; }
  .terminal-body p, .panel p, .app-card p, .post-card p { overflow-wrap: anywhere; }
  .terminal-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .content-layout { gap: 34px; }
  .footer-grid { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 32px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .entry-content figure, .entry-content .wp-block-image, .entry-content .wp-block-video, .entry-content .wp-block-embed, .entry-content .alignwide, .entry-content .alignfull { max-width: 100%; margin-inline: 0; }
  .entry-content iframe { width: 100%; }
  .entry-content code { overflow-wrap: anywhere; }
  .entry-content pre code { overflow-wrap: normal; }
  .search-form { flex-wrap: wrap; }
  .search-field { min-width: 0; flex: 1 1 220px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 24px); }
  .nav-shell { min-height: 66px; gap: 10px; }
  .brand { min-width: 0; gap: 8px; font-size: .78rem; letter-spacing: .035em; }
  .site-header .brand > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand img, .brand-mark { width: 33px; height: 33px; flex: 0 0 33px; }
  .site-footer .footer-brand { font-size: .82rem; }
  .site-footer .footer-brand .footer-brand-logo { width: auto; max-width: 64px; height: 40px; flex-basis: auto; }
  .nav-toggle { flex: 0 0 44px; }
  .main-nav { padding: 10px 12px 15px; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; }
  .hero { padding: 56px 0 58px; }
  .hero-grid { gap: 48px; }
  .hero::after { display: none; }
  .eyebrow { max-width: 100%; padding: 6px 8px; font-size: .68rem; line-height: 1.45; overflow-wrap: anywhere; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.45rem); line-height: 1.06; letter-spacing: -.075em; text-shadow: 3px 3px 0 #090713; }
  .hero-lead { margin: 20px 0 24px; font-size: .94rem; line-height: 1.72; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 11px; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .terminal { width: calc(100% - 7px); box-shadow: 7px 7px 0 #090713; }
  .terminal-bar { padding: 11px 12px; }
  .terminal-title { font-size: .67rem; }
  .terminal-body { min-height: 0; padding: 17px 14px 20px; font-size: clamp(.62rem, 3vw, .72rem); line-height: 1.72; overflow: hidden; }
  .terminal-body p { white-space: normal; }
  .section { padding: 58px 0; }
  .section-title { font-size: clamp(1.75rem, 9vw, 2.3rem); line-height: 1.12; text-shadow: 3px 3px 0 #090713; }
  .section-intro { font-size: .93rem; }
  .skills-grid, .apps-grid, .posts-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .panel, .post-card { width: calc(100% - 5px); padding: 21px; box-shadow: 5px 5px 0 #090713; }
  .panel:hover, .app-card:hover, .post-card:hover { box-shadow: 3px 3px 0 #090713; transform: translate(2px,2px); }
  .app-card { width: calc(100% - 5px); grid-template-columns: 58px minmax(0,1fr); gap: 14px; min-height: 0; padding: 20px 17px; box-shadow: 5px 5px 0 #090713; }
  .app-icon { width: 54px; height: 54px; font-size: 1rem; box-shadow: 3px 3px 0 #090713; }
  .app-card h3 { font-size: 1.2rem; }
  .app-links { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
  .app-links a { display: flex; min-height: 44px; align-items: center; justify-content: center; }
  .post-thumb { margin: -21px -21px 18px; }
  .post-card h3 { font-size: 1.18rem; overflow-wrap: anywhere; }
  .cta { width: calc(100% - 7px); padding: 25px 20px; box-shadow: 7px 7px 0 #090713; overflow: hidden; }
  .cta h2 { font-size: clamp(1.75rem, 9vw, 2.25rem); }
  .page-hero { padding: 58px 0 30px; }
  .page-hero h1 { font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.08; text-shadow: 3px 3px 0 #090713; overflow-wrap: anywhere; }
  .content-layout { padding-bottom: 64px; }
  .entry-content { max-width: 100%; overflow-wrap: anywhere; }
  .entry-content pre { width: 100%; padding: 16px; font-size: .75rem; overflow-x: auto; }
  .entry-content table { display: block; max-width: 100%; overflow-x: auto; }
  .sidebar-card { width: calc(100% - 5px); box-shadow: 5px 5px 0 #090713; }
  .footer-grid { padding: 48px 0 30px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom span { max-width: 100%; overflow-wrap: anywhere; }
  .comment-form input:not([type="checkbox"]), .comment-form textarea, .search-field { font-size: 16px; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 20px); }
  .brand { font-size: .7rem; }
  .site-header .brand { max-width: calc(100% - 54px); }
  .site-footer .footer-brand { max-width: 100%; font-size: .76rem; }
  .site-footer .footer-brand .footer-brand-logo { max-width: 56px; height: 36px; }
  .hero h1 { font-size: 1.9rem; }
  .eyebrow { font-size: .62rem; }
  .terminal-body { font-size: .6rem; }
  .app-card { grid-template-columns: 50px minmax(0,1fr); padding: 18px 14px; }
  .app-icon { width: 47px; height: 47px; }
}

/* Controlled motion and homepage contact console. */
.no-effect-pixel-spark .hero::before { display: none; }
.hero::before {
  position: absolute;
  top: 24%;
  left: 2.5%;
  z-index: -1;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--lime);
  box-shadow: 58px 86px 0 var(--cyan), 24vw -72px 0 var(--violet), 41vw 210px 0 var(--lime), 74vw 42px 0 var(--cyan), 88vw 270px 0 var(--violet), 94vw -18px 0 var(--lime);
  opacity: .48;
  animation: pixelParticles 7s steps(5,end) infinite alternate;
}
.terminal:hover { transform: translate(-2px,-2px); box-shadow: 14px 14px 0 #090713; }
.app-card:hover .app-icon { animation: pixelIconNudge .42s steps(2,end); }
.section-title::after { display: inline-block; margin-left: .12em; content: "_"; color: var(--cyan); text-shadow: none; animation: blink 1.15s steps(1) infinite; }
.motion-enabled .reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .62s ease, transform .62s cubic-bezier(.2,.75,.25,1); }
.motion-enabled .reveal-item.is-visible { opacity: 1; transform: none; }
.motion-enabled .reveal-item:nth-child(2) { transition-delay: .07s; }
.motion-enabled .reveal-item:nth-child(3) { transition-delay: .14s; }
.motion-enabled .reveal-item:nth-child(4) { transition-delay: .21s; }

.contact-section { border-top: 4px solid #090713; background: linear-gradient(135deg,rgba(33,25,54,.82),rgba(21,17,38,.92)); box-shadow: inset 0 4px 0 rgba(124,235,213,.09); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(38px,7vw,86px); align-items: center; }
.contact-copy { min-width: 0; }
.contact-lead { max-width: 590px; margin: 20px 0 27px; color: var(--muted); }
.contact-channels { display: grid; gap: 11px; }
.contact-channels a { display: grid; grid-template-columns: 70px minmax(0,1fr) 22px; gap: 12px; align-items: center; padding: 13px 14px; border: 2px solid #5f43ad; color: var(--text); background: #171026; box-shadow: 4px 4px 0 #090713; text-decoration: none; transition: transform .13s,box-shadow .13s,border-color .13s; }
.contact-channels a:hover { border-color: var(--cyan); color: var(--text); box-shadow: 2px 2px 0 #090713; transform: translate(2px,2px); }
.contact-channels span { color: var(--lime); font-size: .69rem; letter-spacing: .08em; }
.contact-channels strong { min-width: 0; font-size: .78rem; font-weight: 650; overflow-wrap: anywhere; }
.contact-channels i { color: var(--cyan); font-style: normal; }
.contact-form-panel { min-width: 0; border: 4px solid var(--violet); background: #1f1734; box-shadow: 12px 12px 0 #090713; transition: transform .15s,box-shadow .15s; }
.contact-form-panel:hover { transform: translate(-2px,-2px); box-shadow: 14px 14px 0 #090713; }
.contact-form-bar { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 4px solid var(--violet); color: #cfc3de; background: #171026; font-size: .7rem; }
.contact-form-bar > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-form-bar b { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--cyan); font-size: .61rem; letter-spacing: .06em; }
.contact-form-bar b i { width: 7px; height: 7px; background: var(--cyan); box-shadow: 0 0 0 3px rgba(124,235,213,.12); animation: pixelBlink 1.5s steps(2) infinite; }
.contact-form-body { padding: 25px; }
.contact-form-body .wpcf7-form { display: grid; gap: 14px; }
.contact-form-body .wpcf7-form > p { margin: 0; }
.contact-form-body label { display: grid; gap: 7px; color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.contact-form-body input:not([type="submit"]), .contact-form-body textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 2px solid #5f43ad; border-radius: 0; color: var(--text); background: #120d20; box-shadow: inset 3px 3px 0 rgba(0,0,0,.18); outline: 0; }
.contact-form-body textarea { min-height: 120px; resize: vertical; }
.contact-form-body input:not([type="submit"]):focus, .contact-form-body textarea:focus { border-color: var(--cyan); box-shadow: inset 3px 3px 0 rgba(0,0,0,.18),0 0 0 2px rgba(124,235,213,.13); }
.contact-form-body input[type="submit"] { min-height: 48px; padding: 10px 18px; border: 2px solid #090713; border-radius: 0; color: #151126; background: var(--lime); box-shadow: 5px 5px 0 #090713; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: transform .12s,box-shadow .12s; }
.contact-form-body input[type="submit"]:hover { box-shadow: 2px 2px 0 #090713; transform: translate(3px,3px); }
.contact-form-body .wpcf7-spinner { margin: 0 0 0 12px; background: var(--violet); }
.contact-form-body .wpcf7-not-valid-tip { margin-top: 5px; color: #ff9a9a; font-size: .72rem; }
.contact-form-body .wpcf7-response-output { margin: 8px 0 0 !important; padding: 10px 12px !important; border: 2px solid var(--cyan) !important; color: var(--text); font-size: .78rem; }

@keyframes pixelParticles { from { transform: translate(0,0); } to { transform: translate(12px,-18px); } }
@keyframes pixelIconNudge { 50% { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 #090713; } }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0,1fr); gap: 42px; }
  .contact-copy { max-width: 680px; }
}
@media (max-width: 680px) {
  .hero::before { left: 7%; box-shadow: 48px 96px 0 var(--cyan), 68vw -32px 0 var(--violet), 84vw 240px 0 var(--lime); }
  .terminal:hover, .contact-form-panel:hover { transform: none; }
  .contact-form-panel { width: calc(100% - 7px); box-shadow: 7px 7px 0 #090713; }
  .contact-form-bar { padding: 10px 11px; }
  .contact-form-body { padding: 18px 14px 20px; }
  .contact-form-body input:not([type="submit"]), .contact-form-body textarea { font-size: 16px; }
  .contact-form-body input[type="submit"] { width: 100%; min-height: 50px; }
  .contact-channels a { grid-template-columns: 58px minmax(0,1fr) 18px; padding: 12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .section-title::after, .contact-form-bar b i { animation: none !important; }
  .motion-enabled .reveal-item { opacity: 1; transform: none; transition: none; }
}

@media (hover: none), (pointer: coarse) {
  .panel:hover, .app-card:hover, .post-card:hover, .terminal:hover, .contact-form-panel:hover, .button:hover, .contact-channels a:hover { transform: none; }
}
