:root {
  --bg: #05060a;
  --bg-muted: #0d1017;
  --fg: #f3f4f6;
  --fg-soft: #9ca3af;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --border-subtle: #1f2933;
  --card-bg: #0b0f18;
  --radius-lg: 16px;
  --radius-sm: 999px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000 100%);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

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

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.6));
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.logo a {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  font-size: 14px;
}

.nav a {
  margin-left: 16px;
  font-size: 14px;
  text-decoration: none;
  color: var(--fg-soft);
}

.nav a:hover {
  color: var(--fg);
}

/* Hero */

.hero {
  padding: 72px 0 56px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-text {
  max-width: 640px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 16px;
  color: var(--fg-soft);
  max-width: 540px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.08s ease;
}

.button.primary {
  background: var(--accent);
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.button.primary:hover {
  transform: translateY(-1px);
  background: #0ea5e9;
}

.button.secondary {
  background: transparent;
  color: var(--fg-soft);
  border-color: #1f2937;
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.hero-meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-soft);
}

/* Pills */

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.pill {
  border-radius: var(--radius-lg);
  border: 1px solid #111827;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 55%);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--fg-soft);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.9);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card-meta {
  font-size: 13px;
  color: var(--fg-soft);
  margin-bottom: 10px;
}

.card-list {
  padding-left: 18px;
  margin: 8px 0 0;
  color: var(--fg-soft);
  font-size: 14px;
}

.card-list li {
  margin-bottom: 4px;
}

/* Experience */

.experience-item {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 12, 20, 0.9);
  padding: 16px 16px 12px;
  margin-top: 14px;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.experience-header h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.experience-company {
  font-size: 13px;
  color: var(--fg-soft);
}

.experience-dates {
  font-size: 13px;
  color: var(--fg-soft);
}

.experience-item ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--fg-soft);
}

.experience-item li {
  margin-bottom: 4px;
}

/* Contact */

.contact-list p {
  margin-bottom: 4px;
}

a {
  color: var(--accent);
}

a:hover {
  color: #0ea5e9;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 12px 0;
  font-size: 12px;
  color: var(--fg-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Responsive tweaks */

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .header-inner {
    padding-inline: 12px;
  }

  .nav a {
    margin-left: 10px;
    font-size: 13px;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
