@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ─── Variables ──────────────────────────────────────────────────────────────── */
:root {
  --bg:           #070c1b;
  --surface:      #0c1426;
  --surface-2:    #111d35;
  --accent:       #4b8ef7;
  --accent-dim:   rgba(75, 142, 247, 0.12);
  --accent-2:     #7c6af5;
  --green:        #22d3a5;
  --green-dim:    rgba(34, 211, 165, 0.15);
  --text:         #e8f0fe;
  --muted:        #6c7fa8;
  --border:       rgba(148, 163, 184, 0.08);
  --border-hover: rgba(148, 163, 184, 0.18);
  --shadow:       0 24px 64px rgba(0, 0, 0, 0.6);
  --radius:       16px;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Sora', sans-serif; }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
::selection { background: rgba(75, 142, 247, 0.3); color: var(--text); }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.section { padding: 7rem 0; }
@media (min-width: 1024px) { .section { padding: 9rem 0; } }

/* ─── Section Labels ─────────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-label-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(75, 142, 247, 0.35);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.section-label-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 1rem;
}

/* ─── Gradient text ──────────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #4b8ef7 45%, #7c6af5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Navigation ─────────────────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s, padding 0.3s;
  padding: 1.25rem 0;
}
#main-nav.scrolled {
  background: rgba(7, 12, 27, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 3rem; } }

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

.btn-hire {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
@media (min-width: 768px) { .btn-hire { display: inline-flex; } }
.btn-hire:hover {
  background: #3a7ef6;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 142, 247, 0.35);
}

#burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
@media (min-width: 768px) { #burger-btn { display: none; } }

/* ─── Mobile Menu ────────────────────────────────────────────────────────────── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(7, 12, 27, 0.97);
  backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
#mobile-menu.open { opacity: 1; visibility: visible; }
#menu-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.mobile-nav-link {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  background: none; border: none;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--accent); }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 80%, rgba(75,142,247,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(124,106,245,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(75,142,247,0.03) 0%, transparent 70%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

.hero-available {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4rem 0.875rem;
  border-radius: 9999px;
  background: var(--green-dim);
  border: 1px solid rgba(34, 211, 165, 0.25);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.available-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-green 2s ease infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 165, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 211, 165, 0); }
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(68px, 9.5vw, 138px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
}
.hero-name-line { display: block; }

.hero-bio {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ─── Hero Stats Card ────────────────────────────────────────────────────────── */
.hero-card {
  background: linear-gradient(145deg, rgba(75,142,247,0.07) 0%, rgba(124,106,245,0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75,142,247,0.4), transparent);
}
.hero-card-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.hero-card-available-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.08em;
}
.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}
.hero-card-stack {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.hero-card-stack-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.625rem;
}
.hero-card-stack-tags {
  font-size: 0.8125rem;
  color: var(--accent);
  line-height: 1.8;
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: #3a7ef6;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(75, 142, 247, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-hover);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.25);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: gap 0.2s;
}
.btn-ghost:hover { gap: 0.65rem; }

/* ─── Icon buttons ───────────────────────────────────────────────────────────── */
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.icon-btn:hover {
  background: var(--accent-dim);
  border-color: rgba(75, 142, 247, 0.3);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}

/* Glow card — mouse-tracking radial glow */
.glow-card {
  --glow-x: 50%;
  --glow-y: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.glow-card::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(75,142,247,0.1), transparent 70%);
  left: var(--glow-x);
  top: var(--glow-y);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
.glow-card:hover {
  border-color: rgba(75, 142, 247, 0.25);
  transform: translateY(-3px);
}
.glow-card > * { position: relative; z-index: 1; }

