/* Uncanny Candor neon wordmark: matches the show art (monoline neon tubes, eye for the O).
   Font: Quicksand (SIL OFL), subset to the wordmark letters only. */
@font-face{font-family:"UC Neon";src:url("../fonts/uc-quicksand.woff2") format("woff2");font-weight:500 700;font-display:block}

.ucw{--tube:#fff5fb;--glow:226,120,215;--holo:95,216,255;
  display:inline-flex;flex-direction:column;align-items:flex-start;gap:.06em;
  font-family:"UC Neon","Quicksand",system-ui,sans-serif;font-weight:500;line-height:.92;letter-spacing:.07em;
  text-transform:uppercase;color:var(--tube);white-space:nowrap;user-select:none}
.ucw__line{display:flex;align-items:center}
.ucw__line > span{display:inline-block}
.ucw__neon{text-shadow:0 0 1px #fff,0 0 3px rgba(255,255,255,.95),0 0 9px rgba(var(--glow),.85),0 0 20px rgba(var(--glow),.5),0 0 42px rgba(var(--glow),.28)}

/* The eye that stands in for the O */
.ucw__eye{width:1.2em;height:.8em;margin:0 .07em 0 .02em;overflow:visible;flex:none;
  filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 4px rgba(var(--glow),.85)) drop-shadow(0 0 12px rgba(var(--glow),.45))}
.ucw__eye *{fill:none;stroke:var(--tube);stroke-width:6.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:none}
.ucw__lids{transform-origin:60px 40px;transition:transform .09s ease-in}
.ucw__iris{transition:transform .35s cubic-bezier(.3,.7,.3,1)}
.ucw__eye.is-blink .ucw__lids{transform:scaleY(.08)}
.ucw__eye.is-blink .ucw__iris{opacity:0}

/* ---------- Page heading: the stage ---------- */
.uc-hero{position:relative;display:block;width:fit-content;margin:6px 0 14px;padding:.18em .5em .26em .1em;isolation:isolate}
.uc-hero .ucw{font-size:clamp(46px,8vw,92px)}
.uc-hero .ucw__eye{stroke-width:6}

