/* burnsun's press kit. The type, the colours, the buttons and the mark come from the home page's style.css;
   this file only lays the kit out. Where the home page is centred, the kit is a sheet of liner notes:
   a title in the margin, the notes beside it, a hairline between the parts. */
.press { text-align: left; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.addr { display: none; } /* a link's address, written out for paper only */

/* first screen: the logo on its moss, and what this page is */
.top { position: relative; isolation: isolate; overflow: hidden; padding: 0 var(--side-r) 2.75rem var(--side-l); background: var(--moss); text-align: center; }
.top nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(0rem, 4vw - .75rem, 1.25rem); padding-top: max(.35rem, env(safe-area-inset-top));
  font: 400 clamp(1.3125rem, 1.1rem + .6vw, 1.65rem)/1.2 var(--script); white-space: nowrap;
}
.top nav a { min-width: 2.75rem; padding: .7em .3em; text-align: center; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.top .mark { width: min(64vw, 19rem, 38vh); width: min(64vw, 19rem, 38svh); margin: .75rem auto 0; }
.top h1 { margin: .75rem 0 0; font: 400 clamp(2.6rem, 11vw, 4.5rem)/1.05 var(--script); color: var(--gold); }
.top .lede { max-width: 34rem; margin: .6rem auto 0; font-size: clamp(1.3125rem, 4.6vw, 1.65rem); }
html:not(.js) #print { display: none; }

/* the sheet */
.sheet { max-width: 84rem; margin: 0 auto; padding: 0 var(--side-r) 0 var(--side-l); }
.sheet section { padding: 2.5rem 0 2.75rem; border-top: 1px solid rgba(202, 189, 174, .25); }
.sheet section:first-child { border-top: 0; }
.sheet h2 { margin: 0 0 .75rem; font-size: clamp(2.2rem, 8vw, 2.75rem); }
.sheet h3 { margin: 2rem 0 .25rem; font-size: 1.65rem; }
.sheet h3:first-child { margin-top: 0; }
.body > p { max-width: 42rem; }
.sheet .cta { justify-content: flex-start; margin-top: 1.1rem; }
.sheet .stream { justify-content: flex-start; margin: 1.25rem 0 0; }
.plain a, figcaption a { display: inline-block; padding: .7em 0; margin: -.3em 0; }
.ledger a { padding: 1.15em 0; } /* stays in the line, so a long source wraps with its date */

/* facts: a ledger. the value, and under it where it was read and when */
.ledger { display: grid; gap: 0 3.5rem; margin: 0; }
.ledger div { padding: .75rem 0 .35rem; border-bottom: 1px solid rgba(202, 189, 174, .2); }
.ledger dt { font: 400 1.3125rem/1.2 var(--script); color: var(--gold); }
.ledger dd { margin: .1rem 0 0; font-size: 1.1875rem; line-height: 1.4; }
.ledger small { display: block; font-size: .875rem; line-height: 1.5; color: var(--sand); }

/* listen: a track list. the reason for the choice sits above each title; the whole row plays it */
.tracks { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.tracks li { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: 1.25rem; align-content: start; padding: 1.25rem 0; border-bottom: 1px solid rgba(202, 189, 174, .2); }
.tracks li:first-child { padding-top: 0; }
.tracks picture { grid-row: 1 / span 4; }
.tracks .cover { width: 100%; margin: 0; }
.tracks li > :not(picture) { grid-column: 2; }
.tracks li > .sc { grid-column: 1 / -1; }
.why { margin: 0; font: 400 1.3125rem/1.25 var(--script); color: var(--gold); }
.tracks 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%); }
.tracks a[data-play][aria-current]::before { background: var(--gold); }
.tracks a[data-play]::after { content: ""; position: absolute; inset: 0; }
html:not(.js) .tracks a[data-play]::after { position: static; }

