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

:root {
  color-scheme: dark;
  --video-position-mobile: center center;
  --video-position-desktop: center center;
}

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

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

body {
  overflow-x: hidden;
  background: #080808;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.site-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #080808;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  display: block;
  object-fit: cover;
  object-position: var(--video-position-mobile);
}

.hero-overlay {
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(2, 2, 3, .24), rgba(2, 2, 3, .05) 48%, rgba(2, 2, 3, .38));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(38px + env(safe-area-inset-top)) calc(22px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(22px + env(safe-area-inset-left));
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(40.6vw, 182px);
  height: auto;
  opacity: 0;
  animation: arrive 900ms ease-out 150ms forwards;
}

.hero-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 calc(22px + env(safe-area-inset-right)) 0 calc(22px + env(safe-area-inset-left));
  pointer-events: none;
}

.hero-status {
  max-width: 100%;
  margin: 0;
  font-family: "Brunson", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(30px, 7.5vw, 72px);
  font-weight: 400;
  letter-spacing: .045em;
  line-height: 1.13;
  text-align: center;
  text-wrap: balance;
  text-transform: uppercase;
  opacity: 0;
  animation: arrive 900ms ease-out 350ms forwards;
}

.hero-status span {
  display: block;
  white-space: nowrap;
}

.hero-status span:first-child {
  font-size: .82em;
}

.hero-bottom {
  margin-top: auto;
  opacity: 0;
  animation: arrive 900ms ease-out 550ms forwards;
}

.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: rgba(255, 255, 255, .85);
}

.hero-links a:hover {
  color: #fff;
}

.hero-links svg {
  display: block;
  width: 17px;
  height: 17px;
}

.hero-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
  border-radius: 1px;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .hero-video {
    object-position: var(--video-position-desktop);
  }

  .hero-content {
    padding: calc(48px + env(safe-area-inset-top)) calc(50px + env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) calc(50px + env(safe-area-inset-left));
  }

  .hero-logo {
    width: min(17.5vw, 231px);
  }

  .hero-links {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-status,
  .hero-bottom {
    opacity: 1;
    animation: none;
  }
}
