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

.section {
  padding-block: var(--section-padding);
}

/* Navigation */
.nav {
  align-items: center;
  display: flex;
  height: var(--nav-height);
  inset-block-start: 0;
  inset-inline: 0;
  justify-content: space-between;
  padding-inline: var(--gutter);
  position: fixed;
  transition:
    background-color 300ms var(--ease-out),
    backdrop-filter 300ms var(--ease-out);
  z-index: 100;
}

.nav--scrolled {
  backdrop-filter: blur(12px);
  background-color: rgba(10, 10, 10, 0.95);
}

.nav__logo {
  align-items: center;
  display: flex;
  gap: 12px;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav__links {
  align-items: center;
  display: flex;
  gap: 40px;
}

.nav__link {
  color: var(--pr-muted);
  position: relative;
  transition: color 200ms var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--pr-white);
}

.nav__link--active::after {
  background-color: var(--pr-purple);
  block-size: 1px;
  content: "";
  inset-block-end: -6px;
  inset-inline: 0;
  position: absolute;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 110;
}

.nav__toggle-line {
  background-color: var(--pr-white);
  block-size: 1px;
  inline-size: 24px;
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__overlay {
  align-items: center;
  background-color: var(--pr-black);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 400ms var(--ease-out);
  z-index: 105;
}

.nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__overlay-links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.nav__overlay-link {
  color: var(--pr-white);
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 64px);
  font-weight: 300;
  transition: color 200ms var(--ease-out);
}

.nav__overlay-link:hover {
  color: var(--pr-purple-soft);
}

/* Footer */
.footer {
  border-block-start: 1px solid var(--pr-border);
  padding-block: 32px;
}

.footer__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.footer__logo {
  align-items: center;
  display: flex;
  gap: 10px;
}

.footer__logo img {
  height: 24px;
  width: auto;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__link {
  color: var(--pr-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 200ms var(--ease-out);
}

.footer__link:hover {
  color: var(--pr-white);
}

.footer__copy {
  color: var(--pr-muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__copy {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .footer__links {
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
  }
}
