:root {
  --ink: #07131f;
  --muted: #5b6573;
  --line: #dce4ea;
  --paper: #f6f3ee;
  --white: #ffffff;
  --teal: #137c78;
  --gold: #c9a349;
  --navy: #0c2237;
  --soft-blue: #e7f1f2;
  --shadow: 0 24px 70px rgba(7, 19, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(246, 243, 238, 0.9);
  border-bottom: 1px solid rgba(7, 19, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.82rem;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a:hover {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 8vw, 112px) clamp(20px, 5vw, 72px) 48px;
}

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

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

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

h1 {
  max-width: 920px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 760px;
  color: #344150;
  font-size: clamp(1.04rem, 1.5vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.profile-panel {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(7, 19, 31, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-panel::before {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: -1;
  width: 78%;
  height: 72%;
  content: "";
  background: var(--gold);
  border-radius: 8px;
}

.profile-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.profile-panel p,
.cards p,
.timeline p,
.stack-grid p,
.contact p {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metrics div {
  min-height: 148px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
}

.section {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 80px);
}

.section-body > p {
  color: #344150;
  font-size: 1.08rem;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

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

.cards article,
.stack-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(7, 19, 31, 0.1);
  border-radius: 8px;
}

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

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

.timeline article {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

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

.dark-band {
  color: var(--white);
  background: var(--navy);
}

.dark-band .section-kicker {
  color: #8ee1d4;
}

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

.stack-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.stack-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin: clamp(28px, 5vw, 72px);
  padding: clamp(30px, 5vw, 54px);
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #113f46);
  border-radius: 8px;
}

.contact .section-kicker {
  color: #8ee1d4;
}

.contact p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact .button {
  border-color: rgba(255, 255, 255, 0.72);
}

.contact .button.primary {
  color: var(--ink);
  background: var(--white);
}

.contact .button.secondary {
  color: var(--white);
}

.footer {
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

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

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .profile-panel {
    max-width: 460px;
  }

  .metrics,
  .cards.three,
  .cards.two,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-actions {
    margin-top: 0;
  }
}

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

  .hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact {
    margin: 16px;
    padding: 24px;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }
}
