/* ayerp: colours from the Watch Ya Btc [orion] cover. Climate Crisis (rotted) for big type, Grenze Gotisch for everything else. */
:root {
  --ground: #0c0d09;  /* grave */
  --surface: #171a11; /* rot */
  --raise: #22261a;
  --ink: #e7e0c6;     /* bone */
  --soft: #b3ad93;
  --bile: #b9b23b;    /* actions */
  --bile-hi: #d3cb4c;
  --bile-ink: #0c0d09;
  --wound: #c42a1e;   /* now playing, nothing else */

  --year: 2036;       /* ~80% rotted; the player pushes it further */
  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(120px, 14vw, 200px);
  --bar: 64px;

  --step-small: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --step-body: clamp(1.125rem, 1.07rem + 0.25vw, 1.3125rem);
  --step-lead: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --step-head: clamp(2.25rem, 1.3rem + 4vw, 5rem);
  --step-giant: clamp(4.5rem, 20.2vw, 24rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

@font-face { font-family: "Grenze fallback"; src: local("Georgia"); size-adjust: 88%; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--ground); color: var(--ink); -webkit-text-size-adjust: 100%; scrollbar-color: var(--raise) var(--ground); }
body {
  font: 500 var(--step-body)/1.5 "Grenze Gotisch", "Grenze fallback", Georgia, serif;
  letter-spacing: 0.01em;
  min-height: 100svh;
  overflow-x: clip;
  padding-bottom: 0;
}
body.has-player { padding-bottom: var(--bar); }
/* the cover's murk: fine noise over everything, never over the controls' meaning */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: 0.07; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .75 0 0 0 0 .73 0 0 0 0 .5 0 0 0 1.2 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--bile); color: var(--bile-ink); }
:focus-visible { outline: 3px solid var(--bile); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--m); top: -80px; z-index: 100; background: var(--bile); color: var(--bile-ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

.rot { font-family: "Climate Crisis", "Arial Black", Impact, sans-serif; font-weight: 400; font-variation-settings: "YEAR" var(--year); text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.92; }

/* ── bar ── */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--m); position: relative; z-index: 20; }
.mark { font-size: 1.5rem; text-decoration: none; line-height: 1; }
.bar nav { display: flex; gap: clamp(18px, 3vw, 40px); font-size: var(--step-body); }
.bar nav a { text-decoration: none; padding: 8px 0; position: relative; }
.bar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--bile); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.bar nav a:hover::after, .bar nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; background: var(--bile); color: var(--bile-ink); font-weight: 800; font-size: var(--step-body); text-decoration: none; cursor: pointer; transition: transform .14s var(--ease), background .14s; }
.btn:hover { background: var(--bile-hi); }
.btn:active { transform: scale(0.96); }
.btn svg { width: 16px; height: 16px; }
.btn.quiet { background: var(--raise); color: var(--ink); }
.btn.quiet:hover { background: #2d3222; }
.link { text-decoration: underline; cursor: pointer; background: none; border: 0; padding: 0; }
.play { flex: none; width: 48px; height: 48px; border: 0; border-radius: 0; background: var(--ink); color: var(--ground); display: grid; place-items: center; cursor: pointer; transition: transform .14s var(--ease), background .14s; }
.play:hover { background: var(--bile); }
.play:active { transform: scale(0.9); }
.play svg { width: 15px; height: 15px; }
.is-live .play, .play.is-live { background: var(--wound); color: var(--ink); }
.is-loading .play { animation: throb 0.7s var(--ease) infinite alternate; }
@keyframes throb { to { transform: scale(0.88); } }

/* ── layout bits ── */
.wrap { padding: 0 var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); }
section + section { margin-top: var(--gap); }
.h2 { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.25; }
.soft { color: var(--soft); }
.small { font-size: var(--step-small); }
.pre { opacity: 0; }

