:root {
  --pink-light: #fde8f1;
  --pink-dark: #f8c0d8;
  --bar-height: clamp(88px, 13vh, 132px);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  background: var(--pink-light);
  display: grid;
  grid-template-rows: var(--bar-height) 1fr;
  overflow: hidden;
}

.page {
  min-height: 0;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
}

.circle-logo {
  display: block;
  width: min(34vw, 260px);
  min-width: 150px;
  max-width: calc(100vw - 48px);
  height: auto;
  transition: filter 250ms ease;
}

.circle-logo.is-following {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  transform: translate3d(var(--follow-x, 0px), var(--follow-y, 0px), 0);
  will-change: transform;
  pointer-events: none;
}

.page:hover .circle-logo {
  filter: drop-shadow(0 18px 32px rgb(248 192 216 / 0.38));
}

.site-bar {
  min-height: var(--bar-height);
  background: var(--pink-dark);
  display: grid;
  place-items: center;
  padding: 22px clamp(24px, 6vw, 72px);
  position: relative;
  z-index: 2;
}

.wordmark {
  display: block;
  width: min(34vw, 150px);
  min-width: 108px;
  max-width: calc(100vw - 48px);
  height: auto;
}

@media (max-width: 640px) {
  .circle-logo {
    width: min(48vw, 210px);
  }

  .wordmark {
    width: min(44vw, 138px);
  }
}

@media (pointer: coarse), (max-width: 820px) {
  .circle-logo {
    animation: mobile-float 5.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 18px 30px rgb(248 192 216 / 0.42));
  }
}

@media (prefers-reduced-motion: reduce) {
  .circle-logo.is-following {
    position: static;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

@keyframes mobile-float {
  0% {
    transform: translate3d(-42px, -24px, 0) scale(0.96);
  }

  35% {
    transform: translate3d(46px, 28px, 0) scale(1.04);
  }

  70% {
    transform: translate3d(-22px, 54px, 0) scale(1);
  }

  100% {
    transform: translate3d(38px, -44px, 0) scale(1.06);
  }
}
