.intro {
  --cyan: #13cfc3;
  --cyan-soft: #72e2da;
  --white: #eef4f3;
  --muted: #91a09e;
  --black: #020607;
}

html.intro-active,
html.intro-active body { overflow: hidden; }
html.c3-intro-seen .intro { display: none !important; }

.intro {
  box-sizing: border-box;
  position: fixed;
  z-index: 9999;
  inset: 0;
  overflow: hidden;
  background: rgba(2, 6, 7, .78);
  -webkit-backdrop-filter: blur(2px) brightness(.48) saturate(.72);
  backdrop-filter: blur(2px) brightness(.48) saturate(.72);
  cursor: pointer;
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease, visibility .35s linear;
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.intro *, .intro *::before, .intro *::after { box-sizing: border-box; }
.intro button { font: inherit; }
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-leaving { opacity: 0; }
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 61% 44%, rgba(9, 77, 72, .3), transparent 32%),
    linear-gradient(90deg, rgba(2,6,7,.95) 0 16%, rgba(2,6,7,.34) 50%, rgba(2,6,7,.86) 100%);
}
.intro .texture { position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); mix-blend-mode: screen; }
.intro .signal-grid {
  position: absolute;
  z-index: -1;
  left: -24%;
  right: -24%;
  top: 36%;
  height: 92%;
  overflow: hidden;
  opacity: 0;
  transform: perspective(620px) rotateX(66deg) translateY(19%) scale(1.15);
  transform-origin: 50% 0;
  background-image:
    linear-gradient(rgba(21, 208, 192, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 208, 192, .24) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse at 56% 20%, #000 0 10%, rgba(0,0,0,.82) 26%, transparent 68%);
  mask-image: radial-gradient(ellipse at 56% 20%, #000 0 10%, rgba(0,0,0,.82) 26%, transparent 68%);
  pointer-events: none;
}
.intro .signal-grid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 57% 14%, rgba(19,207,195,.26), transparent 26%); opacity: 0; }
.intro .signal-grid i { position: absolute; left: 0; right: 0; top: -10%; height: 10%; background: linear-gradient(transparent, rgba(118,255,242,.4), transparent); filter: blur(2px); opacity: 0; }
.intro .grid-horizon { position: absolute; z-index: -1; left: 23%; right: 6%; top: 52%; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(19,207,195,.46), transparent); box-shadow: 0 0 26px rgba(19,207,195,.32); pointer-events: none; }
.intro .logo-dim { position: absolute; z-index: 20; inset: 0; background: rgba(0,3,3,.9); opacity: 0; pointer-events: none; }

