:root {
  --bg: #080A12;
  --bg-2: #0B0E19;
  --surface: rgba(255,255,255,0.025);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --text: rgba(255,255,255,0.88);
  --text-muted: rgba(255,255,255,0.5);
  --text-faint: rgba(255,255,255,0.28);
  --accent: #00E5A0;
  --accent-dim: rgba(0,229,160,0.15);
  --indigo: #6366F1;
  --pink: #F472B6;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: rgba(0,229,160,0.3); color: #fff; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
}
a:hover { opacity: 0.85; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* ─── ANIMATIONS ─────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,160,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,229,160,0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes borderFlow { to { --angle: 360deg; } }
@keyframes aurora {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.1); }
  66%  { transform: translate(-40px, 30px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

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

.fade-in { animation: fadeUp 0.8s var(--ease-out) both; }
.fade-in-1 { animation-delay: 0.1s; }
.fade-in-2 { animation-delay: 0.25s; }
.fade-in-3 { animation-delay: 0.45s; }
.fade-in-4 { animation-delay: 0.65s; }
.fade-in-5 { animation-delay: 0.85s; }

/* scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ─── NAV ────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: rgba(8, 10, 18, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
nav.scrolled {
  background: rgba(8, 10, 18, 0.85);
  border-bottom-color: var(--border);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--indigo), var(--pink));
}

.nav-name {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-name .prompt { color: var(--accent); }
.nav-name .caret {
  width: 8px;
  height: 16px;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1.1s steps(1) infinite;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* ─── HERO ────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 48px) 100px;
  position: relative;
  overflow: hidden;
}

#neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::after {
  /* fade the network into the page */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
  pointer-events: none;
  animation: aurora 22s ease-in-out infinite;
}
.hero-glow-1 { top: -220px; right: -120px; background: var(--accent); }
.hero-glow-2 { bottom: -180px; left: -140px; background: var(--indigo); animation-delay: -8s; animation-duration: 28s; }
.hero-glow-3 { top: 30%; left: 45%; width: 360px; height: 360px; background: var(--pink); opacity: 0.06; animation-delay: -14s; animation-duration: 34s; }

.hero-inner {
  max-width: 760px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.photo-ring {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
}
.photo-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--indigo), var(--pink), var(--accent));
  animation: spin 6s linear infinite;
}
.photo-ring::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--indigo), var(--pink), var(--accent));
  filter: blur(22px);
  opacity: 0.3;
  animation: spin 6s linear infinite;
  z-index: -1;
}
.hero-photo, .photo-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  display: block;
  background: var(--bg-2);
}
.photo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #fff;
}
.photo-ring.no-img .hero-photo { display: none; }
.photo-ring.no-img .photo-fallback { display: flex; }

.hero-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.25);
  background: rgba(0,229,160,0.05);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.hero-pill.creator {
  color: #fff;
  border-color: rgba(99,102,241,0.35);
  background: rgba(99,102,241,0.08);
  transition: border-color 0.3s, background 0.3s;
}
.hero-pill.creator:hover { border-color: var(--indigo); background: rgba(99,102,241,0.16); opacity: 1; }
.hero-pill.creator b { color: #A5B4FC; font-weight: 700; }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .line { display: block; }
.hero h1 .grad {
  background: linear-gradient(100deg, #fff 10%, var(--accent) 45%, var(--indigo) 75%, var(--pink));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }
.hero h1 .scramble-char { color: var(--accent); -webkit-text-fill-color: var(--accent); }

.hero-role {
  font-size: clamp(18px, 2.5vw, 23px);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.5;
  min-height: 3em;
}
.hero-role strong { color: var(--text); font-weight: 600; }
.typed {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  color: var(--accent);
  white-space: nowrap;
}
.typed-caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  vertical-align: -0.15em;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}

.hero-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, border-color 0.3s, color 0.3s;
  overflow: hidden;
  will-change: transform;
}
.btn:hover { opacity: 1; }

.btn-accent { background: var(--accent); color: var(--bg); }
.btn-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-out);
}
.btn-accent:hover::before { left: 140%; }
.btn-accent:hover { box-shadow: 0 0 40px rgba(0,229,160,0.35); }

.btn-ghost {
  background: rgba(8,10,18,0.5);
  color: var(--text-muted);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--indigo); color: #fff; box-shadow: 0 0 30px rgba(99,102,241,0.25); }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--text-faint);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-hint span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  animation: scrollHint 1.8s ease-in-out infinite;
}

/* ─── MARQUEE ─────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-faint);
  padding: 0 28px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--accent); }
.marquee-item::after { content: "◆"; font-size: 8px; color: rgba(0,229,160,0.4); }

/* ─── SECTIONS ────────────────────────── */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section { padding: 96px 0; }

.section-border { border-top: 1px solid var(--border); }
.container > section:first-child { border-top: none; }

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label .num { color: var(--text-faint); }
.section-label::after {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.08;
}
section h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}
section p + p { margin-top: 16px; }

/* ─── SPOTLIGHT CARDS (shared) ────────── */
.spot {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,229,160,0.09), transparent 45%);
}
.spot:hover::before { opacity: 1; }

