:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5c6965;
  --paper: #f8faf7;
  --panel: #ffffff;
  --line: #dce3df;
  --deep: #10211f;
  --teal: #0d7068;
  --green: #6f8f3f;
  --amber: #c5822b;
  --soft: #eef3ef;
  --shadow: 0 24px 60px rgba(13, 36, 32, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: #f8faf7;
  background: rgba(16, 33, 31, 0.82);
  border-bottom: 1px solid rgba(248, 250, 247, 0.16);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: #f8faf7;
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  gap: clamp(12px, 2vw, 28px);
  color: rgba(248, 250, 247, 0.82);
  font-size: 0.94rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 20, 18, 0.94) 0%, rgba(8, 20, 18, 0.72) 40%, rgba(8, 20, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 20, 18, 0.78) 0%, rgba(8, 20, 18, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 42px;
  color: #f8faf7;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(248, 250, 247, 0.84);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  background: #f8faf7;
  color: var(--deep);
}

.button.secondary {
  color: #f8faf7;
  border: 1px solid rgba(248, 250, 247, 0.36);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 42px 0 0;
  background: rgba(248, 250, 247, 0.18);
  border: 1px solid rgba(248, 250, 247, 0.18);
}

.hero-stats div {
  min-height: 92px;
  padding: 18px;
  background: rgba(13, 36, 32, 0.72);
}

.hero-stats dt {
  color: rgba(248, 250, 247, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.two-column,
.credentials-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.prose p,
.timeline-body p,
.impact-card p,
.skill-group p,
.credential-list p,
.contact-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.prose p + p {
  margin-top: 18px;
}

.impact-section,
.credentials-section {
  background: var(--soft);
}

.impact-grid,
.skill-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.impact-card,
.skill-group,
.credential-list article {
  min-height: 100%;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(16, 33, 31, 0.04);
}

.impact-number {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 900;
}

.impact-card h3,
.skill-group h3,
.credential-list h3,
.timeline-body h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.25;
  letter-spacing: 0;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 850;
}

.timeline-body {
  max-width: 820px;
}

.skills-section {
  background: #fbfcfa;
}

.skill-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-group {
  min-height: 160px;
}

.credential-list {
  display: grid;
  gap: 14px;
}

.personal-section {
  padding-top: 70px;
}

.contact-section {
  padding: clamp(64px, 9vw, 104px) 0;
  color: #f8faf7;
  background: var(--deep);
}

.contact-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.contact-inner h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-links {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-links a {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(248, 250, 247, 0.24);
  border-radius: 8px;
  color: #f8faf7;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
}

.contact-inner .location {
  margin-top: 20px;
  color: rgba(248, 250, 247, 0.66);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 980px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 20, 18, 0.92) 0%, rgba(8, 20, 18, 0.68) 100%),
      linear-gradient(0deg, rgba(8, 20, 18, 0.8) 0%, rgba(8, 20, 18, 0.1) 48%);
  }

  .two-column,
  .credentials-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .skill-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    gap: 8px;
  }
}

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

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 940px;
  }

  .hero-content,
  .section-inner,
  .contact-inner {
    width: min(100% - 32px, 1120px);
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-stats,
  .impact-grid,
  .skill-groups {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 78px;
  }

  .button,
  .hero-actions,
  .contact-links,
  .contact-links a {
    width: 100%;
  }

  .button,
  .contact-links a {
    justify-content: center;
  }

  .impact-card,
  .skill-group,
  .credential-list article {
    padding: 18px;
  }
}
