@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --hero: #000;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.5);
  --body: rgba(255, 255, 255, 0.8);
  --gutter: 48px;
  --header-h: 80px;
  --max: 1800px;
  --ease-enter: cubic-bezier(0.12, 0.23, 0.5, 1);
  --ease-exit: cubic-bezier(0.5, 0, 0.88, 0.77);
  --ease-trail: cubic-bezier(0.84, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (max-width: 1199px) {
  :root {
    --gutter: 20px;
    --header-h: 60px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis,
html.lenis body {
  height: auto;
}

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

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

button,
input {
  font: inherit;
}

body {
  overflow-x: hidden;
}

.page-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

#page {
  min-height: 100vh;
}

#page.is-enter:not(.is-in):not(.is-exit) {
  opacity: 0;
  transform: translateY(50px);
}

#page.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s var(--ease-enter),
    transform 0.4s var(--ease-enter);
}

#page.is-exit {
  opacity: 0;
  transform: translateY(-50px);
  transition:
    opacity 0.4s var(--ease-exit),
    transform 0.4s var(--ease-exit);
}

.appear {
  opacity: 0;
  transform: translateY(30px);
}

.appear.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s var(--ease-spring),
    transform 0.75s var(--ease-spring);
}

.nav-fade {
  transition: color 0.25s ease;
}

.nav-fade:hover {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.13px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
