:root {
  --bg: #f4f3ef;
  --text: #111;
  --muted: #62615e;
  --line: #d8d7d2;
  --accent: #0b6573;
  --space: clamp(4.5rem, 8vw, 7.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a, button { color: inherit; }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
main { width: min(100% - 48px, 1240px); margin: auto; }
.skip-link { position: absolute; z-index: 5; left: 24px; top: 16px; padding: 12px; background: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.hero { position: relative; width: 100%; }
/* Full-bleed photograph without viewport-width scrollbar overflow. */
body:has(.hero) main { display: flex; flex-direction: column; width: 100%; }
body:has(.hero) .hero { order: 1; }
body:has(.hero) .work { order: 2; }
body:has(.hero) .credits { order: 3; }
main > .work { margin-top: var(--space); width: min(100% - 48px, 1240px); margin-left: auto; margin-right: auto; }
.hero-image-wrap { height: 100svh; min-height: 0; background: #253b40; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.section-label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.work-heading, .work-heading:hover { margin: 0; color: var(--text); text-decoration: none; font-family: "Bodoni Moda", Georgia, serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.carousel-controls { display: flex; align-items: center; gap: 16px; padding-bottom: 3px; }
.hero-nav { position: absolute; right: 3vw; bottom: 28px; display: flex; align-items: center; gap: 12px; color: var(--bg); font-family: "DM Mono", monospace; font-size: 14px; line-height: 1.6; }
.hero-email { display: grid; place-items: center; width: 36px; height: 36px; margin-block: 0; }
.hero-email svg { display: block; width: 18px; height: 18px; transition: transform .2s ease; }
@media (hover: hover) {
  .hero-email:hover svg { transform: translateY(-3px); }
}
.hero-email:focus-visible svg { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .hero-email svg { transition: none; }
  .hero-email:hover svg, .hero-email:focus-visible svg { transform: none; }
}
.carousel-shell { display: flex; align-items: center; gap: 10px; }
.carousel { flex: 1; min-width: 0; overflow: hidden; touch-action: pan-y pinch-zoom; padding: 5px; margin: -5px; }
.track { display: flex; gap: 20px; transition: transform .55s cubic-bezier(.25, .8, .25, 1); }
.record { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; }
.record img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; -webkit-user-drag: none; transition: transform .35s ease, filter .35s ease; }
.record-sarah-julia img { object-position: center top; }
.record-sylvie-kreusch img { object-position: center top; }
.record, .record:hover, .record:focus-visible { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .record:hover img { transform: scale(1.012); filter: brightness(1.035); }
}
.record-meta { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-top: 16px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.record-meta span:first-child { color: var(--text); }
.nav { display: grid; place-items: center; width: 56px; height: 44px; flex: 0 0 56px; padding: 4px; border: 0; background: transparent; cursor: pointer; }
.nav svg { display: block; width: 28px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.nav:hover { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 24px; width: min(100% - 48px, 1240px); margin: auto; padding: 46px 0 32px; border-top: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.detail-main { padding: 48px 0 var(--space); }
@media (min-width: 641px) {
  .detail-main { min-height: 100vh; padding: 48px 0; display: flex; flex-direction: column; justify-content: safe center; }
}
.detail-back { display: inline-block; margin-bottom: 48px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 9vw, 130px); align-items: start; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.detail-gallery img { display: block; width: 100%; height: auto; }
.detail-gallery img:first-child { grid-column: 1 / -1; }
.detail-gallery--3 img:first-child { aspect-ratio: 1.15; object-fit: cover; object-position: center top; }
.detail-gallery--4 img:nth-child(2) { grid-column: 1; grid-row: 2; aspect-ratio: 1.5; object-fit: cover; }
.detail-gallery--4 img:nth-child(3) { grid-column: 2; grid-row: 2 / span 2; min-height: 0; height: 100%; object-fit: cover; }
.detail-gallery--4 img:nth-child(4) { grid-column: 1; grid-row: 3; aspect-ratio: 1.5; object-fit: cover; }
.scroll-reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease var(--reveal-delay, 0ms), transform .65s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms); }
.scroll-reveal.is-visible { opacity: 1; transform: none; }
.detail-copy { position: sticky; top: 40px; padding: 0 0 4vw; }
.detail-number { margin: 24px 0 16px; color: var(--muted); font-size: 12px; }
.detail-copy h1 { margin: 0; font-family: "Bodoni Moda", Georgia, serif; font-size: clamp(3rem, 6.5vw, 6.5rem); font-weight: 500; line-height: 1; overflow-wrap: break-word; }
.detail-title { margin: 18px 0 0; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.detail-title:empty { display: none; }
.detail-title--role { display: flex; align-items: baseline; gap: 10px; }
.detail-role-label { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.detail-role-value { font-family: "DM Mono", monospace; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.detail-description { margin-top: 28px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.detail-credits { max-width: 100%; margin-top: 28px; }
.detail-credits p:last-child { margin: 12px 0 0; color: var(--text); font-size: 18px; line-height: 1.55; }
@media (max-width: 768px) {
  .detail-grid { gap: 32px; }
}
@media (max-width: 640px) {
  main, main > .work, .site-footer, .credits .section-label { width: calc(100% - 32px); }
  main > .work { margin-top: 0; padding-top: 28px; scroll-margin-top: 0; }
  .detail-main { padding: 24px 0 32px; }
  .hero-image-wrap { height: 100svh; min-height: 0; }
  .hero-nav { left: 16px; right: 16px; bottom: 20px; justify-content: space-between; gap: 12px; font-size: 13px; }
  .section-heading { gap: 12px; margin-bottom: 24px; }
  .work-heading { font-size: clamp(2rem, 8vw, 3rem); }
  .carousel-controls { gap: 5px; }
  .record-meta { font-size: 13px; }
  .carousel-shell { gap: 4px; }
  .nav { flex-basis: 44px; width: 44px; }
  .nav svg { width: 24px; height: 14px; }
  .section-heading { flex-wrap: wrap; }
  .track { gap: 12px; }
  .record { flex-basis: 100%; }
  .detail-main { padding-top: 32px; }
  .detail-grid { display: flex; flex-direction: column; gap: 24px; }
  .detail-gallery { gap: 8px; }
  .detail-gallery--4 img { grid-column: auto; grid-row: auto; }
  .detail-copy { position: static; order: -1; padding: 0; }
  .detail-number { margin-top: 16px; }
  .site-footer { flex-wrap: wrap; gap: 10px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { transition: none; }
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
  .closing-page { opacity: 1; transform: none; animation: none; }
}


.work-total { display: inline-block; vertical-align: top; margin: .5em 0 0 1em; font: 12px "DM Sans", sans-serif; letter-spacing: 0; color: var(--muted); }
@media (max-width: 640px) {
  .work-total { margin-left: .6em; font-size: 10px; }
}

.credits { width: 100%; padding: clamp(36px, 4vw, 56px) 0 0; }
.credits-heading { width: min(100% - 48px, 1240px); margin: 0 auto 24px; display: flex; align-items: center; justify-content: space-between; }
.artist-ribbons { position: relative; display: grid; gap: 18px; overflow: hidden; }
.artist-signal { position: absolute; inset: -20% -8%; pointer-events: none; transform: rotate(-3deg); }
.artist-signal span { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 146, 176, .32) 22%, rgba(255, 255, 255, .9) 50%, rgba(111, 146, 176, .32) 78%, transparent); box-shadow: 0 0 18px rgba(133, 177, 212, .42); animation: electricWave 2.2s ease-in-out infinite alternate; }
.artist-signal span:nth-child(1) { top: 30%; }
.artist-signal span:nth-child(2) { top: 50%; animation-delay: .5s; }
.artist-signal span:nth-child(3) { top: 70%; animation-delay: 1s; }
.artist-ribbon { overflow: hidden; }
.artist-ribbon-track { display: flex; width: max-content; animation: artists-drift 100s linear infinite; }
.artist-ribbon:nth-child(2) .artist-ribbon-track { animation-direction: reverse; animation-duration: 110s; }
.artist-ribbon-list { display: flex; align-items: center; flex-shrink: 0; list-style: none; margin: 0; padding: 0; }
.artist-ribbon-list li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; line-height: 1.6; }
.artist-ribbon-list li:nth-child(10n + 1) { color: #111; }
.artist-ribbon-list li:nth-child(10n + 2) { color: #76515e; }
.artist-ribbon-list li:nth-child(10n + 3) { color: #111; }
.artist-ribbon-list li:nth-child(10n + 4) { color: #806744; }
.artist-ribbon-list li:nth-child(10n + 5) { color: #111; }
.artist-ribbon-list li:nth-child(10n + 6) { color: #704f73; }
.artist-ribbon-list li:nth-child(10n + 7) { color: #111; }
.artist-ribbon-list li:nth-child(10n + 8) { color: #784f43; }
.artist-ribbon-list li:nth-child(10n + 9) { color: #111; }
.artist-ribbon-list li:nth-child(10n + 10) { color: #74613f; }
.artist-ribbon-list li::after { content: "·"; margin: 0 26px; color: #85837e; }
@media (hover: hover) and (pointer: fine) {
  .artist-ribbons:has(.artist-name:hover) .artist-ribbon-track { animation-play-state: paused; }
}
body.artist-dialog-open .artist-ribbon-track { animation-play-state: running; }
@keyframes artists-drift { to { transform: translateX(-50%); } }
@keyframes electricWave {
  0% { opacity: .15; transform: translateX(-18%) scaleX(.8); }
  50% { opacity: 1; transform: translateX(2%) scaleX(1.14); }
  100% { opacity: .8; transform: translateX(16%) scaleX(1.25); }
}
@media (max-width: 640px) {
  .credits-heading { width: calc(100% - 32px); margin-bottom: 16px; }
  .artist-ribbons { gap: 12px; }
  .artist-ribbon-list li::after { margin: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .artist-ribbons { width: min(100% - 32px, 1240px); margin: auto; }
  .artist-ribbon-track { animation: none; width: auto; }
  .artist-ribbon-list { flex-wrap: wrap; gap: 12px 0; }
  .artist-ribbon-list[aria-hidden="true"] { display: none; }
}

.artist-dialog-close { font: inherit; font-size: 13px; border: 0; background: transparent; color: var(--muted); min-height: 44px; cursor: pointer; }
.artist-dialog-close:hover { color: var(--text); }
.artist-name { display: block; padding: 6px 0; min-height: 44px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.artist-name:hover, .artist-name:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.artist-dialog { width: min(620px, calc(100% - 48px)); max-height: calc(100svh - 48px); padding: 0; border: 0; background: var(--bg); color: var(--text); overscroll-behavior: contain; }
.artist-dialog::backdrop { background: rgb(0 0 0 / .55); }
.artist-dialog-open { overflow: hidden; }
.artist-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; position: sticky; top: 0; background: var(--bg); z-index: 1; }
.artist-dialog-body { padding: 16px 32px 40px; }
.artist-dialog h2 { margin: 0; font-family: "Bodoni Moda", Georgia, serif; font-size: clamp(32px, 5vw, 60px); font-weight: 500; line-height: 1.15; }
@media (max-width: 640px) {
  .artist-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  .artist-dialog-toolbar { padding: 12px 20px; }
  .artist-dialog-body { padding: 12px 20px 28px; }
}

.artist-dialog-description { margin: 24px 0 0; font-size: 16px; line-height: 1.75; color: var(--muted); }

.artist-dialog-releases, .artist-dialog-singles { margin-top: 28px; }
.artist-dialog-releases ul, .artist-dialog-singles ul { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.artist-dialog-singles summary { cursor: pointer; font-size: 13px; min-height: 36px; }

/* Compact shared tour archive for artist dialogs and selected work. */
.tour-archive { margin-top: 28px; }
.tour-press { display: inline-flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; }
.tour-press > span { font-family: Georgia, serif; font-size: 16px; }
.tour-press small { color: var(--muted); font-size: 11px; }
.tour-press + .tour-press { margin-top: 16px; }
.tour-press:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.tour-dates { margin-top: 24px; font-size: 12px; }
.tour-dates summary { cursor: pointer; padding: 12px 0; }
.tour-dates ul { list-style: none; margin: 8px 0 0; padding: 0; }
.tour-dates li { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 10px; padding: 6px 0; font-size: 11px; line-height: 1.5; border-bottom: 1px solid rgb(128 128 128 / .18); }
.tour-dates time, .tour-location { color: var(--muted); }
.tour-dates strong { font-weight: 500; }
.tour-location { display: inline; margin: 0; line-height: 1.5; }

.tour-location::before { content: " / "; }

.tour-highlights { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 8px 0 18px; }

.artist-name-static { cursor: default; }
.artist-name-static:hover { text-decoration: none; }

/* Selected Work leads the page, with each contribution visible at a glance. */
.record-meta { grid-template-columns: 1fr; gap: 5px; padding-top: 18px; }
.record-meta span:first-child { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; }
.record-role { font-size: 13px; line-height: 1.5; color: var(--text); }
.closing-page { order: 3; display: flex; flex-direction: column; min-height: 100svh; margin-top: clamp(28px, 4vw, 60px); }
body:has(.hero) .closing-page > .credits { order: 0; flex-shrink: 0; }
.closing-page > .booking { order: 0; flex: 1; align-content: center; }
.closing-page > .site-footer { order: 2; flex-shrink: 0; margin-top: auto; margin-bottom: 0; }
.detail-title--role { flex-direction: column; gap: 9px; margin-top: 28px; }
.detail-role-value { font-family: "DM Sans", sans-serif; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .work-entry-ready .section-heading,
  .work-entry-ready .record > * { opacity: 0; transform: translateY(14px); transition: opacity .7s ease var(--entry-delay, 0ms), transform .85s cubic-bezier(.25, .8, .25, 1) var(--entry-delay, 0ms); }
  .work-entry-ready.work-entered .section-heading,
  .work-entry-ready.work-entered .record > * { opacity: 1; transform: translateY(0); }
}

.detail-video { grid-column: 1 / -1; min-width: 0; }
.detail-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.detail-video > a { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--muted); }

.artist-dialog-releases.has-artwork ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.artist-dialog-releases.has-artwork li { display: flex; align-items: center; gap: 16px; min-height: 32px; }
.artist-dialog-releases.has-artwork img { width: 64px; height: 64px; flex: 0 0 64px; object-fit: contain; }
.artist-dialog-releases.has-artwork li span { line-height: 1.5; }



.detail-website { display: inline-block; margin-top: 16px; }
/* Pause for keyboard navigation, not the focus left behind by a phone tap. */
@media (hover: hover) and (pointer: fine) {
  .credits.keyboard-navigation:focus-within .artist-ribbon-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .artist-signal span { animation: none; } }

/* A single, quiet cue that the mobile carousel arrows are interactive. */
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .work-entered .prev svg { animation: arrow-hint-left 1.2s ease-in-out 1s 1; }
  .work-entered .next svg { animation: arrow-hint-right 1.2s ease-in-out 1s 1; }
}
@keyframes arrow-hint-left {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-3px); }
}
@keyframes arrow-hint-right {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(3px); }
}

.release-copy { min-width: 0; }
.streaming-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.streaming-links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.streaming-links a:hover { color: var(--text); text-decoration-color: currentColor; }
.detail-copy > .streaming-links { margin-top: 14px; }
@media (pointer: coarse) { .streaming-links a { min-height: 44px; } }

/* Small service marks with comfortable touch targets in collaborator panels. */
.streaming-links--icons { gap: 0; margin-top: 2px; margin-left: -10px; }
.streaming-links--icons a { width: 38px; min-height: 38px; justify-content: center; text-decoration: none; }
.streaming-links--icons svg { display: block; width: 17px; height: 17px; }
@media (pointer: coarse) {
  .streaming-links--icons a { width: 44px; min-height: 44px; }
}

.artist-dialog .tour-press { margin-top: 16px; }
.additional-review { margin-top: 20px; }

.artist-dialog-roles { margin: 16px 0 0; }

.artist-dialog-role-section, .artist-dialog-description-section { margin-top: 24px; }
.artist-dialog-role-section .artist-dialog-roles { margin: 8px 0 0; }
.artist-dialog-description-section .artist-dialog-description { margin: 8px 0 0; }
.artist-dialog-website[hidden] { display: none; }

.detail-performance-credits { margin-top: 32px; color: var(--muted); }
.detail-performance-credits p:last-child { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }

/* A compact invitation after the collaborator credits. */
.booking {
  order: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 24px;
  width: min(100% - 48px, 1240px);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 96px, 0);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .9s;
}
.booking.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}
.booking h2 { margin: 0; color: var(--text); text-shadow: none; font-family: "Bodoni Moda", Georgia, serif; font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.booking-copy { max-width: 620px; font-size: 16px; line-height: 1.75; color: var(--text); }
.booking-copy p { margin: 0 0 18px; }
.booking-socials { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--text); }
.booking-socials .hero-email { margin: 0; }
@media (max-width: 640px) {
  .booking { grid-template-columns: 1fr; width: calc(100% - 32px); gap: 24px; padding: 48px 0 32px; }
  .booking h2 { text-align: center; }
  .booking-copy { margin: 0 auto; text-align: center; }
  .booking-socials { justify-content: center; margin-left: 0; }
}

/* Closing a dialog must resume motion despite restored focus or a stationary cursor. */
.credits.resume-after-dialog .artist-ribbons .artist-ribbon-track { animation-play-state: running; }

/* A quiet plus marks artist names that open a detail panel. */
button.artist-name::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: .22em;
  vertical-align: .35em;
  opacity: .65;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
}
