*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  font-size: var(--font-md);
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text);
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

:root {
  --container-width: 1440px;
  --container-padding: 4rem;
  --navbar-height: 0px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 8rem;
  --font-family: "Space Grotesk", sans-serif;
  --font-xs: clamp(0.75rem, 1vw, 0.875rem);
  --font-sm: clamp(1rem, 1vw, 1rem);
  --font-md: clamp(1rem, 2vw, 1.25rem);
  --font-lg: clamp(1.25rem, 3.5vw, 2rem);
  --font-xl: clamp(2rem, 5vw, 3rem);
  --font-xxl: clamp(3rem, 6vw, 4rem);
  --color-bg: #121519;
  --color-text: #ffffff;
  --color-subtle: #aaaaaa;
  --section-padding-desktop: 4rem;
  --section-padding-tablet: 3.5rem;
  --section-padding-mobile: 3rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.viewport {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.section-intro {
  font-size: clamp(0.875rem, 0.5vw + 0.75rem, 1rem);
  color: var(--color-subtle);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05rem;
  text-align: center;
}

.page {
  opacity: 0;
  transform: translateY(20px);
  animation: pageFadeIn 0.8s ease-out forwards;
}

@keyframes pageFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  opacity: 0;
  animation: titleFadeIn 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes titleFadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  .section-intro,
  .section-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}
