:root {
  color-scheme: light;
  --paper: #fafafa;
  --ink: #242421;
  --muted: #6c6c66;
  --line: #dfdfda;
  --gutter: clamp(20px, 3.2vw, 64px);
  --gap: clamp(20px, 2.4vw, 48px);
  --columns: 1;
  --header-height: 104px;
  --footer-height: 56px;
  --caption-gap: 14px;
  --year-index-height: 134px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  scroll-padding-bottom: calc(var(--footer-height) + 24px);
}
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
  font-size: 14px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 6px;
}
img { display: block; max-width: 100%; }
figure, h1, h2, p { margin: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: var(--gutter);
  top: 12px;
  padding: 8px 14px;
  background: var(--paper);
  z-index: 100;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  min-height: 104px;
  padding: 16px var(--gutter);
  background: var(--paper);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-name { font-size: 15px; letter-spacing: -0.025em; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 30px; margin-inline-start: auto; }
.site-nav a {
  padding-block: 5px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }
.site-footer {
  position: fixed;
  z-index: 40;
  inset: auto 0 0;
  min-height: var(--footer-height);
  padding: 16px var(--gutter);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.015em;
}
.site-footer small { font-size: inherit; }
.home { padding: 0; }
.home-main {
  flex: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--header-height) 20px;
}
.home-main h1 {
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-align: center;
}
.page-main { width: 100%; padding: 36px var(--gutter) 80px; }
.page-title { font-size: 20px; font-weight: 400; letter-spacing: -0.025em; }
.text-main { flex: 1; }
.text-column { max-width: 580px; margin: clamp(40px, 9vh, 100px) auto; }
.text-column .page-title { margin-bottom: 30px; }
.text-column p { margin-top: 18px; }
.pending-copy { color: var(--muted); }
.media-coverage { margin-top: 36px; }
.media-coverage h2 { font-size: 16px; font-weight: 400; }
.media-coverage ul { margin: 18px 0 0; padding-left: 20px; }
.media-coverage a { text-decoration: underline; text-underline-offset: 3px; }
.media-photo { margin-top: 18px; }
.media-photo img { width: 100%; height: auto; }
.media-photo figcaption { margin-top: 4px; text-align: right; font-size: 11px; color: var(--muted); }
.bio-main { padding-top: 18px; }
.bio-main .text-column { max-width: 800px; margin-top: clamp(20px, 4.5vh, 50px); }
.bio-main .text-column > p:first-child { margin-top: 9px; }
.bio-main .text-column > p { max-width: 800px; margin-left: auto; margin-right: auto; text-align: justify; }
.bio-main .media-coverage h2, .bio-main .media-coverage ul { max-width: 800px; margin-left: auto; margin-right: auto; }
.bio-photo-grid { display: grid; grid-template-columns: 2.35fr 1fr; gap: 10px 12px; margin-top: 24px; align-items: start; }
.bio-photo-grid .media-photo { display: contents; }
.bio-photo-main a { grid-column: 1; grid-row: 1 / 3; height: 100%; }
.bio-photo-main img { height: 100%; object-fit: cover; }
.bio-photo-grid a { display: block; min-width: 0; }
.bio-photo-main figcaption { grid-column: 1; grid-row: 3; }
.bio-photo-side a { grid-column: 2; }
.bio-photo-side a:first-child { grid-row: 1; }
.bio-photo-side a:nth-child(2) { grid-row: 2; }
.bio-photo-side figcaption { grid-column: 2; grid-row: 3; }
.bio-photo-grid figcaption { margin-top: -6px; }
@media (max-width: 600px) {
  .bio-main .text-column > p { text-align: left; }
  .bio-photo-grid { display: block; }
  .bio-photo-grid .media-photo { display: block; margin-top: 18px; }
  .bio-photo-grid img { height: auto; }
  .bio-photo-side a + a { margin-top: 10px; }
  .bio-photo-grid figcaption { margin-top: 4px; }
}

