/* burnsun. Every colour is measured from burnsun's own pictures:
   the profile picture (moss, olive, sage, the white of the logo's lines), "a path with heart" (brown-black,
   the gold of its title), the sixteen covers on SoundCloud (ember, peach, bone, sand) and the "Funeral" flip cover (night). */
@font-face {
  /* TeX Gyre Chorus, a free chancery italic close to the "a path with heart" title; cut down to the letters used */
  font-family: "Chorus"; src: url("assets/chancery.woff2") format("woff2"); font-display: swap;
}
@font-face {
  /* TeX Gyre Pagella, the free book face of the same family, so the reading text is the same on every device */
  font-family: "Pagella"; src: url("assets/text.woff2") format("woff2"); font-display: swap;
}
:root {
  --ground: #221b1b; --deep: #151414; --moss: #312d22; --olive: #3f452f; --sage: #80805d;
  --ember: #c78464; --peach: #f1b58d; --gold: #f2be8f; --bone: #f1e4d6; --sand: #cabdae; --lit: #fcfbf5;
  --night: #0b1217; --night-2: #192128;
  --script: "Chorus", "Apple Chancery", "Lucida Calligraphy", "URW Chancery L", cursive;
  --serif: "Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --out: cubic-bezier(.16, 1, .3, 1);
  /* the page's side margin, never inside a phone's notch or rounded corner */
  --side-l: max(1.25rem, env(safe-area-inset-left)); --side-r: max(1.25rem, env(safe-area-inset-right));
}
* { box-sizing: border-box; }
/* one scale for every screen: the type, the spacing and the pictures all grow with the window, from a phone to a
   3440-wide desk screen, so a wide screen gets a larger page, not a small column in the dark */
html { font-size: clamp(100%, 60% + .5vw, 187.5%); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--sage) var(--deep); }
body { margin: 0; background: var(--ground); color: var(--bone); font: 400 1.0625rem/1.6 var(--serif); text-align: center; overflow-wrap: break-word; }
/* grain over everything, like the scanned-paper covers */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .86 0 0 0 1.6 -.75'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
p { margin: 0 0 1em; text-wrap: pretty; }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--ground); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--ember); }
a:hover { text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--lit); outline-offset: 3px; box-shadow: 0 0 0 8px var(--ground); border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--bone); color: var(--ground); padding: .9em 1.2em; }
.skip:focus { left: 0; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 var(--side-r) 0 var(--side-l); }
.wide { max-width: 100rem; }
section { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem); scroll-margin-top: 1rem; }

/* titles in the gold script of the cover titles */
h2, h3 { font-family: var(--script); font-style: normal; font-weight: 400; }
h2 { margin: 0 0 .5em; font-size: clamp(2.6rem, 10vw, 4rem); line-height: 1.05; color: var(--gold); text-wrap: balance; }
h3 { margin: 2.5rem 0 .5rem; font-size: 1.875rem; line-height: 1.2; color: var(--sand); }
.meta { margin: .15em 0 0; font-size: .9375rem; color: var(--sand); }
/* a link inside a sentence gets a finger-sized touch area without moving the lines around it */
.meta a, .next a, #about a { display: inline-block; padding: .85em .15em; margin: -.85em -.15em; }
/* a link that leaves for another site carries a small drawn arrow */
main a[href^="http"]:not([data-play])::after, html:not(.js) a[data-play]::after {
  content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .35em; background: currentColor; opacity: .8;
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 82% 78%, 82% 31%, 13% 100%, 0 87%, 69% 18%, 22% 18%);
}

/* first screen: burnsun's own profile picture, which carries the logo, on the moss it is painted on.
   The picture is sized so the name, the line, the play button and the next show all fit one screen at any height. */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 0 var(--side-r) 2.5rem var(--side-l); background: var(--moss); }
