@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #050508;
  --bg-soft: #0a0a10;
  --bg-elev: #101019;
  --panel: rgba(12, 12, 20, 0.68);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ececf3;
  --text-dim: #9090a5;
  --text-faint: #59596d;
  --accent: #00ffaa;
  --accent-dim: rgba(0, 255, 170, 0.13);
  --accent-glow: rgba(0, 255, 170, 0.46);
  --cyan: #00d4ff;
  --red: #ff5872;
  --yellow: #ffd166;
  --font-head: 'Syne', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-head);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: none;
}

@media (pointer: coarse) {
  body,
  a,
  button {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  box-shadow: 0 0 16px var(--accent-glow);
  z-index: 10001;
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.85s var(--ease-out), visibility 0.85s, transform 0.85s var(--ease-out);
}

.boot.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.boot-inner {
  width: min(560px, 90vw);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  color: var(--text-dim);
  line-height: 1.8;
}

.boot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.boot-tag {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.boot-loader {
  width: 52px;
  height: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}

.boot-loader::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: bootLoad 1.2s ease infinite;
}

.boot-log {
  white-space: pre-wrap;
}

.boot-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

#grid-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.36;
}

.orb--1 {
  width: min(54vw, 650px);
  aspect-ratio: 1;
  right: -12%;
  top: -12%;
  background: radial-gradient(circle, rgba(0, 255, 170, 0.2), transparent 70%);
  animation: orbFloat 20s ease-in-out infinite;
}

.orb--2 {
  width: min(44vw, 520px);
  aspect-ratio: 1;
  left: -14%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 70%);
  animation: orbFloat 24s ease-in-out infinite reverse;
}

.noise,
.scanlines,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.scanlines {
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.035) 2px,
    rgba(0, 0, 0, 0.035) 4px
  );
}

.vignette {
  z-index: 3;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.62) 100%);
}

.cursor-dot {
  position: fixed;
  z-index: 10000;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  z-index: 9999;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 170, 0.45);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.2s;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring,
body:has(input:hover) .cursor-ring,
body:has(textarea:hover) .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--accent);
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 10;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

.topbar.scrolled {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.84);
  backdrop-filter: blur(18px) saturate(1.4);
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.04rem;
  font-weight: 600;
}

.logo-bracket {
  color: var(--text-dim);
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  position: relative;
  transition: color 0.22s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link--accent {
  color: var(--accent);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-radius: 999px;
  padding: 0.3rem 0.56rem;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--bg);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.5s ease infinite;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out);
}

.menu-toggle.open span:first-child {
  transform: translateY(3.8px) rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: translateY(-3.8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 160;
  opacity: 0;
  visibility: hidden;
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(24px);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.35s, visibility 0.35s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-lang {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.mobile-nav-link {
  font-family: var(--font-mono);
  font-size: 1.48rem;
  color: var(--text-dim);
  transition: color 0.22s;
}

.mobile-nav-link:hover {
  color: var(--text);
}

.mobile-nav-link--accent {
  color: var(--accent);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem clamp(1.2rem, 4vw, 3rem) 4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
}

.tag--dim {
  color: var(--text-dim);
  background: transparent;
}

.hero-title {
  font-size: clamp(2.35rem, 7.4vw, 5.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.034em;
  margin-bottom: 1.35rem;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.hero-title .line.visible {
  opacity: 1;
  transform: translateY(0);
}

.line--accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--cyan) 55%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

.hero-lead,
.hero-actions,
.hero-terminal {
  opacity: 0;
  transform: translateY(22px);
}

.hero-lead.visible,
.hero-actions.visible,
.hero-terminal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 2.2rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.14rem);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin-bottom: 3.4rem;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.36rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.81rem;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s, border-color 0.28s, background 0.28s, color 0.28s;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px var(--accent-glow), 0 10px 34px rgba(0, 255, 170, 0.2);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--panel);
}

.btn--ghost:hover {
  border-color: rgba(0, 255, 170, 0.42);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  transition: transform 0.28s var(--ease-spring);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.hero-terminal,
.stack-terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: opacity 0.86s var(--ease-out), transform 0.86s var(--ease-out);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.44rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.34);
}

.terminal-dot {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.terminal-dot--red {
  background: var(--red);
}

.terminal-dot--yellow {
  background: var(--yellow);
}

.terminal-dot--green {
  background: var(--accent);
}

.terminal-title {
  margin-left: 0.4rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.terminal-body {
  padding: 1.1rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
}

.terminal-body--mono {
  font-size: 0.74rem;
}

.prompt {
  color: var(--accent);
  margin-right: 0.4rem;
}

.output {
  padding-left: 1rem;
  color: var(--text-dim);
}

.output--grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem 0.72rem;
}

.output--grid span {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.18rem 0.45rem;
}

.output--accent {
  color: var(--cyan);
}

.blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.45rem clamp(1.2rem, 4vw, 3rem);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.7rem;
}

.section-index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.84rem);
  font-weight: 700;
  letter-spacing: -0.024em;
  text-transform: lowercase;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.7rem;
  align-items: start;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(16px);
  padding: 1.95rem;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.about-text {
  font-size: 1.04rem;
  line-height: 1.82;
  color: var(--text-dim);
}

.about-text em {
  font-style: normal;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 255, 170, 0.25);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.stat {
  padding: 1.3rem 1.45rem;
  border: 1px solid rgba(0, 255, 170, 0.24);
  border-radius: var(--radius);
  background: rgba(16, 16, 25, 0.92);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.35s var(--ease-out);
}