/* ─── About ──────────────────────────────────────────────────────────────────── */
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.contact-chip:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}
.contact-chip-icon { color: var(--accent); flex-shrink: 0; }
.contact-chip-meta { font-size: 0.7rem; color: var(--muted); font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-chip-val { font-size: 0.875rem; color: var(--text); }

/* ─── Skills ─────────────────────────────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px) { .skills-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .skills-grid { grid-template-columns: 1fr 1fr 1fr; } }

.skill-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.skill-group:hover { border-color: var(--border-hover); }

.skill-cat-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-cat-name::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.skill-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: default;
}
.skill-tag:hover {
  color: var(--accent);
  border-color: rgba(75,142,247,0.3);
  background: var(--accent-dim);
}

/* ─── Projects ───────────────────────────────────────────────────────────────── */
.projects-list { margin-top: 3.5rem; }

.project-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 0;
  position: relative;
}
.project-row:first-child { border-top: 1px solid var(--border); }
.project-row:hover { background: var(--surface); }
.project-row:hover .project-arrow { transform: translate(4px, -4px); color: var(--accent); }

.project-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  padding-top: 0.35rem;
  min-width: 28px;
  opacity: 0.7;
}
.project-body { flex: 1; min-width: 0; }
.project-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
  transition: color 0.2s;
}
.project-row:hover .project-name { color: var(--accent); }
.project-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.project-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-stack-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.project-arrow {
  margin-top: 0.25rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

/* ─── Experience ─────────────────────────────────────────────────────────────── */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.exp-card {
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s, background 0.25s;
}
.exp-card:hover {
  border-left-color: var(--accent);
  background: var(--surface-2);
}
.exp-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.375rem;
}
.exp-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.exp-period {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(75,142,247,0.2);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.exp-company {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.875rem;
}
.exp-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Services ───────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  padding: 2rem;
  cursor: default;
}
.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(75,142,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: background 0.2s, border-color 0.2s;
}
.glow-card:hover .service-icon-wrap {
  background: rgba(75,142,247,0.2);
  border-color: rgba(75,142,247,0.35);
}
.service-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}
.service-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ─── Impact ─────────────────────────────────────────────────────────────────── */
#impact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(75,142,247,0.07), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 50%, rgba(124,106,245,0.05), transparent 60%);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .impact-grid { grid-template-columns: repeat(4, 1fr); } }

.impact-stat {
  padding: 3.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.impact-stat:hover { background: rgba(75,142,247,0.04); }
@media (min-width: 768px) {
  .impact-stat:last-child { border-right: none; }
  .impact-stat { border-bottom: none; }
}
.impact-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.625rem;
  display: block;
}
.impact-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 120px;
  margin: 0 auto;
}

/* ─── Contact ────────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 6rem; } }

.contact-info-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.contact-info-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 380px;
}
.contact-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }

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

/* ─── Contact Form ───────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}
.form-control::placeholder { color: var(--muted); opacity: 0.6; }
.form-control:focus {
  outline: none;
  border-color: rgba(75, 142, 247, 0.5);
  background: rgba(75, 142, 247, 0.03);
}
.form-actions { display: flex; gap: 0.875rem; align-items: center; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy { font-size: 0.8125rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  background: none; border: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

/* ─── Project Modal ──────────────────────────────────────────────────────────── */
#project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4, 8, 18, 0.85);
  backdrop-filter: blur(12px);
  overflow-y: auto;
  padding: 2rem 1rem;
  align-items: flex-start;
  justify-content: center;
}
#project-modal.active { display: flex; }

.modal-content {
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 640px;
  width: 100%;
  margin: auto;
  position: relative;
  box-shadow: var(--shadow);
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.modal-tagline { font-size: 0.9375rem; color: var(--muted); }
.modal-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--text); background: var(--surface-2); border-color: var(--border-hover); }
.modal-section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.modal-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  list-style: none;
}
.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.modal-feature-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  background: var(--surface-2);
  border: 1px solid var(--border-hover);
  color: var(--text);
  padding: 0.875rem 1.25rem;
  border-radius: 14px;
  font-size: 0.875rem;
  max-width: 340px;
  box-shadow: var(--shadow);
  display: none;
  transition: opacity 0.3s;
}

/* ─── Divider ────────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 4rem 0;
}

/* ─── Responsive helpers ─────────────────────────────────────────────────────── */
.hero-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid-container {
    grid-template-columns: 1fr 1fr;
  }
  .hero-card { display: block !important; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.bounce { animation: bounce-y 1.6s ease-in-out infinite; }
