.archive { font-size: 1rem; }
.archive .header nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.archive-intro { padding-block: clamp(3rem, 8vw, 7rem); }
.archive-intro h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.045em; }
.archive-kicker { font-size: .875rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 1.2rem; }
.archive-deck { max-width: 54ch; font-size: clamp(1rem, 2vw, 1.25rem); margin-top: 1.4rem; }
.archive-entry { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; padding-block: 2rem; border-block: 1px solid var(--line); }
.archive-entry h2, .artist-story h2, .archive-works h2, .artist-inquiry h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.archive-local-name { margin-top: .6rem; }
.archive-medium { color: var(--muted); margin-block: .75rem .3rem; }
.archive-link { text-decoration: underline; text-underline-offset: .25em; min-width: 0; }
.archive-link:hover { color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.artist-band { background: var(--dark); color: var(--paper); }
.artist-band .archive-kicker, .artist-band .archive-local-name { color: #e7d6bd; }
.artist-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2rem, 5vw, 4.5rem);
}
.artist-hero h1 { font-size: clamp(2.75rem, 6vw, 6rem); }
.artist-gallery { min-width: 0; }
.artist-gallery-track {
  display: flex;
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.artist-gallery-track:focus-visible { outline-color: #e7d6bd; }
.artist-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.artist-gallery-track.has-page-turn {
  display: block;
  overflow: hidden;
  scroll-snap-type: none;
  perspective: 1200px;
  touch-action: pan-y pinch-zoom;
}
.artist-slide-photo {
  display: grid;
  position: relative;
  place-items: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #211e18;
}
.artist-slide-photo img { position: absolute; inset: 0; object-fit: contain; }
.artist-gallery [hidden] { display: none; }
.artist-page-leaf {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  pointer-events: none;
  transform-origin: left center;
  backface-visibility: hidden;
  box-shadow: .45rem 0 1.6rem #10100d55;
  --turn-angle: -91deg;
  --shade-direction: to right;
  animation: artist-page-turn .64s cubic-bezier(.34, .08, .38, 1) both;
}
.artist-page-leaf.is-backward {
  transform-origin: right center;
  box-shadow: -.45rem 0 1.6rem #10100d55;
  --turn-angle: 91deg;
  --shade-direction: to left;
}
.artist-page-leaf::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--shade-direction), #14120f9c, transparent 55%, #f2e8d954);
  animation: artist-page-shade .64s ease-out both;
}
@keyframes artist-page-turn {
  from { transform: rotateY(0); }
  to { transform: rotateY(var(--turn-angle)); }
}
@keyframes artist-page-shade {
  from { opacity: 0; }
  to { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .artist-page-leaf, .artist-page-leaf::after { animation: none; }
}
.artist-slide figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; padding: .65rem 0; gap: .25rem 1rem; font-size: .875rem; }
.artist-slide figcaption a { text-decoration: underline; text-underline-offset: .2em; }
.artist-slide figcaption span { color: #e7d6bd; }
.artist-gallery-controls:not([hidden]) { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.artist-gallery-controls button {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #7d7160;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 1.5rem/1 var(--sans);
  cursor: pointer;
}
.artist-gallery-controls button:disabled { opacity: .45; cursor: default; }
.artist-gallery-count { min-width: 4.25rem; text-align: center; font-size: .875rem; font-variant-numeric: tabular-nums; }
.artist-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.artist-story p { max-width: 64ch; margin-bottom: 1rem; }
.archive-works { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.work-card { display: flex; flex-direction: column; padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--line); }
.work-card h3 { font-size: clamp(1.65rem, 2.9vw, 2.35rem); line-height: 1.08; }
.work-original { color: var(--muted); margin-block: .5rem 1.1rem; }
.work-angle { padding-block: 1rem 1.25rem; }
.work-card .archive-link { margin-top: auto; }
.artist-inquiry { border-block: 1px solid var(--line); padding-block: 2.5rem; }
.artist-inquiry p { max-width: 59ch; margin-block: .75rem 1rem; }

@media (max-width: 850px) {
  .artist-hero { grid-template-columns: 1fr; align-items: start; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .archive-entry, .artist-story { grid-template-columns: 1fr; gap: 1rem; }
  .archive-entry .archive-kicker { margin-bottom: 0; }
}
