/* =============================================================
   Delois E. Moore — Enterprise IT & Cybersecurity Leader
   styles.css
   -------------------------------------------------------------
   Design system: dark-mode, glassmorphism, layered depth,
   subtle motion. Inspired by modern cyber operations tooling.
   ============================================================= */

:root {
  --ink-950: #05070d;
  --ink-900: #0a0e1a;
  --ink-850: #0d1320;
  --ink-800: #111827;

  --steel-100: #e6edf7;
  --steel-200: #c7d2e3;
  --steel-300: #9aa9c2;
  --steel-400: #6b7a96;
  --steel-500: #4a5872;

  --cyber-300: #67e8f9;
  --cyber-400: #22d3ee;
  --cyber-500: #06b6d4;

  --signal-400: #7dd3fc;
  --signal-500: #38bdf8;

  --accent-400: #a78bfa;
  --accent-500: #8b5cf6;

  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);
  --glass: rgba(15, 22, 38, 0.55);
  --glass-strong: rgba(20, 28, 46, 0.7);

  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6),
               0 8px 24px -8px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.18),
                 0 18px 60px -20px rgba(34, 211, 238, 0.25);

  --radius-lg: 16px;
  --radius-xl: 22px;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--steel-100);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01","cv11";
  line-height: 1.55;
  overflow-x: hidden;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.02em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* =============================================================
   Background layers
   ============================================================= */
.bg-mesh,
.bg-grid,
.bg-particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.bg-mesh {
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(800px 600px at 92% 18%, rgba(139, 92, 246, 0.10), transparent 60%),
    radial-gradient(700px 500px at 50% 95%, rgba(56, 189, 248, 0.08), transparent 65%),
    linear-gradient(180deg, #05070d 0%, #07091a 60%, #05070d 100%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
  100% { background-position: 6% 4%, 92% 8%, 48% 96%, 0 0; }
}
.bg-grid {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 50%, transparent 100%);
  opacity: 0.55;
}
.bg-particles { z-index: 1; opacity: 0.6; }

/* Cursor glow */
.cursor-glow {
  position: fixed; width: 480px; height: 480px; left: 0; top: 0;
  pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 60%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 240ms ease;
  opacity: 0;
  mix-blend-mode: screen;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: rgba(255,255,255,0.04);
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyber-400), var(--signal-500), var(--accent-500));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.55);
  transition: width 60ms linear;
}

/* Make foreground content sit above bg layers */
header.nav, main, footer { position: relative; z-index: 5; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 10, 20, 0.55);
  border-bottom: 1px solid var(--border);
  transition: background 200ms ease, border-color 200ms ease;
}
.nav.is-scrolled { background: rgba(5, 7, 13, 0.78); border-color: var(--border-strong); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(139,92,246,0.18));
  border: 1px solid var(--border-strong);
  color: var(--cyber-300);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 20px rgba(34,211,238,0.18);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.01em; }
.brand-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel-400); margin-top: 2px; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--steel-200); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: color 160ms ease, background 160ms ease;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.04); }
.nav-cta {
  margin-left: 8px;
  background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(139,92,246,0.18));
  border: 1px solid var(--border-strong);
  color: white !important;
}
.nav-cta:hover { box-shadow: 0 0 0 1px rgba(34,211,238,0.4), 0 8px 24px -8px rgba(34,211,238,0.4); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--steel-200); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: 14px;
    background: var(--glass-strong); border: 1px solid var(--border-strong);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    transform-origin: top right; transform: scale(0.96) translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  .nav-links.is-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 160ms ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  color: #04111a;
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 50%, #a78bfa 100%);
  box-shadow: 0 12px 30px -10px rgba(34, 211, 238, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.65); }
.btn-ghost {
  color: var(--steel-100);
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(148,163,184,0.35); transform: translateY(-1px); }
.btn-link {
  color: var(--steel-200); padding: 12px 4px; border-radius: 0;
  background: transparent; border-bottom: 1px solid transparent;
}
.btn-link:hover { color: white; border-bottom-color: var(--cyber-400); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(88px, 12vw, 140px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }

.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18), 0 0 12px rgba(34,197,94,0.6);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.18), 0 0 12px rgba(34,197,94,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(34,197,94,0.04), 0 0 20px rgba(34,197,94,0.85); }
}
.status-text { display: inline-flex; align-items: center; gap: 8px; color: var(--steel-200); }
.status-text .mono { color: var(--cyber-300); font-size: 11px; }
.status-sep { color: var(--steel-500); }