.year-index-sentinel { height: 1px; margin-top: 7px; }
.year-index {
  --year-index-top-padding: 18px;
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  background: var(--paper);
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: var(--year-index-top-padding) 5px 6px;
  margin: 0 -5px 28px;
  scrollbar-width: thin;
  scrollbar-color: #c9c9c3 transparent;
}
.year-index.is-scrolled {
  top: calc(var(--header-height) - 2px);
  z-index: 41;
  padding-top: 0;
  padding-bottom: 16px;
}
.year-link { flex: 0 0 80px; display: block; }
.year-link span { display: block; font-size: 12px; margin-bottom: 10px; }
.year-link img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  transition: opacity 160ms ease;
}
.year-link:hover img { opacity: 0.78; }
.year-link:focus-visible { outline-offset: 3px; }
.year-section { scroll-margin-top: var(--year-index-height); margin-bottom: 88px; }
.year-section:last-child { margin-bottom: 0; }
.year-heading {
  padding-top: 20px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.year-section:target .year-heading { text-decoration: underline; text-underline-offset: 5px; }
.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, calc((100% - (var(--columns) - 1) * var(--gap)) / var(--columns)));
  justify-content: center;
  gap: 40px var(--gap);
}
.year-grid.is-justified { display: flex; flex-direction: column; gap: 40px var(--gap); }
.artwork-row {
  display: flex;
  width: 100%;
  margin-inline: auto;
  align-items: flex-start;
  gap: var(--gap);
}
.artwork-row > .artwork { flex: 1 1 0%; }
.artwork { display: block; min-width: 0; scroll-margin-top: var(--year-index-height); }
.artwork-image { display: block; }
.artwork-image img {
  width: 100%;
  height: auto;
  transition: transform 180ms ease;
}
.artwork figcaption {
  margin-top: var(--caption-gap);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.artwork-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.year-grid .artwork-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.artwork:focus-visible .artwork-label { text-decoration: underline; text-underline-offset: 3px; }

.pswp {
  --pswp-bg: #fafafa;
  --pswp-icon-color: #242421;
  --pswp-icon-color-secondary: #fafafa;
  --pswp-icon-stroke-color: #fafafa;
  --pswp-error-text-color: #242421;
}
.pswp .pswp__dynamic-caption {
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  max-height: calc(100svh - 100px);
  overflow-y: auto;
}
.pswp__dynamic-caption .artwork-label { white-space: normal; font-weight: 400; }
.pswp__dynamic-caption .artwork-description { display: block; margin-top: 10px; color: var(--muted); }
.pswp .pswp__dynamic-caption--aside { max-width: 250px; padding: 16px 20px; margin-top: 0; }
.pswp .pswp__dynamic-caption--below { padding: 20px 4px 8px; }
.pswp .pswp__dynamic-caption--mobile {
  background: rgb(250 250 250 / 96%);
  max-height: 35svh;
  padding: 16px 20px;
}

.sound-content { width: 50%; margin: 28px auto 0; }
.sound-pending { width: 100%; border-top: 1px solid var(--line); padding-top: 22px; }
.audio-track { padding: 22px 0; border-top: 1px solid var(--line); }
.audio-title { font-size: 14px; font-weight: 400; margin-bottom: 14px; }
.audio-track audio { display: block; width: 100%; min-width: 0; height: 54px; }
audio-player, audio-skin { display: block; width: 100%; }
/* Keep native controls as a fallback until the packaged player upgrades. */
audio-skin:defined audio { height: auto; }

@media (hover: hover) and (pointer: fine) {
  .artwork:hover .artwork-image img { transform: scale(1.02); }
}
@media (min-width: 600px) { :root { --columns: 2; } }
@media (min-width: 900px) { :root { --columns: 3; } }
@media (min-width: 1100px) { :root { --columns: 4; } }
@media (min-width: 1600px) { :root { --columns: 5; } }
@media (min-width: 1920px) { :root { --columns: 6; } }
@media (min-width: 2240px) { :root { --columns: 7; } }
@media (min-width: 2560px) { :root { --columns: 8; } }
@media (max-width: 899px) {
  .sound-content { width: 100%; }
}
@media (max-width: 599px) {
  :root { --year-index-height: 118px; }
  .site-nav { gap: 18px; }
  .page-main { padding-top: 24px; padding-bottom: 48px; }
  .year-index { gap: 18px; margin-bottom: 18px; }
  .year-link { flex-basis: 64px; }
  .year-link img { width: 64px; height: 64px; }
  .year-section { margin-bottom: 64px; }
  .year-heading { margin-bottom: 24px; }
  .year-grid, .year-grid.is-justified { row-gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .artwork-image img, .year-link img { transition: none; }
  .artwork:hover .artwork-image img { transform: none; }
}
