:root {
  color-scheme: light;
  --ink: #142021;
  --muted: #5b686b;
  --paper: #f6f4ee;
  --paper-2: #ece8df;
  --line: rgba(20, 32, 33, 0.14);
  --panel: #ffffff;
  --night: #111819;
  --aqua: #00a0a8;
  --green: #6d9f45;
  --amber: #d4872b;
  --rose: #bf4967;
  --shadow: 0 18px 50px rgba(14, 24, 25, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  background: rgba(246, 244, 238, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  letter-spacing: 0;
  text-decoration: none;
  width: 48px;
}

.nav-links {
  align-items: center;
  background: rgba(246, 244, 238, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  display: flex;
  gap: 4px;
  padding: 4px;
}

.nav-links a {
  border-radius: 6px;
  color: #263638;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #ffffff;
  outline: none;
}

.hero {
  background: #131b1d;
  color: #f8f5ed;
  min-height: 88vh;
  overflow: hidden;
  position: relative;
}

#signalCanvas {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 25, 0.9) 0%, rgba(17, 24, 25, 0.68) 48%, rgba(17, 24, 25, 0.36) 100%),
    linear-gradient(180deg, rgba(17, 24, 25, 0.24) 0%, rgba(17, 24, 25, 0.88) 100%);
  inset: 0;
  position: absolute;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  min-height: 88vh;
  padding: 112px clamp(22px, 7vw, 92px) 80px;
  position: relative;
  z-index: 2;
}

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

.hero h1 {
  font-size: 6.8rem;
  line-height: 0.92;
  margin: 0;
  max-width: 760px;
}

.hero-copy {
  color: rgba(248, 245, 237, 0.86);
  font-size: 1.34rem;
  margin: 28px 0 0;
  max-width: 690px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  min-height: 46px;
  padding: 12px 16px;
  text-decoration: none;
}

.button span {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.button.primary {
  background: #f8f5ed;
  color: #142021;
}

.button.secondary {
  border: 1px solid rgba(248, 245, 237, 0.42);
  color: #f8f5ed;
}

.button:hover,
.button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  background: rgba(255, 255, 255, 0.54);
  min-height: 128px;
  padding: clamp(20px, 3vw, 34px);
}

.metric strong {
  color: var(--night);
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 10px;
  max-width: 240px;
}

.section {
  padding: clamp(70px, 10vw, 118px) clamp(22px, 7vw, 92px);
}

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

.section-heading h2,
.contact-section h2 {
  font-size: 3.6rem;
  line-height: 1.02;
  margin: 0;
  max-width: 920px;
}

.timeline {
  border-top: 1px solid var(--line);
  margin-top: 46px;
}

.role {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  padding: 34px 0;
}

.role + .role {
  border-top: 1px solid var(--line);
}

.role-meta span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.role-meta strong {
  color: var(--ink);
  display: block;
  font-size: 1.2rem;
  margin-top: 8px;
}

.role-body h3,
.system-card h3,
.education-list h3,
.award-panel h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin: 0;
}

.role-body p,
.system-card p,
.education-list p,
.education-list span {
  color: var(--muted);
  margin: 12px 0 0;
}

.role-body ul,
.award-panel ul {
  color: var(--muted);
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.section-contrast {
  background: #182324;
  color: #f8f5ed;
}

.section-contrast .section-heading h2 {
  color: #f8f5ed;
}

.system-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.system-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  min-height: 230px;
  padding: 24px;
}

.system-card p {
  color: rgba(248, 245, 237, 0.72);
}

.chip {
  border: 1px solid rgba(248, 245, 237, 0.18);
  border-radius: 999px;
  color: #9cd9d4;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 6px 10px;
}

.split-section {
  display: grid;
  gap: clamp(34px, 7vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
}

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

.education-list article,
.award-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 30px);
}

.education-list span {
  display: block;
}

.awards-section {
  background: var(--paper-2);
}

.awards-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
}

.award-panel {
  box-shadow: none;
}

.award-panel:first-child {
  border-top: 5px solid var(--green);
}

.award-panel:last-child {
  border-top: 5px solid var(--rose);
}

.contact-section {
  align-items: center;
  background: var(--night);
  color: #f8f5ed;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: clamp(58px, 7vw, 86px) clamp(22px, 7vw, 92px);
}

.contact-section .button.primary {
  background: #f8f5ed;
  color: var(--night);
}

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

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

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

  .hero-copy {
    font-size: 1.18rem;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 2.75rem;
  }

  .metrics,
  .system-grid,
  .awards-layout,
  .split-section {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 96px;
  }

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

  .hero-copy {
    font-size: 1.08rem;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 2.15rem;
  }

  .metric strong {
    font-size: 2.4rem;
  }

  .metrics,
  .system-grid,
  .awards-layout,
  .split-section {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: auto;
  }

  .section {
    padding-bottom: 66px;
    padding-top: 66px;
  }

  .system-card {
    min-height: auto;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
