* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
}

.cinematic-teaser {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000000;
}

.logo {
  position: absolute;
  top: 28%;
  left: 50%;
  display: block;
  width: min(44vw, 660px);
  max-width: calc(100vw - 48px);
  height: auto;
  opacity: 0;
  filter: brightness(0.45);
  transform: translate(-50%, -50%);
  will-change: opacity, filter;
}

.teaser-line {
  position: absolute;
  top: 51%;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 48px);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Liberation Mono", monospace;
  font-size: clamp(0.74rem, 1.1vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.55;
  text-align: center;
  white-space: pre-line;
  visibility: hidden;
  transform: translateX(-50%);
}

.teaser-line.is-typing {
  visibility: visible;
}

.cursor {
  display: inline-block;
  margin-left: 0.16em;
  animation: cursor-blink 1.15s steps(1, end) infinite;
}

.email-text {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76em;
  letter-spacing: 0.02em;
}

.language-switcher {
  position: fixed;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(24px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: 0.38em;
  color: rgba(255, 255, 255, 0.26);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Liberation Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.language-switcher button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  color: rgba(255, 255, 255, 0.7);
}

.language-switcher button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

@keyframes cursor-blink {
  52% {
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .logo {
    top: 26%;
    width: min(57.6vw, 416px);
    max-width: calc(100vw - 40px);
  }

  .teaser-line {
    top: 49%;
    max-width: calc(100vw - 40px);
    font-size: clamp(0.68rem, 3vw, 0.9rem);
  }

  .language-switcher {
    bottom: 18px;
  }
}