.intro .topbar {
  position: absolute;
  z-index: 8;
  top: clamp(26px, 5vh, 58px);
  left: clamp(26px, 4.5vw, 76px);
  right: clamp(26px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  color: rgba(238,244,243,.82);
  font-size: 12px;
  letter-spacing: .34em;
}
.intro .topbar b { color: var(--cyan); font-weight: 500; }
.intro .topbar i { position: absolute; right: 0; width: 38px; height: 1px; background: rgba(19,207,195,.72); }
.intro .topbar i:nth-of-type(1) { transform: translateY(-8px); }
.intro .topbar i:nth-of-type(3) { transform: translateY(8px); }

.intro .copy {
  position: absolute;
  z-index: 5;
  left: clamp(34px, 8.3vw, 160px);
  top: 48%;
  width: min(34vw, 520px);
  transform: translateY(-50%);
  color: var(--white);
}
.intro .copy-line { display: block; opacity: 0; transform: translateY(16px); text-transform: uppercase; }
.intro .copy-one, .intro .copy-three { font-size: clamp(15px, 1.55vw, 28px); font-weight: 300; letter-spacing: .34em; }
.intro .copy-two { margin: 18px 0; color: var(--cyan); font-size: clamp(26px, 2.5vw, 46px); font-weight: 500; letter-spacing: .18em; }
.intro .copy-two b { display: inline-block; min-width: .7em; font-weight: 500; transition: opacity .09s ease, transform .09s ease; }
.intro .copy-two b.is-switching { opacity: .1; transform: translateY(-7px); }
.intro .copy-three em { color: var(--cyan); font-style: normal; }
.intro .copy-rule { display: block; width: 52px; height: 2px; margin-top: 38px; background: var(--cyan); opacity: 0; transform: scaleX(0); transform-origin: left; }

.intro .radio-stage {
  position: absolute;
  z-index: 2;
  left: 12%;
  top: 50%;
  width: min(76vw, 1400px);
  aspect-ratio: 3 / 2;
  opacity: 0;
  transform: translateY(calc(-50% + 32vh)) scale(.93);
  transform-origin: 55% 80%;
}
.intro #radioCanvas { width: 100%; height: 100%; display: block; filter: drop-shadow(0 44px 45px rgba(0,0,0,.6)); }

.intro .lock-copy {
  position: absolute;
  z-index: 6;
  right: 7vw;
  top: 51%;
  width: min(30vw, 480px);
  opacity: 0;
  transform: translateY(-38%);
  pointer-events: none;
}
.intro .lock-copy span { display: flex; align-items: center; gap: 10px; color: var(--cyan-soft); font-size: 9px; font-weight: 700; letter-spacing: .25em; transition: opacity .55s cubic-bezier(.4,0,.2,1); }
.intro .lock-copy span i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.intro .center-logo { position: absolute; z-index: 21; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.intro .center-logo img { width: min(33vw, 518px); max-height: 27vh; object-fit: contain; filter: brightness(1.12) drop-shadow(0 0 32px rgba(19,207,195,.13)); mix-blend-mode: screen; transform: translateY(13px) scale(.975); }

.intro .skip { position: absolute; z-index: 10; right: 4.5vw; bottom: 22px; padding: 8px; border: 0; background: none; color: rgba(238,244,243,.55); font-size: 9px; letter-spacing: .25em; cursor: pointer; }
.intro .progress { position: absolute; z-index: 9; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(19,207,195,.7); }

.intro.is-running .radio-stage { animation: radio-rise 1.05s cubic-bezier(.4,0,.2,1) forwards; }
.intro.is-running .signal-grid { animation: grid-awake 2.55s .12s cubic-bezier(.4,0,.2,1) both; }
.intro.is-running .signal-grid i { animation: grid-scan .72s .46s cubic-bezier(.4,0,.2,1) both; }
.intro.is-running .grid-horizon { animation: horizon-lock .95s 1.02s cubic-bezier(.22,1,.36,1) both; }
.intro[data-channel="3"] .signal-grid::before { animation: grid-lock-flash .88s cubic-bezier(.22,1,.36,1) both; }
.intro.is-running .copy-one { animation: copy-in .48s .32s cubic-bezier(.22,1,.36,1) forwards; }
.intro.is-running .copy-two { animation: copy-in .5s .47s cubic-bezier(.22,1,.36,1) forwards; }
.intro.is-running .copy-three { animation: copy-in .5s .62s cubic-bezier(.22,1,.36,1) forwards; }
.intro.is-running .copy-rule { animation: rule-in .5s .78s cubic-bezier(.22,1,.36,1) forwards; }
.intro.is-running .lock-copy { animation: lock-in .55s 1.32s cubic-bezier(.22,1,.36,1) forwards; }
.intro.is-running .logo-dim { animation: dim-moment 1.95s 2.5s linear both; }
.intro.is-running .center-logo { animation: center-logo-moment 1.95s 2.5s linear both; }
.intro.is-running .center-logo img { animation: center-logo-image 1.95s 2.5s cubic-bezier(.4,0,.2,1) both; }
.intro.is-running .progress { animation: progress 4.9s cubic-bezier(.37,0,.63,1) forwards; }
.intro.is-logo-out .lock-copy span { opacity: 0; }

@keyframes radio-rise { 0% { opacity: 0; transform: translateY(calc(-50% + 28vh)) scale(.94); } 32% { opacity: .55; } 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes grid-awake { 0% { opacity: 0; background-position: 0 34px; } 28% { opacity: .16; } 72% { opacity: .32; } 100% { opacity: .19; background-position: 0 0; } }
@keyframes grid-scan { 0% { top: -10%; opacity: 0; } 16% { opacity: .8; } 86% { opacity: .42; } 100% { top: 78%; opacity: 0; } }
@keyframes grid-lock-flash { 0% { opacity: 0; transform: scale(.7); } 24% { opacity: .9; } 100% { opacity: .06; transform: scale(1.25); } }
@keyframes horizon-lock { 0% { opacity: 0; transform: scaleX(.1); } 45% { opacity: .8; } 100% { opacity: .18; transform: scaleX(1); } }
@keyframes copy-in { to { opacity: 1; transform: translateY(0); } }
@keyframes rule-in { to { opacity: 1; transform: scaleX(1); } }
@keyframes lock-in { to { opacity: 1; transform: translateY(-50%); } }
@keyframes dim-moment { 0% { opacity: 0; } 36% { opacity: .88; } 67% { opacity: .9; } 100% { opacity: .94; } }
@keyframes center-logo-moment { 0% { opacity: 0; } 36% { opacity: 1; } 67% { opacity: 1; } 100% { opacity: 0; } }
@keyframes center-logo-image { 0% { transform: translateY(7px) scale(.989); filter: brightness(.9) blur(2px); } 36% { transform: translateY(0) scale(1); filter: brightness(1.1) blur(0) drop-shadow(0 0 26px rgba(19,207,195,.11)); } 67% { transform: translateY(0) scale(1); filter: brightness(1.1) blur(0) drop-shadow(0 0 26px rgba(19,207,195,.11)); } 100% { transform: translateY(-3px) scale(1.004); filter: brightness(1.02) blur(1px); } }
@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .intro .topbar { font-size: 9px; }
  .intro .copy { left: 7vw; top: 28%; width: 72vw; }
  .intro .copy-one, .intro .copy-three { font-size: 12px; }
  .intro .copy-two { margin: 11px 0; font-size: 25px; }
  .intro .radio-stage { left: -22%; top: 58%; width: 145vw; }
  .intro .lock-copy { right: 7vw; top: 73%; width: 44vw; }
  .intro .center-logo img { width: min(58vw, 390px); max-height: 25vh; }
}

@media (prefers-reduced-motion: reduce) {
  .intro *, .intro::before { animation-duration: .01ms !important; animation-delay: 0ms !important; }
}
