/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
  --lime:         #C8FF00;
  --lime-dim:     rgba(200, 255, 0, 0.09);
  --lime-glow:    rgba(200, 255, 0, 0.05);
  --lime-border:  rgba(200, 255, 0, 0.22);

  --bg:        #0C0B09;
  --bg-alt:    #0F0E0C;
  --surface:   #161512;
  --surface-2: #1D1B17;
  --border:    rgba(242, 237, 228, 0.055);
  --border-hi: rgba(200, 255, 0, 0.22);

  --text:       #F0EAE0;
  --text-muted: #6A6355;
  --text-dim:   #2C2A25;

  --font-display: 'Unbounded', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius:    4px;
  --radius-sm: 3px;

  --shadow-card:  0 4px 28px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 48px rgba(200, 255, 0, 0.05);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* Noise grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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: 180px 180px;
  opacity: 0.032;
  pointer-events: none;
  z-index: 600;
}

/* Ambient lime glow bottom-left */
body::after {
  content: '';
  position: fixed;
  bottom: -25%;
  left: -15%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(200, 255, 0, 0.035) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.12s var(--ease), height 0.12s var(--ease), background 0.2s;
  will-change: transform;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 255, 0, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s, opacity 0.2s;
  will-change: transform;
}

body:not(.edit-mode) a:hover ~ #cursor-dot,
body:not(.edit-mode) button:hover ~ #cursor-dot {
  width: 10px;
  height: 10px;
}

body.edit-mode #cursor-dot,
body.edit-mode #cursor-ring { display: none; }
body.edit-mode { cursor: auto; }

/* ============================================
   NAV
   ============================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.3s, backdrop-filter 0.35s;
}

#nav.scrolled {
  background: rgba(12, 11, 9, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  flex-shrink: 0;
  text-decoration: none;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem 0.28rem 0.6rem;
  border: 1.5px solid rgba(200, 255, 0, 0.35);
  border-radius: 3px;
  position: relative;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s;
}

.nav-logo::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  display: block;
  flex-shrink: 0;
  animation: statusPulse 2.8s ease-in-out infinite;
}

.nav-logo:hover {
  background: var(--lime);
  color: #0C0B09;
  border-color: var(--lime);
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.2);
}

.nav-logo:hover::before {
  background: #0C0B09;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  flex: 1;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
  position: relative;
  cursor: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--lime);
  transition: right 0.25s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.04);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: block;
  flex-shrink: 0;
  animation: statusPulse 2.8s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.5); }
  60%       { opacity: 0.75; box-shadow: 0 0 0 5px rgba(200, 255, 0, 0); }
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: rgba(200, 255, 0, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   SECTIONS — SHARED
   ============================================ */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

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

.section-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.15em;
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(200, 255, 0, 0.18);
  border-radius: 2px;
  background: var(--lime-dim);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

/* Faint grid lines */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 237, 228, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 237, 228, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 40% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
  width: 100%;
  padding: 7rem 0 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: block;
  animation: statusPulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 8.5vw, 6.8rem);
  line-height: 1.0;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  animation: heroFadeIn 0.9s var(--ease) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-name-sub {
  display: block;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240, 234, 224, 0.4);
  animation: heroFadeIn 0.9s 0.1s var(--ease) both;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  animation: heroFadeIn 0.9s 0.18s var(--ease) both;
}

.hero-title-arrow {
  color: var(--lime);
  font-size: 0.9rem;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 2.75rem;
  animation: heroFadeIn 0.9s 0.26s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: heroFadeIn 0.9s 0.35s var(--ease) both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: none;
  border: none;
  transition: all 0.22s var(--ease);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--lime);
  color: #0C0B09;
}

.btn-primary:hover {
  background: #D6FF14;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(200, 255, 0, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--lime-border);
  color: var(--text);
  transform: translateY(-2px);
}

/* Hero decorative terminal */
.hero-deco {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  user-select: none;
  pointer-events: none;
  animation: heroFadeIn 1.1s 0.4s var(--ease) both;
}