/* ── home: hero ── */
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-rows: 1fr auto; padding: 4vh var(--m) 0; gap: 4vh; }
.hero-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); align-items: end; }
.hero-say { grid-column: 1 / 6; }
.hero-say p { font-size: var(--step-lead); line-height: 1.25; max-width: 24ch; }
.hero-say .btn { margin-top: 32px; }
.hero-cover { grid-column: 8 / 13; justify-self: end; width: min(100%, 44svh); display: block; }
.hero-cover button.art { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; overflow: hidden; }
.hero-cover button.art img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.hero-cover button.art:hover img { transform: scale(1.04); }
.hero-cover figcaption { margin-top: 14px; }
.hero-cover figcaption b { display: block; font-weight: 800; }
.monument { font-size: var(--step-giant); white-space: nowrap; margin: 0 0 -0.06em -0.04em; }
.ml { display: block; overflow: hidden; padding-bottom: 0.08em; }
.ml > span { display: block; }

/* ── home: releases (statement, table pushed right) ── */
.rel-h { grid-column: 1 / -1; padding-left: 3vw; }
.rel-pic { grid-column: 1 / 5; align-self: end; margin-top: 56px; }
.rel-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rel-pic figcaption { margin-top: 10px; }
.rel-table { grid-column: 7 / 13; list-style: none; padding: 0; margin-top: 96px; align-self: end; }
.rel-table li + li { margin-top: 4px; }
.rel-table a { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline; padding: 18px 0; text-decoration: none; transition: transform .25s var(--ease), color .2s; }
.rel-table a:hover { transform: translateX(10px); color: var(--bile); }
.rel-table .t { font-size: var(--step-lead); font-weight: 800; line-height: 1.1; }
.rel-table .k { color: var(--soft); }
.rel-table .arr { width: 22px; height: 22px; align-self: center; }

/* ── track rows (home latest + music) ── */
.tracks { list-style: none; padding: 0; }
.trk { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 8px 0; transition: transform .25s var(--ease); }
.trk:hover { transform: translateX(6px); }
.trk .t { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.1; font-weight: 800; overflow-wrap: anywhere; }
.trk .d { color: var(--soft); font-size: var(--step-small); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trk .sc { font-size: var(--step-small); color: var(--soft); }
.trk .sc:hover { color: var(--ink); }
.trk.is-live .t { color: var(--bile); }
.trk .thumb { width: 48px; height: 48px; object-fit: cover; }
.trk.with-thumb { grid-template-columns: 48px 48px minmax(0, 1fr) auto auto; }

.latest { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); padding: 0 var(--m); }
.latest-h { grid-column: 1 / 5; }
.latest-h p { margin-top: 20px; max-width: 30ch; }
.latest .tracks { grid-column: 5 / 13; }

/* ── covers strip (small frames, wide space) ── */
.strip-sec { display: flex; flex-direction: column; justify-content: center; position: relative; }
.strip-title { padding: 0 var(--m); margin-bottom: -12px; position: relative; z-index: 2; font-size: var(--step-lead); font-weight: 800; }
.strip-title a { text-decoration: none; }
.strip-title a:hover { color: var(--bile); }
.strip { display: flex; gap: 5vw; overflow-x: auto; scrollbar-width: none; padding: 40px var(--m); scroll-snap-type: x proximity; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip a, .strip button { flex: none; width: 11vw; min-width: 120px; aspect-ratio: 2 / 3; scroll-snap-align: start; padding: 0; border: 0; background: var(--surface); cursor: pointer; overflow: hidden; display: block; transition: transform .25s var(--ease); }
.strip a:hover, .strip button:hover, .strip [aria-current="true"] { transform: scale(1.1); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip [aria-current="true"] { outline: 3px solid var(--bile); outline-offset: 4px; }

/* ── page heads (music, visuals, about) ── */
.page-head { padding: 6vh var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); align-items: end; }
.page-head h1 { grid-column: 1 / -1; font-size: clamp(4rem, 15vw, 17rem); white-space: nowrap; }
.page-head p { grid-column: 1 / 7; margin-top: 28px; font-size: var(--step-lead); line-height: 1.25; max-width: 32ch; }
.page-head .side { grid-column: 8 / 13; margin-top: 28px; }

/* ── music ── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 0; background: var(--surface); cursor: pointer; transition: background .15s, transform .14s var(--ease); }
.filters button:hover { background: var(--raise); }
.filters button:active { transform: scale(0.95); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.release { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); padding: 0 var(--m); }
.release[hidden] { display: none; }
.release-art { grid-column: 1 / 5; position: sticky; top: 24px; align-self: start; }
.release-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.release-body { grid-column: 6 / 13; }
.release-body { container-type: inline-size; }
.release-body h2 { font-size: min(var(--step-head), 9.4cqi); }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 22px 0 36px; }

/* ── visuals ── */
.viewer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); padding: 0 var(--m); align-items: end; margin-top: 8vh; }
.viewer-media { grid-column: 1 / 8; background: var(--surface); aspect-ratio: 1; overflow: hidden; }
.viewer-media img, .viewer-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.viewer-info { grid-column: 9 / 13; padding-bottom: 8px; }
.viewer-info h3 { font-size: clamp(1.75rem, 0.9rem + 1.7vw, 2.75rem); overflow-wrap: anywhere; }
.viewer-info p { margin: 16px 0 28px; }
.viewer-info .row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

