*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #685bc6;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background: #685bc6;
  font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.holding-page {
  --artboard-width: min(100vw, calc(100svh * 1.8));
  --artboard-height: min(100svh, calc(100vw * 0.5556));
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #685bc6;
  isolation: isolate;
}

.artboard {
  position: absolute;
  top: 50%;
  left: 52%;
  width: var(--artboard-width);
  aspect-ratio: 5760/3200;
  transform: translate(-50%, -50%);
}

.headline-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.headline-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.cursor-dot {
  position: absolute;
  top: 29.8%;
  left: 17.5%;
  z-index: 10;
  display: block;
  width: clamp(1.85rem, 2.9vw, 2.6rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f86bd8;
  transform: translate(-50%, -50%) translate3d(var(--dot-x, 0), calc(var(--dot-y, 0px) + var(--dot-bounce-y, 0px)), 0);
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
}

.brand-logo {
  position: absolute;
  top: 41.8%;
  right: 12.4%;
  z-index: 2;
  display: block;
  width: clamp(9rem, 15.7vw, 14.4rem);
  height: auto;
  transform: rotate(-7deg);
  pointer-events: none;
}

.say-hello {
  position: absolute;
  right: 27.9%;
  bottom: 24%;
  z-index: 4;
  display: inline-grid;
  min-width: 8.2rem;
  min-height: 2.6rem;
  place-items: center;
  border: 1px solid #d9ff5a;
  border-radius: 999px;
  color: #fff;
  background: #685bc6;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.say-hello:hover, .say-hello:focus-visible {
  border-color: #f86bd8;
  color: #fff;
  background: #f86bd8;
}
.say-hello:focus-visible {
  outline: 0.16rem solid #f86bd8;
  outline-offset: 0.22rem;
}

.recent-work {
  position: absolute;
  right: calc((100vw - var(--artboard-width)) / 2 + var(--artboard-width) * 0.0245);
  bottom: calc((100svh - var(--artboard-height)) / 2 + var(--artboard-height) * 0.0435);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  transition: color 180ms ease, transform 180ms cubic-bezier(0.18, 1, 0.22, 1);
}
.recent-work:hover, .recent-work:focus-visible {
  color: #d9ff5a;
  transform: translateY(-0.08rem);
}
.recent-work:focus-visible {
  outline: 0.16rem solid #f86bd8;
  outline-offset: 0.22rem;
}

.recent-work__icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #d9ff5a;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 64rem) {
  .holding-page {
    --artboard-width: min(100vw, calc(100svh * 0.6466));
    --artboard-height: min(100svh, calc(100vw * 1.5467));
  }
  .artboard {
    width: var(--artboard-width);
    aspect-ratio: 3600/5568;
  }
  .cursor-dot {
    top: 26.6%;
    left: 28%;
    width: clamp(1rem, 4.8vw, 1.55rem);
    transition: transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .brand-logo {
    top: 11.6%;
    right: 7%;
    width: clamp(9rem, 40vw, 12.5rem);
  }
  .say-hello {
    right: 21.2%;
    bottom: 32.5%;
    top: auto;
    min-width: 6.7rem;
    min-height: 2.25rem;
    font-size: 0.8rem;
  }
  .recent-work {
    position: fixed;
    right: 1.25rem;
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
    font-size: 0.8rem;
  }
}
@media (max-width: 30rem) {
  .brand-logo {
    top: 11.2%;
    right: 5.5%;
    width: 9.2rem;
  }
  .say-hello {
    right: 21.2%;
    bottom: 32.5%;
  }
  .recent-work span {
    max-width: 8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