.hero-deco-bracket {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 11vw, 9.5rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 255, 0, 0.1);
  line-height: 1;
  letter-spacing: -0.1em;
  animation: bracketFloat 7s ease-in-out infinite;
}

@keyframes bracketFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(1deg); }
}

.hero-deco-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.hero-deco-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 0, 0.18));
  animation: lineExpand 3s ease-in-out infinite alternate;
}

.hero-deco-line:nth-child(1) { width: 80px; animation-delay: 0s; }
.hero-deco-line:nth-child(2) { width: 50px; animation-delay: 0.3s; }
.hero-deco-line:nth-child(3) { width: 110px; animation-delay: 0.6s; }
.hero-deco-line:nth-child(4) { width: 35px; animation-delay: 0.9s; }

@keyframes lineExpand {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

/* ============================================
   ABOUT
   ============================================ */
#about {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.95;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s;
}

.stat-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 0 32px rgba(200, 255, 0, 0.04);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================
   PROJECTS
   ============================================ */
#projects {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.15rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition:
    border-left-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card:hover {
  border-left-color: var(--lime);
  border-color: rgba(200, 255, 0, 0.1);
  box-shadow: var(--shadow-hover);
}

.project-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  padding-right: 2.5rem;
  transition: color 0.2s;
}

.project-card:hover .project-title { color: #fff; }

.project-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.78;
  flex: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  background: rgba(200, 255, 0, 0.07);
  color: rgba(200, 255, 0, 0.7);
  border: 1px solid rgba(200, 255, 0, 0.12);
  cursor: default;
  position: relative;
}

.project-links {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.project-link {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s var(--ease);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  cursor: none;
}

.project-link:hover { color: var(--lime); }

/* ============================================
   LEADERSHIP
   ============================================ */
#leadership {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.leadership-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.leadership-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  position: relative;
  transition:
    border-left-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.leadership-card:hover {
  border-left-color: var(--lime);
  border-color: rgba(200, 255, 0, 0.1);
  box-shadow: var(--shadow-hover);
}

.ldr-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.ldr-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ldr-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.28rem;
  flex-shrink: 0;
}

.ldr-org {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(200, 255, 0, 0.75);
  letter-spacing: 0.08em;
}

.ldr-period,
.ldr-location {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.ldr-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ldr-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.72;
}

.ldr-bullet::before {
  content: '›';
  color: var(--lime);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05em;
  opacity: 0.65;
}

.ldr-bullet-text { flex: 1; }

/* ============================================
   DRAG & DROP
   ============================================ */
.drag-handle {
  display: none;
  position: absolute;
  top: 0.85rem;
  left: 0.7rem;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-muted);
  opacity: 0.35;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

body.edit-mode .drag-handle {
  display: block;
}

body.edit-mode [data-drag-idx] {
  cursor: grab;
}

body.edit-mode [data-drag-idx]:active {
  cursor: grabbing;
}

body.edit-mode [contenteditable] {
  cursor: text;
}

[data-drag-idx].is-dragging {
  opacity: 0.25;
  transform: scale(0.97) !important;
}

[data-drag-idx].drag-target {
  outline: 1.5px dashed rgba(200, 255, 0, 0.5);
  outline-offset: 3px;
  background: rgba(200, 255, 0, 0.025) !important;
}

/* Resume URL edit field */
.resume-url-row {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

body.edit-mode .resume-url-row {
  display: flex;
}

.resume-url-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.resume-url-field {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(200, 255, 0, 0.6);
  word-break: break-all;
  flex: 1;
}

@media (max-width: 640px) {
  .ldr-header { flex-direction: column; gap: 0.75rem; }
  .ldr-meta   { align-items: flex-start; }
}

/* ============================================
   SKILLS
   ============================================ */
#skills {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}

.skill-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s var(--ease);
  position: relative;
}

.skill-group:hover { border-color: rgba(200, 255, 0, 0.12); }

.skill-category {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--lime);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.8;
}

.skill-category::before {
  content: '//';
  opacity: 0.45;
  font-size: 0.65rem;
}

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.skill-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}

