:root {
  --void:    #0A0E13;
  --carbon:  #12181F;
  --steel:   #6F8091;
  --haze:    #C6D2DC;
  --paper:   #EEF3F7;
  --flare:   #F0491A;

  --display: "Archivo", system-ui, sans-serif;
  --body:    "Instrument Sans", system-ui, sans-serif;

  --gut:     clamp(1.5rem, 6vw, 6rem);
}

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

html {
  height: 100%;
  overscroll-behavior: none;
}

body {
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  margin: 0;
  background: var(--void);
  color: var(--haze);
  font-family: var(--body);
  font-size: clamp(1rem, .42vw + .92rem, 1.0625rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

video { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--flare);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 9vh, 6rem) var(--gut);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hero__media { position: fixed; inset: 0; z-index: 0; background: var(--carbon); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,14,19,.93) 0%, rgba(10,14,19,.84) 34%, rgba(10,14,19,.55) 62%, rgba(10,14,19,.12) 88%),
    linear-gradient(to top, rgba(10,14,19,.6) 0%, transparent 45%);
}

.hero__body { position: relative; z-index: 1; max-width: 66rem; }

.mark {
  display: inline-flex; align-items: center; gap: .85rem;
  margin: 0 0 3rem;
}
.mark__word {
  font-family: var(--display);
  font-variation-settings: "wdth" 108;
  font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.03em; color: var(--paper);
}
.mark__glyph {
  width: clamp(32px, 3.4vw, 42px); aspect-ratio: 1; flex: none;
  background:
    radial-gradient(circle at 68% 50%, var(--haze) 0 34%, transparent 35%),
    repeating-linear-gradient(to right, var(--steel) 0 2px, transparent 2px 5px);
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "wdth" 120;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.045em;
  color: var(--paper);
  overflow-wrap: break-word;
}
.hero__title .line { display: block; }
.hero__title .line--muted { color: #93A3B2; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) and ((-webkit-text-stroke: 1px #000) or (-webkit-text-stroke-width: 1px)) {
  .hero__title .line--muted {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(220, 232, 243, .72);
    background-image: linear-gradient(
      104deg,
      rgba(214, 226, 236, .18) 24%,
      rgba(255, 255, 255, .72) 44%,
      rgba(214, 226, 236, .22) 62%
    );
    background-size: 260% 100%;
    background-position: 130% 0;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    animation: sheen 8s cubic-bezier(.45, 0, .2, 1) 1.8s infinite;
  }
}

@keyframes sheen {
  0%        { background-position: 130% 0; }
  55%, 100% { background-position: -35% 0; }
}

.btn {
  display: inline-flex; align-items: center;
  margin-top: 2.75rem;
  padding: .95rem 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--flare);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 12px 34px rgba(240, 73, 26, .22);
  color: #fff;
  font-family: var(--display);
  font-variation-settings: "wdth" 106;
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .22s, border-color .22s, transform .22s, box-shadow .22s;
}
.btn:hover {
  background: #ff5b2b;
  border-color: rgba(255, 255, 255, .36);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    0 16px 40px rgba(240, 73, 26, .32);
}

[data-rise] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0ms);
}
[data-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-rise] { opacity: 1; transform: none; }
  .hero__title .line--muted { animation: none; background-position: 40% 0; }
}