.stat:hover {
  border-color: rgba(0, 255, 170, 0.55);
  background: var(--accent-dim);
  box-shadow: 0 0 22px rgba(0, 255, 170, 0.12);
  transform: translateX(5px);
}

.stat-value {
  color: var(--accent);
  font-size: 2.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat-value--text {
  font-size: 1.34rem;
  text-transform: lowercase;
}

.stat-label {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.35rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  backdrop-filter: blur(14px);
  padding: 1.7rem;
  transition: border-color 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

.work-card:hover {
  border-color: rgba(0, 255, 170, 0.2);
}

.work-card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 170, 0.12), transparent 45%);
}

.work-card:hover .work-card-glow {
  opacity: 1;
}

.work-card-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s;
  background: conic-gradient(
    from var(--border-angle),
    rgba(0, 255, 170, 0.2),
    var(--accent),
    var(--cyan),
    var(--accent),
    rgba(0, 255, 170, 0.2)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderSpin 5s linear infinite paused;
}

.work-card:hover .work-card-border {
  opacity: 1;
  animation-play-state: running;
}

.work-card > :not(.work-card-glow):not(.work-card-border) {
  position: relative;
  z-index: 2;
}

.work-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.work-name {
  margin-bottom: 0.42rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.work-desc {
  margin-bottom: 0.88rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.work-meta span {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.22rem 0.44rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
}

.work-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.preview-ui {
  height: 100%;
  padding: 0.88rem;
  background: linear-gradient(145deg, #0d0d16, #07070b);
}

.preview-ui--dark {
  background: linear-gradient(145deg, #0c0c16, #06060a);
}

.preview-scan,
.preview-firewall {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
}

.scan-line {
  display: flex;
  justify-content: space-between;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.62rem;
}

.scan-line--dim {
  opacity: 0.45;
}

.scan-port {
  color: var(--text-dim);
}

.scan-state {
  color: var(--text-faint);
}

.scan-state.open {
  color: var(--accent);
}

.preview-topology {
  position: relative;
  height: 100%;
  min-height: 82px;
}

.topo-node {
  position: absolute;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 10px rgba(0, 255, 170, 0.3);
}

.topo-node--core {
  width: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.topo-node--edge {
  top: 20%;
  left: 25%;
}

.topo-node--edge.topo-node--r {
  left: auto;
  right: 25%;
}

.topo-lines {
  position: absolute;
  inset: 15% 20%;
  border: 1px solid rgba(0, 255, 170, 0.14);
  border-radius: 8px;
}

.topo-node--leaf {
  bottom: 18%;
  left: 30%;
  width: 7px;
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.12);
}

.topo-node--leaf.topo-node--r {
  left: auto;
  right: 30%;
}

.fw-rule {
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 0.58rem;
}

.fw-rule span {
  margin-right: 0.4rem;
  font-weight: 600;
}

.fw-rule--allow span {
  color: var(--accent);
}

.fw-rule--deny span {
  color: var(--red);
}

.fw-status {
  margin-top: 0.25rem;
  font-size: 0.55rem;
  color: var(--cyan);
  opacity: 0.85;
}

.scan-state.filtered {
  color: var(--yellow);
}

.stack-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.7rem;
  align-items: start;
}

.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  padding: 1.12rem 1.32rem;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.mini-card:hover {
  border-color: rgba(0, 255, 170, 0.4);
  box-shadow: 0 0 22px rgba(0, 255, 170, 0.12);
  background: rgba(0, 255, 170, 0.06);
}

.mini-card-icon {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.mini-card h4 {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.mini-card p {
  color: var(--text-dim);
  font-size: 0.83rem;
  line-height: 1.62;
}

.section--contact {
  padding-bottom: 7rem;
}

.contact-block {
  max-width: 780px;
}

.contact-lead {
  margin-bottom: 2.2rem;
  font-size: clamp(1.14rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.5;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.6rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.1rem 1.3rem;
  transition: border-color 0.28s, box-shadow 0.28s, background 0.28s;
}

.contact-link:hover {
  border-color: rgba(0, 255, 170, 0.44);
  box-shadow: 0 0 28px rgba(0, 255, 170, 0.14);
  background: rgba(0, 255, 170, 0.08);
}

.contact-link--primary {
  border-color: rgba(0, 255, 170, 0.26);
  background: rgba(0, 255, 170, 0.08);
}

.contact-label {
  min-width: 74px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  flex: 1;
  font-weight: 600;
}

.contact-arrow {
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}

.contact-link:hover .contact-arrow {
  transform: translate(4px, -4px);
}

.contact-cta {
  max-width: 420px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.62rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}

.footer-sep {
  color: var(--text-faint);
}

.footer-blink {
  color: var(--accent);
  animation: blink 1.3s step-end infinite;
}

@media (max-width: 1024px) {
  .stack-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .status-pill {
    display: none;
  }

  .hero {
    padding-top: 6.4rem;
    padding-bottom: 3.5rem;
  }

  .section {
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-inline: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(3%, -4%) scale(1.06);
  }

  66% {
    transform: translate(-2%, 3%) scale(0.97);
  }
}

@keyframes bootLoad {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(200%);
  }
}

@keyframes borderSpin {
  to {
    --border-angle: 360deg;
  }
}

::selection {
  background: var(--accent);
  color: var(--bg);
}
