/* Artist profiles and original-work galleries */
#artist-nadir,
#artist-cristian,
#arbeiten,
#kontakt {
  scroll-margin-top: 110px;
}

.site-header nav {
  gap: 1rem;
}

.site-header nav a {
  white-space: nowrap;
  font-size: .82rem;
}

.artist-profile {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 7rem;
}

.artist-profile + .artist-profile {
  padding-top: 3rem;
}

.artist-profile-intro {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(168,85,247,.18), transparent 35%),
    linear-gradient(145deg, #15101b, #0d0a11 72%);
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
}

.artist-profile-cristian .artist-profile-intro {
  background:
    radial-gradient(circle at 0 100%, rgba(69,215,210,.10), transparent 35%),
    linear-gradient(145deg, #15101b, #0d0a11 72%);
}

.artist-portrait {
  position: relative;
  min-height: 610px;
}

.artist-portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(7,5,10,.9));
  pointer-events: none;
}

.artist-portrait img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  filter: saturate(.82) contrast(1.03);
}

.artist-portrait span {
  position: absolute;
  z-index: 1;
  left: 1.5rem;
  bottom: 1.25rem;
  font-weight: 900;
  letter-spacing: .04em;
  font-size: 1.12rem;
}

.artist-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.artist-copy h2 {
  margin: .4rem 0 1.2rem;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.artist-copy p {
  max-width: 650px;
  color: #b9b0c1;
}

.artist-copy .artist-lead {
  color: #f4eef7;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.7rem 0 1.9rem;
}

.style-tags span {
  padding: .5rem .8rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #e9dfed;
  font-size: .82rem;
  font-weight: 750;
}

.artist-cta {
  width: auto;
}

.artist-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .85rem;
  margin-top: 1rem;
}

.artist-gallery figure {
  position: relative;
  aspect-ratio: 3 / 4.55;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: #100c14;
}

.artist-gallery img {
  width: 100%;
  height: 100%;
  object-position: center;
  transition: transform .4s ease, filter .4s ease;
}

.artist-gallery figure:hover img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.artist-gallery figcaption {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  padding: .38rem .65rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(8,6,11,.78);
  backdrop-filter: blur(10px);
  font-size: .74rem;
  font-weight: 800;
}

.portfolio-grid-expanded {
  grid-template-columns: repeat(4, 1fr);
}

.portfolio-grid-expanded .wide {
  grid-column: span 2;
}

.portfolio-grid-expanded figure {
  height: 420px;
}

@media (max-width: 1080px) {
  .site-header nav { gap: .75rem; }
  .site-header nav a { font-size: .76rem; }
  .artist-gallery { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid-expanded { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .site-header nav a { font-size: .92rem; }
  .artist-profile { padding-bottom: 5rem; }
  .artist-profile-intro { grid-template-columns: 1fr; }
  .artist-portrait,
  .artist-portrait img { min-height: 520px; max-height: 680px; }
  .artist-gallery { grid-template-columns: repeat(2, 1fr); }
  .artist-gallery figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .portfolio-grid-expanded { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .artist-profile { padding-inline: 1rem; }
  .artist-portrait,
  .artist-portrait img { min-height: 430px; max-height: 520px; }
  .artist-copy { padding: 2rem 1.25rem 2.25rem; }
  .artist-copy h2 { font-size: 3.2rem; }
  .artist-gallery { gap: .55rem; }
  .artist-gallery figure { border-radius: 14px; }
  .artist-gallery figure:last-child { aspect-ratio: 3 / 4.55; }
  .artist-gallery figcaption { left: .45rem; bottom: .45rem; font-size: .66rem; }
  .portfolio-grid-expanded { grid-template-columns: 1fr 1fr; gap: .55rem; }
  .portfolio-grid-expanded .wide { grid-column: 1 / -1; }
  .portfolio-grid-expanded figure { height: 300px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .artist-gallery img { transition: none; }
}
