:root {
  --bg: #f4f7f9;
  --ink: #17201d;
  --muted: #53605b;
  --line: #c9d3cf;
  --surface: #ffffff;
  --surface-2: #e9eef2;
  --teal: #1b7f78;
  --coral: #c9543b;
  --gold: #a87317;
  --blue: #315ea8;
  --max-width: 1120px;
  color-scheme: light;
  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(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  background: rgba(244, 247, 249, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.wordmark {
  font-weight: 750;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.wordmark:hover,
.site-footer a:hover {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: min(720px, 78vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 32, 29, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 247, 249, 0.98) 0%, rgba(244, 247, 249, 0.82) 44%, rgba(244, 247, 249, 0.34) 100%),
    linear-gradient(0deg, rgba(244, 247, 249, 0.96) 0%, rgba(244, 247, 249, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 760;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #2f3a36;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.hero-links a,
.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.hero-links a:first-child {
  background: var(--ink);
  color: var(--surface);
}

.hero-links a:hover,
.contact-links a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.section {
  padding: 80px 0;
}

.section-compact {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

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

.profile-grid,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: start;
}

.profile-grid p:last-child,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.evidence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.evidence-item {
  min-height: 236px;
  padding: 24px;
  background: var(--surface);
}

.evidence-meta {
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.evidence-item p,
.timeline-item p,
.tech-group p {
  margin: 0;
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 720;
}

.tech-grid {
  display: grid;
  gap: 18px;
}

.tech-group {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.tech-group:last-child {
  border-bottom: 0;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  color: var(--gold);
  font-weight: 780;
}

.contact-panel {
  padding-top: 4px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 24px;
  }

  .hero {
    min-height: 70vh;
  }

  .profile-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .evidence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    padding-inline: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

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

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

  .evidence-list {
    grid-template-columns: 1fr;
  }

  .evidence-item {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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