:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #eef6fb;
  --ink: #0f172a;
  --muted: #475569;
  --soft: #64748b;
  --line: #dbe4ee;
  --primary: #0369a1;
  --primary-dark: #075985;
  --accent: #0f766e;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 32px rgba(3, 105, 161, 0.26);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

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

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 79px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 15% 18%, rgba(14, 165, 233, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #eaf6fb 50%, #f6fbf8 100%);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 36px rgba(3, 105, 161, 0.24);
}

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

.button.secondary {
  color: var(--primary-dark);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.profile-card,
.contact-card,
.stat,
.content-card,
.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-card {
  padding: 22px;
}

.avatar-frame {
  overflow: hidden;
  border-radius: 16px;
  background: #0f172a;
  aspect-ratio: 1 / 1;
}

.profile-card h2 {
  margin-top: 18px;
  font-size: 1.45rem;
}

.profile-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 18px;
  box-shadow: none;
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--primary-dark);
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 76px);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.prose {
  color: var(--muted);
  font-size: 1.06rem;
}

.prose p:first-child {
  margin-top: 0;
}

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

.timeline-item {
  padding: 22px;
  box-shadow: none;
}

.timeline-meta {
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 800;
}

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

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

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

.content-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  box-shadow: none;
  min-height: 180px;
}

.content-card .label {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.content-card h3 {
  margin-top: 12px;
}

.content-card p {
  color: var(--muted);
}

.content-card a {
  margin-top: auto;
  color: var(--primary-dark);
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  background: #0f172a;
  color: #fff;
}

.contact .eyebrow,
.contact a {
  color: #7dd3fc;
}

.contact-card {
  padding: 24px;
  color: var(--ink);
}

.contact-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 76px);
  color: var(--soft);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