/* ── about ── */
.bio { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--m); padding: 0 var(--m); margin-top: 10vh; }
.facts { grid-column: 1 / 3; list-style: none; padding: 0; font-size: var(--step-small); }
.facts li + li { margin-top: 18px; }
.facts b { display: block; font-weight: 800; }
.bio-text { grid-column: 3 / 13; font-size: clamp(1.375rem, 1rem + 1.2vw, 2.125rem); line-height: 1.22; }
.bio-text p + p { margin-top: 1.2em; color: var(--soft); }
.bio-text .portrait { float: left; width: 3.6em; height: 3.6em; object-fit: cover; margin: 0.12em 0.5em 0 0; }
.about-pic { grid-column: 3 / 13; margin-top: 10vh; display: grid; grid-template-columns: 4fr 6fr; gap: var(--m); align-items: end; }
.about-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-pic figure:first-child img { aspect-ratio: 4 / 5; }
.about-pic figcaption { margin-top: 10px; }
.contact { margin-top: var(--gap); }
.contact .crow { display: flex; align-items: flex-end; gap: 24px; min-height: clamp(84px, 10vw, 150px); padding: 0 var(--m) 18px; font-size: clamp(2.25rem, 1rem + 5vw, 5.5rem); line-height: 1; text-decoration: none; transition: background .2s; overflow-wrap: anywhere; }
.contact .crow:nth-child(odd) { background: var(--surface); }
.contact a.crow:hover { background: var(--raise); color: var(--bile); }
.contact .crow .go { width: 0.9em; height: 0.9em; border-radius: 50%; background: var(--bile); color: var(--bile-ink); display: grid; place-items: center; flex: none; margin-bottom: 0.08em; transition: transform .25s var(--ease); }
.contact a.crow:hover .go { transform: translateX(8px) rotate(-12deg); }
.contact .crow .go svg { width: 40%; height: 40%; }
.contact .crow small { font-size: var(--step-small); color: var(--soft); margin-left: auto; align-self: flex-end; }

