:root {
  --bg: #050a16;
  --bg-2: #0a1226;
  --bg-3: #0f1a33;
  --surface: rgba(140, 180, 255, 0.045);
  --surface-2: rgba(140, 180, 255, 0.08);
  --line: rgba(130, 180, 255, 0.14);
  --line-2: rgba(130, 180, 255, 0.24);
  --text: #e8f0ff;
  --text-2: #b4c3de;
  --muted: #8193b3;
  --teal: #22e6d0;
  --teal-2: #7cf5e6;
  --blue: #3b82ff;
  --blue-2: #79a9ff;
  --grad: linear-gradient(115deg, var(--teal) 0%, #2fb8f0 45%, var(--blue) 100%);
  --glow-teal: 0 0 0 1px rgba(34, 230, 208, 0.35), 0 10px 40px -10px rgba(34, 230, 208, 0.45);
  --glow-blue: 0 0 0 1px rgba(59, 130, 255, 0.35), 0 10px 40px -10px rgba(59, 130, 255, 0.5);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.9);
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --f-head: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-2); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: #fff; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
::selection { background: rgba(34, 230, 208, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--teal); color: #001; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.center { text-align: center; }
.ico { flex: none; display: inline-block; vertical-align: middle; }

.wrap, .wrap-narrow, .wrap-wide { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.wrap-narrow { max-width: calc(var(--wrap-narrow) + var(--gutter) * 2); }
.wrap-wide { max-width: calc(980px + var(--gutter) * 2); }
.section { padding-block: clamp(40px, 7vw, 80px); }
.section-tight { padding-block: 8px clamp(32px, 5vw, 56px); }

#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; opacity: .9; }
.aurora { position: fixed; inset: 0; z-index: -4; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; animation: drift 28s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 620px; height: 620px; background: radial-gradient(circle, rgba(34, 230, 208, .55), transparent 65%); top: -260px; left: -160px; }
.aurora span:nth-child(2) { width: 720px; height: 720px; background: radial-gradient(circle, rgba(59, 130, 255, .55), transparent 65%); top: -200px; right: -260px; animation-delay: -9s; }
.aurora span:nth-child(3) { width: 520px; height: 520px; background: radial-gradient(circle, rgba(47, 184, 240, .35), transparent 65%); bottom: -300px; left: 30%; animation-delay: -16s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.08); } 100% { transform: translate(-40px, 70px) scale(.96); } }

