.showcase {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

.showcase > .mobile-menu,
.showcase__toggle-layer {
  display: none;
}

.hero-preview {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: #18aee2 url('./assets/hero-preview/background.png') center center / cover no-repeat;
  font-family: 'Bricolage Grotesque', Arial, sans-serif;
}

.hero-preview__brand {
  position: absolute;
  z-index: 4;
  top: clamp(13px, 1.05vw, 20px);
  left: clamp(28px, 3.65vw, 70px);
  filter: drop-shadow(0 1px 0.5px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.25));
  text-transform: uppercase;
}

.hero-preview__brand p {
  display: flex;
  align-items: baseline;
  gap: clamp(2px, 0.16vw, 3px);
  margin: 0;
  line-height: 0.9;
}

.hero-preview__brand strong {
  color: #ffd529;
  font-family: 'Rubik One', Arial, sans-serif;
  font-size: clamp(22px, 1.875vw, 36px);
  font-weight: 400;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 0;
}

.hero-preview__brand span {
  font-family: 'Amatic SC', cursive;
  font-size: clamp(20px, 1.77vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
  transform: translateY(-2px);
}

.hero-preview__brand small {
  display: block;
  margin-top: clamp(3px, 0.3vw, 6px);
  font-family: 'Rubik One', Arial, sans-serif;
  font-size: clamp(9px, 0.7vw, 13px);
  letter-spacing: -0.035em;
  text-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.4);
}

.hero-preview__nav {
  position: absolute;
  z-index: 4;
  top: clamp(28px, 2.45vw, 47px);
  right: clamp(28px, 3.65vw, 70px);
  display: flex;
  gap: clamp(13px, 1.09vw, 21px);
}

.hero-preview__nav a {
  padding: clamp(4px, 0.36vw, 7px) clamp(13px, 1.09vw, 21px);
  color: #202020;
  border: clamp(1px, 0.078vw, 1.5px) solid #1c1f21;
  border-radius: 999px;
  background: white;
  font-family: 'Rubik', Arial, sans-serif;
  font-size: clamp(10px, 0.833vw, 16px);
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease;
}

.hero-preview__nav a:hover,
.hero-preview__nav a:focus-visible {
  color: white;
  background: #202020;
}