/* highlights: the dates as a narrow column beside the place */
.sheet .shows { max-width: 46rem; margin: 0; }
.sheet .shows li { padding: .8rem 0; }
.sheet .when, .sheet .when span { font-size: 1.3125rem; color: var(--gold); }
.sheet .where { font-size: 1.1875rem; }
.cols > div + div { margin-top: 2rem; }
.plain { list-style: none; max-width: 46rem; margin: 0; padding: 0; }
.plain li { padding: .2rem 0 .5rem; }
.plain .meta { display: block; }

/* photos: side by side at one height, whatever their shapes; logo files: each on the moss it was drawn for */
.photos, .logos { display: grid; gap: 2rem 1.25rem; }
.photos figure, .logos figure { margin: 0; min-width: 0; }
.photos figure:first-child { max-width: 22rem; }
.photos img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 32px rgba(21, 20, 20, .55); }
figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--sand); }
figcaption a { color: var(--bone); margin-right: .75rem; }
.logos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.tile { position: relative; aspect-ratio: 5 / 4; border-radius: 4px; background: var(--moss); }
.tile img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.tile.full img { inset: 0; width: 100%; height: 100%; }
.logos + .meta { margin-top: 1.25rem; }

.press footer { padding-top: 3rem; text-align: center; }
.press footer .cta { margin: 0 0 1.5rem; }

@media (min-width: 34em) {
  .sheet .shows li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 1.25rem; }
  .sheet .when { grid-row: span 2; }
}
@media (min-width: 40em) {
  .photos { display: flex; align-items: flex-start; }
  .photos figure, .photos figure:first-child { flex: var(--r) 1 0; max-width: none; }
}
@media (min-width: 46em) {
  /* the mark beside the words, in front of the profile picture out of focus, as on the home page */
  .top::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);
  }
  .lockup { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 34rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; justify-content: center; padding-top: 1rem; text-align: left; }
  .top .mark { width: 100%; margin: 0; }
  .top h1 { margin: 0; }
  .top .lede { margin-left: 0; }
  .top .cta { justify-content: flex-start; }
  .ledger { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60em) {
  .sheet section { display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 3.5rem; }
  .sheet h2 { text-align: right; line-height: 1; }
}
@media (min-width: 72em) {
  /* the dates on the left, the releases and the people on the right */
  .cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .cols > div + div { margin-top: 0; }
}
@media (min-width: 110em) {
  /* very wide: the three tracks abreast */
  .tracks { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 3rem; max-width: none; }
  .tracks li, .tracks li:first-child { padding: 0 0 1.25rem; }
  .tracks li { border-bottom: 0; }
}

/* phones held upright: each part settles at its top, as on the home page (style.css), but keeps its own height: the
   bio, the facts and the highlights are reading, and scroll on freely. the dates, the photos and the logo files become
   rows to swipe through, every one still in the page. */
@media (max-width: 45.99em) and (orientation: portrait) {
  .press main > section { display: block; min-height: 0; }
  .photos, .logos, #highlights .shows {
    display: grid; grid-auto-flow: column; grid-template-columns: none; gap: 1rem; align-items: start; overflow-x: auto;
    margin: 0 calc(-1 * var(--side-r)) 0 calc(-1 * var(--side-l)); padding: .25rem 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;
  }
  .photos::-webkit-scrollbar, .logos::-webkit-scrollbar, #highlights .shows::-webkit-scrollbar { display: none; }
  .photos figure, .logos figure, #highlights .shows li { scroll-snap-align: start; }
  .photos:has(:focus-visible), .logos:has(:focus-visible), #highlights .shows:has(:focus-visible) { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); overflow-x: visible; }
  .photos { grid-auto-columns: min(84%, 20rem); }
  .photos figure:first-child { max-width: none; }
  .logos { grid-auto-columns: min(72%, 16rem); }
  #highlights .shows { grid-auto-columns: min(80%, 18rem); max-width: none; }
  #highlights .shows li, #highlights .shows li:last-child { display: block; height: 100%; padding: .7rem .9rem; border: 1px solid rgba(202, 189, 174, .25); border-radius: 6px; background: rgba(21, 20, 20, .35); }
  #highlights .shows .meta { font-size: .875rem; line-height: 1.5; }
  .sheet .swipe { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .photos, .logos, #highlights .shows { scroll-snap-type: none; }
}

