:root {
  --bg: #0b1020;
  --bg-soft: #11182b;
  --card: #ffffff;
  --text: #e8eefc;
  --muted: #aab6d3;
  --ink: #172033;
  --ink-soft: #4d5b75;
  --accent: #7cc7ff;
  --accent-2: #9cf0d6;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.logo {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07101f;
  font-weight: 800;
  letter-spacing: -.04em;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.section {
  padding: 88px 0;
}

.hero {
  padding-top: 108px;
  background:
    radial-gradient(circle at top left, rgba(124, 199, 255, .22), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(156, 240, 214, .16), transparent 32%);
}

.hero-grid,
.two-column {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  max-width: 850px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .18s ease, opacity .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07101f;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-card,
.content-card,
.job-card,
.skill-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  background: rgba(255,255,255,.06);
  padding: 28px;
}

.metric {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric span {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.metric p {
  margin: 4px 0 0;
  color: var(--muted);
}

.content-card,
.job-card,
.skill-card {
  background: var(--card);
  color: var(--ink);
}

.content-card {
  padding: 32px;
}

.content-card p,
.skill-card p,
.job-card li,
.job-header p {
  color: var(--ink-soft);
}

.alt {
  background: #f5f8fc;
  color: var(--ink);
}

.alt .eyebrow {
  color: #246a9d;
}

.timeline {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.job-card {
  padding: 30px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.job-header h3 {
  margin-bottom: 2px;
}

.job-header span {
  color: #246a9d;
  font-weight: 800;
  white-space: nowrap;
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

li + li {
  margin-top: 8px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.skill-card {
  padding: 24px;
}

.contact-section {
  padding-top: 40px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(124, 199, 255, .18), rgba(156, 240, 214, .12));
  padding: 44px;
}

.contact-card p {
  color: var(--muted);
  max-width: 760px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 84px;
  }

  .job-header {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .content-card,
  .job-card,
  .skill-card,
  .contact-card,
  .hero-card {
    border-radius: 22px;
    padding: 22px;
  }

  h1 {
    font-size: 42px;
  }
}

.counter-text {
  margin-top: 20px;
  font-size: 1rem;
  color: #bfc7d5;
}

.counter-number {
  color: #ffffff;
  font-weight: 700;
}