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

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

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #ffffff;
  color: rgba(0, 0, 0, 0.85);
}

body {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-glow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.25rem, 3.2vw, 2.5rem);
}

.hero__brand {
  margin: 0;
  width: min(850px, 86vw);
  line-height: 0;
}

.hero__logo {
  display: block;
  width: 100%;
  height: auto;
  animation: logo-enter 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__tagline {
  margin: 0;
  font-family: "Calluna", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.75rem, 7.1vw, 5.8125rem);
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.85);
  text-wrap: balance;
  animation: tagline-enter 640ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.hero__accent {
  font-weight: 700;
  font-style: italic;
  color: #FA6400;
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tagline-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .hero__tagline {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
