:root {
  --bg: #0b1020;
  --bg-alt: #111831;
  --surface: #151e3a;
  --text: #ebeeff;
  --muted: #b5bedf;
  --primary: #73a1ff;
  --primary-strong: #4f7ee8;
  --border: #2a3767;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.menu-btn {
  display: none;
  font-size: 1.3rem;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  margin: 0;
}

h1 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

h2,
h3 {
  line-height: 1.25;
}

.intro {
  color: var(--muted);
  max-width: 60ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 0.62rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}

.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #0b1020;
}

.btn.primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.quick-card,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}

.quick-card h2 {
  margin-top: 0;
}

.quick-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section {
  padding: 2rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.card-head p {
  margin-top: 0;
  color: var(--muted);
}

.skill-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.contact-links a {
  color: var(--primary);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.site-footer p {
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero-grid,
  .skill-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 0.8rem 4%;
  }

  .nav-links.open {
    display: flex;
  }
}