/* ---------- Base ---------- */
:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #666d75;
  --line: #e2e6ea;
  --accent: #0b5f8a;
  --soft: #f7f9fb;
  --max: 1200px;
  --content: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

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

a:hover {
  color: var(--accent);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.content-narrow {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-top {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.name {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.tagline {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0.2px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
}

.social-links a {
  color: var(--accent);
  font-weight: 500;
}

.main-nav {
  border-top: 1px solid var(--line);
}

.nav-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-inner a {
  font-weight: 650;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 105px 0 110px;
  background: #ffffff;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

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

h1 {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -1px;
}

h2 {
  margin-bottom: 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.4;
}

.lead {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: 23px;
  line-height: 1.65;
}

.hero p:not(.eyebrow):not(.lead) {
  max-width: 860px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 2px;
  font-weight: 700;
}

.button:hover {
  color: #ffffff;
  opacity: 0.9;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: var(--soft);
}

.research-item {
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.research-item:first-of-type {
  padding-top: 0;
}

.research-item:last-child {
  border-bottom: 0;
}

.research-item p {
  margin-bottom: 10px;
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

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

.cert-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cert-block h3 {
  margin-bottom: 6px;
}

.cert-block p {
  margin: 0;
}

.links-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.links-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
}

.links-list span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container,
  .content-narrow {
    width: min(100% - 32px, var(--max));
  }

  .header-top {
    min-height: auto;
    padding: 28px 0 20px;
    display: block;
  }

  .name {
    font-size: 34px;
  }

  .social-links {
    justify-content: flex-start;
    gap: 18px;
    margin-top: 18px;
  }

  .nav-inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .hero {
    padding: 70px 0 80px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 20px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .section {
    padding: 70px 0;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .links-list a {
    display: block;
  }

  .links-list span {
    display: block;
    margin-top: 3px;
  }

  .footer-inner {
    padding: 24px 0;
    display: block;
  }

  .footer-inner p {
    margin-top: 0;
  }
}
