:root {
  --title-font: 'DM Sans', Arial, Helvetica, sans-serif;
  --title-color: #ffffff;
  --icon-color: #ffffff;
  --shade-opacity: .38;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { background: #151a1e; color: white; }
.hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  background: #151a1e url('../images/ticker-poster.jpg') center / cover no-repeat;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: rgb(0 0 0 / var(--shade-opacity));
  pointer-events: none;
}
.hero__title {
  margin: 0;
  padding: 0 16px;
  max-width: 100%;
  color: var(--title-color);
  font: 700 clamp(2.8rem, 12vw, 9.6rem)/1 var(--title-font);
  letter-spacing: -.045em;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0,0,0,.32);
  overflow-wrap: anywhere;
}
.mail {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  color: var(--icon-color);
  background: rgba(0,0,0,.24);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.mail:hover { background: rgba(0,0,0,.55); border-color: white; }
.mail:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (max-width: 420px) {
  .hero__title { font-size: clamp(2.4rem, 12.8vw, 4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero { background: #151a1e url('../images/ticker-poster.jpg') center / cover no-repeat; }
  .mail { transition: none; }
}

/* Static error page using a frame from the ticker loop. */
.hero--error {
  background: #151a1e url('../images/ticker-404.jpg') center / cover no-repeat;
}
.error__message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 2.5vw, 1.5rem);
  width: 100%;
  padding: 24px;
  text-align: center;
}
.error__code {
  margin: 0;
  color: rgba(255, 255, 255, .40);
  font: 700 clamp(6rem, 23vw, 18rem)/.95 var(--title-font);
  letter-spacing: -.065em;
}
.error__caption {
  margin: 0;
  font: 500 clamp(1rem, 2.7vw, 1.8rem)/1.35 var(--title-font);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.65);
}
