:root {
  --gallery-pink: #fdaee6;
  --gallery-purple: #6914f5;
  --gallery-ink: #14091f;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: var(--gallery-purple);
  color: var(--gallery-ink);
  font: 400 1rem/1.5 Archivo, system-ui, sans-serif;
}

.blk {
  font-family: "UnifrakturCook", "Times New Roman", serif;
  font-weight: 700;
}

.gallery-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 120px 24px 48px;
  overflow: hidden;
  border-bottom: 4px solid #000;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .2), transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, .25), transparent 30%),
    var(--gallery-purple);
}

.gallery-hero::before {
  position: absolute;
  inset: -50px;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  content: "";
  opacity: .8;
  animation: gallery-dots 12s linear infinite;
}

@keyframes gallery-dots {
  to { background-position: 180px 180px; }
}

.gallery-nav {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  color: #fff;
}

.gallery-brand {
  color: inherit;
  font-size: 1.8rem;
  text-decoration: none;
}

.gallery-nav > div {
  display: flex;
  gap: 24px;
}

.gallery-nav > div a {
  position: relative;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.gallery-nav > div a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 3px;
  background: var(--gallery-pink);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.gallery-nav > div a:hover::after,
.gallery-nav > div a[aria-current="page"]::after {
  transform: scaleX(1);
}

.gallery-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.gallery-status {
  margin: 18px 0 0;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
  text-transform: uppercase;
}

.gallery-content h1 {
  margin: 0 0 28px;
  font-size: 8rem;
  line-height: .95;
  color: var(--gallery-pink);
  -webkit-text-stroke: 2px var(--gallery-ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--gallery-ink);
}

.gallery-star {
  position: absolute;
  z-index: 1;
  color: var(--gallery-pink);
  -webkit-text-stroke: 2px var(--gallery-ink);
  animation: gallery-float 5s ease-in-out infinite;
}

.star-one {
  top: 22%;
  left: 13%;
  font-size: 4rem;
}

.star-two {
  right: 14%;
  bottom: 20%;
  font-size: 5rem;
  animation-delay: -2s;
}

@keyframes gallery-float {
  50% { transform: translateY(-14px) rotate(20deg); }
}

:focus-visible {
  outline: 3px solid var(--gallery-ink);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .gallery-nav {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .gallery-brand {
    font-size: 1.5rem;
  }

  .gallery-nav > div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
  }

  .gallery-nav > div a {
    font-size: .85rem;
  }

  .gallery-content h1 {
    font-size: 4.5rem;
  }

  .star-one { left: 7%; }
  .star-two { right: 7%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