.hero nav {
  position: absolute; z-index: 2; top: max(.35rem, env(safe-area-inset-top)); left: 0; right: 0; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0 clamp(.25rem, 2.5vw, 1.25rem); font: 400 clamp(1.3125rem, 1.1rem + .6vw, 1.65rem)/1.2 var(--script); white-space: nowrap; text-shadow: 0 1px 8px rgba(21, 20, 20, .9);
}
.hero nav a { min-width: 2.75rem; padding: .7em .35em; text-decoration: none; }
.hero nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
h1 { margin: 0 calc(-1 * var(--side-r)) 0 calc(-1 * var(--side-l)); }
h1 picture { position: relative; display: block; }
h1 picture::before { /* a little shade at the top so the menu reads over the picture */
  content: ""; position: absolute; inset: 0 0 80%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(34, 27, 27, .6), rgba(34, 27, 27, 0));
}
/* the one motion: the light comes up on the picture as the page opens, then holds */
.art {
  display: block; width: min(100vw, 100vh - 19rem, 60rem); width: min(100vw, 100svh - 19rem, 60rem); height: auto; animation: light 4.2s var(--out) both;
  -webkit-mask-image: linear-gradient(180deg, #000 84%, transparent); mask-image: linear-gradient(180deg, #000 84%, transparent);
}
@keyframes light { from { filter: brightness(.4) saturate(.55); } }
.tagline { position: relative; margin: -2.25rem 0 0; font: 400 clamp(1.7rem, 6.4vw, 2.4rem)/1.2 var(--script); color: var(--gold); text-shadow: 0 1px 14px rgba(21, 20, 20, .8); }
/* who burnsun is, in one plain line, for a first-time visitor and for search */
.who { position: relative; max-width: 24rem; margin: .5rem 0 0; color: var(--sand); text-shadow: 0 1px 10px rgba(21, 20, 20, .8); text-wrap: balance; }
.more { margin-top: 1.25rem; }
.more a { display: inline-block; padding: .7em 0; margin: -.7em 0; }
.swipe { display: none; }
.btn {
  display: inline-block; min-height: 2.75rem; padding: .55em 1.3em .6em; border-radius: 6px; border: 1.5px solid var(--bone); background: var(--bone); color: var(--ground);
  font: 400 1.3125rem/1.2 var(--script); text-decoration: none; transition: background-color .2s var(--out), border-color .2s var(--out), color .2s var(--out);
}
.btn[data-play]::before { content: ""; display: inline-block; width: .5em; height: .58em; margin-right: .5em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: rgba(21, 20, 20, .35); color: var(--bone); }
.btn.ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--ground); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 1.4rem 0 0; }
#deck { width: min(100%, 34rem); scroll-margin: 1rem; }
#deck .sc, #all .sc { margin-top: 1rem; }
#all { max-width: 44rem; margin: 0 auto; }
/* the next show, as a line of liner notes */
.next { max-width: 26rem; margin: 1.1rem 0 0; color: var(--bone); text-shadow: 0 1px 10px rgba(21, 20, 20, .8); }
.next b { font: 400 1.3125rem/1 var(--script); color: var(--gold); }

/* the player, SoundCloud's own, inside a plain lit frame */
.sc { display: block; width: 100%; border: 1px solid rgba(241, 228, 214, .35); border-radius: 6px; background: var(--deep); }

/* who: the artist, and a few plain lines */
#about { padding-top: 2.5rem; background: linear-gradient(180deg, var(--moss), var(--ground)); }
.lede { font: 400 clamp(1.6rem, 5.6vw, 2.2rem)/1.3 var(--script); text-wrap: balance; }
.portrait { max-width: 22rem; margin: 0 auto 2rem; }
.portrait img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(21, 20, 20, .55); }
.portrait figcaption { margin-top: .5em; font-size: .9375rem; color: var(--sand); }

/* the artist's own sun between the parts, as on the corners of the flip covers */
.stamp { display: block; width: 4.5rem; height: 4.5rem; margin: 0 auto .75rem; }

/* listen: each upload under its cover and the line burnsun put with it. the whole entry is the tap target */
.lines, .notes, .shows, .links { list-style: none; margin: 0; padding: 0; }
.lines { display: grid; gap: 4rem 3rem; margin-top: 2.75rem; }
.lines li, .notes li { position: relative; }
.cover { display: block; width: 11rem; height: auto; margin: 0 auto 1.25rem; border-radius: 4px; box-shadow: 0 14px 32px rgba(21, 20, 20, .6); transition: transform .3s var(--out); }
li:hover .cover { transform: translateY(-3px); }
.line { margin: 0 auto .5em; max-width: 30ch; font: 400 clamp(1.55rem, 5.4vw, 2.05rem)/1.3 var(--script); color: var(--bone); text-wrap: balance; }
a[data-play] { font: 400 1.65rem/1.25 var(--script); }
.lines a[data-play]::before, .notes a[data-play]::before { content: ""; display: inline-block; width: .5em; height: .58em; margin-right: .45em; background: var(--ember); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.lines a[data-play]::after, .notes a[data-play]::after { content: ""; position: absolute; inset: -.5rem 0; }
html:not(.js) .lines a[data-play]::after, html:not(.js) .notes a[data-play]::after { position: static; }
a[data-play][aria-current] { color: var(--gold); text-decoration-color: var(--gold); }
a[data-play][aria-current]::before { background: var(--gold); }
a.btn[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--ground); }
a.btn[aria-current]::before { background: currentColor; }
.meta a, li .sc { position: relative; z-index: 1; }
li .sc { margin-top: 1rem; }