.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
  max-width: 18ch;
}
.hero-line { display: block; }
.hero-line-muted {
  background: linear-gradient(180deg, var(--steel-200), var(--steel-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator {
  display: inline-block; position: relative;
  background: linear-gradient(135deg, #67e8f9 0%, #7dd3fc 35%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 12ch;
  vertical-align: baseline;
}
.rotator-word {
  display: inline-block; opacity: 0; transform: translateY(14px);
  transition: opacity 360ms ease, transform 360ms ease;
  position: absolute; left: 0; top: 0;
}
.rotator-word.is-active { position: relative; opacity: 1; transform: translateY(0); }

.hero-lede {
  max-width: 64ch; color: var(--steel-200); font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7; margin: 0 0 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.hero-hud {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(15,23,42,0.55), rgba(10,15,28,0.4));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.hud-cell {
  padding: 20px 22px; display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--border);
  position: relative;
}
.hud-cell:last-child { border-right: none; }
.hud-cell::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--cyber-400), transparent);
  opacity: 0.6;
}
.hud-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel-400); text-transform: uppercase; letter-spacing: 0.06em; }
.hud-value {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); color: white;
  display: inline-flex; align-items: baseline;
}
.hud-value [data-counter] { font-variant-numeric: tabular-nums; }

@media (max-width: 800px) {
  .hero-hud { grid-template-columns: repeat(2, 1fr); }
  .hud-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .hud-cell:nth-child(odd) { border-right: 1px solid var(--border); }
  .hud-cell:nth-last-child(-n+2) { border-bottom: none; }
}

.hero-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.5), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0%   { transform: translateY(20vh); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(80vh); opacity: 0; }
}

/* =============================================================
   SECTION SHELL
   ============================================================= */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--cyber-300); text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(34,211,238,0.06); border: 1px solid rgba(34,211,238,0.18);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1;
  letter-spacing: -0.015em; margin: 18px 0 12px;
  background: linear-gradient(180deg, #ffffff 0%, #c7d2e3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { color: var(--steel-300); max-width: 60ch; font-size: 15px; }

/* =============================================================
   ABOUT
   ============================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center; }
.about-copy p { color: var(--steel-200); font-size: 16px; margin: 0 0 16px; }
.about-copy .lede { font-size: 19px; color: white; }

.about-photo {
  display: flex; justify-content: center;
}
.about-photo img {
  width: 100%; max-width: 320px; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 40px rgba(34,211,238,.12), var(--shadow-lg);
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .about-photo img { max-width: 220px; aspect-ratio: 1/1; }
}

/* =============================================================
   IMPACT METRICS
   ============================================================= */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric-card {
  position: relative;
  padding: 28px 24px; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(15,23,42,0.6), rgba(10,15,28,0.45));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.metric-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(34,211,238,0.12), transparent 60%);
  opacity: 0; transition: opacity 300ms ease;
  pointer-events: none;
}
.metric-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.35); box-shadow: var(--shadow-glow); }
.metric-card:hover::before { opacity: 1; }
.metric-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(139,92,246,0.16));
  border: 1px solid var(--border-strong);
  color: var(--cyber-300); margin-bottom: 18px;
}
.metric-icon svg { width: 20px; height: 20px; }
.metric-value {
  display: inline-flex; align-items: baseline;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px); color: white;
  letter-spacing: -0.02em; line-height: 1;
}
.metric-suffix { color: var(--cyber-400); margin-left: 2px; font-size: 0.65em; }
.metric-label {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--steel-300); text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 8px;
}
.metric-note { color: var(--steel-300); font-size: 14px; margin: 12px 0 0; line-height: 1.55; }

@media (max-width: 880px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .metrics-grid { grid-template-columns: 1fr; } }

/* =============================================================
   TIMELINE
   ============================================================= */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.55), rgba(139,92,246,0.4), transparent);
  opacity: 0.55;
}
.tl-item { position: relative; padding-left: 56px; margin-bottom: 18px; }
.tl-marker {
  position: absolute; left: 11px; top: 24px; width: 16px; height: 16px;
  border-radius: 999px; background: var(--ink-900);
  border: 2px solid var(--cyber-400);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.12), 0 0 14px rgba(34,211,238,0.5);
}
.tl-card {
  display: block; width: 100%; text-align: left;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 220ms ease;
  color: inherit; font: inherit;
}
.tl-card:hover { border-color: rgba(34,211,238,0.35); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.tl-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.tl-period { font-size: 11px; color: var(--cyber-300); text-transform: uppercase; letter-spacing: 0.08em; }
.tl-role { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; margin: 6px 0 4px; color: white; }
.tl-org { font-size: 13px; color: var(--steel-300); }
.tl-toggle {
  width: 32px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform 240ms ease, background 220ms ease;
}
.tl-toggle svg { width: 16px; height: 16px; color: var(--steel-200); }
.tl-card[aria-expanded="true"] .tl-toggle { transform: rotate(180deg); background: rgba(34,211,238,0.12); }

.tl-card-body {
  max-height: 0; overflow: hidden;
  transition: max-height 360ms ease, padding-top 240ms ease, opacity 240ms ease;
  opacity: 0; padding-top: 0;
}
.tl-card[aria-expanded="true"] .tl-card-body { max-height: 600px; opacity: 1; padding-top: 16px; }
.tl-summary { color: var(--steel-100); font-size: 15px; margin: 0 0 10px; }
.tl-bullets { color: var(--steel-300); padding-left: 18px; margin: 0 0 14px; font-size: 14px; }
.tl-bullets li { margin: 8px 0; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  padding: 4px 10px; border-radius: 999px; color: var(--steel-200);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
}

/* =============================================================
   EXPERTISE / CAPABILITIES
   ============================================================= */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
  position: relative;
  padding: 24px; border-radius: var(--radius-xl);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.cap-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34,211,238,0.4), transparent 40%, rgba(139,92,246,0.35));
  -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 280ms ease;
}
.cap-card:hover { transform: translateY(-3px); }
.cap-card:hover::after { opacity: 1; }
.cap-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(139,92,246,0.16));
  border: 1px solid var(--border-strong);
  color: var(--cyber-300);
}
.cap-icon svg { width: 22px; height: 22px; }
.cap-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 600; margin: 0 0 6px; color: white; }
.cap-card p { color: var(--steel-300); font-size: 14px; margin: 0 0 14px; line-height: 1.6; }
.cap-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cap-points li {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel-200);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}

