@font-face {
  font-display: swap;
  font-family: "Baru Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/BaruSansDemo-Bold.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Sohne Coming Soon";
  font-style: normal;
  font-weight: 500;
  src: url("/fonts/sohne-kraftig.otf") format("opentype");
}

:root {
  color-scheme: dark;
  background: #050505;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #050505;
}

body {
  position: fixed;
  inset: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.holding-page {
  --page-pad-block: max(
    clamp(1.5rem, 5vw, 4rem),
    env(safe-area-inset-top),
    env(safe-area-inset-bottom)
  );
  --page-pad-inline: max(
    clamp(1.5rem, 5vw, 4rem),
    env(safe-area-inset-left),
    env(safe-area-inset-right)
  );

  position: fixed;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-width: 100%;
  max-height: 100dvh;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  color: #f6f7f7;
  background: #050505;
  overscroll-behavior: none;
}

.holding-background {
  background: #050505;
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.holding-content {
  align-items: center;
  align-self: stretch;
  animation: reveal 1.6s cubic-bezier(0.37, 0, 0.63, 1) 5.25s both;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  justify-self: stretch;
  min-width: 0;
  padding: max(clamp(2.5rem, 6.5dvh, 4.5rem), calc(env(safe-area-inset-top) + 1.5rem))
    var(--page-pad-inline)
    max(clamp(2.5rem, 6.5dvh, 4.5rem), calc(env(safe-area-inset-bottom) + 1.5rem));
  position: relative;
  width: 100%;
  z-index: 2;
}

.holding-wordmark {
  display: block;
  width: clamp(14.5rem, 30vw, 25rem);
  max-width: 100%;
  height: auto;
}

.holding-wordmark-heading {
  margin: 0;
  line-height: 0;
}

.holding-title {
  margin: 0;
  color: rgba(246, 247, 247, 0.6);
  font-family: "Sohne Coming Soon", Arial, "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes reveal {
  from {
    filter: blur(2px);
    opacity: 0;
  }

  to {
    filter: blur(0);
    opacity: 1;
  }
}

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

  .holding-page {
    background: #050505 url("/castle-auth-background-poster.jpg") center / contain no-repeat;
  }

  .holding-content {
    animation: none;
  }
}