/* releases: a wall of covers on moss, the ground of the profile picture */
#releases { background: linear-gradient(180deg, var(--ground), var(--moss) 9rem, var(--moss) calc(100% - 9rem), var(--ground)); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; margin-top: 2.5rem; align-items: start; }
.notes .cover { width: min(100%, 12rem); margin-bottom: .8rem; }
.notes a[data-play] { font-size: 1.3125rem; }
#releases .meta { color: #d5cfb4; }

/* live: night, inside a frame with the sun in each corner, the device of the flip covers */
#live { background: linear-gradient(180deg, var(--ground), var(--night) 7rem, var(--night) calc(100% - 7rem), var(--ground)); }
.frame {
  max-width: 68rem; margin: 0 auto; padding: 5rem 1.1rem 4.25rem; border: 1px solid rgba(202, 189, 174, .4); outline: 1px solid rgba(202, 189, 174, .16); outline-offset: 5px;
  background: url("assets/sun.svg") .4rem .4rem / 3.75rem no-repeat, url("assets/sun.svg") calc(100% - .4rem) .4rem / 3.75rem no-repeat,
    url("assets/sun.svg") .4rem calc(100% - .4rem) / 3.75rem no-repeat, url("assets/sun.svg") calc(100% - .4rem) calc(100% - .4rem) / 3.75rem no-repeat, var(--night-2);
}
.shows { margin: 0 0 1.5rem; }
.shows:empty { display: none; }
.shows li { padding: 1.1rem 0; border-bottom: 1px solid rgba(202, 189, 174, .2); }
.shows li:last-child { border-bottom: 0; }
.when { display: block; font: 400 1.65rem/1.2 var(--script); color: var(--gold); }
.when span { font-size: 1.3125rem; color: var(--sand); }
.where { margin: .1em 0 0; font-size: 1.3125rem; line-height: 1.3; }
.frame p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.frame .tour { max-width: none; margin: 0 0 .25em; font: 400 clamp(1.8rem, 7vw, 2.5rem)/1.15 var(--script); color: var(--bone); }

/* inquire, and what a booker needs in one place */
#inquire p { max-width: 36rem; margin-left: auto; margin-right: auto; }
.bookers { max-width: 40rem; margin: 3rem auto 0; padding-top: .5rem; border-top: 1px solid rgba(202, 189, 174, .25); }
.kit { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5rem; margin: 0; padding: 0; }
.kit a, .stream a { display: inline-block; padding: .75em .1em; }
/* where to stream and follow */
.stream { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(.9rem, 3vw, 1.75rem); margin: -.25rem 0 .25rem; font: 400 1.65rem/1.2 var(--script); }
.stream a { padding: .45em .1em; }

