html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.nav-link,
.mobile-link,
.footer-link {
  transition: opacity .2s ease, color .2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.footer-link:hover {
  opacity: .75;
}

.section-kicker {
  color: #6366f1;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.section-title {
  margin-top: .75rem;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.card {
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  background: white;
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .11);
}

.icon-box {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: .9rem;
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 900;
}

.card-title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.card-text {
  margin-top: .75rem;
  color: #64748b;
  font-size: .95rem;
  line-height: 1.7;
}

.card-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #4f46e5;
  font-weight: 800;
  font-size: .9rem;
}

.project-card {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  background: white;
  box-shadow: 0 12px 35px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .project-card {
    transition: none;
  }
}
