@font-face {
  font-family: Barlow;
  src: url('/assets/barlow-condensed-black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url('/assets/space-mono.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
:root {
  --black: #0b0b0b;
  --panel: #151515;
  --line: #373738;
  --muted: #a2a0a0;
  --white: #e8e5e0;
  --red: #ee2c32;
  --mono: Space, 'Courier New', monospace;
  --display: Barlow, Impact, 'Arial Narrow', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; }
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 5;
  opacity: .035; background-image: url('/assets/grain.svg');
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
::selection { background: var(--red); color: var(--black); }
.page-shell { max-width: 1360px; margin: auto; padding: 0 40px; }
header { border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; overflow: hidden; }
.masthead h1 {
  margin: 0; font: 900 clamp(48px, 7vw, 100px)/1 var(--display);
  letter-spacing: -1.5px; white-space: nowrap;
  background: linear-gradient(#faf9f6 10%, #d6d6d3 39%, #777976 47%, #e5e5df 51%, #c5c5c0 61%, #737674 84%, #e1e1dc);
  background-clip: text; -webkit-background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #444);
}
.sigil { width: 54px; height: 54px; flex-shrink: 0; fill: var(--white); transform: rotate(-12deg); }

/* Listening comes first in the document and on phones; artwork sits beside it on desktop. */
.release { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; padding: 28px 0 38px; }
.release > * { min-width: 0; }
.release-info { grid-column: 2; grid-row: 1; }
.art-column { grid-column: 1; grid-row: 1; }
.eyebrow { font: 10px var(--mono); letter-spacing: 1px; color: var(--muted); margin: 0 0 18px; }
.release-info .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--red); margin-bottom: 14px; }
.red-dot { display: inline-block; height: 6px; width: 6px; background: var(--red); }
.release-info h2 { margin: 0; }
.ritual-title { display: block; font: 900 clamp(40px, 4.3vw, 62px)/.92 var(--display); letter-spacing: -.5px; }
.roman { color: var(--red); }
.body-title { display: block; font: italic clamp(58px, 6.2vw, 88px)/1 Georgia, 'Times New Roman', serif; letter-spacing: -5px; white-space: nowrap; margin: 6px 0 10px -3px; }
.title-period { color: var(--red); }
.artist-credit { font: 9px/1.4 var(--mono); letter-spacing: 1px; color: var(--muted); margin: 0 0 18px; }
.artist-credit span { color: var(--red); padding: 0 5px; }
.listen-heading { display: flex; align-items: center; justify-content: space-between; font-size: 20px; line-height: 1.2; margin: 0 0 10px; }
.listen-heading span { color: var(--red); font-size: 20px; }
.platforms { display: grid; gap: 7px; }
.platform { display: flex; align-items: center; gap: 14px; height: 48px; min-height: 48px; padding: 8px 15px; border: 1px solid #555; background: var(--white); color: var(--black); font-size: 17px; transition: background .15s, border-color .15s; }
.platform:hover { background: #fff; border-color: var(--red); }
.platform-icon { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; }
.platform-icon svg { width: 100%; height: 100%; }
.music-note { font-size: 32px; line-height: 1; font-weight: bold; }
.platform-action { display: flex; align-items: center; gap: 13px; margin-left: auto; font: 8px var(--mono); letter-spacing: .5px; }
.platform-action span { font: 21px Arial; }
.release-actions { display: flex; gap: 28px; align-items: center; padding-top: 11px; }
.text-button { display: flex; align-items: center; gap: 9px; border: 0; padding: 7px 0; background: transparent; color: var(--muted); font: 9px var(--mono); letter-spacing: .5px; }
.text-button:hover { color: var(--white); }
.small-play { color: var(--red); }

.art-stage { aspect-ratio: 1.1; position: relative; display: flex; align-items: center; justify-content: center; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at center, #5820204d, transparent 66%); }
.art-stage::before { content: ''; position: absolute; inset: 10px 0; background: linear-gradient(90deg, transparent 49.8%, #2d2222 50%, transparent 50.2%), linear-gradient(transparent 49.8%, #2d2222 50%, transparent 50.2%); z-index: -2; }
.orbit { position: absolute; border: 1px solid #72272a; border-radius: 50%; width: 84%; aspect-ratio: 1; z-index: -1; transform: rotate(-25deg); }
.orbit-one::before, .orbit-two::before { content: ''; position: absolute; inset: 8px; border: 1px dashed #572325; border-radius: 50%; }
.orbit-two { width: 95%; height: 39%; transform: rotate(-37deg); }
.jewel-case { position: relative; width: 79%; border: 1px solid #8c8b85; transform: rotate(-7deg); padding: 7px 7px 7px 17px; background: linear-gradient(115deg, #bfbfbf4a, #343434a1 40%, #bababa2b); box-shadow: 8px 15px 20px #000b, 0 0 0 4px #161616, 0 0 0 5px #6b6b6350; }
.jewel-case img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 1px #000; filter: contrast(1.07); }
.case-spine { position: absolute; inset: 0 auto 0 0; width: 10px; background: repeating-linear-gradient(0deg, #bbb7 0, #bbb7 1px, #171717 2px, #171717 4px); border-right: 1px solid #aaa8; }
.case-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(113deg, transparent 12%, #ffffff1c 12.2%, #ffffff06 43%, transparent 43.2%, transparent 91%, #ffffff25 92%, transparent 96%); }
.stage-cross { position: absolute; font: 28px var(--mono); color: #a2383c; z-index: -1; }
.cross-top { top: 7px; left: 9px; }
.cross-bottom { bottom: 0; right: 4px; }
.art-stamp { position: absolute; bottom: 25px; right: 6px; border: 1px solid var(--red); color: var(--red); padding: 8px 11px; transform: rotate(6deg); font: 12px/1.3 var(--mono); letter-spacing: 1px; background: #0b0b0be8; }
.vertical-label { position: absolute; right: 0; top: 26px; writing-mode: vertical-rl; font: 8px var(--mono); letter-spacing: 2px; color: var(--muted); }
.art-caption { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font: 8px var(--mono); letter-spacing: .7px; padding-top: 16px; }

.lower-grid { display: grid; grid-template-columns: 1.3fr 1fr; padding: 30px 0 34px; border-top: 1px solid var(--line); gap: 8%; }
.lower-grid .eyebrow { font-size: 9px; }
.archive-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.archive-title { font: 900 24px var(--display); display: block; }
.archive-title em { font: italic 25px Georgia; }
.archive-credit { display: block; font: 8px var(--mono); letter-spacing: 1px; color: var(--muted); margin-top: 12px; }
.archive-arrow { font-size: 32px; }
.archive-link:hover, .instagram:hover { color: var(--red); }
.connect { border-left: 1px solid var(--line); padding-left: 30px; }
.connect h2 { font: 900 27px var(--display); margin: 0 0 10px; }
.instagram { display: flex; justify-content: space-between; align-items: center; font: 9px var(--mono); letter-spacing: .7px; padding: 8px 0; }
.instagram > span:last-child { font: 22px Arial; }
footer { border-top: 1px solid var(--line); min-height: 76px; display: flex; align-items: center; gap: 22px; }
footer p, .footer-message { font: 8px var(--mono); color: var(--muted); letter-spacing: 1px; }
.footer-brand { font: 32px var(--display); }
.footer-message { margin-left: auto; }
.back-top { height: 32px; width: 32px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 21px; margin-left: 20px; }
.back-top:hover { background: var(--red); color: var(--black); }
.skip-link { position: absolute; left: 10px; top: -60px; background: var(--white); color: var(--black); padding: 10px; z-index: 20; }
.skip-link:focus { top: 10px; }
dialog { border: 1px solid #555; background: var(--panel); padding: 24px; width: min(560px, calc(100% - 32px)); color: var(--white); box-shadow: 0 20px 100px #000; overflow: auto; }
dialog::backdrop { background: #000c; backdrop-filter: blur(7px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 10px; }
.dialog-header h2 { font: 11px var(--mono); letter-spacing: 1px; margin: 0; }
.dialog-header button { background: transparent; border: 1px solid #555; width: 38px; height: 38px; }
.dialog-header button:hover { background: var(--red); }
dialog iframe { width: 100%; border: 0; border-radius: 10px; display: block; }
dialog p { font: 10px/1.8 var(--mono); color: var(--muted); }
dialog p a { text-decoration: underline; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); padding: 15px 20px; background: var(--white); color: var(--black); font: 11px var(--mono); opacity: 0; pointer-events: none; transition: .2s; z-index: 10; max-width: 90%; text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.not-found { max-width: 800px; padding: 100px 30px; margin: auto; }
.not-found h1 { font: 900 100px/1 var(--display); }
.outline-button { border: 1px solid var(--line); padding: 15px; display: inline-block; }
.outline-button:hover { background: var(--red); }

@media (min-width: 761px) and (max-height: 720px) {
  .masthead { padding-block: 12px; }
  .masthead h1 { font-size: min(6.4vw, 74px); }
  .release { padding-top: 16px; }
  .release-info .eyebrow { margin-bottom: 12px; }
  .ritual-title { font-size: min(4.1vw, 50px); }
  .body-title { font-size: min(5.5vw, 64px); }
  .artist-credit { margin-bottom: 14px; }
  .listen-heading { font-size: 19px; }
}
@media (max-width: 1000px) {
  .page-shell { padding-inline: 28px; }
  .release { gap: 5%; }
  .platform { font-size: 16px; gap: 12px; padding-inline: 12px; }
  .artist-credit { font-size: 8px; letter-spacing: .5px; }
  .art-caption { font-size: 7px; letter-spacing: .3px; }
  .archive-title { font-size: 21px; }
  .archive-title em { font-size: 22px; }
  .connect h2 { font-size: 23px; }
}
@media (max-width: 760px) {
  .page-shell { padding-inline: 22px; }
  .masthead { padding-block: 11px; gap: 14px; }
  .masthead h1 { font-size: 10.8vw; letter-spacing: -1px; }
  .sigil { width: 8vw; height: 8vw; }
  .release { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 22px 0 30px; }
  .release-info, .art-column { grid-column: auto; grid-row: auto; }
  .release-info { max-width: 520px; width: 100%; margin-inline: auto; }
  .release-info .eyebrow { font-size: 9px; margin-bottom: 12px; }
  .ritual-title { font-size: clamp(34px, 10vw, 48px); line-height: .9; }
  .body-title { font-size: clamp(54px, 15vw, 76px); letter-spacing: -3px; margin: 4px 0 10px -2px; }
  .artist-credit { font-size: 8px; line-height: 1.5; margin-bottom: 18px; }
  .listen-heading { font-size: 20px; margin-bottom: 10px; }
  .platform { height: 46px; min-height: 46px; padding: 8px 14px; font-size: 17px; }
  .platforms { gap: 6px; }
  .platform-action { font-size: 8px; gap: 13px; }
  .release-actions { padding-top: 9px; }
  .art-column { max-width: 500px; width: 100%; margin-inline: auto; }
  .art-stage { aspect-ratio: 1.2; }
  .jewel-case { width: 70%; }
  .art-stamp { bottom: 18px; right: 15px; }
  .art-caption { font-size: 8px; letter-spacing: .3px; padding-top: 13px; }
  .lower-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 0; }
  .connect { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .archive-title { font-size: 23px; }
  .archive-title em { font-size: 24px; }
  .connect h2 { font-size: 28px; }
  footer { gap: 15px; min-height: 72px; }
  .footer-brand { font-size: 28px; }
  footer p { font-size: 7px; letter-spacing: .4px; }
  .footer-message { display: none; }
  .back-top { margin-left: auto; }
  .not-found h1 { font-size: 65px; }
  .dialog-header h2 { font-size: 9px; }
}
@media (max-width: 360px) {
  .page-shell { padding-inline: 18px; }
  .platform { font-size: 16px; gap: 10px; padding-inline: 12px; }
  .artist-credit { letter-spacing: .2px; }
  .art-caption { font-size: 7px; }
  .archive-title { font-size: 20px; }
  .archive-title em { font-size: 22px; }
  .connect h2 { font-size: 25px; }
}
@media (min-width: 600px) and (max-height: 540px) {
  .masthead { padding-block: 8px; }
  .masthead h1 { font-size: 42px; }
  .sigil { width: 34px; height: 34px; }
  .release { grid-template-columns: 1fr 1fr; padding-top: 16px; align-items: start; }
  .release-info { grid-column: 2; grid-row: 1; }
  .art-column { grid-column: 1; grid-row: 1; }
  .release-info .eyebrow { display: none; }
  .ritual-title { font-size: 29px; }
  .body-title { font-size: 46px; margin-block: 4px 8px; }
  .artist-credit { font-size: 7px; margin-bottom: 12px; }
  .listen-heading { font-size: 17px; margin-bottom: 8px; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .platform { font-size: 12px; padding: 8px; gap: 7px; }
  .platform-icon { width: 18px; height: 18px; }
  .platform-action { font-size: 0; gap: 0; }
  .platform-action span { font-size: 17px; }
  .music-note { font-size: 25px; }
  .release-actions { padding-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
