:root {
  color-scheme: dark;
  --ink: #110f0e;
  --panel: #1b1714;
  --cream: #f2d9ae;
  --muted: #d1bda4;
  --red: #b62425;
  --bright: #fa6c58;
  --line: #917354;
  --head: Impact, 'Arial Narrow', 'Franklin Gothic Heavy', sans-serif;
  font-family: system-ui, sans-serif;
  color: var(--cream);
  background: #0b0a09;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0 auto; max-width: 110rem; }
html { scroll-padding-top: 1rem; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ffae71; outline-offset: 5px; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 2; padding: .7rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead, .hero, .feature, .catalog, footer {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(115deg, #e6b48006 0 1px, transparent 1px 6px), radial-gradient(ellipse at 60% 30%, #33201948, transparent 70%);
}
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem clamp(1rem, 4vw, 4rem); border: 1px solid var(--line); }
.wordmark { font: italic clamp(1.65rem, 4vw, 3.4rem)/.95 var(--head); letter-spacing: -.03em; text-transform: uppercase; text-decoration: none; text-shadow: .075em .07em #9d2020; transform: rotate(-3deg); white-space: nowrap; }
.wordmark span { font-size: .48em; vertical-align: top; }
.masthead nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem clamp(1rem, 4vw, 3.8rem); }
.masthead nav a { font: clamp(1.05rem, 1.8vw, 1.4rem)/1.25 var(--head); text-transform: uppercase; text-decoration: none; letter-spacing: .12em; padding: .3rem 0; }
.masthead nav a:hover, .masthead nav a:focus-visible, footer a:hover { color: var(--bright); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 2.75rem; padding: .55rem .95rem; border: 1px solid transparent; border-radius: 2px; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .075em; font: 1rem/1.1 var(--head); letter-spacing: .075em; cursor: pointer; }
.primary { color: #fff1da; background: var(--red); }
.primary:hover { background: #96191b; }
.outline { color: var(--cream); background: #100c0bc9; border-color: var(--cream); }
.outline:hover { color: var(--ink); background: var(--cream); }
.cart-button { white-space: nowrap; }
.cart-button span { color: inherit; }

.hero { position: relative; min-height: clamp(28rem, 43vw, 43rem); display: grid; grid-template-columns: 40% 34% 26%; align-items: center; overflow: hidden; isolation: isolate; border: 1px solid var(--line); border-top: 0; }
.hero-art { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 47%; background: url('assets/album.jpg') center 43% / cover no-repeat; mask-image: linear-gradient(to right, #000 76%, transparent 100%); }
.hero-copy { grid-column: 2; text-align: center; padding: 2.5rem .5rem; z-index: 1; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: .8rem; font: .95rem/1.25 var(--head); letter-spacing: .24em; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ''; width: 2.15rem; height: 1px; background: var(--line); }
h1, h2, h3, p { margin: 0; }
h1 { font: italic clamp(3.1rem, 6.45vw, 7.2rem)/.9 var(--head); text-transform: uppercase; letter-spacing: -.025em; text-shadow: .04em .045em #5d362b; margin: 1.25rem 0 .85rem; transform: rotate(-3deg); }
.release-line { font: italic clamp(1.7rem, 4.05vw, 3.9rem)/1.1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--bright); transform: rotate(-3deg); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.75rem; }
.hero-record { grid-column: 3; position: relative; aspect-ratio: 1.15; width: 98%; align-self: center; margin-top: 1rem; }
.cover-art { background: #54221b url('assets/album.jpg') center / cover no-repeat; }
.disc { aspect-ratio: 1; border-radius: 50%; position: absolute; background: radial-gradient(circle, #2d211a 0 4%, #9e2624 4% 19%, transparent 20%), repeating-radial-gradient(circle, #ffffff1e 0 1px, transparent 1px 4px), conic-gradient(#111, #252127 20%, #0a0a0a 34%, #3b3838 55%, #111 64%, #191719 83%, #111); border: 1px solid #69615a; box-shadow: .45rem .8rem 1.2rem #0009; }
.sleeve { aspect-ratio: 1; position: absolute; border: 1px solid #c7a075; box-shadow: .5rem .6rem 1.1rem #000b; }
.hero-record .disc { width: 80%; right: 3%; top: 3%; }
.hero-record .sleeve { width: 77%; left: 0; top: 4%; transform: rotate(-3deg); }

.features { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.feature { position: relative; isolation: isolate; min-height: 18rem; padding: 1.7rem clamp(1rem, 2.4vw, 2.5rem); overflow: hidden; border: 1px solid var(--line); border-top: 3px solid #bd976a; }
.feature-copy { position: relative; z-index: 1; }
.feature h2, .catalog h2 { width: fit-content; font: italic clamp(2.5rem, 4vw, 4.6rem)/1 var(--head); text-transform: uppercase; letter-spacing: -.025em; transform: rotate(-4deg); }
.feature h2::after, .catalog h2::after { content: ''; display: block; height: .26rem; margin-top: .23rem; background: var(--red); clip-path: polygon(0 85%, 17% 35%, 100% 0, 86% 65%, 4% 100%); }
.feature h3 { margin: 1.2rem 0 .4rem; font: 1.2rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.feature p { max-width: 27ch; color: var(--muted); }
.feature .button { margin-top: 1.05rem; }
.tour .feature-copy { margin-left: 52%; }
.band-photo { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 65%; background: url('assets/band.jpg') 43% center / cover no-repeat; mask-image: linear-gradient(to right, #000 67%, transparent 100%); }
.small-label { margin: 1rem 0 .45rem; font-size: .84rem; }
.dates { margin: 0; padding: 0; list-style: none; }
.dates li { display: grid; grid-template-columns: 3.6rem 1fr; gap: .3rem; padding: .24rem 0; font: 1rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .035em; }
.dates li span:first-child { color: var(--muted); }
.news .feature-copy { max-width: 76%; }
.amp { position: absolute; z-index: -1; width: 51%; height: 87%; right: -7%; bottom: -6%; transform: rotate(-12deg); border: .65rem solid #302820; border-top-width: 2.1rem; border-radius: .45rem; background: repeating-linear-gradient(0deg, #8d775a35 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, #8d775a35 0 1px, #1c1a17 1px 4px); box-shadow: inset 0 0 1.1rem #000, 0 0 1.5rem #000; opacity: .55; }
.amp::before { content: ''; position: absolute; height: .65rem; top: -1.4rem; left: 8%; right: 8%; background: radial-gradient(circle, #766958 0 36%, #0c0c0c 38% 51%, transparent 53%) left center / 1.25rem .65rem repeat-x; }
.tee { display: grid; place-items: center; position: absolute; aspect-ratio: 1.04; background: linear-gradient(98deg, #2d2b28, #181715 38%, #252320 52%, #121110 67%, #34302b); clip-path: polygon(19% 11%, 36% 3%, 42% 9%, 50% 12%, 58% 9%, 64% 3%, 81% 11%, 100% 37%, 83% 52%, 74% 44%, 74% 98%, 26% 98%, 26% 44%, 17% 52%, 0 37%); }
.tee-print { width: 37%; aspect-ratio: 1; margin-top: 8%; transform: rotate(-1deg); }
.store-feature .tee { z-index: -1; width: 61%; right: -3%; bottom: 3%; transform: rotate(7deg); }
.store-lead { margin: 1.3rem 0 0; text-transform: uppercase; font: 1.22rem/1.32 var(--head); letter-spacing: .055em; }

.catalog { padding: 3rem clamp(1rem, 5vw, 5.5rem) 4rem; border: 1px solid var(--line); border-top: 0; }
.catalog-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1.25rem 2rem; margin-bottom: 2rem; }
.catalog-heading p, .catalog-note { color: var(--muted); }
.catalog-note { margin: 0 0 1rem; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); }
.product:target { border-color: var(--bright); }
.product-image { position: relative; aspect-ratio: 1.65; overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #493028, #110e0d 75%); }
.vinyl-image .disc { height: 78%; top: 10%; left: 43%; }
.vinyl-image .sleeve { height: 78%; top: 10%; left: 18%; transform: rotate(-5deg); }
.tee-image .tee { height: 92%; top: 4%; left: 50%; transform: translateX(-50%); }
.digital-image .sleeve { height: 80%; top: 10%; left: 50%; transform: translateX(-50%) rotate(4deg); }
.product-copy { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1rem; }
.product-copy h3 { font: 1.3rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .035em; }
.product-copy p { color: var(--muted); }
.purchase { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; margin-top: auto; padding-top: .45rem; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; padding: 1.2rem clamp(1rem, 5vw, 5.5rem); border: 1px solid var(--line); border-top: 0; color: var(--muted); }
footer a { color: var(--cream); }

dialog { width: min(calc(100% - 2rem), 33rem); max-height: calc(100% - 2rem); padding: clamp(1rem, 4vw, 1.75rem); color: var(--cream); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 1rem 3rem #000a; }
dialog::backdrop { background: #000b; }
body:has(dialog[open]) { overflow: hidden; }
.cart-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.cart-header h2 { font: italic 2.3rem/.95 var(--head); text-transform: uppercase; }
dialog p { color: var(--muted); }
#cart-message { margin-top: .8rem; }
.cart-items { list-style: none; padding: 0; margin: 0; }
.cart-items li, .cart-total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; align-items: center; border-top: 1px solid var(--line); padding: .8rem 0; }
.cart-items li > div { display: flex; align-items: center; gap: .7rem; }
.cart-items button { text-transform: none; letter-spacing: 0; font-family: inherit; }
button:disabled { opacity: .65; cursor: default; }

@media (max-width: 62rem) {
  .masthead { gap: 1rem; }
  .masthead nav { gap: .55rem 1.3rem; }
  .hero { grid-template-columns: 37% 39% 24%; min-height: 26rem; }
  .hero-art { width: 46%; }
  .features { grid-template-columns: 1.3fr 1fr 1fr; }
  .tour .feature-copy { margin-left: 37%; }
  .band-photo { width: 54%; }
  .news .feature-copy { max-width: 89%; }
}
@media (max-width: 46rem) {
  .masthead { display: grid; grid-template-columns: 1fr auto; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
  .cart-button { grid-row: 1; grid-column: 2; }
  .hero { min-height: 31rem; grid-template-columns: 1fr; align-items: end; }
  .hero-art { width: 100%; inset: 0; background-position: center 42%; mask-image: linear-gradient(#000 34%, #000b 58%, transparent 89%); }
  .hero-copy { grid-column: 1; padding: 8rem .85rem 2.2rem; width: 100%; background: linear-gradient(transparent 25%, #110f0eeb 76%); }
  h1 { font-size: clamp(3.05rem, 11vw, 5.6rem); }
  .hero-copy br { display: none; }
  .hero-record { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature { min-height: 15rem; }
  .tour { grid-column: 1 / -1; min-height: 18rem; }
  .tour .feature-copy { margin-left: 54%; }
  .band-photo { width: 66%; }
  .products { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}
@media (max-width: 25rem) {
  .feature { padding-inline: .65rem; }
  .tour .feature-copy { margin-left: 48%; }
  .news .feature-copy { max-width: none; }
  .store-feature .tee { opacity: .55; }
}
