/* Nastova Studio — Coming Soon */

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

:root {
  --lavender: #CFA9D2;
  --ink: #1E1A1C;
  --cream: #FBF6EA;
  --orange: #DF6335;
  --orange-hover: #C6532A;

  --font-display: "Chango", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

.teaser {
  width: 100%;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
}

.brand {
  margin: 0 0 clamp(1.75rem, 4.5vw, 3.25rem);
  font-size: clamp(0.72rem, 0.65rem + 0.35vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  /* offset the trailing letter-space so the wordmark sits optically centered */
  text-indent: 0.42em;
  text-transform: uppercase;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 9vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.word {
  display: block;
}

.lede {
  max-width: 30ch;
  margin: clamp(1.75rem, 4.5vw, 3.25rem) auto 0;
  font-size: clamp(1rem, 0.92rem + 0.45vw, 1.3rem);
  line-height: 1.5;
  text-wrap: balance;
}

/* Entrance: each piece drops in and settles with a small overshoot */
@media (prefers-reduced-motion: no-preference) {
  .brand,
  .lede {
    animation: fade-up 0.7s ease-out both;
  }

  .word {
    animation: settle 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  .word:nth-child(1) {
    --tilt: -3deg;
    animation-delay: 0.15s;
  }

  .word:nth-child(2) {
    --tilt: 3deg;
    animation-delay: 0.3s;
  }

  .lede {
    animation-delay: 0.65s;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(0.45em) rotate(var(--tilt, 0deg));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
