:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #1d4ed8;
  --tag-bg: #f3f4f6;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}

.skip-link:focus {
  left: 24px;
  top: 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

/* Hero */

.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 88px 24px 72px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 2.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.headline {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 46ch;
}

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

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.85;
}

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

.btn-secondary:hover {
  border-color: var(--text);
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Sections */

.section {
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}

.about-text p {
  margin: 0 0 18px;
  color: #333;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
}

.tag-list li {
  background: var(--tag-bg);
  color: #374151;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* Experience */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.role {
  padding-top: 8px;
}

.role-head {
  margin-bottom: 18px;
}

.role h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.role-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.role h4 {
  margin: 28px 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.role p {
  margin: 0 0 14px;
  color: #333;
}

.bullets {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #333;
}

.bullets li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.client {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px dashed var(--border);
}

.client:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.client h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 640px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 56px;
  }

  .headline {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image img {
    width: 160px;
    height: 160px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .main-nav {
    gap: 18px;
  }
}
