:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: #030403;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.backgrounds,
.background,
.shade {
  position: absolute;
  inset: 0;
}

.backgrounds {
  z-index: -3;
}

.background {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: image-cycle 30s linear infinite;
}

.background-1 {
  background-image: url("images/slide01.jpg");
}

.background-2 {
  background-image: url("images/slide02.jpg");
  animation-delay: 6s;
}

.background-3 {
  background-image: url("images/slide03.jpg");
  animation-delay: 12s;
}

.background-4 {
  background-image: url("images/slide04.jpg");
  animation-delay: 18s;
}

.background-5 {
  background-image: url("images/slide05.jpg");
  animation-delay: 24s;
}

.shade {
  z-index: -2;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 34rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.76)),
    rgba(0, 0, 0, 0.45);
}

.brand-lockup {
  display: flex;
  width: min(78vw, 38rem);
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, 0.5));
}

.brand-lockup p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: lowercase;
}

.site-footer {
  position: absolute;
  right: 2rem;
  bottom: 1.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.4;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.site-footer a,
.legal-document a,
.back-link {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.18em;
}

.site-footer a:hover,
.legal-document a:hover,
.back-link:hover {
  color: #fff;
}

.legal-body {
  min-height: 100%;
  background: #f4f1eb;
  color: #171717;
}

.legal-page {
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #2c2a25;
  font-size: 0.9rem;
}

.legal-document {
  color: #1f1d19;
}

.legal-document header {
  margin-bottom: 2.5rem;
}

.legal-document h1,
.legal-document h2,
.legal-document p {
  letter-spacing: 0;
}

.legal-document h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 650;
  line-height: 0.95;
}

.legal-document h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.25;
}

.legal-document p {
  max-width: 48rem;
  margin: 0 0 1rem;
  color: #3f3b33;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-document .eyebrow {
  margin-bottom: 0.9rem;
  color: #746d5f;
  font-size: 0.78rem;
  line-height: 1.4;
  text-transform: uppercase;
}

@keyframes image-cycle {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  5%,
  20% {
    opacity: 1;
  }

  26%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .brand-lockup {
    width: min(86vw, 26rem);
    gap: 1.25rem;
    padding: 1rem;
  }

  .logo {
    width: min(100%, 20rem);
  }

  .site-footer {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    font-size: 0.72rem;
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 0.8rem;
  }

  .legal-page {
    padding-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background {
    animation: none;
    transform: none;
  }

  .background-1 {
    opacity: 1;
  }
}