@media (max-width: 980px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .caps-grid { grid-template-columns: 1fr; } }

/* =============================================================
   PROJECTS
   ============================================================= */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj-card {
  position: relative;
  padding: 22px; border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(13, 19, 32, 0.65), rgba(10, 15, 28, 0.5));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.proj-card:hover {
  transform: translateY(-4px) rotateX(0.4deg);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow-glow);
}
.proj-glow {
  position: absolute; inset: -40% -40% auto auto; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 60%);
  opacity: 0; transition: opacity 320ms ease; pointer-events: none;
}
.proj-card:hover .proj-glow { opacity: 1; }
.proj-head { margin-bottom: 12px; }
.proj-tag { font-size: 11px; color: var(--cyber-300); text-transform: uppercase; letter-spacing: 0.1em; }
.proj-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; margin: 8px 0 0; color: white; }
.proj-card p { color: var(--steel-300); font-size: 14px; margin: 0 0 14px; line-height: 1.6; }
.proj-stack { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.proj-stack li {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--steel-200);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.proj-impact {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px;
  padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--steel-300);
}
.proj-impact a {
  color: var(--cyber-300);
  text-decoration: none;
}
.proj-impact a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.proj-impact .dot {
  width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0;
  background: var(--cyber-400); box-shadow: 0 0 10px rgba(34,211,238,0.7);
}

@media (max-width: 980px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

/* =============================================================
   CERTIFICATIONS
   ============================================================= */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-badge {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: var(--glass); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.cert-badge:hover { transform: translateY(-2px); border-color: rgba(34,211,238,0.4); box-shadow: var(--shadow-glow); }
.cert-mark {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px;
  color: white;
  background: linear-gradient(135deg, rgba(34,211,238,0.22), rgba(139,92,246,0.22));
  border: 1px solid var(--border-strong);
  text-shadow: 0 0 12px rgba(34,211,238,0.4);
}
.cert-name { font-size: 14px; color: var(--steel-100); font-weight: 500; }

@media (max-width: 880px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cert-grid { grid-template-columns: 1fr; } }

/* =============================================================
   CONTACT
   ============================================================= */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.contact-form {
  padding: 24px; border-radius: var(--radius-xl);
  background: var(--glass); border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--steel-200); }
.contact-form .optional { color: var(--steel-400); font-weight: 400; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(8, 12, 22, 0.6); color: white;
  border: 1px solid var(--border-strong);
  font-family: inherit; font-size: 14px;
  transition: border-color 200ms ease, box-shadow 220ms ease, background 200ms ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: rgba(34,211,238,0.5);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.12);
  background: rgba(8, 12, 22, 0.85);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-note { color: var(--steel-300); font-size: 12px; min-height: 16px; }
.form-note.is-success { color: #4ade80; }

.contact-aside {
  padding: 24px; border-radius: var(--radius-xl);
  background: var(--glass); border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.contact-links { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.contact-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  text-decoration: none; color: var(--steel-100);
  transition: background 200ms ease, border-color 200ms ease, transform 180ms ease;
}
.contact-links a:hover { background: rgba(255,255,255,0.05); border-color: rgba(34,211,238,0.4); transform: translateX(2px); }
.ctile { font-weight: 600; }
.cmeta { font-size: 12px; color: var(--steel-400); }

.status-card {
  padding: 16px; border-radius: 14px;
  background: rgba(34, 197, 94, 0.06); border: 1px solid rgba(34, 197, 94, 0.25);
}
.status-card-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 11px; color: #86efac; }
.status-card p { margin: 0; font-size: 13px; color: var(--steel-200); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding: 28px 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .bg-mesh { animation: none; }
  .hero-scanline { display: none; }
}

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 2px solid var(--cyber-400);
  outline-offset: 3px;
  border-radius: 6px;
}
