:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #5f6b7a;
  --line: #d9e1ea;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --blue: #1f5f99;
  --blue-dark: #173a5e;
  --teal: #087f7a;
  --gold: #b87918;
  --shadow: 0 24px 70px rgba(24, 33, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(245, 247, 251, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 225, 234, 0.8);
}

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

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 0.82rem;
}

.nav {
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) 0;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

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

.button,
.contact-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 900;
}

.button.primary {
  background: var(--blue-dark);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
}

.platform-visual {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 520px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 95, 153, 0.12), transparent 48%),
    linear-gradient(315deg, rgba(8, 127, 122, 0.12), transparent 42%),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.platform-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  background-image:
    linear-gradient(rgba(31, 95, 153, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 95, 153, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.visual-card,
.visual-grid {
  position: relative;
  z-index: 1;
}

.visual-card {
  align-self: start;
  width: min(100%, 330px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.visual-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 1.6rem;
}

.status-node {
  justify-self: end;
  align-self: end;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: center;
}

.visual-grid div {
  display: grid;
  min-height: 76px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 900;
}

.flow-line {
  position: absolute;
  z-index: 0;
  top: 29%;
  left: 26%;
  width: 56%;
  height: 42%;
  border-right: 3px solid rgba(8, 127, 122, 0.42);
  border-bottom: 3px solid rgba(8, 127, 122, 0.42);
  border-radius: 0 0 8px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.metrics article {
  min-height: 144px;
  padding: 26px;
  background: #fff;
}

.metrics strong {
  display: block;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 116px) 0 0;
}

.intro,
.education {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 5vw, 76px);
}

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

h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.intro p {
  max-width: 850px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading p {
  margin: 0;
}

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

.card-grid article,
.skill-groups article,
.education-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
}

.card-grid article {
  min-height: 188px;
}

.card-grid p,
.skill-groups p,
.education-list p,
.timeline-body p {
  margin: 12px 0 0;
}

.timeline-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-bottom: clamp(72px, 9vw, 108px);
  background: #edf4f8;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

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

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

.company {
  color: var(--ink);
  font-weight: 900;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  width: min(1180px, calc(100% - 36px));
  margin: clamp(72px, 10vw, 116px) auto;
  padding: clamp(34px, 6vw, 58px);
  border-radius: 8px;
  color: #fff;
  background: var(--blue-dark);
}

.contact h2 {
  max-width: 780px;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  align-content: start;
  justify-content: flex-start;
  margin-top: 0;
}

.contact-actions a {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
  }

  .hero,
  .metrics,
  .card-grid,
  .skill-groups,
  .intro,
  .education,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .platform-visual {
    min-height: 430px;
  }

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

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

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

  .platform-visual {
    min-height: 380px;
  }

  .site-footer {
    flex-direction: column;
  }
}