.skill-chip:hover {
  border-color: rgba(200, 255, 0, 0.22);
  color: var(--text);
  background: rgba(200, 255, 0, 0.04);
}

/* ============================================
   HOBBIES
   ============================================ */
#hobbies {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.hobbies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hobby-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.22s var(--ease);
  cursor: default;
  position: relative;
}

.hobby-chip:hover {
  border-color: rgba(200, 255, 0, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hobby-icon  { font-size: 1rem; line-height: 1; }
.hobby-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
}

/* ============================================
   CONTACT
   ============================================ */
#contact {
  padding-top: 9rem;
  padding-bottom: 11rem;
}

.contact-cta {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 780px;
  margin-bottom: 2rem;
}

.contact-cta .lime { color: var(--lime); }

.contact-blurb {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.22s var(--ease);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  cursor: none;
}

.contact-link:hover {
  border-color: var(--lime-border);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.75rem 2rem;
  color: var(--text-dim);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  border-top: 1px solid var(--border);
  letter-spacing: 0.06em;
}

/* ============================================
   EDIT MODE
   ============================================ */
#edit-toggle {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.22s var(--ease);
  box-shadow: var(--shadow-card);
}

#edit-toggle:hover {
  border-color: var(--lime-border);
  transform: scale(1.08);
}

#edit-toggle .lock-icon { display: none; }
#edit-toggle .edit-icon { display: block; }

body.edit-mode #edit-toggle {
  background: var(--lime-dim);
  border-color: rgba(200, 255, 0, 0.35);
  box-shadow: 0 0 28px rgba(200, 255, 0, 0.12);
}

body.edit-mode #edit-toggle .lock-icon { display: block; }
body.edit-mode #edit-toggle .edit-icon { display: none; }

body.edit-mode [contenteditable="true"] {
  outline: none;
  cursor: text;
  border-bottom: 1px dashed rgba(200, 255, 0, 0.45);
  min-width: 20px;
}

body.edit-mode [contenteditable="true"]:focus {
  background: rgba(200, 255, 0, 0.04);
  border-radius: 2px;
  border-bottom-color: var(--lime);
}

/* Delete buttons */
.delete-btn {
  display: none;
  align-items: center;
  gap: 3px;
  background: rgba(220, 60, 60, 0.08);
  border: 1px solid rgba(220, 60, 60, 0.22);
  color: #d97070;
  border-radius: 2px;
  padding: 0.15rem 0.4rem;
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  line-height: 1;
  font-family: var(--font-mono);
}

.delete-btn:hover { background: rgba(220, 60, 60, 0.18); }
body.edit-mode .delete-btn { display: inline-flex; }

/* Add buttons */
.add-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--lime-dim);
  border: 1px dashed rgba(200, 255, 0, 0.32);
  color: var(--lime);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  margin-top: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.add-btn:hover { background: rgba(200, 255, 0, 0.14); }
body.edit-mode .add-btn { display: inline-flex; }

/* Tag-level add/delete */
.add-tag-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.15rem 0.45rem;
  background: var(--lime-dim);
  border: 1px dashed rgba(200, 255, 0, 0.32);
  color: var(--lime);
  border-radius: 2px;
  cursor: pointer;
  display: none;
  transition: background 0.15s var(--ease);
}

.add-tag-btn:hover { background: rgba(200, 255, 0, 0.14); }
body.edit-mode .add-tag-btn { display: inline-flex; }

.card-delete {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 5.5rem; right: 2rem;
  background: var(--surface-2);
  border: 1px solid rgba(200, 255, 0, 0.12);
  color: var(--text);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  z-index: 200;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s var(--ease);
  pointer-events: none;
  max-width: 300px;
  letter-spacing: 0.03em;
}

.toast.show { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-deco { display: none; }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  section { padding: 0 1.5rem; }
  .hero-inner { padding: 4.5rem 0 4rem; }
  .nav-status { display: none; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.68rem; }
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none; }
  #about, #experience, #projects, #leadership, #skills, #hobbies, #contact { padding-top: 6rem; padding-bottom: 6rem; }
  .contact-cta { font-size: clamp(1.8rem, 8vw, 2.8rem); }
}
