@font-face {
  font-family: Spacesuit;
  src: url('fonts/Spacesuit.ttf') format('truetype');
  font-display: swap;
}
.home .portal-grid.artist-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}
.home .portal, .home .portal-art { border: 0 }
.home .top .brand img, .home .top nav a, .home .sound,
.home .hero-link, .home .hero-link span, .home .foot a, .home .foot span,
.home .portal-copy, .home .door-label span {
  transition: transform .22s ease, color .22s ease, filter .22s ease, background .22s ease;
}
.home .brand:is(:hover,:focus-visible) img { transform: rotate(-12deg) scale(1.15) }
.home .top nav a:is(:hover,:focus-visible), .home .sound:is(:hover,:focus-visible),
.home .foot a:is(:hover,:focus-visible), .home .foot span:hover {
  color: var(--accent);
  transform: translateY(-2px);
}
.home .hero-title {
  transform: translate(var(--title-x, 0), var(--title-y, 0));
  transition: transform .22s ease-out;
}
.home .hero-link:is(:hover,:focus-visible) span { transform: translateY(3px) }
.home .hero-bottom span:nth-child(2) { animation: signal-meter 2.4s ease-in-out infinite alternate }
.home .frame span, .home .hero-bottom span { transition: color .22s ease, text-shadow .22s ease }
.home .hero:hover :is(.frame,.hero-bottom) span { color: var(--accent); text-shadow: 0 0 10px currentColor }
.home .section-head h2 {
  font-family: Spacesuit, Arial, sans-serif;
  font-weight: 400;
  transition: color .22s ease;
}
.home .artist-directory:hover h2, .home #artist-profiles:hover h2 { color: var(--accent) }
.home .portal:is(:hover,:focus-visible) .portal-copy { transform: translateY(-3px) }
.home .portal:is(:hover,:focus-visible) .door-label span { transform: translate(2px,-2px) }
.home .foot span { display: inline-block }
@keyframes signal-meter { from { opacity: .48 } to { opacity: 1 } }
.artist-hero .portrait-cycle { min-width: 0 }
.artist-hero .portrait-cycle img { aspect-ratio: 4 / 4.5 }
.artist-hero .portrait-cycle img:not([hidden]) { animation: archive-in .3s ease-out both }
.hobos .artist-hero .portrait-cycle img { object-position: center }
@media (prefers-reduced-motion: reduce) {
  .home .hero-title { transform: none }
  .home :is(a, button, .portal-copy, .foot span):is(:hover,:focus-visible) { transform: none }
}

.artist-hero h1.artist-logo {
  margin-block: 14px 20px;
}
.artist-logo img {
  width: min(100%, 420px);
  height: auto;
  max-height: 250px;
  object-fit: contain;
  object-position: left center;
}
.artist-hero:has(.artist-spread) {
  gap: clamp(18px, 2.5vw, 40px);
}
.artist-spread {
  --lift: 0px;
  min-width: 0;
}
.artist-spread-photos {
  display: grid;
  grid-template: 1fr / minmax(0, 1fr);
  place-items: center;
  padding-block: 36px 14px;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 12%, transparent), transparent 68%);
}
.artist-spread-photos img {
  grid-area: 1 / 1;
  width: 39%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 93%, transparent);
  opacity: var(--card-opacity, 1);
  transform: translate(var(--x), var(--lift)) rotate(var(--angle));
  transition: transform .36s cubic-bezier(.21,.76,.28,1), opacity .36s ease;
}
.artist-spread-photos img:nth-child(1) { --stack-x: -45%; --stack-angle: -13deg; --fan-x: -66%; --fan-angle: -9deg; --rest-opacity: .78 }
.artist-spread-photos img:nth-child(2) { --stack-x: -15%; --stack-angle: -5deg; --fan-x: -22%; --fan-angle: -3deg; --rest-opacity: .9 }
.artist-spread-photos img:nth-child(3) { --stack-x: 15%; --stack-angle: 4deg; --fan-x: 22%; --fan-angle: 3deg; --rest-opacity: .96 }
.artist-spread-photos img:nth-child(4) { --stack-x: 44%; --stack-angle: 12deg; --fan-x: 66%; --fan-angle: 9deg; --rest-opacity: 1 }
.artist-spread-photos img {
  --x: var(--stack-x);
  --angle: var(--stack-angle);
  --card-opacity: var(--rest-opacity);
}
.artist-spread:has(.artist-spread-toggle[aria-pressed="true"]) img {
  --x: var(--fan-x);
  --angle: var(--fan-angle);
  --lift: -24px;
  --card-opacity: 1;
}
@media (hover:hover) and (pointer:fine) {
  .artist-spread:hover img {
    --x: var(--fan-x);
    --angle: var(--fan-angle);
    --lift: -24px;
    --card-opacity: 1;
  }
}
.artist-spread figcaption {
  text-align: center;
  margin-top: 10px;
}
.artist-spread-toggle {
  cursor: pointer;
}
.artist-spread-toggle[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
}
