:root {
    color-scheme: light;
    --ink: #181818;
    --muted: #515151;
    --link: #164d59;
    --rule: #d4d4d4;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, ul, dl, dd { margin: 0; }

body {
    background: #141414;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .9rem;
    line-height: 1.45;
    -webkit-text-size-adjust: 100%;
}

a, .sheet-actions button {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: .15em;
}

a:hover, .sheet-actions button:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

.sheet {
    width: min(100% - 2rem, 8.5in);
    margin: 1.25rem auto;
    padding: clamp(1.25rem, 4vw, .45in);
    background: #fff;
}

.sheet-header, .sheet-actions, .links, .contact {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .3rem .9rem;
}

.sheet-header {
    justify-content: space-between;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--rule);
}

.sheet-header h1 { font-size: 1.17rem; line-height: 1.2; }
.sheet-actions a, .sheet-actions button { padding: .21rem 0; }
.sheet-actions button {
    appearance: none;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}
.print-url { display: none; }

.artist {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: 1.4rem;
    padding-block: .95rem;
}

.bio h2 {
    font-size: clamp(1.65rem, 4vw, 2.12rem);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.location, .release-date { color: var(--muted); }
.location { margin-top: .3rem; font-weight: 550; }
.bio-copy { margin-top: .75rem; }
.bio-copy p + p { margin-top: .48rem; }
.bio .links { margin-top: .6rem; }

.band-photo figcaption { margin-top: .55rem; }
.band-photo .links { margin-top: .14rem; }
.photo-credit { color: var(--muted); font-size: .86em; margin-top: .23rem; }

.release, .details, .contact { border-top: 1px solid var(--rule); padding-block: .9rem; }
.release {
    display: grid;
    grid-template-columns: minmax(5.5rem, .65fr) minmax(0, 2fr) minmax(8rem, 1.05fr);
    gap: 1rem;
    align-items: start;
    padding-bottom: .65rem;
}

.release h2, .previous-release h2, .details h2, .contact h2 { font-size: 1.04rem; line-height: 1.2; }
.release h2 { font-size: 1.36rem; }
.release-date { font-size: .86em; margin-top: .2rem; }
.track-description, .release-links { margin-top: .4rem; }
.release-downloads { margin-top: .18rem; }

.previous-release {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    padding-block: 0 .9rem;
}
.previous-release img { width: 2.85rem; }
.previous-release .links { margin-left: .6rem; }

.player { position: relative; aspect-ratio: 16 / 9; background: #121212; }
.player > a, .player > iframe { display: block; width: 100%; height: 100%; }
.player > iframe { border: 0; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.watch-link { display: inline-block; margin-top: .25rem; font-size: .9em; }
.print-live { display: none; }
.play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 2.15rem;
    height: 2.15rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #fff;
    background: rgb(0 0 0 / 75%);
}
.play::before {
    content: "";
    margin-left: .12rem;
    border-left: .49rem solid #fff;
    border-top: .32rem solid transparent;
    border-bottom: .32rem solid transparent;
}

.details {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 1.4rem;
}

.quotes {
    list-style: none;
    padding: 0;
    margin-top: .55rem;
}
.quotes li + li { margin-top: .52rem; }
.quotes a { white-space: nowrap; font-size: .94em; }

.lineup dl { margin-top: .5rem; }
.lineup dl div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .3rem .6rem;
    padding-block: .18rem;
}
.lineup dd { color: var(--muted); }

.contact { padding-bottom: 0; }
.contact a { overflow-wrap: anywhere; }
.contact p { font-size: .9em; color: var(--muted); }

@media screen {
    :root {
        color-scheme: dark;
        --ink: #f7f4ef;
        --muted: #bbb7b2;
        --link: #f0c8ab;
        --rule: #343434;
    }

    body { background: #0a0a0a; font-size: .96rem; }
    .sheet { width: min(100% - 3rem, 68rem); margin-block: 1.25rem 2.5rem; padding: 0; background: transparent; }
    .sheet-header { padding-block: .45rem .85rem; }
    .sheet-header h1 { font-size: 1.3rem; }
    .artist { gap: clamp(1.25rem, 5vw, 3.75rem); padding-block: 1.7rem; }
    .bio h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); }
    .bio-copy { max-width: 60ch; }
    .band-photo img { width: 100%; }
    .release {
        grid-template-columns: minmax(6.5rem, .63fr) minmax(0, 1.55fr) minmax(10rem, 1.28fr);
        gap: clamp(1.1rem, 3vw, 2rem);
        padding-block: 1.4rem 1rem;
    }
    .release h2 { font-size: clamp(1.45rem, 2.7vw, 1.85rem); }
    .previous-release { padding-bottom: 1.4rem; }
    .previous-release img { width: 3.15rem; }

    .player > a:focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
    .player > a:hover .play { background: #0a0a0a; border-color: var(--link); }
    .player.is-playing > a { display: none; }

    .live-performances { border-top: 1px solid var(--rule); padding-block: 1.4rem; }
    .live-performances h2 { font-size: 1.24rem; margin-bottom: .85rem; }
    .live-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
    .live-grid figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem .6rem; margin-top: .5rem; }
    .live-grid figcaption span { color: var(--muted); margin-inline-start: .32rem; }
    .live-grid .watch-link { margin-top: 0; }
    .details, .contact { padding-block: 1.35rem; }
}

@media screen and (max-width: 640px) {
    .sheet { width: auto; margin: 0; padding: .65rem 1.125rem 1rem; }
    .sheet-actions { gap: .15rem .55rem; font-size: .85rem; }
    .artist, .details { grid-template-columns: 1fr; gap: 1.1rem; }
    .band-photo { max-width: 24rem; }
    .release { grid-template-columns: 5rem minmax(0, 1fr); gap: .65rem .85rem; }
    .release-copy { display: contents; }
    .release-heading { align-self: center; }
    .track-description, .release-links, .release-downloads, .release-videos { grid-column: 1 / -1; }
    .track-description, .release-links, .release-downloads { margin-top: 0; }
    .release-videos { margin-top: .2rem; }
    .previous-release .links { flex-basis: 100%; margin-left: 3.9rem; }
    .live-grid { grid-template-columns: 1fr; }
    .lineup { max-width: 19rem; }
}

@page { size: letter portrait; margin: .48in; }

@media print {
    body { background: #fff; print-color-adjust: exact; }
    .sheet { width: auto; margin: 0; padding: 0; }
    .sheet-actions, .live-performances, .player > iframe { display: none; }
    .print-url { display: inline; }
    .print-live { display: grid; gap: .12rem; margin-top: .25rem; font-size: .87em; }
    .sheet-header, .artist, .release, .previous-release, .details, .contact { break-inside: avoid; }
}
