:root {
  --bg: #f7f8fa;
  --panel: #ffffff;
  --text: #172033;
  --muted: #5d6678;
  --line: #dfe3ea;
  --accent: #1f4e79;
  --accent-dark: #173b5c;
  --soft: #eef3f8;
  --shadow: 0 18px 45px rgba(18, 32, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 750;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.96rem;
}

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

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

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.35rem;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px;
}

.narrow {
  max-width: 820px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin: 0 0 20px;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 760px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.primary {
  background: var(--accent);
  color: white;
}

.primary:hover {
  background: var(--accent-dark);
}

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

.profile-card, .card, .timeline-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.profile-card {
  padding: 30px;
}

.avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 24px;
}

.profile-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.profile-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p, .narrow p, .contact p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 28px;
}

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

.alt {
  max-width: none;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.alt > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 26px 28px;
}

.date {
  display: inline-block;
  color: var(--accent);
  font-weight: 750;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.clean-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.contact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-top: 40px;
  margin-bottom: 80px;
}

.contact-line {
  font-size: 1.1rem;
}

.small-note {
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  padding: 24px;
  background: white;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    right: 24px;
    left: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

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

  .hero, .three, .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }
}