.hero-preview__art {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.hero-preview__character {
  position: absolute;
  bottom: 0;
  display: block;
  max-width: none;
  transform-origin: center bottom;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transition: filter 450ms ease, transform 450ms ease;
}

.hero-preview__character--alice {
  left: clamp(-28px, -1.6vw, 0px);
  width: clamp(395px, 36.7vw, 705px);
  transform: scale(1.018);
}

.hero-preview__character--hatter {
  right: clamp(-24px, -1.4vw, 0px);
  width: clamp(370px, 34.4vw, 660px);
  cursor: pointer;
  filter: grayscale(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transform: scale(0.982);
}

.hero-preview__art:has(.hero-preview__character--hatter:hover) .hero-preview__character--alice,
.hero-preview.is-hatter-active .hero-preview__character--alice {
  filter: grayscale(1) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transform: scale(0.982);
}

.hero-preview__art:has(.hero-preview__character--hatter:hover) .hero-preview__character--hatter,
.hero-preview.is-hatter-active .hero-preview__character--hatter {
  filter: grayscale(0) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transform: scale(1.018);
}

.hero-preview__copy {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: clamp(388px, 33.65vw, 646px);
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.hero-preview__copy p {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(7px, 0.52vw, 10px);
  margin: 0 0 clamp(4px, 0.36vw, 7px);
  font-family: 'Amatic SC', cursive;
  font-size: clamp(24px, 2.083vw, 40px);
  font-weight: 700;
  line-height: normal;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}

.hero-preview__copy i {
  color: #ffd529;
  font-style: normal;
  font-size: 0.74em;
  letter-spacing: 0.16em;
}

.hero-preview__copy strong {
  color: #fe4ba6;
  font-weight: 700;
  font-family: 'Amatic SC', cursive;
}

.hero-preview__copy h1 {
  margin: 0;
  color: white;
  font-family: 'Rubik One', Arial, sans-serif;
  font-size: clamp(58px, 5vw, 96px);
  font-weight: 400;
  line-height: clamp(62px, 5.3125vw, 102px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.hero-preview__footer {
  position: absolute;
  z-index: 4;
  right: clamp(22px, 3.6vw, 80px);
  bottom: clamp(26px, 2.55vw, 62px);
  left: clamp(22px, 3.6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  align-items: start;
  gap: 24px;
  text-transform: uppercase;
}

.hero-preview__footer::before {
  position: absolute;
  right: 0;
  bottom: calc(100% + clamp(18px, 2.9vw, 56px));
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.75);
  content: '';
  pointer-events: none;
}

.hero-preview__role,
.hero-preview__bio {
  margin: 0;
}

.hero-preview__role {
  color: white;
  font-family: 'Rubik One', Arial, sans-serif;
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 400;
  line-height: normal;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.hero-preview__bio {
  font-size: clamp(10px, 0.833vw, 16px);
  line-height: clamp(15px, 1.25vw, 24px);
  text-align: center;
  text-transform: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.hero-preview__email {
  justify-self: end;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  font-family: 'Amatic SC', cursive;
  font-size: clamp(20px, 1.667vw, 32px);
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-preview__dots {
  display: none;
}

@media (max-width: 1024px) {
  .showcase {
    width: 100%;
  }

  .showcase > .mobile-menu {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    transform: translateY(0);
    transition: transform 660ms cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
  }

  .showcase > .mobile-menu.is-closed {
    transform: translateY(-100%);
    pointer-events: none;
  }

  .showcase__toggle-layer {
    z-index: 5;
    display: flex;
  }

  .showcase__toggle-layer .menu-toggle:focus-visible {
    outline: 0;
  }

  .hero-preview {
    background-position: center top;
    background-size: auto 100%;
  }

  .hero-preview::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 61svh;
    content: '';
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.5) 26%,
      rgba(0, 0, 0, 0.9) 68%,
      #000 100%
    );
  }

  .hero-preview__brand {
    display: none;
  }

  .mobile-menu__brand {
    display: block;
  }

  .hero-preview__brand p {
    gap: 5px;
  }

  .hero-preview__brand strong {
    font-size: 27px;
  }

  .hero-preview__brand span {
    font-size: 25px;
  }

  .hero-preview__brand small {
    margin-top: 4px;
    font-size: 10px;
  }

  .hero-preview__nav,
  .hero-preview__character--hatter,
  .hero-preview__role,
  .hero-preview__email {
    display: none;
  }

  .hero-preview__character--alice {
    top: 12.6svh;
    bottom: auto;
    left: 50%;
    width: min(171vw, 668px);
    transform: translateX(-50%);
  }

  .hero-preview__copy {
    top: auto;
    right: 20px;
    bottom: clamp(190px, 25.8svh, 245px);
    left: 20px;
    width: auto;
    transform: none;
  }

  .hero-preview__copy p {
    display: block;
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 0.98;
  }

  .hero-preview__copy p span:first-child {
    display: block;
  }

  .hero-preview__copy i {
    display: none;
  }

  .hero-preview__copy strong {
    display: inline;
    margin-top: 7px;
  }

  .hero-preview__copy p span:last-child {
    color: #fe4ba6;
    font-weight: 700;
  }

  .hero-preview__copy h1 {
    font-size: 53px;
  }

  .hero-preview__footer {
    position: static;
    display: block;
  }

  .hero-preview__bio {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: clamp(92px, 12.2svh, 118px);
    left: 22px;
    font-size: 16px;
    line-height: 1.24;
    text-align: center;
    text-transform: none;
  }

  .hero-preview__bio br {
    display: none;
  }

  .hero-preview__dots {
    position: absolute;
    z-index: 3;
    bottom: clamp(39px, 5.9svh, 54px);
    left: 50%;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
  }

  .hero-preview__dots span:first-child {
    width: 12px;
    height: 12px;
    background: #fe4ba6;
    border-radius: 50%;
  }

  .hero-preview__dots span:last-child {
    width: 35px;
    height: 10px;
    background: white;
    border-radius: 999px;
  }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .hero-preview {
    background-position: center center;
    background-size: cover;
  }

  .hero-preview__character--alice {
    width: min(87vw, 900px);
  }

  .hero-preview__copy p {
    font-size: calc(100vw * 30 / 600);
    margin-bottom: calc(100vw * 15 / 600);
  }

  .hero-preview__copy h1 {
    font-size: calc(100vw * 53 / 600);
  }

  .hero-preview__bio {
    font-size: calc(100vw * 16 / 600);
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .showcase > .mobile-menu {
    transition-duration: 1ms;
  }
}
