@font-face {
  font-family: 'Fundy Inter';
  src: url('./fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Fundy TikTok Sans';
  src: url('./fonts/tiktok-sans-expanded-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-background: #020403;
  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.5);

  --font-display: 'Fundy TikTok Sans', 'Fundy Inter', sans-serif;
  --font-text: 'Fundy Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-title: clamp(28px, 6vw, 40px);
  --text-lead: clamp(16px, 2.6vw, 20px);

  --page-inset: 24px;
  --gap: 25px;
  --logo-height: clamp(80px, 11vw, 120px);

  --duration-slow: 900ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-text);
  -webkit-font-smoothing: antialiased;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-background);
  pointer-events: none;
}

.backdrop__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.backdrop__video {
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.backdrop__video--visible {
  opacity: 1;
}

.stub {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  padding: var(--page-inset);
  text-align: center;
}

.stub__logo {
  width: auto;
  height: var(--logo-height);
  margin-bottom: var(--gap);
}

.stub__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.stub__text {
  margin: 0;
  max-width: 46ch;
  color: var(--color-text-secondary);
  font-size: var(--text-lead);
  line-height: 1.4;
}
