/* TĒLS hero — all rules are scoped to .tels-hero; nothing leaks into the site. */
.tels-hero {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;          /* override with a height (e.g. 100svh) for a full-screen hero */
  overflow: hidden;
  background: #1e2126;
  isolation: isolate;            /* blend modes stay inside the hero */
  contain: layout paint;
  -webkit-user-select: none;
  user-select: none;
}
.tels-hero *, .tels-hero *::before, .tels-hero *::after { box-sizing: content-box; }
.tels-hero__stage {
  position: absolute;
  left: 0; top: 0;
  width: 1280px; height: 720px;
  transform-origin: 0 0;
  pointer-events: none;
}
.tels-hero__stage div, .tels-hero__stage canvas, .tels-hero__stage svg { margin: 0; padding: 0; border: 0; max-width: none; }
.tels-hero__art { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.tels-hero__fill, .tels-hero__svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.tels-hero__svg { overflow: visible; fill-rule: evenodd; clip-rule: evenodd; stroke-linecap: round; stroke-linejoin: round; }
.tels-hero__abs, .tels-hero__light { position: absolute; }
.tels-hero__bounce {
  position: absolute; left: -200px; top: 120px; width: 1500px; height: 900px; opacity: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 62%, rgba(255,226,182,0.085) 0%, rgba(255,222,176,0.04) 45%, rgba(255,220,170,0) 100%);
}
.tels-hero__source {
  mix-blend-mode: screen;
  background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(255,251,238,0.85) 0%, rgba(255,245,222,0.42) 30%, rgba(255,236,200,0.12) 60%, rgba(255,232,192,0) 100%);
}
.tels-hero__flash {
  mix-blend-mode: screen;
  background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(255,248,226,0.95) 0%, rgba(255,231,175,0.4) 36%, rgba(255,226,168,0) 100%);
}
.tels-hero__canvas { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
.tels-hero__hat { position: absolute; }
.tels-hero__vignette {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  background: radial-gradient(120% 100% at 47% 38%, rgba(9,10,12,0) 42%, rgba(9,10,12,0.14) 72%, rgba(8,9,11,0.42) 100%);
}
.tels-hero__grain {
  position: absolute; left: 0; top: 0; width: 1280px; height: 720px;
  opacity: 0.055; mix-blend-mode: overlay;
  background-repeat: repeat; background-size: 256px 256px;
}
/* static poster: shown only until the script mounts (or if JS is off) */
.tels-hero__fallback { position: absolute; inset: 0; }
.tels-hero__fallback img {
  position: absolute; left: 16.5%; top: -2%; width: 59.8%; height: auto; max-width: none;
}
.tels-hero--ready > .tels-hero__fallback { display: none; }
/* your own overlay content (headline, CTA) can sit above the animation */
.tels-hero__content { position: relative; z-index: 2; }
.tels-hero__hat-layer {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.tels-hero__hat-field { position: absolute; left: 0; top: 0; }
.tels-hero__hat-detail { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
