/* Music-Rebels – stage black, venue concrete, and the orange of the logo (bright on black, burnt on white).
   No web fonts are loaded from third parties; headlines use the condensed face each system ships. */
:root {
  --stage: #000;
  --concrete: #e8e9ec;
  --paper: #fff;
  --ink: #14151a;
  --steel: #5d626b;
  --line: #c6c9cf;
  --gel: #c2410c;
  --amber: #f69500;
  --poster: "Bahnschrift", "DIN Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --read: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 1rem/1.5 var(--ui); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--poster); font-stretch: 75%; font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; margin: 0; text-wrap: balance; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: .5rem; top: .5rem; background: var(--amber); color: #000; padding: .5rem .75rem; z-index: 10; }
.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.wrap--text { width: min(100% - 2rem, 43rem); }
.hint { color: var(--steel); }

/* masthead */
.mast { background: var(--stage); color: #fff; }
.mast__in { width: min(100% - 2rem, 76rem); margin-inline: auto; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding: .9rem 0 .6rem; }
.wordmark { display: block; color: var(--amber); font: 700 1.6rem/1 var(--poster); text-decoration: none; }
.wordmark img { height: clamp(1.7rem, 6.2vw, 2.5rem); width: auto; max-width: min(100%, 30rem); object-fit: contain; }
.find { display: flex; flex: 1 1 15rem; max-width: 24rem; }
.find input { flex: 1; min-width: 0; font: inherit; padding: .5rem .7rem; border: 1px solid #4a4d55; border-right: 0; background: #17181c; color: #fff; border-radius: 0; }
.find input::placeholder { color: #a3a7b0; }
.find button { font: 600 .9rem var(--ui); padding: .5rem .9rem; border: 0; background: var(--amber); color: #000; cursor: pointer; }
.rubrics { border-top: 1px solid #2d2f35; overflow-x: auto; scrollbar-width: none; }
.rubrics ul { display: flex; gap: .25rem; width: min(100% - 2rem, 76rem); margin-inline: auto; }
.rubrics a { display: block; white-space: nowrap; padding: .7rem .8rem .6rem; font: 700 1.05rem var(--poster); font-stretch: 75%; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border-bottom: 4px solid transparent; }
.rubrics li:first-child a { padding-left: 0; }
.rubrics a:hover, .rubrics a[aria-current] { border-bottom-color: var(--amber); }

/* section tags: sentence case, colour tells the section */
.tag { display: inline-block; font: 700 .78rem/1 var(--ui); padding: .28rem .45rem; background: var(--ink); color: #fff; text-decoration: none; margin-right: .35rem; }
.tag--tours, .tag--new-music { background: var(--amber); color: #000; }
.tag--concert-stories, .tag--essential-listening { background: var(--gel); }

/* lead story: the photo is the page */
.lead { position: relative; background: var(--stage); color: #fff; }
.lead__link { display: grid; text-decoration: none; }
.lead__link > * { grid-area: 1 / 1; }
.lead img { width: 100%; height: clamp(22rem, 68vh, 44rem); object-fit: cover; }
.lead__txt { align-self: end; padding: 6rem max(1rem, (100% - 76rem) / 2) 1.5rem; background: linear-gradient(to top, #000 12%, rgb(0 0 0 / .72) 55%, transparent); }
.lead h1 { font-size: clamp(2.3rem, 8.5vw, 5.6rem); max-width: 16ch; line-height: .95; }
.lead__txt p { max-width: 46rem; margin: .8rem 0 0; font-size: 1.05rem; color: #e4e5e8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead__link:hover h1 { text-decoration: underline; text-decoration-color: var(--gel); text-decoration-thickness: .08em; text-underline-offset: .12em; }
.lead__tags { position: absolute; top: 1rem; left: max(1rem, (100% - 76rem) / 2); margin: 0; }

/* sections */
.sec { padding: 2.2rem 0 1rem; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 4px solid var(--ink); padding-bottom: .4rem; margin-bottom: .4rem; }
.sec__head h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.sec__head a { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.split { display: grid; gap: 0 3rem; }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; } }

/* running order: day block left, headline right */
.row { display: grid; grid-template-columns: 3.4rem 1fr; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.row time { background: var(--stage); color: #fff; text-align: center; font: 600 .78rem/1.1 var(--ui); padding: .45rem 0 .5rem; align-self: start; }
.row time b { display: block; font: 700 1.55rem/1 var(--poster); font-stretch: 75%; color: var(--amber); }
.row__title { font: 700 1.3rem/1.15 var(--poster); font-stretch: 75%; text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.row__title:hover { text-decoration: underline; text-decoration-color: var(--gel); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.row__meta { margin: .4rem 0 0; font-size: .85rem; color: var(--steel); }
.rows--wide .row__title { font-size: clamp(1.3rem, 3.2vw, 1.7rem); }

/* essential listening picks */
.pickl li { border-bottom: 1px solid var(--line); }
.pickl a { display: grid; grid-template-columns: 5.5rem 1fr; gap: .9rem; padding: .85rem 0; text-decoration: none; align-items: center; }
.pick__img { width: 5.5rem; height: 5.5rem; object-fit: cover; }
.pickl span { font-size: .9rem; color: var(--steel); }
.pickl b { display: block; font: 700 1.15rem/1.15 var(--poster); font-stretch: 75%; text-transform: uppercase; margin-bottom: .2rem; color: var(--ink); }
.pickl a:hover b { text-decoration: underline; text-decoration-color: var(--gel); }
.noimg { display: block; background: repeating-linear-gradient(135deg, #2a2c32 0 10px, #1d1e23 10px 20px); aspect-ratio: 1; }

/* record crate */
.crate { background: var(--stage); color: #fff; padding: 2.2rem 0 2.4rem; margin-top: 1.5rem; }
.crate .sec__head { border-color: var(--amber); }
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1.4rem 1rem; padding-top: 1rem; }
.covers--strip { grid-auto-flow: column; grid-auto-columns: minmax(9.5rem, 12rem); grid-template-columns: none; overflow-x: auto; padding-bottom: .6rem; scroll-snap-type: x proximity; }
.covers--strip .cover { scroll-snap-align: start; }
.cover a { text-decoration: none; display: block; }
.cover__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cover__txt { display: block; padding-top: .55rem; font-size: .9rem; line-height: 1.3; }
.cover__txt b { display: block; font: 700 1.1rem/1.1 var(--poster); font-stretch: 75%; text-transform: uppercase; }
.cover a:hover b { color: var(--gel); }
.crate .cover a:hover b { color: var(--amber); }
.relday { padding: 1.4rem 0 .6rem; }
.relday h2 { font-size: 1.5rem; border-bottom: 4px solid var(--ink); padding-bottom: .35rem; }

/* concert stories */
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 2rem 1.5rem; padding-top: 1.1rem; }
.story a { text-decoration: none; display: block; }
.story__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story__title { display: block; font: 700 1.55rem/1.08 var(--poster); font-stretch: 75%; text-transform: uppercase; padding-top: .7rem; }
.story a:hover .story__title { text-decoration: underline; text-decoration-color: var(--gel); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.story__meta { font-size: .85rem; color: var(--steel); margin: .3rem 0; }
.story p { margin: .3rem 0 0; font-size: .95rem; }

/* list pages */
.phead { padding: 2.2rem 0 1.2rem; }
.phead h1 { font-size: clamp(2.6rem, 9vw, 5rem); }
.phead p { margin: .6rem 0 0; color: var(--steel); max-width: 40rem; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 0; font-weight: 600; }
.empty { padding: 4rem 0; }
.empty h1 { font-size: clamp(2.2rem, 7vw, 4rem); margin-bottom: 1rem; }

/* article */
.post { background: var(--paper); padding-bottom: 2.5rem; }
.preview { background: var(--amber); color: #000; text-align: center; font-weight: 600; margin: 0; padding: .5rem; }
.post__head { padding: 2rem 0 1.2rem; }
.post__head h1 { font-size: clamp(2.2rem, 7.5vw, 4.2rem); margin: .7rem 0 .6rem; }
.post__tags { margin: 0; }
.post__meta { margin: 0; color: var(--steel); font-size: .92rem; }
.post__img { margin: 0 auto 1.6rem; width: min(100%, 76rem); }
.post__img img { width: 100%; max-height: 80vh; object-fit: cover; }
.post__img--cover { width: min(100% - 2rem, 30rem); }
.post__img--cover img { max-height: none; }
.post__img figcaption { font-size: .82rem; color: var(--steel); padding: .4rem 1rem 0; }
.post__img--cover figcaption { padding-left: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem 1.2rem; margin: 0 0 1.6rem; padding: .9rem 0; border-block: 4px solid var(--ink); }
.facts dt { font-size: .8rem; color: var(--steel); }
.facts dd { margin: 0; font: 700 1.2rem/1.15 var(--poster); font-stretch: 75%; text-transform: uppercase; }
.prose { font: 1.13rem/1.65 var(--read); overflow-wrap: break-word; }
.prose p { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .5em; font-size: 1.55rem; }
.prose h3, .prose h4 { font-size: 1.25rem; }
.prose a, .source a { color: var(--gel); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose blockquote { margin: 1.4em 0; padding-left: 1rem; border-left: 5px solid var(--gel); font-style: italic; }
.prose img { margin: 1.4em 0; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font: .82rem var(--ui); color: var(--steel); }
.topics { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.8rem 0 0; font: .9rem var(--ui); }
.topics a { display: block; padding: .3rem .6rem; border: 1px solid var(--ink); text-decoration: none; font-weight: 600; }
.topics a:hover { background: var(--ink); color: #fff; }
.source { margin: 1.8rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--steel); }
.embed { margin: 1.6rem 0; padding: 1rem; background: var(--concrete); border-left: 5px solid var(--amber); font-size: .92rem; }
.embed p { margin: 0 0 .7rem; }
.embed a { margin-left: .6rem; }
.embed.is-loaded { padding: 0; background: none; border: 0; }
.embed iframe { display: block; width: 100%; height: var(--h, 352px); border: 0; }
.embed--video iframe { height: auto; aspect-ratio: 16 / 9; }
.btn { font: 600 .92rem var(--ui); padding: .55rem .9rem; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.gallery { width: min(100% - 2rem, 76rem); margin: 2rem auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 15rem), 1fr)); gap: .5rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.more { padding: 2rem 0 3rem; }
.more h2 { font-size: 1.5rem; border-bottom: 4px solid var(--ink); padding-bottom: .35rem; }
.lightbox { border: 0; padding: 0; background: #000; color: #fff; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgb(0 0 0 / .9); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; }
.lightbox p { margin: 0; padding: .5rem .8rem .7rem; color: #c9ccd1; font-size: .82rem; }
.lightbox__close { position: absolute; top: .5rem; right: .5rem; font: 600 .9rem var(--ui); background: var(--amber); color: #000; border: 0; padding: .45rem .7rem; cursor: pointer; }

/* footer */
.foot { background: var(--stage); color: #c9ccd1; padding: 2.2rem 0 2.6rem; font-size: .95rem; }
main > .wrap:last-child, main > section.wrap:last-child { padding-bottom: 3rem; }
main > .crate:last-child { margin-bottom: 0; }
.foot__in { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.foot__mark { font: 700 1.7rem/1 var(--poster); font-stretch: 75%; text-transform: uppercase; color: #fff; margin: 0 0 .5rem; }
.foot p { margin: 0 0 1rem; max-width: 40rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.foot__links a { color: #fff; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
