.tectonic-opening-hero {
  --opening-progress: 0;
  --opening-title-scale: 1;
  --opening-copy: 0;
  --opening-copy-dim: 0.3;
  --opening-axis-left: clamp(100px, 5.7vw, 128px);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 260svh;
  background: #000;
}

/* The hero is the first post-loading page, never loading-page content. */
html.is-tectonic-interaction-booting .tectonic-opening-hero,
html.is-tectonic-interaction-loading .tectonic-opening-hero,
body.is-tectonic-interaction-loading .tectonic-opening-hero {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.tectonic-opening-hero__viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.tectonic-opening-hero__video,
.tectonic-opening-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tectonic-opening-hero__video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: translateZ(0) scale(1.01);
}

.tectonic-opening-hero__shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.18));
}

.tectonic-opening-hero__shade::after {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: calc(var(--opening-copy) * var(--opening-copy-dim));
  content: "";
  will-change: opacity;
}

.tectonic-opening-hero__word {
  position: absolute;
  z-index: 3;
  left: var(--opening-axis-left);
  top: clamp(28px, 2.4svh, 46px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  transform: translateZ(0) scale(var(--opening-title-scale));
  transform-origin: 0 0;
  color: #fff;
  font-family: var(--tectonic-ui-sans, "Arial Narrow", "Arial", sans-serif);
  font-size: clamp(118px, 15.4vw, 324px);
  font-weight: 700;
  letter-spacing: -0.078em;
  line-height: 0.76;
  white-space: nowrap;
  mix-blend-mode: difference;
  pointer-events: none;
  will-change: transform;
}

.tectonic-opening-hero__word span {
  display: block;
  flex: 0 0 auto;
}

.tectonic-opening-hero__narrative {
  position: absolute;
  z-index: 4;
  left: var(--opening-axis-left);
  bottom: 12.5svh;
  width: min(82vw, 1500px);
  color: #fff;
  font-family: var(--tectonic-ui-sans, "Arial", sans-serif);
  transform: translate3d(0, calc((1 - var(--opening-copy)) * 112svh), 0);
  will-change: transform;
  pointer-events: none;
}

.tectonic-opening-hero__narrative p {
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: clamp(30px, 3.55vw, 72px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.tectonic-opening-hero__narrative p:nth-child(2) {
  margin-top: clamp(13px, 1.7svh, 27px);
  color: #e31920;
  font-size: clamp(44px, 5.05vw, 104px);
  line-height: 0.86;
}

.tectonic-opening-hero__narrative p:nth-child(3) {
  margin-top: clamp(23px, 3.2svh, 49px);
  font-size: clamp(16px, 1.7vw, 35px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

.tectonic-opening-hero__meta {
  position: absolute;
  z-index: 5;
  bottom: clamp(22px, 3svh, 46px);
  display: grid;
  gap: 0.55em;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--tectonic-ui-small-en, "Bahnschrift", "Arial", sans-serif);
  font-size: clamp(9px, 0.62vw, 14px);
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  pointer-events: none;
}

.tectonic-opening-hero__meta--left {
  left: clamp(44px, 7vw, 148px);
}

.tectonic-opening-hero__meta--right {
  right: clamp(44px, 7vw, 148px);
  justify-items: end;
  text-align: right;
}

@media (max-width: 760px) {
  .tectonic-opening-hero {
    height: 230svh;
  }

  .tectonic-opening-hero__word {
    left: 24px;
    top: 88px;
    font-size: clamp(62px, 16vw, 118px);
  }

  .tectonic-opening-hero__narrative {
    left: 24px;
    width: calc(100vw - 48px);
  }

  .tectonic-opening-hero__meta {
    bottom: 20px;
  }

  .tectonic-opening-hero__meta--left {
    left: 24px;
  }

  .tectonic-opening-hero__meta--right {
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tectonic-opening-hero {
    height: 100svh;
  }

  .tectonic-opening-hero__narrative {
    display: none;
  }
}
