/* Artist page */

/* Hero — split layout: red title panel beside the portrait shown whole.
   The photo is a tall 2:3 frame; a cover crop kept cutting his face off on
   wide screens, so the photo column is sized to the frame instead. */
.artist-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-areas: "photo" "band";
  color: #fff;
  background: var(--ink);
}
.artist-hero__band {
  grid-area: band;
  display: flex;
  align-items: stretch;
  /* Solid red — translucent band made type unreadable over the studio photo */
  background: var(--tupa-red);
  padding: clamp(1.5rem, 3.5vw, 3rem) var(--gutter);
}
/* Quote at the top, name at the bottom — the red panel was left with a large
   empty field above the title once the portrait moved into its own column. */
.artist-hero__band-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.artist-hero__quote {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.9vw, 3rem);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.artist-hero__quote p { margin: 0; }
.artist-hero__sig {
  width: min(11rem, 40%);
  height: auto;
  margin-top: clamp(1rem, 2vw, 1.75rem);
  opacity: 0.92;
}
.artist-hero__band .eyebrow,
.artist-hero__band .display {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}
.artist-hero__title {
  font-size: clamp(1.9rem, 8.5vw, 7.5rem);
  line-height: 0.95;
  margin: 0;
}
.artist-hero__photo {
  grid-area: photo;
  position: relative;
  margin: 0;
  min-width: 0;
  background: var(--ink);
}
/* Gentle scrim so the white nav text stays readable over the studio photo */
.artist-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 10rem;
  background: linear-gradient(rgba(20, 20, 20, 0.55), transparent);
  pointer-events: none;
}
.artist-hero__img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.94) contrast(1.04);
}
@media (min-width: 48em) {
  .artist-hero {
    /* Photo column matches the portrait's 933×1400 frame at the hero height,
       capped at half the width so the title always has room */
    grid-template-columns: minmax(0, 1fr) min(calc(88svh * 0.6664), 50%);
    grid-template-areas: "band photo";
  }
  .artist-hero__photo { overflow: clip; }
  /* The nav is a solid white bar, so the quote has to start below it */
  .artist-hero__band { padding-top: calc(var(--nav-h) + clamp(1.5rem, 3.5vw, 3rem)); }
  /* Narrower column beside the photo — keep "Jerome Tupa" on one line */
  .artist-hero__title { font-size: clamp(2.5rem, 6.5vw, 7.5rem); }
  .artist-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

/* Biography — editorial two-column with display drop cap */
.artist-bio { overflow: clip; }
.bio {
  display: grid;
  gap: 3rem;
}
@media (min-width: 60em) {
  .bio { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.bio__col p + p { margin-top: 1.25rem; }
.bio__col--first > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 5.2em;
  float: left;
  line-height: 0.8;
  padding: 0.08em 0.12em 0 0;
  color: var(--tupa-red);
}
/* Photo collage below the bio text — stacked pair left, tall portrait right.
   Keep the whole collage inside the black section (no spill onto the cream panel). */
.bio-gallery {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  overflow: clip;
}
@media (min-width: 48em) {
  .bio-gallery { grid-template-columns: 1fr 1.05fr; align-items: stretch; }
}
.bio-gallery__left {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  align-content: start;
}
/* Left images keep their natural aspect — no forced cover crop */
.bio-gallery__left img {
  width: 100%;
  height: auto;
  display: block;
}
/* Tall portrait matches the left stack height and stays clipped inside the cell */
.bio-gallery__tall {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  background: var(--ink);
}
.bio-gallery__tall img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
@media (max-width: 47.9375em) {
  .bio-gallery__tall { min-height: 0; aspect-ratio: 3 / 4; }
}

/* Facts panel — white card on the cream band below the black bio (mockup) */
.bio__panel {
  max-width: 34rem;
  background: var(--gallery);
  color: var(--ink);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.bio__facts { font-size: 0.9375rem; }
.bio__facts div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgba(20,20,20,0.12);
}
.bio__facts div:first-child { border-top: 1px solid rgba(20,20,20,0.12); }
.bio__facts dt { color: var(--stone); }
.bio__facts dd { margin: 0; text-align: right; }

/* Pilgrimage quote — one full-height typographic panel. Every line lights
   together the moment the panel scrolls into view (no scroll-driven build). */
.quote-pin { position: relative; }
.quote-pin__panel {
  min-height: 88svh;
  background: var(--ink);
  color: var(--gallery);
  display: grid;
  place-content: center;
  text-align: center;
  padding: clamp(4rem, 10vh, 7rem) var(--gutter);
  overflow: hidden;
}
.quote-pin__line {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(0.3em);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.quote-pin__line em { font-style: normal; color: var(--tupa-yellow); }
.quote-pin__sig {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out-expo);
}
.quote-pin__sig img { width: min(280px, 60vw); height: auto; }
.quote-pin__attr {
  margin-top: 1.5rem;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out-expo);
}
.quote-pin.is-lit .quote-pin__line { opacity: 1; transform: none; }
.quote-pin.is-lit .quote-pin__sig { opacity: 1; }
.quote-pin.is-lit .quote-pin__attr { opacity: 0.7; }
@media (prefers-reduced-motion: reduce) {
  .quote-pin__line, .quote-pin__sig, .quote-pin__attr { transition: none; }
}
.no-js .quote-pin__line, .no-js .quote-pin__sig { opacity: 1; transform: none; }
.no-js .quote-pin__attr { opacity: 0.7; }

/* Works grid reuses .lot-grid from catalogue */
.artist-works .lot-grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 48em) { .artist-works .lot-grid { grid-template-columns: repeat(3, 1fr); } }

/* The film section: Vimeo embed sits under the heading */
.artist-film .caption { margin-top: 0.9rem; }
.artist-film .video-embed { max-width: 60rem; }
