.project { padding-bottom: clamp(40px, 5vw, 76px); }
.hive-stage {
  --midnight: #161535;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fbfaff;
  background: var(--midnight);
  border-radius: 26px clamp(52px, 6vw, 92px) 27px 27px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  min-height: clamp(410px, 34vw, 515px);
  box-shadow: 0 14px 34px -26px #302664aa;
}
.hive-sky, .hive-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hive-sky {
  z-index: -3;
  overflow: hidden;
  background: radial-gradient(ellipse at 79% 38%, #7064bd 0, #41418f 30%, transparent 65%), #1d1949;
}
.hive-sky::before, .hive-sky i {
  content: "";
  position: absolute;
  inset: -26% -14%;
  transform-origin: 71% 48%;
}
.hive-sky::before {
  background:
    radial-gradient(ellipse 32% 20% at 80% 72%, #91e5d8d6 4%, #7dcad88c 41%, transparent 86%),
    radial-gradient(ellipse 32% 32% at 89% 32%, #c4a4f4d4 2%, #a185e38f 36%, transparent 80%),
    radial-gradient(ellipse 36% 27% at 60% 75%, #514cff 0%, transparent 82%);
  animation: tide-colour 10s ease-in-out infinite alternate;
}
.hive-sky i {
  background:
    radial-gradient(ellipse 23% 47% at 66% 49%, #6c7bf4b3 0%, transparent 75%),
    radial-gradient(ellipse 37% 14% at 70% 81%, #e2a9ea91 0%, transparent 82%);
  animation: tide-light 8.5s ease-in-out infinite alternate;
}
.hive-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, #161535fa 0%, #1c1b47dc 25%, #20204b7a 45%, transparent 64%);
}
.hive-field { z-index: -2; mask-image: linear-gradient(90deg,transparent 10%,#0005 37%,black 63%); }
.hive-copy { position: relative; z-index: 2; padding: clamp(30px, 3.8vw, 64px) 0 clamp(30px, 3.8vw, 64px) clamp(29px, 4.4vw, 70px); }
.hive-kicker { display: flex; gap: 11px; align-items: center; color: #bcbcff; text-transform: uppercase; font-weight: 650; font-size: 12px; letter-spacing: .155em; }
.hive-kicker svg { width: 25px; height: 23px; color: #a9e4df; }
.hive-copy h2 { margin: 15px 0 13px; font-size: clamp(66px, 7vw, 110px); font-weight: 750; line-height: .98; letter-spacing: -.078em; }
.hive-description { max-width: 31em; color: #e6e5fa; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; letter-spacing: -.019em; }
.hive-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 23px; margin-top: 25px; }
.hive-launch { background: #f6f5ff; color: #23204b; min-height: 46px; padding-inline: 21px; }
.hive-launch:hover { background: white; box-shadow: 0 4px 0 #9d9ed77a; }
.hive-story { color: #f1efff; font-size: 14px; font-weight: 550; text-decoration: underline; text-decoration-color: #b1aed68f; text-underline-offset: 4px; }
.hive-story:hover { text-decoration-color: currentColor; }
.hive-stage a:focus-visible { outline-color: #c3ffef; }
.hive-audience {
  display: flex; gap: 13px; align-items: center;
  width: fit-content; margin-top: clamp(24px, 2.5vw, 39px); padding-top: 15px;
  border-top: 1px solid #e3dcff42;
}
.hive-audience strong { font-size: clamp(36px, 3.6vw, 53px); line-height: 1; letter-spacing: -.08em; font-weight: 650; }
.hive-audience > span:first-of-type { font-size: 13px; line-height: 1.4; color: #e2dff8; }
.hive-meter { display: flex; gap: 3px; height: 28px; align-items: center; margin-left: 7px; }
.hive-meter i { height: var(--bar); width: 2px; border-radius: 4px; background: linear-gradient(#d7b7ff, #9be0e1); animation: room-level 1s ease-in-out infinite alternate; animation-delay: var(--beat); }
.hive-art { align-self: stretch; position: relative; perspective: 820px; pointer-events: none; min-width: 0; }
.hive-parallax {
  position: absolute; inset: 5% 7% 8% -2%;
  display: grid; place-items: center;
  transform: translate3d(var(--drift-x,0px),var(--drift-y,0px),0) rotateY(var(--tilt-y,0deg)) rotateX(var(--tilt-x,0deg));
  transition: transform .63s cubic-bezier(.2,.62,.22,1);
}
.hive-mascot {
  width: 100%; height: 100%; min-height: 0; object-fit: contain;
  filter: drop-shadow(0 22px 14px #1d18484d);
  animation: hive-float 4.7s ease-in-out infinite alternate;
}
.hive-echo {
  position: absolute; bottom: 4%; left: 15%; width: 62%; height: 19%;
  transform: rotate(-7deg);
  background: radial-gradient(ellipse,#d1c1ff66 0%,#a4c6ff3d 17%,transparent 62%);
}
.hive-echo i {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid #deefff;
  box-shadow: 0 0 6px #cadbfe5c, inset 0 0 5px #dbf9ff3b;
  animation: voice-echo 4.8s linear infinite;
}
.hive-echo i:nth-child(2) { animation-delay: -1.6s; }
.hive-echo i:nth-child(3) { animation-delay: -3.2s; }
.hive-spark { position: absolute; width: 13px; aspect-ratio: 1; background: #e1e5ff; clip-path: polygon(50% 0,58% 40%,100% 50%,60% 58%,50% 100%,40% 60%,0 50%,40% 42%); animation: hive-twinkle 3.8s ease-in-out infinite alternate; }
.hive-spark-one { top: 22%; right: 12%; }
.hive-spark-two { bottom: 27%; left: 3%; width: 9px; animation-delay: -1.7s; }
@keyframes tide-colour { from { transform: translate(-3%,3%) rotate(-8deg) scale(.95); } to { transform: translate(3%,-4%) rotate(13deg) scale(1.13); } }
@keyframes tide-light { from { transform: translate(1%,-4%) rotate(5deg); } to { transform: translate(-5%,4%) rotate(-13deg) scale(1.14); } }
@keyframes room-level { from { transform: scaleY(.46); } to { transform: scaleY(1); } }
@keyframes hive-float { from { transform: translateY(4px) rotate(-2deg); } to { transform: translateY(-6px) rotate(1.2deg); } }
@keyframes voice-echo { 0% { opacity: 0; transform: scale(.27); } 18% { opacity: .58; } 100% { opacity: 0; transform: scale(1.14); } }
@keyframes hive-twinkle { to { transform: scale(.6) rotate(18deg); opacity: .45; } }
.hive-stage:not(.in-view) *, .hive-stage:not(.in-view) *::before { animation-play-state: paused; }
@media (min-width: 701px) and (max-width: 940px) {
  .hive-stage { grid-template-columns: 1.1fr .9fr; }
  .hive-copy { padding-left: 29px; }
  .hive-actions { gap: 13px; }
  .hive-parallax { inset-inline: -5% 1%; }
}
@media (max-width: 700px) {
  .hive-stage { display: flex; flex-direction: column; align-items: stretch; border-radius: 21px 49px 21px 21px; }
  .hive-copy { padding: 28px 6.5% 0; }
  .hive-copy h2 { font-size: clamp(58px, 12.7vw, 81px); margin-block: 11px 12px; }
  .hive-description { max-width: 32em; }
  .hive-actions { margin-top: 19px; gap: 12px 17px; }
  .hive-launch { min-height: 42px; padding-inline: 17px; font-size: 14px; }
  .hive-story { font-size: 13px; }
  .hive-audience { margin-top: 19px; padding-top: 11px; }
  .hive-art { height: clamp(225px, 55vw, 320px); margin-top: -8px; }
  .hive-parallax { inset: -3% 5% 5%; }
  .hive-sky { background: radial-gradient(ellipse at 63% 75%,#615bb2 0%,#3c397e 42%,transparent 72%),#201d49; }
  .hive-sky::after { background: linear-gradient(175deg,#171636f5 0%,#1a173de3 25%,#19184285 52%,transparent 72%); }
  .hive-field { mask-image: linear-gradient(180deg,transparent 31%,#0002 55%,black 72%); }
  .hive-echo { bottom: 3%; left: 17%; width: 65%; }
  .hive-spark-two { left: 13%; }
}
@media (max-width: 365px) {
  .hive-actions { gap: 9px 12px; }
  .hive-art { height: 202px; margin-top: 4px; }
}
html[data-motion=off] .hive-stage *,
html[data-motion=off] .hive-stage *::before { animation: none !important; transition: none !important; }
html[data-motion=off] .hive-parallax { transform: none; }
html[data-motion=off] .hive-echo i { opacity: .3; transform: scale(.48); }
html[data-motion=off] .hive-echo i:nth-child(2) { transform: scale(.72); opacity: .22; }
html[data-motion=off] .hive-echo i:nth-child(3) { transform: scale(.97); opacity: .14; }
