:root {
  color-scheme: dark;
  --ink: #101010;
  --paper: #f5f2fa;
  --muted: #c0b7cb;
  --accent: #c18aff;
  --line: #392b45;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --gothic: "New Rocker", "Old English Text MT", Georgia, serif;
  font-family: "IBM Plex Mono", monospace;
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
#theme-toggle {
  position: fixed;
  z-index: 5;
  top: max(.75rem, env(safe-area-inset-top));
  left: max(.75rem, 2vw, env(safe-area-inset-left));
  padding: .45rem .6rem;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--line);
  font: inherit;
  cursor: pointer;
}
#theme-toggle:hover { border-color: var(--accent); }
.music-header #theme-toggle { position: absolute; top: 50%; transform: translateY(-50%); }
@media (max-width: 45rem) {
  .music-header.home-header { padding: 1.4rem min(27vw, 7rem); }
  .music-header #theme-toggle {
    top: calc(100% + .4rem);
    transform: none;
    font-size: .75rem;
  }
  .home-header .wordmark { font-size: clamp(.9rem, 3.5vw, 1.45rem); }
}
html[data-subpage] #top { display: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid white; outline-offset: 5px; }
.wordmark { font: 400 1.45rem/1 var(--gothic); letter-spacing: .06em; }
.wordmark:hover { color: var(--accent); }
.site-signature {
  position: fixed; right: max(.75rem, env(safe-area-inset-right));
  bottom: max(.5rem, env(safe-area-inset-bottom)); z-index: 2;
  color: #fff; font: 600 1.0625rem/1 "IBM Plex Mono", monospace;
  text-shadow: 0 1px 4px #000, 0 0 8px #000;
  pointer-events: none;
}
.hero {
  position: relative; isolation: isolate;
  --title-spacing: clamp(1.5rem, 4.2vh, 2.5rem);
  min-height: 100svh; display: grid; align-content: end; justify-items: center;
  gap: var(--title-spacing); padding: 4.5rem 4vw var(--title-spacing); text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #090607; opacity: 0; transition: opacity .25s ease;
}
.hero h1 {
  position: relative; isolation: isolate; z-index: 2;
  width: calc(100% + 8vw); pointer-events: none;
  font: 400 clamp(1.2rem, 3.48vw, 4.02rem)/1.05 var(--gothic);
  text-shadow: 0 4px 28px #080606, 0 2px 2px #000;
  transition: opacity .25s ease;
}
.hero.intro-playing { overflow: clip; }
.hero.intro-playing #title > span { visibility: hidden; }
.home-intro {
  position: fixed; inset: 0; z-index: 6; overflow: hidden;
  pointer-events: none; color: #f5f2fa; text-align: center;
}
.home-intro-black, .home-intro-mist { position: absolute; inset: 0; }
.home-intro-black { background: #000; }
.home-intro-mist {
  background: url("assets/intro-clouds.webp") center / cover no-repeat;
  filter: grayscale(.65);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 50% 50% at center, #000 50%, transparent 100%);
}
.home-intro-mist-right {
  background-position: center 65%;
}
.home-intro-word {
  position: absolute;
  white-space: nowrap;
  text-shadow: 0 4px 28px #080606, 0 2px 2px #000;
}
.hero h1::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: calc(-1 * var(--title-spacing) - 1.5rem) 0 calc(-1 * var(--title-spacing));
  background: linear-gradient(#11110926, #100d0955 35%, #0c0a07b0), var(--ground-art);
  filter: saturate(.58) sepia(.32);
  background-size: 100% 100%, cover;
  background-position: center, center 19%;
  mask-image: linear-gradient(to bottom, transparent, #000 1.6rem);
}
.stones {
  position: relative;
  width: min(100%, 87.6rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; gap: clamp(.42rem, 1.92vw, 1.8rem);

}
.stone {
  display: grid; place-items: center; position: relative; isolation: isolate;
  aspect-ratio: .84;
  font: 400 clamp(.8rem, 3.96vw, 3.84rem)/1 var(--gothic);
  color: var(--paper);
  text-shadow: 0 -2px 1px #211819, 0 2px 2px #110c0e;
  transition: filter .25s ease;
}
.stone-motion, .stone-content {
  position: absolute; inset: 0; pointer-events: none;
}
.stone-content {
  display: grid; place-items: center;
  isolation: isolate;
  transition: transform .25s ease;
}
.stone:focus-visible { outline: none; }
.stone:focus-visible .stone-content { outline: 2px solid white; outline-offset: 5px; }
.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus]))) .stone-content {
  transform: scale(1.1);
}
.stone-content::before {
  content: ""; position: absolute; inset: -5% -2% 0; z-index: -1;
  background: var(--headstone-art) center bottom / contain no-repeat;
  filter: drop-shadow(0 .75rem .85rem #050304ba);
  pointer-events: none;
  transform: translateY(var(--art-offset, 0%)) scale(calc(var(--art-scale, 1) * var(--hover-art-scale, 1)));
  transition: transform .25s ease;
}
@property --tilt-x {
  syntax: "<angle>"; inherits: false; initial-value: 0deg;
}
@property --tilt-y {
  syntax: "<angle>"; inherits: false; initial-value: 0deg;
}
.stone-label {
  /* Rear artwork uses these offsets. Keep pointer updates out of the label subtree. */
  --depth-x: 0px; --depth-y: 0px;
  position: absolute; top: 59%;
  transform: translateY(-50%) scale(var(--label-scale, 1));
  transition: transform .25s ease;
  pointer-events: none;
}
.stone:nth-child(2) { --art-scale: 1.199; --art-offset: -9.95%; }
.stone:nth-child(2) .stone-label { top: 50.5%; --label-scale: 1.1; }
.stone-label { transform-origin: center; }
.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus]))) .stone-label {
  transform: translateY(-50%) scale(calc(var(--label-scale, 1) * var(--hover-label-scale, 3.6)));
}
@media (max-width: 110rem) {
  .stone:is(:first-child, :last-child) { --hover-label-scale: 2.55; }
}
@media (max-width: 36rem) {
  .stone:is(:first-child, :last-child) { --hover-label-scale: 2.25; }
}
.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus]))) {
  --hover-art-scale: 1.2;
  z-index: 3;
}
.stone-label::after {
  content: attr(data-glow) / "";
  position: absolute; inset: 0;
  color: var(--paper); opacity: 0;
  text-shadow: 0 0 3px #ffffff7a, 0 0 8px #e1bfffa2, 0 0 20px #c18aff96, 0 0 32px #bb7cff60;
}
.stone:hover:where([data-stone-hover] *) .stone-label::after { opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .stone-content::after {
    content: ""; position: absolute; inset: -5% -2% 0; z-index: -2;
    pointer-events: none;
    background: var(--headstone-back) center bottom / contain no-repeat;
    translate: var(--depth-x, 0px) var(--depth-y, 0px);
    transform: translateY(var(--art-offset, 0%)) scale(calc(var(--art-scale, 1) * var(--hover-art-scale, 1)));
    transition: transform .25s ease, translate .25s ease;
  }
  .stone-motion {
    transition: transform .25s ease;
  }
  .stone-motion.tracking {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: none;
    will-change: transform;
  }
  .stone-motion.tracking .stone-content::after { transition-property: transform; }
  .stone:hover:where([data-stone-hover] *) .stone-label { will-change: transform; }
}
.hero:has(.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus]))))::before { opacity: .24; }
.hero:has(.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus])))) h1 { opacity: .74; }
.stones:has(.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus])))) .stone:not(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus]))) { filter: brightness(.74); }
/* Keep the resting layout aligned near the bottom of the hero. */
.stones { min-height: min(44vw, 42rem); }
@media (prefers-reduced-motion: reduce) {
  .stone, .stone-content, .stone-content::before, .stone-label, .hero::before, .hero h1 { transition: none; }
}
.eyebrow, .status { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .875rem; font-weight: 600; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
.button {
  display: inline-block; padding: .95rem 1.3rem; background: var(--accent);
  color: #160c0c; font-size: .875rem; font-weight: 600; text-transform: uppercase;
}
.button:hover { background: var(--paper); }
.section { padding: 4rem 6vw; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
h2 { font-size: clamp(2.65rem, 6.5vw, 5.5rem); line-height: .95; font-weight: 800; }
h3 { font-size: 2rem; line-height: 1; font-weight: 800; }
p { line-height: 1.6; }
.catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1rem; }
#catalog, #agony-catalog { width: max(50%, min(33rem, 100%)); margin-inline: auto; }
.phone-catalog:not([hidden]) { display: block; min-width: 0; }
#phone-catalog-tools > p:not([hidden]) { text-align: center; }
#phone-catalog-tools > button { display: none; }
@media (max-width: 36rem) {
  #phone-catalog-tools > button:not([hidden]) {
    display: grid;
    place-items: center;
    position: fixed;
    top: var(--mobile-cart-top);
    left: max(.75rem, 2vw, env(safe-area-inset-left));
    z-index: 5;
    width: var(--mobile-cart-height, 2.75rem);
    height: var(--mobile-cart-height, 2.75rem);
    min-width: 0;
    min-height: 0;
    padding: 0;
    font-size: 1.25rem;
  }
}
#catalog:has(.phone-catalog), #agony-catalog:has(.phone-catalog),
.legacy-items:has(.phone-catalog) { display: block; min-width: 0; }
.legacy-items:has(.phone-catalog) { width: 100%; }
@media (max-width: 36rem) {
  #catalog:has(.phone-catalog), #agony-catalog:has(.phone-catalog) { width: 100%; }
}
.phone-carousel-tools { display: flex; justify-content: center; padding: .25rem 0 .6rem; }
.phone-carousel-tools[hidden], .phone-carousel-track[hidden] { display: none; }
.phone-carousel-tools > div { display: flex; gap: .3rem; }
.phone-carousel-tools button, #phone-catalog-tools button {
  min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line);
  color: var(--paper); background: var(--ink); font: inherit; cursor: pointer;
}
.phone-carousel-track {
  --peek: 0px;
  --gap: clamp(8px, 1vw, 16px);
  --slot-width: calc((100% - (var(--phone-columns) - 1) * var(--gap)) / var(--phone-columns));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 4px var(--peek) 10px;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.has-neighbors .phone-carousel-track { --peek: 18px; }
.has-neighbors[data-view="1"] .phone-carousel-track { --peek: 13%; }
.phone-carousel-slide {
  grid-area: 1 / 1;
  width: var(--slot-width);
  min-width: 0;
  transform: translate3d(calc(var(--slot) * (100% + var(--gap)) + var(--drag, 0px)), 0, 0);
}
.phone-carousel-slide > article {
  min-width: 0;
  transform: perspective(700px) rotateY(var(--turn));
}
.phone-carousel-slide.is-side > article {
  transform: perspective(700px) rotateY(var(--turn)) scale(.91);
  opacity: .72;
}
.phone-carousel-slide.is-away { visibility: hidden; }
.phone-carousel-slide h3 { overflow-wrap: anywhere; }
.store-products .has-one-product .phone-carousel-slide { justify-self: center; }
@media (prefers-reduced-motion: no-preference) {
  .phone-carousel-track:not(.is-dragging) > .phone-carousel-slide:not(.is-repositioning),
  .phone-carousel-slide > article {
    transition: transform 260ms ease-out, opacity 260ms ease-out;
  }
}
@media (max-width: 36rem) {
  .phone-carousel-slide article > div { padding: .55rem; }
  .phone-carousel-slide h3 { font-size: 1rem; line-height: 1.15; }
  .phone-carousel-slide h3 a { text-decoration: none; }
  .phone-carousel-slide article p { font-size: .875rem; }
  .phone-carousel-slide .merch-options > :not(:has(.merch-swatch)),
  .phone-carousel-slide article .button,
  .phone-catalog:not([data-view="1"]) .merch-options { display: none; }
}
.store-products > .section-heading { justify-content: center; text-align: center; }
#catalog:has(> article:only-child) { grid-template-columns: minmax(0, calc((100% - 1rem) / 2)); justify-content: center; }
@media (max-width: 38rem) {
  #catalog:has(> article:only-child) { grid-template-columns: minmax(0, 1fr); }
}
.shop-sort { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin-top: 1.5rem; }
.shop-sort[hidden], .legacy-category[hidden] { display: none; }
.shop-sort-field { display: grid; justify-items: center; gap: .4rem; max-width: 100%; }
.shop-sort-reset { flex-basis: 100%; text-align: center; }
.shop-sort-reset .button { border: 0; cursor: pointer; text-transform: none; }
.shop-sort select {
  width: var(--shop-select-width, 12rem);
  max-width: 100%;
  padding: .55rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  font: inherit;
}
@media (prefers-reduced-motion: no-preference) {
  .shop-sort select { transition: width 280ms ease; }
}
#shop-matches-catalog { grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
#shop-matches-title { margin-block-start: -.12em; }
@supports (text-box-trim: trim-start) {
  #shop-matches-title {
    margin-block-start: 0;
    text-box-trim: trim-start;
    text-box-edge: cap alphabetic;
  }
}
#shop-matches-status:empty { margin: 0; }
#legacy-shop { --self-projection-rgb: 183 109 128; margin-block-start: 100px; padding-inline: 0; }
#legacy-shop > .section-heading { margin-inline: 6vw; justify-content: center; text-align: center; }
#legacy-title {
  position: relative;
  z-index: 3;
  transform: scale(var(--legacy-title-scale, 1));
  transform-origin: center;
  text-shadow:
    0 0 .12em rgb(var(--self-projection-rgb) / calc(var(--legacy-title-glow, 0) * .68)),
    0 0 .28em rgb(var(--self-projection-rgb) / calc(var(--legacy-title-glow, 0) * .52));
  pointer-events: none;
}
@media (max-width: 36rem) {
  #legacy-shop { overflow-x: clip; }
}
#legacy-catalog { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.legacy-category {
  --legacy-shade-direction: to left;
  --legacy-gap: clamp(.75rem, 4vw, 4rem);
  --legacy-inset: calc(6vw + clamp(.75rem, 2vw, 2rem));
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template: "product title" auto / minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--legacy-gap);
  padding: clamp(.75rem, 2vw, 2rem);
  padding-inline: var(--legacy-inset);
  background: #000;
  border-block: 1px solid var(--line);
}
.legacy-category::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(var(--legacy-shade-direction), #0009, #0007 25%, #0004 53%, transparent 100%),
    var(--legacy-cover, none) center / cover no-repeat;
  pointer-events: none;
}
.legacy-category:has(> #legacy-self-projection-beanie) { --legacy-cover: url("assets/legacy/self-projection.png"); }
.legacy-category:has(> #legacy-karma-beanie) { --legacy-cover: url("assets/legacy/karma.png"); }
.legacy-category:has(> #legacy-purple-beanie) { --legacy-cover: url("assets/legacy/purple.png"); }
.legacy-category:has(> #legacy-orange-beanie) { --legacy-cover: url("assets/legacy/orange.png"); }
.legacy-category:nth-child(even) {
  --legacy-shade-direction: to right;
  grid-template: "title product" auto / minmax(0, 1fr) minmax(0, 2fr);
}
.legacy-category:has(> #legacy-eves-poisonous-apple-beanie) {
  --legacy-cover: url("assets/legacy/poisonous-apple.webp");
}
.legacy-category:has(> #legacy-eves-poisonous-apple-beanie)::before {
  inset-inline-end: 55%;
}
.legacy-items {
  grid-area: product;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.55rem, 1.4vw, 1.25rem);
}
.legacy-items h3 { font-size: clamp(1rem, 2.25vw, 2rem); overflow-wrap: anywhere; }
.legacy-category > h3 {
  grid-area: title;
  margin-inline: calc(-1 * var(--legacy-gap)) calc(-1 * var(--legacy-inset));
  padding-inline: .75rem;
  text-align: center;
  color: var(--accent);
  font: 400 clamp(1.65rem, 5.8vw, 6rem)/1.08 var(--gothic);
  text-transform: capitalize;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 8px #000, 0 0 1.25rem #000;
}
.legacy-category:nth-child(even) > h3 {
  margin-inline: calc(-1 * var(--legacy-inset)) calc(-1 * var(--legacy-gap));
}
#legacy-self-projection-beanie { color: rgb(var(--self-projection-rgb)); }
#legacy-karma-beanie { color: #fff; }
#legacy-eves-poisonous-apple-beanie {
  color: #d4c76f;
  font-size: clamp(1.65rem, 5.1vw, 5.4rem);
}
#legacy-eves-poisonous-apple-beanie > span { display: block; }
#legacy-eves-poisonous-apple-beanie > span:first-child { transform: translateX(-.65em); }
#legacy-eves-poisonous-apple-beanie > span:last-child { transform: translateX(.65em); }
#legacy-purple-beanie { color: #b572f2; }
#legacy-orange-beanie { color: #ff8d32; }
@media (max-width: 55rem) {
  .legacy-category, .legacy-category:nth-child(even) {
    grid-template: "title" auto "product" auto / minmax(0, 1fr);
  }
  .legacy-category > h3, .legacy-category:nth-child(even) > h3 { margin-inline: 0; }
}
@media (max-width: 36rem) {
  .legacy-items > article > div { padding: .55rem; }
  .legacy-category .button { padding: .65rem; }
}
.catalog a { text-decoration: underline; }
.catalog .merch-photo-link { display: block; }
.merch-options { display: grid; gap: .55rem; margin-top: .85rem; }
.merch-choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.merch-choice {
  min-width: 2.25rem; min-height: 2.25rem; padding: .3rem .5rem;
  border: 1px solid var(--line); background: var(--ink);
  color: var(--paper); font: inherit; cursor: pointer;
}
.merch-choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.merch-choice:disabled { opacity: .4; cursor: default; }
.merch-swatch { border-radius: 2rem; background: var(--swatch, var(--ink)); }
.catalog article:has(.merch-options:hover, .merch-options :focus-visible) .has-alternate .merch-image-alternate { opacity: 0; }
.product-page { max-width: 96rem; margin-inline: auto; }
.product-back { display: inline-block; margin-bottom: 1.5rem; color: var(--accent); text-decoration: underline; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.product-gallery { display: grid; grid-template-columns: minmax(3rem, 5rem) minmax(0, 1fr); gap: .75rem; align-items: start; }
.product-gallery[hidden], .product-details [hidden] { display: none; }
.product-hero { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden; background: #171313; border: 1px solid var(--line); cursor: zoom-in; }
.product-hero > img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .product-hero:not(.is-zoomed):hover > img { transform: scale(2); }
}
.product-hero.is-zoomed { touch-action: none; cursor: grab; }
.product-hero.is-zoomed > img {
  transform-origin: 0 0;
  transform: translate3d(var(--photo-x, 0px), var(--photo-y, 0px), 0) scale(2);
}
.product-hero.is-panning { cursor: grabbing; }
@media (prefers-reduced-motion: no-preference) {
  .product-hero:not(.is-panning) > img { transition: transform 180ms ease-out; }
}
.product-thumbs { display: grid; gap: .55rem; }
.product-thumbs button { padding: 0; background: #171313; border: 1px solid var(--line); cursor: pointer; }
.product-thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.product-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-details h1 { font: 400 clamp(2rem, 4vw, 4rem)/1.08 var(--gothic); }
.product-price { font-size: 1.25rem; color: var(--accent); }
.product-options { margin-block: 1rem; }
.product-options > p { margin: 0 0 .4rem; }
.product-details .button { border: 0; cursor: pointer; }
.product-details .button:disabled { opacity: .55; cursor: default; }
.product-details details { padding-block: .85rem; border-block: 1px solid var(--line); }
.product-details summary { cursor: pointer; }
@media (max-width: 45rem) {
  .product-layout, .product-gallery { grid-template-columns: minmax(0, 1fr); }
  .product-hero { grid-row: 1; }
  .product-thumbs { display: flex; overflow-x: auto; padding: .3rem; }
  .product-thumbs button { flex: 0 0 3.5rem; }
}
.catalog select {
  display: block;
  max-width: 100%;
  margin-top: .85rem;
  padding: .55rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
}
.catalog [hidden], .merch-cart [hidden] { display: none; }
.catalog .button, .merch-cart .button { border: 0; cursor: pointer; }
.catalog .button:disabled, .merch-cart .button:disabled { opacity: .55; cursor: default; }
.store-header { position: relative; z-index: 4; }
.cart-menu {
  position: fixed;
  top: max(var(--cart-top, .75rem), env(safe-area-inset-top));
  right: max(.75rem, 2vw, env(safe-area-inset-right));
}
#cart-toggle { padding: .45rem .6rem; color: var(--paper); background: var(--ink); border: 1px solid var(--line); font: inherit; cursor: pointer; }
#cart-toggle { transform-origin: top right; scale: 1; }
.cart-scrolled { --cart-scale: 1.21; }
.cart-scrolled #cart-toggle { scale: var(--cart-scale); }
.merch-cart {
  position: absolute; top: 100%; right: 0;
  width: min(24rem, 94vw); max-height: 68vh; overflow: auto;
  padding: 1.35rem; border: 1px solid var(--line);
  background: var(--ink); text-align: left; box-shadow: 0 .75rem 2rem #0009;
}
.cart-scrolled .merch-cart { top: calc(100% * var(--cart-scale)); }
@media (max-width: 45rem) {
  body { --mobile-cart-top: max(calc(var(--mobile-store-header-height, 4rem) + 2.7rem - var(--mobile-store-scroll, 0px)), .5rem, env(safe-area-inset-top)); }
  .cart-menu { top: var(--mobile-cart-top); }
  .cart-scrolled { --cart-scale: 1; }
  .music-intro.store-intro { padding-top: 6rem; }
  .store-header + main > .product-page { padding-top: 6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  #cart-toggle { transition: scale 180ms ease-out; }
  .merch-cart { transition: top 180ms ease-out; }
}
.merch-cart ul { list-style: none; padding: 0; }
.merch-cart li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: .65rem; }
.merch-image { position: relative; margin: 0; }
.merch-image .merch-image-alternate {
  position: absolute; inset: 0; height: 100%;
  background: #171313; opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .merch-image-alternate { transition: opacity 280ms ease; }
}
.catalog article:has(:focus-visible) .has-alternate .merch-image-alternate { opacity: 1; }
@media (hover: hover) {
  .catalog article:hover .has-alternate .merch-image-alternate { opacity: 1; }
}
.empty { grid-column: 1 / -1; display: flex; gap: 1.4rem; align-items: center; padding: clamp(1.2rem, 4vw, 3rem); }
.empty, article { border: 1px solid var(--line); background: #171313; }
.emblem { font-size: 2.5rem; color: var(--accent); }
.empty p, .about p:not(.eyebrow), article p { color: var(--muted); margin: .6rem 0 0; }
article img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
article > div { padding: 1.35rem; }
article .button { margin-top: 1rem; }
.show-struck { text-decoration-color: #ff4545; text-decoration-thickness: 2px; }
.show-listing { text-align: center; }
.music-intro .shows-heading { font-size: clamp(2.5rem, 8vw, 7rem); }
.show-listing h3 { font: 400 clamp(1.75rem, 5vw, 3rem)/1.1 var(--gothic); }
.past-shows-heading { font: 600 .875rem/1.4 "IBM Plex Mono", monospace; margin-bottom: 1.2rem; }
.show-empty { margin: 0; color: var(--muted); }
.show-details { margin: 1rem 0 1.4rem; color: var(--muted); }
@media (max-width: 36rem) {
  .section { padding-block: 3rem; }
}
:root { --headstone-art: url("assets/outer-stone-front.webp"); }
.stone:nth-child(2) { --headstone-art: url("assets/center-stone-front.webp"); }
.music-header {
  position: relative;
  padding: 1.4rem 6vw;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.5rem);
}
.page-nav a:first-child { justify-self: end; }
.page-nav a:last-child { justify-self: start; }
.page-nav a:not(.wordmark) { font-size: .875rem; }
.page-nav a:hover { color: var(--accent); }
#top { position: relative; }
.home-header {
  position: absolute; inset: 0 0 auto; z-index: 2;
  background: var(--ink); transition: transform .25s ease;
}
#top:has(.stone:is(:hover:where([data-stone-hover] *), :focus-visible:where(:not([data-restored-focus])))) .home-header {
  transform: translateY(-100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .home-header { transition: none; }
}
.music-intro {
  position: relative; isolation: isolate;
  padding: clamp(3rem, 10vw, 7rem) 6vw;
  text-align: center;
}
.music-intro .eyebrow { margin: 0 0 .55rem; }
.music-intro.store-intro { padding-bottom: 50px; }
.section.store-products:has(#catalog), #shop-matches { padding-top: 0; }
.cemetery-backdrop {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  z-index: -2;
}
.cemetery-backdrop::before {
  content: ""; position: absolute; inset: -14px;
  background: linear-gradient(180deg, #0a08092b, #100b0b0d 49%, #100b0bcc),
    var(--home-backdrop) center 35% / cover no-repeat, #100b17;
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0);
  transition: transform .45s ease-out;
}
.cemetery-backdrop.tracking::before { transition: none; }
.music-intro .cemetery-backdrop::before {
  background: linear-gradient(#120b0bb0, var(--ink)), url("assets/interior-cemetery.webp") center 35% / cover;
  filter: hue-rotate(275deg);
}
@media (max-width: 36rem) {
  .hero .cemetery-backdrop::before { background-position: center, 62% center, center; }
}
@media (prefers-reduced-motion: reduce) {
  .cemetery-backdrop::before { transform: none; transition: none; }
}
.music-intro h1 { font: 400 clamp(4rem, 13vw, 9rem)/1 var(--gothic); }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.8rem; }
.platforms a {
  padding: .65rem 1rem;
  border: 1px solid #63467d;
  background: #160f1e;
  font-size: .9rem;
}
.platforms a:hover, .music-video a:hover { color: var(--accent); border-color: var(--accent); }
.music-videos { width: min(94%, 100rem); margin: 0 auto; padding: 1rem 0 4rem; }
.music-videos h2 { margin-bottom: 1rem; font: 400 clamp(1.75rem, 5vw, 3rem)/1.1 var(--gothic); }
.music-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #080707; }
.music-video a { display: inline-block; margin-top: .65rem; color: var(--muted); text-decoration: underline; }
:root { --ground-art: url("assets/ground.jpeg"); }
:root { --home-backdrop: url("assets/home-cemetery.jpeg"); }
.platforms a { display: grid; place-items: center; min-width: 3rem; min-height: 3rem; padding: .55rem; }
.platforms img { display: block; }
.download-jump { margin-top: 1.1rem; }
.video-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin-bottom: 1rem; }
.video-heading h2 { margin: 0; }
#video-search {
  font: inherit; color: var(--paper); background: #160f1e; border: 1px solid #63467d;
  width: min(100%, 16rem); padding: .6rem .8rem; border-radius: .75rem;
}
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
#video-size { display: none; }
@media (max-width: 36rem) {
  #video-size {
    display: grid; place-items: center;
    width: 2.75rem; height: 2.75rem; padding: 0; margin-bottom: .75rem;
    border: 1px solid var(--line); color: var(--paper); background: var(--ink);
    font: inherit; font-size: 1.25rem; cursor: pointer;
  }
  .video-grid {
    grid-template-columns: repeat(var(--video-columns, 1), minmax(0, 1fr));
    gap: .5rem;
  }
  .music-video iframe { height: auto; }
  .music-video > div { padding: .5rem; overflow-wrap: anywhere; }
  .music-video h3 { font-size: 1rem; line-height: 1.15; }
  .music-video a { font-size: .75rem; }
}

#free-downloads {
  --downloads-gutter: max(3%, calc((100% - 100rem) / 2));
  position: relative;
  isolation: isolate;
  overflow: clip;
  width: 100%;
  padding-inline: var(--downloads-gutter);
}
#free-downloads::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 1.25rem 0 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 82% 100%, #8350ad80, transparent 65%),
    radial-gradient(ellipse at 58% 110%, #6535808c, transparent 67%),
    radial-gradient(ellipse at 16% 115%, #73439770, transparent 65%),
    linear-gradient(0deg, #39204a9c, #512b635c);
  mask-image: linear-gradient(
    to top,
    #000 0%,
    rgb(0 0 0 / 85%) 5%,
    rgb(0 0 0 / 71%) 10%,
    rgb(0 0 0 / 57%) 16%,
    rgb(0 0 0 / 42%) 24%,
    rgb(0 0 0 / 28%) 34%,
    rgb(0 0 0 / 16%) 46%,
    rgb(0 0 0 / 7%) 60%,
    rgb(0 0 0 / 2%) 76%,
    transparent 100%
  );
}
#downloads-title, .album-list { position: relative; z-index: 2; }
.downloads-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 3rem);
}
.downloads-portrait {
  position: absolute;
  inset: 1rem var(--downloads-gutter) 0 50%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.downloads-portrait img {
  display: block;
  flex: none;
  width: auto;
  height: 100%;
  opacity: .88;
  /* Compensate for the space between the tilted shoulder and the image edge. */
  transform: translate(7.5%, .25rem) rotate(4deg) scale(1.015);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, #000 8%, #000b 48%, #0000 100%);
}
@media (max-width: 42rem) {
  #free-downloads { padding-bottom: 0; }
  .downloads-layout { position: relative; grid-template-columns: minmax(0, 1fr); }
  .downloads-portrait { inset: 0 0 0 18%; }
  .downloads-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right top;
    opacity: .45;
  }
  #free-downloads .album-row { background: transparent; }
}
.album-list { display: grid; gap: .75rem; }
.album-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem;
  transform-origin: var(--album-zoom-origin, center);
}
.album-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: 0 0 1.65rem #a65bdf70, 0 0 .4rem #c18aff80;
  opacity: 0;
}
.album-row:focus-within { z-index: 1; }
.album-row:focus-within::after { opacity: 1; }
@media (hover: hover) {
  .album-row:hover { z-index: 1; }
  .album-row:hover::after { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .album-row { transition: transform 220ms ease-out; }
  .album-row::after { transition: opacity 220ms ease-out; }
  .album-row:focus-within {
    transform: scale(1.1);
    transition-duration: 750ms;
    transition-timing-function: cubic-bezier(.12, .72, .24, 1);
  }
  @media (hover: hover) {
    .album-row:hover {
      transform: scale(1.1);
      transition-duration: 750ms;
      transition-timing-function: cubic-bezier(.12, .72, .24, 1);
    }
  }
  @media (max-width: 42rem) {
    .album-row:focus-within { transform: scale(1.05); }
    @media (hover: hover) {
      .album-row:hover { transform: scale(1.05); }
    }
  }
}
.album-row img { flex: none; width: min(12.5rem, 38%); height: auto; aspect-ratio: 1; }
.album-row > div { padding: 0; }
.album-row h3, .album-row .album-download { font-family: Arial, sans-serif; }
.album-row h3 { font-weight: 600; font-size: clamp(1.35rem, 4vw, 2rem); }
.album-row .album-download { border: 0; margin-top: .65rem; }

:root[data-theme="light"][data-subpage],
:root[data-theme="light"]:not([data-subpage]) :is(.home-header, #theme-toggle) {
  color-scheme: light;
  --ink: #f3eef7;
  --paper: #24182d;
  --muted: #594865;
  --accent: #683891;
  --line: #c8b9d3;
  --light-surface: #fffafd;
}
:root[data-theme="light"]:not([data-subpage]) .home-header { color: var(--paper); }
[data-theme="light"] .button { background: var(--accent); color: #fff; }
[data-theme="light"] .button:hover { background: #492465; }
[data-theme="light"] .platforms img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(38%) saturate(2200%) hue-rotate(247deg) brightness(91%) contrast(93%);
}
[data-theme="light"][data-subpage] :focus-visible,
[data-theme="light"] :is(.home-header a, #theme-toggle):focus-visible { outline-color: var(--accent); }
[data-theme="light"] :is(.empty, article, .product-hero, .product-thumbs button, .merch-image-alternate, .platforms a, #video-search) {
  background: var(--light-surface);
}
[data-theme="light"] .music-intro .cemetery-backdrop::before {
  background: linear-gradient(#f3eef7b8, var(--ink)), url("assets/interior-cemetery.webp") center 35% / cover;
  filter: none;
}
[data-theme="light"][data-subpage] .site-signature {
  color: var(--paper);
  background: var(--ink);
  padding: .25rem .4rem;
  text-shadow: none;
}

:root { --headstone-back: url("assets/outer-stone-back.webp"); }
.stone:nth-child(2) { --headstone-back: url("assets/center-stone-back.webp"); }
.phone-carousel-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