/* the artist's own banner closes the page. it is never shown wider than the file is, so it stays sharp */
footer { background: var(--deep); color: var(--bone); padding: 0 var(--side-r) max(4.5rem, env(safe-area-inset-bottom)) var(--side-l); }
.banner {
  display: block; width: 100%; max-width: 1240px; height: clamp(8rem, 21vw, 259px); margin: 0 auto; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 40%, #000 72%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 40%, #000 72%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1.4rem; max-width: 46rem; margin: 1rem auto 0; font: 400 1.65rem/1.2 var(--script); }
.links a { display: inline-block; padding: .45em 0; }
.thanks { margin: 2rem 0 .4rem; font: 400 clamp(1.7rem, 6vw, 2.2rem)/1.2 var(--script); color: var(--gold); }
footer .meta { margin: 0; }

/* 404: the logo alone on its moss, one screen tall */
.lost { min-height: 100vh; min-height: 100svh; justify-content: center; padding-top: 1.5rem; }
.mark { display: block; width: min(78vw, 26rem, 62vh); height: auto; }
.lost h1 { margin: 1.25rem 0 0; font: 400 clamp(2.6rem, 11vw, 4.5rem)/1.05 var(--script); color: var(--gold); }
.lost .tagline { margin: .5rem 0 0; font: inherit; color: var(--bone); text-shadow: none; }

/* any screen wider than it is tall by half again (a laptop, a desk screen, a phone held sideways):
   the picture stands as tall as the screen allows and the words sit beside it */
@media (min-aspect-ratio: 3/2) {
  .hero { display: grid; grid-template-columns: auto minmax(0, 30rem); grid-template-rows: 1fr auto auto auto auto 1fr; justify-content: center; column-gap: clamp(1.5rem, 4vw, 5rem); justify-items: center; min-height: 100vh; min-height: 100svh; padding-top: max(3.25rem, env(safe-area-inset-top) + 2.75rem); padding-bottom: 1rem; }
  .hero h1 { grid-row: 1 / -1; align-self: center; margin: 0; }
  .art { width: min(54vw, 100vh - 5rem); width: min(54vw, 100svh - 5rem); -webkit-mask-image: none; mask-image: none; border-radius: 4px; box-shadow: 0 1.5rem 4rem rgba(21, 20, 20, .6); }
  h1 picture::before { display: none; }
  .hero { grid-template-rows: 1fr auto auto auto auto auto 1fr; }
  .tagline { grid-row: 2; margin: 0; font-size: clamp(1.7rem, 4vw, 4.4rem); }
  .who { grid-row: 3; max-width: 28rem; font-size: clamp(1.0625rem, .5vw + .8rem, 1.3125rem); }
  .hero .cta { grid-row: 4; margin-top: clamp(.8rem, 2.5vh, 2rem); }
  .hero .btn { font-size: clamp(1.3125rem, 1.2vw + .75rem, 1.875rem); }
  #deck { grid-row: 5; }
  .next { grid-row: 6; max-width: 28rem; margin-top: clamp(.8rem, 2.5vh, 1.75rem); font-size: clamp(1.0625rem, .5vw + .8rem, 1.3125rem); }
  .lost { display: flex; padding-top: 1rem; }
  .lost .mark { width: min(40vw, 58vh); }
}
@media (min-aspect-ratio: 3/2) and (max-height: 22.5em) {
  /* the smallest phones held sideways: the words beside the picture close up so they stay on the one screen */
  .hero { padding-top: max(2.75rem, env(safe-area-inset-top) + 2.5rem); padding-bottom: .5rem; }
  .who { margin-top: .25rem; font-size: .9375rem; line-height: 1.45; }
  .hero .cta, .next { margin-top: .5rem; }
}
@media (min-width: 46em) {
  /* behind the picture, the same picture out of focus, so a wide screen is filled with the artist's own colours */
  .hero::before {
    content: ""; position: absolute; z-index: -1; inset: -4rem -4rem 0; background: url("assets/hero-640.avif") center / cover; filter: blur(2.5rem) brightness(.5) saturate(.9);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .about { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 34rem); gap: clamp(2rem, 5vw, 5rem); align-items: center; justify-content: center; max-width: 68rem; text-align: left; }
  .portrait { margin: 0; }
  .lines { grid-template-columns: repeat(6, 1fr); }
  .lines li { grid-column: span 3; }
  .lines li:last-child:nth-child(odd) { grid-column: 2 / span 4; }
  .cover { width: 13rem; }
  .notes { gap: 3rem 1.5rem; }
  .notes .cover { width: min(100%, 16rem); }
  .frame { padding: 6.5rem 3rem 5.5rem; background-size: 5rem, 5rem, 5rem, 5rem, auto; }
}
@media (min-width: 60em) {
  .notes { grid-template-columns: repeat(5, 1fr); }
  .notes .cover { width: min(100%, 12rem); }
}
@media (min-width: 110em) {
  /* very wide: three lines abreast, and the past shows in two columns */
  .lines li { grid-column: span 2; }
  .lines li:last-child:nth-child(3n + 1) { grid-column: 3 / span 2; }
  .lines li:last-child:nth-child(odd):not(:nth-child(3n + 1)) { grid-column: span 2; }
  #past { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  #past li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  #past li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* phones held upright: the page settles section by section, and each section is composed to fit one screen.
   CSS scroll snap only, "proximity", so a flick still scrolls freely through and past anything, a section taller than
   the screen still scrolls all the way, and anchors, back and focus behave as on any page. No script touches scrolling.
   Heights use the small viewport unit (the screen with the browser bars showing), with a 100vh fallback. */
@media (max-width: 45.99em) and (orientation: portrait) {
  html { scroll-snap-type: y proximity; }
  html:has(:focus-visible) { scroll-snap-type: none; } /* moving by keyboard, nothing pulls the focused item away */
  .hero, main > section, .bookers { scroll-snap-align: start; }
  footer { scroll-snap-align: end; }
  section { scroll-margin-top: 0; }
  main > section {
    display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh;
    padding: max(1.5rem, env(safe-area-inset-top)) 0 1.75rem;
  }
  main > section > .wrap { width: 100%; min-width: 0; } /* a row that scrolls sideways must not widen its section */
  #inquire { justify-content: flex-start; min-height: 0; padding-top: max(2.5rem, env(safe-area-inset-top)); }
  /* the contact route is one screen, and the bookers' part is the next */
  .bookers { margin-top: 2.5rem; padding: 1.5rem 0 1.75rem; }
  .bookers h3 { margin-top: 0; }
  .stamp { width: 2.75rem; height: 2.75rem; margin-bottom: .25rem; }
  h2 { margin-bottom: .3em; }
  .portrait { width: min(80vw, 22rem, (100vh - 25rem) * .8); width: min(80vw, 22rem, (100svh - 25rem) * .8); margin-bottom: 1.25rem; }
  #about p { margin-bottom: .75em; }
  #about .lede { font-size: 1.35rem; line-height: 1.25; } /* burnsun's own sentence: longer than a tag line */
  .stream { gap: 0 .85rem; margin-top: 0; font-size: 1.1875rem; }
  .stream a { padding: .65em .1em; }

  /* a long list is a row to swipe through: the next entry peeks in at the edge, and the line under the row says how
     many it holds. every entry stays in the page, reachable by keyboard and without script. */
  .lines, .notes, #past {
    display: grid; grid-auto-flow: column; grid-template-columns: none; gap: 1rem; align-items: start; overflow-x: auto;
    margin: 1rem calc(-1 * var(--side-r)) 0 calc(-1 * var(--side-l)); padding: .5rem var(--side-r) .75rem var(--side-l);
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--side-r) 0 var(--side-l); overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .lines::-webkit-scrollbar, .notes::-webkit-scrollbar, #past::-webkit-scrollbar { display: none; }
  .lines li, .notes li, #past li { scroll-snap-align: start; }
  /* moving through a row by keyboard, the row unfolds into a plain list, so the focused entry is always in full view */
  .lines:has(:focus-visible), #past:has(:focus-visible) { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); overflow-x: visible; }
  .notes:has(:focus-visible) { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow-x: visible; }
  main section:has(:focus-visible) .swipe { visibility: hidden; }
  .lines { grid-auto-columns: min(80%, 20rem); }
  .notes { grid-auto-columns: min(44%, 11rem); gap: 1rem .9rem; }
  .lines .cover { width: clamp(7.5rem, 100vh - 38rem, 11rem); width: clamp(7.5rem, 100svh - 38rem, 11rem); margin-bottom: .75rem; }
  .line { font-size: 1.375rem; }
  .swipe { display: block; margin: .25rem 0 0; font-size: .9375rem; color: var(--sand); }
  .swipe::after { /* a small drawn arrow, pointing the way to swipe */
    content: ""; display: inline-block; width: .7em; height: .55em; margin-left: .4em; background: currentColor;
    clip-path: polygon(0 40%, 62% 40%, 62% 0, 100% 50%, 62% 100%, 62% 60%, 0 60%);
  }
  #releases .cta { margin-top: .75rem; }
  .notes a[data-play] { font-size: 1.1875rem; }
  .notes .meta, #past .meta { font-size: .875rem; line-height: 1.5; }

  /* live: the frame keeps its four suns; the title sits between the top two */
  .frame { padding: 1rem 1.1rem 3.25rem; background-size: 3rem, 3rem, 3rem, 3rem, auto; }
  .frame .tour { font-size: 1.875rem; }
  .frame .cta { margin-top: .75rem; }
  .frame h3 { margin-top: 1.25rem; font-size: 1.5rem; }
  #past { grid-auto-columns: min(78%, 18rem); margin-left: -1.1rem; margin-right: -1.1rem; padding-left: 1.1rem; padding-right: 1.1rem; scroll-padding: 0 1.1rem; }
  #past .when { font-size: 1.3125rem; }
  #past .where { font-size: 1.125rem; }
  #past li, #past li:last-child { height: 100%; padding: .7rem .9rem; border: 1px solid rgba(202, 189, 174, .25); border-radius: 6px; background: rgba(11, 18, 23, .55); }
  .frame .swipe { margin-top: 0; }
  .bookers .cta { margin-top: .75rem; }
}
/* a short phone screen (an older or smaller phone, or the browser bars showing): the suns between the parts step aside */
@media (max-width: 45.99em) and (orientation: portrait) and (max-height: 45em) {
  main .stamp { display: none; }
  .art { width: min(100vw, 100vh - 20.5rem); width: min(100vw, 100svh - 20.5rem); }
  .lines { grid-auto-columns: min(88%, 20rem); }
  .lines .cover { width: 6.5rem; }
  .line { font-size: 1.25rem; }
  .frame .tour { font-size: 1.65rem; }
  main > section { padding-top: max(1rem, env(safe-area-inset-top)); padding-bottom: 1.25rem; }
  #past { grid-auto-columns: min(86%, 18rem); }
  .stream { gap: 0 .6rem; }
  .frame { padding-bottom: 2.75rem; background-size: 2.5rem, 2.5rem, 2.5rem, 2.5rem, auto; }
  .frame h2 { font-size: 2.4rem; }
  .frame h3 { margin-top: .75rem; }
  .bookers { padding-top: 1rem; padding-bottom: 1rem; }
  .bookers p { margin-bottom: .6em; }
}
/* the shortest phone screens (640 px tall or less: the smallest iPhones, or one with Safari's bars showing): the parts close up
   further so each still fits. reading text stays at 16 px or more, every control at 44 px or more, and nothing is left out */
@media (max-width: 45.99em) and (orientation: portrait) and (max-height: 40em) {
  main > section { padding-top: max(.75rem, env(safe-area-inset-top)); padding-bottom: .75rem; }
  /* listen: each upload's cover sits beside its line instead of above it */
  .lines li { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); column-gap: .9rem; align-content: start; text-align: left; }
  .lines picture { grid-row: 1 / span 3; }
  .lines .cover { width: 100%; margin: .2rem 0 0; }
  .lines li > :not(picture) { grid-column: 2; }
  .lines li > .sc { grid-column: 1 / -1; }
  .lines .line { margin: 0 0 .35em; max-width: none; }
  /* releases: covers a little smaller */
  .notes .cover { width: 80%; }
  /* live: the two lower suns of the frame step aside, and the parts inside close up */
  .frame { padding-bottom: 1rem; background-size: 2.5rem, 2.5rem, 0, 0, auto; }
  .frame h2 { margin-bottom: .1em; }
  .frame p { font-size: 1rem; line-height: 1.5; }
  .frame .tour { margin-bottom: .05em; font-size: 1.25rem; }
  .frame h3 { margin: .6rem 0 .25rem; }
  #about .lede { margin-bottom: .5em; font-size: 1.125rem; }
  #past { grid-auto-columns: min(88%, 18rem); padding-top: .25rem; padding-bottom: .5rem; }
  #past li, #past li:last-child { padding: .55rem .8rem; }
  #past .meta { line-height: 1.4; }
}
@media (max-width: 22em) and (orientation: portrait) and (max-height: 40em) {
  /* and as narrow as 320: the rows give each entry a little more width */
  .lines { grid-auto-columns: 92%; margin-top: .6rem; padding-top: .25rem; padding-bottom: .5rem; }
  .lines li { grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: .75rem; }
  main:not(.sheet) #listen h2, #notable h2 { margin-bottom: .15em; }
  .lines .line { font-size: 1.1875rem; line-height: 1.2; }
  main:not(.sheet) .stream a { padding: .6em .1em; }
  #past { grid-auto-columns: 92%; }
  .frame .cta { margin-top: .5rem; }
  .frame h3 { margin-top: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  /* no smooth scrolling and no snapping: nothing moves the page by itself */
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .lines, .notes, #past { scroll-snap-type: none; }
  .art { animation: none; }
  .btn, .cover { transition: none; }
}
@media (forced-colors: active) {
  .btn[data-play]::before, a[data-play]::before { background: LinkText; }
}
