:root {
  --bg: #f7f8fa;
  --paper: #ffffff;
  --ink: #172033;
  --muted: #5d687a;
  --line: #dce2ea;
  --navy: #1f4e79;
  --teal: #157a74;
  --gold: #a16207;
  --soft-blue: #e8f1f8;
  --soft-green: #e8f5f1;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus {
  color: var(--navy);
}

.section,
.section-band {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.section-band {
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
}

.hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(32px, 6vw, 76px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96), rgba(255,255,255,0.72)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3Cpattern id='grid' width='48' height='48' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 48 0 L 0 0 0 48' fill='none' stroke='%23ccd6e2' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='1200' height='800' fill='%23f7f8fa'/%3E%3Crect width='1200' height='800' fill='url(%23grid)'/%3E%3Cpath d='M120 580 C300 420 410 680 590 470 S920 350 1080 180' fill='none' stroke='%23157a74' stroke-width='12' stroke-linecap='round' opacity='.16'/%3E%3Cpath d='M100 245 C290 170 450 310 600 220 S900 115 1090 245' fill='none' stroke='%231f4e79' stroke-width='10' stroke-linecap='round' opacity='.12'/%3E%3C/svg%3E");
  background-size: cover;
}

.hero-copy {
  max-width: 760px;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.credential-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin: 0 0 18px;
}

.credential-strip span,
.credential-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.credential-strip a:hover,
.credential-strip a:focus {
  border-color: var(--navy);
  background: var(--soft-blue);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
}

.button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.system-visual {
  align-self: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.visual-header,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visual-header {
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px;
  margin: 12px 0 20px;
}

.node {
  min-height: 106px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.node strong,
.node span {
  display: block;
}

.node strong {
  margin-bottom: 7px;
  font-size: 15px;
}

.node span {
  color: var(--muted);
  font-size: 13px;
}

.source {
  border-top: 4px solid var(--gold);
}

.service {
  border-top: 4px solid var(--navy);
}

.data {
  border-top: 4px solid var(--teal);
}

.channel {
  border-top: 4px solid #5f6f89;
}

.connector {
  height: 2px;
  background: var(--line);
}

.metric-row {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.metric-row div {
  min-width: 0;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-size: 22px;
}

.metric-row span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
}

.section-muted {
  max-width: none;
  background: #eef2f6;
}

.section-muted > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 30px;
}

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

.impact-card {
  min-height: 310px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.05);
}

.label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.impact-card p,
.role li,
.skill-groups p {
  color: var(--muted);
}

.result {
  margin-top: 18px;
  color: var(--ink) !important;
  font-weight: 700;
}

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

.role {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 0;
  border-top: 1px solid rgba(23, 32, 51, 0.16);
}

.role-meta p,
.role-meta span {
  color: var(--muted);
}

.role-meta p {
  margin-bottom: 4px;
  font-weight: 700;
}

.role-meta span {
  font-size: 14px;
}

.role ul {
  margin: 0;
  padding-left: 20px;
}

.role li + li {
  margin-top: 10px;
}

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

.skill-groups div {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 30px;
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .connector {
    width: 2px;
    height: 18px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .section-band {
    min-height: auto;
  }

  .impact-grid,
  .skill-groups,
  .role,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .impact-card,
  .skill-groups div {
    min-height: auto;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }
}
