@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap');

:root {
  --color-light:        #ffffff;
  --color-dark:         #353535;
  --color-accent-light: #e2e891;
  --color-accent-dark:  #69685a;
  --color-tertiary-dark:#232323;
  --color-error:        #8b0000;

  --font-family: 'Poppins', sans-serif;

  --text-xl:  18px;
  --text-lg:  14px;
  --text-sm:  12px;
  --text-xs:  10px;

  --weight-heavy:   500;
  --weight-regular: 400;
  --weight-light:   300;

  --transition-base: 0.25s ease;
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1440px;
  --container-pad: 50px;
}

@media (min-width: 576px) {
  :root {
    --text-xl:  22px;
    --text-lg:  18px;
    --text-sm:  14px;
    --text-xs:  12px;
  }
}

@media (min-width: 768px) {
  :root {
    --text-xl:  30px;
    --text-lg:  24px;
    --text-sm:  21px;
    --text-xs:  14px;
    --container-pad: 80px;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
  background-color: var(--color-tertiary-dark);
  color: var(--color-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

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

h1 {
  font-size: var(--text-xl);
  font-weight: var(--weight-heavy);
}

h2 {
  font-size: var(--text-sm);
  font-weight: var(--weight-heavy);
}

h3 {
  font-size: var(--text-xs);
  font-weight: var(--weight-regular);
}

h1,
h2,
h3 {
  display: inline-block;
}

.subheader {
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
}

p.body-1 {
  font-size: var(--text-lg);
  font-weight: var(--weight-heavy);
}

.body-2 {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
}

p,
.body-3 {
  font-size: var(--text-xs);
  font-weight: var(--weight-light);
}

.weight-heavy   { font-weight: var(--weight-heavy); }
.weight-regular { font-weight: var(--weight-regular); }
.weight-light   { font-weight: var(--weight-light); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }

.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.bg-accent-dark {
  background-color: var(--color-accent-dark);
  color: var(--color-light);
}

.bg-light {
  background-color: var(--color-light);
  color: var(--color-dark);
}

.bg-accent-light {
  background-color: var(--color-accent-light);
  color: var(--color-dark);
}

.color-dark         { color: var(--color-dark); }
.color-accent-dark  { color: var(--color-accent-dark); }
.color-light        { color: var(--color-light); }
.color-accent-light { color: var(--color-accent-light); }

.peek {
  width: 100%;
  max-width: calc(var(--container-max) + 5%);
  margin: 0 auto;
}

.site-container {
  width: 94%;
  margin: 0 auto;
}

section {
  width: 100%;
  max-width: var(--container-max);
  margin: 40px auto;
  padding: var(--container-pad);
}

.section-divider {
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0.2;
}

.rounded {
  border-radius: 30px;
}

@media (min-width: 768px) {
  .rounded {
    border-radius: 100px;
  }
}

.overlap-prev {
  position: relative;
  z-index: 1;
  margin-top: -80px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
