[hidden] { display: none !important; }
.nav a[aria-current="page"] { color: var(--clay); text-decoration: underline; text-underline-offset: 4px; }
.nav, .footer { font-size: 14px; }
.work-board { padding: clamp(20px, 4.5vw, 64px); background: radial-gradient(#69462c19 .65px, transparent .85px) 0 0 / 5px 5px, var(--sand); }
.work-board h1 { color: var(--ink); font-size: clamp(47px, 7.2vw, 102px); }
.work-intro { margin-top: 20px; color: #51463c; font-size: 16px; }
.record-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: clamp(26px, 4vw, 46px) 0 0; padding: 0; list-style: none; }
.record { min-width: 0; }
.record-play { position: relative; display: block; isolation: isolate; aspect-ratio: 1; background: var(--paper); color: #fff; border-radius: 3px; box-shadow: 0 3px 6px #39231926; text-decoration: none; overflow: hidden; transition: box-shadow 180ms ease, transform 180ms ease; }
.record-play > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.record-play:is(:hover, :focus-visible) { z-index: 1; transform: translateY(-3px); box-shadow: 0 8px 22px #39231945; }
.record-play:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
.record-caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(12px, 1.5vw, 22px); background: linear-gradient(0deg, #171912fa 0%, #171912e6 45%, #17191222 100%); opacity: 0; transition: opacity 180ms ease; }
.record-play:is(:hover, :focus-visible) .record-caption { opacity: 1; }
.record-artist { margin-bottom: 5px; color: #e4b99d; font: 600 14px/1.3 var(--mono); }
.record h2 { font-size: clamp(17px, 1.7vw, 23px); line-height: 1.14; letter-spacing: -.035em; overflow-wrap: break-word; }
.record-role { margin-top: 9px; color: #eee6d9; font-size: 14px; line-height: 1.35; }
.record-action { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #e4b99d; }
.play-cue { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff70; border-radius: 50%; background: #17191266; opacity: 0; transition: opacity 180ms ease; pointer-events: none; }
.play-cue svg { width: 20px; height: 20px; fill: #fff; }
.record-play:is(:hover, :focus-visible, .is-selected) .play-cue { opacity: 1; }
.record-play.is-selected { outline: 3px solid var(--clay); outline-offset: 4px; }
.record-play.is-playing .play-cue svg { display: none; }
.record-play.is-playing .play-cue::after { content: ''; width: 10px; height: 14px; border-inline: 3px solid #fff; }
.has-player { padding-bottom: 190px; }
.music-player { position: fixed; z-index: 20; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 32px), 1240px); padding: 18px 20px 14px; border: 1px solid #fff0dc33; border-radius: 14px; background: #282921; color: var(--cream); box-shadow: 0 8px 40px #17191266; }
.player-main { display: flex; align-items: center; gap: 16px; }
.player-art { flex: none; width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.player-copy { flex: 1; min-width: 0; }
#player-artist { font: 600 14px/1.35 var(--mono); color: #e4b99d; }
#player-title { margin-top: 3px; font-size: 19px; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#player-status { margin-top: 4px; font-size: 13px; line-height: 1.35; color: #e4dece; }
.player-transport { display: flex; align-items: center; gap: 4px; }
.player-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; flex: none; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.player-button:hover { background: #fff0dc20; }
.player-button:focus-visible { outline: 2px solid #e4b99d; outline-offset: 3px; }
.player-button svg { width: 24px; height: 24px; fill: currentColor; }
.player-toggle { background: var(--cream); color: #282921; }
.player-toggle:hover { background: #e4b99d; }
.player-source { margin-inline: 12px; flex: none; font-size: 14px; text-underline-offset: 4px; }
.player-close { width: 40px; height: 40px; }
.player-progress { display: flex; align-items: center; gap: 12px; margin-top: 12px; font: 12px/1.3 var(--mono); color: #e4dece; }
.player-progress input { --progress: 0%; width: 100%; height: 22px; margin: 0; cursor: pointer; accent-color: #e4b99d; }
.embed-player { margin-top: 12px; }
.embed-player iframe { display: block; width: 100%; border: 0; border-radius: 8px; }
@media (max-width: 1100px) { .record-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
 .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .music-player { bottom: 8px; padding: 12px; width: calc(100% - 16px); }
 .player-main { gap: 10px; flex-wrap: wrap; }
 .player-art { width: 44px; height: 44px; }
 .player-copy { flex-basis: calc(100% - 110px); order: 0; }
 .player-close { order: 1; width: 36px; height: 36px; padding: 7px; }
 .player-transport { order: 2; }
 .player-source { order: 3; margin: 0 0 0 auto; }
 #player-title { font-size: 17px; }
 #player-status { font-size: 12px; }
 .record-caption { padding: 12px; }
 .record-artist { font-size: 12px; }
 .record h2 { font-size: 17px; }
 .record-role { font-size: 12px; margin-top: 6px; }
 .record-action { font-size: 12px; margin-top: 8px; }
 .play-cue { top: 8px; right: 8px; width: 28px; height: 28px; }
}
@media (hover: none) { .play-cue { opacity: 1; } .record-play:focus .record-caption { opacity: 1; } }
@media (max-width: 480px) { .record-grid { grid-template-columns: 1fr; } .record-role, .record-artist { font-size: 14px; } .record h2 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .record-play, .record-caption, .play-cue { transition: none; } }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .record-play { transition: box-shadow 400ms ease, transform 2400ms cubic-bezier(.22, .61, .36, 1); }
  .record-play:hover { transform: scale(1.02); transition-duration: 400ms, 800ms; }
}
