* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f5f7;
  color: #1d1d1f;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Helvetica,
    Arial,
    sans-serif;

  -webkit-font-smoothing: antialiased;
}


/* NAV */

nav {
  height: 56px;
  padding: 0 6%;

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

  position: fixed;
  top: 0;
  width: 100%;

  z-index: 10;

  background: rgba(245,245,247,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo {
  font-weight: 600;
  font-size: 17px;

  color: #1d1d1f;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 14px;
}


/* HERO */

.hero {
  min-height: 100vh;

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

  text-align: center;

  padding: 120px 24px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #86868b;

  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(64px, 9vw, 128px);
  line-height: .92;

  letter-spacing: -.06em;
  font-weight: 700;

  max-width: 1200px;
}

.subtitle {
  margin-top: 36px;

  font-size: 22px;
  color: #6e6e73;
}

.button {
  margin-top: 32px;

  background: #0071e3;
  color: white;

  text-decoration: none;

  padding: 13px 22px;

  border-radius: 999px;

  font-size: 15px;
  font-weight: 500;

  transition: .2s;
}

.button:hover {
  background: #0077ed;
  transform: scale(1.02);
}


/* PROJECTS */
#projects {
  scroll-margin-top: 80px;
}

.projects {
  max-width: 1200px;

  margin: auto;
  padding: 140px 24px;
}

.section-title {
  margin-bottom: 50px;
}

.section-title p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;

  color: #86868b;

  margin-bottom: 14px;
}

.section-title h2 {
  font-size: clamp(42px, 6vw, 72px);

  letter-spacing: -.045em;
  line-height: 1;

  font-weight: 650;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.card {
  position: relative;

  min-height: 500px;

  border-radius: 30px;

  background: white;

  padding: 36px;

  text-decoration: none;
  color: #1d1d1f;

  overflow: hidden;

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    box-shadow .35s;
}

.card:hover {
  transform: scale(1.015);

  box-shadow:
    0 30px 60px rgba(0,0,0,.08);
}

.card-content {
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card span {
  color: #86868b;
  font-size: 14px;
}

.card h3 {
  font-size: 42px;

  letter-spacing: -.04em;
  font-weight: 600;
}

.card p {
  margin-top: 8px;

  color: #86868b;

  font-size: 18px;
}


/* ABOUT */

.about {
  min-height: 85vh;

  padding: 120px 24px;

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

  text-align: center;

  background: #000;
  color: white;
}

.about .eyebrow {
  color: #86868b;
}

.about h2 {
  font-size: clamp(48px, 7vw, 96px);

  max-width: 1100px;

  line-height: .98;
  letter-spacing: -.055em;
}


/* FOOTER */

footer {
  padding: 36px 6%;

  display: flex;
  justify-content: space-between;

  font-size: 13px;
  color: #86868b;
}


/* MOBILE */

@media (max-width: 700px) {

  .nav-links {
    gap: 18px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .subtitle {
    font-size: 19px;
  }

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

  .card {
    min-height: 400px;
    border-radius: 24px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}