:root {
  --bg: #0b1016;
  --panel: #111923;
  --panel-2: #151f2a;
  --text: #edf2f6;
  --muted: #aeb9c4;
  --line: #263544;
  --accent: #68d0b5;
  --accent-2: #9ce4d0;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 22, .86);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.nameplate {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}

nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--text); }

.hero { padding: 108px 0 88px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
}

h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { max-width: 900px; font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -.045em; margin-bottom: 26px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.035em; }
h3 { font-size: 1.15rem; }

.intro {
  max-width: 830px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 0 0 34px;
}

.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.button {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 750;
}
.button.primary { background: var(--accent); color: #08110e; border-color: var(--accent); }
.button:hover { border-color: var(--accent); }
.text-link { color: var(--muted); text-underline-offset: 4px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics div { padding: 24px 22px 24px 0; }
.metrics strong { display: block; font-size: 2rem; letter-spacing: -.03em; }
.metrics span { color: var(--muted); font-size: .92rem; }

.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section, .band { padding: 88px 0; }
.section-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.section-heading { max-width: 440px; }
.timeline { display: grid; }
.role { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.role:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.role-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.role-head h3 { margin-bottom: 5px; }
.role-head p, .role > p { color: var(--muted); }
.role-head p { margin: 0; }
.role time { color: var(--accent-2); white-space: nowrap; font-size: .9rem; }
.role > p { margin-bottom: 10px; }
.compact-role { opacity: .9; }

.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.skill-card h3 { margin-bottom: 10px; }
.skill-card p { color: var(--muted); margin: 0; }

.contact-band { padding: 82px 0; background: var(--panel-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 64px; align-items: end; }
.contact-grid h2 { margin-bottom: 14px; }
.contact-grid p:last-child { color: var(--muted); }
.contact-links { display: grid; gap: 10px; justify-items: start; }
.contact-links a { color: var(--accent-2); text-underline-offset: 4px; }

footer { border-top: 1px solid var(--line); }
.footer-wrap { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: .9rem; }

@media (max-width: 820px) {
  .nav-wrap { align-items: flex-start; padding: 18px 0; }
  nav { justify-content: flex-end; gap: 12px 16px; }
  .hero { padding-top: 72px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .section-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .skill-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .site-header { position: static; }
  .nav-wrap { display: block; }
  nav { margin-top: 12px; justify-content: flex-start; }
  nav a { font-size: .88rem; }
  .hero { padding: 54px 0 62px; }
  .metrics, .skill-grid { grid-template-columns: 1fr; }
  .metrics div { border-bottom: 1px solid var(--line); }
  .metrics div:last-child { border-bottom: 0; }
  .role-head { display: block; }
  .role time { display: inline-block; margin-top: 8px; }
  .section, .band, .contact-band { padding: 62px 0; }
  .footer-wrap { display: block; padding: 22px 0; }
  .footer-wrap span { display: block; }
}
