/* Query-only hero trial. No global layout or loading rules are changed. */
.artist-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  color: #202033;
  background: #fff;
}
.artist-hero-brand {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 42px 5% clamp(18px, 2vw, 28px);
  text-align: center;
  background: linear-gradient(0deg, #fffffff5 0%, #ffffffe0 40%, #ffffff70 74%, #ffffff00 100%);
}
.artist-hero-brand p {
  margin: 0;
  font-family: ui-monospace, Menlo, 'Courier New', monospace;
  color: #484456;
}
.artist-hero-index {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(10px, .9vw, 13px);
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
}
.artist-hero-lockup { width: clamp(240px, 27vw, 400px); max-width: 100%; }
.artist-hero h1 { margin: 0; padding: 0; line-height: 1; filter: none; }
.artist-hero h1 img { display: block; width: 100%; height: auto; object-fit: contain; }
.artist-hero-brand .artist-hero-subtitle {
  margin-top: 8px;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .095em;
  white-space: nowrap;
}
.artist-hero-fine { font-size: 10px; line-height: 1.55; letter-spacing: .06em; white-space: nowrap; }
.artist-hero-photo {
  position: relative;
  min-width: 0;
  height: min(65.5556vw, calc(100svh - 86px));
  overflow: hidden;
}
.artist-hero-photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  /* Keep all five faces in frame, including on wide, short screens. */
  object-position: center max(100%, -10vw);
}

/* Optional white-logo comparison: ?hero=artist&brand=light.
   Keep the original logo asset and change only its rendered color. */
.artist-hero--light .artist-hero-brand {
  background: linear-gradient(0deg, #11152dcc 0%, #181b3999 42%, #181b3940 76%, #181b3900 100%);
}
.artist-hero--light .artist-hero-brand p {
  color: #fff;
  text-shadow: 0 1px 4px #11152d80;
}
.artist-hero--light .artist-hero-index { color: #d0faff; letter-spacing: .16em; }
.artist-hero--light h1 img {
  filter: brightness(0) invert(1) drop-shadow(0 0 7px #89eaff55);
}
.artist-hero--light .artist-hero-fine { color: #e2e5f4; }

/* Retain the editorial notice below the photo, without covering the artwork. */
.artist-hero-trial .hero.hero-with-information {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  gap: 0;
  background: #fff;
}
.artist-hero-trial .hero-with-information > :not(#information),
.artist-hero-trial .hero-with-information:has(> #information[hidden]),
.artist-hero-trial .hero-with-information::before,
.artist-hero-trial .hero-with-information::after { display: none; }
.artist-hero-trial .hero-information {
  width: 100%; margin: 0; padding: 28px var(--content-gutter) 32px;
  background: linear-gradient(110deg, #f4fbff, #fff 46%, #fff6fb);
}

@media (max-width: 640px) {
  .artist-hero { display: block; }
  .artist-hero-brand {
    padding: 24px 5% 12px;
    gap: 5px;
  }
  .artist-hero-index { font-size: 9px; }
  .artist-hero-lockup { width: clamp(160px, 45vw, 240px); }
  .artist-hero-brand .artist-hero-subtitle { margin-top: 6px; font-size: 10px; }
  .artist-hero-fine { font-size: 8px; }
  .artist-hero-photo { width: 100%; height: min(75vw, calc(100svh - 70px)); }
  .artist-hero-photo img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 133.333333%;
    height: auto;
    transform: translateX(-50%);
  }
  .artist-hero-trial .hero.hero-with-information { padding: 0; }
  .artist-hero-trial .hero-information { padding-block: 18px 22px; }
}