/* ── footer ── */
.foot { background: var(--ink); color: var(--ground); margin-top: var(--gap); padding: 40px var(--m) 20px; min-height: 62svh; display: grid; grid-template-rows: auto 1fr auto auto; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--m); font-size: var(--step-small); }
.foot-cols ul { list-style: none; padding: 0; }
.foot-cols li:first-child { font-weight: 800; }
.foot-cols li + li { margin-top: 6px; }
.foot-word { font-size: clamp(3rem, 19.2vw, 23rem); white-space: nowrap; line-height: 0.85; margin-top: 8vh; overflow: hidden; }
.foot-legal { font-size: var(--step-small); margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a:focus-visible { outline-color: var(--ground); }

/* ── player ── */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--bar); background: var(--surface); display: grid; grid-template-columns: var(--bar) minmax(0, 1fr) auto; align-items: center; transform: translateY(110%); transition: transform .45s var(--ease); }
.player.on { transform: none; }
.player img { width: var(--bar); height: var(--bar); object-fit: cover; }
.player .np { padding: 0 18px; min-width: 0; }
.player .np b { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .np span { font-size: var(--step-small); color: var(--soft); white-space: nowrap; }
.player .ctl { display: flex; align-items: center; gap: 4px; padding-right: var(--m); }
.player .ctl button { width: 48px; height: 48px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 0; transition: transform .12s var(--ease), background .12s; }
.player .ctl button:hover { background: var(--raise); }
.player .ctl button:active { transform: scale(0.88); }
.player .ctl .pp { background: var(--wound); color: var(--ink); }
.player .ctl .pp:hover { background: #d63526; }
.player.paused .ctl .pp { background: var(--ink); color: var(--ground); }
.player .ctl svg { width: 16px; height: 16px; }
.player .seek { position: absolute; left: 0; right: 0; top: -8px; height: 16px; cursor: pointer; }
.player .seek i { position: absolute; left: 0; right: 0; top: 6px; height: 4px; background: var(--raise); }
.player .seek i b { position: absolute; inset: 0; background: var(--bile); transform-origin: left; transform: scaleX(var(--p, 0)); }
.player .ext { font-size: var(--step-small); color: var(--soft); margin-right: 12px; }

/* SoundCloud widgets: kept offscreen; one comes on screen above the bar only if the browser blocks remote play */
#sc-pool iframe { position: fixed; left: -10000px; top: 0; width: 320px; height: 166px; border: 0; }
#sc-pool iframe.show { left: auto; right: var(--m); top: auto; bottom: calc(var(--bar) + 12px); width: min(420px, calc(100vw - 2 * var(--m))); height: 166px; z-index: 61; }
.sc-hint { position: fixed; right: var(--m); bottom: calc(var(--bar) + 186px); z-index: 61; background: var(--ink); color: var(--ground); padding: 10px 14px; font-size: var(--step-small); max-width: min(420px, calc(100vw - 2 * var(--m))); }

/* ── page change veil ── */
.veil { position: fixed; inset: 0; z-index: 80; background: var(--ground); display: grid; place-items: center; pointer-events: none; transform: scaleX(0); }
.veil span { font-size: clamp(3rem, 14vw, 14rem); --year: 2050; color: var(--bile); opacity: .9; }

[data-slot="releases-full"] { margin-top: 12vh; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 6vh; }
  .hero-say { grid-column: 1 / 7; }
  .hero-cover { grid-column: 7 / 13; width: 100%; }
  .rel-pic { grid-column: 1 / 6; }
  .rel-table { grid-column: 7 / 13; }
  .latest-h { grid-column: 1 / -1; margin-bottom: 40px; }
  .latest .tracks { grid-column: 1 / -1; }
  .release-art { grid-column: 1 / 5; }
  .release-body { grid-column: 5 / 13; }
  .viewer-media { grid-column: 1 / -1; }
  .viewer-info { grid-column: 1 / -1; margin-top: 28px; }
  .facts { grid-column: 1 / -1; order: 2; display: flex; gap: 24px; margin-top: 40px; }
  .facts li + li { margin-top: 0; }
  .bio-text { grid-column: 1 / -1; }
  .about-pic { grid-column: 1 / -1; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bar { padding: 14px var(--m); }
  .bar nav { gap: 16px; font-size: var(--step-small); }
  .hero { padding-top: 2vh; }
  .hero-top { grid-template-columns: 1fr; row-gap: 28px; }
  .hero-say, .hero-cover { grid-column: 1 / -1; }
  .hero-cover { width: 70%; margin-left: auto; order: -1; }
  .monument { font-size: 18vw; }
  .rel-h { padding-left: 0; }
  .rel-table { grid-column: 1 / -1; margin-top: 40px; }
  .rel-pic { grid-column: 4 / -1; order: 3; margin-top: 40px; }
  .release-art { position: static; grid-column: 1 / -1; width: 64%; margin-bottom: 24px; }
  .release-body { grid-column: 1 / -1; }
  .trk { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .trk .sc { display: none; }
  .trk.with-thumb { grid-template-columns: 48px 40px minmax(0, 1fr) auto; }
  .trk.with-thumb .thumb { width: 40px; height: 40px; }
  .strip a, .strip button { width: 34vw; }
  .page-head p, .page-head .side { grid-column: 1 / -1; }
  .player .ext { display: none; }
  .player .ctl { padding-right: 4px; gap: 0; }
  .contact .crow small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
