/* Original logo artwork, connected to the things the studio makes. */
.hero-scene {
  --scene-x: 0;
  --scene-y: 0;
  --scene-scroll: 0;
  --scene-accent: #b4c3fa;
  background:
    radial-gradient(
      ellipse at 88% 12%,
      #343b49 0,
      #20252d 27%,
      transparent 62%
    ),
    linear-gradient(125deg, #151719, #101214 62%, #1b2027);
  box-shadow: inset 0 0 0 1px #ffffff14;
}
.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#fff 0.5px, transparent 0.8px);
  background-size: 4px 4px;
  opacity: 0.045;
  pointer-events: none;
}
.hero-scene[data-scene-kind="app"] {
  --scene-accent: #bee4d2;
  background:
    radial-gradient(
      ellipse at 88% 12%,
      #303f3d 0,
      #202a29 27%,
      transparent 62%
    ),
    linear-gradient(125deg, #151719, #101614 62%, #1b2723);
}
.brand-playground {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(
    calc(var(--scene-x) * -5px),
    calc(var(--scene-y) * -3px + var(--scene-scroll) * 18px),
    0
  );
  transition: transform 0.65s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.brand-playground::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#bac7de0a 1px, transparent 1px),
    linear-gradient(90deg, #bac7de0a 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(120deg, transparent 25%, #000 85%);
}
.scene-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-route,
.scene-signal {
  vector-effect: non-scaling-stroke;
  stroke: var(--scene-accent);
  stroke-width: 1;
}
.scene-route {
  opacity: 0.33;
}
.scene-signal {
  opacity: 0;
  stroke-width: 1.8;
  stroke-dasharray: 0.035 0.965;
}
.scene-frame {
  position: absolute;
  color: var(--scene-accent);
  border: 1px solid #aebacf59;
  background: linear-gradient(145deg, #e6efff08, #1118200a);
  box-shadow:
    14px 22px 38px #00000026,
    inset 0 0 0 4px #ffffff02;
}
.scene-port,
.scene-origin-port {
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #20252b;
  color: var(--scene-accent);
}
.scene-port {
  bottom: -3px;
  left: 24%;
}
.scene-browser {
  width: 29%;
  height: 43%;
  right: 5.5%;
  top: 11%;
  border-radius: 9px;
  rotate: -7deg;
}
.scene-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding-inline: 12px;
  border-bottom: 1px solid #aebacf38;
}
.scene-browser-bar i {
  width: 3px;
  height: 3px;
  border: 1px solid #cbd5e4a8;
  border-radius: 50%;
}
.scene-browser-layout {
  position: absolute;
  inset: 44px 20px 20px;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  grid-template-rows: 1fr 0.22fr;
  gap: 12px;
}
.scene-browser-layout i {
  display: block;
  border: 1px solid #aebacf2b;
  border-radius: 2px;
}
.scene-browser-layout i:last-child {
  grid-column: 1 / -1;
  border: 0;
  background: linear-gradient(90deg, #aebacf36 45%, transparent 45%);
  height: 2px;
}
.scene-phone {
  width: 82px;
  height: 151px;
  right: 28%;
  bottom: 17%;
  border-radius: 17px;
  rotate: 10deg;
}
.scene-phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 35%;
  width: 30%;
  height: 3px;
  border-radius: 10px;
  background: #c7d2e16b;
}
.scene-phone::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 32%;
  width: 36%;
  height: 2px;
  background: #c7d2e17a;
}
.scene-phone-layout {
  position: absolute;
  inset: 26px 10px 22px;
  border: 1px solid #aebacf32;
  border-radius: 4px;
  background:
    linear-gradient(#aebacf26, #aebacf26) 8px 54% / 55% 2px no-repeat,
    linear-gradient(#aebacf26, #aebacf26) 8px 65% / 72% 2px no-repeat,
    linear-gradient(#aebacf26, #aebacf26) 8px 76% / 45% 2px no-repeat;
}
.scene-module {
  width: 84px;
  height: 58px;
  left: 43%;
  bottom: 17%;
  border-radius: 4px;
  rotate: -6deg;
  background:
    linear-gradient(#aebacf33, #aebacf33) 14px 16px / 35% 2px no-repeat,
    linear-gradient(#aebacf26, #aebacf26) 14px 28px / 63% 2px no-repeat,
    linear-gradient(#aebacf26, #aebacf26) 14px 38px / 47% 2px no-repeat;
}
.scene-origin {
  position: absolute;
  right: 46px;
  bottom: 71px;
  color: var(--scene-accent);
}
.scene-origin::before {
  content: "";
  position: absolute;
  width: 112px;
  height: 24px;
  left: -22px;
  bottom: -8px;
  border: 1px solid #aebacf36;
  border-radius: 50%;
  background: radial-gradient(ellipse, #c8d4ed15, transparent 65%);
}
.scene-origin .logo-bear {
  display: block;
  position: relative;
  overflow: hidden;
  width: 61px;
  height: 70px;
}
.scene-origin .logo-bear img {
  display: block;
  width: 380px;
  height: 70px;
  max-width: none;
}
.scene-origin-port {
  left: 12px;
  top: 47px;
  opacity: 0;
}
.stage-type,
.stage-footer,
.panel-label,
.web-type,
.panel-bottom {
  position: relative;
  z-index: 1;
}
.studio-stage {
  min-height: 445px;
  padding: 42px 42px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.studio-stage .stage-type {
  font-size: clamp(62px, 8.8vw, 128px);
  line-height: 1;
  pointer-events: none;
}
.studio-stage .stage-type > span:last-child {
  align-self: flex-start;
}
.stage-footer {
  margin-top: 90px;
  align-items: center;
}
.stage-footer > span {
  padding-bottom: 0;
}
.stage-signature {
  color: #c5cbd4;
  text-align: right;
}
.web-type-panel {
  min-height: 505px;
  display: flex;
  flex-direction: column;
}
.web-type-panel .panel-bottom {
  margin-top: 61px;
  min-height: 43px;
}
.web-type-panel .scene-origin {
  right: 35px;
  bottom: 76px;
}
.web-type-panel .web-type {
  flex-grow: 1;
  font-size: clamp(68px, 7vw, 98px);
  padding-top: 42px;
  pointer-events: none;
}
[data-scene-kind="web"] .scene-browser {
  width: 48%;
  height: 30%;
  right: -2%;
  top: 23%;
  rotate: 7deg;
}
[data-scene-kind="web"] .scene-module {
  left: auto;
  right: 29%;
  bottom: 25%;
  width: 82px;
  height: 66px;
  rotate: -9deg;
}
[data-scene-kind="app"] .scene-phone {
  width: 112px;
  height: 224px;
  top: 23%;
  right: 6%;
  bottom: auto;
  rotate: 9deg;
}
[data-scene-kind="app"] .scene-phone-back {
  width: 89px;
  height: 178px;
  top: 40%;
  right: 24%;
  rotate: -10deg;
  opacity: 0.45;
}
.hero-scene.motion-ready .scene-origin {
  opacity: 0;
}
.hero-scene.motion-ready .scene-frame {
  opacity: 0;
}
.hero-scene.motion-ready .scene-route {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.hero-scene.is-entered .scene-origin {
  animation: scene-appear 0.65s ease-out both;
}
.hero-scene.is-entered .scene-route {
  animation: scene-connect 1.45s cubic-bezier(0.4, 0, 0.2, 1)
    var(--route-delay, 0.3s) both;
}
.hero-scene.is-entered .scene-frame {
  animation: scene-appear 1.1s ease-out var(--frame-delay, 1.2s) both;
}
.hero-scene.is-entered .scene-phone-back {
  animation-name: scene-appear-back;
}
.hero-scene.is-entered .scene-signal {
  animation: scene-signal 8s linear var(--signal-delay, 2.2s) infinite both;
}
.hero-scene.is-paused .brand-playground *,
.hero-scene.is-paused .brand-playground *::before,
.hero-scene.is-paused .brand-playground *::after {
  animation-play-state: paused;
}
@keyframes scene-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scene-appear-back {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.45;
  }
}
@keyframes scene-connect {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes scene-signal {
  0%,
  45%,
  100% {
    opacity: 0;
  }
  8%,
  32% {
    opacity: 0.75;
  }
  0% {
    stroke-dashoffset: 1;
  }
  45%,
  100% {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 1100px) {
  .studio-stage {
    min-height: 385px;
    padding-inline: 30px;
  }
  .scene-origin {
    right: 34px;
  }
  .web-type-panel .scene-origin {
    right: 27px;
  }
  [data-scene-kind="app"] .scene-phone {
    right: 1%;
    width: 96px;
    height: 193px;
  }
  [data-scene-kind="app"] .scene-phone-back {
    right: 23%;
    width: 77px;
    height: 154px;
  }
}
@media (max-width: 850px) {
  .studio-stage {
    min-height: 365px;
  }
  .studio-stage .stage-type {
    font-size: 8.8vw;
  }
  [data-scene-kind="studio"] .scene-browser {
    top: 35%;
    width: 30%;
    height: 30%;
  }
  [data-scene-kind="studio"] .scene-phone {
    width: 62px;
    height: 116px;
    right: 39%;
    bottom: 19%;
  }
  [data-scene-kind="studio"] .scene-module {
    left: 25%;
    bottom: 20%;
    width: 63px;
    height: 48px;
  }
  .web-type-panel .web-type {
    font-size: 63px;
  }
  .web-type-panel {
    min-height: 440px;
  }
  [data-scene-kind="app"] .scene-phone {
    width: 80px;
    height: 164px;
    right: -3%;
    top: 27%;
  }
  [data-scene-kind="app"] .scene-phone-back {
    width: 65px;
    height: 132px;
    top: 43%;
  }
}
@media (max-width: 650px) {
  .studio-stage {
    min-height: 375px;
    padding: 26px 22px 18px;
  }
  .studio-stage .stage-type {
    font-size: 9.3vw;
  }
  .stage-footer {
    margin-top: 176px;
    font-size: 11px;
  }
  .stage-signature {
    display: none;
  }
  .stage-footer > span {
    max-width: none;
  }
  .scene-origin {
    right: 26px;
    bottom: 63px;
  }
  [data-scene-kind="studio"] .scene-browser {
    width: 40%;
    height: 27%;
    top: 32%;
    right: 6%;
  }
  [data-scene-kind="studio"] .scene-phone {
    width: 60px;
    height: 112px;
    right: auto;
    left: 18%;
    bottom: 25%;
  }
  [data-scene-kind="studio"] .scene-module {
    left: 8%;
    bottom: 17%;
    width: 62px;
    height: 45px;
  }
  .scene-browser-layout {
    inset: 36px 12px 12px;
    gap: 7px;
  }
  .web-type-panel {
    min-height: 480px;
    padding: 25px;
  }
  .web-type-panel .web-type {
    font-size: clamp(68px, 14vw, 86px);
    padding-block: 36px 24px;
  }
  .web-type-panel .web-type > span {
    text-align: left;
  }
  .web-type-panel .panel-bottom {
    margin-top: 73px;
  }
  [data-scene-kind="web"] .scene-browser {
    width: 45%;
    right: 0;
    top: 24%;
  }
  [data-scene-kind="web"] .scene-module {
    right: 24%;
    bottom: 28%;
  }
  [data-scene-kind="app"] .scene-phone {
    width: 98px;
    height: 197px;
    right: 3%;
    top: 24%;
  }
  [data-scene-kind="app"] .scene-phone-back {
    width: 76px;
    height: 153px;
    right: 24%;
    top: 44%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene .brand-playground {
    transform: none;
  }
  .hero-scene.motion-ready .scene-origin,
  .hero-scene.motion-ready .scene-frame {
    opacity: 1;
  }
  .hero-scene.motion-ready .scene-phone-back {
    opacity: 0.45;
  }
  .hero-scene.motion-ready .scene-route {
    stroke-dashoffset: 0;
  }
  .hero-scene .scene-signal {
    display: none;
  }
}
