@font-face {
  font-family: 'Newsreader';
  src: url('/assets/fonts/newsreader.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.media-section { --album-paper: #f1eee4; position: relative; isolation: isolate; padding-block: 16px; color: var(--album-paper); overflow: clip; scroll-margin-top: 40px; }
.media-section::before { content: ''; position: absolute; z-index: -1; inset: 0 -32px; background: url('/assets/daisy-painted-strip.svg') center / 100% 100% no-repeat; transform: rotate(-.65deg); pointer-events: none; }
.media-inner { position: relative; z-index: 1; min-height: clamp(420px, 34vw, 560px); padding-block: 64px 58px; }
.media-content { width: calc(100% - clamp(300px, 30vw, 540px)); }
.media-portrait { position: absolute; z-index: 0; top: 24px; right: -1vw; bottom: 24px; width: min(36vw, 620px); overflow: hidden; pointer-events: none; mask-image: linear-gradient(#000 calc(100% - 24px), transparent); }
.media-portrait img { position: absolute; top: 0; right: -36%; width: auto; max-width: none; height: 225%; }
.media-groups { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); align-items: start; gap: 32px; min-width: 0; padding-top: 6px; }
.media-group { min-width: 0; scroll-margin-top: 40px; }
.album-group { padding-right: 24px; }
.media-group-title { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; scroll-margin-top: 40px; }
.media-title-icon { display: block; flex: 0 0 25px; width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-2deg); }
.media-title-icon .note-head { fill: currentColor; stroke: none; }
.media-singles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.media-singles > li { min-width: 0; }
.single-link { display: block; text-align: center; -webkit-tap-highlight-color: transparent; }
.single-link:focus-visible { outline: none; }
.single-link:focus-visible .single-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.single-link.is-selected .single-title { text-decoration: underline; text-underline-offset: 4px; }
.single-player { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 4px; margin-top: 24px; }
.single-player[hidden] { display: none; }
.single-player-frame { min-width: 0; height: 44px; }
.single-audio { display: block; width: 100%; min-width: 0; height: 44px; color-scheme: dark; }
.single-player-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.single-player-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.bandcamp-buy { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 14px; color: inherit; font-size: 14px; text-decoration: underline; text-decoration-color: rgb(241 238 228 / 45%); text-underline-offset: 5px; }
.record-stage { display: block; width: min(100%, 128px); margin: 0 auto; aspect-ratio: 1.18; perspective: 650px; }
.record-object { --record-rest: -9deg; position: relative; display: block; width: 100%; height: 100%; transform: translateY(var(--record-lift, 0px)) rotateX(calc(7deg + var(--record-pitch, 0deg))) rotateY(calc(var(--record-rest) + var(--record-yaw, 0deg))) rotateZ(var(--record-roll, 0deg)); transform-style: preserve-3d; }
.single:nth-child(2) .record-object { --record-rest: 0deg; }
.single:nth-child(3) .record-object { --record-rest: 9deg; }
.record-disc { position: absolute; top: 4%; left: 0; width: 78%; aspect-ratio: 1; border-radius: 50%; transform: translate3d(calc(-1 * var(--disc-slide, 0px)), 0, 2px) rotateZ(var(--disc-turn, 0deg)); transform-style: preserve-3d; box-shadow: 2px 3px 0 #272a2a, 3px 5px 0 #0c0d0d; }
.record-disc::before { content: ''; position: absolute; inset: 1%; border-radius: 50%; background: #171a1b; border: 1px solid #717778; transform: translateZ(-3px); }
.record-vinyl { position: absolute; inset: 0; width: 100%; height: 100%; }
.record-label { position: absolute; left: 33%; top: 33%; width: 34%; height: 34%; border-radius: 50%; object-fit: cover; transform: translateZ(1px); }
.record-spindle { position: absolute; left: 49.3%; top: 49.3%; width: 1.4%; height: 1.4%; border-radius: 50%; background: #060606; box-shadow: 0 0 0 1px rgb(190 195 195 / 45%); transform: translateZ(2px); }
.record-light { position: absolute; inset: 3%; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0deg 74deg, rgb(198 231 255 / 13%) 94deg, transparent 114deg 255deg, rgb(224 211 255 / 10%) 280deg, transparent 306deg); mask-image: radial-gradient(circle, transparent 0 25%, #000 26% 69%, transparent 70%); mix-blend-mode: screen; transform: rotate(var(--record-light, 0deg)); }
.record-sleeve { position: absolute; right: 0; top: 2%; width: 74%; aspect-ratio: 1; transform: translateZ(12px); transform-style: preserve-3d; background: #252621; border: 1px solid #4b4b42; box-shadow: 2px 3px 9px rgb(0 0 0 / 55%); }
.record-sleeve img { width: 100%; height: 100%; object-fit: cover; }
.record-sleeve::before { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: linear-gradient(90deg, #68685e, #191a17); transform: rotateY(90deg); transform-origin: right; }
.record-sleeve::after { content: ''; position: absolute; inset: 0; background: linear-gradient(calc(115deg + var(--record-light, 0deg)), rgb(255 255 255 / 9%), transparent 46%, rgb(0 0 0 / 9%)); transform: translateZ(.2px); pointer-events: none; }
.single-title { display: block; max-width: 140px; margin: 14px auto 0; font-family: 'Newsreader', Georgia, serif; font-size: 14px; font-weight: 500; font-variation-settings: normal; font-optical-sizing: auto; line-height: 1.35; letter-spacing: .005em; }
.single-title small { display: block; margin-top: 3px; font-size: .82em; }
.album-quote { width: fit-content; max-width: 92%; margin: 36px 0 0 6%; }
.album-quote p { margin: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; letter-spacing: -.015em; }
.quote-attribution { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; }

@media (hover: hover) and (pointer: fine) {
  .single-link:hover .single-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .bandcamp-buy:hover { text-decoration-color: currentColor; }
}

@media (min-width: 651px) and (max-width: 1250px) {
  .media-content { width: 64%; }
  .media-portrait { top: 44px; bottom: auto; width: 36vw; height: 34vw; }
  .media-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding: 6px 0 16px; }
  .album-group { grid-column: 1 / -1; width: 100%; max-width: 460px; padding-right: 0; }
  .album-quote { max-width: 100%; margin-top: 32px; }
}

@media (max-width: 650px) {
  .media-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px 24px; padding: 48px 22px 42px; }
  .media-inner, .media-content, .media-groups { display: contents; }
  .album-group { grid-area: 1 / 1 / 2 / -1; padding-right: 0; }
  #film { grid-area: 2 / 1; }
  #tv { grid-area: 3 / 1; }
  .media-group-title { margin-bottom: 20px; font-size: 24px; }
  .media-singles { gap: 10px; }
  .record-stage { width: min(100%, 110px); }
  .single-title { font-size: 13px; }
  .album-quote { grid-area: 4 / 1 / 5 / -1; max-width: 100%; margin: 0; }
  .album-quote p { font-size: 16px; }
  .media-portrait { grid-area: 2 / 2 / 4 / 3; position: relative; inset: auto; align-self: center; justify-self: end; width: min(calc(100% + 48px), 300px); aspect-ratio: 1 / 1.02; margin-right: -16px; overflow: hidden; mask-image: linear-gradient(#000 88%, transparent); }
  .media-portrait img { position: absolute; top: 0; right: auto; left: -28.5%; width: 160%; height: auto; }
}

@media (max-width: 360px) {
  .media-group-title { gap: 7px; font-size: 22px; }
  .media-title-icon { flex-basis: 23px; width: 23px; height: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .record-object { transform: none !important; }
  .record-disc { transform: translateZ(2px); }
}

@media (forced-colors: active) {
  .media-section { --album-paper: CanvasText; background: Canvas; color: CanvasText; }
  .media-section::before { display: none; }
}
