:root {
  color-scheme: dark;
  font-family: "Manrope", system-ui, sans-serif;
  background: #030303;
  color: #44a7e8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: #030303;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 97, 170, 0.075), transparent 32%),
    linear-gradient(145deg, #03070b 0%, #020202 68%);
}

.ambient {
  position: absolute;
  z-index: -2;
  inset: -30%;
  filter: blur(110px);
  opacity: 0.28;
}

.ambient__glow {
  position: absolute;
  display: block;
  width: min(44rem, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}

.ambient__glow--violet {
  top: 4%;
  left: 19%;
  background: rgba(0, 70, 138, 0.24);
  animation: drift-violet 24s ease-in-out infinite alternate;
}

.ambient__glow--blue {
  right: 9%;
  bottom: 1%;
  background: rgba(0, 125, 184, 0.18);
  animation: drift-blue 28s ease-in-out infinite alternate;
}

.ambient__glow--rose {
  bottom: -12%;
  left: 22%;
  width: min(34rem, 48vw);
  background: rgba(28, 65, 136, 0.2);
  animation: drift-rose 31s ease-in-out infinite alternate;
}

.glass {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(2, 2, 2, 0.48);
  box-shadow: inset 0 0 14rem rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}

.identity {
  display: grid;
  place-items: center;
  gap: clamp(1.5rem, 4vh, 3.75rem);
  width: min(100%, 64rem);
}

.mark {
  position: relative;
  width: clamp(12rem, min(34vw, 42vh), 24rem);
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.94);
  animation: mark-reveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mark::after {
  position: absolute;
  z-index: -1;
  inset: 17%;
  border-radius: 50%;
  background: rgba(0, 97, 170, 0.16);
  filter: blur(42px);
  content: "";
  animation: breathe 5s ease-in-out infinite alternate;
}

.mark__ring {
  position: absolute;
  border: 1px solid rgba(65, 161, 221, 0.68);
  border-radius: 50%;
  box-shadow:
    inset 0 0 20px rgba(0, 97, 170, 0.055),
    0 0 18px rgba(0, 97, 170, 0.04);
}

.mark__ring--outer {
  inset: 0;
  border-color: rgba(117, 202, 245, 0.82);
  animation: ring-turn 32s linear infinite;
}

.mark__ring--outer::before,
.mark__ring--outer::after {
  position: absolute;
  width: 0.34rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #91d8ff;
  box-shadow: 0 0 13px rgba(85, 183, 239, 0.78);
  content: "";
}

.mark__ring--outer::before {
  top: 8.5%;
  left: 23%;
}

.mark__ring--outer::after {
  right: 12%;
  bottom: 17%;
  opacity: 0.55;
}

.mark__ring--middle {
  inset: 4.2%;
  border-color: rgba(0, 97, 170, 0.78);
}

.mark__ring--inner {
  inset: 8.4%;
  border-color: rgba(54, 157, 221, 0.58);
}

.mark__core {
  position: absolute;
  inset: 13%;
  overflow: hidden;
  border: 1px solid rgba(76, 174, 231, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, rgba(142, 216, 255, 0.16), transparent 23%),
    #03070b;
  box-shadow:
    inset 0 0 3.5rem rgba(0, 0, 0, 0.88),
    0 0 2.5rem rgba(0, 97, 170, 0.12);
}

.mark__shape {
  position: absolute;
  inset: 18%;
  border-radius: 42% 58% 63% 37% / 52% 36% 64% 48%;
  mix-blend-mode: screen;
  will-change: transform, border-radius;
}

.mark__shape--one {
  background: linear-gradient(145deg, rgba(145, 216, 255, 0.78), rgba(0, 74, 137, 0.07) 64%);
  filter: blur(3px);
  animation: liquid-one 9s ease-in-out infinite alternate;
}

.mark__shape--two {
  inset: 27% 15% 14% 30%;
  background: linear-gradient(210deg, rgba(0, 125, 202, 0.68), rgba(23, 41, 105, 0.16) 68%);
  filter: blur(6px);
  animation: liquid-two 11s ease-in-out infinite alternate;
}

.mark__shape--three {
  inset: 16% 30% 34% 14%;
  background: rgba(40, 159, 224, 0.42);
  filter: blur(9px);
  animation: liquid-three 7s ease-in-out infinite alternate;
}

.mark__shine {
  position: absolute;
  top: 19%;
  left: 22%;
  width: 24%;
  height: 10%;
  border-radius: 50%;
  background: rgba(190, 231, 255, 0.28);
  filter: blur(9px);
  transform: rotate(-34deg);
}

.identity__copy {
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: copy-reveal 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

h1 {
  margin: 0;
  background: linear-gradient(95deg, #9bdcff 0%, #168fd8 48%, #0061aa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 4.7vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.3;
  text-wrap: balance;
}

.identity__copy p {
  margin: 0.9rem 0 0;
  color: rgba(72, 166, 224, 0.72);
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.22em;
}

@keyframes mark-reveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes copy-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ring-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes breathe {
  to {
    opacity: 0.6;
    transform: scale(1.18);
  }
}

@keyframes liquid-one {
  50% {
    border-radius: 60% 40% 37% 63% / 44% 62% 38% 56%;
    transform: rotate(105deg) scale(1.08);
  }

  100% {
    border-radius: 38% 62% 54% 46% / 63% 41% 59% 37%;
    transform: rotate(215deg) scale(0.92);
  }
}

@keyframes liquid-two {
  to {
    border-radius: 64% 36% 46% 54% / 39% 59% 41% 61%;
    transform: rotate(-190deg) scale(1.15);
  }
}

@keyframes liquid-three {
  to {
    border-radius: 35% 65% 61% 39% / 55% 37% 63% 45%;
    transform: translate(32%, 42%) rotate(145deg) scale(1.3);
  }
}

@keyframes drift-violet {
  to {
    transform: translate3d(19vw, 13vh, 0) scale(1.12);
  }
}

@keyframes drift-blue {
  to {
    transform: translate3d(-18vw, -10vh, 0) scale(0.92);
  }
}

@keyframes drift-rose {
  to {
    transform: translate3d(8vw, -20vh, 0) scale(1.16);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 1.5rem;
  }

  .identity {
    gap: 2.25rem;
  }

  .mark {
    width: min(72vw, 38vh, 18rem);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11.5vw, 3.5rem);
    line-height: 1.3;
  }
}

@media (max-height: 620px) {
  .hero {
    padding-block: 1rem;
  }

  .identity {
    gap: 1rem;
  }

  .mark {
    width: min(52vw, 34vh, 12rem);
  }

  h1 {
    font-size: clamp(1.75rem, 7vh, 2.75rem);
  }

  .identity__copy p {
    margin-top: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient__glow,
  .mark::after,
  .mark__ring,
  .mark__shape {
    animation: none;
  }

  .mark,
  .identity__copy {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
