.hero__silk,
.about__rings {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero__silk[data-rendered],
.about__rings[data-rendered] { opacity: 1; }

.hero__silk {
  inset: 0;
  width: 100%;
  height: 100%;
}

.about__rings {
  width: 44%;
  height: 87%;
  top: 4%;
  left: 3.5%;
}



.hero__bg::before {
  background: radial-gradient(ellipse 59% 52% at 50% 44%, #05010be8, #07010e6b 57%, transparent 87%),
    linear-gradient(180deg, #030106a0, transparent 25%);
}

.hero__title.grad-text {
  background-image: linear-gradient(180deg, #fff 20%, #e5ddf7);
}

@media (max-width: 1080px) {
  .about__rings { inset: 0; width: 100%; height: 100%; }
  .hero__bg::before {
    background: radial-gradient(ellipse 98% 37% at 50% 45%, #040109ed, #06010ca0 58%, transparent 95%),
      linear-gradient(180deg, #0501089c, transparent 25%);
  }
}

@property --intro-opening {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.site-intro {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  place-items: center;
  background: #050307;
  mask-image: radial-gradient(circle at center, transparent max(0px, calc(var(--intro-opening) - 12px)), #000 var(--intro-opening));
  pointer-events: none;
  animation: site-intro-open 2.5s cubic-bezier(.62, .04, .22, 1) both;
}

.site-intro__mark {
  width: clamp(62px, 12vw, 124px);
  overflow: visible;
  color: #ece4ff;
  filter: drop-shadow(0 0 12px #9463fc90);
  animation: site-intro-mark 2.5s ease-out both;
}

.site-intro__mark path {
  fill: #ffffff;
  fill-opacity: 0;
  stroke: currentColor;
  stroke-width: .8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: site-intro-outline 1.4s cubic-bezier(.33, .04, .22, 1) both;
}

.site-intro__mark path:first-child { animation-delay: 130ms; }

@keyframes site-intro-outline {
  0% { stroke-dashoffset: 1; fill-opacity: 0; }
  79% { fill-opacity: 0; }
  100% { stroke-dashoffset: 0; fill-opacity: .92; }
}

@keyframes site-intro-mark {
  0%, 54% { opacity: 1; transform: scale(.94); }
  76%, 100% { opacity: 0; transform: scale(1.17); }
}

@keyframes site-intro-open {
  0%, 53% { --intro-opening: 0px; opacity: 1; visibility: visible; }
  58% { --intro-opening: 25px; opacity: 1; }
  99%, 100% { --intro-opening: 76vmax; opacity: 0; visibility: hidden; }
}

.cta__arrow {
  position: absolute;
  left: 8%;
  top: 9%;
  width: 39%;
  height: 76%;
  opacity: 0;
  pointer-events: none;
}

.cta__arrow[data-rendered] { opacity: 1; }


@media (max-width: 1080px) {
  .cta__arrow { inset: 0; width: 100%; height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none; }
}


.about__rings,
.cta__arrow {
  opacity: 1;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.about__rings { background-image: url("../img/fundos-atuais/orbita-20261117.webp"); }
.cta__arrow { background-image: url("../img/fundos-atuais/seta-20261117.webp"); }

[data-metal] canvas { opacity: 0; }
[data-metal][data-rendered] canvas { opacity: 1; }
