:root {
  --navy: #071a3a;
  --navy-2: #0d2853;
  --ink: #10151d;
  --muted: #69717d;
  --line: #d9dde4;
  --paper: #f7f8fa;
  --white: #ffffff;
  --accent: #173b73;
}


/* =========================
   Reset
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
font-weight: 700;
  line-height: 1.5;
}

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


/* =========================
   Navigation
========================= */

.nav {
  position: fixed;
  z-index: 20;

  top: 0;
  left: 0;
  right: 0;

  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5vw;

  background: rgba(247, 248, 250, 0.9);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(217, 221, 228, 0.75);
}


.brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
}


.brand span {
  color: var(--navy);
}


.nav nav {
  display: flex;
  gap: 30px;

  font-size: 13px;
  color: #444c57;
}


.nav nav a {
  transition: color 0.2s ease;
}


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


.availability {
  font-size: 12px;
  color: #4e5865;
}


.availability i {
  display: inline-block;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--navy);

  margin-right: 8px;
}


/* =========================
   Hero
========================= */

.hero {
  min-height: 100vh;

  padding: 170px 10vw 80px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--navy);
  color: var(--white);
}


.hero .eyebrow {
  opacity: 0.65;
  margin-bottom: 32px;
}


.eyebrow,
.section-label {
  font-size: 11px;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


.hero h1 {
  font-size: clamp(52px, 8vw, 118px);

  line-height: 0.93;

  letter-spacing: -0.055em;

  font-weight: 500;

  max-width: 1100px;

  margin: 0;
}


em {
  font-family: Georgia, serif;
  font-weight: 400;
}


.hero h1 em {
  color: #b9c9e4;
}


.lead {
  max-width: 570px;

  font-size: 18px;

  line-height: 1.65;

  color: #c9d3e3;

  margin: 38px 0;
}


.scroll {
  margin-top: auto;

  font-size: 12px;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  color: #dce5f3;
}


.scroll span {
  margin-left: 10px;
}


/* =========================
   Sections
========================= */

.section {
  display: grid;

  grid-template-columns: 24% 1fr;

  gap: 5vw;

  padding: 130px 10vw;

  border-bottom: 1px solid var(--line);
}


.section-label {
  color: var(--navy);
  padding-top: 10px;
}


.section-content {
  max-width: 1000px;
}


.section h2 {
  font-size: clamp(44px, 6vw, 86px);

  line-height: 0.98;

  letter-spacing: -0.045em;

  font-weight: 500;

  margin: 0 0 55px;
}


.section h2 em {
  color: var(--navy);
}


.large {
  font-size: clamp(20px, 2.2vw, 30px);

  line-height: 1.5;

  max-width: 900px;

  color: #414954;
}


/* =========================
   Stats
========================= */

.stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--line);

  margin-top: 70px;
}


.stats div {
  padding: 28px 20px 10px 0;

  border-right: 1px solid var(--line);

  margin-right: 20px;
}


.stats strong {
  display: block;

  color: var(--navy);

  font-size: 36px;

  font-weight: 500;

  margin-bottom: 10px;
}


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


/* =========================
   Projects
========================= */

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


.project {
  display: grid;

  grid-template-columns: 80px 1fr 40px;

  align-items: center;

  padding: 30px 0;

  border-bottom: 1px solid var(--line);

  transition: all 0.25s ease;
}


.project:hover {
  padding-left: 15px;
  color: var(--navy);
}


.project-number {
  font-size: 12px;
  color: var(--muted);
}


.project h3 {
  font-size: 25px;

  font-weight: 500;

  margin: 0;
}


.project p {
  font-size: 12px;

  color: var(--muted);

  margin: 4px 0 0;
}


.arrow {
  font-size: 24px;
}


/* =========================
   Skills
========================= */

.skill-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  border-top: 1px solid var(--line);
}


.skill-grid > div {
  padding: 30px 35px 30px 0;

  border-bottom: 1px solid var(--line);
}


.skill-grid > div:nth-child(odd) {
  border-right: 1px solid var(--line);

  padding-right: 45px;
}


.skill-grid > div:nth-child(even) {
  padding-left: 45px;
}


.skill-grid span {
  font-size: 11px;
  color: var(--navy);
}


.skill-grid h3 {
  font-size: 23px;

  font-weight: 500;

  margin: 18px 0 8px;
}


.skill-grid p {
  color: var(--muted);

  max-width: 390px;

  margin: 0;
}


/* =========================
   Contact
========================= */

.contact {
  background: var(--navy);

  color: var(--white);

  border-bottom: 0;
}


.contact .section-label {
  color: #aebed8;
}


.contact h2 em {
  color: #b9c9e4;
}


.contact .large {
  color: #c9d3e3;
}


.contact-link {
  display: inline-flex;

  align-items: center;

  gap: 20px;

  font-size: clamp(20px, 3vw, 40px);

  padding-bottom: 8px;

  border-bottom: 1px solid #7e91b0;

  margin-top: 25px;
}


.contact-link span {
  font-size: 20px;
}


/* =========================
   Footer
========================= */

footer {
  background: var(--navy);

  color: #9aabc5;

  padding: 25px 10vw;

  font-size: 11px;

  letter-spacing: 0.08em;
}


/* =========================
   Mobile
========================= */

@media (max-width: 800px) {

  .nav {
    height: 64px;
    padding: 0 6vw;
  }


  .nav nav {
    display: none;
  }


  .availability {
    font-size: 10px;
  }


  .hero {
    padding: 130px 7vw 55px;
  }


  .hero h1 {
    font-size: clamp(48px, 14vw, 80px);
  }


  .lead {
    font-size: 16px;
  }


  .section {
    grid-template-columns: 1fr;

    padding: 90px 7vw;

    gap: 35px;
  }


  .section h2 {
    margin-bottom: 35px;
  }


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


  .stats div {
    border-right: 0;

    border-bottom: 1px solid var(--line);

    padding-bottom: 22px;
  }


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


  .skill-grid > div:nth-child(odd) {
    border-right: 0;

    padding-right: 0;
  }


  .skill-grid > div:nth-child(even) {
    padding-left: 0;
  }


  .project {
    grid-template-columns: 45px 1fr 30px;
  }

}