/* paper: one page, A4 or Letter. Ink on white, apart from one moss band that holds the logo, which exists in white
   lines only. Players, pictures to download and navigation are left off; links are written out as short addresses. */
@media print {
  @page { margin: 10mm 12mm; }
  html { font-size: 7.8pt; }
  body { background: #fff; color: #221b1b; line-height: 1.32; }
  body::after, .skip, .top nav, .top .cta, .top::before, .sc, #photos, #logo, .stream, .tracks .note, .shows time ~ .meta, footer .stamp, footer .cta, .thanks, .swipe { display: none !important; }
  a { text-decoration: none; }
  a::before, a::after { display: none !important; }
  .addr { display: block; margin: 0; font-size: .92rem; color: #824d43; overflow-wrap: anywhere; }
  span.addr { display: inline; }
  .top { padding: 3mm 6mm; background: var(--moss); color: var(--bone); text-align: left; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .lockup { display: grid; grid-template-columns: 25mm 1fr; gap: 6mm; align-items: center; padding: 0; }
  .top .mark { width: 100%; margin: 0; }
  .top h1 { margin: 0; font-size: 2.6rem; }
  .top .lede { max-width: none; margin: 1mm 0 0; font-size: 1.3rem; line-height: 1.25; }
  .sheet { max-width: none; padding: 0; }
  .sheet section { display: grid; grid-template-columns: 22mm minmax(0, 1fr); column-gap: 5mm; padding: 1.8mm 0 1.6mm; border-color: #cabdae; }
  .sheet h2 { margin: 0; font-size: 1.7rem; line-height: 1.1; text-align: right; color: #824d43; }
  .sheet h3 { margin: 1.6mm 0 0; font-size: 1.25rem; color: #824d43; }
  .sheet .meta, .ledger small, .sheet .when, .sheet .when span { color: #5c4a41; }
  p { margin: 0 0 .4em; }
  .body { padding-right: 3mm; }
  .body > p { max-width: none; }
  .body > p:last-child { margin-bottom: 0; }
  .ledger { grid-template-columns: 1fr 1fr; gap: 0 6mm; }
  .ledger div { padding: .4mm 0; border: 0; }
  .ledger dt, .why { font-size: 1.15rem; color: #824d43; }
  .ledger dd { font-size: 1rem; line-height: 1.3; }
  .ledger small { font-size: .85rem; line-height: 1.3; }
  .tracks { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 5mm; max-width: none; }
  .tracks li, .tracks li:first-child { grid-template-columns: 11mm minmax(0, 1fr); column-gap: 2.5mm; min-width: 0; padding: 0; border: 0; }
  .tracks .cover { box-shadow: none; border-radius: 1px; }
  .tracks .meta { margin: 0; }
  a[data-play] { font-size: 1.25rem; }
  .sheet .shows, .plain { max-width: none; }
  .cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6mm; }
  .cols > div { min-width: 0; }
  .cols > div + div { margin-top: 0; }
  .sheet .shows li { display: grid; grid-template-columns: 17mm minmax(0, 1fr); column-gap: 2mm; padding: .5mm 0; border: 0; }
  .sheet .when, .sheet .when span { font-size: 1.1rem; }
  .sheet .where { font-size: 1rem; }
  .plain li { padding: 0 0 .5mm; }
  .plain .meta { display: inline; }
  .plain a { display: inline; padding: 0; margin: 0; }
  .sheet .cta { display: block; margin: 0; }
  .btn, .btn.ghost { min-height: 0; padding: 0 1em 0 0; border: 0; background: none; color: inherit; font: inherit; }
  .press footer { padding: 2mm 0 0; background: none; color: #5c4a41; text-align: left; border-top: 1px solid #cabdae; }
  .press footer .meta { display: inline; margin-right: 1.5em; color: inherit; font-size: .92rem; }
}