/* Laser beams behind the sign, like the studio in the show art */
.uc-beams{position:absolute;inset:-18% -6% -14% -2%;z-index:-2;pointer-events:none;overflow:hidden;
  -webkit-mask:radial-gradient(ellipse 70% 75% at 50% 50%,#000 35%,transparent 78%);mask:radial-gradient(ellipse 70% 75% at 50% 50%,#000 35%,transparent 78%)}
.uc-beams i{position:absolute;top:-10%;bottom:-10%;width:1.5px;border-radius:2px;
  background:linear-gradient(180deg,transparent,rgba(var(--holo,95,216,255),.85) 30%,rgba(140,230,255,.95) 55%,rgba(var(--holo,95,216,255),.6) 80%,transparent);
  box-shadow:0 0 6px rgba(95,216,255,.8),0 0 16px rgba(95,216,255,.45);opacity:.55;transform-origin:50% 0;
  animation:ucBeam 9s ease-in-out infinite alternate}
.uc-beams i:nth-child(1){left:12%;animation-duration:11s;transform:rotate(3deg)}
.uc-beams i:nth-child(2){left:31%;animation-duration:8s;animation-delay:-3s;opacity:.35}
.uc-beams i:nth-child(3){left:52%;animation-duration:12s;animation-delay:-6s}
.uc-beams i:nth-child(4){left:68%;animation-duration:9.5s;animation-delay:-2s;opacity:.4}
.uc-beams i:nth-child(5){left:86%;animation-duration:10.5s;animation-delay:-5s}
.uc-beams i:nth-child(6){left:95%;animation-duration:7.5s;animation-delay:-1s;opacity:.3}
@keyframes ucBeam{0%{transform:rotate(-2.5deg)}100%{transform:rotate(2.5deg)}}

/* Faint scanlines + a slow scan bar: the sign is being "rendered" */
.uc-hero::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:screen;opacity:.45;-webkit-mask:radial-gradient(ellipse 60% 70% at 50% 50%,#000 40%,transparent 80%);mask:radial-gradient(ellipse 60% 70% at 50% 50%,#000 40%,transparent 80%);
  background:
    linear-gradient(180deg,transparent 0,rgba(140,230,255,.16) 48%,rgba(255,255,255,.22) 50%,rgba(140,230,255,.16) 52%,transparent 100%) 0 -120%/100% 34% no-repeat,
    repeating-linear-gradient(180deg,rgba(255,255,255,.035) 0 1px,transparent 1px 4px);
  animation:ucScan 6.5s linear infinite}
@keyframes ucScan{0%,55%{background-position:0 -120%,0 0}100%{background-position:0 260%,0 0}}

/* The digital clone: a cyan hologram double that drifts and glitches */
.uc-hero .ucw--clone{position:absolute;left:.1em;top:.18em;z-index:-1;--tube:rgba(160,236,255,.9);
  opacity:.2;filter:blur(.3px);transform:translate(.045em,.035em);animation:ucClone 7.5s steps(1,end) infinite}
.uc-hero .ucw--clone .ucw__neon{text-shadow:0 0 6px rgba(95,216,255,.9),0 0 18px rgba(95,216,255,.55)}
.uc-hero .ucw--clone .ucw__eye{filter:drop-shadow(0 0 6px rgba(95,216,255,.9))}
@keyframes ucClone{
  0%,86%,100%{transform:translate(.045em,.035em);clip-path:inset(0 0 0 0);opacity:.2}
  87%{transform:translate(-.06em,.01em);clip-path:inset(12% 0 58% 0);opacity:.85}
  88.5%{transform:translate(.09em,-.02em);clip-path:inset(54% 0 8% 0);opacity:.75}
  90%{transform:translate(-.03em,.05em);clip-path:inset(30% 0 36% 0);opacity:.9}
  91.5%{transform:translate(.045em,.035em);clip-path:inset(0 0 0 0);opacity:.2}}
/* while the clone glitches, the real sign shudders a hair */
.uc-hero > .ucw:not(.ucw--clone){animation:ucJolt 7.5s steps(1,end) infinite}
@keyframes ucJolt{0%,86.5%,92%,100%{transform:none}87.5%{transform:translateX(-1.5px)}89.5%{transform:translateX(1.5px) skewX(-1.5deg)}}

/* Neon power-on, then one tired tube that flickers now and then */
.uc-hero .ucw__neon,.uc-hero .ucw__eye{animation:ucOn 1.6s steps(1,end) both}
.uc-hero .ucw__line:nth-child(2) .ucw__neon,.uc-hero .ucw__line:nth-child(2) .ucw__eye{animation-delay:.25s}
@keyframes ucOn{0%{opacity:.08}8%{opacity:1}12%{opacity:.15}20%{opacity:1}26%{opacity:.3}34%,100%{opacity:1}}
.uc-hero .ucw__flick{animation:ucOn 1.6s steps(1,end) both,ucFlick 9s steps(1,end) 2.5s infinite}
@keyframes ucFlick{0%,93%,100%{opacity:1}94%{opacity:.25}95%{opacity:1}96.5%{opacity:.35}97.5%{opacity:1}}
.uc-hero .ucw--clone *{animation:none!important}

/* ---------- Player title bar (QCreative Magazine brand above stays as is) ---------- */
.qcp .qcp-show__title{font-family:inherit;display:flex;line-height:1;margin:0}
.qcp-show__title .ucw{flex-direction:row;flex-wrap:wrap;gap:.08em .42em;font-size:44px;line-height:1;letter-spacing:.07em;margin-top:-.24em}
.qcp-show__title .ucw__neon{text-shadow:0 0 1px #fff,0 0 3px rgba(255,255,255,.9),0 0 8px rgba(var(--glow),.85),0 0 18px rgba(var(--glow),.45),0 0 34px rgba(var(--glow),.25)}
.qcp-show__title .ucw__eye{filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 4px rgba(var(--glow),.85)) drop-shadow(0 0 10px rgba(var(--glow),.45));margin-top:-.04em}

/* ---------- Empty studio behind the big heading (same width as the player) ---------- */
.qcp-intro.uc-studio{position:relative;isolation:isolate;overflow:hidden;border-radius:var(--radius,18px);
  padding:30px 34px 32px;box-shadow:0 0 0 1px rgba(255,255,255,.06),0 24px 60px -30px rgba(0,0,0,.9)}
.qcp-intro.uc-studio::before{content:"";position:absolute;inset:0;z-index:-2;
  background:url("/assets/img/uc-studio-2000.jpg") center 38%/cover no-repeat;
  background-image:image-set(url("/assets/img/uc-studio-2000.webp") type("image/webp"),url("/assets/img/uc-studio-2000.jpg") type("image/jpeg"))}
.qcp-intro.uc-studio::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(9,10,20,.82) 0%,rgba(9,10,20,.62) 42%,rgba(9,10,20,.18) 78%,rgba(9,10,20,.05) 100%),
    linear-gradient(180deg,rgba(9,10,20,.15) 0%,rgba(9,10,20,0) 40%,rgba(9,10,20,.55) 100%)}
.qcp-intro.uc-studio p{color:rgba(236,236,242,.86)}
.qcp-intro.uc-studio .qcp-tagline{color:var(--accent)}
.qcp-intro.uc-studio .kicker{color:var(--accent)}

@media (max-width:520px){
  .qcp-intro.uc-studio{padding:22px 18px 24px}
  .qcp-intro.uc-studio::before{background-image:image-set(url("/assets/img/uc-studio-1100.webp") type("image/webp"),url("/assets/img/uc-studio-2000.jpg") type("image/jpeg"));background-position:0% center}
  .uc-hero{padding-right:.2em}
  .qcp-show__title .ucw{font-size:34px}
}
@media (prefers-reduced-motion:reduce){
  .uc-beams i,.uc-hero::after,.uc-hero .ucw,.uc-hero .ucw *,.uc-hero .ucw--clone{animation:none!important}
  .ucw__iris,.ucw__lids{transition:none}
}

/* ---------- Lab grid behind the player section (same as the magazine's "From the lab this week") ---------- */
.qcp-page::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:
    linear-gradient(180deg,#141416 0,rgba(20,20,22,0) 64px,rgba(20,20,22,0) calc(100% - 72px),#141416 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.66 0 0 0 0 0.82 0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    linear-gradient(rgba(236,234,228,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(236,234,228,.05) 1px,transparent 1px);
  background-size:auto,200px 200px,72px 72px,72px 72px;
  background-position:0 0,0 0,center top,center top}

/* Fine graph-paper grid in the From the network bar (same as the magazine's From the lab cards) */
.qcp .qcp-card.qcp-net{
  background-image:
    radial-gradient(ellipse 60% 120% at 100% 0%,rgba(245,166,35,.07),transparent 70%),
    linear-gradient(rgba(236,234,228,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(236,234,228,.045) 1px,transparent 1px);
  background-size:auto,14px 14px,14px 14px;
  background-position:0 0,-1px -1px,-1px -1px}
