/* Main css */
@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("fonts/NeueHaasGrotDisp-65Medium-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("fonts/NeueHaasGrotDisp-45Light-Trial.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

:root {
  --bg: #041b15;
  --fg: #f3f1e5;
  --fg-soft: rgba(243, 241, 229, 0.82);
  --fg-faint: rgba(243, 241, 229, 0.16);
  --brandmark-size: 3.75rem;
  --illustration-size: 8.438rem;

  /* Selection theme: Luxury */
  --selection-bg: #c2a166;
  --selection-fg: #041b15;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-fg);
}

::-moz-selection {
  background: var(--selection-bg);
  color: var(--selection-fg);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--fg);
  background: var(--bg);
  font-family: "Neue Haas Grotesk", sans-serif;
}

.hero {
  min-height: 100dvh;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
}

.hero__inner {
  width: min(100%, 30rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  animation: fade-up 900ms ease-out both;
}

.brandmark {
  width: var(--brandmark-size);
  height: auto;
}

.illustration-wrap {
  width: min(100%, var(--illustration-size));
  display: flex;
  justify-content: center;
}

.illustration {
  width: 100%;
  height: auto;
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.875rem;
}

.eyebrow {
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.188rem;
}

.description {
  margin: 0;
  color: var(--fg-soft);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  max-width: 78%;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  position: relative;
  min-width: 8.125rem;
  height: 2.813rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--fg-soft);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.btn svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.btn svg path {
  fill: var(--bg);
  transition: fill 0.3s ease;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn:hover {
  color: var(--bg);
}

.btn:hover svg path {
  fill: white;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero__inner,
  .cta {
    animation: none;
    transition: none;
  }
}