.glass {
  background: linear-gradient(180deg, rgba(150, 190, 255, 0.07), rgba(150, 190, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.panel { padding: clamp(22px, 4vw, 36px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; cursor: pointer;
  transition: transform .2s, box-shadow .25s, background .25s, border-color .25s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #021018; box-shadow: 0 8px 30px -10px rgba(34, 230, 208, .7); }
.btn-primary:hover { color: #021018; box-shadow: 0 12px 40px -10px rgba(59, 130, 255, .8); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(34, 230, 208, .5); color: #fff; background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.linklike { background: none; border: 0; padding: 0; color: var(--text-2); cursor: pointer; font-size: inherit; }
.linklike:hover { color: var(--teal); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); cursor: pointer; transition: .2s; }
.icon-btn:hover { color: var(--teal); border-color: rgba(34, 230, 208, .5); box-shadow: var(--glow-teal); }
.icon-btn.copied { color: var(--teal); border-color: var(--teal); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(34, 230, 208, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 230, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 230, 208, 0); } }
.lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--text-2); max-width: 62ch; }
kbd, .kbd { font: 500 11.5px/1 var(--f-mono); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter) 0; }
.nav { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(8, 16, 34, .62); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.logo-mark { filter: drop-shadow(0 0 10px rgba(34, 230, 208, .45)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .logo-mark { transform: rotate(60deg); }
.wordmark { font: 700 21px/1 var(--f-head); letter-spacing: -.01em; }
.wm-i { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; }
.nav-links a { display: block; padding: 8px 13px; border-radius: 999px; color: var(--text-2); font-size: 14.5px; font-weight: 500; transition: .2s; }
.nav-links a:hover { color: #fff; background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(34, 230, 208, .1); box-shadow: inset 0 0 0 1px rgba(34, 230, 208, .35); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); cursor: pointer; transition: .2s; }
.search-trigger:hover { color: #fff; border-color: rgba(34, 230, 208, .5); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; place-items: center; }

@media (max-width: 1060px) { .nav-cat { display: none; } }
@media (max-width: 820px) {
  .nav { border-radius: 22px; flex-wrap: wrap; padding: 8px 8px 8px 14px; }
  .nav-toggle { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .nav-links { order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 0; gap: 2px; padding: 6px 0 4px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; border-radius: 12px; font-size: 16px; }
  .nav-cat { display: block; }
  .search-trigger .kbd { display: none; }
}

.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(30px, 5vw, 60px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 76px); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.hero-cta.center { justify-content: center; }
.hero-stats { display: flex; gap: 0; margin: 40px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); width: fit-content; background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-stats div { padding: 12px 22px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { border-left: 0; }
.hero-stats dt { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hero-stats dd { margin: 0; font: 600 22px/1 var(--f-head); color: #fff; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.orb { position: absolute; inset: 6%; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 230, 208, .35); }
.orb .r1 { animation: spin 26s linear infinite; border-top-color: var(--teal); border-right-color: transparent; box-shadow: 0 0 40px -10px rgba(34, 230, 208, .4) inset; }
.orb .r2 { inset: 13%; border-color: rgba(59, 130, 255, .35); border-bottom-color: var(--blue); border-left-color: transparent; animation: spin 18s linear infinite reverse; }
.orb .r3 { inset: 27%; border-style: dashed; border-color: rgba(150, 200, 255, .3); animation: spin 40s linear infinite; }
.orb .core { position: absolute; inset: 37%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9fff8 0%, var(--teal) 22%, #1a6fff 62%, #0a1a40 100%); box-shadow: 0 0 60px rgba(34, 230, 208, .55), 0 0 140px rgba(59, 130, 255, .45); animation: breathe 6s ease-in-out infinite; }
.orb .sat { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.orb .s1 { animation: orbit1 9s linear infinite; }
.orb .s2 { background: var(--blue-2); box-shadow: 0 0 14px var(--blue); animation: orbit2 14s linear infinite; }
.orb .s3 { width: 6px; height: 6px; margin: -3px; animation: orbit3 21s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); filter: brightness(1.15); } }
@keyframes orbit1 { from { transform: rotate(0) translateX(clamp(120px, 20vw, 200px)); } to { transform: rotate(360deg) translateX(clamp(120px, 20vw, 200px)); } }
@keyframes orbit2 { from { transform: rotate(120deg) translateX(clamp(92px, 15vw, 150px)); } to { transform: rotate(-240deg) translateX(clamp(92px, 15vw, 150px)); } }
@keyframes orbit3 { from { transform: rotate(240deg) translateX(clamp(62px, 10vw, 100px)); } to { transform: rotate(600deg) translateX(clamp(62px, 10vw, 100px)); } }
.hud { position: absolute; display: grid; gap: 4px; padding: 10px 14px; border-radius: 12px; font-size: 11px; letter-spacing: .12em; }
.hud span { color: var(--muted); }
.hud b { color: var(--teal); font-weight: 500; }
.hud-a { top: 8%; right: 0; animation: float 7s ease-in-out infinite; }
.hud-b { bottom: 10%; left: 0; animation: float 9s ease-in-out infinite -3s; }
.hud-b b { color: var(--blue-2); }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; order: -1; margin-bottom: 8px; }
}
@media (max-width: 480px) {
  .hero-stats { width: 100%; }
  .hero-stats div { flex: 1; padding: 12px 14px; }
  .hero-visual { max-width: 240px; }
  .hud { display: none; }
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); margin: 0; display: flex; align-items: baseline; gap: 12px; }
.idx { font-size: 13px; color: var(--teal); letter-spacing: .1em; font-weight: 500; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--text-2); }
.more:hover { color: var(--teal); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; border: 1px solid; white-space: nowrap; }
.chip-ai { color: #7cf5e6; border-color: rgba(34, 230, 208, .4); background: rgba(34, 230, 208, .08); }
.chip-networking { color: #8db6ff; border-color: rgba(59, 130, 255, .45); background: rgba(59, 130, 255, .1); }
.chip-cybersecurity { color: #b4a6ff; border-color: rgba(140, 120, 255, .45); background: rgba(140, 120, 255, .1); }
a.chip:hover { filter: brightness(1.2); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(150, 190, 255, .06), rgba(150, 190, 255, .02));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 24px 60px -24px rgba(34, 230, 208, .35); }
.card:hover::after { opacity: 1; }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.card-art .ico { position: relative; z-index: 1; opacity: .9; filter: drop-shadow(0 0 18px currentColor); transition: transform .6s; }
.card:hover .card-art .ico { transform: scale(1.08) rotate(-4deg); }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 70%); }
.art-ai { color: var(--teal-2); background: radial-gradient(circle at 30% 20%, rgba(34, 230, 208, .35), transparent 55%), radial-gradient(circle at 80% 90%, rgba(59, 130, 255, .3), transparent 50%), #071428; }
.art-networking { color: var(--blue-2); background: radial-gradient(circle at 70% 25%, rgba(59, 130, 255, .45), transparent 55%), radial-gradient(circle at 15% 85%, rgba(34, 230, 208, .2), transparent 50%), #061230; }
.art-cybersecurity { color: #b9acff; background: radial-gradient(circle at 50% 20%, rgba(130, 110, 255, .4), transparent 55%), radial-gradient(circle at 85% 85%, rgba(59, 130, 255, .25), transparent 50%), #0a0f2c; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.meta { display: inline-flex; align-items: center; gap: 5px; font: 400 12.5px/1 var(--f-mono); color: var(--muted); }
.card-title { font-size: 20.5px; line-height: 1.25; margin: 4px 0 0; }
.card-title a { color: #fff; }
.card-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-top .chip { position: relative; z-index: 2; }
.card-desc { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; font: 400 12.5px/1 var(--f-mono); color: var(--muted); border-top: 1px solid var(--line); }
.card-go { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); transition: gap .25s; }
.card:hover .card-go { gap: 10px; }

.card-feature { display: grid; grid-template-columns: 1.15fr 1fr; }
.card-feature .card-media { aspect-ratio: auto; min-height: 340px; }
.card-feature .card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; gap: 14px; }
.card-feature .card-title { font-size: clamp(24px, 3.2vw, 36px); }
.card-feature .card-desc { font-size: 16.5px; -webkit-line-clamp: 4; }
.card-feature .card-foot { margin-top: 10px; }
@media (max-width: 820px) {
  .card-feature { grid-template-columns: 1fr; }
  .card-feature .card-media { min-height: 0; aspect-ratio: 16 / 9; }
}

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-grid.compact { margin: 8px 0 36px; }
.topic { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; color: var(--text); transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden; }
.topic::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -120px; right: -90px; filter: blur(40px); opacity: .35; transition: opacity .3s; }
.topic-ai::before { background: var(--teal); }
.topic-networking::before { background: var(--blue); }
.topic-cybersecurity::before { background: #7a66ff; }
.topic:hover { transform: translateY(-3px); color: var(--text); border-color: var(--line-2); }
.topic:hover::before { opacity: .6; }
.topic-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); margin-bottom: 12px; }
.topic-ai .topic-icon { color: var(--teal); }
.topic-networking .topic-icon { color: var(--blue-2); }
.topic-cybersecurity .topic-icon { color: #b4a6ff; }
.topic h3 { font-size: 20px; margin: 0; }
.topic p { color: var(--text-2); font-size: 15px; margin: 0; }
.topic-count { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.topic:hover .topic-count { color: var(--teal); }
@media (max-width: 860px) { .topic-grid { grid-template-columns: 1fr; } }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(26px, 5vw, 52px); position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 230, 208, .22), transparent 60%); pointer-events: none; }
.newsletter h2 { font-size: clamp(24px, 3vw, 32px); }
.newsletter p { color: var(--text-2); margin: 0; }
.nl-form { position: relative; }
.nl-row { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(4, 10, 24, .6); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.nl-row:focus-within { border-color: rgba(34, 230, 208, .6); box-shadow: 0 0 0 4px rgba(34, 230, 208, .12); }
.nl-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 15.5px; padding: 0 14px; outline: none; }
.nl-row input::placeholder { color: var(--muted); }
.nl-fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.nl-fine a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); }
.wrap-narrow .newsletter { grid-template-columns: 1fr; }
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .nl-row { flex-direction: column; border-radius: 18px; }
  .nl-row input { padding: 10px 12px; }
}

.form-msg:empty { display: none; }
.form-status { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; }
.form-status p { margin: 0; }
.form-status.ok { background: rgba(34, 230, 208, .1); border: 1px solid rgba(34, 230, 208, .4); color: var(--teal-2); }
.form-status.err { background: rgba(255, 90, 120, .1); border: 1px solid rgba(255, 90, 120, .4); color: #ffb3c1; margin: 0 0 18px; }
.form-msg .form-status.err { margin: 12px 0 0; }

.page-hero { padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(20px, 3vw, 32px); }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -.03em; }
.page-hero.center .lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; letter-spacing: .02em; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--text-2); }

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 10px; border-radius: 999px; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 500; border: 1px solid transparent; transition: .2s; }
.fchip:hover { color: #fff; background: var(--surface-2); }
.fchip.on { color: #021018; background: var(--grad); }
.filter-search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(4, 10, 24, .5); color: var(--muted); min-width: 220px; }
.filter-search:focus-within { border-color: rgba(34, 230, 208, .6); }
.filter-search input { background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: 14.5px; width: 100%; }
@media (max-width: 720px) {
  .filters { border-radius: 20px; }
  .filter-search { width: 100%; min-width: 0; }
}
.empty { padding: 40px; text-align: center; color: var(--text-2); }
.empty p { margin: 0; }
.empty-filter { text-align: center; color: var(--muted); padding: 30px 0; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 36px; color: var(--muted); font-size: 13px; }

.post-hero { padding-top: clamp(36px, 6vw, 72px); padding-bottom: 28px; }
.post-hero h1 { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -.03em; margin: 18px 0 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); margin-top: 22px; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-cover { margin: 0 auto 8px; }
.post-cover img, .post-cover .cover-art { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-cover .cover-art { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .post-cover .cover-art { aspect-ratio: 16 / 9; } }

.prose { padding-top: 28px; font-size: 18px; line-height: 1.78; color: #d6e1f5; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3.2vw, 32px); margin: 2.2em 0 .6em; position: relative; }
.prose h2::before { content: ""; position: absolute; left: -22px; top: .32em; width: 4px; height: .8em; border-radius: 4px; background: var(--grad); }
.prose h3 { font-size: 22px; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 18px; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose .table-wrap, .prose figure, .prose .code-block, .prose .callout { margin: 0 0 1.35em; }
.prose a { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(34, 230, 208, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--teal); }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li > ul, .prose li > ol { margin: .35em 0 0; }
.prose li::marker { color: var(--teal); }
.prose ol li::marker { font-family: var(--f-mono); font-size: .9em; }
.prose li.task { list-style: none; margin-left: -1.4em; }
.prose li.task input { accent-color: var(--teal); margin-right: 8px; }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 2.6em 0; }
.prose blockquote { padding: 4px 0 4px 22px; border-left: 3px solid var(--teal); color: var(--text-2); font-size: 19px; font-style: italic; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font: 500 .86em/1.5 var(--f-mono); padding: .15em .45em; border-radius: 6px; background: rgba(120, 170, 255, .1); border: 1px solid var(--line); color: #a8f7ec; }
.prose figure img { border-radius: var(--r); border: 1px solid var(--line); margin: 0 auto; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose img { border-radius: var(--r-sm); }
.prose del { color: var(--muted); }
.prose iframe, .prose video { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.code-block { border-radius: var(--r); border: 1px solid var(--line); background: #040915; overflow: hidden; box-shadow: var(--shadow); }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 8px 16px; border-bottom: 1px solid var(--line); font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(120, 170, 255, .04); }
.code-copy { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); border-radius: 8px; font: 500 11.5px/1 var(--f-mono); padding: 6px 10px; cursor: pointer; transition: .2s; }
.code-copy:hover, .code-copy.copied { color: var(--teal); border-color: var(--teal); }
.code-block pre { margin: 0; padding: 18px; overflow-x: auto; font: 400 14.5px/1.65 var(--f-mono); color: #d3e2ff; tab-size: 4; }
.code-block code { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font: 600 12.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-2); background: rgba(120, 170, 255, .05); }
.prose tr:last-child td { border-bottom: 0; }
.callout { padding: 16px 20px; border-radius: var(--r); border: 1px solid; background: rgba(34, 230, 208, .06); border-color: rgba(34, 230, 208, .35); font-size: 16.5px; }
.callout > :last-child { margin-bottom: 0; }
.callout-title { font: 600 12.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.callout-tip, .callout-info { background: rgba(59, 130, 255, .07); border-color: rgba(59, 130, 255, .4); }
.callout-tip .callout-title, .callout-info .callout-title { color: var(--blue-2); }
.callout-warning, .callout-caution { background: rgba(255, 180, 60, .07); border-color: rgba(255, 180, 60, .4); }
.callout-warning .callout-title, .callout-caution .callout-title { color: #ffc56b; }
.callout-important { background: rgba(140, 120, 255, .08); border-color: rgba(140, 120, 255, .45); }
.callout-important .callout-title { color: #b9acff; }
@media (max-width: 860px) { .prose h2::before { display: none; } }
@media (max-width: 600px) { .prose { font-size: 17px; } }

.post-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-top: 28px; margin-top: 12px; border-top: 1px solid var(--line); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 400 13px/1 var(--f-mono); color: var(--text-2); border: 1px solid var(--line-2); background: var(--surface); }
.tags a:hover { color: var(--teal); border-color: rgba(34, 230, 208, .5); }
.share { display: flex; align-items: center; gap: 8px; }
.share > span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.post-nav-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--r); color: #fff; transition: .25s; }
.post-nav-item:hover { color: #fff; border-color: rgba(34, 230, 208, .45); transform: translateY(-2px); }
.post-nav-item span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.post-nav-item strong { font: 600 16.5px/1.35 var(--f-head); }
.post-nav-item.next { text-align: right; align-items: flex-end; grid-column: 2; }
@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item.next { grid-column: auto; }
}

.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field span { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(4, 10, 24, .6); color: #fff; font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 160px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(34, 230, 208, .6); box-shadow: 0 0 0 4px rgba(34, 230, 208, .12); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot .nl-fine { margin: 0; }
.alt-contact { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 22px; }
form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }

.notfound .glitch { position: relative; display: inline-block; font-size: clamp(90px, 18vw, 170px); line-height: 1; font-weight: 500; margin: 0 0 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .glitch::before, .notfound .glitch::after { content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text; }
.notfound .glitch::before { animation: glitch 3s infinite steps(1); clip-path: inset(0 0 60% 0); transform: translateX(-3px); }
.notfound .glitch::after { animation: glitch 2.4s infinite steps(1) reverse; clip-path: inset(55% 0 0 0); transform: translateX(3px); }
@keyframes glitch { 0%, 92% { transform: none; } 94% { transform: translateX(-6px); } 96% { transform: translateX(5px); } 98% { transform: translateX(-2px); } }

.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 10, 22, 0), rgba(5, 10, 22, .85) 40%); }
.footer-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 56px var(--gutter) 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin: 14px 0 16px; max-width: 32ch; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); }
.footer-social a:hover { color: var(--teal); border-color: rgba(34, 230, 208, .5); }
.footer-col h4 { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col .linklike { color: var(--text-2); font-size: 15px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 20px var(--gutter) 28px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-inner { grid-template-columns: 1fr; } }

.palette { position: fixed; inset: 0; z-index: 90; display: grid; justify-items: center; align-items: start; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 16, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
.palette-box { position: relative; width: 100%; max-width: 640px; overflow: hidden; background: rgba(8, 16, 34, .92); animation: pop .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--teal); }
.palette-input input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: inherit; font-size: 17px; }
.palette-input input::-webkit-search-cancel-button { display: none; }
.palette-results { list-style: none; margin: 0; padding: 8px; max-height: min(60vh, 460px); overflow-y: auto; }
.palette-results li a { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; color: var(--text); border: 1px solid transparent; }
.palette-results li a:hover, .palette-results li a.active { background: rgba(34, 230, 208, .08); border-color: rgba(34, 230, 208, .3); color: #fff; }
.palette-results .pr-title { font-weight: 600; font-size: 15.5px; }
.palette-results .pr-meta { font: 400 12px/1.3 var(--f-mono); color: var(--muted); }
.palette-results .pr-snip { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.palette-results mark { background: rgba(34, 230, 208, .25); color: #fff; border-radius: 3px; padding: 0 2px; }
.palette-results .pr-empty { padding: 22px; text-align: center; color: var(--muted); font-size: 14.5px; }

.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 380px; padding: 18px 20px; background: rgba(8, 16, 34, .92); border-radius: var(--r); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 14px; color: var(--text-2); margin: 0 0 14px; line-height: 1.55; }
.cookie-banner strong { color: #fff; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }
@media (max-width: 480px) { .cookie-banner { right: 16px; max-width: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
