.thesis-hero,
.thesis-hero-content {
  background: #080b0f;
  min-height: 0;
}

.thesis-hero-content {
  display: grid;
  align-content: center;
  min-height: clamp(690px, 92svh, 940px);
  padding: 126px var(--pad) 108px;
}

.thesis-hero h1 {
  font-size: clamp(72px, 9.25vw, 155px);
  margin: 0;
  justify-self: start;
}

.thesis-hero h1 em {
  color: #9eaab6;
}

.thesis-signal {
  position: absolute;
  inset: 8% 0 4% 33%;
  pointer-events: none;
  transform: scale(0.9);
  transform-origin: 53% 48%;
  background: url('/assets/thesis-signal.webp') center / contain no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 13%, #000 95%, transparent);
}

.thesis-signal[data-rendered] {
  background: none;
}

.thesis-signal canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.thesis-hero-bottom {
  position: absolute;
  right: var(--pad);
  bottom: 44px;
  left: var(--pad);
  margin: 0;
}

@media (max-width: 800px) {
  .thesis-hero-content {
    align-content: start;
    min-height: 0;
    grid-template-rows: auto clamp(258px, 76vw, 515px) auto;
    padding: 128px var(--pad) 30px;
  }

  .thesis-hero h1 {
    font-size: clamp(50px, 12vw, 94px);
  }

  .thesis-signal {
    position: relative;
    inset: auto;
    margin: -20px calc(-1 * var(--pad)) 0;
    mask-image: none;
  }

  .thesis-hero-bottom {
    position: relative;
    inset: auto;
    margin-top: 14px;
  }
}

@media (max-width: 380px) {
  .thesis-hero-content {
    padding-top: 112px;
  }
}