/* ─── SKILLS GRID ─────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
  perspective: 900px;
}

.skill-card {
  padding: 22px;
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
  transform-style: preserve-3d;
}
.skill-card:hover { border-color: var(--border-hover); }

.skill-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.4s var(--ease-out);
}
.skill-card:hover .skill-icon { transform: translateZ(20px) scale(1.08); }
.skill-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skill-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.skill-card p {
  font-size: 13.5px;
  color: var(--text-faint);
  line-height: 1.55;
  transition: color 0.3s;
}
.skill-card:hover p { color: var(--text-muted); }

/* ─── PROJECTS ─────────────────────────── */
.project-card {
  display: block;
  padding: 28px;
  border-radius: 18px;
  margin-bottom: 16px;
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s;
  color: inherit;
}
.project-card:hover {
  border-color: rgba(0,229,160,0.5);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -20px rgba(0,229,160,0.2);
  opacity: 1;
}

/* featured card: animated conic border */
.project-card.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(from var(--angle), rgba(0,229,160,0.7), rgba(99,102,241,0.7), rgba(244,114,182,0.5), rgba(0,229,160,0.7)) border-box;
  animation: borderFlow 6s linear infinite;
  padding: 32px;
}
.project-card.featured:hover { box-shadow: 0 24px 60px -20px rgba(99,102,241,0.35); }

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 12px;
}

.project-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.project-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.project-card.featured h3 { font-size: 28px; letter-spacing: -0.03em; }

.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #A5B4FC;
  border: 1px solid rgba(99,102,241,0.3);
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-tag.live { color: var(--accent); border-color: rgba(0,229,160,0.3); }
.project-tag.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.project-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

.models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.model-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-faint);
  background: rgba(255,255,255,0.02);
  transition: all 0.5s var(--ease-out);
}
.model-chip.on {
  color: var(--c);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 10%, transparent);
  box-shadow: 0 0 20px -6px var(--c);
  transform: translateY(-2px);
}

.project-arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 16px;
  display: inline-flex;
  gap: 6px;
  transition: color 0.3s;
}
.project-arrow .arr { transition: transform 0.4s var(--ease-out); }
.project-card:hover .project-arrow { color: var(--accent); }
.project-card:hover .project-arrow .arr { transform: translateX(5px); }


/* ─── TERMINAL ─────────────────────────── */
.terminal {
  margin-top: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-hover);
  background: rgba(5,7,13,0.85);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(0,229,160,0.04);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.term-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.term-bar i:nth-child(1) { background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; }
.term-bar i:nth-child(3) { background: #28C840; }
.term-bar span { margin-left: 10px; font-size: 11px; color: var(--text-faint); letter-spacing: 0.5px; }

.term-body {
  height: 300px;
  overflow-y: auto;
  padding: 18px 18px 8px;
  line-height: 1.7;
  cursor: text;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.term-line { white-space: pre-wrap; word-break: break-word; color: var(--text-muted); }
.term-line .p { color: var(--accent); }
.term-line .cmd { color: #fff; }
.term-line .hl { color: var(--accent); }
.term-line .ix { color: #A5B4FC; }
.term-line .pk { color: var(--pink); }
.term-line .dim { color: var(--text-faint); }
.term-line a { color: #A5B4FC; text-decoration: underline; text-underline-offset: 3px; }

.term-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 18px;
}
.term-input-row .p { color: var(--accent); white-space: nowrap; }
.term-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font: inherit;
  caret-color: var(--accent);
  min-width: 0;
}
.term-input:focus-visible { outline: none; }

.term-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.term-hints button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 11px;
  cursor: pointer;
  transition: all 0.25s;
}
.term-hints button:hover { color: var(--accent); border-color: rgba(0,229,160,0.4); }

/* ─── CONTACT ──────────────────────────── */
.contact-section {
  text-align: center;
  position: relative;
}
.contact-section p { margin: 0 auto; }
.contact-section .section-label { justify-content: center; }
.contact-section .section-label::after { display: none; }

.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, transform 0.25s var(--ease-out);
}
.contact-chip:hover {
  border-color: rgba(0,229,160,0.5);
  color: var(--accent);
  opacity: 1;
}
.contact-chip svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── FOOTER ───────────────────────────── */
footer {
  text-align: center;
  padding: 44px 24px;
  border-top: 1px solid var(--border);
}
footer p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
}
footer p + p { margin-top: 8px; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); opacity: 1; }
footer .heart { color: var(--accent); }

/* ─── TOAST (easter egg) ───────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--bg);
  background: var(--accent);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,229,160,0.35);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── MOBILE ───────────────────────────── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; font-size: 10px; letter-spacing: 1px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 100px 20px 90px; }
  .photo-ring { width: 88px; height: 88px; }
  .hero-links { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
  .skills-grid { grid-template-columns: 1fr; }
  .project-card.featured { padding: 24px; }
  .project-card.featured h3 { font-size: 24px; }
  section { padding: 72px 0; }
  .contact-links { flex-direction: column; align-items: stretch; }
  .contact-chip { justify-content: center; }
  .term-body { height: 260px; font-size: 12.5px; }
}

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